cortex-react-components 1.47.0 → 1.48.1

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 (186) hide show
  1. package/dist/{chunk-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
  2. package/dist/{chunk-HFSHDEMQ.mjs → chunk-3KMFY6E7.mjs} +1 -1
  3. package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
  4. package/dist/{chunk-XGKZLSIS.mjs → chunk-72Z4T7BT.mjs} +1 -1
  5. package/dist/chunk-74KJ5V34.mjs +1 -0
  6. package/dist/chunk-7FR5BXX2.mjs +1 -0
  7. package/dist/{chunk-US6CSL53.mjs → chunk-A4JI756M.mjs} +1 -1
  8. package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
  9. package/dist/{chunk-UDH5ASIW.mjs → chunk-ABQMNGD4.mjs} +1 -1
  10. package/dist/{chunk-DIPGFDJV.mjs → chunk-ATONX5RA.mjs} +1 -1
  11. package/dist/{chunk-7SSOLQR5.mjs → chunk-BWT2MAIT.mjs} +1 -1
  12. package/dist/{chunk-ENDXPA4H.mjs → chunk-CCHJTAON.mjs} +1 -1
  13. package/dist/{chunk-5BPR3YKT.mjs → chunk-CI5XPWZI.mjs} +1 -1
  14. package/dist/{chunk-GHBJK554.mjs → chunk-DESYC5BB.mjs} +1 -1
  15. package/dist/{chunk-5EFOKBKA.mjs → chunk-EQDX6HFN.mjs} +1 -1
  16. package/dist/{chunk-KVIQW2PH.mjs → chunk-EQFBRT7L.mjs} +1 -1
  17. package/dist/{chunk-IJU5INGM.mjs → chunk-FR65RGJD.mjs} +1 -1
  18. package/dist/{chunk-SEG6IDDX.mjs → chunk-G5HD4IFA.mjs} +1 -1
  19. package/dist/{chunk-RZTXT4UD.mjs → chunk-GOMLTG5W.mjs} +1 -1
  20. package/dist/{chunk-Z5PNO5CB.mjs → chunk-HFB4IRVZ.mjs} +1 -1
  21. package/dist/{chunk-ECOVEIOV.mjs → chunk-I3JB7SE2.mjs} +1 -1
  22. package/dist/{chunk-MY3PX5GI.mjs → chunk-IQ7LAP7P.mjs} +1 -1
  23. package/dist/{chunk-QCIJUDO4.mjs → chunk-IRIPCDER.mjs} +1 -1
  24. package/dist/{chunk-O7R6EGBU.mjs → chunk-JBRBY7EX.mjs} +1 -1
  25. package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
  26. package/dist/{chunk-DLCGGIZW.mjs → chunk-KJBMLPHS.mjs} +1 -1
  27. package/dist/{chunk-TGHOEITH.mjs → chunk-KTVHPTON.mjs} +1 -1
  28. package/dist/chunk-NDLPLQKO.mjs +1 -0
  29. package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
  30. package/dist/{chunk-ZLEW2CSB.mjs → chunk-NRE4HHK7.mjs} +1 -1
  31. package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
  32. package/dist/{chunk-W6VKKBUG.mjs → chunk-PZYWXOLB.mjs} +1 -1
  33. package/dist/{chunk-HHUI6PDP.mjs → chunk-QZA2ZGA2.mjs} +1 -1
  34. package/dist/chunk-T25YQ6L5.mjs +1 -0
  35. package/dist/{chunk-GT43S672.mjs → chunk-TUQRCNY6.mjs} +1 -1
  36. package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
  37. package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.mjs} +1 -1
  38. package/dist/{chunk-3ODCIQYB.mjs → chunk-ZRJH3EBR.mjs} +1 -1
  39. package/dist/components/Blocks/Banner.js +1 -1
  40. package/dist/components/Blocks/Banner.mjs +1 -1
  41. package/dist/components/Blocks/CallToAction.js +1 -1
  42. package/dist/components/Blocks/CallToAction.mjs +1 -1
  43. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  44. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  45. package/dist/components/Blocks/Content.js +1 -1
  46. package/dist/components/Blocks/Content.mjs +1 -1
  47. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  48. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  50. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  51. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  52. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  53. package/dist/components/Blocks/RelatedPosts.js +1 -1
  54. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  55. package/dist/components/Blocks/RenderBlocks.js +1 -1
  56. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  57. package/dist/components/Blocks/ReusableContent.js +1 -1
  58. package/dist/components/Blocks/ReusableContent.mjs +1 -1
  59. package/dist/components/Blocks/index.js +1 -1
  60. package/dist/components/Blocks/index.mjs +1 -1
  61. package/dist/components/CRM/DealDetails.mjs +1 -1
  62. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  63. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  64. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  65. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  66. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  67. package/dist/components/CRM/NewDealForm.mjs +1 -1
  68. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  69. package/dist/components/CRM/index.mjs +1 -1
  70. package/dist/components/Cards/ContentCard.js +1 -1
  71. package/dist/components/Cards/ContentCard.mjs +1 -1
  72. package/dist/components/Cards/ContentCard.stories.js +1 -1
  73. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  74. package/dist/components/Cards/index.js +4 -4
  75. package/dist/components/Cards/index.mjs +1 -1
  76. package/dist/components/HeaderFooter/Header.mjs +1 -1
  77. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  78. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  79. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  80. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  81. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  82. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  83. package/dist/components/HeaderFooter/index.mjs +1 -1
  84. package/dist/components/Heros/HighImpact/index.js +1 -1
  85. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  86. package/dist/components/Heros/LowImpact/index.js +1 -1
  87. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  88. package/dist/components/Heros/MediumImpact/index.js +1 -1
  89. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  90. package/dist/components/Heros/PostHero/index.mjs +1 -1
  91. package/dist/components/Heros/RenderHero.js +1 -1
  92. package/dist/components/Heros/RenderHero.mjs +1 -1
  93. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  94. package/dist/components/Heros/index.js +1 -1
  95. package/dist/components/Heros/index.mjs +1 -1
  96. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  97. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  98. package/dist/components/Holidays/index.mjs +1 -1
  99. package/dist/components/Layouts/BlogList.js +3 -3
  100. package/dist/components/Layouts/BlogList.mjs +1 -1
  101. package/dist/components/Layouts/BlogList.stories.js +3 -3
  102. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  103. package/dist/components/Layouts/SlideShow.js +1 -1
  104. package/dist/components/Layouts/SlideShow.mjs +1 -1
  105. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  106. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  107. package/dist/components/Layouts/index.js +3 -3
  108. package/dist/components/Layouts/index.mjs +1 -1
  109. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  110. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  111. package/dist/components/Menus/SidebarRight.mjs +1 -1
  112. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  113. package/dist/components/Menus/index.mjs +1 -1
  114. package/dist/components/Other/index.mjs +1 -1
  115. package/dist/components/Payload/Card/index.mjs +1 -1
  116. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  117. package/dist/components/Payload/Media/index.mjs +1 -1
  118. package/dist/components/Payload/RichText/index.js +1 -1
  119. package/dist/components/Payload/RichText/index.mjs +1 -1
  120. package/dist/components/Payload/RichText/serialize.js +1 -1
  121. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  122. package/dist/components/Payload/RichText.stories.js +1 -1
  123. package/dist/components/Payload/RichText.stories.mjs +1 -1
  124. package/dist/components/Payload/index.js +1 -1
  125. package/dist/components/Payload/index.mjs +1 -1
  126. package/dist/components/index.js +6 -6
  127. package/dist/components/index.mjs +1 -1
  128. package/dist/components/ui/index.mjs +1 -1
  129. package/dist/components/ui/sidebar.mjs +1 -1
  130. package/dist/index.js +7 -7
  131. package/dist/index.mjs +1 -1
  132. package/dist/metafile-cjs.json +1 -1
  133. package/dist/metafile-esm.json +1 -1
  134. package/dist/pages/Blog.js +1 -1
  135. package/dist/pages/Blog.mjs +1 -1
  136. package/dist/pages/Blog.stories.js +1 -1
  137. package/dist/pages/Blog.stories.mjs +1 -1
  138. package/dist/pages/Documentation.mjs +1 -1
  139. package/dist/pages/Documentation.stories.mjs +1 -1
  140. package/dist/pages/IndexPage.mjs +1 -1
  141. package/dist/pages/IndexPage.stories.mjs +1 -1
  142. package/dist/pages/Intranet.mjs +1 -1
  143. package/dist/pages/Intranet.stories.mjs +1 -1
  144. package/dist/pages/LandingPage.mjs +1 -1
  145. package/dist/pages/LandingPage.stories.mjs +1 -1
  146. package/dist/pages/Page.js +1 -1
  147. package/dist/pages/Page.mjs +1 -1
  148. package/dist/pages/Page.stories.js +186 -186
  149. package/dist/pages/Page.stories.mjs +1 -1
  150. package/dist/pages/Publish.js +1 -1
  151. package/dist/pages/Publish.mjs +1 -1
  152. package/dist/pages/Publish.stories.js +1 -1
  153. package/dist/pages/Publish.stories.mjs +1 -1
  154. package/dist/pages/Website.d.ts +2 -2
  155. package/dist/pages/Website.js +1 -1
  156. package/dist/pages/Website.mjs +1 -1
  157. package/dist/pages/Website.stories.js +2 -2
  158. package/dist/pages/Website.stories.mjs +1 -1
  159. package/dist/payload-types.d.ts +90 -80
  160. package/dist/sections/AboutSection.js +1 -1
  161. package/dist/sections/AboutSection.mjs +1 -1
  162. package/dist/sections/AboutSection.stories.js +1 -1
  163. package/dist/sections/AboutSection.stories.mjs +1 -1
  164. package/dist/sections/BlogDetail.js +1 -1
  165. package/dist/sections/BlogDetail.mjs +1 -1
  166. package/dist/sections/BlogDetail.stories.js +1 -1
  167. package/dist/sections/BlogDetail.stories.mjs +1 -1
  168. package/dist/sections/BlogListSection.mjs +1 -1
  169. package/dist/sections/BlogListSection.stories.mjs +1 -1
  170. package/dist/sections/ContactSection.js +1 -1
  171. package/dist/sections/ContactSection.mjs +1 -1
  172. package/dist/sections/ContactSection.stories.js +1 -1
  173. package/dist/sections/ContactSection.stories.mjs +1 -1
  174. package/dist/sections/ImageSection.stories.js +1 -1
  175. package/dist/sections/ImageSection.stories.mjs +1 -1
  176. package/dist/sections/PricingSection.js +1 -1
  177. package/dist/sections/PricingSection.mjs +1 -1
  178. package/dist/sections/PricingSection.stories.js +1 -1
  179. package/dist/sections/PricingSection.stories.mjs +1 -1
  180. package/dist/sections/ServiceSection.mjs +1 -1
  181. package/dist/sections/ServiceSection.stories.mjs +1 -1
  182. package/dist/sections/index.js +1 -1
  183. package/dist/sections/index.mjs +1 -1
  184. package/package.json +1 -1
  185. package/dist/chunk-G6K3PK47.mjs +0 -1
  186. package/dist/chunk-H5DKU4M5.mjs +0 -1
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
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,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",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});
5
+ "use strict";var Rt=Object.create;var re=Object.defineProperty;var Mt=Object.getOwnPropertyDescriptor;var Et=Object.getOwnPropertyNames;var Ft=Object.getPrototypeOf,zt=Object.prototype.hasOwnProperty;var Lt=(e,t)=>{for(var o in t)re(e,o,{get:t[o],enumerable:!0})},Ge=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Et(t))!zt.call(e,n)&&n!==o&&re(e,n,{get:()=>t[n],enumerable:!(a=Mt(t,n))||a.enumerable});return e};var O=(e,t,o)=>(o=e!=null?Rt(Ft(e)):{},Ge(t||!e||!e.__esModule?re(o,"default",{value:e,enumerable:!0}):o,e)),Ut=e=>Ge(re({},"__esModule",{value:!0}),e);var Po={};Lt(Po,{Default:()=>Tt,default:()=>No});module.exports=Ut(Po);var St=O(require("next/image"));var De="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var _e=require("clsx");var Ae="-",Gt=e=>{let t=Ht(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Ae);return s[0]===""&&s.length!==1&&s.shift(),je(s,t)||Dt(i)},getConflictingClassGroupIds:(i,s)=>{let p=o[i]||[];return s&&a[i]?[...p,...a[i]]:p}}},je=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let o=e[0],a=t.nextPart.get(o),n=a?je(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let r=e.join(Ae);return(i=t.validators.find(({validator:s})=>s(r)))==null?void 0:i.classGroupId},He=/^\[(.+)\]$/,Dt=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}},Ht=e=>{let{theme:t,prefix:o}=e,a={nextPart:new Map,validators:[]};return jt(Object.entries(e.classGroups),o).forEach(([r,i])=>{we(i,a,r,t)}),a},we=(e,t,o,a)=>{e.forEach(n=>{if(typeof n=="string"){let r=n===""?t:Ke(t,n);r.classGroupId=o;return}if(typeof n=="function"){if(Kt(n)){we(n(a),t,o,a);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([r,i])=>{we(i,Ke(t,r),o,a)})})},Ke=(e,t)=>{let o=e;return t.split(Ae).forEach(a=>{o.nextPart.has(a)||o.nextPart.set(a,{nextPart:new Map,validators:[]}),o=o.nextPart.get(a)}),o},Kt=e=>e.isThemeGetter,jt=(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,Ot=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)}}},Oe="!",Yt=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 A=s[x];if(u===0){if(A===n&&(a||s.slice(x,x+r)===t)){p.push(s.slice(f,x)),f=x+r;continue}if(A==="/"){v=x;continue}}A==="["?u++:A==="]"&&u--}let w=p.length===0?s:s.substring(f),B=w.startsWith(Oe),P=B?w.substring(1):w,y=v&&v>f?v-f:void 0;return{modifiers:p,hasImportantModifier:B,baseClassName:P,maybePostfixModifierPosition:y}};return o?s=>o({className:s,parseClassName:i}):i},Qt=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},Vt=e=>({cache:Ot(e.cacheSize),parseClassName:Yt(e),...Gt(e)}),Jt=/\s+/,_t=(e,t)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:n}=t,r=[],i=e.trim().split(Jt),s="";for(let p=i.length-1;p>=0;p-=1){let u=i[p],{modifiers:f,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:B}=o(u),P=!!B,y=a(P?w.substring(0,B):w);if(!y){if(!P){s=u+(s.length>0?" "+s:s);continue}if(y=a(w),!y){s=u+(s.length>0?" "+s:s);continue}P=!1}let x=Qt(f).join(":"),A=v?x+Oe:x,N=A+y;if(r.includes(N))continue;r.push(N);let G=n(y,P);for(let D=0;D<G.length;++D){let ee=G[D];r.push(A+ee)}s=u+(s.length>0?" "+s:s)}return s};function qt(){let e=0,t,o,a="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Ye(t))&&(a&&(a+=" "),a+=o);return a}var Ye=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=Ye(e[a]))&&(o&&(o+=" "),o+=t);return o};function Wt(e,...t){let o,a,n,r=i;function i(p){let u=t.reduce((f,v)=>v(f),e());return o=Vt(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=_t(p,o);return n(p,f),f}return function(){return r(qt.apply(null,arguments))}}var b=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Qe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Xt=/^\We+\/\We+$/,Zt=new Set(["px","full","screen"]),$t=/^(\We+(\.\We+)?)?(xs|sm|md|lg|xl)$/,eo=/\We+(%|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$/,to=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,oo=/^(inset_)?-?((\We+)?\.?(\We+)[a-z]+|0)_-?((\We+)?\.?(\We+)[a-z]+|0)/,ro=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>Y(e)||Zt.has(e)||Xt.test(e),F=e=>Q(e,"length",mo),Y=e=>!!e&&!Number.isNaN(Number(e)),ve=e=>Q(e,"number",Y),q=e=>!!e&&Number.isInteger(Number(e)),ao=e=>e.endsWith("%")&&Y(e.slice(0,-1)),c=e=>Qe.test(e),z=e=>$t.test(e),no=new Set(["length","size","percentage"]),so=e=>Q(e,no,Ve),io=e=>Q(e,"position",Ve),lo=new Set(["image","url"]),co=e=>Q(e,lo,go),po=e=>Q(e,"",uo),W=()=>!0,Q=(e,t,o)=>{let a=Qe.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):o(a[2]):!1},mo=e=>eo.test(e)&&!to.test(e),Ve=()=>!1,uo=e=>oo.test(e),go=e=>ro.test(e);var fo=()=>{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"),B=b("gradientColorStops"),P=b("gradientColorStopPositions"),y=b("inset"),x=b("margin"),A=b("opacity"),N=b("padding"),G=b("saturate"),D=b("scale"),ee=b("sepia"),Re=b("skew"),Me=b("space"),Ee=b("translate"),be=()=>["auto","contain","none"],he=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",c,t],h=()=>[c,t],Fe=()=>["",R,F],te=()=>["auto",Y,c],ze=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],oe=()=>["solid","dashed","dotted","double","none"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xe=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",c],Ue=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[Y,c];return{cacheSize:500,separator:":",theme:{colors:[W],spacing:[R,F],blur:["none","",z,c],brightness:T(),borderColor:[e],borderRadius:["none","","full",z,c],borderSpacing:h(),borderWidth:Fe(),contrast:T(),grayscale:_(),hueRotate:T(),invert:_(),gap:h(),gradientColorStops:[e],gradientColorStopPositions:[ao,F],inset:ye(),margin:ye(),opacity:T(),padding:h(),saturate:T(),scale:T(),sepia:_(),skew:T(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":Ue()}],"break-before":[{"break-before":Ue()}],"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:[...ze(),c]}],overflow:[{overflow:he()}],"overflow-x":[{"overflow-x":he()}],"overflow-y":[{"overflow-y":he()}],overscroll:[{overscroll:be()}],"overscroll-x":[{"overscroll-x":be()}],"overscroll-y":[{"overscroll-y":be()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[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"],z:[{z:["auto",q,c]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",q,c]}],"grid-cols":[{"grid-cols":[W]}],"col-start-end":[{col:["auto",{span:["full",q,c]},c]}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":[W]}],"row-start-end":[{row:["auto",{span:[q,c]},c]}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"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",...xe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...xe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...xe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],We:[{We:[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":[Me]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Me]}],"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:[z]},z]}],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",z,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ve]}],"font-family":[{font:[W]}],"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",Y,ve]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,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":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,F]}],"underline-offset":[{"underline-offset":["auto",R,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:h()}],"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":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ze(),io]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",so]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},co]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[B]}],"gradient-via":[{via:[B]}],"gradient-to":[{to:[B]}],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-at":[{"rounded-at":[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:[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":[A]}],"border-style":[{border:[...oe(),"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":[A]}],"divide-style":[{divide:oe()}],"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:["",...oe()]}],"outline-offset":[{"outline-offset":[R,c]}],"outline-w":[{outline:[R,F]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[R,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,po]}],"shadow-color":[{shadow:[W]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Le()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",z,c]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[v]}],saturate:[{saturate:[G]}],sepia:[{sepia:[ee]}],"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":[A]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[ee]}],"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:[D]}],"scale-x":[{"scale-x":[D]}],"scale-y":[{"scale-y":[D]}],rotate:[{rotate:[q,c]}],"translate-x":[{"translate-x":[Ee]}],"translate-y":[{"translate-y":[Ee]}],"skew-x":[{"skew-x":[Re]}],"skew-y":[{"skew-y":[Re]}],"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","at-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-We":[{"scroll-We":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,F,ve]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],We:["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-at","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-at","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-We":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Je=Wt(fo);function l(...e){return Je((0,_e.clsx)(e))}var We=require("react/jsx-runtime");function qe({children:e,isFluid:t=!1,isNoPadding:o=!1,className:a=""}){let n=l("container",t&&"full-width",o&&"no-padding",a);return(0,We.jsx)("div",{className:n,children:e})}var Xe=({className:e,content:t,style:o})=>(0,We.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,We.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,We.jsx)(S,{content:t,enableGutter:!1,enableProse:!1})})});var Ze=require("@radix-ui/react-slot"),$e=require("class-variance-authority"),et=O(require("react")),bo=(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 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"}}}),M=et.forwardRef(({asChild:e=!1,className:t,size:o,variant:a,...n},r)=>(0,We.jsx)(e?Ze.Slot:"button",{className:l(bo({className:t,size:o,variant:a})),ref:r,...n}));M.displayName="Button";var Ce=O(require("next/link")),Z=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,We.jsxs)(Ce.default,{className:l(n),href:f||u||"",...w,children:[r&&r,a&&a]}):(0,We.jsx)(M,{asChild:!0,className:n,size:v,variant:o,children:(0,We.jsxs)(Ce.default,{className:l(n),href:f||u||"",...w,children:[r&&r,a&&a]})})};var ot=({links:e,richText:t})=>(0,We.jsx)("div",{className:"container",children:(0,We.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,We.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,We.jsx)(S,{className:"mb-0",content:t,enableGutter:!1})}),(0,We.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},a)=>(0,We.jsx)(Z,{size:"lg",...o},a))})]})});var ne=require("prism-react-renderer");var rt=require("lucide-react"),at=require("react");function nt({code:e}){let[t,o]=(0,at.useState)("Copy");function a(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,We.jsx)("div",{className:"flex justify-end align-middle",children:(0,We.jsxs)(M,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,We.jsx)("p",{children:t}),(0,We.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,We.jsx)(rt.ClipboardCopy,{})})]})})}var st=({code:e,language:t=""})=>e?(0,We.jsx)(ne.Highlight,{code:e,language:t,theme:ne.themes.vsDark,children:({getLineProps:o,getTokenProps:a,tokens:n})=>(0,We.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((r,i)=>(0,We.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,We.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,We.jsx)("span",{className:"table-cell pl-4",children:r.map((s,p)=>(0,We.jsx)("span",{...a({token:s})},p))})]},i)),(0,We.jsx)(nt,{code:e})]})}):null;var it=({className:e,code:t,language:o})=>(0,We.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,We.jsx)(st,{code:t,language:o})});var ct=O(require("next/image")),ho={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",pt=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:y,filename:x,height:A,url:N,width:G}=r;u=G,f=A,v=y||"",w=N||lt}let B=p||"lazy",P=i||Object.entries(ho).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,We.jsx)("picture",{children:(0,We.jsx)(ct.default,{alt:v||"",className:l(a),fill:o,height:o?void 0:f,placeholder:"blur",blurDataURL:lt,priority:B!=="lazy"&&n,quality:100,loading:B,sizes:P,src:w,width:o?void 0:u})})};var dt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var mt=()=>{if(dt){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 ut=e=>{let{onClick:t,resource:o,videoClassName:a}=e,n=(0,at.useRef)(null);if((0,at.useEffect)(()=>{let{current:r}=n;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,We.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,We.jsx)("source",{src:`${mt()}/media/${r}`})})}return null};var le=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,We.jsx)(o||at.Fragment,{...o!==null?{className:t}:{},children:n?(0,We.jsx)(ut,{...e}):(0,We.jsx)(pt,{...e})})};var ft=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:n,staticImage:r}=e;return(0,We.jsx)("div",{className:l("",{container:o},t),children:(0,We.jsx)(le,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:r})})};var bt=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:n,staticImage:r}=e;return(0,We.jsx)("div",{className:l("",{container:o},t),children:(0,We.jsx)(le,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:r})})};var ht=({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,We.jsx)("i",{className:s})};function yo(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function xt({variant:e="light",className:t,icon:o,heading:a,subheading:n,content:r,statistic:i,buttonText:s,buttonHref:p}){return(0,We.jsxs)("div",{className:l("rounded-3xl p-8 md:p-12",{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"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,We.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[o&&(0,We.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:yo(o)?(0,We.jsx)(ht,{type:o.type,iconName:o.iconName,size:"2x"}):o}),(0,We.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&i&&(0,We.jsx)("div",{className:"mb-6",children:(0,We.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),n&&(0,We.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),r&&typeof r=="object"&&(0,We.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,We.jsx)(S,{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,We.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:r}),s&&(0,We.jsx)("div",{className:"mt-8",children:(0,We.jsx)(M,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,We.jsxs)("a",{href:p,children:[s,(0,We.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,We.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 vt=({title:e,description:t,features:o,id:a})=>(0,We.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,We.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,We.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,We.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,We.jsx)(S,{content:t,enableGutter:!1})}),(0,We.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,We.jsx)(xo,{section:n,index:r},r);{let v=()=>{if(n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,We.jsx)(xt,{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)}})})]}),xo=({section:e,index:t})=>{if(!e)return null;let o=(0,We.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,We.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,We.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,We.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,We.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,We.jsx)("div",{className:"text-lg opacity-80",children:(0,We.jsx)(S,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,We.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:o},t):o};var ce=O(require("react"));function $({nodes:e}){return(0,We.jsx)(ce.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,We.jsx)(ce.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,We.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,We.jsx)("em",{children:r},o)),t.format&4&&(r=(0,We.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,We.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,We.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,We.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,We.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,We.jsx)("table",{children:(0,We.jsx)("tbody",{children:t.children.map((r,i)=>(0,We.jsx)("tr",{children:r.children.map((s,p)=>(0,We.jsx)("td",{children:$({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 $({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,We.jsx)(ot,{...r},o);case"mediaBlock":return(0,We.jsx)(ft,{className:"col-start-1 col-span-3",imgClassName:"We-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,We.jsx)(bt,{className:"col-start-1 col-span-3",imgClassName:"We-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,We.jsx)(Xe,{className:"col-start-2 mb-4",...r},o);case"code":return(0,We.jsx)(it,{className:"col-start-2",...r},o);case"features":return(0,We.jsx)(vt,{...r},o);case"reusableContentBlock":$({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,We.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,We.jsx)("p",{className:"col-start-2",children:n},o);case"heading":{let r=t==null?void 0:t.tag;return(0,We.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,We.jsx)(r,{className:"list col-start-2",children:n},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,We.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,We.jsx)("li",{value:t==null?void 0:t.value,children:n},o);case"quote":return(0,We.jsx)("blockquote",{className:"col-start-2",children:n},o);case"link":{let r=t.fields;return(0,We.jsx)(Z,{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,We.jsx)(Z,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:n},o)}default:return null}})})}var S=({className:e,content:t,enableGutter:o=!0,enableProse:a=!0})=>{var n;return t?(0,We.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&&$({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function At({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,We.jsxs)("div",{className:s,children:[e&&(0,We.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,We.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,We.jsx)("p",{className:"mt-5 whitespace-pre-line",children:o}):o&&(0,We.jsx)(S,{content:o,enableGutter:!1})]})}function pe({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 vo({className:e,...t}){return(0,We.jsx)("input",{...t,className:pe({className:e})})}function de({icon:e,...t}){return(0,We.jsxs)("div",{className:"relative w-full",children:[(0,We.jsx)(vo,{...t}),e&&(0,We.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function wo({className:e,...t}){return(0,We.jsx)("textarea",{...t,className:l(pe({}),"resize-none md:min-h-[130px]",e)})}function Ct({icon:e,...t}){return(0,We.jsxs)("div",{className:"relative w-full",children:[(0,We.jsx)(wo,{...t}),e&&(0,We.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Nt=require("formik"),Bt=require("react-icons/fa6"),j=O(require("yup"));async function kt(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 Ie=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"},Ao=j.object().shape({name:j.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),email:j.string().email(I.email).required(I.required),subject:j.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),message:j.string().min(2,I.tooShort).max(300,I.tooLong).required(I.required)}),me=l("!pr-[44px]"),ue=l("!border-red-600 border"),ge=l("sr-only");function Pt(){return(0,We.jsx)(Nt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Ao,onSubmit:async(e,{resetForm:t})=>{let o=await kt(e);o.data===null?Ie.toast.error(o.message):(Ie.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:a,handleBlur:n,isSubmitting:r,handleSubmit:i})=>(0,We.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,We.jsxs)("div",{children:[(0,We.jsx)(de,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:a,onBlur:n,disabled:r,icon:(0,We.jsx)(Bt.FaUser,{}),className:l(me,e.name&&t.name&&ue)}),e.name&&t.name&&(0,We.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ge,children:e.name})]}),(0,We.jsxs)("div",{children:[(0,We.jsx)(de,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:a,onBlur:n,disabled:r,icon:(0,We.jsx)(Co,{}),className:l(me,e.email&&t.email&&ue)}),e.email&&t.email&&(0,We.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ge,children:e.email})]}),(0,We.jsxs)("div",{className:"lg:col-span-2",children:[(0,We.jsx)(de,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:a,onBlur:n,disabled:r,className:l(me,e.subject&&t.subject&&ue)}),e.subject&&t.subject&&(0,We.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ge,children:e.subject})]}),(0,We.jsxs)("div",{className:"lg:col-span-2",children:[(0,We.jsx)(Ct,{placeholder:"Write Message...",name:"message",value:o.message,onChange:a,onBlur:n,disabled:r,icon:(0,We.jsx)(ko,{}),className:l(me,e.message&&t.message&&ue)}),e.message&&t.message&&(0,We.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ge,children:e.message})]}),(0,We.jsx)("div",{className:"lg:col-span-2",children:(0,We.jsx)(M,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:r,children:(0,We.jsx)("span",{children:"SEND"})})})]})})}function Co(){return(0,We.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,We.jsx)("path",{We:"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 ko(){return(0,We.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,We.jsx)("path",{We:"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,We.jsxs)(We.Fragment,{children:[(0,We.jsx)("section",{className:"section-padding-primary",children:(0,We.jsx)("div",{className:"",children:(0,We.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,We.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,We.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,We.jsxs)("div",{children:[(0,We.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,We.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,We.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,We.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,We.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,We.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,We.jsx)("p",{children:i},s))," ",a.mails&&(0,We.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,We.jsx)(Bt.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,We.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,We.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,We.jsx)(Bt.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,We.jsx)("section",{className:"section-padding-primary",children:(0,We.jsxs)("div",{className:"relative py-[60px]",children:[(0,We.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,We.jsx)(St.default,{src:o.src,alt:o.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:De})}),(0,We.jsx)(qe,{children:(0,We.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,We.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,We.jsx)("div",{className:"mb-30px",children:(0,We.jsx)(At,{...t,invert:!0})}),(0,We.jsx)(Pt,{})]})})})]})})]})}var No={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,We.jsxs)(We.Fragment,{children:[(0,We.jsx)(e,{}),(0,We.jsx)(Ie.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},Bo=e=>(0,We.jsx)(Te,{...e}),Tt=Bo.bind({});Tt.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-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
+ import{a as o}from"../chunk-JBRBY7EX.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-KTVHPTON.mjs";import"../chunk-7FR5BXX2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.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};