cortex-react-components 1.45.0 → 1.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/dist/{chunk-DTS4JPQL.mjs → chunk-2YRGNJX5.mjs} +1 -1
  2. package/dist/{chunk-ONQSAOHR.mjs → chunk-2ZTS6SHH.mjs} +1 -1
  3. package/dist/{chunk-2CA7EIET.mjs → chunk-3FKYVEVC.mjs} +1 -1
  4. package/dist/{chunk-3TIFSACL.mjs → chunk-4BZYZZOG.mjs} +1 -1
  5. package/dist/{chunk-O26I7JIU.mjs → chunk-6OISITAN.mjs} +1 -1
  6. package/dist/{chunk-AN6RPIXY.mjs → chunk-ALZWI32J.mjs} +1 -1
  7. package/dist/{chunk-S3QLIGWR.mjs → chunk-BITHUWFH.mjs} +1 -1
  8. package/dist/{chunk-CYECAKIW.mjs → chunk-BOZT7Z5K.mjs} +1 -1
  9. package/dist/{chunk-I2WBIJ5B.mjs → chunk-E25LNH27.mjs} +1 -1
  10. package/dist/{chunk-S5XXW3KY.mjs → chunk-E2ZOD2LR.mjs} +1 -1
  11. package/dist/chunk-EZVA3JCM.mjs +4 -0
  12. package/dist/{chunk-FRODLUFM.mjs → chunk-I5XYOFMQ.mjs} +1 -1
  13. package/dist/{chunk-KJV6IC7P.mjs → chunk-IA4YGV3H.mjs} +1 -1
  14. package/dist/chunk-ITZ5HFK6.mjs +1 -0
  15. package/dist/chunk-K4PEUFFR.mjs +1 -0
  16. package/dist/{chunk-DESYC5BB.mjs → chunk-KAJDV47B.mjs} +1 -1
  17. package/dist/{chunk-2ZCWTWNM.mjs → chunk-KJBMLPHS.mjs} +1 -1
  18. package/dist/{chunk-72Z4T7BT.mjs → chunk-KQE42INF.mjs} +1 -1
  19. package/dist/{chunk-5SEB2VCD.mjs → chunk-PV7GB4V4.mjs} +1 -1
  20. package/dist/{chunk-UYHCPHTK.mjs → chunk-QN76WE6K.mjs} +1 -1
  21. package/dist/{chunk-M6AAFZAZ.mjs → chunk-QRS4IJK7.mjs} +1 -1
  22. package/dist/{chunk-OBAM7FQJ.mjs → chunk-RRY5APZU.mjs} +1 -1
  23. package/dist/{chunk-PE5IHKVK.mjs → chunk-SV4QNVHW.mjs} +1 -1
  24. package/dist/{chunk-EDN7AU6R.mjs → chunk-TYLGC23Z.mjs} +1 -1
  25. package/dist/{chunk-56F5BZTQ.mjs → chunk-UNSOY5OU.mjs} +1 -1
  26. package/dist/{chunk-3QVZVSB3.mjs → chunk-UZZMVAS3.mjs} +1 -1
  27. package/dist/{chunk-GOMLTG5W.mjs → chunk-V7YLLLES.mjs} +1 -1
  28. package/dist/chunk-Y3L5THWA.mjs +4 -0
  29. package/dist/chunk-ZEFMFNSR.mjs +4 -0
  30. package/dist/{chunk-B7A7DBZJ.mjs → chunk-ZU4E2UO7.mjs} +1 -1
  31. package/dist/components/Blocks/Banner.mjs +1 -1
  32. package/dist/components/Blocks/CallToAction.mjs +1 -1
  33. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  34. package/dist/components/Blocks/Content.mjs +1 -1
  35. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  36. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  37. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  38. package/dist/components/Blocks/RenderBlocks.js +1 -1
  39. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  40. package/dist/components/Blocks/index.js +1 -1
  41. package/dist/components/Blocks/index.mjs +1 -1
  42. package/dist/components/CRM/KanbanBoard.d.ts +1 -1
  43. package/dist/components/CRM/KanbanBoard.js +1 -2
  44. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  45. package/dist/components/CRM/KanbanBoard.stories.js +1 -2
  46. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  47. package/dist/components/CRM/index.js +1 -2
  48. package/dist/components/CRM/index.mjs +1 -1
  49. package/dist/components/Cards/ContentCard.mjs +1 -1
  50. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  51. package/dist/components/Cards/index.mjs +1 -1
  52. package/dist/components/HeaderFooter/Header.mjs +1 -1
  53. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  54. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  55. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  56. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  57. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  58. package/dist/components/HeaderFooter/index.mjs +1 -1
  59. package/dist/components/Heros/HighImpact/index.js +1 -1
  60. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  61. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  62. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  63. package/dist/components/Heros/RenderHero.js +1 -1
  64. package/dist/components/Heros/RenderHero.mjs +1 -1
  65. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  66. package/dist/components/Heros/index.js +1 -1
  67. package/dist/components/Heros/index.mjs +1 -1
  68. package/dist/components/Holidays/ApproveLeave.stories.js +1 -1
  69. package/dist/components/Holidays/ApproveLeave.stories.mjs +1 -1
  70. package/dist/components/Holidays/HolidayGrid.d.ts +1 -1
  71. package/dist/components/Holidays/HolidayGrid.js +1 -1
  72. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  73. package/dist/components/Holidays/HolidayGrid.stories.js +1 -1
  74. package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
  75. package/dist/components/Holidays/HolidayTracker.js +1 -1
  76. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  77. package/dist/components/Holidays/HolidayTracker.stories.js +80 -80
  78. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  79. package/dist/components/Holidays/index.js +1 -1
  80. package/dist/components/Holidays/index.mjs +1 -1
  81. package/dist/components/Layouts/BlogList.mjs +1 -1
  82. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  83. package/dist/components/Layouts/SlideShow.js +1 -1
  84. package/dist/components/Layouts/SlideShow.mjs +1 -1
  85. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  86. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  87. package/dist/components/Layouts/index.js +3 -3
  88. package/dist/components/Layouts/index.mjs +1 -1
  89. package/dist/components/Menus/index.mjs +1 -1
  90. package/dist/components/Payload/RichText/index.mjs +1 -1
  91. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  92. package/dist/components/Payload/RichText.stories.mjs +1 -1
  93. package/dist/components/Payload/index.mjs +1 -1
  94. package/dist/components/index.js +3 -3
  95. package/dist/components/index.mjs +1 -1
  96. package/dist/globals.css +1 -1
  97. package/dist/index.js +6 -6
  98. package/dist/index.mjs +1 -1
  99. package/dist/metafile-cjs.json +1 -1
  100. package/dist/metafile-esm.json +1 -1
  101. package/dist/pages/Blog.mjs +1 -1
  102. package/dist/pages/Blog.stories.mjs +1 -1
  103. package/dist/pages/Documentation.mjs +1 -1
  104. package/dist/pages/Documentation.stories.mjs +1 -1
  105. package/dist/pages/IndexPage.mjs +1 -1
  106. package/dist/pages/IndexPage.stories.mjs +1 -1
  107. package/dist/pages/Intranet.mjs +1 -1
  108. package/dist/pages/Intranet.stories.mjs +1 -1
  109. package/dist/pages/LandingPage.mjs +1 -1
  110. package/dist/pages/LandingPage.stories.mjs +1 -1
  111. package/dist/pages/Page.js +1 -1
  112. package/dist/pages/Page.mjs +1 -1
  113. package/dist/pages/Page.stories.js +1 -1
  114. package/dist/pages/Page.stories.mjs +1 -1
  115. package/dist/pages/Publish.js +1 -1
  116. package/dist/pages/Publish.mjs +1 -1
  117. package/dist/pages/Publish.stories.js +1 -1
  118. package/dist/pages/Publish.stories.mjs +1 -1
  119. package/dist/pages/Website.js +1 -1
  120. package/dist/pages/Website.mjs +1 -1
  121. package/dist/pages/Website.stories.js +1 -1
  122. package/dist/pages/Website.stories.mjs +1 -1
  123. package/dist/payload-types.d.ts +233 -5
  124. package/dist/sections/AboutSection.mjs +1 -1
  125. package/dist/sections/AboutSection.stories.mjs +1 -1
  126. package/dist/sections/BlogDetail.mjs +1 -1
  127. package/dist/sections/BlogDetail.stories.mjs +1 -1
  128. package/dist/sections/BlogListSection.mjs +1 -1
  129. package/dist/sections/BlogListSection.stories.mjs +1 -1
  130. package/dist/sections/ContactSection.mjs +1 -1
  131. package/dist/sections/ContactSection.stories.mjs +1 -1
  132. package/dist/sections/ImageSection.stories.mjs +1 -1
  133. package/dist/sections/MainPageSection.js +1 -1
  134. package/dist/sections/MainPageSection.mjs +1 -1
  135. package/dist/sections/PricingSection.mjs +1 -1
  136. package/dist/sections/PricingSection.stories.mjs +1 -1
  137. package/dist/sections/index.js +1 -1
  138. package/dist/sections/index.mjs +1 -1
  139. package/package.json +1 -1
  140. package/dist/chunk-AN4F3ML3.mjs +0 -1
  141. package/dist/chunk-DN5B3CRB.mjs +0 -1
  142. package/dist/chunk-DSNHVMRZ.mjs +0 -4
  143. package/dist/chunk-JYBIEC4W.mjs +0 -4
  144. package/dist/chunk-KKPGN2TE.mjs +0 -4
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var kr=Object.create;var Se=Object.defineProperty;var Ar=Object.getOwnPropertyDescriptor;var Pr=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,Tr=Object.prototype.hasOwnProperty;var Br=(e,t)=>{for(var r in t)Se(e,r,{get:t[r],enumerable:!0})},ht=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Pr(t))!Tr.call(e,n)&&n!==r&&Se(e,n,{get:()=>t[n],enumerable:!(a=Ar(t,n))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?kr(Sr(e)):{},ht(t||!e||!e.__esModule?Se(r,"default",{value:e,enumerable:!0}):r,e)),Rr=e=>ht(Se({},"__esModule",{value:!0}),e);var Bo={};Br(Bo,{AboutSection:()=>uo,BlogDetail:()=>Po,BlogListSection:()=>xo,ContactSection:()=>ko,ImageSection:()=>To,MainPageSection:()=>So,PricingSection:()=>go,ServiceSection:()=>mo});module.exports=Rr(Bo);var Pt=require("clsx");var Xe="-",Ir=e=>{let t=Mr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Xe);return i[0]===""&&i.length!==1&&i.shift(),vt(i,t)||Lr(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},vt=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?vt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Xe);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},xt=/^\[(.+)\]$/,Lr=e=>{if(xt.test(e)){let t=xt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Mr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Dr(Object.entries(e.classGroups),r).forEach(([o,s])=>{Ze(s,a,o,t)}),a},Ze=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:yt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Er(n)){Ze(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{Ze(s,yt(t,o),r,a)})})},yt=(e,t)=>{let r=e;return t.split(Xe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Er=e=>e.isThemeGetter,Dr=(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,i])=>[t+s,i])):o);return[r,n]}):e,Fr=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)}}},wt="!",Hr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],p=0,f=0,g;for(let m=0;m<i.length;m++){let h=i[m];if(p===0){if(h===n&&(a||i.slice(m,m+o)===t)){c.push(i.slice(f,m)),f=m+o;continue}if(h==="/"){g=m;continue}}h==="["?p++:h==="]"&&p--}let u=c.length===0?i:i.substring(f),T=u.startsWith(wt),I=T?u.substring(1):u,C=g&&g>f?g-f:void 0;return{modifiers:c,hasImportantModifier:T,baseClassName:I,maybePostfixModifierPosition:C}};return r?i=>r({className:i,parseClassName:s}):s},zr=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},Ur=e=>({cache:Fr(e.cacheSize),parseClassName:Hr(e),...Ir(e)}),Gr=/\s+/,Or=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Gr),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:f,hasImportantModifier:g,baseClassName:u,maybePostfixModifierPosition:T}=r(p),I=!!T,C=a(I?u.substring(0,T):u);if(!C){if(!I){i=p+(i.length>0?" "+i:i);continue}if(C=a(u),!C){i=p+(i.length>0?" "+i:i);continue}I=!1}let m=zr(f).join(":"),h=g?m+wt:m,N=h+C;if(o.includes(N))continue;o.push(N);let j=n(C,I);for(let D=0;D<j.length;++D){let re=j[D];o.push(h+re)}i=p+(i.length>0?" "+i:i)}return i};function Vr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ct(t))&&(a&&(a+=" "),a+=r);return a}var Ct=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Ct(e[a]))&&(r&&(r+=" "),r+=t);return r};function Yr(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((f,g)=>g(f),e());return r=Ur(p),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let f=Or(c,r);return n(c,f),f}return function(){return o(Vr.apply(null,arguments))}}var A=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Nt=/^\[(?:([a-St-]+):)?(.+)\]$/i,$r=/^\d+\/\d+$/,Kr=new Set(["px","full","screen"]),jr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qr=/\d+(%|px|r?em|[sdl]?St([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(St|h|i|St|min|max))|\St(calc|min|max|clamp)\(.+\)|^0$/,_r=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Wr=/^(inset_)?-?((\d+)?\.?(\d+)[a-St]+|0)_-?((\d+)?\.?(\d+)[a-St]+|0)/,qr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_=e=>ce(e)||Kr.has(e)||$r.test(e),Z=e=>de(e,"length",ao),ce=e=>!!e&&!Number.isNaN(Number(e)),Je=e=>de(e,"number",ce),ye=e=>!!e&&Number.isInteger(Number(e)),Jr=e=>e.endsWith("%")&&ce(e.slice(0,-1)),d=e=>Nt.test(e),X=e=>jr.test(e),Zr=new Set(["length","size","percentage"]),Xr=e=>de(e,Zr,kt),eo=e=>de(e,"position",kt),to=new Set(["image","url"]),ro=e=>de(e,to,so),oo=e=>de(e,"",no),ve=()=>!0,de=(e,t,r)=>{let a=Nt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},ao=e=>Qr.test(e)&&!_r.test(e),kt=()=>!1,no=e=>Wr.test(e),so=e=>qr.test(e);var io=()=>{let e=A("colors"),t=A("spacing"),r=A("blur"),a=A("brightness"),n=A("borderColor"),o=A("borderRadius"),s=A("borderSpacing"),i=A("borderWidth"),c=A("contrast"),p=A("grayscale"),f=A("hueRotate"),g=A("invert"),u=A("gap"),T=A("gradientColorStops"),I=A("gradientColorStopPositions"),C=A("inset"),m=A("margin"),h=A("opacity"),N=A("padding"),j=A("saturate"),D=A("scale"),re=A("sepia"),dt=A("skew"),mt=A("space"),pt=A("translate"),Qe=()=>["auto","contain","none"],_e=()=>["auto","hidden","clip","visible","scroll"],We=()=>["auto",d,t],S=()=>[d,t],gt=()=>["",_,Z],Ae=()=>["auto",ce,d],ut=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Pe=()=>["solid","dashed","dotted","double","none"],ft=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],qe=()=>["start","end","center","between","around","evenly","stretch"],xe=()=>["","0",d],bt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[ce,d];return{cacheSize:500,separator:":",theme:{colors:[ve],spacing:[_,Z],blur:["none","",X,d],brightness:Q(),borderColor:[e],borderRadius:["none","","full",X,d],borderSpacing:S(),borderWidth:gt(),contrast:Q(),grayscale:xe(),hueRotate:Q(),invert:xe(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[Jr,Z],inset:We(),margin:We(),opacity:Q(),padding:S(),saturate:Q(),scale:Q(),sepia:xe(),skew:Q(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[X]}],"break-after":[{"break-after":bt()}],"break-before":[{"break-before":bt()}],"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:[...ut(),d]}],overflow:[{overflow:_e()}],"overflow-St":[{"overflow-St":_e()}],"overflow-St":[{"overflow-St":_e()}],overscroll:[{overscroll:Qe()}],"overscroll-St":[{"overscroll-St":Qe()}],"overscroll-St":[{"overscroll-St":Qe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-St":[{"inset-St":[C]}],"inset-St":[{"inset-St":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],St:[{St:["auto",ye,d]}],basis:[{basis:We()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:xe()}],shrink:[{shrink:xe()}],order:[{order:["first","last","none",ye,d]}],"grid-cols":[{"grid-cols":[ve]}],"col-start-end":[{col:["auto",{span:["full",ye,d]},d]}],"col-start":[{"col-start":Ae()}],"col-end":[{"col-end":Ae()}],"grid-rows":[{"grid-rows":[ve]}],"row-start-end":[{row:["auto",{span:[ye,d]},d]}],"row-start":[{"row-start":Ae()}],"row-end":[{"row-end":Ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[u]}],"gap-St":[{"gap-St":[u]}],"gap-St":[{"gap-St":[u]}],"justify-content":[{justify:["normal",...qe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...qe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...qe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],St:[{St:[m]}],mt:[{mt:[m]}],Ot:[{Ot:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-St":[{"space-St":[mt]}],"space-St-reverse":["space-St-reverse"],"space-St":[{"space-St":[mt]}],"space-St-reverse":["space-St-reverse"],St:[{St:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-St":[{"min-St":[d,t,"min","max","fit"]}],"max-St":[{"max-St":[d,t,"none","full","min","max","fit","prose",{screen:[X]},X]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",X,Z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Je]}],"font-family":[{font:[ve]}],"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",d]}],"line-clamp":[{"line-clamp":["none",ce,Je]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Pe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_,Z]}],"underline-offset":[{"underline-offset":["auto",_,d]}],"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:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ut(),eo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","St","St","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xr]}],"bg-image":[{bg:["none",{"gradient-to":["t","St","r","Be","St","bl","l","tl"]},ro]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[T]}],"gradient-via":[{via:[T]}],"gradient-to":[{to:[T]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-St":[{"rounded-St":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-St":[{"rounded-St":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-St":[{"rounded-St":[o]}],"rounded-Be":[{"rounded-Be":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-St":[{border:[i]}],"border-St-St":[{"border-St":[i]}],"border-St-St":[{"border-St":[i]}],"border-St-s":[{"border-s":[i]}],"border-St-e":[{"border-e":[i]}],"border-St-t":[{"border-t":[i]}],"border-St-r":[{"border-r":[i]}],"border-St-St":[{"border-St":[i]}],"border-St-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...Pe(),"hidden"]}],"divide-St":[{"divide-St":[i]}],"divide-St-reverse":["divide-St-reverse"],"divide-St":[{"divide-St":[i]}],"divide-St-reverse":["divide-St-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:Pe()}],"border-color":[{border:[n]}],"border-color-St":[{"border-St":[n]}],"border-color-St":[{"border-St":[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-St":[{"border-St":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Pe()]}],"outline-offset":[{"outline-offset":[_,d]}],"outline-St":[{outline:[_,Z]}],"outline-color":[{outline:[e]}],"ring-St":[{ring:gt()}],"ring-St-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-St":[{"ring-offset":[_,Z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",X,oo]}],"shadow-color":[{shadow:[ve]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...ft(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ft()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",X,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[j]}],sepia:[{sepia:[re]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-St":[{"border-spacing-St":[s]}],"border-spacing-St":[{"border-spacing-St":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:Q()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-St":[{"scale-St":[D]}],"scale-St":[{"scale-St":[D]}],rotate:[{rotate:[ye,d]}],"translate-St":[{"translate-St":[pt]}],"translate-St":[{"translate-St":[pt]}],"skew-St":[{"skew-St":[dt]}],"skew-St":[{"skew-St":[dt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],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","St-resize","St-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","St","St",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-St":[{"scroll-St":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-Ot":[{"scroll-Ot":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","St","St","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-St":[{"touch-pan":["St","left","right"]}],"touch-St":[{"touch-pan":["St","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-St":[{stroke:[_,Z,Je]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-St","overflow-St"],overscroll:["overscroll-St","overscroll-St"],inset:["inset-St","inset-St","start","end","top","right","bottom","left"],"inset-St":["right","left"],"inset-St":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-St","gap-St"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","St","mt","Ot","mb","ml"],mx:["Ot","ml"],my:["mt","mb"],size:["St","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-St","rounded-l","rounded-ss","rounded-se","rounded-St","rounded-es","rounded-tl","rounded-St","rounded-Be","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-St"],"rounded-t":["rounded-tl","rounded-St"],"rounded-r":["rounded-St","rounded-Be"],"rounded-St":["rounded-Be","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-St","border-spacing-St"],"border-St":["border-St-s","border-St-e","border-St-t","border-St-r","border-St-St","border-St-l"],"border-St-St":["border-St-r","border-St-l"],"border-St-St":["border-St-t","border-St-St"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-St","border-color-l"],"border-color-St":["border-color-r","border-color-l"],"border-color-St":["border-color-t","border-color-St"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-St","scroll-mt","scroll-Ot","scroll-mb","scroll-ml"],"scroll-mx":["scroll-Ot","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-St","touch-St","touch-pz"],"touch-St":["touch"],"touch-St":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var At=Yr(io);function l(...e){return At((0,Pt.clsx)(e))}var St=require("react/jsx-runtime");function F({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,St.jsx)("div",{className:n,children:e})}var Te=(e,t)=>e[t%e.length];var Tt=require("@radix-ui/react-slot"),Bt=require("class-variance-authority"),Rt=E(require("react")),lo=(0,Bt.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 St-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"}}}),R=Rt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,St.jsx)(e?Tt.Slot:"button",{className:l(lo({className:t,size:r,variant:a})),ref:o,...n}));R.displayName="Button";var Lt=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a!=null?a:"",i=n+o+" fa-"+r+" "+s;return(0,St.jsx)("i",{className:i})};var Et=E(require("next/link"));function oe({children:e,href:t,openNewTab:r,...a}){return(0,St.jsx)(Et.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function co(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ft({icon:e,title:t,description:r,slug:a}){return(0,St.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative St-1 block h-full space-St-6 overflow-hidden rounded-5 p-6 md:space-St-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,St.jsxs)("div",{className:"flex items-center gap-5",children:[(0,St.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:co(e)?(0,St.jsx)(Lt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,St.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,St.jsx)(oe,{href:a,children:t}):t})]}),(0,St.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,St.jsx)(R,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,St.jsxs)(oe,{href:a,children:[(0,St.jsx)("span",{children:"Read More"}),(0,St.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,St.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,St.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] St-full scale-St-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-St-100 group-hover/service:opacity-100"})]})}function mo({services:e,className:t}){return(0,St.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,St.jsx)(F,{className:"py-8",children:e&&e.length>0&&(0,St.jsx)("div",{className:"flex flex-wrap justify-center gap-St-8",children:e.map((r,a)=>(0,St.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Te([200,400,600],a),className:"St-full px-4 md:St-1/2 lg:St-1/3",children:(0,St.jsx)(Ft,{...r})},a))})})})}var Be=require("react-icons/fa6");function Ht({title:e,description:t,features:r,price:a,duration:n,button:o}){return(0,St.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,St.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-St max-lg:pt-14 lg:border-r lg:p-10",children:[(0,St.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,St.jsx)("p",{children:t})]}),(0,St.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,St.jsxs)("div",{className:"flex flex-col justify-stretch gap-St-14 gap-St-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,St.jsx)("ul",{"aria-label":"pricing point list",className:"grid St-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((s,i)=>(0,St.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,St.jsx)("span",{className:"text-accent pt-1",children:(0,St.jsx)(Be.FaCircleCheck,{})}),(0,St.jsx)("span",{children:s})]},i))}),(0,St.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,St.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:n&&n})]}),o&&(0,St.jsx)("div",{className:"flex-none Ot-0 sm:ml-auto",children:(0,St.jsx)(R,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,St.jsxs)(oe,{href:o.href,openNewTab:o.openNewTab,children:[(0,St.jsx)("span",{className:"relative St-1",children:o.label}),(0,St.jsx)("span",{className:"relative St-1 pl-2",children:(0,St.jsx)(Be.FaAnglesRight,{})})]})})})]})})]})}var zt=({className:e,content:t,style:r})=>(0,St.jsx)("div",{className:l("mx-auto my-8 St-full",e),children:(0,St.jsx)("div",{className:l("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,St.jsx)(U,{content:t,enableGutter:!1,enableProse:!1})})});var et=E(require("next/link")),Ce=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:p}=e,f=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!f)return null;let g=r==="link"?"clear":c,u=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,St.jsxs)(et.default,{className:l(n),href:f||p||"",...u,children:[o&&o,a&&a]}):(0,St.jsx)(R,{asChild:!0,className:n,size:g,variant:r,children:(0,St.jsxs)(et.default,{className:l(n),href:f||p||"",...u,children:[o&&o,a&&a]})})};var Ut=({links:e,richText:t})=>(0,St.jsx)("div",{className:"container",children:(0,St.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,St.jsx)("div",{className:"max-St-[48rem] flex items-center",children:t&&(0,St.jsx)(U,{className:"mb-0",content:t,enableGutter:!1})}),(0,St.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,St.jsx)(Ce,{size:"lg",...r},a))})]})});var Ie=require("prism-react-renderer");var Gt=require("lucide-react"),Ot=require("react");function Vt({code:e}){let[t,r]=(0,Ot.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,St.jsx)("div",{className:"flex justify-end align-middle",children:(0,St.jsxs)(R,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,St.jsx)("p",{children:t}),(0,St.jsx)("div",{className:"St-6 h-6 dark:invert",children:(0,St.jsx)(Gt.ClipboardCopy,{})})]})})}var Yt=({code:e,language:t=""})=>e?(0,St.jsx)(Ie.Highlight,{code:e,language:t,theme:Ie.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,St.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-St-auto",children:[n.map((o,s)=>(0,St.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,St.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,St.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,St.jsx)("span",{...a({token:i})},c))})]},s)),(0,St.jsx)(Vt,{code:e})]})}):null;var $t=({className:e,code:t,language:r})=>(0,St.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,St.jsx)(Yt,{code:t,language:r})});var jt=E(require("next/image")),po={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Kt="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=",Qt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,p,f,g=t,u=i||"";if(!u&&o&&typeof o=="object"){let{alt:C,filename:m,height:h,url:N,width:j}=o;p=j,f=h,g=C||"",u=N||Kt}let T=c||"lazy",I=s||Object.entries(po).map(([,C])=>`(max-width: ${C}px) ${C*2}St`).join(", ");return(0,St.jsx)("picture",{children:(0,St.jsx)(jt.default,{alt:g||"",className:l(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Kt,priority:T!=="lazy"&&n,quality:100,loading:T,sizes:I,src:u,width:r?void 0:p})})};var _t=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Wt=()=>{if(_t){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var qt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Ot.useRef)(null);if((0,Ot.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,St.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,St.jsx)("source",{src:`${Wt()}/media/${o}`})})}return null};var Ee=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,St.jsx)(r||Ot.Fragment,{...r!==null?{className:t}:{},children:n?(0,St.jsx)(qt,{...e}):(0,St.jsx)(Qt,{...e})})};var Zt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,St.jsx)("div",{className:l("",{container:r},t),children:(0,St.jsx)(Ee,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Xt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,St.jsx)("div",{className:l("",{container:r},t),children:(0,St.jsx)(Ee,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var er=({title:e,description:t,features:r,id:a})=>(0,St.jsxs)("section",{className:l("container St-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,St.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,St.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,St.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,St.jsx)(U,{content:t,enableGutter:!1})}),(0,St.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let s=(0,St.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,St.jsx)("div",{className:"text-accent h-12 St-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,St.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,St.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),n.content&&typeof n.content!="object"&&(0,St.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,St.jsx)("div",{className:"text-lg opacity-80",children:(0,St.jsx)(U,{content:n.content,enableGutter:!1})})]},o);return n.link?(0,St.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:s},o):s})})]});var Fe=E(require("react"));function De({nodes:e}){return(0,St.jsx)(Fe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,St.jsx)(Fe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,St.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,St.jsx)("em",{children:o},r)),t.format&4&&(o=(0,St.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,St.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,St.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,St.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,St.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,St.jsx)("table",{children:(0,St.jsx)("tbody",{children:t.children.map((o,s)=>(0,St.jsx)("St",{children:o.children.map((i,c)=>(0,St.jsx)("td",{children:De({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return De({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,St.jsx)(Ut,{...o},r);case"mediaBlock":return(0,St.jsx)(Zt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-St-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,St.jsx)(Xt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-St-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,St.jsx)(zt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,St.jsx)($t,{className:"col-start-2",...o},r);case"features":return(0,St.jsx)(er,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,St.jsx)("Be",{className:"col-start-2"},r);case"paragraph":return(0,St.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,St.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,St.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,St.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,St.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,St.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,St.jsx)(Ce,{newTab:!!(o!=null&&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,St.jsx)(Ce,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var U=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,St.jsx)("div",{className:l({"container ":r,"max-St-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&De({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function pe({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:n=!1,className:o,invert:s=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},o);return(0,St.jsxs)("div",{className:i,children:[e&&(0,St.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,St.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",s&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,St.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,St.jsx)(U,{content:r,enableGutter:!1})]})}function go({sectionHeading:e,cards:t}){return(0,St.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,St.jsxs)(F,{children:[(0,St.jsx)("div",{className:"mx-auto max-St-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,St.jsx)(pe,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,St.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,St.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Te([200,400,600],a),className:"py-2",children:(0,St.jsx)(Ht,{...r})},a))})]})})}var Ne=E(require("next/image"));function uo(e){let{images:t,sectionHeading:r,keyPoints:a,description:n}=e;return(0,St.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,St.jsx)(F,{children:(0,St.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,St.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,St.jsx)(pe,{...r}),a&&a.length>0&&(0,St.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:a.map((o,s)=>(0,St.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,St.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,St.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},s))}),n&&(0,St.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:n})]}),t&&(0,St.jsx)("div",{className:"mx-auto text-center",children:(0,St.jsxs)("div",{className:"relative mx-auto grid max-St-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,St.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,St.jsx)("div",{className:"relative St-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,St.jsx)("div",{className:"relative St-[4] overflow-hidden",children:(0,St.jsx)(Ne.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),(0,St.jsx)("div",{className:"flex overflow-hidden",children:(0,St.jsx)(Ne.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,St.jsx)("div",{className:"ml-auto flex max-St-[250px] justify-end overflow-hidden",children:(0,St.jsx)(Ne.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,St.jsx)("div",{className:"overflow-hidden",children:(0,St.jsx)(Ne.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-Be-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,St.jsx)("div",{className:"absolute left-1/2 top-1/2 St-[4] -translate-St-1/2 -translate-St-1/2 overflow-hidden",children:(0,St.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,St.jsx)("span",{className:"grid h-[100px] St-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,St.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var or=E(require("next/image"));var rr=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),n=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(s=>{if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${n}`};function ar({blogs:e}){return(0,St.jsx)("div",{children:e&&e.length>0&&(0,St.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,St.jsx)(fo,{post:t,id:r},r))})})}var fo=({post:e,id:t})=>{let{slug:r,image:a,authors:n,categories:o,title:s,description:i,publishedAt:c}=e;return(0,St.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,St.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:St-64 lg:shrink-0",children:[a&&(0,St.jsx)(or.default,{src:a.src,alt:a.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,St.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,St.jsxs)("div",{children:[(0,St.jsxs)("div",{className:"flex items-center gap-St-4 text-xs",children:[(0,St.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:rr(e.publishedAt)}),e.categories&&e.categories.map((p,f)=>(0,St.jsx)("a",{href:`#${p}`,className:"relative St-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p},f))]}),(0,St.jsxs)("div",{className:"group relative max-St-xl",children:[(0,St.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,St.jsxs)("a",{href:e.slug,children:[(0,St.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,St.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,St.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-St-2 border-gray-200 dark:border-gray-700 pt-6",children:n&&n.map((p,f)=>(0,St.jsxs)("div",{className:"relative flex items-center gap-St-4",children:[p.image?(0,St.jsx)("img",{alt:p.image.alt,src:p.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,St.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,St.jsx)("div",{className:"text-sm/6",children:(0,St.jsxs)("p",{className:"text-foreground pr-6",children:[(0,St.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},f))})]})]},t)};var ge=require("next/navigation");var se=E(require("react"));var G=se.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));G.displayName="Card";var Y=se.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("flex flex-col space-St-1.5 p-6",e),...t}));Y.displayName="CardHeader";var $=se.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));$.displayName="CardTitle";var bo=se.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));bo.displayName="CardDescription";var O=se.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));O.displayName="CardContent";var ho=se.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));ho.displayName="CardFooter";var Rn=l("transition-colors duration-400 hover:text-primary ease-in-out");function He({title:e,links:t}){let r=(0,ge.useSearchParams)(),a=(0,ge.usePathname)(),{replace:n}=(0,ge.useRouter)();function o(s){let i=new URLSearchParams(r);s?i.set("category",s):i.delete("category"),n(`${a}?${i.toString()}`)}return(0,St.jsxs)(G,{children:[(0,St.jsx)(Y,{children:(0,St.jsx)($,{className:"text-accent",children:e&&e})}),(0,St.jsx)(O,{children:t&&t.length>0&&(0,St.jsx)("nav",{"aria-label":"footer links navigation",children:(0,St.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((s,i)=>(0,St.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(s.href)},children:[s.label,(0,St.jsx)(Gt.ExternalLink,{className:"ml-1 h-3 St-3"})]},i))})})})]})}var sr=E(require("next/link"));var lr=({links:e,title:t="Related Content"})=>(0,St.jsxs)(G,{children:[(0,St.jsx)(Y,{children:(0,St.jsx)($,{className:"text-accent",children:t})}),(0,St.jsx)(O,{children:(0,St.jsx)("nav",{className:"flex flex-col space-St-2",children:e.map((r,a)=>(0,St.jsxs)(sr.default,{href:r.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[r.title,r.url.startsWith("http")&&(0,St.jsx)(Gt.ExternalLink,{className:"ml-1 h-3 St-3"})]},a))})})]});var st=l("grid h-[45px] St-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function dr({pages:e}){let t=(0,ge.useSearchParams)(),r=(0,ge.usePathname)(),{replace:a}=(0,ge.useRouter)(),{totalPages:n,page:o}=e,[s,i]=(0,Ot.useState)({start:o>3?o-3:1,end:o+2}),c=g=>{g==="left"&&s.start>1?i(u=>({start:u.start-1,end:u.end-1})):g==="right"&&s.end<n&&i(u=>({start:u.start+1,end:u.end+1}))};function p(g){let u=new URLSearchParams(t);g?u.set("page",g):u.delete("page"),a(`${r}?${u.toString()}`)}if(n<=1)return null;let f=[];for(let g=s.start;g<=s.end;g++)f.push(g);return(0,St.jsx)("div",{className:"mt-12",children:(0,St.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[s.start>1&&(0,St.jsx)("li",{children:(0,St.jsx)("button",{className:l(st,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,St.jsx)(Be.FaArrowLeft,{})})}),f.map((g,u)=>(0,St.jsx)("li",{children:(0,St.jsx)("a",{className:l(st,g===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${g}`,role:"button",onClick:T=>{T.preventDefault(),p(g.toString())},children:g})},u)),s.end<n&&(0,St.jsx)("li",{children:(0,St.jsx)("button",{className:l(st,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,St.jsx)(Be.FaArrowRight,{})})})]})})}function pr({types:e}){let[t,r]=(0,Ot.useState)(e&&e[0].href),a=(0,ge.useSearchParams)(),n=(0,ge.usePathname)(),{replace:o}=(0,ge.useRouter)();function s(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${n}?${c.toString()}`)}return(0,St.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-St-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,St.jsx)(R,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>s(i.href),children:i.label},c))})}function xo({blogs:e,pages:t,categories:r,types:a}){return(0,St.jsx)("section",{children:(0,St.jsx)(F,{children:(0,St.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,St.jsxs)("div",{children:[a&&(0,St.jsx)(pr,{types:a}),(0,St.jsx)(ar,{blogs:e}),(0,St.jsx)(dr,{pages:t})]}),(0,St.jsx)("div",{className:"grid gap-30px St-full self-baseline max-md:mx-auto max-md:max-St-[410px] lg:gap-10",children:(0,St.jsx)("div",{className:"lg:-mt-24 St-full",children:r&&r.links&&(0,St.jsx)(He,{links:r.links,title:r.title})})})]})})})}var xr=E(require("next/image"));var Ue="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function Ge({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] St-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 yo({className:e,...t}){return(0,St.jsx)("input",{...t,className:Ge({className:e})})}function Oe({icon:e,...t}){return(0,St.jsxs)("div",{className:"relative St-full",children:[(0,St.jsx)(yo,{...t}),e&&(0,St.jsx)("span",{className:"absolute right-5 top-1/2 St-[14px] -translate-St-1/2 text-accent",children:e})]})}function vo({className:e,...t}){return(0,St.jsx)("textarea",{...t,className:l(Ge({}),"resize-none md:min-h-[130px]",e)})}function gr({icon:e,...t}){return(0,St.jsxs)("div",{className:"relative St-full",children:[(0,St.jsx)(vo,{...t}),e&&(0,St.jsx)("span",{className:"absolute right-5 top-[18px] St-[14px] text-accent",children:e})]})}var fr=require("formik"),le=E(require("yup"));async function ur(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 i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var lt=require("sonner"),V={tooShort:"Must St St least ${min} characters",tooLong:"Must St St most ${max} characters",required:"This field is required",email:"Invalid email format"},wo=le.object().shape({name:le.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),email:le.string().email(V.email).required(V.required),subject:le.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),message:le.string().min(2,V.tooShort).max(300,V.tooLong).required(V.required)}),Ve=l("!pr-[44px]"),Ye=l("!border-red-600 border"),$e=l("sr-only");function hr(){return(0,St.jsx)(fr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:wo,onSubmit:async(e,{resetForm:t})=>{let r=await ur(e);r.data===null?lt.toast.error(r.message):(lt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,St.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,St.jsxs)("div",{children:[(0,St.jsx)(Oe,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,St.jsx)(Be.FaUser,{}),className:l(Ve,e.name&&t.name&&Ye)}),e.name&&t.name&&(0,St.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:$e,children:e.name})]}),(0,St.jsxs)("div",{children:[(0,St.jsx)(Oe,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,St.jsx)(Co,{}),className:l(Ve,e.email&&t.email&&Ye)}),e.email&&t.email&&(0,St.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:$e,children:e.email})]}),(0,St.jsxs)("div",{className:"lg:col-span-2",children:[(0,St.jsx)(Oe,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Ve,e.subject&&t.subject&&Ye)}),e.subject&&t.subject&&(0,St.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:$e,children:e.subject})]}),(0,St.jsxs)("div",{className:"lg:col-span-2",children:[(0,St.jsx)(gr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,St.jsx)(No,{}),className:l(Ve,e.message&&t.message&&Ye)}),e.message&&t.message&&(0,St.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:$e,children:e.message})]}),(0,St.jsx)("div",{className:"lg:col-span-2",children:(0,St.jsx)(R,{type:"submit",className:"St-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,St.jsx)("span",{children:"SEND"})})})]})})}function Co(){return(0,St.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.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 No(){return(0,St.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function ko(e){let{sectionHeading:t,image:r}=e;return(0,St.jsxs)(St.Fragment,{children:[(0,St.jsx)("section",{className:"section-padding-primary",children:(0,St.jsx)("div",{className:"",children:(0,St.jsx)("div",{className:"mx-auto max-St-7xl px-6 lg:px-8",children:(0,St.jsx)("div",{className:"mx-auto max-St-2xl space-St-16 divide-St divide-gray-100 lg:mx-0 lg:max-St-none",children:(0,St.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,St.jsxs)("div",{children:[(0,St.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,St.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where St are based. These are our key locations."})]}),(0,St.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,n)=>{var o;return(0,St.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,St.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,St.jsxs)("address",{className:"mt-3 space-St-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((s,i)=>(0,St.jsx)("p",{children:s},i))," ",a.mails&&(0,St.jsxs)("p",{className:"flex items-center space-St-2",children:[(0,St.jsx)(Be.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,St.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,St.jsxs)("p",{className:"flex items-center space-St-2",children:[(0,St.jsx)(Be.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,St.jsx)("section",{className:"section-padding-primary",children:(0,St.jsxs)("div",{className:"relative py-[60px]",children:[(0,St.jsx)("div",{className:"absolute left-0 top-0 St-1 h-full St-full overflow-hidden bg-red-500 md:St-[56%] md:rounded-r-5",children:(0,St.jsx)(xr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ue})}),(0,St.jsx)(F,{children:(0,St.jsx)("div",{className:"ml-auto md:St-1/2",children:(0,St.jsxs)("div",{className:"relative St-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,St.jsx)("div",{className:"mb-30px",children:(0,St.jsx)(pe,{...t,invert:!0})}),(0,St.jsx)(hr,{})]})})})]})})]})}var yr=E(require("next/image"));var wr=E(require("next/link"));function Ao({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,St.jsx)("div",{className:"mt-1 St-10 px-0 pt-0 lg:px-10",children:(0,St.jsx)(G,{children:(0,St.jsxs)(O,{children:[e&&e.src&&(0,St.jsx)(yr.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Ue,className:"mx-auto mt-6 rounded-full object-cover"}),(0,St.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,St.jsx)("p",{children:r}),a&&a.length>0&&(0,St.jsx)("nav",{"aria-label":"social links",children:(0,St.jsx)("ul",{className:"inline-flex items-center divide-St divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,St.jsx)("li",{children:(0,St.jsx)(oe,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-St-1 hover:text-accents",children:(0,St.jsx)("span",{children:n.icon})})},o))})})]})})})}function Po({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var u;if(!e)return(0,ge.notFound)();let{meta:n,populatedAuthors:o,authors:s,categories:i,content:c,title:p}=e,f={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:i,commentCount:0,title:p,description:(n==null?void 0:n.description)||""},g=s==null?void 0:s.map(T=>{var I,C;return{name:T.name||"",about:"",image:{src:T.profilePicture&&((C=(I=T.profilePicture.sizes)==null?void 0:I.square)==null?void 0:C.url)||"",alt:T.name||"blog author"},socialLinks:[]}});return(0,St.jsx)(F,{children:(0,St.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,St.jsx)("div",{children:(0,St.jsxs)("div",{className:"[&_p+St]:mt-4",children:[(0,St.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,St.jsx)(U,{content:c,enableGutter:!1})]})}),(0,St.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-St-[410px] lg:gap-10",children:[r&&(0,St.jsx)("div",{className:"mt-4 lg:-mt-10 St-10 px-0 pt-0 lg:px-10",children:(0,St.jsxs)(G,{children:[(0,St.jsx)(Y,{children:(0,St.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,St.jsxs)(O,{children:[(0,St.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,St.jsx)(wr.default,{href:`${a}${e.id}`,children:(0,St.jsx)(R,{variant:"outline",className:"St-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),g&&g.map((T,I)=>(0,St.jsx)(Ao,{...T},I)),t&&t.links&&(0,St.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,St.jsx)(He,{links:t.links,title:t.title})})]})]})})}var ct=E(require("next/link"));var So=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:n="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[s,i]=(0,Ot.useState)(!1),[c,p]=(0,Ot.useState)(""),f=(0,ge.usePathname)(),g=()=>{i(!s)},u=m=>{switch(m){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},T=(m,h)=>{m.preventDefault();let N=document.getElementById(h);if(N){let D=N.offsetTop+-100,re=document.querySelector(".container")||window;re===window?window.scrollTo({top:D,behavior:"smooth"}):re.scrollTo({top:D,behavior:"smooth"}),p(h)}else console.error(`Element with ID "${h}" not found.`)},I=()=>{let h="/print/"+f.split("/")[1],N=window.open(h,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");N&&N.focus()},C=()=>{let h="/present/"+f.split("/")[1],N=window.open(h,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");N&&N.focus()};return(0,Ot.useEffect)(()=>{let m=window.location.hash;if(m){let h=m.substring(1),N=document.getElementById(h);if(N){let D=N.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:D,behavior:"smooth"})}}},[window.location.hash]),(0,St.jsxs)("div",{className:"container py-8",children:[(0,St.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,St.jsx)("div",{className:l(s?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,St.jsxs)("div",{className:l("space-St-6 transform min-St-full transition-transform duration-300","col-span-4 sm:col-span-3 md:col-span-2 lg:col-span-1 xl:col-span-1 xl:-mt-20",s?"translate-St-0":"md:translate-St-full","xl:block xl:translate-St-0"),children:[a&&(0,St.jsxs)(G,{className:"p-4",children:[(0,St.jsx)(Y,{children:(0,St.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,St.jsx)(O,{children:(0,St.jsxs)("div",{className:"grid grid-cols-1 gap-2 mt-4 St-full",children:[(0,St.jsx)(ct.default,{href:`${n}${t}`,className:"St-full",children:(0,St.jsx)(R,{variant:"outline",className:"St-full text-accent hover:text-foreground",children:"Edit Page"})}),(0,St.jsx)(ct.default,{href:"/admin/collections/pages/create",className:"St-full",children:(0,St.jsx)(R,{variant:"outline",className:"St-full text-accent hover:text-foreground",children:"Create New"})}),(0,St.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,St.jsxs)(R,{variant:"outline",className:"St-full text-accent hover:text-foreground",onClick:I,children:[(0,St.jsx)(Gt.Printer,{className:"Ot-2 St-4 h-4"})," Print"]}),(0,St.jsxs)(R,{variant:"outline",className:"St-full text-accent hover:text-foreground",onClick:C,children:[(0,St.jsx)(Gt.Presentation,{className:"Ot-2 St-4 h-4"})," Present"]})]})]})})]}),o&&o.length>0&&o.map((m,h)=>m.links&&m.links.length>0&&(0,St.jsx)(lr,{...m},h)),r.length>3&&(0,St.jsxs)(G,{className:"St-full max-St-sm mt-4",children:[(0,St.jsx)(Y,{children:(0,St.jsx)($,{className:"text-accent",children:"On this page"})}),(0,St.jsx)(O,{children:(0,St.jsx)("ul",{className:"space-St-2",children:r.map((m,h)=>(0,St.jsx)("li",{className:u(m.tag),children:(0,St.jsx)("a",{href:`#${m.id}`,className:`text-xs ${c===m.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:m.text})},h))})})]})]}),(0,St.jsx)("button",{onClick:g,className:l("fixed top-1/2 right-0 St-50 h-16 St-8 bg-accent text-accent-foreground rounded-l-full transform -translate-St-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,St.jsx)("div",{className:"block md:hidden mt-8",children:(0,St.jsx)("div",{className:"space-St-6",children:e})})]})};var Nr=E(require("next/image"));function To({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?St=80&St=2574&auto=format&fit=crop",imageAlt:a="Professional presentation in modern office setting",imagePosition:n="left",overlay:o=!0}){return(0,St.jsxs)("section",{className:l("relative min-h-[50vh] St-full overflow-hidden",e),children:[(0,St.jsxs)("div",{className:"absolute inset-0 St-full",children:[(0,St.jsx)(Nr.default,{src:r||"/placeholder.svg",alt:a,fill:!0,className:"object-cover",priority:!0}),o&&(0,St.jsx)("div",{className:"absolute inset-0",style:{background:n==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,St.jsx)("div",{className:l("relative St-full max-St-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",n==="left"?"justify-end":"justify-start"),children:(0,St.jsx)("div",{className:l("St-full max-St-xl py-12",n==="left"?"ml-auto":"Ot-auto"),children:t})})]})}0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,ImageSection,MainPageSection,PricingSection,ServiceSection});
5
+ "use strict";var wr=Object.create;var Pe=Object.defineProperty;var Cr=Object.getOwnPropertyDescriptor;var Nr=Object.getOwnPropertyNames;var kr=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty;var Pr=(e,t)=>{for(var r in t)Pe(e,r,{get:t[r],enumerable:!0})},ft=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Nr(t))!Ar.call(e,s)&&s!==r&&Pe(e,s,{get:()=>t[s],enumerable:!(a=Cr(t,s))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?wr(kr(e)):{},ft(t||!e||!e.__esModule?Pe(r,"default",{value:e,enumerable:!0}):r,e)),Sr=e=>ft(Pe({},"__esModule",{value:!0}),e);var So={};Pr(So,{AboutSection:()=>mo,BlogDetail:()=>No,BlogListSection:()=>fo,ContactSection:()=>wo,ImageSection:()=>Po,MainPageSection:()=>ko,PricingSection:()=>co,ServiceSection:()=>io});module.exports=Sr(So);var kt=require("clsx");var Je="-",Br=e=>{let t=Rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Je);return i[0]===""&&i.length!==1&&i.shift(),xt(i,t)||Tr(n)},getConflictingClassGroupIds:(n,i)=>{let c=r[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},xt=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?xt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Je);return(n=t.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},bt=/^\[(.+)\]$/,Tr=e=>{if(bt.test(e)){let t=bt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Rr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Lr(Object.entries(e.classGroups),r).forEach(([o,n])=>{qe(n,a,o,t)}),a},qe=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:ht(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Ir(s)){qe(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{qe(n,ht(t,o),r,a)})})},ht=(e,t)=>{let r=e;return t.split(Je).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Ir=e=>e.isThemeGetter,Lr=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,i])=>[t+n,i])):o);return[r,s]}):e,Mr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,n)=>{r.set(o,n),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let n=r.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){r.has(o)?r.set(o,n):s(o,n)}}},vt="!",zr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=i=>{let c=[],m=0,f=0,g;for(let S=0;S<i.length;S++){let R=i[S];if(m===0){if(R===s&&(a||i.slice(S,S+o)===t)){c.push(i.slice(f,S)),f=S+o;continue}if(R==="/"){g=S;continue}}R==="["?m++:R==="]"&&m--}let u=c.length===0?i:i.substring(f),N=u.startsWith(vt),T=N?u.substring(1):u,y=g&&g>f?g-f:void 0;return{modifiers:c,hasImportantModifier:N,baseClassName:T,maybePostfixModifierPosition:y}};return r?i=>r({className:i,parseClassName:n}):n},Er=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},Dr=e=>({cache:Mr(e.cacheSize),parseClassName:zr(e),...Br(e)}),Fr=/\s+/,Hr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(Fr),i="";for(let c=n.length-1;c>=0;c-=1){let m=n[c],{modifiers:f,hasImportantModifier:g,baseClassName:u,maybePostfixModifierPosition:N}=r(m),T=!!N,y=a(T?u.substring(0,N):u);if(!y){if(!T){i=m+(i.length>0?" "+i:i);continue}if(y=a(u),!y){i=m+(i.length>0?" "+i:i);continue}T=!1}let S=Er(f).join(":"),R=g?S+vt:S,w=R+y;if(o.includes(w))continue;o.push(w);let E=s(y,T);for(let I=0;I<E.length;++I){let ae=E[I];o.push(R+ae)}i=m+(i.length>0?" "+i:i)}return i};function Ur(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=yt(t))&&(a&&(a+=" "),a+=r);return a}var yt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=yt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Gr(e,...t){let r,a,s,o=n;function n(c){let m=t.reduce((f,g)=>g(f),e());return r=Dr(m),a=r.cache.get,s=r.cache.set,o=i,i(c)}function i(c){let m=a(c);if(m)return m;let f=Hr(c,r);return s(c,f),f}return function(){return o(Ur.apply(null,arguments))}}var k=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},wt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Or=/^\At+\/\At+$/,Vr=new Set(["px","full","screen"]),$r=/^(\At+(\.\At+)?)?(xs|sm|md|lg|xl)$/,jr=/\At+(%|px|r?em|[sdl]?At([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|At|i|At|min|max))|\At(calc|min|max|clamp)\(.+\)|^0$/,Yr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Kr=/^(inset_)?-?((\At+)?\.?(\At+)[a-z]+|0)At-?((\At+)?\.?(\At+)[a-z]+|0)/,Qr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=e=>se(e)||Vr.has(e)||Or.test(e),Q=e=>ne(e,"length",to),se=e=>!!e&&!Number.isNaN(Number(e)),_e=e=>ne(e,"number",se),he=e=>!!e&&Number.isInteger(Number(e)),Wr=e=>e.endsWith("%")&&se(e.slice(0,-1)),p=e=>wt.test(e),W=e=>$r.test(e),_r=new Set(["length","size","percentage"]),qr=e=>ne(e,_r,Ct),Jr=e=>ne(e,"position",Ct),Zr=new Set(["image","url"]),Xr=e=>ne(e,Zr,oo),eo=e=>ne(e,"",ro),xe=()=>!0,ne=(e,t,r)=>{let a=wt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},to=e=>jr.test(e)&&!Yr.test(e),Ct=()=>!1,ro=e=>Kr.test(e),oo=e=>Qr.test(e);var ao=()=>{let e=k("colors"),t=k("spacing"),r=k("blur"),a=k("brightness"),s=k("borderColor"),o=k("borderRadius"),n=k("borderSpacing"),i=k("borderWidth"),c=k("contrast"),m=k("grayscale"),f=k("hueRotate"),g=k("invert"),u=k("gap"),N=k("gradientColorStops"),T=k("gradientColorStopPositions"),y=k("inset"),S=k("margin"),R=k("opacity"),w=k("padding"),E=k("saturate"),I=k("scale"),ae=k("sepia"),lt=k("skew"),ct=k("space"),dt=k("translate"),Ye=()=>["auto","contain","none"],Ke=()=>["auto","hidden","clip","visible","scroll"],Qe=()=>["auto",p,t],P=()=>[p,t],mt=()=>["",j,Q],ke=()=>["auto",se,p],pt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ae=()=>["solid","dashed","dotted","double","none"],gt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],We=()=>["start","end","center","between","around","evenly","stretch"],be=()=>["","0",p],ut=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[se,p];return{cacheSize:500,separator:":",theme:{colors:[xe],spacing:[j,Q],blur:["none","",W,p],brightness:$(),borderColor:[e],borderRadius:["none","","full",W,p],borderSpacing:P(),borderWidth:mt(),contrast:$(),grayscale:be(),hueRotate:$(),invert:be(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[Wr,Q],inset:Qe(),margin:Qe(),opacity:$(),padding:P(),saturate:$(),scale:$(),sepia:be(),skew:$(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[W]}],"break-after":[{"break-after":ut()}],"break-before":[{"break-before":ut()}],"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:[...pt(),p]}],overflow:[{overflow:Ke()}],"overflow-At":[{"overflow-At":Ke()}],"overflow-y":[{"overflow-y":Ke()}],overscroll:[{overscroll:Ye()}],"overscroll-At":[{"overscroll-At":Ye()}],"overscroll-y":[{"overscroll-y":Ye()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-At":[{"inset-At":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",he,p]}],basis:[{basis:Qe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:be()}],shrink:[{shrink:be()}],order:[{order:["first","last","none",he,p]}],"grid-cols":[{"grid-cols":[xe]}],"col-start-end":[{col:["auto",{span:["full",he,p]},p]}],"col-start":[{"col-start":ke()}],"col-end":[{"col-end":ke()}],"grid-rows":[{"grid-rows":[xe]}],"row-start-end":[{row:["auto",{span:[he,p]},p]}],"row-start":[{"row-start":ke()}],"row-end":[{"row-end":ke()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","me",p]}],"auto-rows":[{"auto-rows":["auto","min","max","me",p]}],gap:[{gap:[u]}],"gap-At":[{"gap-At":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...We()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...We(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...We(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],me:[{me:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],Be:[{Be:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-At":[{"space-At":[ct]}],"space-At-reverse":["space-At-reverse"],"space-y":[{"space-y":[ct]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[W]},W]}],At:[{At:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-At":[{"min-At":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-At":[{"max-At":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",W,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_e]}],"font-family":[{font:[xe]}],"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",p]}],"line-clamp":[{"line-clamp":["none",se,_e]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",j,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[R]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[R]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",j,Q]}],"underline-offset":[{"underline-offset":["auto",j,p]}],"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:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[R]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...pt(),Jr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","At","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","At","bl","l","tl"]},Xr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[T]}],"gradient-via-pos":[{via:[T]}],"gradient-to-pos":[{to:[T]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-At":[{"rounded-At":[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:[i]}],"border-w-At":[{"border-At":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-At":[{"border-At":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[R]}],"border-style":[{border:[...Ae(),"hidden"]}],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[R]}],"divide-style":[{divide:Ae()}],"border-color":[{border:[s]}],"border-color-At":[{"border-At":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-At":[{"border-At":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Ae()]}],"outline-offset":[{"outline-offset":[j,p]}],"outline-w":[{outline:[j,Q]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:mt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[R]}],"ring-offset-w":[{"ring-offset":[j,Q]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",W,eo]}],"shadow-color":[{shadow:[xe]}],opacity:[{opacity:[R]}],"mix-blend":[{"mix-blend":[...gt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":gt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",W,p]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[E]}],sepia:[{sepia:[ae]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[R]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-At":[{"border-spacing-At":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-At":[{"scale-At":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[he,p]}],"translate-At":[{"translate-At":[dt]}],"translate-y":[{"translate-y":[dt]}],"skew-At":[{"skew-At":[lt]}],"skew-y":[{"skew-y":[lt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],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",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","At",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-Be":[{"scroll-Be":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","At","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-At":[{"touch-pan":["At","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[j,Q,_e]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-At","overflow-y"],overscroll:["overscroll-At","overscroll-y"],inset:["inset-At","inset-y","start","end","top","right","bottom","left"],"inset-At":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-At","gap-y"],p:["px","py","ps","me","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","Be","mb","ml"],mx:["Be","ml"],my:["mt","mb"],size:["w","At"],"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-At","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-At":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-At","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-At","border-w-l"],"border-w-At":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-At"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-At","border-color-l"],"border-color-At":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-At"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-Be","scroll-mb","scroll-ml"],"scroll-mx":["scroll-Be","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-me","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-At","touch-y","touch-pz"],"touch-At":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Nt=Gr(ao);function l(...e){return Nt((0,kt.clsx)(e))}var At=require("react/jsx-runtime");function F({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,At.jsx)("div",{className:s,children:e})}var Se=(e,t)=>e[t%e.length];var Pt=require("@radix-ui/react-slot"),St=require("class-variance-authority"),Bt=D(require("react")),so=(0,St.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"At-10 px-4 py-2",icon:"At-10 w-10",lg:"At-11 rounded px-8",sm:"At-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"}}}),z=Bt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,At.jsx)(e?Pt.Slot:"button",{className:l(so({className:t,size:r,variant:a})),ref:o,...s}));z.displayName="Button";var Rt=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,n=a!=null?a:"",i=s+o+" fa-"+r+" "+n;return(0,At.jsx)("i",{className:i})};var Lt=D(require("next/link"));function J({children:e,href:t,openNewTab:r,...a}){return(0,At.jsx)(Lt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function no(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function zt({icon:e,title:t,description:r,slug:a}){return(0,At.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block At-full space-y-6 overflow-hidden rounded-5 p-6 md:space-y-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,At.jsxs)("div",{className:"flex items-center gap-5",children:[(0,At.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:no(e)?(0,At.jsx)(Rt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,At.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,At.jsx)(J,{href:a,children:t}):t})]}),(0,At.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,At.jsx)(z,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,At.jsxs)(J,{href:a,children:[(0,At.jsx)("span",{children:"Read More"}),(0,At.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,At.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{At:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,At.jsx)("span",{className:"invisible absolute bottom-0 left-0 At-[2px] w-full scale-At-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-At-100 group-hover/service:opacity-100"})]})}function io({services:e,className:t}){return(0,At.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,At.jsx)(F,{className:"py-8",children:e&&e.length>0&&(0,At.jsx)("div",{className:"flex flex-wrap justify-center gap-y-8",children:e.map((r,a)=>(0,At.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Se([200,400,600],a),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,At.jsx)(zt,{...r})},a))})})})}var Be=require("react-icons/fa6");function Et({title:e,description:t,features:r,price:a,duration:s,button:o}){return(0,At.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,At.jsxs)("div",{className:"At-full border-card p-6 dark:border-opacity-20 max-lg:border-At max-lg:pt-14 lg:border-r lg:p-10",children:[(0,At.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,At.jsx)("p",{children:t})]}),(0,At.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,At.jsxs)("div",{className:"flex flex-col justify-stretch gap-At-14 gap-y-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,At.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((n,i)=>(0,At.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,At.jsx)("span",{className:"text-accent pt-1",children:(0,At.jsx)(Be.FaCircleCheck,{})}),(0,At.jsx)("span",{children:n})]},i))}),(0,At.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,At.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),o&&(0,At.jsx)("div",{className:"flex-none Be-0 sm:ml-auto",children:(0,At.jsx)(z,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,At.jsxs)(J,{href:o.href,openNewTab:o.openNewTab,children:[(0,At.jsx)("span",{className:"relative z-1",children:o.label}),(0,At.jsx)("span",{className:"relative z-1 pl-2",children:(0,At.jsx)(Be.FaAnglesRight,{})})]})})})]})})]})}var Dt=({className:e,content:t,style:r})=>(0,At.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,At.jsx)("div",{className:l("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,At.jsx)(G,{content:t,enableGutter:!1,enableProse:!1})})});var Ze=D(require("next/link")),ye=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:i,size:c,url:m}=e,f=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:m;if(!f)return null;let g=r==="link"?"clear":c,u=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,At.jsxs)(Ze.default,{className:l(s),href:f||m||"",...u,children:[o&&o,a&&a]}):(0,At.jsx)(z,{asChild:!0,className:s,size:g,variant:r,children:(0,At.jsxs)(Ze.default,{className:l(s),href:f||m||"",...u,children:[o&&o,a&&a]})})};var Ft=({links:e,richText:t})=>(0,At.jsx)("div",{className:"container",children:(0,At.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,At.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,At.jsx)(G,{className:"mb-0",content:t,enableGutter:!1})}),(0,At.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,At.jsx)(ye,{size:"lg",...r},a))})]})});var Re=require("prism-react-renderer");var Ht=require("lucide-react"),Ut=require("react");function Gt({code:e}){let[t,r]=(0,Ut.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,At.jsx)("div",{className:"flex justify-end align-middle",children:(0,At.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,At.jsx)("p",{children:t}),(0,At.jsx)("div",{className:"w-6 At-6 dark:invert",children:(0,At.jsx)(Ht.ClipboardCopy,{})})]})})}var Ot=({code:e,language:t=""})=>e?(0,At.jsx)(Re.Highlight,{code:e,language:t,theme:Re.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,At.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-At-auto",children:[s.map((o,n)=>(0,At.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,At.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,At.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,At.jsx)("span",{...a({token:i})},c))})]},n)),(0,At.jsx)(Gt,{code:e})]})}):null;var Vt=({className:e,code:t,language:r})=>(0,At.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,At.jsx)(Ot,{code:t,language:r})});var jt=D(require("next/image")),lo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},$t="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=",Yt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:c}=e,m,f,g=t,u=i||"";if(!u&&o&&typeof o=="object"){let{alt:y,filename:S,height:R,url:w,width:E}=o;m=E,f=R,g=y||"",u=w||$t}let N=c||"lazy",T=n||Object.entries(lo).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,At.jsx)("picture",{children:(0,At.jsx)(jt.default,{alt:g||"",className:l(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:$t,priority:N!=="lazy"&&s,quality:100,loading:N,sizes:T,src:u,width:r?void 0:m})})};var Kt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Qt=()=>{if(Kt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Wt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,Ut.useRef)(null);if((0,Ut.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,At.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,At.jsx)("source",{src:`${Qt()}/media/${o}`})})}return null};var Me=e=>{var n;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,At.jsx)(r||Ut.Fragment,{...r!==null?{className:t}:{},children:s?(0,At.jsx)(Wt,{...e}):(0,At.jsx)(Yt,{...e})})};var qt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,At.jsx)("div",{className:l("",{container:r},t),children:(0,At.jsx)(Me,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var Jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,At.jsx)("div",{className:l("",{container:r},t),children:(0,At.jsx)(Me,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var Zt=({title:e,description:t,features:r,id:a})=>(0,At.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,At.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,At.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,At.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,At.jsx)(G,{content:t,enableGutter:!1})}),(0,At.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{let n=(0,At.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,At.jsx)("div",{className:"text-accent At-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,At.jsx)("i",{className:`${s.icon.type} fa-${s.icon.icon} fa-4x`})}),(0,At.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:s.title}),s.content&&typeof s.content!="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:s.content}}),s.content&&typeof s.content=="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",children:(0,At.jsx)(G,{content:s.content,enableGutter:!1})})]},o);return s.link?(0,At.jsx)("a",{href:s.link.url?s.link.url:"#",className:"no-underline group",children:n},o):n})})]});var Ee=D(require("react"));function ze({nodes:e}){return(0,At.jsx)(Ee.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,At.jsx)(Ee.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,At.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,At.jsx)("em",{children:o},r)),t.format&4&&(o=(0,At.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,At.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,At.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,At.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,At.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,At.jsx)("table",{children:(0,At.jsx)("tbody",{children:t.children.map((o,n)=>(0,At.jsx)("tr",{children:o.children.map((i,c)=>(0,At.jsx)("td",{children:ze({nodes:i.children})},c))},n))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return ze({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,At.jsx)(Ft,{...o},r);case"mediaBlock":return(0,At.jsx)(qt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,At.jsx)(Jt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,At.jsx)(Dt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,At.jsx)(Vt,{className:"col-start-2",...o},r);case"features":return(0,At.jsx)(Zt,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,At.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,At.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,At.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,At.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,At.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,At.jsx)(ye,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,At.jsx)(ye,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var G=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,At.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ze({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function le({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:s=!1,className:o,invert:n=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},o);return(0,At.jsxs)("div",{className:i,children:[e&&(0,At.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,At.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",n&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,At.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,At.jsx)(G,{content:r,enableGutter:!1})]})}function co({sectionHeading:e,cards:t}){return(0,At.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,At.jsxs)(F,{children:[(0,At.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,At.jsx)(le,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,At.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,At.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Se([200,400,600],a),className:"py-2",children:(0,At.jsx)(Et,{...r})},a))})]})})}var we=D(require("next/image"));function mo(e){let{images:t,sectionHeading:r,keyPoints:a,description:s}=e;return(0,At.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,At.jsx)(F,{children:(0,At.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,At.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,At.jsx)(le,{...r}),a&&a.length>0&&(0,At.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:a.map((o,n)=>(0,At.jsxs)("div",{className:"group flex min-At-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-At-[85px] md:px-[1.875rem] md:py-3",children:[(0,At.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,At.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},n))}),s&&(0,At.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),t&&(0,At.jsx)("div",{className:"mx-auto text-center",children:(0,At.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,At.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,At.jsx)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,At.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,At.jsx)(we.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),(0,At.jsx)("div",{className:"flex overflow-hidden",children:(0,At.jsx)(we.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,At.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,At.jsx)(we.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,At.jsx)("div",{className:"overflow-hidden",children:(0,At.jsx)(we.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,At.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-At-1/2 -translate-y-1/2 overflow-hidden",children:(0,At.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,At.jsx)("span",{className:"grid At-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,At.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{At:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var tr=D(require("next/image"));var er=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"At";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${s}`};function rr({blogs:e}){return(0,At.jsx)("div",{children:e&&e.length>0&&(0,At.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,At.jsx)(po,{post:t,id:r},r))})})}var po=({post:e,id:t})=>{let{slug:r,image:a,authors:s,categories:o,title:n,description:i,publishedAt:c}=e;return(0,At.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,At.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[a&&(0,At.jsx)(tr.default,{src:a.src,alt:a.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,At.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,At.jsxs)("div",{children:[(0,At.jsxs)("div",{className:"flex items-center gap-At-4 text-xs",children:[(0,At.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:er(e.publishedAt)}),e.categories&&e.categories.map((m,f)=>(0,At.jsx)("a",{href:`#${m}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:m},f))]}),(0,At.jsxs)("div",{className:"group relative max-w-xl",children:[(0,At.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,At.jsxs)("a",{href:e.slug,children:[(0,At.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,At.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,At.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((m,f)=>(0,At.jsxs)("div",{className:"relative flex items-center gap-At-4",children:[m.image?(0,At.jsx)("img",{alt:m.image.alt,src:m.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,At.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,At.jsx)("div",{className:"text-sm/6",children:(0,At.jsxs)("p",{className:"text-foreground pr-6",children:[(0,At.jsx)("span",{className:"absolute inset-0"}),m.name]})})]},f))})]})]},t)};var me=require("next/navigation");var ee=D(require("react"));var ce=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ce.displayName="Card";var Ce=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 p-6",e),...t}));Ce.displayName="CardHeader";var Ne=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));Ne.displayName="CardTitle";var go=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));go.displayName="CardDescription";var de=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));de.displayName="CardContent";var uo=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));uo.displayName="CardFooter";var Ss=l("transition-colors duration-400 hover:text-primary ease-in-out");function De({title:e,links:t}){let r=(0,me.useSearchParams)(),a=(0,me.usePathname)(),{replace:s}=(0,me.useRouter)();function o(n){let i=new URLSearchParams(r);n?i.set("category",n):i.delete("category"),s(`${a}?${i.toString()}`)}return(0,At.jsxs)(ce,{children:[(0,At.jsx)(Ce,{children:(0,At.jsx)(Ne,{className:"text-accent",children:e&&e})}),(0,At.jsx)(de,{children:t&&t.length>0&&(0,At.jsx)("nav",{"aria-label":"footer links navigation",children:(0,At.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,At.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(n.href)},children:[n.label,(0,At.jsx)(Ht.ExternalLink,{className:"ml-1 At-3 w-3"})]},i))})})})]})}var at=l("grid At-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function sr({pages:e}){let t=(0,me.useSearchParams)(),r=(0,me.usePathname)(),{replace:a}=(0,me.useRouter)(),{totalPages:s,page:o}=e,[n,i]=(0,Ut.useState)({start:o>3?o-3:1,end:o+2}),c=g=>{g==="left"&&n.start>1?i(u=>({start:u.start-1,end:u.end-1})):g==="right"&&n.end<s&&i(u=>({start:u.start+1,end:u.end+1}))};function m(g){let u=new URLSearchParams(t);g?u.set("page",g):u.delete("page"),a(`${r}?${u.toString()}`)}if(s<=1)return null;let f=[];for(let g=n.start;g<=n.end;g++)f.push(g);return(0,At.jsx)("div",{className:"mt-12",children:(0,At.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(at,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,At.jsx)(Be.FaArrowLeft,{})})}),f.map((g,u)=>(0,At.jsx)("li",{children:(0,At.jsx)("a",{className:l(at,g===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${g}`,role:"button",onClick:N=>{N.preventDefault(),m(g.toString())},children:g})},u)),n.end<s&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(at,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,At.jsx)(Be.FaArrowRight,{})})})]})})}function ir({types:e}){let[t,r]=(0,Ut.useState)(e&&e[0].href),a=(0,me.useSearchParams)(),s=(0,me.usePathname)(),{replace:o}=(0,me.useRouter)();function n(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${s}?${c.toString()}`)}return(0,At.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-At-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,At.jsx)(z,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},c))})}function fo({blogs:e,pages:t,categories:r,types:a}){return(0,At.jsx)("section",{children:(0,At.jsx)(F,{children:(0,At.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,At.jsxs)("div",{children:[a&&(0,At.jsx)(ir,{types:a}),(0,At.jsx)(rr,{blogs:e}),(0,At.jsx)(sr,{pages:t})]}),(0,At.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,At.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,At.jsx)(De,{links:r.links,title:r.title})})})]})})})}var gr=D(require("next/image"));var He="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//At";function Ue({className:e}){return l("flex items-center min-At-[3.5rem] md:min-At-[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 bo({className:e,...t}){return(0,At.jsx)("input",{...t,className:Ue({className:e})})}function Ge({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(bo,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function ho({className:e,...t}){return(0,At.jsx)("textarea",{...t,className:l(Ue({}),"resize-none md:min-At-[130px]",e)})}function lr({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(ho,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var dr=require("formik"),re=D(require("yup"));async function cr(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={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:`${s}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var nt=require("sonner"),O={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},xo=re.object().shape({name:re.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),email:re.string().email(O.email).required(O.required),subject:re.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),message:re.string().min(2,O.tooShort).max(300,O.tooLong).required(O.required)}),Oe=l("!pr-[44px]"),Ve=l("!border-red-600 border"),$e=l("sr-only");function pr(){return(0,At.jsx)(dr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:xo,onSubmit:async(e,{resetForm:t})=>{let r=await cr(e);r.data===null?nt.toast.error(r.message):(nt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,At.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,At.jsxs)("div",{children:[(0,At.jsx)(Ge,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,At.jsx)(Be.FaUser,{}),className:l(Oe,e.name&&t.name&&Ve)}),e.name&&t.name&&(0,At.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:$e,children:e.name})]}),(0,At.jsxs)("div",{children:[(0,At.jsx)(Ge,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,At.jsx)(vo,{}),className:l(Oe,e.email&&t.email&&Ve)}),e.email&&t.email&&(0,At.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:$e,children:e.email})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(Ge,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(Oe,e.subject&&t.subject&&Ve)}),e.subject&&t.subject&&(0,At.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:$e,children:e.subject})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(lr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,At.jsx)(yo,{}),className:l(Oe,e.message&&t.message&&Ve)}),e.message&&t.message&&(0,At.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:$e,children:e.message})]}),(0,At.jsx)("div",{className:"lg:col-span-2",children:(0,At.jsx)(z,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,At.jsx)("span",{children:"SEND"})})})]})})}function vo(){return(0,At.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{At:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function yo(){return(0,At.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{At:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function wo(e){let{sectionHeading:t,image:r}=e;return(0,At.jsxs)(At.Fragment,{children:[(0,At.jsx)("section",{className:"section-padding-primary",children:(0,At.jsx)("div",{className:"",children:(0,At.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,At.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,At.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,At.jsxs)("div",{children:[(0,At.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,At.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,At.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,s)=>{var o;return(0,At.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,At.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,At.jsxs)("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((n,i)=>(0,At.jsx)("p",{children:n},i))," ",a.mails&&(0,At.jsxs)("p",{className:"flex items-center space-At-2",children:[(0,At.jsx)(Be.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,At.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,At.jsxs)("p",{className:"flex items-center space-At-2",children:[(0,At.jsx)(Be.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,At.jsx)("section",{className:"section-padding-primary",children:(0,At.jsxs)("div",{className:"relative py-[60px]",children:[(0,At.jsx)("div",{className:"absolute left-0 top-0 z-1 At-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,At.jsx)(gr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:He})}),(0,At.jsx)(F,{children:(0,At.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,At.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,At.jsx)("div",{className:"mb-30px",children:(0,At.jsx)(le,{...t,invert:!0})}),(0,At.jsx)(pr,{})]})})})]})})]})}var ur=D(require("next/image"));var br=D(require("next/link"));function Co({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,At.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,At.jsx)(ce,{children:(0,At.jsxs)(de,{children:[e&&e.src&&(0,At.jsx)(ur.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:He,className:"mx-auto mt-6 rounded-full object-cover"}),(0,At.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,At.jsx)("p",{children:r}),a&&a.length>0&&(0,At.jsx)("nav",{"aria-label":"social links",children:(0,At.jsx)("ul",{className:"inline-flex items-center divide-At divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,At.jsx)("li",{children:(0,At.jsx)(J,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,At.jsx)("span",{children:s.icon})})},o))})})]})})})}function No({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var u;if(!e)return(0,me.notFound)();let{meta:s,populatedAuthors:o,authors:n,categories:i,content:c,title:m}=e,f={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:i,commentCount:0,title:m,description:(s==null?void 0:s.description)||""},g=n==null?void 0:n.map(N=>{var T,y;return{name:N.name||"",about:"",image:{src:N.profilePicture&&((y=(T=N.profilePicture.sizes)==null?void 0:T.square)==null?void 0:y.url)||"",alt:N.name||"blog author"},socialLinks:[]}});return(0,At.jsx)(F,{children:(0,At.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,At.jsx)("div",{children:(0,At.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,At.jsx)("div",{className:"my-4 At-px bg-body/30 lg:my-5"}),(0,At.jsx)(G,{content:c,enableGutter:!1})]})}),(0,At.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,At.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,At.jsxs)(ce,{children:[(0,At.jsx)(Ce,{children:(0,At.jsx)(Ne,{className:"text-accent",children:"Content Actions"})}),(0,At.jsxs)(de,{children:[(0,At.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,At.jsx)(br.default,{href:`${a}${e.id}`,children:(0,At.jsx)(z,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),g&&g.map((N,T)=>(0,At.jsx)(Co,{...N},T)),t&&t.links&&(0,At.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,At.jsx)(De,{links:t.links,title:t.title})})]})]})})}var it=D(require("next/link"));var vr=require("lucide-react"),ko=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:s="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[n,i]=(0,Ut.useState)(!1),c=()=>{i(!n)};return(0,Ut.useEffect)(()=>{let m=window.location.hash;if(m){let f=m.substring(1),g=document.getElementById(f);if(g){let N=g.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:N,behavior:"smooth"})}}},[window.location.hash]),(0,At.jsxs)("div",{children:[(0,At.jsx)("div",{className:l(n?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,At.jsx)(Ao,{pageId:t,tableOfContents:r,edit:a,path:s,relatedContent:o,isSidebarVisible:n}),(0,At.jsx)("div",{className:"block md:hidden mt-8",children:(0,At.jsx)("div",{className:"space-y-6",children:e})})]})};var Ao=({pageId:e,tableOfContents:t=[],edit:r=!0,path:a="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}],isSidebarVisible:o})=>{let[n,i]=(0,Ut.useState)(""),[c,m]=(0,Ut.useState)(!1),[f,g]=(0,Ut.useState)(!1),u=(0,me.usePathname)(),N=()=>{m(!c),g(!1)},T=()=>{g(!f),m(!1)},y=w=>{switch(w){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},S=()=>{let E="/print/"+u.split("/")[1],I=window.open(E,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");I&&I.focus()},R=()=>{let E="/present/"+u.split("/")[1],I=window.open(E,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");I&&I.focus()};return(0,At.jsx)("div",{className:l("fixed right-2 z-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-At-full",o?"translate-At-0":"md:translate-At-0"),children:(0,At.jsxs)("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[(0,At.jsxs)("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-At-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,At.jsxs)(it.default,{href:`${a}${e}`,className:"flex aspect-square min-At-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,At.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,At.jsx)("path",{At:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,At.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,At.jsxs)("a",{onClick:N,className:"flex aspect-square min-At-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,At.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,At.jsx)("path",{At:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,At.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,At.jsxs)("a",{onClick:T,className:"flex aspect-square min-At-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,At.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,At.jsx)("path",{At:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,At.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,At.jsx)("Ht",{className:"dark:border-gray-400"}),(0,At.jsxs)("a",{href:"/",className:"flex aspect-square min-At-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,At.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,At.jsx)("path",{At:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,At.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,At.jsxs)("a",{href:"/",className:"flex aspect-square min-At-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,At.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,At.jsx)("path",{At:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,At.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,At.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-At-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,At.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,At.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,At.jsx)("ul",{className:"flex flex-col space-y-2",children:t.map((w,E)=>(0,At.jsx)("li",{className:y(w.tag),children:(0,At.jsx)("a",{href:`#${w.id}`,className:`text-xs ${n===w.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:w.text})},E))})]})}),f&&s&&s.length>0&&(0,At.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-At-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,At.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,At.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,At.jsx)("ul",{className:"flex flex-col space-y-2",children:s.map((w,E)=>w.links&&w.links.length>0?w.links.map((I,ae)=>(0,At.jsxs)(it.default,{href:I.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[I.title,I.url.startsWith("http")&&(0,At.jsx)(vr.ExternalLink,{className:"ml-1 At-3 w-3"})]},ae)):null)})]})})]})})};var yr=D(require("next/image"));function Po({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?At=80&w=2574&auto=format&fit=crop",imageAlt:a="Professional presentation in modern office setting",imagePosition:s="left",overlay:o=!0}){return(0,At.jsxs)("section",{className:l("relative min-At-[50vh] w-full overflow-hidden",e),children:[(0,At.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,At.jsx)(yr.default,{src:r||"/placeholder.svg",alt:a,fill:!0,className:"object-cover",priority:!0}),o&&(0,At.jsx)("div",{className:"absolute inset-0",style:{background:s==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,At.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",s==="left"?"justify-end":"justify-start"),children:(0,At.jsx)("div",{className:l("w-full max-w-xl py-12",s==="left"?"ml-auto":"Be-auto"),children:t})})]})}0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,ImageSection,MainPageSection,PricingSection,ServiceSection});
@@ -1 +1 @@
1
- import{a as h}from"../chunk-X76XZNRS.mjs";import{a as b}from"../chunk-DTS4JPQL.mjs";import{a}from"../chunk-OKGREBP5.mjs";import{a as c}from"../chunk-AN6RPIXY.mjs";import{a as d}from"../chunk-CYECAKIW.mjs";import"../chunk-AD7PG4E2.mjs";import{a as e}from"../chunk-OBAM7FQJ.mjs";import"../chunk-UMILL4LR.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import{a as g}from"../chunk-JYBIEC4W.mjs";import{a as f}from"../chunk-M6AAFZAZ.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-56F5BZTQ.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-SBAFXZVU.mjs";import"../chunk-PY53YVFX.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-S3QLIGWR.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{c as AboutSection,f as BlogDetail,d as BlogListSection,e as ContactSection,h as ImageSection,g as MainPageSection,b as PricingSection,a as ServiceSection};
1
+ import{a as b}from"../chunk-2YRGNJX5.mjs";import{a}from"../chunk-OKGREBP5.mjs";import{a as d}from"../chunk-BOZT7Z5K.mjs";import"../chunk-AD7PG4E2.mjs";import{a as e}from"../chunk-RRY5APZU.mjs";import"../chunk-UMILL4LR.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import{a as h}from"../chunk-X76XZNRS.mjs";import{a as g}from"../chunk-EZVA3JCM.mjs";import{a as c}from"../chunk-ALZWI32J.mjs";import{a as f}from"../chunk-QRS4IJK7.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-UNSOY5OU.mjs";import"../chunk-SBAFXZVU.mjs";import"../chunk-PY53YVFX.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-BITHUWFH.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{c as AboutSection,f as BlogDetail,d as BlogListSection,e as ContactSection,h as ImageSection,g as MainPageSection,b as PricingSection,a as ServiceSection};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "cortex-react-components",
3
3
  "author": "Cortex Reply",
