cortex-react-components 1.62.1 → 1.62.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/dist/{chunk-DOFKMHT2.mjs → chunk-2IJK3AE7.mjs} +1 -1
  2. package/dist/chunk-2ZB6Z7XN.mjs +4 -0
  3. package/dist/{chunk-75HYIK2G.mjs → chunk-3BATRS4C.mjs} +1 -1
  4. package/dist/{chunk-X7BL4XNE.mjs → chunk-5ALQQYYE.mjs} +1 -1
  5. package/dist/{chunk-QLIAHL5I.mjs → chunk-64DD3N4S.mjs} +1 -1
  6. package/dist/{chunk-CKHMERFD.mjs → chunk-65BHP4TM.mjs} +1 -1
  7. package/dist/{chunk-W44AKXM4.mjs → chunk-B7STYVDB.mjs} +1 -1
  8. package/dist/{chunk-YRSOMSFW.mjs → chunk-CJF6GVGP.mjs} +1 -1
  9. package/dist/{chunk-WLNBPCJF.mjs → chunk-DVGPU4EL.mjs} +1 -1
  10. package/dist/{chunk-24APRFWG.mjs → chunk-EVVDCPEA.mjs} +1 -1
  11. package/dist/{chunk-UYICWAF2.mjs → chunk-FGHN2OHF.mjs} +1 -1
  12. package/dist/{chunk-6GZQTL75.mjs → chunk-FN5C27GW.mjs} +1 -1
  13. package/dist/chunk-FSYU3D5O.mjs +1 -0
  14. package/dist/{chunk-RR4HR3KN.mjs → chunk-GHXEOXV4.mjs} +1 -1
  15. package/dist/{chunk-PGSV4TRK.mjs → chunk-GYDVBUKO.mjs} +1 -1
  16. package/dist/{chunk-7J7FNKHF.mjs → chunk-IH37BDR2.mjs} +1 -1
  17. package/dist/{chunk-2H6ELPBB.mjs → chunk-JLCWVIEP.mjs} +1 -1
  18. package/dist/{chunk-KGIOLQSJ.mjs → chunk-JU7C3V5N.mjs} +1 -1
  19. package/dist/{chunk-BNDQ6JWZ.mjs → chunk-L5MDFQGH.mjs} +1 -1
  20. package/dist/{chunk-ZD7HSIMS.mjs → chunk-MUBDAI2K.mjs} +1 -1
  21. package/dist/{chunk-PARG2DLL.mjs → chunk-NP2M5K7O.mjs} +1 -1
  22. package/dist/{chunk-V4JGZT55.mjs → chunk-OMVXDUX7.mjs} +1 -1
  23. package/dist/{chunk-I5HRFLAL.mjs → chunk-R7IAPAL5.mjs} +1 -1
  24. package/dist/{chunk-TLE6V6RN.mjs → chunk-RG5W7B5K.mjs} +1 -1
  25. package/dist/{chunk-W77KSAW7.mjs → chunk-RZUYAUCR.mjs} +1 -1
  26. package/dist/{chunk-ZYYWN6XG.mjs → chunk-SUO6GOJS.mjs} +1 -1
  27. package/dist/{chunk-2LZPPRWJ.mjs → chunk-U7Q6ZRR3.mjs} +1 -1
  28. package/dist/{chunk-FC3MJHFL.mjs → chunk-UDQTFQR7.mjs} +1 -1
  29. package/dist/{chunk-UJSN2546.mjs → chunk-VEWTPB7K.mjs} +1 -1
  30. package/dist/{chunk-KYZKHJAK.mjs → chunk-WPL2QWNG.mjs} +1 -1
  31. package/dist/{chunk-Q5OSKAPP.mjs → chunk-X4EKDFOJ.mjs} +1 -1
  32. package/dist/{chunk-BZ2FTWEK.mjs → chunk-X4Q7WZZS.mjs} +1 -1
  33. package/dist/{chunk-R5424SOB.mjs → chunk-XIVKVQK2.mjs} +1 -1
  34. package/dist/{chunk-QT3YSTDB.mjs → chunk-XZ4GLJWK.mjs} +1 -1
  35. package/dist/chunk-YPK6OLRS.mjs +4 -0
  36. package/dist/{chunk-SUXBUTE4.mjs → chunk-Z3YAIJQT.mjs} +1 -1
  37. package/dist/{chunk-ITA62TPJ.mjs → chunk-ZJCHVWSF.mjs} +1 -1
  38. package/dist/components/Blocks/Banner.js +1 -1
  39. package/dist/components/Blocks/Banner.mjs +1 -1
  40. package/dist/components/Blocks/CallToAction.js +1 -1
  41. package/dist/components/Blocks/CallToAction.mjs +1 -1
  42. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  43. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  44. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  45. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  46. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  47. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  48. package/dist/components/Blocks/Content.js +1 -1
  49. package/dist/components/Blocks/Content.mjs +1 -1
  50. package/dist/components/Blocks/Content.stories.js +1 -1
  51. package/dist/components/Blocks/Content.stories.mjs +1 -1
  52. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  53. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  54. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  55. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  56. package/dist/components/Blocks/RelatedPosts.js +1 -1
  57. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  58. package/dist/components/Blocks/RenderBlocks.js +1 -1
  59. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  60. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  61. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  62. package/dist/components/Blocks/index.js +1 -1
  63. package/dist/components/Blocks/index.mjs +1 -1
  64. package/dist/components/Cards/ContentCard.js +1 -1
  65. package/dist/components/Cards/ContentCard.mjs +1 -1
  66. package/dist/components/Cards/ContentCard.stories.js +1 -1
  67. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  68. package/dist/components/Cards/FeatureCard.js +1 -1
  69. package/dist/components/Cards/FeatureCard.mjs +1 -1
  70. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  71. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  72. package/dist/components/Cards/index.js +4 -4
  73. package/dist/components/Cards/index.mjs +1 -1
  74. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  75. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  76. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  77. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  78. package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
  79. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  80. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  81. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  82. package/dist/components/HeaderFooter/index.js +1 -1
  83. package/dist/components/HeaderFooter/index.mjs +1 -1
  84. package/dist/components/Heros/HighImpact/index.js +1 -1
  85. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  86. package/dist/components/Heros/LowImpact/index.js +1 -1
  87. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  88. package/dist/components/Heros/MediumImpact/index.js +1 -1
  89. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  90. package/dist/components/Heros/PostHero/index.mjs +1 -1
  91. package/dist/components/Heros/RenderHero.js +1 -1
  92. package/dist/components/Heros/RenderHero.mjs +1 -1
  93. package/dist/components/Heros/index.js +1 -1
  94. package/dist/components/Heros/index.mjs +1 -1
  95. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  96. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  97. package/dist/components/Holidays/index.mjs +1 -1
  98. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  99. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  100. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  101. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  102. package/dist/components/Layouts/Print.js +1 -1
  103. package/dist/components/Layouts/Print.mjs +1 -1
  104. package/dist/components/Layouts/Print.stories.js +1 -1
  105. package/dist/components/Layouts/Print.stories.mjs +1 -1
  106. package/dist/components/Layouts/SlideShow.js +1 -1
  107. package/dist/components/Layouts/SlideShow.mjs +1 -1
  108. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  109. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  110. package/dist/components/Layouts/index.js +1 -1
  111. package/dist/components/Layouts/index.mjs +1 -1
  112. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  113. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  114. package/dist/components/Menus/SidebarRight.mjs +1 -1
  115. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  116. package/dist/components/Menus/index.mjs +1 -1
  117. package/dist/components/Payload/RichText/index.js +1 -1
  118. package/dist/components/Payload/RichText/index.mjs +1 -1
  119. package/dist/components/Payload/RichText/serialize.js +1 -1
  120. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  121. package/dist/components/Payload/RichText.stories.js +1 -1
  122. package/dist/components/Payload/RichText.stories.mjs +1 -1
  123. package/dist/components/Payload/index.js +1 -1
  124. package/dist/components/Payload/index.mjs +1 -1
  125. package/dist/components/index.js +3 -3
  126. package/dist/components/index.mjs +1 -1
  127. package/dist/components/ui/index.mjs +1 -1
  128. package/dist/components/ui/sidebar.mjs +1 -1
  129. package/dist/index.js +4 -4
  130. package/dist/index.mjs +1 -1
  131. package/dist/metafile-cjs.json +1 -1
  132. package/dist/metafile-esm.json +1 -1
  133. package/dist/pages/Blog.js +1 -1
  134. package/dist/pages/Blog.mjs +1 -1
  135. package/dist/pages/Blog.stories.js +1 -1
  136. package/dist/pages/Blog.stories.mjs +1 -1
  137. package/dist/pages/Documentation.mjs +1 -1
  138. package/dist/pages/Documentation.stories.mjs +1 -1
  139. package/dist/pages/IndexPage.mjs +1 -1
  140. package/dist/pages/IndexPage.stories.mjs +1 -1
  141. package/dist/pages/Intranet.mjs +1 -1
  142. package/dist/pages/Intranet.stories.mjs +1 -1
  143. package/dist/pages/LandingPage.js +1 -1
  144. package/dist/pages/LandingPage.mjs +1 -1
  145. package/dist/pages/LandingPage.stories.js +1 -1
  146. package/dist/pages/LandingPage.stories.mjs +1 -1
  147. package/dist/pages/Page.js +1 -1
  148. package/dist/pages/Page.mjs +1 -1
  149. package/dist/pages/Page.stories.js +1 -1
  150. package/dist/pages/Page.stories.mjs +1 -1
  151. package/dist/pages/Printable.stories.js +1 -1
  152. package/dist/pages/Printable.stories.mjs +1 -1
  153. package/dist/pages/Publish.js +1 -1
  154. package/dist/pages/Publish.mjs +1 -1
  155. package/dist/pages/Publish.stories.js +1 -1
  156. package/dist/pages/Publish.stories.mjs +1 -1
  157. package/dist/pages/Website.js +1 -1
  158. package/dist/pages/Website.mjs +1 -1
  159. package/dist/pages/Website.stories.js +1 -1
  160. package/dist/pages/Website.stories.mjs +1 -1
  161. package/dist/sections/AboutSection.js +1 -1
  162. package/dist/sections/AboutSection.mjs +1 -1
  163. package/dist/sections/AboutSection.stories.js +1 -1
  164. package/dist/sections/AboutSection.stories.mjs +1 -1
  165. package/dist/sections/BlogDetail.js +1 -1
  166. package/dist/sections/BlogDetail.mjs +1 -1
  167. package/dist/sections/BlogDetail.stories.js +1 -1
  168. package/dist/sections/BlogDetail.stories.mjs +1 -1
  169. package/dist/sections/BlogList.js +1 -1
  170. package/dist/sections/BlogList.mjs +1 -1
  171. package/dist/sections/BlogList.stories.js +1 -1
  172. package/dist/sections/BlogList.stories.mjs +1 -1
  173. package/dist/sections/BlogListSection.mjs +1 -1
  174. package/dist/sections/BlogListSection.stories.mjs +1 -1
  175. package/dist/sections/ContactSection.js +1 -1
  176. package/dist/sections/ContactSection.mjs +1 -1
  177. package/dist/sections/ContactSection.stories.js +1 -1
  178. package/dist/sections/ContactSection.stories.mjs +1 -1
  179. package/dist/sections/ImageSection.stories.js +1 -1
  180. package/dist/sections/ImageSection.stories.mjs +1 -1
  181. package/dist/sections/PageSections.js +1 -1
  182. package/dist/sections/PageSections.mjs +1 -1
  183. package/dist/sections/PageSections.stories.js +1 -1
  184. package/dist/sections/PageSections.stories.mjs +1 -1
  185. package/dist/sections/PricingSection.js +1 -1
  186. package/dist/sections/PricingSection.mjs +1 -1
  187. package/dist/sections/PricingSection.stories.js +1 -1
  188. package/dist/sections/PricingSection.stories.mjs +1 -1
  189. package/dist/sections/ServiceDetail.js +1 -1
  190. package/dist/sections/ServiceDetail.mjs +1 -1
  191. package/dist/sections/ServiceDetailSection.js +1 -1
  192. package/dist/sections/ServiceDetailSection.mjs +1 -1
  193. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  194. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  195. package/dist/sections/ServiceSection.js +1 -1
  196. package/dist/sections/ServiceSection.mjs +1 -1
  197. package/dist/sections/ServiceSection.stories.js +1 -1
  198. package/dist/sections/ServiceSection.stories.mjs +1 -1
  199. package/dist/sections/index.js +1 -1
  200. package/dist/sections/index.mjs +1 -1
  201. package/package.json +1 -1
  202. package/dist/chunk-F75HZ4ID.mjs +0 -4
  203. package/dist/chunk-LM3PDZJ4.mjs +0 -4
  204. package/dist/chunk-WWAAWBLR.mjs +0 -1
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var Pt=Object.create;var re=Object.defineProperty;var St=Object.getOwnPropertyDescriptor;var Tt=Object.getOwnPropertyNames;var It=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty;var Mt=(e,t)=>{for(var r in t)re(e,r,{get:t[r],enumerable:!0})},Ue=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Tt(t))!Rt.call(e,n)&&n!==r&&re(e,n,{get:()=>t[n],enumerable:!(a=St(t,n))||a.enumerable});return e};var G=(e,t,r)=>(r=e!=null?Pt(It(e)):{},Ue(t||!e||!e.__esModule?re(r,"default",{value:e,enumerable:!0}):r,e)),Ft=e=>Ue(re({},"__esModule",{value:!0}),e);var Nr={};Mt(Nr,{Default:()=>At,default:()=>vr,longTextArea:()=>Cr,longTitle:()=>kr});module.exports=Ft(Nr);var Nt=G(require("react")),V=G(require("@radix-ui/react-collapsible")),fe=require("@radix-ui/react-icons");var Ke=require("clsx");var we="-",zt=e=>{let t=Gt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let l=s.split(we);return l[0]===""&&l.length!==1&&l.shift(),Oe(l,t)||Et(s)},getConflictingClassGroupIds:(s,l)=>{let d=r[s]||[];return l&&a[s]?[...d,...a[s]]:d}}},Oe=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Oe(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(we);return t.validators.find(({validator:s})=>s(o))?.classGroupId},je=/^\[(.+)\]$/,Et=e=>{if(je.test(e)){let t=je.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Gt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Dt(Object.entries(e.classGroups),r).forEach(([o,s])=>{ve(s,a,o,t)}),a},ve=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:He(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Lt(n)){ve(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{ve(s,He(t,o),r,a)})})},He=(e,t)=>{let r=e;return t.split(we).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Lt=e=>e.isThemeGetter,Dt=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,l])=>[t+s,l])):o);return[r,n]}):e,Ut=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},Ye="!",jt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=l=>{let d=[],p=0,u=0,k;for(let h=0;h<l.length;h++){let v=l[h];if(p===0){if(v===n&&(a||l.slice(h,h+o)===t)){d.push(l.slice(u,h)),u=h+o;continue}if(v==="/"){k=h;continue}}v==="["?p++:v==="]"&&p--}let w=d.length===0?l:l.substring(u),A=w.startsWith(Ye),B=A?w.substring(1):w,x=k&&k>u?k-u:void 0;return{modifiers:d,hasImportantModifier:A,baseClassName:B,maybePostfixModifierPosition:x}};return r?l=>r({className:l,parseClassName:s}):s},Ht=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ot=e=>({cache:Ut(e.cacheSize),parseClassName:jt(e),...zt(e)}),Yt=/\s+/,qt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Yt),l="";for(let d=s.length-1;d>=0;d-=1){let p=s[d],{modifiers:u,hasImportantModifier:k,baseClassName:w,maybePostfixModifierPosition:A}=r(p),B=!!A,x=a(B?w.substring(0,A):w);if(!x){if(!B){l=p+(l.length>0?" "+l:l);continue}if(x=a(w),!x){l=p+(l.length>0?" "+l:l);continue}B=!1}let h=Ht(u).join(":"),v=k?h+Ye:h,C=v+x;if(o.includes(C))continue;o.push(C);let E=n(x,B);for(let T=0;T<E.length;++T){let $=E[T];o.push(v+$)}l=p+(l.length>0?" "+l:l)}return l};function Qt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=qe(t))&&(a&&(a+=" "),a+=r);return a}var qe=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=qe(e[a]))&&(r&&(r+=" "),r+=t);return r};function Vt(e,...t){let r,a,n,o=s;function s(d){let p=t.reduce((u,k)=>k(u),e());return r=Ot(p),a=r.cache.get,n=r.cache.set,o=l,l(d)}function l(d){let p=a(d);if(p)return p;let u=qt(d,r);return n(d,u),u}return function(){return o(Qt.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Qe=/^\[(?:([a-oe-]+):)?(.+)\]$/i,Wt=/^\d+\/\d+$/,Kt=new Set(["px","full","screen"]),Jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xt=/\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$/,Zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_t=/^(inset_)?-?((\d+)?\.?(\d+)[a-oe]+|0)_-?((\d+)?\.?(\d+)[a-oe]+|0)/,$t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>O(e)||Kt.has(e)||Wt.test(e),L=e=>Y(e,"length",lr),O=e=>!!e&&!Number.isNaN(Number(e)),he=e=>Y(e,"number",O),K=e=>!!e&&Number.isInteger(Number(e)),er=e=>e.endsWith("%")&&O(e.slice(0,-1)),c=e=>Qe.test(e),D=e=>Jt.test(e),tr=new Set(["length","size","percentage"]),rr=e=>Y(e,tr,Ve),or=e=>Y(e,"position",Ve),ar=new Set(["image","url"]),nr=e=>Y(e,ar,cr),sr=e=>Y(e,"",ir),J=()=>!0,Y=(e,t,r)=>{let a=Qe.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},lr=e=>Xt.test(e)&&!Zt.test(e),Ve=()=>!1,ir=e=>_t.test(e),cr=e=>$t.test(e);var dr=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),a=f("brightness"),n=f("borderColor"),o=f("borderRadius"),s=f("borderSpacing"),l=f("borderWidth"),d=f("contrast"),p=f("grayscale"),u=f("hueRotate"),k=f("invert"),w=f("gap"),A=f("gradientColorStops"),B=f("gradientColorStopPositions"),x=f("inset"),h=f("margin"),v=f("opacity"),C=f("padding"),E=f("saturate"),T=f("scale"),$=f("sepia"),Me=f("skew"),Fe=f("space"),ze=f("translate"),ge=()=>["auto","contain","none"],be=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",c,t],b=()=>[c,t],Ee=()=>["",F,L],ee=()=>["auto",O,c],Ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],te=()=>["solid","dashed","dotted","double","none"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xe=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",c],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[O,c];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[F,L],blur:["none","",D,c],brightness:M(),borderColor:[e],borderRadius:["none","","full",D,c],borderSpacing:b(),borderWidth:Ee(),contrast:M(),grayscale:W(),hueRotate:M(),invert:W(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[er,L],inset:ye(),margin:ye(),opacity:M(),padding:b(),saturate:M(),scale:M(),sepia:W(),skew:M(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"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:[...Ge(),c]}],overflow:[{overflow:be()}],"overflow-x":[{"overflow-x":be()}],"overflow-oe":[{"overflow-oe":be()}],overscroll:[{overscroll:ge()}],"overscroll-x":[{"overscroll-x":ge()}],"overscroll-oe":[{"overscroll-oe":ge()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-oe":[{"inset-oe":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],oe:[{oe:["auto",K,c]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",K,c]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",K,c]},c]}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[K,c]},c]}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-oe":[{"gap-oe":[w]}],"justify-content":[{justify:["normal",...xe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...xe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...xe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],oe:[{oe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],oe:[{oe:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[Fe]}],"space-x-reverse":["space-x-reverse"],"space-oe":[{"space-oe":[Fe]}],"space-oe-reverse":["space-oe-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[D]},D]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",D,L]}],"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:[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",c]}],"line-clamp":[{"line-clamp":["none",O,he]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,L]}],"underline-offset":[{"underline-offset":["auto",F,c]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ge(),or]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","oe","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",rr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},nr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-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:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-oe":[{"border-oe":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...te(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-oe":[{"divide-oe":[l]}],"divide-oe-reverse":["divide-oe-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:te()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-oe":[{"border-oe":[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:["",...te()]}],"outline-offset":[{"outline-offset":[F,c]}],"outline-w":[{outline:[F,L]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[F,L]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",D,sr]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",D,c]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[k]}],saturate:[{saturate:[E]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[k]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-oe":[{"border-spacing-oe":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-oe":[{"scale-oe":[T]}],rotate:[{rotate:[K,c]}],"translate-x":[{"translate-x":[ze]}],"translate-oe":[{"translate-oe":[ze]}],"skew-x":[{"skew-x":[Me]}],"skew-oe":[{"skew-oe":[Me]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","oe","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-oe":[{"scroll-oe":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-oe":[{"scroll-oe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","oe","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-oe":[{"touch-pan":["oe","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[F,L,he]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-oe"],overscroll:["overscroll-x","overscroll-oe"],inset:["inset-x","inset-oe","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-oe":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-oe"],p:["px","py","ps","oe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],oe:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-oe"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-oe":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-oe":["border-color-t","border-color-b"],"scroll-oe":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-oe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-oe","touch-pz"],"touch-x":["touch"],"touch-oe":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var We=Vt(dr);function i(...e){return We((0,Ke.clsx)(e))}var oe=require("react/jsx-runtime"),Je=({className:e,content:t,style:r})=>(0,oe.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,oe.jsx)("div",{className:i("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,oe.jsx)(I,{content:t,enableGutter:!1,enableProse:!1})})});var nt=require("react");var Xe=require("@radix-ui/react-slot"),Ze=require("class-variance-authority"),_e=G(require("react")),pr=(0,Ze.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),U=_e.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,$e.jsx)(e?Xe.Slot:"button",{className:i(pr({className:t,size:r,variant:a})),ref:o,...n}));U.displayName="Button";var ke=G(require("next/link")),Z=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:l,size:d,url:p}=e,u=t==="reference"&&typeof l?.value=="object"&&l.value.slug?`${l?.relationTo!=="pages"?`/${l?.relationTo}`:""}/${l.value.slug}`:p;if(!u)return null;let k=r==="link"?"clear":d,w=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,oe.jsxs)(ke.default,{className:i(n),href:u||p||"",...w,children:[o&&o,a&&a]}):(0,oe.jsx)(U,{asChild:!0,className:n,size:k,variant:r,children:(0,oe.jsxs)(ke.default,{className:i(n),href:u||p||"",...w,children:[o&&o,a&&a]})})};function ae({className:e}){return i("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 mr({className:e,...t}){return(0,oe.jsx)("input",{...t,className:ae({className:e})})}function ne({icon:e,...t}){return(0,oe.jsxs)("div",{className:"relative w-full",children:[(0,oe.jsx)(mr,{...t}),e&&(0,oe.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-oe-1/2 text-accent",children:e})]})}function ur({className:e,...t}){return(0,oe.jsx)("textarea",{...t,className:i(ae({}),"resize-none md:min-h-[130px]",e)})}function et({icon:e,...t}){return(0,oe.jsxs)("div",{className:"relative w-full",children:[(0,oe.jsx)(ur,{...t}),e&&(0,oe.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var rt=require("formik"),ot=require("react-icons/fa6"),j=G(require("yup"));async function tt(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let l=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ce=require("sonner"),P={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},fr=j.object().shape({name:j.string().min(2,P.tooShort).max(50,P.tooLong).required(P.required),email:j.string().email(P.email).required(P.required),subject:j.string().min(2,P.tooShort).max(50,P.tooLong).required(P.required),message:j.string().min(2,P.tooShort).max(300,P.tooLong).required(P.required)}),se=i("!pr-[44px] text-foreground"),le=i("!border-red-600 border"),ie=i("sr-only");function at(){return(0,oe.jsx)(rt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:fr,onSubmit:async(e,{resetForm:t})=>{let r=await tt(e);r.data===null?Ce.toast.error(r.message):(Ce.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,oe.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,oe.jsxs)("div",{children:[(0,oe.jsx)(ne,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,oe.jsx)(ot.FaUser,{className:"text-primary"}),className:i(se,e.name&&t.name&&le)}),e.name&&t.name&&(0,oe.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ie,children:e.name})]}),(0,oe.jsxs)("div",{children:[(0,oe.jsx)(ne,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,oe.jsx)(gr,{}),className:i(se,e.email&&t.email&&le)}),e.email&&t.email&&(0,oe.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ie,children:e.email})]}),(0,oe.jsxs)("div",{className:"lg:col-span-2",children:[(0,oe.jsx)(ne,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:i(se,e.subject&&t.subject&&le)}),e.subject&&t.subject&&(0,oe.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ie,children:e.subject})]}),(0,oe.jsxs)("div",{className:"lg:col-span-2",children:[(0,oe.jsx)(et,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,oe.jsx)(br,{}),className:i(se,e.message&&t.message&&le)}),e.message&&t.message&&(0,oe.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ie,children:e.message})]}),(0,oe.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,oe.jsx)(U,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function gr(){return(0,oe.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,oe.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 br(){return(0,oe.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,oe.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var st=({links:e,richText:t})=>{let[r,a]=(0,nt.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),l=d=>{d.target===d.currentTarget&&s()};return(0,oe.jsxs)("div",{className:i("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,oe.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,oe.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,oe.jsx)(I,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,oe.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,oe.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:d},p)=>d?.url==="/contact"?(0,oe.jsx)("div",{onClick:o,className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:d.label},p):(0,oe.jsx)(Z,{size:"lg",className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...d},p))})})]})}),r&&(0,oe.jsx)("div",{className:"absolute inset-0 oe-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:(0,oe.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,oe.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,oe.jsx)(at,{})," "]})})]})};var ce=require("prism-react-renderer");var lt=require("lucide-react");function ct({code:e}){let[t,r]=(0,nt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,oe.jsx)("div",{className:"flex justify-end align-middle",children:(0,oe.jsxs)(U,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,oe.jsx)("p",{children:t}),(0,oe.jsx)("div",{className:"w-6 h-6",children:(0,oe.jsx)(lt.ClipboardCopy,{})})]})})}var dt=({code:e,language:t=""})=>e?(0,oe.jsx)(ce.Highlight,{code:e,language:t,theme:ce.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,oe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,oe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,oe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,oe.jsx)("span",{className:"table-cell pl-4",children:o.map((l,d)=>(0,oe.jsx)("span",{...a({token:l})},d))})]},s)),(0,oe.jsx)(ct,{code:e})]})}):null;var pt=({className:e,code:t,language:r})=>(0,oe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,oe.jsx)(dt,{code:t,language:r})});var ut=G(require("next/image")),yr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},mt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",ft=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:l,loading:d}=e,p,u,k=t,w=l||"";if(!w&&o&&typeof o=="object"){let{alt:x,filename:h,height:v,url:C,width:E}=o;if(v&&v>500){let T=500/v;p=E*T,u=v*T}else p=E,u=v;k=x||"",w=C||mt}let A=d||"lazy",B=s||Object.entries(yr).map(([,x])=>`(max-width: ${x}px) ${x*2}w`).join(", ");return(0,oe.jsx)("picture",{children:(0,oe.jsx)(ut.default,{alt:k||"",className:i(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:mt,priority:A!=="lazy"&&n,quality:100,loading:A,sizes:B,src:w,width:r?void 0:p})})};var gt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,nt.useRef)(null);if((0,nt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,oe.jsx)("video",{autoPlay:!0,className:i(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,oe.jsx)("source",{src:r.url||""})})}return null};var me=e=>{let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&a?.mimeType?.includes("video");return(0,oe.jsx)(r||nt.Fragment,{...r!==null?{className:t}:{},children:n?(0,oe.jsx)(gt,{...e}):(0,oe.jsx)(ft,{...e})})};var yt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,oe.jsx)("div",{className:i("h-full ",{container:r},t),children:(0,oe.jsx)(me,{imgClassName:i("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var xt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,oe.jsx)("div",{className:i("",{container:r},t),children:(0,oe.jsx)(me,{imgClassName:i("rounded-[0.8rem]",a),resource:n,src:o})})};var Te=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a??"",l=n+o+" fa-"+r+" "+s;return(0,oe.jsx)("i",{className:l})};var wt=G(require("next/image"));function vt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ie({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:l,className:d}){let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},u={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,oe.jsxs)("a",{href:l?.url||"#",className:i("min-w-56 max-w-xl h-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",s&&!e&&p[s?.card==="default"?"solid":s?.card],e&&"bg-foreground",s&&s?.card==="outline"?"text-gray-900":"text-white",u[s?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,d),children:[e&&(0,oe.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,oe.jsx)(wt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,oe.jsxs)("div",{className:i(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,oe.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,oe.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,oe.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,oe.jsx)(xr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:s?.card==="default"?"solid":s?.card??"solid",iconSize:s?.iconSize||"large"})}),n&&typeof n=="object"&&(0,oe.jsx)(I,{enableGutter:!1,content:n,enableProse:!1,className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-oe-3",s?.card==="outline"||s?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),n&&typeof n=="string"&&(0,oe.jsx)("div",{className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-oe-3",s?.card==="outline"||s?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),l&&l.url&&(0,oe.jsx)("div",{className:"mt-6",children:(0,oe.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:l?.label||"Find out more"})})]})]})}var xr=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,oe.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,oe.jsx)("div",{className:i(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),vt(e)&&(0,oe.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,oe.jsx)(Te,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,oe.jsxs)("div",{className:"flex flex-col gap-4",children:[vt(e)&&(0,oe.jsx)("div",{className:i("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,oe.jsx)(Te,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,oe.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,oe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,oe.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var kt=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,oe.jsxs)("section",{className:i(n?"w-full":"container",""),children:[(0,oe.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,oe.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,oe.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,oe.jsx)("div",{className:"mb-5 text-foreground",children:(0,oe.jsx)(I,{content:t,enableGutter:!1})})]}),(0,oe.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,s)=>{let l=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,oe.jsx)(Ie,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:l()??{type:"none",icon:null}},s)})})]});var ue=G(require("react"));function _({nodes:e}){return(0,oe.jsx)(ue.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,oe.jsx)(ue.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,oe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,oe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,oe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,oe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,oe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,oe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,oe.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,oe.jsx)("table",{children:(0,oe.jsx)("tbody",{children:t.children.map((o,s)=>(0,oe.jsx)("tr",{children:o.children.map((l,d)=>(0,oe.jsx)("td",{children:_({nodes:l.children})},d))},s))})},r);let a=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let s of o.children)"checked"in s&&(s?.checked||(s.checked=!1));return _({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o?.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,oe.jsx)(st,{...o},r);case"mediaBlock":return(0,oe.jsx)(yt,{className:"col-start-1 col-span-3",imgClassName:"oe-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,oe.jsx)(xt,{className:"col-start-1 col-span-3",imgClassName:"oe-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,oe.jsx)(Je,{className:"col-start-2 mb-4",...o},r);case"code":return(0,oe.jsx)(pt,{className:"col-start-2",...o},r);case"features":return(0,oe.jsx)(kt,{...o,nested:!0},r);case"reusableContentBlock":_({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,oe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,oe.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t?.tag;return(0,oe.jsx)(o,{className:"col-start-2",id:t?.id||"",children:n},r)}case"list":{let o=t?.tag;return(0,oe.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return t?.checked!=null?(0,oe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:n},r):(0,oe.jsx)("li",{value:t?.value,children:n},r);case"quote":return(0,oe.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,oe.jsx)(Z,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,oe.jsx)(Z,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var I=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>t?(0,oe.jsx)("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&_({nodes:t?.root?.children})}):null;var Re=({title:e,richText:t})=>{let[r,a]=Nt.default.useState(!1);return(0,oe.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,oe.jsxs)(V.Root,{className:i("w-full"),open:r,onOpenChange:a,children:[(0,oe.jsxs)(V.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,oe.jsx)("h2",{className:"text-lg font-medium",children:e}),r?(0,oe.jsx)(fe.ChevronUpIcon,{className:"h-6 w-6"}):(0,oe.jsx)(fe.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,oe.jsx)(V.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,oe.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,oe.jsx)(I,{content:t||{},enableGutter:!1})})})]})})};var hr={title:"Reusable Blocks/CollapsibleArea",component:Re},vr=hr,wr=e=>(0,oe.jsx)(Re,{...e}),At=wr.bind({});At.args={title:"Collapsible Area",richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}}};var kr={args:{title:"This is a long title that will wrap to the next line providing that the text is really long and does not fit in the available space. More text will be added to make sure that the title wraps to the next line.",richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}}}},Cr={args:{title:"Long text area",richText:{root:{type:"root",format:"",indent:0,version:1,children:[{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Ways of Working",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"We want to build a company culture where effort is recognised and rewarded, therefore we would like to set out some guidelines.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Effort Matters:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Every team member\u2019s contributions, big or small, are valued and noticed.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Commitment to Excellence:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Deliver work with attention to quality and impact.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proactive Collaboration:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Support teammates and contribute to shared goals.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Working Hours",type:"text",style:"",detail:0,format:1,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Core Hours:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" All employees should be available from ",type:"text",style:"",detail:0,format:0,version:1},{mode:"normal",text:"08:30 to 17:30",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" to maintain collaboration and responsiveness during key business hours. Total working week 40 hours",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Flexible Working:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" We support flexibility outside core hours, allowing you to adjust your start and finish times as long as work priorities are met and team coordination remains unaffected.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"In-Office Day:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" To promote team culture, all employees are required to work ",type:"text",style:"",detail:0,format:0,version:1},{mode:"normal",text:"one day a week in their local office",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:". This day will be agreed upon within teams to ensure maximum participation and collaboration.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Holiday Process",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - TBC (confirmed once we have an App)",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Team Collaboration",type:"text",style:"",detail:0,format:1,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Bi-Weekly - ",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:"All employees must attend the Bi-Weekly team meeting at their local office or remotely via teams (optionally can travel to the remote office for the meeting if they wish)",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Bench Call",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Any employees on the bench must attend the daily bench call and provide updates on their progress.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"POD's",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Everyone should be actively involved with at least POD",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Cameras",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Camera should always be on during Teams calls",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0}],direction:"ltr"}}}};0&&(module.exports={Default,longTextArea,longTitle});
5
+ "use strict";var Pt=Object.create;var re=Object.defineProperty;var St=Object.getOwnPropertyDescriptor;var Tt=Object.getOwnPropertyNames;var It=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty;var Mt=(e,t)=>{for(var r in t)re(e,r,{get:t[r],enumerable:!0})},Ue=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Tt(t))!Rt.call(e,n)&&n!==r&&re(e,n,{get:()=>t[n],enumerable:!(a=St(t,n))||a.enumerable});return e};var G=(e,t,r)=>(r=e!=null?Pt(It(e)):{},Ue(t||!e||!e.__esModule?re(r,"default",{value:e,enumerable:!0}):r,e)),Ft=e=>Ue(re({},"__esModule",{value:!0}),e);var Nr={};Mt(Nr,{Default:()=>At,default:()=>vr,longTextArea:()=>Cr,longTitle:()=>kr});module.exports=Ft(Nr);var Nt=G(require("react")),V=G(require("@radix-ui/react-collapsible")),fe=require("@radix-ui/react-icons");var Ke=require("clsx");var we="-",zt=e=>{let t=Gt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let l=s.split(we);return l[0]===""&&l.length!==1&&l.shift(),Oe(l,t)||Et(s)},getConflictingClassGroupIds:(s,l)=>{let d=r[s]||[];return l&&a[s]?[...d,...a[s]]:d}}},Oe=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Oe(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(we);return t.validators.find(({validator:s})=>s(o))?.classGroupId},je=/^\[(.+)\]$/,Et=e=>{if(je.test(e)){let t=je.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Gt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Dt(Object.entries(e.classGroups),r).forEach(([o,s])=>{ve(s,a,o,t)}),a},ve=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:He(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Lt(n)){ve(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{ve(s,He(t,o),r,a)})})},He=(e,t)=>{let r=e;return t.split(we).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Lt=e=>e.isThemeGetter,Dt=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,l])=>[t+s,l])):o);return[r,n]}):e,Ut=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},Ye="!",jt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=l=>{let d=[],p=0,u=0,k;for(let h=0;h<l.length;h++){let v=l[h];if(p===0){if(v===n&&(a||l.slice(h,h+o)===t)){d.push(l.slice(u,h)),u=h+o;continue}if(v==="/"){k=h;continue}}v==="["?p++:v==="]"&&p--}let w=d.length===0?l:l.substring(u),A=w.startsWith(Ye),B=A?w.substring(1):w,x=k&&k>u?k-u:void 0;return{modifiers:d,hasImportantModifier:A,baseClassName:B,maybePostfixModifierPosition:x}};return r?l=>r({className:l,parseClassName:s}):s},Ht=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ot=e=>({cache:Ut(e.cacheSize),parseClassName:jt(e),...zt(e)}),Yt=/\s+/,qt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Yt),l="";for(let d=s.length-1;d>=0;d-=1){let p=s[d],{modifiers:u,hasImportantModifier:k,baseClassName:w,maybePostfixModifierPosition:A}=r(p),B=!!A,x=a(B?w.substring(0,A):w);if(!x){if(!B){l=p+(l.length>0?" "+l:l);continue}if(x=a(w),!x){l=p+(l.length>0?" "+l:l);continue}B=!1}let h=Ht(u).join(":"),v=k?h+Ye:h,C=v+x;if(o.includes(C))continue;o.push(C);let E=n(x,B);for(let T=0;T<E.length;++T){let $=E[T];o.push(v+$)}l=p+(l.length>0?" "+l:l)}return l};function Qt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=qe(t))&&(a&&(a+=" "),a+=r);return a}var qe=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=qe(e[a]))&&(r&&(r+=" "),r+=t);return r};function Vt(e,...t){let r,a,n,o=s;function s(d){let p=t.reduce((u,k)=>k(u),e());return r=Ot(p),a=r.cache.get,n=r.cache.set,o=l,l(d)}function l(d){let p=a(d);if(p)return p;let u=qt(d,r);return n(d,u),u}return function(){return o(Qt.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Qe=/^\[(?:([a-oe-]+):)?(.+)\]$/i,Wt=/^\d+\/\d+$/,Kt=new Set(["px","full","screen"]),Jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xt=/\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$/,Zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_t=/^(inset_)?-?((\d+)?\.?(\d+)[a-oe]+|0)_-?((\d+)?\.?(\d+)[a-oe]+|0)/,$t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>O(e)||Kt.has(e)||Wt.test(e),L=e=>Y(e,"length",lr),O=e=>!!e&&!Number.isNaN(Number(e)),he=e=>Y(e,"number",O),K=e=>!!e&&Number.isInteger(Number(e)),er=e=>e.endsWith("%")&&O(e.slice(0,-1)),c=e=>Qe.test(e),D=e=>Jt.test(e),tr=new Set(["length","size","percentage"]),rr=e=>Y(e,tr,Ve),or=e=>Y(e,"position",Ve),ar=new Set(["image","url"]),nr=e=>Y(e,ar,cr),sr=e=>Y(e,"",ir),J=()=>!0,Y=(e,t,r)=>{let a=Qe.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},lr=e=>Xt.test(e)&&!Zt.test(e),Ve=()=>!1,ir=e=>_t.test(e),cr=e=>$t.test(e);var dr=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),a=f("brightness"),n=f("borderColor"),o=f("borderRadius"),s=f("borderSpacing"),l=f("borderWidth"),d=f("contrast"),p=f("grayscale"),u=f("hueRotate"),k=f("invert"),w=f("gap"),A=f("gradientColorStops"),B=f("gradientColorStopPositions"),x=f("inset"),h=f("margin"),v=f("opacity"),C=f("padding"),E=f("saturate"),T=f("scale"),$=f("sepia"),Me=f("skew"),Fe=f("space"),ze=f("translate"),ge=()=>["auto","contain","none"],be=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",c,t],b=()=>[c,t],Ee=()=>["",F,L],ee=()=>["auto",O,c],Ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],te=()=>["solid","dashed","dotted","double","none"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xe=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",c],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[O,c];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[F,L],blur:["none","",D,c],brightness:M(),borderColor:[e],borderRadius:["none","","full",D,c],borderSpacing:b(),borderWidth:Ee(),contrast:M(),grayscale:W(),hueRotate:M(),invert:W(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[er,L],inset:ye(),margin:ye(),opacity:M(),padding:b(),saturate:M(),scale:M(),sepia:W(),skew:M(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"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:[...Ge(),c]}],overflow:[{overflow:be()}],"overflow-x":[{"overflow-x":be()}],"overflow-oe":[{"overflow-oe":be()}],overscroll:[{overscroll:ge()}],"overscroll-x":[{"overscroll-x":ge()}],"overscroll-oe":[{"overscroll-oe":ge()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-oe":[{"inset-oe":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],oe:[{oe:["auto",K,c]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",K,c]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",K,c]},c]}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[K,c]},c]}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-oe":[{"gap-oe":[w]}],"justify-content":[{justify:["normal",...xe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...xe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...xe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],oe:[{oe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],oe:[{oe:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[Fe]}],"space-x-reverse":["space-x-reverse"],"space-oe":[{"space-oe":[Fe]}],"space-oe-reverse":["space-oe-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[D]},D]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",D,L]}],"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:[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",c]}],"line-clamp":[{"line-clamp":["none",O,he]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,L]}],"underline-offset":[{"underline-offset":["auto",F,c]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ge(),or]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","oe","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",rr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},nr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-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:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-oe":[{"border-oe":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...te(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-oe":[{"divide-oe":[l]}],"divide-oe-reverse":["divide-oe-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:te()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-oe":[{"border-oe":[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:["",...te()]}],"outline-offset":[{"outline-offset":[F,c]}],"outline-w":[{outline:[F,L]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[F,L]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",D,sr]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",D,c]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[k]}],saturate:[{saturate:[E]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[k]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-oe":[{"border-spacing-oe":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-oe":[{"scale-oe":[T]}],rotate:[{rotate:[K,c]}],"translate-x":[{"translate-x":[ze]}],"translate-oe":[{"translate-oe":[ze]}],"skew-x":[{"skew-x":[Me]}],"skew-oe":[{"skew-oe":[Me]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","oe","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-oe":[{"scroll-oe":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-oe":[{"scroll-oe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","oe","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-oe":[{"touch-pan":["oe","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[F,L,he]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-oe"],overscroll:["overscroll-x","overscroll-oe"],inset:["inset-x","inset-oe","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-oe":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-oe"],p:["px","py","ps","oe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],oe:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-oe"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-oe":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-oe":["border-color-t","border-color-b"],"scroll-oe":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-oe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-oe","touch-pz"],"touch-x":["touch"],"touch-oe":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var We=Vt(dr);function i(...e){return We((0,Ke.clsx)(e))}var oe=require("react/jsx-runtime"),Je=({className:e,content:t,style:r})=>(0,oe.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,oe.jsx)("div",{className:i("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,oe.jsx)(I,{content:t,enableGutter:!1,enableProse:!1})})});var nt=require("react");var Xe=require("@radix-ui/react-slot"),Ze=require("class-variance-authority"),_e=G(require("react")),pr=(0,Ze.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),U=_e.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,$e.jsx)(e?Xe.Slot:"button",{className:i(pr({className:t,size:r,variant:a})),ref:o,...n}));U.displayName="Button";var ke=G(require("next/link")),Z=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:l,size:d,url:p}=e,u=t==="reference"&&typeof l?.value=="object"&&l.value.slug?`${l?.relationTo!=="pages"?`/${l?.relationTo}`:""}/${l.value.slug}`:p;if(!u)return null;let k=r==="link"?"clear":d,w=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,oe.jsxs)(ke.default,{className:i(n),href:u||p||"",...w,children:[o&&o,a&&a]}):(0,oe.jsx)(U,{asChild:!0,className:n,size:k,variant:r,children:(0,oe.jsxs)(ke.default,{className:i(n),href:u||p||"",...w,children:[o&&o,a&&a]})})};function ae({className:e}){return i("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 mr({className:e,...t}){return(0,oe.jsx)("input",{...t,className:ae({className:e})})}function ne({icon:e,...t}){return(0,oe.jsxs)("div",{className:"relative w-full",children:[(0,oe.jsx)(mr,{...t}),e&&(0,oe.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-oe-1/2 text-accent",children:e})]})}function ur({className:e,...t}){return(0,oe.jsx)("textarea",{...t,className:i(ae({}),"resize-none md:min-h-[130px]",e)})}function et({icon:e,...t}){return(0,oe.jsxs)("div",{className:"relative w-full",children:[(0,oe.jsx)(ur,{...t}),e&&(0,oe.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var rt=require("formik"),ot=require("react-icons/fa6"),j=G(require("yup"));async function tt(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let l=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ce=require("sonner"),P={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},fr=j.object().shape({name:j.string().min(2,P.tooShort).max(50,P.tooLong).required(P.required),email:j.string().email(P.email).required(P.required),subject:j.string().min(2,P.tooShort).max(50,P.tooLong).required(P.required),message:j.string().min(2,P.tooShort).max(300,P.tooLong).required(P.required)}),se=i("!pr-[44px] text-foreground"),le=i("!border-red-600 border"),ie=i("sr-only");function at(){return(0,oe.jsx)(rt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:fr,onSubmit:async(e,{resetForm:t})=>{let r=await tt(e);r.data===null?Ce.toast.error(r.message):(Ce.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,oe.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,oe.jsxs)("div",{children:[(0,oe.jsx)(ne,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,oe.jsx)(ot.FaUser,{className:"text-primary"}),className:i(se,e.name&&t.name&&le)}),e.name&&t.name&&(0,oe.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ie,children:e.name})]}),(0,oe.jsxs)("div",{children:[(0,oe.jsx)(ne,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,oe.jsx)(gr,{}),className:i(se,e.email&&t.email&&le)}),e.email&&t.email&&(0,oe.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ie,children:e.email})]}),(0,oe.jsxs)("div",{className:"lg:col-span-2",children:[(0,oe.jsx)(ne,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:i(se,e.subject&&t.subject&&le)}),e.subject&&t.subject&&(0,oe.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ie,children:e.subject})]}),(0,oe.jsxs)("div",{className:"lg:col-span-2",children:[(0,oe.jsx)(et,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,oe.jsx)(br,{}),className:i(se,e.message&&t.message&&le)}),e.message&&t.message&&(0,oe.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ie,children:e.message})]}),(0,oe.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,oe.jsx)(U,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function gr(){return(0,oe.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,oe.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 br(){return(0,oe.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,oe.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var st=({links:e,richText:t})=>{let[r,a]=(0,nt.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),l=d=>{d.target===d.currentTarget&&s()};return(0,oe.jsxs)("div",{className:i("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,oe.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,oe.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,oe.jsx)(I,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,oe.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,oe.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:d},p)=>d?.url==="/contact"?(0,oe.jsx)("div",{onClick:o,className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:d.label},p):(0,oe.jsx)(Z,{size:"lg",className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...d},p))})})]})}),r&&(0,oe.jsx)("div",{className:"absolute inset-0 oe-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:(0,oe.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,oe.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,oe.jsx)(at,{})," "]})})]})};var ce=require("prism-react-renderer");var lt=require("lucide-react");function ct({code:e}){let[t,r]=(0,nt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,oe.jsx)("div",{className:"flex justify-end align-middle",children:(0,oe.jsxs)(U,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,oe.jsx)("p",{children:t}),(0,oe.jsx)("div",{className:"w-6 h-6",children:(0,oe.jsx)(lt.ClipboardCopy,{})})]})})}var dt=({code:e,language:t=""})=>e?(0,oe.jsx)(ce.Highlight,{code:e,language:t,theme:ce.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,oe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,oe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,oe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,oe.jsx)("span",{className:"table-cell pl-4",children:o.map((l,d)=>(0,oe.jsx)("span",{...a({token:l})},d))})]},s)),(0,oe.jsx)(ct,{code:e})]})}):null;var pt=({className:e,code:t,language:r})=>(0,oe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,oe.jsx)(dt,{code:t,language:r})});var ut=G(require("next/image")),yr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},mt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",ft=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:l,loading:d}=e,p,u,k=t,w=l||"";if(!w&&o&&typeof o=="object"){let{alt:x,filename:h,height:v,url:C,width:E}=o;if(v&&v>500){let T=500/v;p=E*T,u=v*T}else p=E,u=v;k=x||"",w=C||mt}let A=d||"lazy",B=s||Object.entries(yr).map(([,x])=>`(max-width: ${x}px) ${x*2}w`).join(", ");return(0,oe.jsx)("picture",{children:(0,oe.jsx)(ut.default,{alt:k||"",className:i(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:mt,priority:A!=="lazy"&&n,quality:100,loading:A,sizes:B,src:w,width:r?void 0:p})})};var gt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,nt.useRef)(null);if((0,nt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,oe.jsx)("video",{autoPlay:!0,className:i(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,oe.jsx)("source",{src:r.url||""})})}return null};var me=e=>{let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&a?.mimeType?.includes("video");return(0,oe.jsx)(r||nt.Fragment,{...r!==null?{className:t}:{},children:n?(0,oe.jsx)(gt,{...e}):(0,oe.jsx)(ft,{...e})})};var yt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,oe.jsx)("div",{className:i("h-full ",{container:r},t),children:(0,oe.jsx)(me,{imgClassName:i("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var xt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,oe.jsx)("div",{className:i("",{container:r},t),children:(0,oe.jsx)(me,{imgClassName:i("rounded-[0.8rem]",a),resource:n,src:o})})};var Te=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a??"",l=n+o+" fa-"+r+" "+s;return(0,oe.jsx)("i",{className:l})};var wt=G(require("next/image"));function vt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ie({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:l,className:d}){let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},u={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,oe.jsxs)("a",{href:l?.url||"#",className:i("min-w-56 max-w-xl h-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",s&&!e&&p[s?.card==="default"?"solid":s?.card],e&&"bg-foreground",s&&s?.card==="outline"?"text-gray-900":"text-white",u[s?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,d),children:[e&&(0,oe.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,oe.jsx)(wt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,oe.jsxs)("div",{className:i(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,oe.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,oe.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,oe.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,oe.jsx)(xr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:s?.card==="default"?"solid":s?.card??"solid",iconSize:s?.iconSize||"large"})}),n&&typeof n=="object"&&(0,oe.jsx)(I,{enableGutter:!1,content:n,enableProse:!1,className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-oe-3",s?.card==="outline"||s?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),n&&typeof n=="string"&&(0,oe.jsx)("div",{className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-oe-3",s?.card==="outline"||s?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),l&&l.url&&(0,oe.jsx)("div",{className:"mt-6",children:(0,oe.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:l?.label||"Find out more"})})]})]})}var xr=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,oe.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,oe.jsx)("div",{className:i(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),vt(e)&&(0,oe.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,oe.jsx)(Te,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,oe.jsxs)("div",{className:"flex flex-col gap-4",children:[vt(e)&&(0,oe.jsx)("div",{className:i("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,oe.jsx)(Te,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,oe.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,oe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,oe.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var kt=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,oe.jsxs)("section",{className:i(n?"w-full":"",""),children:[(0,oe.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,oe.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,oe.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,oe.jsx)("div",{className:"mb-5 text-foreground",children:(0,oe.jsx)(I,{content:t,enableGutter:!1})})]}),(0,oe.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,s)=>{let l=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,oe.jsx)(Ie,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:l()??{type:"none",icon:null}},s)})})]});var ue=G(require("react"));function _({nodes:e}){return(0,oe.jsx)(ue.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,oe.jsx)(ue.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,oe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,oe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,oe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,oe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,oe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,oe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,oe.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,oe.jsx)("table",{children:(0,oe.jsx)("tbody",{children:t.children.map((o,s)=>(0,oe.jsx)("tr",{children:o.children.map((l,d)=>(0,oe.jsx)("td",{children:_({nodes:l.children})},d))},s))})},r);let a=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let s of o.children)"checked"in s&&(s?.checked||(s.checked=!1));return _({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o?.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,oe.jsx)(st,{...o},r);case"mediaBlock":return(0,oe.jsx)(yt,{className:"col-start-1 col-span-3",imgClassName:"oe-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,oe.jsx)(xt,{className:"col-start-1 col-span-3",imgClassName:"oe-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,oe.jsx)(Je,{className:"col-start-2 mb-4",...o},r);case"code":return(0,oe.jsx)(pt,{className:"col-start-2",...o},r);case"features":return(0,oe.jsx)(kt,{...o,nested:!0},r);case"reusableContentBlock":_({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,oe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,oe.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t?.tag;return(0,oe.jsx)(o,{className:"col-start-2",id:t?.id||"",children:n},r)}case"list":{let o=t?.tag;return(0,oe.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return t?.checked!=null?(0,oe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:n},r):(0,oe.jsx)("li",{value:t?.value,children:n},r);case"quote":return(0,oe.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,oe.jsx)(Z,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,oe.jsx)(Z,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var I=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>t?(0,oe.jsx)("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&_({nodes:t?.root?.children})}):null;var Re=({title:e,richText:t})=>{let[r,a]=Nt.default.useState(!1);return(0,oe.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,oe.jsxs)(V.Root,{className:i("w-full"),open:r,onOpenChange:a,children:[(0,oe.jsxs)(V.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,oe.jsx)("h2",{className:"text-lg font-medium",children:e}),r?(0,oe.jsx)(fe.ChevronUpIcon,{className:"h-6 w-6"}):(0,oe.jsx)(fe.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,oe.jsx)(V.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,oe.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,oe.jsx)(I,{content:t||{},enableGutter:!1})})})]})})};var hr={title:"Reusable Blocks/CollapsibleArea",component:Re},vr=hr,wr=e=>(0,oe.jsx)(Re,{...e}),At=wr.bind({});At.args={title:"Collapsible Area",richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}}};var kr={args:{title:"This is a long title that will wrap to the next line providing that the text is really long and does not fit in the available space. More text will be added to make sure that the title wraps to the next line.",richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}}}},Cr={args:{title:"Long text area",richText:{root:{type:"root",format:"",indent:0,version:1,children:[{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Ways of Working",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"We want to build a company culture where effort is recognised and rewarded, therefore we would like to set out some guidelines.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Effort Matters:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Every team member\u2019s contributions, big or small, are valued and noticed.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Commitment to Excellence:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Deliver work with attention to quality and impact.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proactive Collaboration:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Support teammates and contribute to shared goals.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Working Hours",type:"text",style:"",detail:0,format:1,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Core Hours:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" All employees should be available from ",type:"text",style:"",detail:0,format:0,version:1},{mode:"normal",text:"08:30 to 17:30",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" to maintain collaboration and responsiveness during key business hours. Total working week 40 hours",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Flexible Working:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" We support flexibility outside core hours, allowing you to adjust your start and finish times as long as work priorities are met and team coordination remains unaffected.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"In-Office Day:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" To promote team culture, all employees are required to work ",type:"text",style:"",detail:0,format:0,version:1},{mode:"normal",text:"one day a week in their local office",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:". This day will be agreed upon within teams to ensure maximum participation and collaboration.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Holiday Process",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - TBC (confirmed once we have an App)",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Team Collaboration",type:"text",style:"",detail:0,format:1,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Bi-Weekly - ",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:"All employees must attend the Bi-Weekly team meeting at their local office or remotely via teams (optionally can travel to the remote office for the meeting if they wish)",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Bench Call",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Any employees on the bench must attend the daily bench call and provide updates on their progress.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"POD's",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Everyone should be actively involved with at least POD",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Cameras",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Camera should always be on during Teams calls",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0}],direction:"ltr"}}}};0&&(module.exports={Default,longTextArea,longTitle});
@@ -1 +1 @@
1
- import{a as t}from"../../chunk-2H6ELPBB.mjs";import"../../chunk-X7BL4XNE.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-DIAK5C43.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";import{jsx as i}from"react/jsx-runtime";var o={title:"Reusable Blocks/CollapsibleArea",component:t},n=o,r=e=>i(t,{...e}),a=r.bind({});a.args={title:"Collapsible Area",richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}}};var m={args:{title:"This is a long title that will wrap to the next line providing that the text is really long and does not fit in the available space. More text will be added to make sure that the title wraps to the next line.",richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}}}},d={args:{title:"Long text area",richText:{root:{type:"root",format:"",indent:0,version:1,children:[{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Ways of Working",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"We want to build a company culture where effort is recognised and rewarded, therefore we would like to set out some guidelines.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Effort Matters:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Every team member\u2019s contributions, big or small, are valued and noticed.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Commitment to Excellence:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Deliver work with attention to quality and impact.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proactive Collaboration:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Support teammates and contribute to shared goals.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Working Hours",type:"text",style:"",detail:0,format:1,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Core Hours:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" All employees should be available from ",type:"text",style:"",detail:0,format:0,version:1},{mode:"normal",text:"08:30 to 17:30",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" to maintain collaboration and responsiveness during key business hours. Total working week 40 hours",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Flexible Working:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" We support flexibility outside core hours, allowing you to adjust your start and finish times as long as work priorities are met and team coordination remains unaffected.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"In-Office Day:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" To promote team culture, all employees are required to work ",type:"text",style:"",detail:0,format:0,version:1},{mode:"normal",text:"one day a week in their local office",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:". This day will be agreed upon within teams to ensure maximum participation and collaboration.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Holiday Process",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - TBC (confirmed once we have an App)",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Team Collaboration",type:"text",style:"",detail:0,format:1,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Bi-Weekly - ",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:"All employees must attend the Bi-Weekly team meeting at their local office or remotely via teams (optionally can travel to the remote office for the meeting if they wish)",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Bench Call",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Any employees on the bench must attend the daily bench call and provide updates on their progress.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"POD's",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Everyone should be actively involved with at least POD",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Cameras",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Camera should always be on during Teams calls",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0}],direction:"ltr"}}}};export{a as Default,n as default,d as longTextArea,m as longTitle};
1
+ import{a as t}from"../../chunk-JLCWVIEP.mjs";import"../../chunk-5ALQQYYE.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-DIAK5C43.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";import{jsx as i}from"react/jsx-runtime";var o={title:"Reusable Blocks/CollapsibleArea",component:t},n=o,r=e=>i(t,{...e}),a=r.bind({});a.args={title:"Collapsible Area",richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}}};var m={args:{title:"This is a long title that will wrap to the next line providing that the text is really long and does not fit in the available space. More text will be added to make sure that the title wraps to the next line.",richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}}}},d={args:{title:"Long text area",richText:{root:{type:"root",format:"",indent:0,version:1,children:[{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Ways of Working",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"We want to build a company culture where effort is recognised and rewarded, therefore we would like to set out some guidelines.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Effort Matters:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Every team member\u2019s contributions, big or small, are valued and noticed.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Commitment to Excellence:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Deliver work with attention to quality and impact.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proactive Collaboration:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" Support teammates and contribute to shared goals.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Working Hours",type:"text",style:"",detail:0,format:1,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Core Hours:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" All employees should be available from ",type:"text",style:"",detail:0,format:0,version:1},{mode:"normal",text:"08:30 to 17:30",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" to maintain collaboration and responsiveness during key business hours. Total working week 40 hours",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Flexible Working:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" We support flexibility outside core hours, allowing you to adjust your start and finish times as long as work priorities are met and team coordination remains unaffected.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"In-Office Day:",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" To promote team culture, all employees are required to work ",type:"text",style:"",detail:0,format:0,version:1},{mode:"normal",text:"one day a week in their local office",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:". This day will be agreed upon within teams to ensure maximum participation and collaboration.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Holiday Process",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - TBC (confirmed once we have an App)",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Team Collaboration",type:"text",style:"",detail:0,format:1,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Bi-Weekly - ",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:"All employees must attend the Bi-Weekly team meeting at their local office or remotely via teams (optionally can travel to the remote office for the meeting if they wish)",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Bench Call",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Any employees on the bench must attend the daily bench call and provide updates on their progress.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"POD's",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Everyone should be actively involved with at least POD",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Cameras",type:"text",style:"",detail:0,format:1,version:1},{mode:"normal",text:" - Camera should always be on during Teams calls",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:1},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:" ",type:"text",style:"",detail:0,format:0,version:1}],direction:null,textStyle:"",textFormat:0}],direction:"ltr"}}}};export{a as Default,n as default,d as longTextArea,m as longTitle};