cortex-react-components 1.52.3 → 1.52.4

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 (122) hide show
  1. package/dist/{chunk-ELVHHVRX.mjs → chunk-2IXPH4JW.mjs} +1 -1
  2. package/dist/chunk-4FYXPO57.mjs +1 -0
  3. package/dist/{chunk-VNNW6UXI.mjs → chunk-53X3DJGT.mjs} +1 -1
  4. package/dist/{chunk-4YJ3HV64.mjs → chunk-6DHYRATS.mjs} +1 -1
  5. package/dist/{chunk-MWJTW2OB.mjs → chunk-6FFDGONX.mjs} +1 -1
  6. package/dist/{chunk-VQCDKCB7.mjs → chunk-7RCXCEKM.mjs} +1 -1
  7. package/dist/{chunk-TTO5NQOO.mjs → chunk-A6RIVBDI.mjs} +1 -1
  8. package/dist/{chunk-FRJH2ABR.mjs → chunk-ARDUHBRG.mjs} +1 -1
  9. package/dist/{chunk-ZWKNWD42.mjs → chunk-BCAE5YI2.mjs} +1 -1
  10. package/dist/{chunk-IAUGG2G2.mjs → chunk-EX3ZPVOA.mjs} +1 -1
  11. package/dist/{chunk-ZIWHUQ4D.mjs → chunk-HER7J6HM.mjs} +1 -1
  12. package/dist/{chunk-MZAFUSY7.mjs → chunk-IG5RFSL5.mjs} +1 -1
  13. package/dist/{chunk-FCCL6W7R.mjs → chunk-JPFBD2KD.mjs} +1 -1
  14. package/dist/{chunk-NSBLDGYS.mjs → chunk-L5LATCQ2.mjs} +1 -1
  15. package/dist/{chunk-KF77MUOK.mjs → chunk-LI327LRM.mjs} +1 -1
  16. package/dist/{chunk-INTMVJYF.mjs → chunk-N42N4DBZ.mjs} +1 -1
  17. package/dist/{chunk-5VDJXXDC.mjs → chunk-NXYL4UBB.mjs} +1 -1
  18. package/dist/{chunk-S3LLU4LR.mjs → chunk-PZ24BROJ.mjs} +1 -1
  19. package/dist/{chunk-UMILL4LR.mjs → chunk-QO2Z7WXW.mjs} +1 -1
  20. package/dist/{chunk-2A6JF3LE.mjs → chunk-RJGKFNZL.mjs} +1 -1
  21. package/dist/{chunk-Y6DIPOE7.mjs → chunk-SFUVVWMR.mjs} +1 -1
  22. package/dist/{chunk-BGTZHVKZ.mjs → chunk-TCLCV3LW.mjs} +1 -1
  23. package/dist/chunk-TLVJ4LEU.mjs +1 -0
  24. package/dist/{chunk-WYZJ7YOB.mjs → chunk-TWXXQQ2R.mjs} +1 -1
  25. package/dist/{chunk-3OSQR3RK.mjs → chunk-WJ6YSOZ5.mjs} +1 -1
  26. package/dist/{chunk-HDKUURAK.mjs → chunk-WVDIFSZH.mjs} +1 -1
  27. package/dist/{chunk-MGS3DQ22.mjs → chunk-XXTN5HMN.mjs} +1 -1
  28. package/dist/{chunk-JNEETCGB.mjs → chunk-YLETJQTI.mjs} +1 -1
  29. package/dist/{chunk-ZLMOQINK.mjs → chunk-YOASVS2O.mjs} +1 -1
  30. package/dist/chunk-YVDQBQ2H.mjs +1 -0
  31. package/dist/components/Blocks/Banner.mjs +1 -1
  32. package/dist/components/Blocks/CallToAction.mjs +1 -1
  33. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  34. package/dist/components/Blocks/Content.mjs +1 -1
  35. package/dist/components/Blocks/Content.stories.mjs +1 -1
  36. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  37. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  38. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  39. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  40. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  41. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  42. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  43. package/dist/components/Blocks/index.mjs +1 -1
  44. package/dist/components/Cards/ContentCard.mjs +1 -1
  45. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  46. package/dist/components/Cards/index.mjs +1 -1
  47. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  48. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  49. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  50. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  51. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  52. package/dist/components/Heros/RenderHero.mjs +1 -1
  53. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  54. package/dist/components/Heros/index.mjs +1 -1
  55. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  56. package/dist/components/Layouts/Print.mjs +1 -1
  57. package/dist/components/Layouts/Print.stories.mjs +1 -1
  58. package/dist/components/Layouts/SlideShow.mjs +1 -1
  59. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  60. package/dist/components/Layouts/index.mjs +1 -1
  61. package/dist/components/Payload/Card/index.mjs +1 -1
  62. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  63. package/dist/components/Payload/Media/index.mjs +1 -1
  64. package/dist/components/Payload/RichText/index.mjs +1 -1
  65. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  66. package/dist/components/Payload/RichText.stories.mjs +1 -1
  67. package/dist/components/Payload/index.mjs +1 -1
  68. package/dist/components/index.mjs +1 -1
  69. package/dist/globals.css +1 -1
  70. package/dist/index.js +1 -1
  71. package/dist/index.mjs +1 -1
  72. package/dist/metafile-cjs.json +1 -1
  73. package/dist/metafile-esm.json +1 -1
  74. package/dist/pages/Blog.mjs +1 -1
  75. package/dist/pages/Blog.stories.mjs +1 -1
  76. package/dist/pages/IndexPage.mjs +1 -1
  77. package/dist/pages/IndexPage.stories.mjs +1 -1
  78. package/dist/pages/Intranet.mjs +1 -1
  79. package/dist/pages/Intranet.stories.mjs +1 -1
  80. package/dist/pages/LandingPage.js +2 -2
  81. package/dist/pages/LandingPage.mjs +1 -1
  82. package/dist/pages/LandingPage.stories.js +3 -3
  83. package/dist/pages/LandingPage.stories.mjs +1 -1
  84. package/dist/pages/Page.mjs +1 -1
  85. package/dist/pages/Page.stories.mjs +1 -1
  86. package/dist/pages/Printable.stories.mjs +1 -1
  87. package/dist/pages/Publish.mjs +1 -1
  88. package/dist/pages/Publish.stories.mjs +1 -1
  89. package/dist/pages/Website.mjs +1 -1
  90. package/dist/pages/Website.stories.mjs +1 -1
  91. package/dist/sections/AboutSection.js +1 -1
  92. package/dist/sections/AboutSection.mjs +1 -1
  93. package/dist/sections/AboutSection.stories.js +1 -1
  94. package/dist/sections/AboutSection.stories.mjs +1 -1
  95. package/dist/sections/BlogDetail.mjs +1 -1
  96. package/dist/sections/BlogDetail.stories.mjs +1 -1
  97. package/dist/sections/BlogList.js +1 -1
  98. package/dist/sections/BlogList.mjs +1 -1
  99. package/dist/sections/BlogList.stories.js +1 -1
  100. package/dist/sections/BlogList.stories.mjs +1 -1
  101. package/dist/sections/ContactSection.js +1 -1
  102. package/dist/sections/ContactSection.mjs +1 -1
  103. package/dist/sections/ContactSection.stories.js +1 -1
  104. package/dist/sections/ContactSection.stories.mjs +1 -1
  105. package/dist/sections/ImageSection.stories.mjs +1 -1
  106. package/dist/sections/PricingSection.js +1 -1
  107. package/dist/sections/PricingSection.mjs +1 -1
  108. package/dist/sections/PricingSection.stories.js +1 -1
  109. package/dist/sections/PricingSection.stories.mjs +1 -1
  110. package/dist/sections/ServiceSection.d.ts +3 -1
  111. package/dist/sections/ServiceSection.js +1 -1
  112. package/dist/sections/ServiceSection.mjs +1 -1
  113. package/dist/sections/ServiceSection.stories.js +1 -1
  114. package/dist/sections/ServiceSection.stories.mjs +1 -1
  115. package/dist/sections/form/index.mjs +1 -1
  116. package/dist/sections/index.js +1 -1
  117. package/dist/sections/index.mjs +1 -1
  118. package/dist/waves-6HGOFMRK.jpg +0 -0
  119. package/package.json +1 -1
  120. package/dist/chunk-GNRDESON.mjs +0 -1
  121. package/dist/chunk-TCIHQDDM.mjs +0 -1
  122. package/dist/chunk-VD4DXIN7.mjs +0 -1
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var Mt=Object.create;var re=Object.defineProperty;var Et=Object.getOwnPropertyDescriptor;var Ft=Object.getOwnPropertyNames;var zt=Object.getPrototypeOf,Lt=Object.prototype.hasOwnProperty;var Ut=(e,t)=>{for(var o in t)re(e,o,{get:t[o],enumerable:!0})},De=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ft(t))!Lt.call(e,n)&&n!==o&&re(e,n,{get:()=>t[n],enumerable:!(a=Et(t,n))||a.enumerable});return e};var O=(e,t,o)=>(o=e!=null?Mt(zt(e)):{},De(t||!e||!e.__esModule?re(o,"default",{value:e,enumerable:!0}):o,e)),Gt=e=>De(re({},"__esModule",{value:!0}),e);var Po={};Ut(Po,{Default:()=>Rt,default:()=>No});module.exports=Gt(Po);var It=O(require("next/image"));var He="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var qe=require("clsx");var Ae="-",Dt=e=>{let t=jt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Ae);return s[0]===""&&s.length!==1&&s.shift(),Oe(s,t)||Ht(i)},getConflictingClassGroupIds:(i,s)=>{let p=o[i]||[];return s&&a[i]?[...p,...a[i]]:p}}},Oe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let o=e[0],a=t.nextPart.get(o),n=a?Oe(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},je=/^\[(.+)\]$/,Ht=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}},jt=e=>{let{theme:t,prefix:o}=e,a={nextPart:new Map,validators:[]};return Ot(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,Ot=(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,Yt=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)}}},Ye="!",Qt=e=>{let{separator:t,experimentalParseClassName:o}=e,a=t.length===1,n=t[0],r=t.length,i=s=>{let p=[],m=0,u=0,C;for(let w=0;w<s.length;w++){let A=s[w];if(m===0){if(A===n&&(a||s.slice(w,w+r)===t)){p.push(s.slice(u,w)),u=w+r;continue}if(A==="/"){C=w;continue}}A==="["?m++:A==="]"&&m--}let x=p.length===0?s:s.substring(u),k=x.startsWith(Ye),B=k?x.substring(1):x,v=C&&C>u?C-u:void 0;return{modifiers:p,hasImportantModifier:k,baseClassName:B,maybePostfixModifierPosition:v}};return o?s=>o({className:s,parseClassName:i}):i},Vt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(a=>{a[0]==="["?(t.push(...o.sort(),a),o=[]):o.push(a)}),t.push(...o.sort()),t},Jt=e=>({cache:Yt(e.cacheSize),parseClassName:Qt(e),...Dt(e)}),_t=/\s+/,qt=(e,t)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:n}=t,r=[],i=e.trim().split(_t),s="";for(let p=i.length-1;p>=0;p-=1){let m=i[p],{modifiers:u,hasImportantModifier:C,baseClassName:x,maybePostfixModifierPosition:k}=o(m),B=!!k,v=a(B?x.substring(0,k):x);if(!v){if(!B){s=m+(s.length>0?" "+s:s);continue}if(v=a(x),!v){s=m+(s.length>0?" "+s:s);continue}B=!1}let w=Vt(u).join(":"),A=C?w+Ye:w,N=A+v;if(r.includes(N))continue;r.push(N);let z=n(v,B);for(let S=0;S<z.length;++S){let ee=z[S];r.push(A+ee)}s=m+(s.length>0?" "+s:s)}return s};function Wt(){let e=0,t,o,a="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Qe(t))&&(a&&(a+=" "),a+=o);return a}var Qe=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=Qe(e[a]))&&(o&&(o+=" "),o+=t);return o};function Xt(e,...t){let o,a,n,r=i;function i(p){let m=t.reduce((u,C)=>C(u),e());return o=Jt(m),a=o.cache.get,n=o.cache.set,r=s,s(p)}function s(p){let m=a(p);if(m)return m;let u=qt(p,o);return n(p,u),u}return function(){return r(Wt.apply(null,arguments))}}var b=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ve=/^\[(?:([a-z-]+):)?(.+)\]$/i,Zt=/^\Xe+\/\Xe+$/,$t=new Set(["px","full","screen"]),eo=/^(\Xe+(\.\Xe+)?)?(xs|sm|md|lg|xl)$/,to=/\Xe+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Xe|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,oo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ro=/^(inset_)?-?((\Xe+)?\.?(\Xe+)[a-z]+|0)_-?((\Xe+)?\.?(\Xe+)[a-z]+|0)/,ao=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>Y(e)||$t.has(e)||Zt.test(e),L=e=>Q(e,"length",uo),Y=e=>!!e&&!Number.isNaN(Number(e)),ve=e=>Q(e,"number",Y),q=e=>!!e&&Number.isInteger(Number(e)),no=e=>e.endsWith("%")&&Y(e.slice(0,-1)),c=e=>Ve.test(e),U=e=>eo.test(e),so=new Set(["length","size","percentage"]),io=e=>Q(e,so,Je),lo=e=>Q(e,"position",Je),co=new Set(["image","url"]),po=e=>Q(e,co,fo),mo=e=>Q(e,"",go),W=()=>!0,Q=(e,t,o)=>{let a=Ve.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):o(a[2]):!1},uo=e=>to.test(e)&&!oo.test(e),Je=()=>!1,go=e=>ro.test(e),fo=e=>ao.test(e);var bo=()=>{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"),m=b("grayscale"),u=b("hueRotate"),C=b("invert"),x=b("gap"),k=b("gradientColorStops"),B=b("gradientColorStopPositions"),v=b("inset"),w=b("margin"),A=b("opacity"),N=b("padding"),z=b("saturate"),S=b("scale"),ee=b("sepia"),Me=b("skew"),Ee=b("space"),Fe=b("translate"),be=()=>["auto","contain","none"],he=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",c,t],y=()=>[c,t],ze=()=>["",R,L],te=()=>["auto",Y,c],Le=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],oe=()=>["solid","dashed","dotted","double","none"],Ue=()=>["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],Ge=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[Y,c];return{cacheSize:500,separator:":",theme:{colors:[W],spacing:[R,L],blur:["none","",U,c],brightness:T(),borderColor:[e],borderRadius:["none","","full",U,c],borderSpacing:y(),borderWidth:ze(),contrast:T(),grayscale:_(),hueRotate:T(),invert:_(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[no,L],inset:ye(),margin:ye(),opacity:T(),padding:y(),saturate:T(),scale:T(),sepia:_(),skew:T(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":Ge()}],"break-before":[{"break-before":Ge()}],"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:[...Le(),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:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],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:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"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]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ee]}],"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:[U]},U]}],Xe:[{Xe:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Xe":[{"min-Xe":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-Xe":[{"max-Xe":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,L]}],"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,L]}],"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: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":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Le(),lo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",io]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},po]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],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-nt":[{"rounded-nt":[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,L]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[R,L]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,mo]}],"shadow-color":[{shadow:[W]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ue()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",U,c]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[C]}],saturate:[{saturate:[z]}],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":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"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:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[q,c]}],"translate-x":[{"translate-x":[Fe]}],"translate-y":[{"translate-y":[Fe]}],"skew-x":[{"skew-x":[Me]}],"skew-y":[{"skew-y":[Me]}],"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","nt-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-m":[{"scroll-m":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-pe":[{"scroll-pe":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:[R,L,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"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","Xe"],"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-nt","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-nt","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-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 _e=Xt(bo);function l(...e){return _e((0,qe.clsx)(e))}var Xe=require("react/jsx-runtime");function We({children:e,isFluid:t=!1,isNoPadding:o=!1,className:a=""}){let n=l("container",t&&"full-width",o&&"no-padding",a);return(0,Xe.jsx)("div",{className:n,children:e})}var Ze=({className:e,content:t,style:o})=>(0,Xe.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Xe.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,Xe.jsx)(I,{content:t,enableGutter:!1,enableProse:!1})})});var $e=require("@radix-ui/react-slot"),et=require("class-variance-authority"),tt=O(require("react")),ho=(0,et.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:"Xe-10 px-4 py-2",icon:"Xe-10 w-10",lg:"Xe-11 rounded px-8",sm:"Xe-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=tt.forwardRef(({asChild:e=!1,className:t,size:o,variant:a,...n},r)=>(0,Xe.jsx)(e?$e.Slot:"button",{className:l(ho({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:m}=e,u=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}`:m;if(!u)return null;let C=o==="link"?"clear":p,x=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Xe.jsxs)(Ce.default,{className:l(n),href:u||m||"",...x,children:[r&&r,a&&a]}):(0,Xe.jsx)(M,{asChild:!0,className:n,size:C,variant:o,children:(0,Xe.jsxs)(Ce.default,{className:l(n),href:u||m||"",...x,children:[r&&r,a&&a]})})};var rt=({links:e,richText:t})=>(0,Xe.jsx)("div",{className:"container",children:(0,Xe.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,Xe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Xe.jsx)(I,{className:"mb-0",content:t,enableGutter:!1})}),(0,Xe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},a)=>(0,Xe.jsx)(Z,{size:"lg",...o},a))})]})});var ne=require("prism-react-renderer");var at=require("lucide-react"),nt=require("react");function st({code:e}){let[t,o]=(0,nt.useState)("Copy");function a(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Xe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Xe.jsxs)(M,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Xe.jsx)("p",{children:t}),(0,Xe.jsx)("div",{className:"w-6 Xe-6 dark:invert",children:(0,Xe.jsx)(at.ClipboardCopy,{})})]})})}var it=({code:e,language:t=""})=>e?(0,Xe.jsx)(ne.Highlight,{code:e,language:t,theme:ne.themes.vsDark,children:({getLineProps:o,getTokenProps:a,tokens:n})=>(0,Xe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((r,i)=>(0,Xe.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,Xe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Xe.jsx)("span",{className:"table-cell pl-4",children:r.map((s,p)=>(0,Xe.jsx)("span",{...a({token:s})},p))})]},i)),(0,Xe.jsx)(st,{code:e})]})}):null;var lt=({className:e,code:t,language:o})=>(0,Xe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Xe.jsx)(it,{code:t,language:o})});var pt=O(require("next/image")),yo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ct="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=",dt=e=>{let{alt:t,fill:o,imgClassName:a,priority:n,resource:r,size:i,src:s,loading:p}=e,m,u,C=t,x=s||"";if(!x&&r&&typeof r=="object"){let{alt:v,filename:w,height:A,url:N,width:z}=r;if(A&&A>500){let S=500/A;m=z*S,u=A*S}else m=z,u=A;C=v||"",x=N||ct}let k=p||"lazy",B=i||Object.entries(yo).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,Xe.jsx)("picture",{children:(0,Xe.jsx)(pt.default,{alt:C||"",className:l(a),fill:o,height:o?void 0:u,placeholder:"blur",blurDataURL:ct,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:B,src:x,width:o?void 0:m})})};var mt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ut=()=>{if(mt){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 gt=e=>{let{onClick:t,resource:o,videoClassName:a}=e,n=(0,nt.useRef)(null);if((0,nt.useEffect)(()=>{let{current:r}=n;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,Xe.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Xe.jsx)("source",{src:`${ut()}/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,Xe.jsx)(o||nt.Fragment,{...o!==null?{className:t}:{},children:n?(0,Xe.jsx)(gt,{...e}):(0,Xe.jsx)(dt,{...e})})};var bt=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:n,staticImage:r}=e;return(0,Xe.jsx)("div",{className:l("Xe-full ",{container:o},t),children:(0,Xe.jsx)(le,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:r})})};var ht=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:n,staticImage:r}=e;return(0,Xe.jsx)("div",{className:l("",{container:o},t),children:(0,Xe.jsx)(le,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:r})})};var Ie=({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,Xe.jsx)("i",{className:s})};function xt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function vt({variant:e="outline",className:t,icon:o,iconSize:a="large",width:n="auto",order:r=0,heading:i,subheading:s,content:p,statistic:m,buttonText:u,buttonHref:C}){let x={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},k={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Xe.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",x[e],e==="outline"?"text-gray-900":"text-white",t,k[n],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[(0,Xe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Xe.jsx)(xo,{icon:o,heading:i,variant:e,iconSize:a})}),m&&(0,Xe.jsx)("div",{className:"mb-6",children:(0,Xe.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:m})}),s&&(0,Xe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),p&&typeof p=="object"&&(0,Xe.jsx)("div",{className:l("space-y-6"),children:(0,Xe.jsx)(I,{enableGutter:!1,content:p,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),p&&typeof p=="string"&&(0,Xe.jsx)("div",{className:l("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:p}),u&&(0,Xe.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,Xe.jsx)(M,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,Xe.jsx)("a",{href:C,children:u})})}),e==="radial"&&(0,Xe.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 Xe-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 xo=({icon:e,heading:t,variant:o,iconSize:a})=>e&&a==="small"?(0,Xe.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[xt(e)&&(0,Xe.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,Xe.jsx)(Ie,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Xe.jsx)("div",{className:l("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Xe.jsxs)("div",{className:"flex flex-col gap-4",children:[xt(e)&&(0,Xe.jsx)("div",{className:l("Xe-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,Xe.jsx)(Ie,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Xe.jsx)("h3",{className:l("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Xe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Xe.jsx)("div",{className:l("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var wt=({title:e,description:t,features:o,id:a,nested:n=!1})=>(0,Xe.jsxs)("section",{className:l(!n&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Xe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,Xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Xe.jsx)(I,{content:t,enableGutter:!1})}),(0,Xe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((r,i)=>{var p,m,u,C,x;let s=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,iconName:r.icon.icon}};return(0,Xe.jsx)(vt,{variant:((p=r.settings)==null?void 0:p.card)==="default"?"light":((m=r.settings)==null?void 0:m.card)||"outline",icon:s()||void 0,iconSize:((u=r.settings)==null?void 0:u.iconSize)||"large",width:"auto",order:i,heading:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,buttonText:(C=r.link)!=null&&C.url?"Find out more":void 0,buttonHref:((x=r.link)==null?void 0:x.url)||void 0},i)})})]});var ce=O(require("react"));function $({nodes:e}){return(0,Xe.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,Xe.jsx)(ce.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,Xe.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,Xe.jsx)("em",{children:r},o)),t.format&4&&(r=(0,Xe.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,Xe.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,Xe.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,Xe.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,Xe.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,Xe.jsx)("table",{children:(0,Xe.jsx)("tbody",{children:t.children.map((r,i)=>(0,Xe.jsx)("tr",{children:r.children.map((s,p)=>(0,Xe.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,Xe.jsx)(rt,{...r},o);case"mediaBlock":return(0,Xe.jsx)(bt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,Xe.jsx)(ht,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Xe.jsx)(Ze,{className:"col-start-2 mb-4",...r},o);case"code":return(0,Xe.jsx)(lt,{className:"col-start-2",...r},o);case"features":return(0,Xe.jsx)(wt,{...r,nested:!0},o);case"reusableContentBlock":$({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Xe.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Xe.jsx)("p",{className:"col-start-2",children:n},o);case"heading":{let r=t==null?void 0:t.tag;return(0,Xe.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,Xe.jsx)(r,{className:"list col-start-2",children:n},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Xe.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,Xe.jsx)("li",{value:t==null?void 0:t.value,children:n},o);case"quote":return(0,Xe.jsx)("blockquote",{className:"col-start-2",children:n},o);case"link":{let r=t.fields;return(0,Xe.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,Xe.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 I=({className:e,content:t,enableGutter:o=!0,enableProse:a=!0})=>{var n;return t?(0,Xe.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 Ct({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,Xe.jsxs)("div",{className:s,children:[e&&(0,Xe.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,Xe.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,Xe.jsx)("p",{className:"mt-5 whitespace-pre-line",children:o}):o&&(0,Xe.jsx)(I,{content:o,enableGutter:!1})]})}function pe({className:e}){return l("flex items-center min-Xe-[3.5rem] md:min-Xe-[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,Xe.jsx)("input",{...t,className:pe({className:e})})}function de({icon:e,...t}){return(0,Xe.jsxs)("div",{className:"relative w-full",children:[(0,Xe.jsx)(vo,{...t}),e&&(0,Xe.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,Xe.jsx)("textarea",{...t,className:l(pe({}),"resize-none md:min-Xe-[130px]",e)})}function kt({icon:e,...t}){return(0,Xe.jsxs)("div",{className:"relative w-full",children:[(0,Xe.jsx)(wo,{...t}),e&&(0,Xe.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Bt=require("formik"),Pt=require("react-icons/fa6"),K=O(require("yup"));async function Nt(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 Te=require("sonner"),P={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Ao=K.object().shape({name:K.string().min(2,P.tooShort).max(50,P.tooLong).required(P.required),email:K.string().email(P.email).required(P.required),subject:K.string().min(2,P.tooShort).max(50,P.tooLong).required(P.required),message:K.string().min(2,P.tooShort).max(300,P.tooLong).required(P.required)}),me=l("!pr-[44px]"),ue=l("!border-red-600 border"),ge=l("sr-only");function St(){return(0,Xe.jsx)(Bt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Ao,onSubmit:async(e,{resetForm:t})=>{let o=await Nt(e);o.data===null?Te.toast.error(o.message):(Te.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:a,handleBlur:n,isSubmitting:r,handleSubmit:i})=>(0,Xe.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Xe.jsxs)("div",{children:[(0,Xe.jsx)(de,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:a,onBlur:n,disabled:r,icon:(0,Xe.jsx)(Pt.FaUser,{}),className:l(me,e.name&&t.name&&ue)}),e.name&&t.name&&(0,Xe.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ge,children:e.name})]}),(0,Xe.jsxs)("div",{children:[(0,Xe.jsx)(de,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:a,onBlur:n,disabled:r,icon:(0,Xe.jsx)(Co,{}),className:l(me,e.email&&t.email&&ue)}),e.email&&t.email&&(0,Xe.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ge,children:e.email})]}),(0,Xe.jsxs)("div",{className:"lg:col-span-2",children:[(0,Xe.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,Xe.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ge,children:e.subject})]}),(0,Xe.jsxs)("div",{className:"lg:col-span-2",children:[(0,Xe.jsx)(kt,{placeholder:"Write Message...",name:"message",value:o.message,onChange:a,onBlur:n,disabled:r,icon:(0,Xe.jsx)(ko,{}),className:l(me,e.message&&t.message&&ue)}),e.message&&t.message&&(0,Xe.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ge,children:e.message})]}),(0,Xe.jsx)("div",{className:"lg:col-span-2",children:(0,Xe.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,Xe.jsx)("span",{children:"SEND"})})})]})})}function Co(){return(0,Xe.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Xe.jsx)("path",{Xe:"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,Xe.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Xe.jsx)("path",{Xe:"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 Re(e){let{sectionHeading:t,image:o}=e;return(0,Xe.jsxs)(Xe.Fragment,{children:[(0,Xe.jsx)("section",{className:"sticky top-0 Xe-screen flex flex-col items-center justify-center z-2 dark bg-background section-padding-primary",children:(0,Xe.jsx)("div",{className:"",children:(0,Xe.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Xe.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,Xe.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Xe.jsxs)("div",{children:[(0,Xe.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Xe.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,Xe.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,Xe.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Xe.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,Xe.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,Xe.jsx)("p",{children:i},s))," ",a.mails&&(0,Xe.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,Xe.jsx)(Pt.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Xe.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,Xe.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,Xe.jsx)(Pt.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,Xe.jsx)("section",{className:"sticky top-0 Xe-screen flex flex-col z-2 light bg-background section-padding-primary",children:(0,Xe.jsxs)("div",{className:"relative py-[60px]",children:[(0,Xe.jsx)("div",{className:"absolute left-0 top-0 z-1 Xe-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Xe.jsx)(It.default,{src:o.src,alt:o.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:He})}),(0,Xe.jsx)(We,{children:(0,Xe.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Xe.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,Xe.jsx)("div",{className:"mb-30px",children:(0,Xe.jsx)(Ct,{...t,invert:!0})}),(0,Xe.jsx)(St,{})]})})})]})})]})}var No={title:"Website Components/ContactSection",component:Re,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,Xe.jsxs)(Xe.Fragment,{children:[(0,Xe.jsx)(e,{}),(0,Xe.jsx)(Te.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},Bo=e=>(0,Xe.jsx)(Re,{...e}),Rt=Bo.bind({});Rt.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 Mt=Object.create;var re=Object.defineProperty;var Et=Object.getOwnPropertyDescriptor;var Ft=Object.getOwnPropertyNames;var zt=Object.getPrototypeOf,Lt=Object.prototype.hasOwnProperty;var Ut=(e,t)=>{for(var o in t)re(e,o,{get:t[o],enumerable:!0})},De=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ft(t))!Lt.call(e,n)&&n!==o&&re(e,n,{get:()=>t[n],enumerable:!(a=Et(t,n))||a.enumerable});return e};var O=(e,t,o)=>(o=e!=null?Mt(zt(e)):{},De(t||!e||!e.__esModule?re(o,"default",{value:e,enumerable:!0}):o,e)),Gt=e=>De(re({},"__esModule",{value:!0}),e);var Po={};Ut(Po,{Default:()=>Rt,default:()=>No});module.exports=Gt(Po);var It=O(require("next/image"));var He="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var qe=require("clsx");var Ae="-",Dt=e=>{let t=jt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Ae);return s[0]===""&&s.length!==1&&s.shift(),Oe(s,t)||Ht(i)},getConflictingClassGroupIds:(i,s)=>{let p=o[i]||[];return s&&a[i]?[...p,...a[i]]:p}}},Oe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let o=e[0],a=t.nextPart.get(o),n=a?Oe(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},je=/^\[(.+)\]$/,Ht=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}},jt=e=>{let{theme:t,prefix:o}=e,a={nextPart:new Map,validators:[]};return Ot(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,Ot=(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,Yt=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)}}},Ye="!",Qt=e=>{let{separator:t,experimentalParseClassName:o}=e,a=t.length===1,n=t[0],r=t.length,i=s=>{let p=[],m=0,u=0,C;for(let w=0;w<s.length;w++){let A=s[w];if(m===0){if(A===n&&(a||s.slice(w,w+r)===t)){p.push(s.slice(u,w)),u=w+r;continue}if(A==="/"){C=w;continue}}A==="["?m++:A==="]"&&m--}let x=p.length===0?s:s.substring(u),k=x.startsWith(Ye),B=k?x.substring(1):x,v=C&&C>u?C-u:void 0;return{modifiers:p,hasImportantModifier:k,baseClassName:B,maybePostfixModifierPosition:v}};return o?s=>o({className:s,parseClassName:i}):i},Vt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(a=>{a[0]==="["?(t.push(...o.sort(),a),o=[]):o.push(a)}),t.push(...o.sort()),t},Jt=e=>({cache:Yt(e.cacheSize),parseClassName:Qt(e),...Dt(e)}),_t=/\s+/,qt=(e,t)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:n}=t,r=[],i=e.trim().split(_t),s="";for(let p=i.length-1;p>=0;p-=1){let m=i[p],{modifiers:u,hasImportantModifier:C,baseClassName:x,maybePostfixModifierPosition:k}=o(m),B=!!k,v=a(B?x.substring(0,k):x);if(!v){if(!B){s=m+(s.length>0?" "+s:s);continue}if(v=a(x),!v){s=m+(s.length>0?" "+s:s);continue}B=!1}let w=Vt(u).join(":"),A=C?w+Ye:w,N=A+v;if(r.includes(N))continue;r.push(N);let z=n(v,B);for(let S=0;S<z.length;++S){let ee=z[S];r.push(A+ee)}s=m+(s.length>0?" "+s:s)}return s};function Wt(){let e=0,t,o,a="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Qe(t))&&(a&&(a+=" "),a+=o);return a}var Qe=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=Qe(e[a]))&&(o&&(o+=" "),o+=t);return o};function Xt(e,...t){let o,a,n,r=i;function i(p){let m=t.reduce((u,C)=>C(u),e());return o=Jt(m),a=o.cache.get,n=o.cache.set,r=s,s(p)}function s(p){let m=a(p);if(m)return m;let u=qt(p,o);return n(p,u),u}return function(){return r(Wt.apply(null,arguments))}}var b=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ve=/^\[(?:([a-z-]+):)?(.+)\]$/i,Zt=/^\Xe+\/\Xe+$/,$t=new Set(["px","full","screen"]),eo=/^(\Xe+(\.\Xe+)?)?(xs|sm|md|lg|xl)$/,to=/\Xe+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Xe|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,oo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ro=/^(inset_)?-?((\Xe+)?\.?(\Xe+)[a-z]+|0)_-?((\Xe+)?\.?(\Xe+)[a-z]+|0)/,ao=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>Y(e)||$t.has(e)||Zt.test(e),L=e=>Q(e,"length",uo),Y=e=>!!e&&!Number.isNaN(Number(e)),ve=e=>Q(e,"number",Y),q=e=>!!e&&Number.isInteger(Number(e)),no=e=>e.endsWith("%")&&Y(e.slice(0,-1)),c=e=>Ve.test(e),U=e=>eo.test(e),so=new Set(["length","size","percentage"]),io=e=>Q(e,so,Je),lo=e=>Q(e,"position",Je),co=new Set(["image","url"]),po=e=>Q(e,co,fo),mo=e=>Q(e,"",go),W=()=>!0,Q=(e,t,o)=>{let a=Ve.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):o(a[2]):!1},uo=e=>to.test(e)&&!oo.test(e),Je=()=>!1,go=e=>ro.test(e),fo=e=>ao.test(e);var bo=()=>{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"),m=b("grayscale"),u=b("hueRotate"),C=b("invert"),x=b("gap"),k=b("gradientColorStops"),B=b("gradientColorStopPositions"),v=b("inset"),w=b("margin"),A=b("opacity"),N=b("padding"),z=b("saturate"),S=b("scale"),ee=b("sepia"),Me=b("skew"),Ee=b("space"),Fe=b("translate"),be=()=>["auto","contain","none"],he=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",c,t],y=()=>[c,t],ze=()=>["",R,L],te=()=>["auto",Y,c],Le=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],oe=()=>["solid","dashed","dotted","double","none"],Ue=()=>["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],Ge=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[Y,c];return{cacheSize:500,separator:":",theme:{colors:[W],spacing:[R,L],blur:["none","",U,c],brightness:T(),borderColor:[e],borderRadius:["none","","full",U,c],borderSpacing:y(),borderWidth:ze(),contrast:T(),grayscale:_(),hueRotate:T(),invert:_(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[no,L],inset:ye(),margin:ye(),opacity:T(),padding:y(),saturate:T(),scale:T(),sepia:_(),skew:T(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":Ge()}],"break-before":[{"break-before":Ge()}],"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:[...Le(),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:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],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:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"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]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ee]}],"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:[U]},U]}],Xe:[{Xe:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Xe":[{"min-Xe":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-Xe":[{"max-Xe":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,L]}],"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,L]}],"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: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":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Le(),lo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",io]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},po]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],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-nt":[{"rounded-nt":[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,L]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[R,L]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,mo]}],"shadow-color":[{shadow:[W]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ue()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",U,c]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[C]}],saturate:[{saturate:[z]}],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":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"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:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[q,c]}],"translate-x":[{"translate-x":[Fe]}],"translate-y":[{"translate-y":[Fe]}],"skew-x":[{"skew-x":[Me]}],"skew-y":[{"skew-y":[Me]}],"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","nt-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-m":[{"scroll-m":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-pe":[{"scroll-pe":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:[R,L,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"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","Xe"],"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-nt","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-nt","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-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 _e=Xt(bo);function l(...e){return _e((0,qe.clsx)(e))}var Xe=require("react/jsx-runtime");function We({children:e,isFluid:t=!1,isNoPadding:o=!1,className:a=""}){let n=l("container",t&&"full-width",o&&"no-padding",a);return(0,Xe.jsx)("div",{className:n,children:e})}var Ze=({className:e,content:t,style:o})=>(0,Xe.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Xe.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,Xe.jsx)(I,{content:t,enableGutter:!1,enableProse:!1})})});var $e=require("@radix-ui/react-slot"),et=require("class-variance-authority"),tt=O(require("react")),ho=(0,et.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:"Xe-10 px-4 py-2",icon:"Xe-10 w-10",lg:"Xe-11 rounded px-8",sm:"Xe-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=tt.forwardRef(({asChild:e=!1,className:t,size:o,variant:a,...n},r)=>(0,Xe.jsx)(e?$e.Slot:"button",{className:l(ho({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:m}=e,u=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}`:m;if(!u)return null;let C=o==="link"?"clear":p,x=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Xe.jsxs)(Ce.default,{className:l(n),href:u||m||"",...x,children:[r&&r,a&&a]}):(0,Xe.jsx)(M,{asChild:!0,className:n,size:C,variant:o,children:(0,Xe.jsxs)(Ce.default,{className:l(n),href:u||m||"",...x,children:[r&&r,a&&a]})})};var rt=({links:e,richText:t})=>(0,Xe.jsx)("div",{className:"container",children:(0,Xe.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,Xe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Xe.jsx)(I,{className:"mb-0",content:t,enableGutter:!1})}),(0,Xe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},a)=>(0,Xe.jsx)(Z,{size:"lg",...o},a))})]})});var ne=require("prism-react-renderer");var at=require("lucide-react"),nt=require("react");function st({code:e}){let[t,o]=(0,nt.useState)("Copy");function a(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Xe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Xe.jsxs)(M,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Xe.jsx)("p",{children:t}),(0,Xe.jsx)("div",{className:"w-6 Xe-6 dark:invert",children:(0,Xe.jsx)(at.ClipboardCopy,{})})]})})}var it=({code:e,language:t=""})=>e?(0,Xe.jsx)(ne.Highlight,{code:e,language:t,theme:ne.themes.vsDark,children:({getLineProps:o,getTokenProps:a,tokens:n})=>(0,Xe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((r,i)=>(0,Xe.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,Xe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Xe.jsx)("span",{className:"table-cell pl-4",children:r.map((s,p)=>(0,Xe.jsx)("span",{...a({token:s})},p))})]},i)),(0,Xe.jsx)(st,{code:e})]})}):null;var lt=({className:e,code:t,language:o})=>(0,Xe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Xe.jsx)(it,{code:t,language:o})});var pt=O(require("next/image")),yo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ct="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=",dt=e=>{let{alt:t,fill:o,imgClassName:a,priority:n,resource:r,size:i,src:s,loading:p}=e,m,u,C=t,x=s||"";if(!x&&r&&typeof r=="object"){let{alt:v,filename:w,height:A,url:N,width:z}=r;if(A&&A>500){let S=500/A;m=z*S,u=A*S}else m=z,u=A;C=v||"",x=N||ct}let k=p||"lazy",B=i||Object.entries(yo).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,Xe.jsx)("picture",{children:(0,Xe.jsx)(pt.default,{alt:C||"",className:l(a),fill:o,height:o?void 0:u,placeholder:"blur",blurDataURL:ct,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:B,src:x,width:o?void 0:m})})};var mt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ut=()=>{if(mt){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 gt=e=>{let{onClick:t,resource:o,videoClassName:a}=e,n=(0,nt.useRef)(null);if((0,nt.useEffect)(()=>{let{current:r}=n;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,Xe.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Xe.jsx)("source",{src:`${ut()}/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,Xe.jsx)(o||nt.Fragment,{...o!==null?{className:t}:{},children:n?(0,Xe.jsx)(gt,{...e}):(0,Xe.jsx)(dt,{...e})})};var bt=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:n,staticImage:r}=e;return(0,Xe.jsx)("div",{className:l("Xe-full ",{container:o},t),children:(0,Xe.jsx)(le,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:r})})};var ht=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:n,staticImage:r}=e;return(0,Xe.jsx)("div",{className:l("",{container:o},t),children:(0,Xe.jsx)(le,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:r})})};var Ie=({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,Xe.jsx)("i",{className:s})};function xt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function vt({variant:e="outline",className:t,icon:o,iconSize:a="large",width:n="auto",order:r=0,heading:i,subheading:s,content:p,statistic:m,buttonText:u,buttonHref:C}){let x={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},k={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Xe.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",x[e],e==="outline"?"text-gray-900":"text-white",t,k[n],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[(0,Xe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Xe.jsx)(xo,{icon:o,heading:i,variant:e,iconSize:a})}),m&&(0,Xe.jsx)("div",{className:"mb-6",children:(0,Xe.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:m})}),s&&(0,Xe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),p&&typeof p=="object"&&(0,Xe.jsx)("div",{className:l("space-y-6"),children:(0,Xe.jsx)(I,{enableGutter:!1,content:p,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),p&&typeof p=="string"&&(0,Xe.jsx)("div",{className:l("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:p}),u&&(0,Xe.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,Xe.jsx)(M,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,Xe.jsx)("a",{href:C,children:u})})}),e==="radial"&&(0,Xe.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 Xe-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 xo=({icon:e,heading:t,variant:o,iconSize:a})=>e&&a==="small"?(0,Xe.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[xt(e)&&(0,Xe.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,Xe.jsx)(Ie,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Xe.jsx)("div",{className:l("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Xe.jsxs)("div",{className:"flex flex-col gap-4",children:[xt(e)&&(0,Xe.jsx)("div",{className:l("Xe-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,Xe.jsx)(Ie,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Xe.jsx)("h3",{className:l("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Xe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Xe.jsx)("div",{className:l("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var wt=({title:e,description:t,features:o,id:a,nested:n=!1})=>(0,Xe.jsxs)("section",{className:l(!n&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Xe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,Xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Xe.jsx)(I,{content:t,enableGutter:!1})}),(0,Xe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((r,i)=>{var p,m,u,C,x;let s=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,iconName:r.icon.icon}};return(0,Xe.jsx)(vt,{variant:((p=r.settings)==null?void 0:p.card)==="default"?"light":((m=r.settings)==null?void 0:m.card)||"outline",icon:s()||void 0,iconSize:((u=r.settings)==null?void 0:u.iconSize)||"large",width:"auto",order:i,heading:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,buttonText:(C=r.link)!=null&&C.url?"Find out more":void 0,buttonHref:((x=r.link)==null?void 0:x.url)||void 0},i)})})]});var ce=O(require("react"));function $({nodes:e}){return(0,Xe.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,Xe.jsx)(ce.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,Xe.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,Xe.jsx)("em",{children:r},o)),t.format&4&&(r=(0,Xe.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,Xe.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,Xe.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,Xe.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,Xe.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,Xe.jsx)("table",{children:(0,Xe.jsx)("tbody",{children:t.children.map((r,i)=>(0,Xe.jsx)("tr",{children:r.children.map((s,p)=>(0,Xe.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,Xe.jsx)(rt,{...r},o);case"mediaBlock":return(0,Xe.jsx)(bt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,Xe.jsx)(ht,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Xe.jsx)(Ze,{className:"col-start-2 mb-4",...r},o);case"code":return(0,Xe.jsx)(lt,{className:"col-start-2",...r},o);case"features":return(0,Xe.jsx)(wt,{...r,nested:!0},o);case"reusableContentBlock":$({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Xe.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Xe.jsx)("p",{className:"col-start-2",children:n},o);case"heading":{let r=t==null?void 0:t.tag;return(0,Xe.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,Xe.jsx)(r,{className:"list col-start-2",children:n},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Xe.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,Xe.jsx)("li",{value:t==null?void 0:t.value,children:n},o);case"quote":return(0,Xe.jsx)("blockquote",{className:"col-start-2",children:n},o);case"link":{let r=t.fields;return(0,Xe.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,Xe.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 I=({className:e,content:t,enableGutter:o=!0,enableProse:a=!0})=>{var n;return t?(0,Xe.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 Ct({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,Xe.jsxs)("div",{className:s,children:[e&&(0,Xe.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,Xe.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,Xe.jsx)("p",{className:"mt-5 whitespace-pre-line text-primary",children:o}):o&&(0,Xe.jsx)(I,{content:o,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}function pe({className:e}){return l("flex items-center min-Xe-[3.5rem] md:min-Xe-[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,Xe.jsx)("input",{...t,className:pe({className:e})})}function de({icon:e,...t}){return(0,Xe.jsxs)("div",{className:"relative w-full",children:[(0,Xe.jsx)(vo,{...t}),e&&(0,Xe.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,Xe.jsx)("textarea",{...t,className:l(pe({}),"resize-none md:min-Xe-[130px]",e)})}function kt({icon:e,...t}){return(0,Xe.jsxs)("div",{className:"relative w-full",children:[(0,Xe.jsx)(wo,{...t}),e&&(0,Xe.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Bt=require("formik"),Pt=require("react-icons/fa6"),K=O(require("yup"));async function Nt(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 Te=require("sonner"),P={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Ao=K.object().shape({name:K.string().min(2,P.tooShort).max(50,P.tooLong).required(P.required),email:K.string().email(P.email).required(P.required),subject:K.string().min(2,P.tooShort).max(50,P.tooLong).required(P.required),message:K.string().min(2,P.tooShort).max(300,P.tooLong).required(P.required)}),me=l("!pr-[44px]"),ue=l("!border-red-600 border"),ge=l("sr-only");function St(){return(0,Xe.jsx)(Bt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Ao,onSubmit:async(e,{resetForm:t})=>{let o=await Nt(e);o.data===null?Te.toast.error(o.message):(Te.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:a,handleBlur:n,isSubmitting:r,handleSubmit:i})=>(0,Xe.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Xe.jsxs)("div",{children:[(0,Xe.jsx)(de,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:a,onBlur:n,disabled:r,icon:(0,Xe.jsx)(Pt.FaUser,{}),className:l(me,e.name&&t.name&&ue)}),e.name&&t.name&&(0,Xe.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ge,children:e.name})]}),(0,Xe.jsxs)("div",{children:[(0,Xe.jsx)(de,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:a,onBlur:n,disabled:r,icon:(0,Xe.jsx)(Co,{}),className:l(me,e.email&&t.email&&ue)}),e.email&&t.email&&(0,Xe.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ge,children:e.email})]}),(0,Xe.jsxs)("div",{className:"lg:col-span-2",children:[(0,Xe.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,Xe.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ge,children:e.subject})]}),(0,Xe.jsxs)("div",{className:"lg:col-span-2",children:[(0,Xe.jsx)(kt,{placeholder:"Write Message...",name:"message",value:o.message,onChange:a,onBlur:n,disabled:r,icon:(0,Xe.jsx)(ko,{}),className:l(me,e.message&&t.message&&ue)}),e.message&&t.message&&(0,Xe.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ge,children:e.message})]}),(0,Xe.jsx)("div",{className:"lg:col-span-2",children:(0,Xe.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,Xe.jsx)("span",{children:"SEND"})})})]})})}function Co(){return(0,Xe.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Xe.jsx)("path",{Xe:"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,Xe.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Xe.jsx)("path",{Xe:"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 Re(e){let{sectionHeading:t,image:o}=e;return(0,Xe.jsxs)(Xe.Fragment,{children:[(0,Xe.jsx)("section",{className:"sticky top-0 Xe-screen flex flex-col items-center justify-center z-2 dark bg-background section-padding-primary",children:(0,Xe.jsx)("div",{className:"",children:(0,Xe.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Xe.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,Xe.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Xe.jsxs)("div",{children:[(0,Xe.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Xe.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,Xe.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,Xe.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Xe.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,Xe.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,Xe.jsx)("p",{children:i},s))," ",a.mails&&(0,Xe.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,Xe.jsx)(Pt.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Xe.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,Xe.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,Xe.jsx)(Pt.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,Xe.jsx)("section",{className:"sticky top-0 Xe-screen flex flex-col z-2 light bg-background section-padding-primary",children:(0,Xe.jsxs)("div",{className:"relative py-[60px]",children:[(0,Xe.jsx)("div",{className:"absolute left-0 top-0 z-1 Xe-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Xe.jsx)(It.default,{src:o.src,alt:o.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:He})}),(0,Xe.jsx)(We,{children:(0,Xe.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Xe.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,Xe.jsx)("div",{className:"mb-30px",children:(0,Xe.jsx)(Ct,{...t,invert:!0})}),(0,Xe.jsx)(St,{})]})})})]})})]})}var No={title:"Website Components/ContactSection",component:Re,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,Xe.jsxs)(Xe.Fragment,{children:[(0,Xe.jsx)(e,{}),(0,Xe.jsx)(Te.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},Bo=e=>(0,Xe.jsx)(Re,{...e}),Rt=Bo.bind({});Rt.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-Y6DIPOE7.mjs";import"../chunk-UMILL4LR.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-VD4DXIN7.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-ZWKNWD42.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-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-SFUVVWMR.mjs";import"../chunk-QO2Z7WXW.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-TLVJ4LEU.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-BCAE5YI2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-RJGKFNZL.mjs";import"../chunk-6DHYRATS.mjs";import"../chunk-JPFBD2KD.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-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 +1 @@
1
- import{a}from"../chunk-X76XZNRS.mjs";import{f as t}from"../chunk-ZWKNWD42.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as e}from"react/jsx-runtime";var o={title:"Reusable Blocks/ImageSection",component:a,parameters:{layout:"fullscreen"},tags:["autodocs"],argTypes:{image:{control:"text",description:"URL of the background image. Defaults to a professional stock photo."},imageAlt:{control:"text",description:"Alt text for the background image"},imagePosition:{control:"radio",options:["left","right"],description:"Position of the content relative to the image"},overlay:{control:"boolean",description:"Whether to show the gradient overlay on the image"}}},l=o,p={args:{imagePosition:"left",children:e(t,{variant:"gradient",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},c={args:{imagePosition:"right",children:e(t,{variant:"gradient",heading:"Results",statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]}]}}})}},r={args:{imagePosition:"left",children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},u={args:{...r.args,overlay:!1}},d={args:{...r.args,children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}};export{d as LoadsOfText,u as NoOverlay,p as WithGradientCard,r as WithRadialCard,c as WithStatsCard,l as default};
1
+ import{a}from"../chunk-X76XZNRS.mjs";import{f as t}from"../chunk-BCAE5YI2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-RJGKFNZL.mjs";import"../chunk-6DHYRATS.mjs";import"../chunk-JPFBD2KD.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as e}from"react/jsx-runtime";var o={title:"Reusable Blocks/ImageSection",component:a,parameters:{layout:"fullscreen"},tags:["autodocs"],argTypes:{image:{control:"text",description:"URL of the background image. Defaults to a professional stock photo."},imageAlt:{control:"text",description:"Alt text for the background image"},imagePosition:{control:"radio",options:["left","right"],description:"Position of the content relative to the image"},overlay:{control:"boolean",description:"Whether to show the gradient overlay on the image"}}},l=o,p={args:{imagePosition:"left",children:e(t,{variant:"gradient",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},c={args:{imagePosition:"right",children:e(t,{variant:"gradient",heading:"Results",statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]}]}}})}},r={args:{imagePosition:"left",children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},u={args:{...r.args,overlay:!1}},d={args:{...r.args,children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}};export{d as LoadsOfText,u as NoOverlay,p as WithGradientCard,r as WithRadialCard,c as WithStatsCard,l as default};