4
4
  "private": false,
5
- "version": "1.45.0",
5
+ "version": "1.46.0",
6
6
  "description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
7
7
  "license": "MPL-2.0",
8
8
  "main": "./dist/index.js",
@@ -1 +0,0 @@
1
- import{a as b,b as v,c as h}from"./chunk-SBM5HULF.mjs";import{b as i}from"./chunk-BDX257W2.mjs";import{ChevronLeft as w,ChevronRight as k}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function u(...t){return t.filter(Boolean).join(" ")}function $({currentDate:t,setCurrentDate:l,holidays:y,employees:n}){let m=new Date(t.getFullYear(),t.getMonth()+1,0).getDate(),f=()=>{l(new Date(t.getFullYear(),t.getMonth()-1,1))},x=()=>{l(new Date(t.getFullYear(),t.getMonth()+1,1))},N=()=>{l(new Date)};return r("div",{className:"px-4 sm:px-6 lg:px-8",children:[r("div",{className:"sm:flex sm:items-center",children:[r("div",{className:"sm:flex-auto",children:[e("h1",{className:"text-2xl font-semibold text-accent",children:t.toLocaleString("default",{month:"long",year:"numeric"})}),e("p",{className:"mt-2 text-sm text-foreground",children:"All staff with holidays for the current month."})]}),r("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[r(i,{onClick:f,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[e("span",{className:"sr-only",children:"Previous month"}),e(w,{className:"h-5 w-5","aria-hidden":"true"})]}),e(i,{variant:"outline",onClick:N,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),r(i,{onClick:x,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[e("span",{className:"sr-only",children:"Next month"}),e(k,{className:"h-5 w-5","aria-hidden":"true"})]})]})]}),e("div",{className:"mt-8 flow-root",children:e("div",{className:"-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8",children:e("div",{className:"max-h-[60vh] overflow-y-auto",children:r("table",{className:"min-w-full border-separate border-spacing-0",children:[e("thead",{className:"sticky top-0 z-10 bg-white",children:r("tr",{children:[e("th",{scope:"col",className:"sticky top-0 z-10 border-b border-r border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8",children:"Employee"}),[...Array(m)].map((o,s)=>e("th",{scope:"col",className:"sticky top-0 z-10 border-b border-r border-gray-300 bg-white bg-opacity-75 px-0 py-3.5 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter",children:s+1},s))]})}),e("tbody",{children:n.map((o,s)=>r("tr",{children:[e("td",{className:u(s!==n.length-1?" border-gray-200":"","whitespace-nowrap py-4 border-r pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 lg:pl-8"),children:r("div",{className:"flex items-center",children:[r(b,{className:"h-11 w-11",children:[e(v,{src:o.image,alt:o.name}),e(h,{children:o.name.split(" ").map(c=>c[0]).join("")})]}),e("div",{className:"ml-4",children:e("div",{className:"font-medium text-accent",children:o.name})})]})}),[...Array(m)].map((c,g)=>{let p=new Date(t.getFullYear(),t.getMonth(),g+1),a=y.find(d=>d.userId===o.id&&new Date(d.startDate)<=p&&new Date(d.endDate)>=p);return e("td",{className:u(s!==n.length-1?"border-r border-gray-200":"","whitespace-nowrap border-r border-gray-200"),children:e("div",{className:`h-6 w-6 mx-auto rounded-full overflow-hidden ${a?a.status==="approved"?"bg-green-500":a.status==="rejected"?"bg-red-500":"bg-gray-600":"bg-gray-100"}`,title:a?`${o.name}: ${a.status} (${a.startDate} - ${a.endDate}) - ${a.leaveType}`:"",children:a&&a.leaveType!=="Full Day"&&e("div",{className:`h-3 w-6 ${a.leaveType==="Morning","bg-white rounded-t-full"}`})})},`${o.id}-${g}`)})]},o.id))})]})})})})]})}export{$ as a};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-EDN7AU6R.mjs";import{b as l,c as s}from"./chunk-S3QLIGWR.mjs";import{a as e}from"./chunk-PVRWMAHW.mjs";import{jsx as r}from"react/jsx-runtime";var m={content:a,cta:l,mediaBlock:e,imageBlock:e,features:s},u=i=>{let{blocks:o}=i;return o&&Array.isArray(o)&&o.length>0?r("section",{id:"render-blocks",children:o.map((c,k)=>{let{blockType:t}=c;if(t&&t in m){let n=m[t];if(n)return r("div",{className:"my-6",children:r(n,{...c})},k)}return null})}):null};export{u as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{e as c}from"./chunk-S3QLIGWR.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-NGK3IDFP.mjs";import p from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var y=({links:r,media:t,children:l,richText:i})=>a("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[e("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:a("div",{className:"text-center",children:[l||i&&e(c,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:i,enableGutter:!1}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:m},n)=>e("li",{children:e(o,{...m})},n))})]})}),a("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(p,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});export{y as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as v}from"./chunk-MGZMAVEP.mjs";import{b as s}from"./chunk-BDX257W2.mjs";import{a as d,b as m,c as f,e as u}from"./chunk-D76EO57Z.mjs";import{a as r}from"./chunk-NIQ4466A.mjs";import{useState as x,useEffect as O}from"react";import b from"next/link";import{Printer as z,Presentation as S}from"lucide-react";import{usePathname as H}from"next/navigation";import{jsx as t,jsxs as a}from"react/jsx-runtime";var G=({children:p,pageId:C,tableOfContents:h=[],edit:N=!0,path:y="/admin/collections/pages/",relatedContent:i=[{title:"Related Content",links:[]}]})=>{let[c,P]=x(!1),[k,T]=x(""),g=H(),E=()=>{P(!c)},I=e=>{switch(e){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},$=(e,n)=>{e.preventDefault();let o=document.getElementById(n);if(o){let l=o.offsetTop+-100,w=document.querySelector(".container")||window;w===window?window.scrollTo({top:l,behavior:"smooth"}):w.scrollTo({top:l,behavior:"smooth"}),T(n)}else console.error(`Element with ID "${n}" not found.`)},R=()=>{let n="/print/"+g.split("/")[1],o=window.open(n,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");o&&o.focus()},B=()=>{let n="/present/"+g.split("/")[1],o=window.open(n,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");o&&o.focus()};return O(()=>{let e=window.location.hash;if(e){let n=e.substring(1),o=document.getElementById(n);if(o){let l=o.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:l,behavior:"smooth"})}}},[window.location.hash]),a("div",{className:"container py-8",children:[a("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[t("div",{className:r(c?"col-span-2":"col-span-3","xl:col-span-3"),children:p}),a("div",{className:r("space-y-6 transform min-w-full transition-transform duration-300","col-span-4 sm:col-span-3 md:col-span-2 lg:col-span-1 xl:col-span-1 xl:-mt-20",c?"translate-x-0":"md:translate-x-full","xl:block xl:translate-x-0"),children:[N&&a(d,{className:"p-4",children:[t(m,{children:t(f,{className:"text-accent",children:"Content Actions"})}),t(u,{children:a("div",{className:"grid grid-cols-1 gap-2 mt-4 w-full",children:[t(b,{href:`${y}${C}`,className:"w-full",children:t(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit Page"})}),t(b,{href:"/admin/collections/pages/create",className:"w-full",children:t(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Create New"})}),a("div",{className:"grid grid-cols-2 gap-2",children:[a(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",onClick:R,children:[t(z,{className:"mr-2 w-4 h-4"})," Print"]}),a(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",onClick:B,children:[t(S,{className:"mr-2 w-4 h-4"})," Present"]})]})]})})]}),i&&i.length>0&&i.map((e,n)=>e.links&&e.links.length>0&&t(v,{...e},n)),h.length>3&&a(d,{className:"w-full max-w-sm mt-4",children:[t(m,{children:t(f,{className:"text-accent",children:"On this page"})}),t(u,{children:t("ul",{className:"space-y-2",children:h.map((e,n)=>t("li",{className:I(e.tag),children:t("a",{href:`#${e.id}`,className:`text-xs ${k===e.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:e.text})},n))})})]})]}),t("button",{onClick:E,className:r("fixed top-1/2 right-0 z-50 h-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-y-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),t("div",{className:"block md:hidden mt-8",children:t("div",{className:"space-y-6",children:p})})]})};export{G as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as D}from"./chunk-YNC77MO4.mjs";import{a as C}from"./chunk-FBUZ37DL.mjs";import{useState as x,useCallback as P}from"react";import{DragDropContext as w}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as d,jsxs as y}from"react/jsx-runtime";var W=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function K({initialData:a,addNewDeal:S,updateDeal:n,addComment:b,addNewCustomer:f}){var i;let[l,c]=x(null),g=e=>{var t;return((t=a.deals)!=null?t:[]).filter(o=>o.status===e)},v=e=>e.reduce((t,o)=>t+(o.value||0),0),M=(e,t)=>{let o={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return e.reduce((s,r)=>s+(r.value||0)*o[t],0)},R=P(e=>{var p;let{source:t,destination:o}=e;if(!o||t.droppableId===o.droppableId&&t.index===o.index)return;let s=t.droppableId,r=o.droppableId;console.log("Moving from ",s,"to",r);let m=[...(p=a.deals)!=null?p:[]],[u]=m.splice(t.index,1);u.status=r,m.splice(o.index,0,u),n(u)},[n]);return d(w,{onDragEnd:R,children:y("div",{className:"p-4",children:[d("div",{className:"flex space-x-4 overflow-x-auto pb-4",children:W.filter(e=>e!=="Won"&&e!=="Lost").map(e=>{var o,s;let t=g(e);return d(D,{status:e,deals:t,customers:(o=a.customers)!=null?o:[],users:a.users,categories:(s=a.categories)!=null?s:[],onDealClick:c,calculateColumnValue:v,calculateWeightedValue:M,addNewDeal:e==="Cold"?S:void 0,onAddCustomer:f},e)})}),l&&d(C,{deal:l,users:a.users,customer:l.customer,categories:(i=a.categories)!=null?i:[],onClose:()=>c(null),onSave:n,onAddComment:e=>b(l.id.toString(),e)})]})})}export{K as a};