cortex-react-components 1.22.2 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/dist/chunk-2KX4HNDS.mjs +1 -0
  2. package/dist/{chunk-LBKMUSVR.mjs → chunk-4VDJWCUB.mjs} +1 -1
  3. package/dist/chunk-6NUP6H6C.mjs +1 -0
  4. package/dist/{chunk-BA2R2HZQ.mjs → chunk-72WK7C3W.mjs} +1 -1
  5. package/dist/{chunk-YJLGN2LA.mjs → chunk-7D3JENEX.mjs} +1 -1
  6. package/dist/{chunk-VIPFVWUR.mjs → chunk-AD7PG4E2.mjs} +1 -1
  7. package/dist/{chunk-IPHHUHS3.mjs → chunk-AFA6LBJ4.mjs} +1 -1
  8. package/dist/{chunk-GCBC75DA.mjs → chunk-C2JAWRTF.mjs} +1 -1
  9. package/dist/{chunk-4DKHBSMY.mjs → chunk-CQLNCTJO.mjs} +1 -1
  10. package/dist/{chunk-DSLEVJ5J.mjs → chunk-FHRWUBJS.mjs} +1 -1
  11. package/dist/chunk-FWAGER33.mjs +1 -0
  12. package/dist/{chunk-CLX23VLS.mjs → chunk-GCVL4HMJ.mjs} +1 -1
  13. package/dist/{chunk-APJGF4AI.mjs → chunk-HOTJ3KYZ.mjs} +1 -1
  14. package/dist/chunk-IQSW2KWV.mjs +9 -0
  15. package/dist/{chunk-6AIYOOQB.mjs → chunk-KVLKXXVS.mjs} +1 -1
  16. package/dist/{chunk-2SSVZSE4.mjs → chunk-MWFVTY5P.mjs} +1 -1
  17. package/dist/{chunk-G2IGGQXC.mjs → chunk-N7Z6I6KY.mjs} +1 -1
  18. package/dist/{chunk-5O6DFU4X.mjs → chunk-NSUCU5DU.mjs} +1 -1
  19. package/dist/{chunk-UJRNR62B.mjs → chunk-QXFTL6FL.mjs} +1 -1
  20. package/dist/{chunk-FD56GYLU.mjs → chunk-RPZFHDAH.mjs} +1 -1
  21. package/dist/{chunk-VPMCRWSX.mjs → chunk-TDEZBNLK.mjs} +1 -1
  22. package/dist/{chunk-2XFMQU5T.mjs → chunk-TJGXJTVK.mjs} +1 -1
  23. package/dist/{chunk-YFEOMNAK.mjs → chunk-UEBU2LBX.mjs} +1 -1
  24. package/dist/chunk-VMQF6E47.mjs +1 -0
  25. package/dist/{chunk-BQQYRB4K.mjs → chunk-YCCULI7X.mjs} +1 -1
  26. package/dist/chunk-YNNW2C2U.mjs +1 -0
  27. package/dist/chunk-Z4CK655R.mjs +1 -0
  28. package/dist/{chunk-GXHXPWKT.mjs → chunk-ZHX24HTW.mjs} +1 -1
  29. package/dist/components/Blocks/Banner.mjs +1 -1
  30. package/dist/components/Blocks/CallToAction.mjs +1 -1
  31. package/dist/components/Blocks/Content.mjs +1 -1
  32. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  33. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  34. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  35. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  36. package/dist/components/Blocks/index.mjs +1 -1
  37. package/dist/components/Cards/index.mjs +1 -1
  38. package/dist/components/HeaderFooter/Footer.js +1 -1
  39. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  40. package/dist/components/HeaderFooter/Footer.stories.js +1 -1
  41. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  42. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  43. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  44. package/dist/components/HeaderFooter/index.js +1 -1
  45. package/dist/components/HeaderFooter/index.mjs +1 -1
  46. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  47. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  48. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  49. package/dist/components/Heros/PostHero/index.js +1 -1
  50. package/dist/components/Heros/PostHero/index.mjs +1 -1
  51. package/dist/components/Heros/RenderHero.mjs +1 -1
  52. package/dist/components/Heros/index.js +1 -1
  53. package/dist/components/Heros/index.mjs +1 -1
  54. package/dist/components/Layouts/BlogList.d.ts +24 -0
  55. package/dist/components/Layouts/BlogList.js +12 -0
  56. package/dist/components/Layouts/BlogList.mjs +1 -0
  57. package/dist/components/Layouts/BlogList.stories.js +12 -0
  58. package/dist/components/Layouts/BlogList.stories.mjs +1 -0
  59. package/dist/components/Layouts/NewsList.js +1 -1
  60. package/dist/components/Layouts/NewsList.mjs +1 -1
  61. package/dist/components/Layouts/NewsList.stories.js +1 -1
  62. package/dist/components/Layouts/NewsList.stories.mjs +1 -1
  63. package/dist/components/Layouts/index.d.ts +1 -0
  64. package/dist/components/Layouts/index.js +9 -1
  65. package/dist/components/Layouts/index.mjs +1 -1
  66. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  67. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  68. package/dist/components/Menus/SidebarRight.mjs +1 -1
  69. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  70. package/dist/components/Menus/index.mjs +1 -1
  71. package/dist/components/Pages/Documentation.mjs +1 -1
  72. package/dist/components/Pages/Documentation.stories.mjs +1 -1
  73. package/dist/components/Pages/IndexPage.mjs +1 -1
  74. package/dist/components/Pages/IndexPage.stories.mjs +1 -1
  75. package/dist/components/Pages/Intranet.mjs +1 -1
  76. package/dist/components/Pages/Intranet.stories.mjs +1 -1
  77. package/dist/components/Pages/LandingPage.mjs +1 -1
  78. package/dist/components/Pages/LandingPage.stories.mjs +1 -1
  79. package/dist/components/Pages/Page.js +1 -1
  80. package/dist/components/Pages/Page.mjs +1 -1
  81. package/dist/components/Pages/Page.stories.js +1 -1
  82. package/dist/components/Pages/Page.stories.mjs +1 -1
  83. package/dist/components/Pages/Website.js +1 -1
  84. package/dist/components/Pages/Website.mjs +1 -1
  85. package/dist/components/Pages/Website.stories.js +71 -71
  86. package/dist/components/Pages/Website.stories.mjs +1 -1
  87. package/dist/components/Payload/RichText/index.mjs +1 -1
  88. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  89. package/dist/components/Payload/index.mjs +1 -1
  90. package/dist/components/index.js +12 -4
  91. package/dist/components/index.mjs +1 -1
  92. package/dist/components/ui/index.mjs +1 -1
  93. package/dist/components/ui/sidebar.mjs +1 -1
  94. package/dist/globals.css +1 -1
  95. package/dist/index.js +12 -4
  96. package/dist/index.mjs +1 -1
  97. package/dist/metafile-cjs.json +1 -1
  98. package/dist/metafile-esm.json +1 -1
  99. package/dist/sections/AboutSection.js +1 -1
  100. package/dist/sections/AboutSection.mjs +1 -1
  101. package/dist/sections/AboutSection.stories.js +1 -1
  102. package/dist/sections/AboutSection.stories.mjs +1 -1
  103. package/dist/sections/BlogListSection.js +1 -1
  104. package/dist/sections/BlogListSection.mjs +1 -1
  105. package/dist/sections/BlogListSection.stories.js +1 -1
  106. package/dist/sections/BlogListSection.stories.mjs +1 -1
  107. package/dist/sections/ContactSection.js +1 -1
  108. package/dist/sections/ContactSection.mjs +1 -1
  109. package/dist/sections/ContactSection.stories.js +1 -1
  110. package/dist/sections/ContactSection.stories.mjs +1 -1
  111. package/dist/sections/PricingSection.js +1 -1
  112. package/dist/sections/PricingSection.mjs +1 -1
  113. package/dist/sections/PricingSection.stories.js +1 -1
  114. package/dist/sections/PricingSection.stories.mjs +1 -1
  115. package/dist/sections/ServiceSection.mjs +1 -1
  116. package/dist/sections/ServiceSection.stories.mjs +1 -1
  117. package/dist/sections/index.js +1 -1
  118. package/dist/sections/index.mjs +1 -1
  119. package/dist/utils/formatDateTime.d.ts +1 -0
  120. package/dist/utils/formatDateTime.js +1 -1
  121. package/dist/utils/formatDateTime.mjs +1 -1
  122. package/package.json +1 -1
  123. package/dist/chunk-5DHGE4OD.mjs +0 -1
  124. package/dist/chunk-5FFTSAM2.mjs +0 -1
  125. package/dist/chunk-E3FZ6GTZ.mjs +0 -1
  126. package/dist/chunk-VYJK4R76.mjs +0 -1
  127. package/dist/chunk-W4BDQBY4.mjs +0 -1
  128. package/dist/chunk-Y56OULXT.mjs +0 -1
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var yt=Object.create;var Z=Object.defineProperty;var xt=Object.getOwnPropertyDescriptor;var At=Object.getOwnPropertyNames;var wt=Object.getPrototypeOf,vt=Object.prototype.hasOwnProperty;var Ct=(e,t)=>{for(var r in t)Z(e,r,{get:t[r],enumerable:!0})},Ee=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of At(t))!vt.call(e,n)&&n!==r&&Z(e,n,{get:()=>t[n],enumerable:!(s=xt(t,n))||s.enumerable});return e};var H=(e,t,r)=>(r=e!=null?yt(wt(e)):{},Ee(t||!e||!e.__esModule?Z(r,"default",{value:e,enumerable:!0}):r,e)),kt=e=>Ee(Z({},"__esModule",{value:!0}),e);var dr={};Ct(dr,{ContactSection:()=>pr});module.exports=kt(dr);var ht=H(require("next/image"));var Fe="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var je=require("clsx");var ye="-",Nt=e=>{let t=St(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{let a=i.split(ye);return a[0]===""&&a.length!==1&&a.shift(),Ue(a,t)||Bt(i)},getConflictingClassGroupIds:(i,a)=>{let d=r[i]||[];return a&&s[i]?[...d,...s[i]]:d}}},Ue=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],s=t.nextPart.get(r),n=s?Ue(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(ye);return(i=t.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},ze=/^\[(.+)\]$/,Bt=e=>{if(ze.test(e)){let t=ze.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},St=e=>{let{theme:t,prefix:r}=e,s={nextPart:new Map,validators:[]};return It(Object.entries(e.classGroups),r).forEach(([o,i])=>{he(i,s,o,t)}),s},he=(e,t,r,s)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Le(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Pt(n)){he(n(s),t,r,s);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{he(i,Le(t,o),r,s)})})},Le=(e,t)=>{let r=e;return t.split(ye).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},Pt=e=>e.isThemeGetter,It=(e,t)=>t?e.map(([r,s])=>{let n=s.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>[t+i,a])):o);return[r,n]}):e,Rt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,s=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=s.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},Ge="!",Tt=e=>{let{separator:t,experimentalParseClassName:r}=e,s=t.length===1,n=t[0],o=t.length,i=a=>{let d=[],f=0,b=0,v;for(let y=0;y<a.length;y++){let w=a[y];if(f===0){if(w===n&&(s||a.slice(y,y+o)===t)){d.push(a.slice(b,y)),b=y+o;continue}if(w==="/"){v=y;continue}}w==="["?f++:w==="]"&&f--}let A=d.length===0?a:a.substring(b),k=A.startsWith(Ge),N=k?A.substring(1):A,h=v&&v>b?v-b:void 0;return{modifiers:d,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:h}};return r?a=>r({className:a,parseClassName:i}):i},Mt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(s=>{s[0]==="["?(t.push(...r.sort(),s),r=[]):r.push(s)}),t.push(...r.sort()),t},Et=e=>({cache:Rt(e.cacheSize),parseClassName:Tt(e),...Nt(e)}),Ft=/\s+/,zt=(e,t)=>{let{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(Ft),a="";for(let d=i.length-1;d>=0;d-=1){let f=i[d],{modifiers:b,hasImportantModifier:v,baseClassName:A,maybePostfixModifierPosition:k}=r(f),N=!!k,h=s(N?A.substring(0,k):A);if(!h){if(!N){a=f+(a.length>0?" "+a:a);continue}if(h=s(A),!h){a=f+(a.length>0?" "+a:a);continue}N=!1}let y=Mt(b).join(":"),w=v?y+Ge:y,C=w+h;if(o.includes(C))continue;o.push(C);let E=n(h,N);for(let F=0;F<E.length;++F){let _=E[F];o.push(w+_)}a=f+(a.length>0?" "+a:a)}return a};function Lt(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=He(t))&&(s&&(s+=" "),s+=r);return s}var He=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=He(e[s]))&&(r&&(r+=" "),r+=t);return r};function Ut(e,...t){let r,s,n,o=i;function i(d){let f=t.reduce((b,v)=>v(b),e());return r=Et(f),s=r.cache.get,n=r.cache.set,o=a,a(d)}function a(d){let f=s(d);if(f)return f;let b=zt(d,r);return n(d,b),b}return function(){return o(Lt.apply(null,arguments))}}var u=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},De=/^\[(?:([a-z-]+):)?(.+)\]$/i,Gt=/^\d+\/\d+$/,Ht=new Set(["px","full","screen"]),Dt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Kt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|Qe|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Yt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ot=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>D(e)||Ht.has(e)||Gt.test(e),R=e=>K(e,"length",Zt),D=e=>!!e&&!Number.isNaN(Number(e)),be=e=>K(e,"number",D),V=e=>!!e&&Number.isInteger(Number(e)),Qt=e=>e.endsWith("%")&&D(e.slice(0,-1)),l=e=>De.test(e),T=e=>Dt.test(e),Vt=new Set(["length","size","percentage"]),Jt=e=>K(e,Vt,Ke),qt=e=>K(e,"position",Ke),_t=new Set(["image","url"]),Wt=e=>K(e,_t,er),Xt=e=>K(e,"",$t),J=()=>!0,K=(e,t,r)=>{let s=De.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):r(s[2]):!1},Zt=e=>Kt.test(e)&&!Yt.test(e),Ke=()=>!1,$t=e=>jt.test(e),er=e=>Ot.test(e);var tr=()=>{let e=u("colors"),t=u("spacing"),r=u("blur"),s=u("brightness"),n=u("borderColor"),o=u("borderRadius"),i=u("borderSpacing"),a=u("borderWidth"),d=u("contrast"),f=u("grayscale"),b=u("hueRotate"),v=u("invert"),A=u("gap"),k=u("gradientColorStops"),N=u("gradientColorStopPositions"),h=u("inset"),y=u("margin"),w=u("opacity"),C=u("padding"),E=u("saturate"),F=u("scale"),_=u("sepia"),Be=u("skew"),Se=u("space"),Pe=u("translate"),me=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto",l,t],g=()=>[l,t],Ie=()=>["",P,R],W=()=>["auto",D,l],Re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],Te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fe=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",l],Me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[D,l];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[P,R],blur:["none","",T,l],brightness:S(),borderColor:[e],borderRadius:["none","","full",T,l],borderSpacing:g(),borderWidth:Ie(),contrast:S(),grayscale:Q(),hueRotate:S(),invert:Q(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[Qt,R],inset:ge(),margin:ge(),opacity:S(),padding:g(),saturate:S(),scale:S(),sepia:Q(),skew:S(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":Me()}],"break-before":[{"break-before":Me()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Re(),l]}],overflow:[{overflow:ue()}],"overflow-Qe":[{"overflow-Qe":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:me()}],"overscroll-Qe":[{"overscroll-Qe":me()}],"overscroll-y":[{"overscroll-y":me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-Qe":[{"inset-Qe":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,l]}],basis:[{basis:ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",V,l]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",V,l]},l]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[V,l]},l]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[A]}],"gap-Qe":[{"gap-Qe":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...fe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...fe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...fe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Qe:[{Qe:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],Qe:[{Qe:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],Qe:[{Qe:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-Qe":[{"space-Qe":[Se]}],"space-Qe-reverse":["space-Qe-reverse"],"space-y":[{"space-y":[Se]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[T]},T]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",T,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",be]}],"font-family":[{font:[J]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",D,be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,R]}],"underline-offset":[{"underline-offset":["auto",P,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Re(),qt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Qe","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Jt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Wt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-Qe":[{"rounded-Qe":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-Qe":[{"border-Qe":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...X(),"hidden"]}],"divide-Qe":[{"divide-Qe":[a]}],"divide-Qe-reverse":["divide-Qe-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:X()}],"border-color":[{border:[n]}],"border-color-Qe":[{"border-Qe":[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:["",...X()]}],"outline-offset":[{"outline-offset":[P,l]}],"outline-w":[{outline:[P,R]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[P,R]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",T,Xt]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Te()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",T,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[v]}],saturate:[{saturate:[E]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Qe":[{"border-spacing-Qe":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-Qe":[{"scale-Qe":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[V,l]}],"translate-Qe":[{"translate-Qe":[Pe]}],"translate-y":[{"translate-y":[Pe]}],"skew-Qe":[{"skew-Qe":[Be]}],"skew-y":[{"skew-y":[Be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","Qe-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Qe",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Qe":[{"scroll-Qe":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-Qe":[{"scroll-Qe":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-Qe":[{"scroll-Qe":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Qe","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Qe":[{"touch-pan":["Qe","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,R,be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Qe","overflow-y"],overscroll:["overscroll-Qe","overscroll-y"],inset:["inset-Qe","inset-y","start","end","top","right","bottom","left"],"inset-Qe":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Qe","gap-y"],Qe:["px","py","ps","pe","Qe","pr","pb","pl"],px:["pr","pl"],py:["Qe","pb"],Qe:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-Qe","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Qe","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Qe","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-Qe":["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-Qe":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Qe":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Qe":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-Qe","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Qe","scroll-pb"],touch:["touch-Qe","touch-y","touch-pz"],"touch-Qe":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ye=Ut(tr);function c(...e){return Ye((0,je.clsx)(e))}var Qe=require("react/jsx-runtime");function Oe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:s=""}){let n=c("container",t&&"full-width",r&&"no-padding",s);return(0,Qe.jsx)("div",{className:n,children:e})}var Ve=({className:e,content:t,style:r})=>(0,$.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,$.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,$.jsx)(Y,{content:t,enableGutter:!1,enableProse:!1})})});var Je=require("@radix-ui/react-slot"),qe=require("class-variance-authority"),_e=H(require("react")),rr=(0,qe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),z=_e.forwardRef(({asChild:e=!1,className:t,size:r,variant:s,...n},o)=>(0,Qe.jsx)(e?Je.Slot:"button",{className:c(rr({className:t,size:r,variant:s})),ref:o,...n}));z.displayName="Button";var xe=H(require("next/link")),ee=e=>{let{type:t,appearance:r="inline",children:s,className:n,label:o,newTab:i,reference:a,size:d,url:f}=e,b=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:f;if(!b)return null;let v=r==="link"?"clear":d,A=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Qe.jsxs)(xe.default,{className:c(n),href:b||f||"",...A,children:[o&&o,s&&s]}):(0,Qe.jsx)(z,{asChild:!0,className:n,size:v,variant:r,children:(0,Qe.jsxs)(xe.default,{className:c(n),href:b||f||"",...A,children:[o&&o,s&&s]})})};var Xe=({links:e,richText:t})=>(0,Qe.jsx)("div",{className:"container",children:(0,Qe.jsxs)("div",{className:"bg-card rounded border-border border Qe-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Qe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Qe.jsx)(Y,{className:"mb-0",content:t,enableGutter:!1})}),(0,Qe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},s)=>(0,Qe.jsx)(ee,{size:"lg",...r},s))})]})});var te=require("prism-react-renderer");var Ze=require("lucide-react"),$e=require("react");function et({code:e}){let[t,r]=(0,$e.useState)("Copy");function s(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Qe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Qe.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),s()},children:[(0,Qe.jsx)("Qe",{children:t}),(0,Qe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Qe.jsx)(Ze.ClipboardCopy,{})})]})})}var tt=({code:e,language:t=""})=>e?(0,Qe.jsx)(te.Highlight,{code:e,language:t,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:s,tokens:n})=>(0,Qe.jsxs)("pre",{className:"bg-black Qe-4 border text-xs border-border rounded overflow-Qe-auto",children:[n.map((o,i)=>(0,Qe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Qe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Qe.jsx)("span",{className:"table-cell pl-4",children:o.map((a,d)=>(0,Qe.jsx)("span",{...s({token:a})},d))})]},i)),(0,Qe.jsx)(et,{code:e})]})}):null;var rt=({className:e,code:t,language:r})=>(0,Qe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Qe.jsx)(tt,{code:t,language:r})});var st=H(require("next/image"));var ot=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var re=()=>{if(ot){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var or={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},sr="data:image/png;base64,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",nt=e=>{let{alt:t,fill:r,imgClassName:s,priority:n,resource:o,size:i,src:a,loading:d}=e,f,b,v=t,A=a||"";if(!A&&o&&typeof o=="object"){let{alt:h,filename:y,height:w,url:C,width:E}=o;f=E,b=w,v=h||"",A=`${re()}${C}`}let k=d||"lazy",N=i||Object.entries(or).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Qe.jsx)("picture",{children:(0,Qe.jsx)(st.default,{alt:v||"",className:c(s),fill:r,height:r?void 0:b,placeholder:"blur",blurDataURL:sr,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:N,src:A,width:r?void 0:f})})};var at=e=>{let{onClick:t,resource:r,videoClassName:s}=e,n=(0,$e.useRef)(null);if((0,$e.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Qe.jsx)("video",{autoPlay:!0,className:c(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Qe.jsx)("source",{src:`${re()}/media/${o}`})})}return null};var lt=e=>{var i;let{className:t,htmlElement:r="div",resource:s}=e,n=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,Qe.jsx)(r||$e.Fragment,{...r!==null?{className:t}:{},children:n?(0,Qe.jsx)(at,{...e}):(0,Qe.jsx)(nt,{...e})})};var ct=e=>{let{className:t,enableGutter:r=!0,imgClassName:s,media:n,staticImage:o}=e;return(0,Qe.jsx)("div",{className:c("",{container:r},t),children:(0,Qe.jsx)(lt,{imgClassName:c("border border-border rounded-[0.8rem]",s),resource:n,src:o})})};var ne=H(require("react"));function ke({nodes:e}){return(0,Qe.jsx)(ne.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Qe.jsx)(ne.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Qe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Qe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Qe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Qe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Qe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Qe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Qe.jsx)("sup",{children:o},r)),o}let s=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ke({nodes:o.children})},n="children"in t?s(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Qe.jsx)(Xe,{...o},r);case"mediaBlock":return(0,Qe.jsx)(ct,{className:"col-start-1 col-span-3",imgClassName:"Qe-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Qe.jsx)(Ve,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Qe.jsx)(rt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Qe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Qe.jsx)("Qe",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Qe.jsx)(o,{className:"col-start-2",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Qe.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Qe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,Qe.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Qe.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Qe.jsx)(ee,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var Y=({className:e,content:t,enableGutter:r=!0,enableProse:s=!0})=>{var n;return t?(0,Qe.jsx)("div",{className:c({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":s},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ke({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function dt({subtitle:e,title:t,description:r,alignment:s="start",hasBottomSpacing:n=!1,className:o}){let i=c(s==="start"&&"text-left",s==="center"&&"text-center",s==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},o);return(0,Qe.jsxs)("div",{className:i,children:[e&&(0,Qe.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,Qe.jsx)("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-accent-900 dark:text-white md:text-2xl",children:t}),typeof r=="string"?r&&(0,Qe.jsx)("Qe",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,Qe.jsx)(Y,{content:r,enableGutter:!1})]})}function ae({className:e}){return c("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function nr({className:e,...t}){return(0,Qe.jsx)("input",{...t,className:ae({className:e})})}function ie({icon:e,...t}){return(0,Qe.jsxs)("div",{className:"relative w-full",children:[(0,Qe.jsx)(nr,{...t}),e&&(0,Qe.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-primary",children:e})]})}function ar({className:e,...t}){return(0,Qe.jsx)("textarea",{...t,className:c(ae({}),"resize-none md:min-h-[130px]",e)})}function mt({icon:e,...t}){return(0,Qe.jsxs)("div",{className:"relative w-full",children:[(0,Qe.jsx)(ar,{...t}),e&&(0,Qe.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var gt=require("formik"),ft=require("react-icons/fa6"),G=H(require("yup"));async function ut(e){let{name:t,email:r,subject:s,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)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:`${r}`,wrap:!0},{type:"TextBlock",text:`${s}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};console.log(JSON.stringify(i));try{let a=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!a.ok)throw console.error(a),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(a){return console.error(a),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ne=require("sonner"),B={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},ir=G.object().shape({name:G.string().min(2,B.tooShort).max(50,B.tooLong).required(B.required),email:G.string().email(B.email).required(B.required),subject:G.string().min(2,B.tooShort).max(50,B.tooLong).required(B.required),message:G.string().min(2,B.tooShort).max(300,B.tooLong).required(B.required)}),le=c("!pr-[44px]"),ce=c("!border-red-600 border"),pe=c("sr-only");function bt(){return(0,Qe.jsx)(gt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:ir,onSubmit:async(e,{resetForm:t})=>{let r=await ut(e);r.data===null?Ne.toast.error(r.message):(Ne.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:s,handleBlur:n,isSubmitting:o,handleSubmit:i})=>(0,Qe.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 Qe-2 lg:grid-cols-2",children:[(0,Qe.jsxs)("div",{children:[(0,Qe.jsx)(ie,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:s,onBlur:n,disabled:o,icon:(0,Qe.jsx)(ft.FaUser,{}),className:c(le,e.name&&t.name&&ce)}),e.name&&t.name&&(0,Qe.jsx)("Qe",{title:e.name,"aria-live":"polite",role:"error message",className:pe,children:e.name})]}),(0,Qe.jsxs)("div",{children:[(0,Qe.jsx)(ie,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:s,onBlur:n,disabled:o,icon:(0,Qe.jsx)(lr,{}),className:c(le,e.email&&t.email&&ce)}),e.email&&t.email&&(0,Qe.jsx)("Qe",{title:e.email,"aria-live":"polite",role:"error message",className:pe,children:e.email})]}),(0,Qe.jsxs)("div",{className:"lg:col-span-2",children:[(0,Qe.jsx)(ie,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:s,onBlur:n,disabled:o,className:c(le,e.subject&&t.subject&&ce)}),e.subject&&t.subject&&(0,Qe.jsx)("Qe",{title:e.subject,"aria-live":"polite",role:"error message",className:pe,children:e.subject})]}),(0,Qe.jsxs)("div",{className:"lg:col-span-2",children:[(0,Qe.jsx)(mt,{placeholder:"Write Message...",name:"message",value:r.message,onChange:s,onBlur:n,disabled:o,icon:(0,Qe.jsx)(cr,{}),className:c(le,e.message&&t.message&&ce)}),e.message&&t.message&&(0,Qe.jsx)("Qe",{title:e.message,"aria-live":"polite",role:"error message",className:pe,children:e.message})]}),(0,Qe.jsx)("div",{className:"lg:col-span-2",children:(0,Qe.jsx)(z,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:o,children:(0,Qe.jsx)("span",{children:"SEND"})})})]})})}function lr(){return(0,Qe.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Qe.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function cr(){return(0,Qe.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Qe.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function pr(e){let{sectionHeading:t,image:r}=e;return(0,Qe.jsxs)(Qe.Fragment,{children:[(0,Qe.jsx)("section",{className:"section-padding-primary",children:(0,Qe.jsx)("div",{className:"",children:(0,Qe.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Qe.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Qe.jsxs)("div",{className:"grid grid-cols-1 gap-10 Qe-16 lg:grid-cols-3",children:[(0,Qe.jsxs)("div",{children:[(0,Qe.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Qe.jsx)("Qe",{className:"mt-4 text-base/7 text-foreground",children:"Qe have multiple locations across the UK where Qe are based. These are our key locations."})]}),(0,Qe.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((s,n)=>{var o;return(0,Qe.jsxs)("div",{className:"rounded-2xl Qe-10 border",children:[(0,Qe.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:s.title}),(0,Qe.jsxs)("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=s.location.split(","))==null?void 0:o.map((i,a)=>(0,Qe.jsx)("Qe",{children:i},a))," ",s.mails&&(0,Qe.jsxs)("Qe",{className:"flex items-center space-Qe-2",children:[(0,Qe.jsx)(ft.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Qe.jsx)("span",{children:s.mails[0]})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&(0,Qe.jsxs)("Qe",{className:"flex items-center space-Qe-2",children:[(0,Qe.jsx)(ft.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),s.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,Qe.jsx)("section",{className:"section-padding-primary",children:(0,Qe.jsxs)("div",{className:"relative py-[60px]",children:[(0,Qe.jsx)("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Qe.jsx)(ht.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Fe})}),(0,Qe.jsx)(Oe,{children:(0,Qe.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Qe.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white Qe-10 shadow-1 dark:bg-accent-700 lg:Qe-[60px]",children:[(0,Qe.jsx)("div",{className:"mb-30px",children:(0,Qe.jsx)(dt,{...t})}),(0,Qe.jsx)(bt,{})]})})})]})})]})}0&&(module.exports={ContactSection});
5
+ "use strict";var yt=Object.create;var Z=Object.defineProperty;var xt=Object.getOwnPropertyDescriptor;var At=Object.getOwnPropertyNames;var wt=Object.getPrototypeOf,vt=Object.prototype.hasOwnProperty;var Ct=(e,t)=>{for(var r in t)Z(e,r,{get:t[r],enumerable:!0})},Ee=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of At(t))!vt.call(e,n)&&n!==r&&Z(e,n,{get:()=>t[n],enumerable:!(s=xt(t,n))||s.enumerable});return e};var H=(e,t,r)=>(r=e!=null?yt(wt(e)):{},Ee(t||!e||!e.__esModule?Z(r,"default",{value:e,enumerable:!0}):r,e)),kt=e=>Ee(Z({},"__esModule",{value:!0}),e);var dr={};Ct(dr,{ContactSection:()=>pr});module.exports=kt(dr);var ht=H(require("next/image"));var Fe="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var je=require("clsx");var ye="-",Nt=e=>{let t=St(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{let a=i.split(ye);return a[0]===""&&a.length!==1&&a.shift(),Ue(a,t)||Bt(i)},getConflictingClassGroupIds:(i,a)=>{let d=r[i]||[];return a&&s[i]?[...d,...s[i]]:d}}},Ue=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],s=t.nextPart.get(r),n=s?Ue(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(ye);return(i=t.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},ze=/^\[(.+)\]$/,Bt=e=>{if(ze.test(e)){let t=ze.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},St=e=>{let{theme:t,prefix:r}=e,s={nextPart:new Map,validators:[]};return It(Object.entries(e.classGroups),r).forEach(([o,i])=>{he(i,s,o,t)}),s},he=(e,t,r,s)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Le(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Pt(n)){he(n(s),t,r,s);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{he(i,Le(t,o),r,s)})})},Le=(e,t)=>{let r=e;return t.split(ye).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},Pt=e=>e.isThemeGetter,It=(e,t)=>t?e.map(([r,s])=>{let n=s.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>[t+i,a])):o);return[r,n]}):e,Rt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,s=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=s.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},Ge="!",Tt=e=>{let{separator:t,experimentalParseClassName:r}=e,s=t.length===1,n=t[0],o=t.length,i=a=>{let d=[],f=0,b=0,v;for(let y=0;y<a.length;y++){let w=a[y];if(f===0){if(w===n&&(s||a.slice(y,y+o)===t)){d.push(a.slice(b,y)),b=y+o;continue}if(w==="/"){v=y;continue}}w==="["?f++:w==="]"&&f--}let A=d.length===0?a:a.substring(b),k=A.startsWith(Ge),N=k?A.substring(1):A,h=v&&v>b?v-b:void 0;return{modifiers:d,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:h}};return r?a=>r({className:a,parseClassName:i}):i},Mt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(s=>{s[0]==="["?(t.push(...r.sort(),s),r=[]):r.push(s)}),t.push(...r.sort()),t},Et=e=>({cache:Rt(e.cacheSize),parseClassName:Tt(e),...Nt(e)}),Ft=/\s+/,zt=(e,t)=>{let{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(Ft),a="";for(let d=i.length-1;d>=0;d-=1){let f=i[d],{modifiers:b,hasImportantModifier:v,baseClassName:A,maybePostfixModifierPosition:k}=r(f),N=!!k,h=s(N?A.substring(0,k):A);if(!h){if(!N){a=f+(a.length>0?" "+a:a);continue}if(h=s(A),!h){a=f+(a.length>0?" "+a:a);continue}N=!1}let y=Mt(b).join(":"),w=v?y+Ge:y,C=w+h;if(o.includes(C))continue;o.push(C);let E=n(h,N);for(let F=0;F<E.length;++F){let _=E[F];o.push(w+_)}a=f+(a.length>0?" "+a:a)}return a};function Lt(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=He(t))&&(s&&(s+=" "),s+=r);return s}var He=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=He(e[s]))&&(r&&(r+=" "),r+=t);return r};function Ut(e,...t){let r,s,n,o=i;function i(d){let f=t.reduce((b,v)=>v(b),e());return r=Et(f),s=r.cache.get,n=r.cache.set,o=a,a(d)}function a(d){let f=s(d);if(f)return f;let b=zt(d,r);return n(d,b),b}return function(){return o(Lt.apply(null,arguments))}}var u=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},De=/^\[(?:([a-z-]+):)?(.+)\]$/i,Gt=/^\d+\/\d+$/,Ht=new Set(["px","full","screen"]),Dt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Kt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|Qe|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Yt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ot=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>D(e)||Ht.has(e)||Gt.test(e),R=e=>K(e,"length",Zt),D=e=>!!e&&!Number.isNaN(Number(e)),be=e=>K(e,"number",D),V=e=>!!e&&Number.isInteger(Number(e)),Qt=e=>e.endsWith("%")&&D(e.slice(0,-1)),l=e=>De.test(e),T=e=>Dt.test(e),Vt=new Set(["length","size","percentage"]),Jt=e=>K(e,Vt,Ke),qt=e=>K(e,"position",Ke),_t=new Set(["image","url"]),Wt=e=>K(e,_t,er),Xt=e=>K(e,"",$t),J=()=>!0,K=(e,t,r)=>{let s=De.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):r(s[2]):!1},Zt=e=>Kt.test(e)&&!Yt.test(e),Ke=()=>!1,$t=e=>jt.test(e),er=e=>Ot.test(e);var tr=()=>{let e=u("colors"),t=u("spacing"),r=u("blur"),s=u("brightness"),n=u("borderColor"),o=u("borderRadius"),i=u("borderSpacing"),a=u("borderWidth"),d=u("contrast"),f=u("grayscale"),b=u("hueRotate"),v=u("invert"),A=u("gap"),k=u("gradientColorStops"),N=u("gradientColorStopPositions"),h=u("inset"),y=u("margin"),w=u("opacity"),C=u("padding"),E=u("saturate"),F=u("scale"),_=u("sepia"),Be=u("skew"),Se=u("space"),Pe=u("translate"),me=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto",l,t],g=()=>[l,t],Ie=()=>["",P,R],W=()=>["auto",D,l],Re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],Te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fe=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",l],Me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[D,l];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[P,R],blur:["none","",T,l],brightness:S(),borderColor:[e],borderRadius:["none","","full",T,l],borderSpacing:g(),borderWidth:Ie(),contrast:S(),grayscale:Q(),hueRotate:S(),invert:Q(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[Qt,R],inset:ge(),margin:ge(),opacity:S(),padding:g(),saturate:S(),scale:S(),sepia:Q(),skew:S(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":Me()}],"break-before":[{"break-before":Me()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Re(),l]}],overflow:[{overflow:ue()}],"overflow-Qe":[{"overflow-Qe":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:me()}],"overscroll-Qe":[{"overscroll-Qe":me()}],"overscroll-y":[{"overscroll-y":me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-Qe":[{"inset-Qe":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,l]}],basis:[{basis:ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",V,l]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",V,l]},l]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[V,l]},l]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[A]}],"gap-Qe":[{"gap-Qe":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...fe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...fe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...fe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Qe:[{Qe:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],Qe:[{Qe:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],Qe:[{Qe:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-Qe":[{"space-Qe":[Se]}],"space-Qe-reverse":["space-Qe-reverse"],"space-y":[{"space-y":[Se]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[T]},T]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",T,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",be]}],"font-family":[{font:[J]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",D,be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,R]}],"underline-offset":[{"underline-offset":["auto",P,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Re(),qt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Qe","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Jt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Wt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-Qe":[{"rounded-Qe":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-Qe":[{"border-Qe":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...X(),"hidden"]}],"divide-Qe":[{"divide-Qe":[a]}],"divide-Qe-reverse":["divide-Qe-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:X()}],"border-color":[{border:[n]}],"border-color-Qe":[{"border-Qe":[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:["",...X()]}],"outline-offset":[{"outline-offset":[P,l]}],"outline-w":[{outline:[P,R]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[P,R]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",T,Xt]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Te()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",T,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[v]}],saturate:[{saturate:[E]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Qe":[{"border-spacing-Qe":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-Qe":[{"scale-Qe":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[V,l]}],"translate-Qe":[{"translate-Qe":[Pe]}],"translate-y":[{"translate-y":[Pe]}],"skew-Qe":[{"skew-Qe":[Be]}],"skew-y":[{"skew-y":[Be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","Qe-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Qe",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Qe":[{"scroll-Qe":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-Qe":[{"scroll-Qe":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-Qe":[{"scroll-Qe":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Qe","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Qe":[{"touch-pan":["Qe","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,R,be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Qe","overflow-y"],overscroll:["overscroll-Qe","overscroll-y"],inset:["inset-Qe","inset-y","start","end","top","right","bottom","left"],"inset-Qe":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Qe","gap-y"],Qe:["px","py","ps","pe","Qe","pr","pb","pl"],px:["pr","pl"],py:["Qe","pb"],Qe:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-Qe","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Qe","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Qe","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-Qe":["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-Qe":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Qe":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Qe":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-Qe","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Qe","scroll-pb"],touch:["touch-Qe","touch-y","touch-pz"],"touch-Qe":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ye=Ut(tr);function c(...e){return Ye((0,je.clsx)(e))}var Qe=require("react/jsx-runtime");function Oe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:s=""}){let n=c("container",t&&"full-width",r&&"no-padding",s);return(0,Qe.jsx)("div",{className:n,children:e})}var Ve=({className:e,content:t,style:r})=>(0,$.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,$.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,$.jsx)(Y,{content:t,enableGutter:!1,enableProse:!1})})});var Je=require("@radix-ui/react-slot"),qe=require("class-variance-authority"),_e=H(require("react")),rr=(0,qe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),z=_e.forwardRef(({asChild:e=!1,className:t,size:r,variant:s,...n},o)=>(0,Qe.jsx)(e?Je.Slot:"button",{className:c(rr({className:t,size:r,variant:s})),ref:o,...n}));z.displayName="Button";var xe=H(require("next/link")),ee=e=>{let{type:t,appearance:r="inline",children:s,className:n,label:o,newTab:i,reference:a,size:d,url:f}=e,b=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:f;if(!b)return null;let v=r==="link"?"clear":d,A=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Qe.jsxs)(xe.default,{className:c(n),href:b||f||"",...A,children:[o&&o,s&&s]}):(0,Qe.jsx)(z,{asChild:!0,className:n,size:v,variant:r,children:(0,Qe.jsxs)(xe.default,{className:c(n),href:b||f||"",...A,children:[o&&o,s&&s]})})};var Xe=({links:e,richText:t})=>(0,Qe.jsx)("div",{className:"container",children:(0,Qe.jsxs)("div",{className:"bg-card rounded border-border border Qe-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Qe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Qe.jsx)(Y,{className:"mb-0",content:t,enableGutter:!1})}),(0,Qe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},s)=>(0,Qe.jsx)(ee,{size:"lg",...r},s))})]})});var te=require("prism-react-renderer");var Ze=require("lucide-react"),$e=require("react");function et({code:e}){let[t,r]=(0,$e.useState)("Copy");function s(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Qe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Qe.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),s()},children:[(0,Qe.jsx)("Qe",{children:t}),(0,Qe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Qe.jsx)(Ze.ClipboardCopy,{})})]})})}var tt=({code:e,language:t=""})=>e?(0,Qe.jsx)(te.Highlight,{code:e,language:t,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:s,tokens:n})=>(0,Qe.jsxs)("pre",{className:"bg-black Qe-4 border text-xs border-border rounded overflow-Qe-auto",children:[n.map((o,i)=>(0,Qe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Qe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Qe.jsx)("span",{className:"table-cell pl-4",children:o.map((a,d)=>(0,Qe.jsx)("span",{...s({token:a})},d))})]},i)),(0,Qe.jsx)(et,{code:e})]})}):null;var rt=({className:e,code:t,language:r})=>(0,Qe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Qe.jsx)(tt,{code:t,language:r})});var st=H(require("next/image"));var ot=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var re=()=>{if(ot){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var or={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},sr="data:image/png;base64,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",nt=e=>{let{alt:t,fill:r,imgClassName:s,priority:n,resource:o,size:i,src:a,loading:d}=e,f,b,v=t,A=a||"";if(!A&&o&&typeof o=="object"){let{alt:h,filename:y,height:w,url:C,width:E}=o;f=E,b=w,v=h||"",A=`${re()}${C}`}let k=d||"lazy",N=i||Object.entries(or).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Qe.jsx)("picture",{children:(0,Qe.jsx)(st.default,{alt:v||"",className:c(s),fill:r,height:r?void 0:b,placeholder:"blur",blurDataURL:sr,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:N,src:A,width:r?void 0:f})})};var at=e=>{let{onClick:t,resource:r,videoClassName:s}=e,n=(0,$e.useRef)(null);if((0,$e.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Qe.jsx)("video",{autoPlay:!0,className:c(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Qe.jsx)("source",{src:`${re()}/media/${o}`})})}return null};var lt=e=>{var i;let{className:t,htmlElement:r="div",resource:s}=e,n=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,Qe.jsx)(r||$e.Fragment,{...r!==null?{className:t}:{},children:n?(0,Qe.jsx)(at,{...e}):(0,Qe.jsx)(nt,{...e})})};var ct=e=>{let{className:t,enableGutter:r=!0,imgClassName:s,media:n,staticImage:o}=e;return(0,Qe.jsx)("div",{className:c("",{container:r},t),children:(0,Qe.jsx)(lt,{imgClassName:c("border border-border rounded-[0.8rem]",s),resource:n,src:o})})};var ne=H(require("react"));function ke({nodes:e}){return(0,Qe.jsx)(ne.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Qe.jsx)(ne.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Qe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Qe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Qe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Qe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Qe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Qe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Qe.jsx)("sup",{children:o},r)),o}let s=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ke({nodes:o.children})},n="children"in t?s(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Qe.jsx)(Xe,{...o},r);case"mediaBlock":return(0,Qe.jsx)(ct,{className:"col-start-1 col-span-3",imgClassName:"Qe-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Qe.jsx)(Ve,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Qe.jsx)(rt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Qe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Qe.jsx)("Qe",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Qe.jsx)(o,{className:"col-start-2",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Qe.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Qe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,Qe.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Qe.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Qe.jsx)(ee,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var Y=({className:e,content:t,enableGutter:r=!0,enableProse:s=!0})=>{var n;return t?(0,Qe.jsx)("div",{className:c({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":s},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ke({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function dt({subtitle:e,title:t,description:r,alignment:s="start",hasBottomSpacing:n=!1,className:o}){let i=c(s==="start"&&"text-left",s==="center"&&"text-center",s==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},o);return(0,Qe.jsxs)("div",{className:i,children:[e&&(0,Qe.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,Qe.jsx)("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",children:t}),typeof r=="string"?r&&(0,Qe.jsx)("Qe",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,Qe.jsx)(Y,{content:r,enableGutter:!1})]})}function ae({className:e}){return c("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function nr({className:e,...t}){return(0,Qe.jsx)("input",{...t,className:ae({className:e})})}function ie({icon:e,...t}){return(0,Qe.jsxs)("div",{className:"relative w-full",children:[(0,Qe.jsx)(nr,{...t}),e&&(0,Qe.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-primary",children:e})]})}function ar({className:e,...t}){return(0,Qe.jsx)("textarea",{...t,className:c(ae({}),"resize-none md:min-h-[130px]",e)})}function mt({icon:e,...t}){return(0,Qe.jsxs)("div",{className:"relative w-full",children:[(0,Qe.jsx)(ar,{...t}),e&&(0,Qe.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var gt=require("formik"),ft=require("react-icons/fa6"),G=H(require("yup"));async function ut(e){let{name:t,email:r,subject:s,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)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:`${r}`,wrap:!0},{type:"TextBlock",text:`${s}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};console.log(JSON.stringify(i));try{let a=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!a.ok)throw console.error(a),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(a){return console.error(a),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ne=require("sonner"),B={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},ir=G.object().shape({name:G.string().min(2,B.tooShort).max(50,B.tooLong).required(B.required),email:G.string().email(B.email).required(B.required),subject:G.string().min(2,B.tooShort).max(50,B.tooLong).required(B.required),message:G.string().min(2,B.tooShort).max(300,B.tooLong).required(B.required)}),le=c("!pr-[44px]"),ce=c("!border-red-600 border"),pe=c("sr-only");function bt(){return(0,Qe.jsx)(gt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:ir,onSubmit:async(e,{resetForm:t})=>{let r=await ut(e);r.data===null?Ne.toast.error(r.message):(Ne.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:s,handleBlur:n,isSubmitting:o,handleSubmit:i})=>(0,Qe.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 Qe-2 lg:grid-cols-2",children:[(0,Qe.jsxs)("div",{children:[(0,Qe.jsx)(ie,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:s,onBlur:n,disabled:o,icon:(0,Qe.jsx)(ft.FaUser,{}),className:c(le,e.name&&t.name&&ce)}),e.name&&t.name&&(0,Qe.jsx)("Qe",{title:e.name,"aria-live":"polite",role:"error message",className:pe,children:e.name})]}),(0,Qe.jsxs)("div",{children:[(0,Qe.jsx)(ie,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:s,onBlur:n,disabled:o,icon:(0,Qe.jsx)(lr,{}),className:c(le,e.email&&t.email&&ce)}),e.email&&t.email&&(0,Qe.jsx)("Qe",{title:e.email,"aria-live":"polite",role:"error message",className:pe,children:e.email})]}),(0,Qe.jsxs)("div",{className:"lg:col-span-2",children:[(0,Qe.jsx)(ie,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:s,onBlur:n,disabled:o,className:c(le,e.subject&&t.subject&&ce)}),e.subject&&t.subject&&(0,Qe.jsx)("Qe",{title:e.subject,"aria-live":"polite",role:"error message",className:pe,children:e.subject})]}),(0,Qe.jsxs)("div",{className:"lg:col-span-2",children:[(0,Qe.jsx)(mt,{placeholder:"Write Message...",name:"message",value:r.message,onChange:s,onBlur:n,disabled:o,icon:(0,Qe.jsx)(cr,{}),className:c(le,e.message&&t.message&&ce)}),e.message&&t.message&&(0,Qe.jsx)("Qe",{title:e.message,"aria-live":"polite",role:"error message",className:pe,children:e.message})]}),(0,Qe.jsx)("div",{className:"lg:col-span-2",children:(0,Qe.jsx)(z,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:o,children:(0,Qe.jsx)("span",{children:"SEND"})})})]})})}function lr(){return(0,Qe.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Qe.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function cr(){return(0,Qe.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Qe.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function pr(e){let{sectionHeading:t,image:r}=e;return(0,Qe.jsxs)(Qe.Fragment,{children:[(0,Qe.jsx)("section",{className:"section-padding-primary",children:(0,Qe.jsx)("div",{className:"",children:(0,Qe.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Qe.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Qe.jsxs)("div",{className:"grid grid-cols-1 gap-10 Qe-16 lg:grid-cols-3",children:[(0,Qe.jsxs)("div",{children:[(0,Qe.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Qe.jsx)("Qe",{className:"mt-4 text-base/7 text-foreground",children:"Qe have multiple locations across the UK where Qe are based. These are our key locations."})]}),(0,Qe.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((s,n)=>{var o;return(0,Qe.jsxs)("div",{className:"rounded-2xl Qe-10 border",children:[(0,Qe.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:s.title}),(0,Qe.jsxs)("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=s.location.split(","))==null?void 0:o.map((i,a)=>(0,Qe.jsx)("Qe",{children:i},a))," ",s.mails&&(0,Qe.jsxs)("Qe",{className:"flex items-center space-Qe-2",children:[(0,Qe.jsx)(ft.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Qe.jsx)("span",{children:s.mails[0]})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&(0,Qe.jsxs)("Qe",{className:"flex items-center space-Qe-2",children:[(0,Qe.jsx)(ft.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),s.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,Qe.jsx)("section",{className:"section-padding-primary",children:(0,Qe.jsxs)("div",{className:"relative py-[60px]",children:[(0,Qe.jsx)("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Qe.jsx)(ht.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Fe})}),(0,Qe.jsx)(Oe,{children:(0,Qe.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Qe.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white Qe-10 shadow-1 dark:bg-accent-700 lg:Qe-[60px]",children:[(0,Qe.jsx)("div",{className:"mb-30px",children:(0,Qe.jsx)(dt,{...t})}),(0,Qe.jsx)(bt,{})]})})})]})})]})}0&&(module.exports={ContactSection});
@@ -1 +1 @@
1
- import{a}from"../chunk-2XFMQU5T.mjs";import"../chunk-MGZHZWWG.mjs";import"../chunk-YLGJP63J.mjs";import"../chunk-52UEE46P.mjs";import"../chunk-J3CPOHE6.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-VYJK4R76.mjs";import"../chunk-5O6DFU4X.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as ContactSection};
1
+ import{a}from"../chunk-TJGXJTVK.mjs";import"../chunk-MGZHZWWG.mjs";import"../chunk-YLGJP63J.mjs";import"../chunk-52UEE46P.mjs";import"../chunk-J3CPOHE6.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-2KX4HNDS.mjs";import"../chunk-NSUCU5DU.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as ContactSection};
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var vt=Object.create;var $=Object.defineProperty;var Ct=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,St=Object.prototype.hasOwnProperty;var Bt=(e,t)=>{for(var o in t)$(e,o,{get:t[o],enumerable:!0})},ze=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kt(t))!St.call(e,n)&&n!==o&&$(e,n,{get:()=>t[n],enumerable:!(s=Ct(t,n))||s.enumerable});return e};var D=(e,t,o)=>(o=e!=null?vt(Nt(e)):{},ze(t||!e||!e.__esModule?$(o,"default",{value:e,enumerable:!0}):o,e)),Pt=e=>ze($({},"__esModule",{value:!0}),e);var ho={};Bt(ho,{Default:()=>At,default:()=>fo});module.exports=Pt(ho);var xt=D(require("next/image"));var Le="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Qe=require("clsx");var xe="-",Tt=e=>{let t=Rt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{let a=i.split(xe);return a[0]===""&&a.length!==1&&a.shift(),He(a,t)||It(i)},getConflictingClassGroupIds:(i,a)=>{let d=o[i]||[];return a&&s[i]?[...d,...s[i]]:d}}},He=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let o=e[0],s=t.nextPart.get(o),n=s?He(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;let r=e.join(xe);return(i=t.validators.find(({validator:a})=>a(r)))==null?void 0:i.classGroupId},Ue=/^\[(.+)\]$/,It=e=>{if(Ue.test(e)){let t=Ue.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Rt=e=>{let{theme:t,prefix:o}=e,s={nextPart:new Map,validators:[]};return Et(Object.entries(e.classGroups),o).forEach(([r,i])=>{ye(i,s,r,t)}),s},ye=(e,t,o,s)=>{e.forEach(n=>{if(typeof n=="string"){let r=n===""?t:Ge(t,n);r.classGroupId=o;return}if(typeof n=="function"){if(Mt(n)){ye(n(s),t,o,s);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([r,i])=>{ye(i,Ge(t,r),o,s)})})},Ge=(e,t)=>{let o=e;return t.split(xe).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},Mt=e=>e.isThemeGetter,Et=(e,t)=>t?e.map(([o,s])=>{let n=s.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([i,a])=>[t+i,a])):r);return[o,n]}):e,Ft=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,s=new Map,n=(r,i)=>{o.set(r,i),t++,t>e&&(t=0,s=o,o=new Map)};return{get(r){let i=o.get(r);if(i!==void 0)return i;if((i=s.get(r))!==void 0)return n(r,i),i},set(r,i){o.has(r)?o.set(r,i):n(r,i)}}},De="!",zt=e=>{let{separator:t,experimentalParseClassName:o}=e,s=t.length===1,n=t[0],r=t.length,i=a=>{let d=[],f=0,b=0,v;for(let y=0;y<a.length;y++){let A=a[y];if(f===0){if(A===n&&(s||a.slice(y,y+r)===t)){d.push(a.slice(b,y)),b=y+r;continue}if(A==="/"){v=y;continue}}A==="["?f++:A==="]"&&f--}let w=d.length===0?a:a.substring(b),k=w.startsWith(De),N=k?w.substring(1):w,h=v&&v>b?v-b:void 0;return{modifiers:d,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:h}};return o?a=>o({className:a,parseClassName:i}):i},Lt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(s=>{s[0]==="["?(t.push(...o.sort(),s),o=[]):o.push(s)}),t.push(...o.sort()),t},Ut=e=>({cache:Ft(e.cacheSize),parseClassName:zt(e),...Tt(e)}),Gt=/\s+/,Ht=(e,t)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:n}=t,r=[],i=e.trim().split(Gt),a="";for(let d=i.length-1;d>=0;d-=1){let f=i[d],{modifiers:b,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:k}=o(f),N=!!k,h=s(N?w.substring(0,k):w);if(!h){if(!N){a=f+(a.length>0?" "+a:a);continue}if(h=s(w),!h){a=f+(a.length>0?" "+a:a);continue}N=!1}let y=Lt(b).join(":"),A=v?y+De:y,C=A+h;if(r.includes(C))continue;r.push(C);let F=n(h,N);for(let z=0;z<F.length;++z){let W=F[z];r.push(A+W)}a=f+(a.length>0?" "+a:a)}return a};function Dt(){let e=0,t,o,s="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Ke(t))&&(s&&(s+=" "),s+=o);return s}var Ke=e=>{if(typeof e=="string")return e;let t,o="";for(let s=0;s<e.length;s++)e[s]&&(t=Ke(e[s]))&&(o&&(o+=" "),o+=t);return o};function Kt(e,...t){let o,s,n,r=i;function i(d){let f=t.reduce((b,v)=>v(b),e());return o=Ut(f),s=o.cache.get,n=o.cache.set,r=a,a(d)}function a(d){let f=s(d);if(f)return f;let b=Ht(d,o);return n(d,b),b}return function(){return r(Dt.apply(null,arguments))}}var u=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ot=/^\d+\/\d+$/,Yt=new Set(["px","full","screen"]),jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Vt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Je-?((\d+)?\.?(\d+)[a-z]+|0)/,qt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>K(e)||Yt.has(e)||Ot.test(e),I=e=>O(e,"length",oo),K=e=>!!e&&!Number.isNaN(Number(e)),he=e=>O(e,"number",K),J=e=>!!e&&Number.isInteger(Number(e)),_t=e=>e.endsWith("%")&&K(e.slice(0,-1)),l=e=>Oe.test(e),R=e=>jt.test(e),Wt=new Set(["length","size","percentage"]),Xt=e=>O(e,Wt,Ye),Zt=e=>O(e,"position",Ye),$t=new Set(["image","url"]),eo=e=>O(e,$t,so),to=e=>O(e,"",ro),q=()=>!0,O=(e,t,o)=>{let s=Oe.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):o(s[2]):!1},oo=e=>Qt.test(e)&&!Vt.test(e),Ye=()=>!1,ro=e=>Jt.test(e),so=e=>qt.test(e);var no=()=>{let e=u("colors"),t=u("spacing"),o=u("blur"),s=u("brightness"),n=u("borderColor"),r=u("borderRadius"),i=u("borderSpacing"),a=u("borderWidth"),d=u("contrast"),f=u("grayscale"),b=u("hueRotate"),v=u("invert"),w=u("gap"),k=u("gradientColorStops"),N=u("gradientColorStopPositions"),h=u("inset"),y=u("margin"),A=u("opacity"),C=u("padding"),F=u("saturate"),z=u("scale"),W=u("sepia"),Pe=u("skew"),Te=u("space"),Ie=u("translate"),ue=()=>["auto","contain","none"],ge=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",l,t],g=()=>[l,t],Re=()=>["",P,I],X=()=>["auto",K,l],Me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],Ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],be=()=>["start","end","center","between","around","evenly","stretch"],V=()=>["","0",l],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[K,l];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[P,I],blur:["none","",R,l],brightness:B(),borderColor:[e],borderRadius:["none","","full",R,l],borderSpacing:g(),borderWidth:Re(),contrast:B(),grayscale:V(),hueRotate:B(),invert:V(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[_t,I],inset:fe(),margin:fe(),opacity:B(),padding:g(),saturate:B(),scale:B(),sepia:V(),skew:B(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[R]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"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:[...Me(),l]}],overflow:[{overflow:ge()}],"overflow-Je":[{"overflow-Je":ge()}],"overflow-y":[{"overflow-y":ge()}],overscroll:[{overscroll:ue()}],"overscroll-Je":[{"overscroll-Je":ue()}],"overscroll-y":[{"overscroll-y":ue()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-Je":[{"inset-Je":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,l]}],basis:[{basis:fe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:V()}],shrink:[{shrink:V()}],order:[{order:["first","last","none",J,l]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",J,l]},l]}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[J,l]},l]}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-Je":[{"gap-Je":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Je:[{Je:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],Je:[{Je:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],ht:[{ht:[y]}],Je:[{Je:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-Je":[{"space-Je":[Te]}],"space-Je-reverse":["space-Je-reverse"],"space-y":[{"space-y":[Te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[R]},R]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",R,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",he]}],"font-family":[{font:[q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",K,he]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[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:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,I]}],"underline-offset":[{"underline-offset":["auto",P,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Me(),Zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Je","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"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-tt":[{"rounded-tt":[r]}],"rounded-Je":[{"rounded-Je":[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:[a]}],"border-w-Je":[{"border-Je":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-Je":[{"divide-Je":[a]}],"divide-Je-reverse":["divide-Je-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:Z()}],"border-color":[{border:[n]}],"border-color-Je":[{"border-Je":[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:["",...Z()]}],"outline-offset":[{"outline-offset":[P,l]}],"outline-w":[{outline:[P,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[P,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",R,to]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ee()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",R,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[v]}],saturate:[{saturate:[F]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Je":[{"border-spacing-Je":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-Je":[{"scale-Je":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[J,l]}],"translate-Je":[{"translate-Je":[Ie]}],"translate-y":[{"translate-y":[Ie]}],"skew-Je":[{"skew-Je":[Pe]}],"skew-y":[{"skew-y":[Pe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Je-resize","nw-resize","tt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Je",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Je":[{"scroll-Je":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-ht":[{"scroll-ht":g()}],"scroll-Je":[{"scroll-Je":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-Je":[{"scroll-Je":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Je","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Je":[{"touch-pan":["Je","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,I,he]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Je","overflow-y"],overscroll:["overscroll-Je","overscroll-y"],inset:["inset-Je","inset-y","start","end","top","right","bottom","left"],"inset-Je":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Je","gap-y"],Je:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Je:["mx","my","ms","ht","Je","mr","mb","ml"],mx:["mr","ml"],my:["Je","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-tt","rounded-Je","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-tt","rounded-Je"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Je","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-Je":["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-Je":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Je":["scroll-mx","scroll-my","scroll-ms","scroll-ht","scroll-Je","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Je","scroll-mb"],"scroll-Je":["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-Je","touch-y","touch-pz"],"touch-Je":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var je=Kt(no);function c(...e){return je((0,Qe.clsx)(e))}var Je=require("react/jsx-runtime");function Ve({children:e,isFluid:t=!1,isNoPadding:o=!1,className:s=""}){let n=c("container",t&&"full-width",o&&"no-padding",s);return(0,Je.jsx)("div",{className:n,children:e})}var qe=({className:e,content:t,style:o})=>(0,Je.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,Je.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Je.jsx)(Y,{content:t,enableGutter:!1,enableProse:!1})})});var _e=require("@radix-ui/react-slot"),We=require("class-variance-authority"),Xe=D(require("react")),ao=(0,We.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),L=Xe.forwardRef(({asChild:e=!1,className:t,size:o,variant:s,...n},r)=>(0,Je.jsx)(e?_e.Slot:"button",{className:c(ao({className:t,size:o,variant:s})),ref:r,...n}));L.displayName="Button";var we=D(require("next/link")),te=e=>{let{type:t,appearance:o="inline",children:s,className:n,label:r,newTab:i,reference:a,size:d,url:f}=e,b=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:f;if(!b)return null;let v=o==="link"?"clear":d,w=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Je.jsxs)(we.default,{className:c(n),href:b||f||"",...w,children:[r&&r,s&&s]}):(0,Je.jsx)(L,{asChild:!0,className:n,size:v,variant:o,children:(0,Je.jsxs)(we.default,{className:c(n),href:b||f||"",...w,children:[r&&r,s&&s]})})};var $e=({links:e,richText:t})=>(0,Je.jsx)("div",{className:"container",children:(0,Je.jsxs)("div",{className:"bg-card rounded border-border border Je-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Je.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Je.jsx)(Y,{className:"mb-0",content:t,enableGutter:!1})}),(0,Je.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},s)=>(0,Je.jsx)(te,{size:"lg",...o},s))})]})});var oe=require("prism-react-renderer");var et=require("lucide-react"),tt=require("react");function ot({code:e}){let[t,o]=(0,tt.useState)("Copy");function s(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Je.jsx)("div",{className:"flex justify-end align-middle",children:(0,Je.jsxs)(L,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),s()},children:[(0,Je.jsx)("Je",{children:t}),(0,Je.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Je.jsx)(et.ClipboardCopy,{})})]})})}var rt=({code:e,language:t=""})=>e?(0,Je.jsx)(oe.Highlight,{code:e,language:t,theme:oe.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:n})=>(0,Je.jsxs)("pre",{className:"bg-black Je-4 border text-xs border-border rounded overflow-Je-auto",children:[n.map((r,i)=>(0,Je.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,Je.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Je.jsx)("span",{className:"table-cell pl-4",children:r.map((a,d)=>(0,Je.jsx)("span",{...s({token:a})},d))})]},i)),(0,Je.jsx)(ot,{code:e})]})}):null;var st=({className:e,code:t,language:o})=>(0,Je.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Je.jsx)(rt,{code:t,language:o})});var at=D(require("next/image"));var nt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var re=()=>{if(nt){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 io={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},lo="data:image/png;base64,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",it=e=>{let{alt:t,fill:o,imgClassName:s,priority:n,resource:r,size:i,src:a,loading:d}=e,f,b,v=t,w=a||"";if(!w&&r&&typeof r=="object"){let{alt:h,filename:y,height:A,url:C,width:F}=r;f=F,b=A,v=h||"",w=`${re()}${C}`}let k=d||"lazy",N=i||Object.entries(io).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Je.jsx)("picture",{children:(0,Je.jsx)(at.default,{alt:v||"",className:c(s),fill:o,height:o?void 0:b,placeholder:"blur",blurDataURL:lo,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:N,src:w,width:o?void 0:f})})};var lt=e=>{let{onClick:t,resource:o,videoClassName:s}=e,n=(0,tt.useRef)(null);if((0,tt.useEffect)(()=>{let{current:r}=n;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,Je.jsx)("video",{autoPlay:!0,className:c(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Je.jsx)("source",{src:`${re()}/media/${r}`})})}return null};var pt=e=>{var i;let{className:t,htmlElement:o="div",resource:s}=e,n=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,Je.jsx)(o||tt.Fragment,{...o!==null?{className:t}:{},children:n?(0,Je.jsx)(lt,{...e}):(0,Je.jsx)(it,{...e})})};var dt=e=>{let{className:t,enableGutter:o=!0,imgClassName:s,media:n,staticImage:r}=e;return(0,Je.jsx)("div",{className:c("",{container:o},t),children:(0,Je.jsx)(pt,{imgClassName:c("border border-border rounded-[0.8rem]",s),resource:n,src:r})})};var ae=D(require("react"));function Ne({nodes:e}){return(0,Je.jsx)(ae.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"){let r=(0,Je.jsx)(ae.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,Je.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,Je.jsx)("em",{children:r},o)),t.format&4&&(r=(0,Je.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,Je.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,Je.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,Je.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,Je.jsx)("sup",{children:r},o)),r}let s=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 Ne({nodes:r.children})},n="children"in t?s(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,Je.jsx)($e,{...r},o);case"mediaBlock":return(0,Je.jsx)(dt,{className:"col-start-1 col-span-3",imgClassName:"Je-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Je.jsx)(qe,{className:"col-start-2 mb-4",...r},o);case"code":return(0,Je.jsx)(st,{className:"col-start-2",...r},o);default:return null}}else switch(t.type){case"linebreak":return(0,Je.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Je.jsx)("Je",{className:"col-start-2",children:n},o);case"heading":{let r=t==null?void 0:t.tag;return(0,Je.jsx)(r,{className:"col-start-2",children:n},o)}case"list":{let r=t==null?void 0:t.tag;return(0,Je.jsx)(r,{className:"list col-start-2",children:n},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Je.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,Je.jsx)("li",{value:t==null?void 0:t.value,children:n},o);case"quote":return(0,Je.jsx)("blockquote",{className:"col-start-2",children:n},o);case"link":{let r=t.fields;return(0,Je.jsx)(te,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:n},o)}default:return null}})})}var Y=({className:e,content:t,enableGutter:o=!0,enableProse:s=!0})=>{var n;return t?(0,Je.jsx)("div",{className:c({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ne({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function ut({subtitle:e,title:t,description:o,alignment:s="start",hasBottomSpacing:n=!1,className:r}){let i=c(s==="start"&&"text-left",s==="center"&&"text-center",s==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},r);return(0,Je.jsxs)("div",{className:i,children:[e&&(0,Je.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,Je.jsx)("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-accent-900 dark:text-white md:text-2xl",children:t}),typeof o=="string"?o&&(0,Je.jsx)("Je",{className:"Je-5 whitespace-pre-line",children:o}):o&&(0,Je.jsx)(Y,{content:o,enableGutter:!1})]})}function ie({className:e}){return c("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function co({className:e,...t}){return(0,Je.jsx)("input",{...t,className:ie({className:e})})}function le({icon:e,...t}){return(0,Je.jsxs)("div",{className:"relative w-full",children:[(0,Je.jsx)(co,{...t}),e&&(0,Je.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-primary",children:e})]})}function po({className:e,...t}){return(0,Je.jsx)("textarea",{...t,className:c(ie({}),"resize-none md:min-h-[130px]",e)})}function gt({icon:e,...t}){return(0,Je.jsxs)("div",{className:"relative w-full",children:[(0,Je.jsx)(po,{...t}),e&&(0,Je.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var bt=require("formik"),ht=require("react-icons/fa6"),H=D(require("yup"));async function ft(e){let{name:t,email:o,subject:s,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:`${s}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};console.log(JSON.stringify(i));try{let a=await fetch(r,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!a.ok)throw console.error(a),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(a){return console.error(a),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Se=require("sonner"),S={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},mo=H.object().shape({name:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),email:H.string().email(S.email).required(S.required),subject:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),message:H.string().min(2,S.tooShort).max(300,S.tooLong).required(S.required)}),ce=c("!pr-[44px]"),pe=c("!border-red-600 border"),de=c("sr-only");function yt(){return(0,Je.jsx)(bt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:mo,onSubmit:async(e,{resetForm:t})=>{let o=await ft(e);o.data===null?Se.toast.error(o.message):(Se.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:s,handleBlur:n,isSubmitting:r,handleSubmit:i})=>(0,Je.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Je.jsxs)("div",{children:[(0,Je.jsx)(le,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(ht.FaUser,{}),className:c(ce,e.name&&t.name&&pe)}),e.name&&t.name&&(0,Je.jsx)("Je",{title:e.name,"aria-live":"polite",role:"error message",className:de,children:e.name})]}),(0,Je.jsxs)("div",{children:[(0,Je.jsx)(le,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(uo,{}),className:c(ce,e.email&&t.email&&pe)}),e.email&&t.email&&(0,Je.jsx)("Je",{title:e.email,"aria-live":"polite",role:"error message",className:de,children:e.email})]}),(0,Je.jsxs)("div",{className:"lg:col-span-2",children:[(0,Je.jsx)(le,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:s,onBlur:n,disabled:r,className:c(ce,e.subject&&t.subject&&pe)}),e.subject&&t.subject&&(0,Je.jsx)("Je",{title:e.subject,"aria-live":"polite",role:"error message",className:de,children:e.subject})]}),(0,Je.jsxs)("div",{className:"lg:col-span-2",children:[(0,Je.jsx)(gt,{placeholder:"Write Message...",name:"message",value:o.message,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(go,{}),className:c(ce,e.message&&t.message&&pe)}),e.message&&t.message&&(0,Je.jsx)("Je",{title:e.message,"aria-live":"polite",role:"error message",className:de,children:e.message})]}),(0,Je.jsx)("div",{className:"lg:col-span-2",children:(0,Je.jsx)(L,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:r,children:(0,Je.jsx)("span",{children:"SEND"})})})]})})}function uo(){return(0,Je.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function go(){return(0,Je.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function Be(e){let{sectionHeading:t,image:o}=e;return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)("section",{className:"section-padding-primary",children:(0,Je.jsx)("div",{className:"",children:(0,Je.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Je.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,Je.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Je.jsxs)("div",{children:[(0,Je.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Je.jsx)("Je",{className:"Je-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,Je.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((s,n)=>{var r;return(0,Je.jsxs)("div",{className:"rounded-2xl Je-10 border",children:[(0,Je.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:s.title}),(0,Je.jsxs)("address",{className:"Je-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(r=s.location.split(","))==null?void 0:r.map((i,a)=>(0,Je.jsx)("Je",{children:i},a))," ",s.mails&&(0,Je.jsxs)("Je",{className:"flex items-center space-Je-2",children:[(0,Je.jsx)(ht.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Je.jsx)("span",{children:s.mails[0]})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&(0,Je.jsxs)("Je",{className:"flex items-center space-Je-2",children:[(0,Je.jsx)(ht.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),s.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,Je.jsx)("section",{className:"section-padding-primary",children:(0,Je.jsxs)("div",{className:"relative py-[60px]",children:[(0,Je.jsx)("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Je.jsx)(xt.default,{src:o.src,alt:o.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Le})}),(0,Je.jsx)(Ve,{children:(0,Je.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Je.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white Je-10 shadow-1 dark:bg-accent-700 lg:Je-[60px]",children:[(0,Je.jsx)("div",{className:"mb-30px",children:(0,Je.jsx)(ut,{...t})}),(0,Je.jsx)(yt,{})]})})})]})})]})}var fo={title:"Sections/ContactSection",component:Be,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,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(e,{}),(0,Je.jsx)(Se.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},bo=e=>(0,Je.jsx)(Be,{...e}),At=bo.bind({});At.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 vt=Object.create;var $=Object.defineProperty;var Ct=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,St=Object.prototype.hasOwnProperty;var Bt=(e,t)=>{for(var o in t)$(e,o,{get:t[o],enumerable:!0})},ze=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kt(t))!St.call(e,n)&&n!==o&&$(e,n,{get:()=>t[n],enumerable:!(s=Ct(t,n))||s.enumerable});return e};var D=(e,t,o)=>(o=e!=null?vt(Nt(e)):{},ze(t||!e||!e.__esModule?$(o,"default",{value:e,enumerable:!0}):o,e)),Pt=e=>ze($({},"__esModule",{value:!0}),e);var ho={};Bt(ho,{Default:()=>At,default:()=>fo});module.exports=Pt(ho);var xt=D(require("next/image"));var Le="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Qe=require("clsx");var xe="-",Tt=e=>{let t=Rt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{let a=i.split(xe);return a[0]===""&&a.length!==1&&a.shift(),He(a,t)||It(i)},getConflictingClassGroupIds:(i,a)=>{let d=o[i]||[];return a&&s[i]?[...d,...s[i]]:d}}},He=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let o=e[0],s=t.nextPart.get(o),n=s?He(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;let r=e.join(xe);return(i=t.validators.find(({validator:a})=>a(r)))==null?void 0:i.classGroupId},Ue=/^\[(.+)\]$/,It=e=>{if(Ue.test(e)){let t=Ue.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Rt=e=>{let{theme:t,prefix:o}=e,s={nextPart:new Map,validators:[]};return Et(Object.entries(e.classGroups),o).forEach(([r,i])=>{ye(i,s,r,t)}),s},ye=(e,t,o,s)=>{e.forEach(n=>{if(typeof n=="string"){let r=n===""?t:Ge(t,n);r.classGroupId=o;return}if(typeof n=="function"){if(Mt(n)){ye(n(s),t,o,s);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([r,i])=>{ye(i,Ge(t,r),o,s)})})},Ge=(e,t)=>{let o=e;return t.split(xe).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},Mt=e=>e.isThemeGetter,Et=(e,t)=>t?e.map(([o,s])=>{let n=s.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([i,a])=>[t+i,a])):r);return[o,n]}):e,Ft=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,s=new Map,n=(r,i)=>{o.set(r,i),t++,t>e&&(t=0,s=o,o=new Map)};return{get(r){let i=o.get(r);if(i!==void 0)return i;if((i=s.get(r))!==void 0)return n(r,i),i},set(r,i){o.has(r)?o.set(r,i):n(r,i)}}},De="!",zt=e=>{let{separator:t,experimentalParseClassName:o}=e,s=t.length===1,n=t[0],r=t.length,i=a=>{let d=[],f=0,b=0,v;for(let y=0;y<a.length;y++){let A=a[y];if(f===0){if(A===n&&(s||a.slice(y,y+r)===t)){d.push(a.slice(b,y)),b=y+r;continue}if(A==="/"){v=y;continue}}A==="["?f++:A==="]"&&f--}let w=d.length===0?a:a.substring(b),k=w.startsWith(De),N=k?w.substring(1):w,h=v&&v>b?v-b:void 0;return{modifiers:d,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:h}};return o?a=>o({className:a,parseClassName:i}):i},Lt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(s=>{s[0]==="["?(t.push(...o.sort(),s),o=[]):o.push(s)}),t.push(...o.sort()),t},Ut=e=>({cache:Ft(e.cacheSize),parseClassName:zt(e),...Tt(e)}),Gt=/\s+/,Ht=(e,t)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:n}=t,r=[],i=e.trim().split(Gt),a="";for(let d=i.length-1;d>=0;d-=1){let f=i[d],{modifiers:b,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:k}=o(f),N=!!k,h=s(N?w.substring(0,k):w);if(!h){if(!N){a=f+(a.length>0?" "+a:a);continue}if(h=s(w),!h){a=f+(a.length>0?" "+a:a);continue}N=!1}let y=Lt(b).join(":"),A=v?y+De:y,C=A+h;if(r.includes(C))continue;r.push(C);let F=n(h,N);for(let z=0;z<F.length;++z){let W=F[z];r.push(A+W)}a=f+(a.length>0?" "+a:a)}return a};function Dt(){let e=0,t,o,s="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Ke(t))&&(s&&(s+=" "),s+=o);return s}var Ke=e=>{if(typeof e=="string")return e;let t,o="";for(let s=0;s<e.length;s++)e[s]&&(t=Ke(e[s]))&&(o&&(o+=" "),o+=t);return o};function Kt(e,...t){let o,s,n,r=i;function i(d){let f=t.reduce((b,v)=>v(b),e());return o=Ut(f),s=o.cache.get,n=o.cache.set,r=a,a(d)}function a(d){let f=s(d);if(f)return f;let b=Ht(d,o);return n(d,b),b}return function(){return r(Dt.apply(null,arguments))}}var u=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ot=/^\d+\/\d+$/,Yt=new Set(["px","full","screen"]),jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Vt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Je-?((\d+)?\.?(\d+)[a-z]+|0)/,qt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>K(e)||Yt.has(e)||Ot.test(e),I=e=>O(e,"length",oo),K=e=>!!e&&!Number.isNaN(Number(e)),he=e=>O(e,"number",K),J=e=>!!e&&Number.isInteger(Number(e)),_t=e=>e.endsWith("%")&&K(e.slice(0,-1)),l=e=>Oe.test(e),R=e=>jt.test(e),Wt=new Set(["length","size","percentage"]),Xt=e=>O(e,Wt,Ye),Zt=e=>O(e,"position",Ye),$t=new Set(["image","url"]),eo=e=>O(e,$t,so),to=e=>O(e,"",ro),q=()=>!0,O=(e,t,o)=>{let s=Oe.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):o(s[2]):!1},oo=e=>Qt.test(e)&&!Vt.test(e),Ye=()=>!1,ro=e=>Jt.test(e),so=e=>qt.test(e);var no=()=>{let e=u("colors"),t=u("spacing"),o=u("blur"),s=u("brightness"),n=u("borderColor"),r=u("borderRadius"),i=u("borderSpacing"),a=u("borderWidth"),d=u("contrast"),f=u("grayscale"),b=u("hueRotate"),v=u("invert"),w=u("gap"),k=u("gradientColorStops"),N=u("gradientColorStopPositions"),h=u("inset"),y=u("margin"),A=u("opacity"),C=u("padding"),F=u("saturate"),z=u("scale"),W=u("sepia"),Pe=u("skew"),Te=u("space"),Ie=u("translate"),ue=()=>["auto","contain","none"],ge=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",l,t],g=()=>[l,t],Re=()=>["",P,I],X=()=>["auto",K,l],Me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],Ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],be=()=>["start","end","center","between","around","evenly","stretch"],V=()=>["","0",l],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[K,l];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[P,I],blur:["none","",R,l],brightness:B(),borderColor:[e],borderRadius:["none","","full",R,l],borderSpacing:g(),borderWidth:Re(),contrast:B(),grayscale:V(),hueRotate:B(),invert:V(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[_t,I],inset:fe(),margin:fe(),opacity:B(),padding:g(),saturate:B(),scale:B(),sepia:V(),skew:B(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[R]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"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:[...Me(),l]}],overflow:[{overflow:ge()}],"overflow-Je":[{"overflow-Je":ge()}],"overflow-y":[{"overflow-y":ge()}],overscroll:[{overscroll:ue()}],"overscroll-Je":[{"overscroll-Je":ue()}],"overscroll-y":[{"overscroll-y":ue()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-Je":[{"inset-Je":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,l]}],basis:[{basis:fe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:V()}],shrink:[{shrink:V()}],order:[{order:["first","last","none",J,l]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",J,l]},l]}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[J,l]},l]}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-Je":[{"gap-Je":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Je:[{Je:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],Je:[{Je:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],ht:[{ht:[y]}],Je:[{Je:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-Je":[{"space-Je":[Te]}],"space-Je-reverse":["space-Je-reverse"],"space-y":[{"space-y":[Te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[R]},R]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",R,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",he]}],"font-family":[{font:[q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",K,he]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[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:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,I]}],"underline-offset":[{"underline-offset":["auto",P,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Me(),Zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Je","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"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-tt":[{"rounded-tt":[r]}],"rounded-Je":[{"rounded-Je":[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:[a]}],"border-w-Je":[{"border-Je":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-Je":[{"divide-Je":[a]}],"divide-Je-reverse":["divide-Je-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:Z()}],"border-color":[{border:[n]}],"border-color-Je":[{"border-Je":[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:["",...Z()]}],"outline-offset":[{"outline-offset":[P,l]}],"outline-w":[{outline:[P,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[P,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",R,to]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ee()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",R,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[v]}],saturate:[{saturate:[F]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Je":[{"border-spacing-Je":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-Je":[{"scale-Je":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[J,l]}],"translate-Je":[{"translate-Je":[Ie]}],"translate-y":[{"translate-y":[Ie]}],"skew-Je":[{"skew-Je":[Pe]}],"skew-y":[{"skew-y":[Pe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Je-resize","nw-resize","tt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Je",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Je":[{"scroll-Je":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-ht":[{"scroll-ht":g()}],"scroll-Je":[{"scroll-Je":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-Je":[{"scroll-Je":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Je","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Je":[{"touch-pan":["Je","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,I,he]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Je","overflow-y"],overscroll:["overscroll-Je","overscroll-y"],inset:["inset-Je","inset-y","start","end","top","right","bottom","left"],"inset-Je":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Je","gap-y"],Je:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Je:["mx","my","ms","ht","Je","mr","mb","ml"],mx:["mr","ml"],my:["Je","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-tt","rounded-Je","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-tt","rounded-Je"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Je","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-Je":["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-Je":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Je":["scroll-mx","scroll-my","scroll-ms","scroll-ht","scroll-Je","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Je","scroll-mb"],"scroll-Je":["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-Je","touch-y","touch-pz"],"touch-Je":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var je=Kt(no);function c(...e){return je((0,Qe.clsx)(e))}var Je=require("react/jsx-runtime");function Ve({children:e,isFluid:t=!1,isNoPadding:o=!1,className:s=""}){let n=c("container",t&&"full-width",o&&"no-padding",s);return(0,Je.jsx)("div",{className:n,children:e})}var qe=({className:e,content:t,style:o})=>(0,Je.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,Je.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Je.jsx)(Y,{content:t,enableGutter:!1,enableProse:!1})})});var _e=require("@radix-ui/react-slot"),We=require("class-variance-authority"),Xe=D(require("react")),ao=(0,We.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),L=Xe.forwardRef(({asChild:e=!1,className:t,size:o,variant:s,...n},r)=>(0,Je.jsx)(e?_e.Slot:"button",{className:c(ao({className:t,size:o,variant:s})),ref:r,...n}));L.displayName="Button";var we=D(require("next/link")),te=e=>{let{type:t,appearance:o="inline",children:s,className:n,label:r,newTab:i,reference:a,size:d,url:f}=e,b=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:f;if(!b)return null;let v=o==="link"?"clear":d,w=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Je.jsxs)(we.default,{className:c(n),href:b||f||"",...w,children:[r&&r,s&&s]}):(0,Je.jsx)(L,{asChild:!0,className:n,size:v,variant:o,children:(0,Je.jsxs)(we.default,{className:c(n),href:b||f||"",...w,children:[r&&r,s&&s]})})};var $e=({links:e,richText:t})=>(0,Je.jsx)("div",{className:"container",children:(0,Je.jsxs)("div",{className:"bg-card rounded border-border border Je-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Je.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Je.jsx)(Y,{className:"mb-0",content:t,enableGutter:!1})}),(0,Je.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},s)=>(0,Je.jsx)(te,{size:"lg",...o},s))})]})});var oe=require("prism-react-renderer");var et=require("lucide-react"),tt=require("react");function ot({code:e}){let[t,o]=(0,tt.useState)("Copy");function s(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Je.jsx)("div",{className:"flex justify-end align-middle",children:(0,Je.jsxs)(L,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),s()},children:[(0,Je.jsx)("Je",{children:t}),(0,Je.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Je.jsx)(et.ClipboardCopy,{})})]})})}var rt=({code:e,language:t=""})=>e?(0,Je.jsx)(oe.Highlight,{code:e,language:t,theme:oe.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:n})=>(0,Je.jsxs)("pre",{className:"bg-black Je-4 border text-xs border-border rounded overflow-Je-auto",children:[n.map((r,i)=>(0,Je.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,Je.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Je.jsx)("span",{className:"table-cell pl-4",children:r.map((a,d)=>(0,Je.jsx)("span",{...s({token:a})},d))})]},i)),(0,Je.jsx)(ot,{code:e})]})}):null;var st=({className:e,code:t,language:o})=>(0,Je.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Je.jsx)(rt,{code:t,language:o})});var at=D(require("next/image"));var nt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var re=()=>{if(nt){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 io={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},lo="data:image/png;base64,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",it=e=>{let{alt:t,fill:o,imgClassName:s,priority:n,resource:r,size:i,src:a,loading:d}=e,f,b,v=t,w=a||"";if(!w&&r&&typeof r=="object"){let{alt:h,filename:y,height:A,url:C,width:F}=r;f=F,b=A,v=h||"",w=`${re()}${C}`}let k=d||"lazy",N=i||Object.entries(io).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Je.jsx)("picture",{children:(0,Je.jsx)(at.default,{alt:v||"",className:c(s),fill:o,height:o?void 0:b,placeholder:"blur",blurDataURL:lo,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:N,src:w,width:o?void 0:f})})};var lt=e=>{let{onClick:t,resource:o,videoClassName:s}=e,n=(0,tt.useRef)(null);if((0,tt.useEffect)(()=>{let{current:r}=n;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,Je.jsx)("video",{autoPlay:!0,className:c(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Je.jsx)("source",{src:`${re()}/media/${r}`})})}return null};var pt=e=>{var i;let{className:t,htmlElement:o="div",resource:s}=e,n=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,Je.jsx)(o||tt.Fragment,{...o!==null?{className:t}:{},children:n?(0,Je.jsx)(lt,{...e}):(0,Je.jsx)(it,{...e})})};var dt=e=>{let{className:t,enableGutter:o=!0,imgClassName:s,media:n,staticImage:r}=e;return(0,Je.jsx)("div",{className:c("",{container:o},t),children:(0,Je.jsx)(pt,{imgClassName:c("border border-border rounded-[0.8rem]",s),resource:n,src:r})})};var ae=D(require("react"));function Ne({nodes:e}){return(0,Je.jsx)(ae.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"){let r=(0,Je.jsx)(ae.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,Je.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,Je.jsx)("em",{children:r},o)),t.format&4&&(r=(0,Je.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,Je.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,Je.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,Je.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,Je.jsx)("sup",{children:r},o)),r}let s=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 Ne({nodes:r.children})},n="children"in t?s(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,Je.jsx)($e,{...r},o);case"mediaBlock":return(0,Je.jsx)(dt,{className:"col-start-1 col-span-3",imgClassName:"Je-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Je.jsx)(qe,{className:"col-start-2 mb-4",...r},o);case"code":return(0,Je.jsx)(st,{className:"col-start-2",...r},o);default:return null}}else switch(t.type){case"linebreak":return(0,Je.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Je.jsx)("Je",{className:"col-start-2",children:n},o);case"heading":{let r=t==null?void 0:t.tag;return(0,Je.jsx)(r,{className:"col-start-2",children:n},o)}case"list":{let r=t==null?void 0:t.tag;return(0,Je.jsx)(r,{className:"list col-start-2",children:n},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Je.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,Je.jsx)("li",{value:t==null?void 0:t.value,children:n},o);case"quote":return(0,Je.jsx)("blockquote",{className:"col-start-2",children:n},o);case"link":{let r=t.fields;return(0,Je.jsx)(te,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:n},o)}default:return null}})})}var Y=({className:e,content:t,enableGutter:o=!0,enableProse:s=!0})=>{var n;return t?(0,Je.jsx)("div",{className:c({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ne({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function ut({subtitle:e,title:t,description:o,alignment:s="start",hasBottomSpacing:n=!1,className:r}){let i=c(s==="start"&&"text-left",s==="center"&&"text-center",s==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},r);return(0,Je.jsxs)("div",{className:i,children:[e&&(0,Je.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,Je.jsx)("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",children:t}),typeof o=="string"?o&&(0,Je.jsx)("Je",{className:"Je-5 whitespace-pre-line",children:o}):o&&(0,Je.jsx)(Y,{content:o,enableGutter:!1})]})}function ie({className:e}){return c("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function co({className:e,...t}){return(0,Je.jsx)("input",{...t,className:ie({className:e})})}function le({icon:e,...t}){return(0,Je.jsxs)("div",{className:"relative w-full",children:[(0,Je.jsx)(co,{...t}),e&&(0,Je.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-primary",children:e})]})}function po({className:e,...t}){return(0,Je.jsx)("textarea",{...t,className:c(ie({}),"resize-none md:min-h-[130px]",e)})}function gt({icon:e,...t}){return(0,Je.jsxs)("div",{className:"relative w-full",children:[(0,Je.jsx)(po,{...t}),e&&(0,Je.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var bt=require("formik"),ht=require("react-icons/fa6"),H=D(require("yup"));async function ft(e){let{name:t,email:o,subject:s,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:`${s}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};console.log(JSON.stringify(i));try{let a=await fetch(r,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!a.ok)throw console.error(a),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(a){return console.error(a),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Se=require("sonner"),S={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},mo=H.object().shape({name:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),email:H.string().email(S.email).required(S.required),subject:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),message:H.string().min(2,S.tooShort).max(300,S.tooLong).required(S.required)}),ce=c("!pr-[44px]"),pe=c("!border-red-600 border"),de=c("sr-only");function yt(){return(0,Je.jsx)(bt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:mo,onSubmit:async(e,{resetForm:t})=>{let o=await ft(e);o.data===null?Se.toast.error(o.message):(Se.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:s,handleBlur:n,isSubmitting:r,handleSubmit:i})=>(0,Je.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Je.jsxs)("div",{children:[(0,Je.jsx)(le,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(ht.FaUser,{}),className:c(ce,e.name&&t.name&&pe)}),e.name&&t.name&&(0,Je.jsx)("Je",{title:e.name,"aria-live":"polite",role:"error message",className:de,children:e.name})]}),(0,Je.jsxs)("div",{children:[(0,Je.jsx)(le,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(uo,{}),className:c(ce,e.email&&t.email&&pe)}),e.email&&t.email&&(0,Je.jsx)("Je",{title:e.email,"aria-live":"polite",role:"error message",className:de,children:e.email})]}),(0,Je.jsxs)("div",{className:"lg:col-span-2",children:[(0,Je.jsx)(le,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:s,onBlur:n,disabled:r,className:c(ce,e.subject&&t.subject&&pe)}),e.subject&&t.subject&&(0,Je.jsx)("Je",{title:e.subject,"aria-live":"polite",role:"error message",className:de,children:e.subject})]}),(0,Je.jsxs)("div",{className:"lg:col-span-2",children:[(0,Je.jsx)(gt,{placeholder:"Write Message...",name:"message",value:o.message,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(go,{}),className:c(ce,e.message&&t.message&&pe)}),e.message&&t.message&&(0,Je.jsx)("Je",{title:e.message,"aria-live":"polite",role:"error message",className:de,children:e.message})]}),(0,Je.jsx)("div",{className:"lg:col-span-2",children:(0,Je.jsx)(L,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:r,children:(0,Je.jsx)("span",{children:"SEND"})})})]})})}function uo(){return(0,Je.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function go(){return(0,Je.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function Be(e){let{sectionHeading:t,image:o}=e;return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)("section",{className:"section-padding-primary",children:(0,Je.jsx)("div",{className:"",children:(0,Je.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Je.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,Je.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Je.jsxs)("div",{children:[(0,Je.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Je.jsx)("Je",{className:"Je-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,Je.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((s,n)=>{var r;return(0,Je.jsxs)("div",{className:"rounded-2xl Je-10 border",children:[(0,Je.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:s.title}),(0,Je.jsxs)("address",{className:"Je-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(r=s.location.split(","))==null?void 0:r.map((i,a)=>(0,Je.jsx)("Je",{children:i},a))," ",s.mails&&(0,Je.jsxs)("Je",{className:"flex items-center space-Je-2",children:[(0,Je.jsx)(ht.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Je.jsx)("span",{children:s.mails[0]})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&(0,Je.jsxs)("Je",{className:"flex items-center space-Je-2",children:[(0,Je.jsx)(ht.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),s.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,Je.jsx)("section",{className:"section-padding-primary",children:(0,Je.jsxs)("div",{className:"relative py-[60px]",children:[(0,Je.jsx)("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Je.jsx)(xt.default,{src:o.src,alt:o.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Le})}),(0,Je.jsx)(Ve,{children:(0,Je.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Je.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white Je-10 shadow-1 dark:bg-accent-700 lg:Je-[60px]",children:[(0,Je.jsx)("div",{className:"mb-30px",children:(0,Je.jsx)(ut,{...t})}),(0,Je.jsx)(yt,{})]})})})]})})]})}var fo={title:"Sections/ContactSection",component:Be,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,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(e,{}),(0,Je.jsx)(Se.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},bo=e=>(0,Je.jsx)(Be,{...e}),At=bo.bind({});At.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-2XFMQU5T.mjs";import"../chunk-MGZHZWWG.mjs";import"../chunk-YLGJP63J.mjs";import"../chunk-52UEE46P.mjs";import"../chunk-J3CPOHE6.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-VYJK4R76.mjs";import"../chunk-5O6DFU4X.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-D2WXBUVJ.mjs";import{Toaster as a}from"sonner";import{Fragment as c,jsx as e,jsxs as s}from"react/jsx-runtime";var l={title:"Sections/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-TJGXJTVK.mjs";import"../chunk-MGZHZWWG.mjs";import"../chunk-YLGJP63J.mjs";import"../chunk-52UEE46P.mjs";import"../chunk-J3CPOHE6.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-2KX4HNDS.mjs";import"../chunk-NSUCU5DU.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-D2WXBUVJ.mjs";import{Toaster as a}from"sonner";import{Fragment as c,jsx as e,jsxs as s}from"react/jsx-runtime";var l={title:"Sections/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};