cortex-react-components 1.41.1 → 1.42.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 (207) hide show
  1. package/dist/{chunk-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
  2. package/dist/{chunk-HAFP6IMI.mjs → chunk-3R7QFILP.mjs} +1 -1
  3. package/dist/{chunk-IS5OUEJJ.mjs → chunk-4X3MAS5A.mjs} +1 -1
  4. package/dist/{chunk-CTCV3L4B.mjs → chunk-6TE3N75Q.mjs} +1 -1
  5. package/dist/{chunk-HTO3HNQS.mjs → chunk-A367QIKQ.mjs} +1 -1
  6. package/dist/{chunk-AFA6LBJ4.mjs → chunk-D43ENVPX.mjs} +1 -1
  7. package/dist/{chunk-373YJLIH.mjs → chunk-DBYDO4YU.mjs} +1 -1
  8. package/dist/{chunk-QL74DMZ3.mjs → chunk-EMZQNDA7.mjs} +1 -1
  9. package/dist/{chunk-FBFDZOP6.mjs → chunk-FGQPY2XP.mjs} +1 -1
  10. package/dist/{chunk-JYZW3G3N.mjs → chunk-G3KO4ITD.mjs} +1 -1
  11. package/dist/{chunk-UDRX6THN.mjs → chunk-GFV75XSU.mjs} +1 -1
  12. package/dist/{chunk-UDVFDGKM.mjs → chunk-GWBPMSY5.mjs} +1 -1
  13. package/dist/{chunk-HRZRAS6Z.mjs → chunk-H7A6JUUD.mjs} +1 -1
  14. package/dist/chunk-HIT3PDJA.mjs +1 -0
  15. package/dist/chunk-HMTQCPDF.mjs +1 -0
  16. package/dist/{chunk-62YZZSOX.mjs → chunk-HVFMGNCB.mjs} +1 -1
  17. package/dist/{chunk-4VDJWCUB.mjs → chunk-IE2A7UT3.mjs} +1 -1
  18. package/dist/chunk-KRJQF2ZW.mjs +4 -0
  19. package/dist/chunk-MP3J7UPZ.mjs +1 -0
  20. package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
  21. package/dist/chunk-NMDMFCM7.mjs +4 -0
  22. package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
  23. package/dist/{chunk-SJWN6J3F.mjs → chunk-QPHDY7ND.mjs} +1 -1
  24. package/dist/{chunk-LVUWQ35N.mjs → chunk-QUGJPAMP.mjs} +1 -1
  25. package/dist/chunk-QYU6PIEK.mjs +1 -0
  26. package/dist/{chunk-KKLZ6CCZ.mjs → chunk-SHN4XZWD.mjs} +1 -1
  27. package/dist/{chunk-L44KSGUG.mjs → chunk-SKGNICQA.mjs} +1 -1
  28. package/dist/{chunk-ET5WFKM7.mjs → chunk-SOC7T4NU.mjs} +1 -1
  29. package/dist/{chunk-PARYRNXP.mjs → chunk-SYJP6OZD.mjs} +1 -1
  30. package/dist/{chunk-QMWYQ3FS.mjs → chunk-T2SCYW2J.mjs} +1 -1
  31. package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
  32. package/dist/{chunk-DJ5BLICX.mjs → chunk-UDX5Y4SA.mjs} +1 -1
  33. package/dist/{chunk-JM6ZXLBG.mjs → chunk-UMP5NVAD.mjs} +1 -1
  34. package/dist/{chunk-EI7PFWFS.mjs → chunk-VPVXJCL6.mjs} +1 -1
  35. package/dist/{chunk-4ZT572BM.mjs → chunk-XNUCAQBB.mjs} +1 -1
  36. package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.mjs} +1 -1
  37. package/dist/chunk-Y7GZTT55.mjs +1 -0
  38. package/dist/chunk-YBXYJYD2.mjs +1 -0
  39. package/dist/{chunk-TJ6J3OQZ.mjs → chunk-YRLDLIK6.mjs} +1 -1
  40. package/dist/{chunk-CNCPREWR.mjs → chunk-YUK45R37.mjs} +1 -1
  41. package/dist/components/Blocks/Banner.js +1 -1
  42. package/dist/components/Blocks/Banner.mjs +1 -1
  43. package/dist/components/Blocks/CallToAction.js +1 -1
  44. package/dist/components/Blocks/CallToAction.mjs +1 -1
  45. package/dist/components/Blocks/Content.js +1 -1
  46. package/dist/components/Blocks/Content.mjs +1 -1
  47. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  48. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  50. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  51. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  52. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  53. package/dist/components/Blocks/RelatedPosts.js +1 -1
  54. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  55. package/dist/components/Blocks/RenderBlocks.js +1 -1
  56. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  57. package/dist/components/Blocks/index.js +1 -1
  58. package/dist/components/Blocks/index.mjs +1 -1
  59. package/dist/components/CRM/DealCard.stories.js +1 -1
  60. package/dist/components/CRM/DealCard.stories.mjs +1 -1
  61. package/dist/components/CRM/DealDetails.d.ts +4 -4
  62. package/dist/components/CRM/DealDetails.js +1 -1
  63. package/dist/components/CRM/DealDetails.mjs +1 -1
  64. package/dist/components/CRM/DealDetails.stories.js +4 -0
  65. package/dist/components/CRM/DealDetails.stories.mjs +1 -0
  66. package/dist/components/CRM/KanbanBoard.d.ts +8 -7
  67. package/dist/components/CRM/KanbanBoard.js +1 -1
  68. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  69. package/dist/components/CRM/KanbanBoard.stories.js +1 -1
  70. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  71. package/dist/components/CRM/KanbanColumn.d.ts +5 -5
  72. package/dist/components/CRM/KanbanColumn.js +1 -1
  73. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  74. package/dist/components/CRM/KanbanColumn.stories.js +1 -1
  75. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  76. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  77. package/dist/components/CRM/NewCustomerForm.stories.mjs +1 -1
  78. package/dist/components/CRM/NewDealForm.d.ts +6 -5
  79. package/dist/components/CRM/NewDealForm.js +1 -1
  80. package/dist/components/CRM/NewDealForm.mjs +1 -1
  81. package/dist/components/CRM/NewDealForm.stories.js +1 -1
  82. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  83. package/dist/components/CRM/actions.js +1 -1
  84. package/dist/components/CRM/actions.mjs +3 -1
  85. package/dist/components/CRM/mockData.d.ts +2 -0
  86. package/dist/components/CRM/mockData.js +1 -1
  87. package/dist/components/CRM/mockData.mjs +1 -1
  88. package/dist/components/CRM/types.d.ts +4 -3
  89. package/dist/components/Cards/index.mjs +1 -1
  90. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  91. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  92. package/dist/components/Heros/HighImpact/index.js +1 -1
  93. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  94. package/dist/components/Heros/LowImpact/index.js +1 -1
  95. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  96. package/dist/components/Heros/MediumImpact/index.js +1 -1
  97. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  98. package/dist/components/Heros/PostHero/index.mjs +1 -1
  99. package/dist/components/Heros/RenderHero.js +1 -1
  100. package/dist/components/Heros/RenderHero.mjs +1 -1
  101. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  102. package/dist/components/Heros/index.js +1 -1
  103. package/dist/components/Heros/index.mjs +1 -1
  104. package/dist/components/Holidays/HolidayGrid.js +1 -1
  105. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  106. package/dist/components/Holidays/HolidayGrid.stories.js +1 -1
  107. package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
  108. package/dist/components/Holidays/HolidayTracker.js +1 -1
  109. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  110. package/dist/components/Holidays/HolidayTracker.stories.js +1 -1
  111. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  112. package/dist/components/Holidays/index.js +1 -1
  113. package/dist/components/Holidays/index.mjs +1 -1
  114. package/dist/components/Layouts/BlogList.js +1 -1
  115. package/dist/components/Layouts/BlogList.mjs +1 -1
  116. package/dist/components/Layouts/BlogList.stories.js +3 -3
  117. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  118. package/dist/components/Layouts/SlideShow.js +1 -1
  119. package/dist/components/Layouts/SlideShow.mjs +1 -1
  120. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  121. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  122. package/dist/components/Layouts/index.js +1 -1
  123. package/dist/components/Layouts/index.mjs +1 -1
  124. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  125. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  126. package/dist/components/Menus/SidebarRight.mjs +1 -1
  127. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  128. package/dist/components/Menus/index.mjs +1 -1
  129. package/dist/components/Payload/Card/index.mjs +1 -1
  130. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  131. package/dist/components/Payload/Media/index.mjs +1 -1
  132. package/dist/components/Payload/RichText/index.js +1 -1
  133. package/dist/components/Payload/RichText/index.mjs +1 -1
  134. package/dist/components/Payload/RichText/serialize.js +1 -1
  135. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  136. package/dist/components/Payload/RichText.stories.js +1 -1
  137. package/dist/components/Payload/RichText.stories.mjs +1 -1
  138. package/dist/components/Payload/index.js +1 -1
  139. package/dist/components/Payload/index.mjs +1 -1
  140. package/dist/components/index.js +6 -6
  141. package/dist/components/index.mjs +1 -1
  142. package/dist/components/ui/index.mjs +1 -1
  143. package/dist/components/ui/sidebar.mjs +1 -1
  144. package/dist/globals.css +1 -1
  145. package/dist/index.js +2 -2
  146. package/dist/index.mjs +1 -1
  147. package/dist/metafile-cjs.json +1 -1
  148. package/dist/metafile-esm.json +1 -1
  149. package/dist/pages/Blog.js +1 -1
  150. package/dist/pages/Blog.mjs +1 -1
  151. package/dist/pages/Blog.stories.js +1 -1
  152. package/dist/pages/Blog.stories.mjs +1 -1
  153. package/dist/pages/Documentation.mjs +1 -1
  154. package/dist/pages/Documentation.stories.mjs +1 -1
  155. package/dist/pages/IndexPage.mjs +1 -1
  156. package/dist/pages/IndexPage.stories.mjs +1 -1
  157. package/dist/pages/Intranet.mjs +1 -1
  158. package/dist/pages/Intranet.stories.mjs +1 -1
  159. package/dist/pages/Page.js +1 -1
  160. package/dist/pages/Page.mjs +1 -1
  161. package/dist/pages/Page.stories.js +1 -1
  162. package/dist/pages/Page.stories.mjs +1 -1
  163. package/dist/pages/Publish.js +1 -1
  164. package/dist/pages/Publish.mjs +1 -1
  165. package/dist/pages/Publish.stories.js +1 -1
  166. package/dist/pages/Publish.stories.mjs +1 -1
  167. package/dist/pages/Website.js +1 -1
  168. package/dist/pages/Website.mjs +1 -1
  169. package/dist/pages/Website.stories.js +1 -1
  170. package/dist/pages/Website.stories.mjs +1 -1
  171. package/dist/sections/AboutSection.js +1 -1
  172. package/dist/sections/AboutSection.mjs +1 -1
  173. package/dist/sections/AboutSection.stories.js +1 -1
  174. package/dist/sections/AboutSection.stories.mjs +1 -1
  175. package/dist/sections/BlogDetail.js +1 -1
  176. package/dist/sections/BlogDetail.mjs +1 -1
  177. package/dist/sections/BlogDetail.stories.js +1 -1
  178. package/dist/sections/BlogDetail.stories.mjs +1 -1
  179. package/dist/sections/BlogListSection.mjs +1 -1
  180. package/dist/sections/BlogListSection.stories.mjs +1 -1
  181. package/dist/sections/ContactSection.js +1 -1
  182. package/dist/sections/ContactSection.mjs +1 -1
  183. package/dist/sections/ContactSection.stories.js +1 -1
  184. package/dist/sections/ContactSection.stories.mjs +1 -1
  185. package/dist/sections/PricingSection.js +1 -1
  186. package/dist/sections/PricingSection.mjs +1 -1
  187. package/dist/sections/PricingSection.stories.js +1 -1
  188. package/dist/sections/PricingSection.stories.mjs +1 -1
  189. package/dist/sections/form/index.mjs +1 -1
  190. package/dist/sections/index.js +1 -1
  191. package/dist/sections/index.mjs +1 -1
  192. package/package.json +1 -1
  193. package/dist/chunk-4RKYG7LK.mjs +0 -1
  194. package/dist/chunk-BLGU3YGC.mjs +0 -4
  195. package/dist/chunk-FTVQOPU3.mjs +0 -4
  196. package/dist/chunk-I4LMCHGL.mjs +0 -1
  197. package/dist/chunk-IE5X3XS7.mjs +0 -1
  198. package/dist/chunk-J7TRHWRM.mjs +0 -4
  199. package/dist/chunk-TYFBZ3Q7.mjs +0 -1
  200. package/dist/chunk-UG6FK323.mjs +0 -1
  201. package/dist/chunk-V4CUPKLW.mjs +0 -4
  202. package/dist/chunk-Y6QUDCQM.mjs +0 -1
  203. package/dist/components/CRM/CRMPage.d.ts +0 -1
  204. package/dist/components/CRM/CRMPage.js +0 -7
  205. package/dist/components/CRM/CRMPage.mjs +0 -2
  206. package/dist/components/CRM/CRMPage.stories.js +0 -196
  207. package/dist/components/CRM/CRMPage.stories.mjs +0 -1
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var Cr=Object.create;var Pe=Object.defineProperty;var Nr=Object.getOwnPropertyDescriptor;var kr=Object.getOwnPropertyNames;var Ar=Object.getPrototypeOf,Pr=Object.prototype.hasOwnProperty;var Sr=(e,t)=>{for(var r in t)Pe(e,r,{get:t[r],enumerable:!0})},bt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kr(t))!Pr.call(e,n)&&n!==r&&Pe(e,n,{get:()=>t[n],enumerable:!(a=Nr(t,n))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?Cr(Ar(e)):{},bt(t||!e||!e.__esModule?Pe(r,"default",{value:e,enumerable:!0}):r,e)),Tr=e=>bt(Pe({},"__esModule",{value:!0}),e);var Po={};Sr(Po,{AboutSection:()=>po,BlogDetail:()=>ko,BlogListSection:()=>bo,ContactSection:()=>Co,MainPageSection:()=>Ao,PricingSection:()=>mo,ServiceSection:()=>lo});module.exports=Tr(Po);var At=require("clsx");var Ze="-",Br=e=>{let t=Ir(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Ze);return i[0]===""&&i.length!==1&&i.shift(),yt(i,t)||Rr(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},yt=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?yt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Ze);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},ht=/^\[(.+)\]$/,Rr=e=>{if(ht.test(e)){let t=ht.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ir=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Mr(Object.entries(e.classGroups),r).forEach(([o,s])=>{Je(s,a,o,t)}),a},Je=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:xt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Lr(n)){Je(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{Je(s,xt(t,o),r,a)})})},xt=(e,t)=>{let r=e;return t.split(Ze).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Lr=e=>e.isThemeGetter,Mr=(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,Er=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)}}},vt="!",zr=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(vt),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},Dr=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},Fr=e=>({cache:Er(e.cacheSize),parseClassName:zr(e),...Br(e)}),Hr=/\s+/,Ur=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Hr),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=Dr(f).join(":"),h=g?m+vt:m,N=h+C;if(o.includes(N))continue;o.push(N);let j=n(C,I);for(let z=0;z<j.length;++z){let te=j[z];o.push(h+te)}i=p+(i.length>0?" "+i:i)}return i};function Gr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=wt(t))&&(a&&(a+=" "),a+=r);return a}var wt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=wt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Or(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((f,g)=>g(f),e());return r=Fr(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=Ur(c,r);return n(c,f),f}return function(){return o(Gr.apply(null,arguments))}}var A=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ct=/^\[(?:([a-z-]+):)?(.+)\]$/i,Vr=/^\d+\/\d+$/,Yr=new Set(["px","full","screen"]),$r=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Kr=/\d+(%|px|r?em|[sdl]?Pt([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(Pt|h|i|Pt|min|max))|\Pt(calc|min|max|clamp)\(.+\)|^0$/,jr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Qr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_r=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_=e=>le(e)||Yr.has(e)||Vr.test(e),Z=e=>ce(e,"length",ro),le=e=>!!e&&!Number.isNaN(Number(e)),qe=e=>ce(e,"number",le),ye=e=>!!e&&Number.isInteger(Number(e)),Wr=e=>e.endsWith("%")&&le(e.slice(0,-1)),d=e=>Ct.test(e),X=e=>$r.test(e),qr=new Set(["length","size","percentage"]),Jr=e=>ce(e,qr,Nt),Zr=e=>ce(e,"position",Nt),Xr=new Set(["image","url"]),eo=e=>ce(e,Xr,ao),to=e=>ce(e,"",oo),ve=()=>!0,ce=(e,t,r)=>{let a=Ct.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},ro=e=>Kr.test(e)&&!jr.test(e),Nt=()=>!1,oo=e=>Qr.test(e),ao=e=>_r.test(e);var no=()=>{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"),z=A("scale"),te=A("sepia"),ct=A("skew"),dt=A("space"),mt=A("translate"),je=()=>["auto","contain","none"],Qe=()=>["auto","hidden","clip","visible","scroll"],_e=()=>["auto",d,t],S=()=>[d,t],pt=()=>["",_,Z],ke=()=>["auto",le,d],gt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ae=()=>["solid","dashed","dotted","double","none"],ut=()=>["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"],xe=()=>["","0",d],ft=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[le,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:pt(),contrast:Q(),grayscale:xe(),hueRotate:Q(),invert:xe(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[Wr,Z],inset:_e(),margin:_e(),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":ft()}],"break-before":[{"break-before":ft()}],"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:[...gt(),d]}],overflow:[{overflow:Qe()}],"overflow-Pt":[{"overflow-Pt":Qe()}],"overflow-Pt":[{"overflow-Pt":Qe()}],overscroll:[{overscroll:je()}],"overscroll-Pt":[{"overscroll-Pt":je()}],"overscroll-Pt":[{"overscroll-Pt":je()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-Pt":[{"inset-Pt":[C]}],"inset-Pt":[{"inset-Pt":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ye,d]}],basis:[{basis:_e()}],"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":ke()}],"col-end":[{"col-end":ke()}],"grid-rows":[{"grid-rows":[ve]}],"row-start-end":[{row:["auto",{span:[ye,d]},d]}],"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","Te",d]}],"auto-rows":[{"auto-rows":["auto","min","max","Te",d]}],gap:[{gap:[u]}],"gap-Pt":[{"gap-Pt":[u]}],"gap-Pt":[{"gap-Pt":[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:[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]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-Pt":[{"space-Pt":[dt]}],"space-Pt-reverse":["space-Pt-reverse"],"space-Pt":[{"space-Pt":[dt]}],"space-Pt-reverse":["space-Pt-reverse"],Pt:[{Pt:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-Pt":[{"min-Pt":[d,t,"min","max","fit"]}],"max-Pt":[{"max-Pt":[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",qe]}],"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",le,qe]}],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:[...Ae(),"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:[...gt(),Zr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Pt","Pt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Jr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Pt","bl","l","tl"]},eo]}],"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-Pt":[{"rounded-Pt":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-Pt":[{"rounded-Pt":[o]}],"rounded-Pt":[{"rounded-Pt":[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-Pt":[{border:[i]}],"border-Pt-Pt":[{"border-Pt":[i]}],"border-Pt-Pt":[{"border-Pt":[i]}],"border-Pt-s":[{"border-s":[i]}],"border-Pt-e":[{"border-e":[i]}],"border-Pt-t":[{"border-t":[i]}],"border-Pt-r":[{"border-r":[i]}],"border-Pt-Pt":[{"border-Pt":[i]}],"border-Pt-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...Ae(),"hidden"]}],"divide-Pt":[{"divide-Pt":[i]}],"divide-Pt-reverse":["divide-Pt-reverse"],"divide-Pt":[{"divide-Pt":[i]}],"divide-Pt-reverse":["divide-Pt-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:Ae()}],"border-color":[{border:[n]}],"border-color-Pt":[{"border-Pt":[n]}],"border-color-Pt":[{"border-Pt":[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-Pt":[{"border-Pt":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Ae()]}],"outline-offset":[{"outline-offset":[_,d]}],"outline-Pt":[{outline:[_,Z]}],"outline-color":[{outline:[e]}],"ring-Pt":[{ring:pt()}],"ring-Pt-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-Pt":[{"ring-offset":[_,Z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",X,to]}],"shadow-color":[{shadow:[ve]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...ut(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ut()}],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:[te]}],"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":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-Pt":[{"border-spacing-Pt":[s]}],"border-spacing-Pt":[{"border-spacing-Pt":[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:[z]}],"scale-Pt":[{"scale-Pt":[z]}],"scale-Pt":[{"scale-Pt":[z]}],rotate:[{rotate:[ye,d]}],"translate-Pt":[{"translate-Pt":[mt]}],"translate-Pt":[{"translate-Pt":[mt]}],"skew-Pt":[{"skew-Pt":[ct]}],"skew-Pt":[{"skew-Pt":[ct]}],"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","Pt-resize","ne-resize","nw-resize","Pt-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","Pt","Pt",""]}],"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-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":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","Pt","Pt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Pt":[{"touch-pan":["Pt","left","right"]}],"touch-Pt":[{"touch-pan":["Pt","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-Pt":[{stroke:[_,Z,qe]}],stroke:[{stroke:[e,"none"]}],Ut:["Ut-only","not-Ut-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Pt","overflow-Pt"],overscroll:["overscroll-Pt","overscroll-Pt"],inset:["inset-Pt","inset-Pt","start","end","top","right","bottom","left"],"inset-Pt":["right","left"],"inset-Pt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Pt","gap-Pt"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["Pt","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-Pt","rounded-l","rounded-ss","rounded-Pt","rounded-Pt","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Pt","rounded-Pt"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-Pt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Pt","border-spacing-Pt"],"border-Pt":["border-Pt-s","border-Pt-e","border-Pt-t","border-Pt-r","border-Pt-Pt","border-Pt-l"],"border-Pt-Pt":["border-Pt-r","border-Pt-l"],"border-Pt-Pt":["border-Pt-t","border-Pt-Pt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Pt","border-color-l"],"border-color-Pt":["border-color-r","border-color-l"],"border-color-Pt":["border-color-t","border-color-Pt"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Pt","touch-Pt","touch-pz"],"touch-Pt":["touch"],"touch-Pt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var kt=Or(no);function l(...e){return kt((0,At.clsx)(e))}var Pt=require("react/jsx-runtime");function D({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,Pt.jsx)("div",{className:n,children:e})}var Se=(e,t)=>e[t%e.length];var St=require("@radix-ui/react-slot"),Tt=require("class-variance-authority"),Bt=E(require("react")),so=(0,Tt.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 Pt-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),R=Bt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Pt.jsx)(e?St.Slot:"button",{className:l(so({className:t,size:r,variant:a})),ref:o,...n}));R.displayName="Button";var It=({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,Pt.jsx)("i",{className:i})};var Mt=E(require("next/link"));function re({children:e,href:t,openNewTab:r,...a}){return(0,Pt.jsx)(Mt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function io(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function zt({icon:e,title:t,description:r,slug:a}){return(0,Pt.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block h-full space-Pt-6 overflow-hidden rounded-5 p-6 md:space-Pt-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Pt.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Pt.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:io(e)?(0,Pt.jsx)(It,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Pt.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,Pt.jsx)(re,{href:a,children:t}):t})]}),(0,Pt.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,Pt.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,Pt.jsxs)(re,{href:a,children:[(0,Pt.jsx)("span",{children:"Read More"}),(0,Pt.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Pt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pt.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,Pt.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] Pt-full scale-Pt-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Pt-100 group-hover/service:opacity-100"})]})}function lo({services:e,className:t}){return(0,Pt.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,Pt.jsx)(D,{className:"py-8",children:e&&e.length>0&&(0,Pt.jsx)("div",{className:"flex flex-wrap justify-center gap-Pt-8",children:e.map((r,a)=>(0,Pt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Se([200,400,600],a),className:"Pt-full px-4 md:Pt-1/2 lg:Pt-1/3",children:(0,Pt.jsx)(zt,{...r})},a))})})})}var Te=require("react-icons/fa6");function Dt({title:e,description:t,features:r,price:a,duration:n,button:o}){return(0,Pt.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,Pt.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-Pt max-lg:pt-14 lg:border-r lg:p-10",children:[(0,Pt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Pt.jsx)("p",{children:t})]}),(0,Pt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,Pt.jsxs)("div",{className:"flex flex-col justify-stretch gap-Pt-14 gap-Pt-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,Pt.jsx)("ul",{"aria-label":"pricing point list",className:"grid Pt-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((s,i)=>(0,Pt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Pt.jsx)("span",{className:"text-accent pt-1",children:(0,Pt.jsx)(Te.FaCircleCheck,{})}),(0,Pt.jsx)("span",{children:s})]},i))}),(0,Pt.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,Pt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:n&&n})]}),o&&(0,Pt.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,Pt.jsx)(R,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Pt.jsxs)(re,{href:o.href,openNewTab:o.openNewTab,children:[(0,Pt.jsx)("span",{className:"relative z-1",children:o.label}),(0,Pt.jsx)("span",{className:"relative z-1 pl-2",children:(0,Pt.jsx)(Te.FaAnglesRight,{})})]})})})]})})]})}var Ft=({className:e,content:t,style:r})=>(0,Pt.jsx)("div",{className:l("mx-auto my-8 Pt-full",e),children:(0,Pt.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,Pt.jsx)(U,{content:t,enableGutter:!1,enableProse:!1})})});var Xe=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,Pt.jsxs)(Xe.default,{className:l(n),href:f||p||"",...u,children:[o&&o,a&&a]}):(0,Pt.jsx)(R,{asChild:!0,className:n,size:g,variant:r,children:(0,Pt.jsxs)(Xe.default,{className:l(n),href:f||p||"",...u,children:[o&&o,a&&a]})})};var Ht=({links:e,richText:t})=>(0,Pt.jsx)("div",{className:"container",children:(0,Pt.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,Pt.jsx)("div",{className:"max-Pt-[48rem] flex items-center",children:t&&(0,Pt.jsx)(U,{className:"mb-0",content:t,enableGutter:!1})}),(0,Pt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Pt.jsx)(Ce,{size:"lg",...r},a))})]})});var Re=require("prism-react-renderer");var Ut=require("lucide-react"),Gt=require("react");function Ot({code:e}){let[t,r]=(0,Gt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Pt.jsx)("div",{className:"flex justify-end align-middle",children:(0,Pt.jsxs)(R,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Pt.jsx)("p",{children:t}),(0,Pt.jsx)("div",{className:"Pt-6 h-6 dark:invert",children:(0,Pt.jsx)(Ut.ClipboardCopy,{})})]})})}var Vt=({code:e,language:t=""})=>e?(0,Pt.jsx)(Re.Highlight,{code:e,language:t,theme:Re.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Pt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Pt-auto",children:[n.map((o,s)=>(0,Pt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Pt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,Pt.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,Pt.jsx)("span",{...a({token:i})},c))})]},s)),(0,Pt.jsx)(Ot,{code:e})]})}):null;var Yt=({className:e,code:t,language:r})=>(0,Pt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Pt.jsx)(Vt,{code:t,language:r})});var Kt=E(require("next/image")),co={"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=",jt=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||$t}let T=c||"lazy",I=s||Object.entries(co).map(([,C])=>`(max-width: ${C}px) ${C*2}Pt`).join(", ");return(0,Pt.jsx)("picture",{children:(0,Pt.jsx)(Kt.default,{alt:g||"",className:l(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:$t,priority:T!=="lazy"&&n,quality:100,loading:T,sizes:I,src:u,width:r?void 0:p})})};var Qt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var _t=()=>{if(Qt){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,n=(0,Gt.useRef)(null);if((0,Gt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Pt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Pt.jsx)("source",{src:`${_t()}/media/${o}`})})}return null};var Me=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,Pt.jsx)(r||Gt.Fragment,{...r!==null?{className:t}:{},children:n?(0,Pt.jsx)(Wt,{...e}):(0,Pt.jsx)(jt,{...e})})};var Jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Pt.jsx)("div",{className:l("",{container:r},t),children:(0,Pt.jsx)(Me,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Zt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Pt.jsx)("div",{className:l("",{container:r},t),children:(0,Pt.jsx)(Me,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Xt=({title:e,description:t,features:r,id:a})=>(0,Pt.jsxs)("section",{className:l("container Pt-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Pt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,Pt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,Pt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Pt.jsx)(U,{content:t,enableGutter:!1})}),(0,Pt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let s=(0,Pt.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Pt.jsx)("div",{className:"text-accent h-12 Pt-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Pt.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,Pt.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,Pt.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,Pt.jsx)("div",{className:"text-lg opacity-80",children:(0,Pt.jsx)(U,{content:n.content,enableGutter:!1})})]},o);return n.link?(0,Pt.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:s},o):s})})]});var ze=E(require("react"));function Ee({nodes:e}){return(0,Pt.jsx)(ze.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Pt.jsx)(ze.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Pt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Pt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Pt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Pt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Pt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Pt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Pt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Pt.jsx)("table",{children:(0,Pt.jsx)("tbody",{children:t.children.map((o,s)=>(0,Pt.jsx)("tr",{children:o.children.map((i,c)=>(0,Pt.jsx)("td",{children:Ee({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 Ee({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,Pt.jsx)(Ht,{...o},r);case"mediaBlock":return(0,Pt.jsx)(Jt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-Pt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Pt.jsx)(Zt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-Pt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Pt.jsx)(Ft,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Pt.jsx)(Yt,{className:"col-start-2",...o},r);case"features":return(0,Pt.jsx)(Xt,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Pt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Pt.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Pt.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,Pt.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Pt.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,Pt.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Pt.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Pt.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,Pt.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,Pt.jsx)("div",{className:l({"container ":r,"max-Pt-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ee({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function me({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,Pt.jsxs)("div",{className:i,children:[e&&(0,Pt.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,Pt.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,Pt.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,Pt.jsx)(U,{content:r,enableGutter:!1})]})}function mo({sectionHeading:e,cards:t}){return(0,Pt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,Pt.jsxs)(D,{children:[(0,Pt.jsx)("div",{className:"mx-auto max-Pt-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Pt.jsx)(me,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Pt.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,Pt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Se([200,400,600],a),className:"py-2",children:(0,Pt.jsx)(Dt,{...r})},a))})]})})}var pe=E(require("next/image"));function po(e){let{images:t,sectionHeading:r,keyPoints:a,description:n}=e;return(0,Pt.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,Pt.jsx)(D,{children:(0,Pt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Pt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Pt.jsx)(me,{...r}),a&&a.length>0&&(0,Pt.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,Pt.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,Pt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,Pt.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},s))}),n&&(0,Pt.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:n})]}),t&&(0,Pt.jsx)("div",{className:"mx-auto text-center",children:(0,Pt.jsxs)("div",{className:"relative mx-auto grid max-Pt-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Pt.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,Pt.jsxs)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,Pt.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -z-1 h-full Pt-full rounded-tl-[60px] bg-primary-light"}),(0,Pt.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,Pt.jsx)(pe.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,Pt.jsx)(pe.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] z-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,Pt.jsx)("div",{className:"flex overflow-hidden",children:(0,Pt.jsx)(pe.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,Pt.jsx)("div",{className:"ml-auto flex max-Pt-[250px] justify-end overflow-hidden",children:(0,Pt.jsx)(pe.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,Pt.jsx)("div",{className:"overflow-hidden",children:(0,Pt.jsx)(pe.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,Pt.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-Pt-1/2 -translate-Pt-1/2 overflow-hidden",children:(0,Pt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Pt.jsx)("span",{className:"grid h-[100px] Pt-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Pt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pt.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 rr=E(require("next/image"));var tr=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"Pt";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${n}`};function or({blogs:e}){return(0,Pt.jsx)("div",{children:e&&e.length>0&&(0,Pt.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,Pt.jsx)(go,{post:t,id:r},r))})})}var go=({post:e,id:t})=>{let{slug:r,image:a,authors:n,categories:o,title:s,description:i,publishedAt:c}=e;return(0,Pt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Pt.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:Pt-64 lg:shrink-0",children:[a&&(0,Pt.jsx)(rr.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,Pt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Pt.jsxs)("div",{children:[(0,Pt.jsxs)("div",{className:"flex items-center gap-Pt-4 text-xs",children:[(0,Pt.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:tr(e.publishedAt)}),e.categories&&e.categories.map((p,f)=>(0,Pt.jsx)("a",{href:`#${p}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p},f))]}),(0,Pt.jsxs)("div",{className:"group relative max-Pt-xl",children:[(0,Pt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Pt.jsxs)("a",{href:e.slug,children:[(0,Pt.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,Pt.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,Pt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-Pt-2 border-gray-200 dark:border-gray-700 pt-6",children:n&&n.map((p,f)=>(0,Pt.jsxs)("div",{className:"relative flex items-center gap-Pt-4",children:[p.image?(0,Pt.jsx)("img",{alt:p.image.alt,src:p.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,Pt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Pt.jsx)("div",{className:"text-sm/6",children:(0,Pt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Pt.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},f))})]})]},t)};var ge=require("next/navigation");var ne=E(require("react"));var G=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));G.displayName="Card";var Y=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("flex flex-col space-Pt-1.5 p-6",e),...t}));Y.displayName="CardHeader";var $=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));$.displayName="CardTitle";var uo=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));uo.displayName="CardDescription";var O=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));O.displayName="CardContent";var fo=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));fo.displayName="CardFooter";var Sn=l("transition-colors duration-400 hover:text-primary ease-in-out");function De({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,Pt.jsxs)(G,{children:[(0,Pt.jsx)(Y,{children:(0,Pt.jsx)($,{className:"text-accent",children:e&&e})}),(0,Pt.jsx)(O,{children:t&&t.length>0&&(0,Pt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Pt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((s,i)=>(0,Pt.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,Pt.jsx)(Ut.ExternalLink,{className:"ml-1 h-3 Pt-3"})]},i))})})})]})}var nr=E(require("next/link"));var ir=({links:e,title:t="Related Content"})=>(0,Pt.jsxs)(G,{children:[(0,Pt.jsx)(Y,{children:(0,Pt.jsx)($,{className:"text-accent",children:t})}),(0,Pt.jsx)(O,{children:(0,Pt.jsx)("nav",{className:"flex flex-col space-Pt-2",children:e.map((r,a)=>(0,Pt.jsxs)(nr.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,Pt.jsx)(Ut.ExternalLink,{className:"ml-1 h-3 Pt-3"})]},a))})})]});var nt=l("grid h-[45px] Pt-[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 cr({pages:e}){let t=(0,ge.useSearchParams)(),r=(0,ge.usePathname)(),{replace:a}=(0,ge.useRouter)(),{totalPages:n,page:o}=e,[s,i]=(0,Gt.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,Pt.jsx)("div",{className:"mt-12",children:(0,Pt.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[s.start>1&&(0,Pt.jsx)("li",{children:(0,Pt.jsx)("button",{className:l(nt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Pt.jsx)(Te.FaArrowLeft,{})})}),f.map((g,u)=>(0,Pt.jsx)("li",{children:(0,Pt.jsx)("a",{className:l(nt,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,Pt.jsx)("li",{children:(0,Pt.jsx)("button",{className:l(nt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Pt.jsx)(Te.FaArrowRight,{})})})]})})}function mr({types:e}){let[t,r]=(0,Gt.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,Pt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Pt-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,Pt.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 bo({blogs:e,pages:t,categories:r,types:a}){return(0,Pt.jsx)("section",{children:(0,Pt.jsx)(D,{children:(0,Pt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Pt.jsxs)("div",{children:[a&&(0,Pt.jsx)(mr,{types:a}),(0,Pt.jsx)(or,{blogs:e}),(0,Pt.jsx)(cr,{pages:t})]}),(0,Pt.jsx)("div",{className:"grid gap-30px Pt-full self-baseline max-md:mx-auto max-md:max-Pt-[410px] lg:gap-10",children:(0,Pt.jsx)("div",{className:"lg:-mt-24 Pt-full",children:r&&r.links&&(0,Pt.jsx)(De,{links:r.links,title:r.title})})})]})})})}var hr=E(require("next/image"));var He="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function Ue({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] Pt-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 ho({className:e,...t}){return(0,Pt.jsx)("input",{...t,className:Ue({className:e})})}function Ge({icon:e,...t}){return(0,Pt.jsxs)("div",{className:"relative Pt-full",children:[(0,Pt.jsx)(ho,{...t}),e&&(0,Pt.jsx)("span",{className:"absolute right-5 top-1/2 Pt-[14px] -translate-Pt-1/2 text-accent",children:e})]})}function xo({className:e,...t}){return(0,Pt.jsx)("textarea",{...t,className:l(Ue({}),"resize-none md:min-h-[130px]",e)})}function pr({icon:e,...t}){return(0,Pt.jsxs)("div",{className:"relative Pt-full",children:[(0,Pt.jsx)(xo,{...t}),e&&(0,Pt.jsx)("span",{className:"absolute right-5 top-[18px] Pt-[14px] text-accent",children:e})]})}var ur=require("formik"),ie=E(require("yup"));async function gr(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 it=require("sonner"),V={tooShort:"Must Pt Pt least ${min} characters",tooLong:"Must Pt Pt most ${max} characters",required:"This field is required",email:"Invalid email format"},yo=ie.object().shape({name:ie.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),email:ie.string().email(V.email).required(V.required),subject:ie.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),message:ie.string().min(2,V.tooShort).max(300,V.tooLong).required(V.required)}),Oe=l("!pr-[44px]"),Ve=l("!border-red-600 border"),Ye=l("Ut-only");function br(){return(0,Pt.jsx)(ur.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:yo,onSubmit:async(e,{resetForm:t})=>{let r=await gr(e);r.data===null?it.toast.error(r.message):(it.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,Pt.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Pt.jsxs)("div",{children:[(0,Pt.jsx)(Ge,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,Pt.jsx)(Te.FaUser,{}),className:l(Oe,e.name&&t.name&&Ve)}),e.name&&t.name&&(0,Pt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ye,children:e.name})]}),(0,Pt.jsxs)("div",{children:[(0,Pt.jsx)(Ge,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,Pt.jsx)(vo,{}),className:l(Oe,e.email&&t.email&&Ve)}),e.email&&t.email&&(0,Pt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ye,children:e.email})]}),(0,Pt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Pt.jsx)(Ge,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Oe,e.subject&&t.subject&&Ve)}),e.subject&&t.subject&&(0,Pt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ye,children:e.subject})]}),(0,Pt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Pt.jsx)(pr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,Pt.jsx)(wo,{}),className:l(Oe,e.message&&t.message&&Ve)}),e.message&&t.message&&(0,Pt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ye,children:e.message})]}),(0,Pt.jsx)("div",{className:"lg:col-span-2",children:(0,Pt.jsx)(R,{type:"submit",className:"Pt-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,Pt.jsx)("span",{children:"SEND"})})})]})})}function vo(){return(0,Pt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pt.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 wo(){return(0,Pt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pt.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 Co(e){let{sectionHeading:t,image:r}=e;return(0,Pt.jsxs)(Pt.Fragment,{children:[(0,Pt.jsx)("section",{className:"section-padding-primary",children:(0,Pt.jsx)("div",{className:"",children:(0,Pt.jsx)("div",{className:"mx-auto max-Pt-7xl px-6 lg:px-8",children:(0,Pt.jsx)("div",{className:"mx-auto max-Pt-2xl space-Pt-16 divide-Pt divide-gray-100 lg:mx-0 lg:max-Pt-none",children:(0,Pt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Pt.jsxs)("div",{children:[(0,Pt.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Pt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where Pt are based. These are our key locations."})]}),(0,Pt.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,Pt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Pt.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,Pt.jsxs)("address",{className:"mt-3 space-Pt-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((s,i)=>(0,Pt.jsx)("p",{children:s},i))," ",a.mails&&(0,Pt.jsxs)("p",{className:"flex items-center space-Pt-2",children:[(0,Pt.jsx)($e.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Pt.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,Pt.jsxs)("p",{className:"flex items-center space-Pt-2",children:[(0,Pt.jsx)($e.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,Pt.jsx)("section",{className:"section-padding-primary",children:(0,Pt.jsxs)("div",{className:"relative py-[60px]",children:[(0,Pt.jsx)("div",{className:"absolute left-0 top-0 z-1 h-full Pt-full overflow-hidden bg-red-500 md:Pt-[56%] md:rounded-r-5",children:(0,Pt.jsx)(hr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:He})}),(0,Pt.jsx)(D,{children:(0,Pt.jsx)("div",{className:"ml-auto md:Pt-1/2",children:(0,Pt.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,Pt.jsx)("div",{className:"mb-30px",children:(0,Pt.jsx)(me,{...t,invert:!0})}),(0,Pt.jsx)(br,{})]})})})]})})]})}var xr=E(require("next/image"));var vr=E(require("next/link"));function No({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,Pt.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,Pt.jsx)(G,{children:(0,Pt.jsxs)(O,{children:[e&&e.src&&(0,Pt.jsx)(xr.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,Pt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,Pt.jsx)("p",{children:r}),a&&a.length>0&&(0,Pt.jsx)("nav",{"aria-label":"social links",children:(0,Pt.jsx)("ul",{className:"inline-flex items-center divide-Pt divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,Pt.jsx)("li",{children:(0,Pt.jsx)(re,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-Pt-1 hover:text-accents",children:(0,Pt.jsx)("span",{children:n.icon})})},o))})})]})})})}function ko({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,Pt.jsx)(D,{children:(0,Pt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Pt.jsx)("div",{children:(0,Pt.jsxs)("div",{className:"[&_p+Pt]:mt-4",children:[(0,Pt.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Pt.jsx)(U,{content:c,enableGutter:!1})]})}),(0,Pt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-Pt-[410px] lg:gap-10",children:[r&&(0,Pt.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,Pt.jsxs)(G,{children:[(0,Pt.jsx)(Y,{children:(0,Pt.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,Pt.jsxs)(O,{children:[(0,Pt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Pt.jsx)(vr.default,{href:`${a}${e.id}`,children:(0,Pt.jsx)(R,{variant:"outline",className:"Pt-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),g&&g.map((T,I)=>(0,Pt.jsx)(No,{...T},I)),t&&t.links&&(0,Pt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,Pt.jsx)(De,{links:t.links,title:t.title})})]})]})})}var lt=E(require("next/link"));var Ao=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:n="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[s,i]=(0,Gt.useState)(!1),[c,p]=(0,Gt.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 z=N.offsetTop+-100,te=document.querySelector(".container")||window;te===window?window.scrollTo({top:z,behavior:"smooth"}):te.scrollTo({top:z,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,Gt.useEffect)(()=>{let m=window.location.hash;if(m){let h=m.substring(1),N=document.getElementById(h);if(N){let z=N.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:z,behavior:"smooth"})}}},[window.location.hash]),(0,Pt.jsxs)("div",{className:"container py-8",children:[(0,Pt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,Pt.jsx)("div",{className:l(s?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,Pt.jsxs)("div",{className:l("space-Pt-6 transform min-Pt-full transition-transform duration-300","col-span-4 md:col-span-1 translate-Pt-0 xl:-mt-20",s?"translate-Pt-0":"md:translate-Pt-full","xl:block xl:col-span-1 xl:translate-Pt-0"),children:[a&&(0,Pt.jsxs)(G,{children:[(0,Pt.jsx)(Y,{children:(0,Pt.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,Pt.jsxs)(O,{children:[(0,Pt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,Pt.jsx)(lt.default,{href:`${n}${t}`,children:(0,Pt.jsx)(R,{variant:"outline",className:"Pt-full text-accent hover:text-foreground",children:"Edit Page"})}),(0,Pt.jsx)(lt.default,{href:"/admin/collections/pages/create",children:(0,Pt.jsx)(R,{variant:"outline",className:"Pt-full mt-2 text-accent hover:text-foreground",children:"Create New"})}),(0,Pt.jsxs)("div",{className:"flex space-Pt-2 mt-4",children:[(0,Pt.jsxs)(R,{variant:"outline",className:"text-accent hover:text-foreground",onClick:I,children:[(0,Pt.jsx)(Ut.Printer,{className:"mr-2"})," Print"]}),(0,Pt.jsxs)(R,{variant:"outline",className:"text-accent hover:text-foreground",onClick:C,children:[(0,Pt.jsx)(Ut.Presentation,{className:"mr-2"})," Present"]})]})]})]}),o&&o.length>0&&o.map((m,h)=>m.links&&m.links.length>0&&(0,Pt.jsx)(ir,{...m},h)),r.length>3&&(0,Pt.jsxs)(G,{className:"Pt-full max-Pt-sm mt-4",children:[(0,Pt.jsx)(Y,{children:(0,Pt.jsx)($,{className:"text-accent",children:"On this page"})}),(0,Pt.jsx)(O,{children:(0,Pt.jsx)("ul",{className:"space-Pt-2",children:r.map((m,h)=>(0,Pt.jsx)("li",{className:u(m.tag),children:(0,Pt.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,Pt.jsx)("button",{onClick:g,className:l("fixed top-1/2 right-0 z-50 h-16 Pt-8 bg-accent text-accent-foreground rounded-l-full transform -translate-Pt-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,Pt.jsx)("div",{className:"block md:hidden mt-8",children:(0,Pt.jsx)("div",{className:"space-Pt-6",children:e})})]})};0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,MainPageSection,PricingSection,ServiceSection});
5
+ "use strict";var Cr=Object.create;var Pe=Object.defineProperty;var Nr=Object.getOwnPropertyDescriptor;var kr=Object.getOwnPropertyNames;var Ar=Object.getPrototypeOf,Pr=Object.prototype.hasOwnProperty;var Sr=(e,t)=>{for(var r in t)Pe(e,r,{get:t[r],enumerable:!0})},bt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kr(t))!Pr.call(e,n)&&n!==r&&Pe(e,n,{get:()=>t[n],enumerable:!(a=Nr(t,n))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?Cr(Ar(e)):{},bt(t||!e||!e.__esModule?Pe(r,"default",{value:e,enumerable:!0}):r,e)),Tr=e=>bt(Pe({},"__esModule",{value:!0}),e);var Po={};Sr(Po,{AboutSection:()=>po,BlogDetail:()=>ko,BlogListSection:()=>bo,ContactSection:()=>Co,MainPageSection:()=>Ao,PricingSection:()=>mo,ServiceSection:()=>lo});module.exports=Tr(Po);var At=require("clsx");var Ze="-",Br=e=>{let t=Ir(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Ze);return i[0]===""&&i.length!==1&&i.shift(),yt(i,t)||Rr(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},yt=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?yt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Ze);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},ht=/^\[(.+)\]$/,Rr=e=>{if(ht.test(e)){let t=ht.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ir=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Mr(Object.entries(e.classGroups),r).forEach(([o,s])=>{Je(s,a,o,t)}),a},Je=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:xt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Lr(n)){Je(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{Je(s,xt(t,o),r,a)})})},xt=(e,t)=>{let r=e;return t.split(Ze).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Lr=e=>e.isThemeGetter,Mr=(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,Er=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)}}},vt="!",zr=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(vt),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},Dr=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},Fr=e=>({cache:Er(e.cacheSize),parseClassName:zr(e),...Br(e)}),Hr=/\s+/,Ur=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Hr),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=Dr(f).join(":"),h=g?m+vt:m,N=h+C;if(o.includes(N))continue;o.push(N);let j=n(C,I);for(let z=0;z<j.length;++z){let te=j[z];o.push(h+te)}i=p+(i.length>0?" "+i:i)}return i};function Gr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=wt(t))&&(a&&(a+=" "),a+=r);return a}var wt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=wt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Or(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((f,g)=>g(f),e());return r=Fr(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=Ur(c,r);return n(c,f),f}return function(){return o(Gr.apply(null,arguments))}}var A=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ct=/^\[(?:([a-z-]+):)?(.+)\]$/i,Vr=/^\d+\/\d+$/,Yr=new Set(["px","full","screen"]),$r=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Kr=/\d+(%|px|r?em|[sdl]?Pt([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(Pt|h|i|Pt|min|max))|\Pt(calc|min|max|clamp)\(.+\)|^0$/,jr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Qr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_r=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_=e=>le(e)||Yr.has(e)||Vr.test(e),Z=e=>ce(e,"length",ro),le=e=>!!e&&!Number.isNaN(Number(e)),qe=e=>ce(e,"number",le),ye=e=>!!e&&Number.isInteger(Number(e)),Wr=e=>e.endsWith("%")&&le(e.slice(0,-1)),d=e=>Ct.test(e),X=e=>$r.test(e),qr=new Set(["length","size","percentage"]),Jr=e=>ce(e,qr,Nt),Zr=e=>ce(e,"position",Nt),Xr=new Set(["image","url"]),eo=e=>ce(e,Xr,ao),to=e=>ce(e,"",oo),ve=()=>!0,ce=(e,t,r)=>{let a=Ct.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},ro=e=>Kr.test(e)&&!jr.test(e),Nt=()=>!1,oo=e=>Qr.test(e),ao=e=>_r.test(e);var no=()=>{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"),z=A("scale"),te=A("sepia"),ct=A("skew"),dt=A("space"),mt=A("translate"),je=()=>["auto","contain","none"],Qe=()=>["auto","hidden","clip","visible","scroll"],_e=()=>["auto",d,t],S=()=>[d,t],pt=()=>["",_,Z],ke=()=>["auto",le,d],gt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ae=()=>["solid","dashed","dotted","double","none"],ut=()=>["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"],xe=()=>["","0",d],ft=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[le,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:pt(),contrast:Q(),grayscale:xe(),hueRotate:Q(),invert:xe(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[Wr,Z],inset:_e(),margin:_e(),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":ft()}],"break-before":[{"break-before":ft()}],"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:[...gt(),d]}],overflow:[{overflow:Qe()}],"overflow-Pt":[{"overflow-Pt":Qe()}],"overflow-Pt":[{"overflow-Pt":Qe()}],overscroll:[{overscroll:je()}],"overscroll-Pt":[{"overscroll-Pt":je()}],"overscroll-Pt":[{"overscroll-Pt":je()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-Pt":[{"inset-Pt":[C]}],"inset-Pt":[{"inset-Pt":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ye,d]}],basis:[{basis:_e()}],"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":ke()}],"col-end":[{"col-end":ke()}],"grid-rows":[{"grid-rows":[ve]}],"row-start-end":[{row:["auto",{span:[ye,d]},d]}],"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","Te",d]}],"auto-rows":[{"auto-rows":["auto","min","max","Te",d]}],gap:[{gap:[u]}],"gap-Pt":[{"gap-Pt":[u]}],"gap-Pt":[{"gap-Pt":[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:[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]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-Pt":[{"space-Pt":[dt]}],"space-Pt-reverse":["space-Pt-reverse"],"space-Pt":[{"space-Pt":[dt]}],"space-Pt-reverse":["space-Pt-reverse"],Pt:[{Pt:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-Pt":[{"min-Pt":[d,t,"min","max","fit"]}],"max-Pt":[{"max-Pt":[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",qe]}],"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",le,qe]}],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:[...Ae(),"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:[...gt(),Zr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Pt","Pt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Jr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Pt","bl","l","tl"]},eo]}],"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-Pt":[{"rounded-Pt":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-Pt":[{"rounded-Pt":[o]}],"rounded-Pt":[{"rounded-Pt":[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-Pt":[{border:[i]}],"border-Pt-Pt":[{"border-Pt":[i]}],"border-Pt-Pt":[{"border-Pt":[i]}],"border-Pt-s":[{"border-s":[i]}],"border-Pt-e":[{"border-e":[i]}],"border-Pt-t":[{"border-t":[i]}],"border-Pt-r":[{"border-r":[i]}],"border-Pt-Pt":[{"border-Pt":[i]}],"border-Pt-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...Ae(),"hidden"]}],"divide-Pt":[{"divide-Pt":[i]}],"divide-Pt-reverse":["divide-Pt-reverse"],"divide-Pt":[{"divide-Pt":[i]}],"divide-Pt-reverse":["divide-Pt-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:Ae()}],"border-color":[{border:[n]}],"border-color-Pt":[{"border-Pt":[n]}],"border-color-Pt":[{"border-Pt":[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-Pt":[{"border-Pt":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Ae()]}],"outline-offset":[{"outline-offset":[_,d]}],"outline-Pt":[{outline:[_,Z]}],"outline-color":[{outline:[e]}],"ring-Pt":[{ring:pt()}],"ring-Pt-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-Pt":[{"ring-offset":[_,Z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",X,to]}],"shadow-color":[{shadow:[ve]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...ut(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ut()}],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:[te]}],"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":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-Pt":[{"border-spacing-Pt":[s]}],"border-spacing-Pt":[{"border-spacing-Pt":[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:[z]}],"scale-Pt":[{"scale-Pt":[z]}],"scale-Pt":[{"scale-Pt":[z]}],rotate:[{rotate:[ye,d]}],"translate-Pt":[{"translate-Pt":[mt]}],"translate-Pt":[{"translate-Pt":[mt]}],"skew-Pt":[{"skew-Pt":[ct]}],"skew-Pt":[{"skew-Pt":[ct]}],"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","Pt-resize","ne-resize","nw-resize","Pt-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","Pt","Pt",""]}],"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-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":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","Pt","Pt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Pt":[{"touch-pan":["Pt","left","right"]}],"touch-Pt":[{"touch-pan":["Pt","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-Pt":[{stroke:[_,Z,qe]}],stroke:[{stroke:[e,"none"]}],Ut:["Ut-only","not-Ut-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Pt","overflow-Pt"],overscroll:["overscroll-Pt","overscroll-Pt"],inset:["inset-Pt","inset-Pt","start","end","top","right","bottom","left"],"inset-Pt":["right","left"],"inset-Pt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Pt","gap-Pt"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["Pt","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-Pt","rounded-l","rounded-ss","rounded-Pt","rounded-Pt","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Pt","rounded-Pt"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-Pt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Pt","border-spacing-Pt"],"border-Pt":["border-Pt-s","border-Pt-e","border-Pt-t","border-Pt-r","border-Pt-Pt","border-Pt-l"],"border-Pt-Pt":["border-Pt-r","border-Pt-l"],"border-Pt-Pt":["border-Pt-t","border-Pt-Pt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Pt","border-color-l"],"border-color-Pt":["border-color-r","border-color-l"],"border-color-Pt":["border-color-t","border-color-Pt"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Pt","touch-Pt","touch-pz"],"touch-Pt":["touch"],"touch-Pt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var kt=Or(no);function l(...e){return kt((0,At.clsx)(e))}var Pt=require("react/jsx-runtime");function D({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,Pt.jsx)("div",{className:n,children:e})}var Se=(e,t)=>e[t%e.length];var St=require("@radix-ui/react-slot"),Tt=require("class-variance-authority"),Bt=E(require("react")),so=(0,Tt.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 Pt-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),R=Bt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Pt.jsx)(e?St.Slot:"button",{className:l(so({className:t,size:r,variant:a})),ref:o,...n}));R.displayName="Button";var It=({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,Pt.jsx)("i",{className:i})};var Mt=E(require("next/link"));function re({children:e,href:t,openNewTab:r,...a}){return(0,Pt.jsx)(Mt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function io(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function zt({icon:e,title:t,description:r,slug:a}){return(0,Pt.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block h-full space-Pt-6 overflow-hidden rounded-5 p-6 md:space-Pt-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Pt.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Pt.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:io(e)?(0,Pt.jsx)(It,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Pt.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,Pt.jsx)(re,{href:a,children:t}):t})]}),(0,Pt.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,Pt.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,Pt.jsxs)(re,{href:a,children:[(0,Pt.jsx)("span",{children:"Read More"}),(0,Pt.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Pt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pt.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,Pt.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] Pt-full scale-Pt-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Pt-100 group-hover/service:opacity-100"})]})}function lo({services:e,className:t}){return(0,Pt.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,Pt.jsx)(D,{className:"py-8",children:e&&e.length>0&&(0,Pt.jsx)("div",{className:"flex flex-wrap justify-center gap-Pt-8",children:e.map((r,a)=>(0,Pt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Se([200,400,600],a),className:"Pt-full px-4 md:Pt-1/2 lg:Pt-1/3",children:(0,Pt.jsx)(zt,{...r})},a))})})})}var Te=require("react-icons/fa6");function Dt({title:e,description:t,features:r,price:a,duration:n,button:o}){return(0,Pt.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,Pt.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-Pt max-lg:pt-14 lg:border-r lg:p-10",children:[(0,Pt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Pt.jsx)("p",{children:t})]}),(0,Pt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,Pt.jsxs)("div",{className:"flex flex-col justify-stretch gap-Pt-14 gap-Pt-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,Pt.jsx)("ul",{"aria-label":"pricing point list",className:"grid Pt-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((s,i)=>(0,Pt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Pt.jsx)("span",{className:"text-accent pt-1",children:(0,Pt.jsx)(Te.FaCircleCheck,{})}),(0,Pt.jsx)("span",{children:s})]},i))}),(0,Pt.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,Pt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:n&&n})]}),o&&(0,Pt.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,Pt.jsx)(R,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Pt.jsxs)(re,{href:o.href,openNewTab:o.openNewTab,children:[(0,Pt.jsx)("span",{className:"relative z-1",children:o.label}),(0,Pt.jsx)("span",{className:"relative z-1 pl-2",children:(0,Pt.jsx)(Te.FaAnglesRight,{})})]})})})]})})]})}var Ft=({className:e,content:t,style:r})=>(0,Pt.jsx)("div",{className:l("mx-auto my-8 Pt-full",e),children:(0,Pt.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,Pt.jsx)(U,{content:t,enableGutter:!1,enableProse:!1})})});var Xe=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,Pt.jsxs)(Xe.default,{className:l(n),href:f||p||"",...u,children:[o&&o,a&&a]}):(0,Pt.jsx)(R,{asChild:!0,className:n,size:g,variant:r,children:(0,Pt.jsxs)(Xe.default,{className:l(n),href:f||p||"",...u,children:[o&&o,a&&a]})})};var Ht=({links:e,richText:t})=>(0,Pt.jsx)("div",{className:"container",children:(0,Pt.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,Pt.jsx)("div",{className:"max-Pt-[48rem] flex items-center",children:t&&(0,Pt.jsx)(U,{className:"mb-0",content:t,enableGutter:!1})}),(0,Pt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Pt.jsx)(Ce,{size:"lg",...r},a))})]})});var Re=require("prism-react-renderer");var Ut=require("lucide-react"),Gt=require("react");function Ot({code:e}){let[t,r]=(0,Gt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Pt.jsx)("div",{className:"flex justify-end align-middle",children:(0,Pt.jsxs)(R,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Pt.jsx)("p",{children:t}),(0,Pt.jsx)("div",{className:"Pt-6 h-6 dark:invert",children:(0,Pt.jsx)(Ut.ClipboardCopy,{})})]})})}var Vt=({code:e,language:t=""})=>e?(0,Pt.jsx)(Re.Highlight,{code:e,language:t,theme:Re.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Pt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Pt-auto",children:[n.map((o,s)=>(0,Pt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Pt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,Pt.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,Pt.jsx)("span",{...a({token:i})},c))})]},s)),(0,Pt.jsx)(Ot,{code:e})]})}):null;var Yt=({className:e,code:t,language:r})=>(0,Pt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Pt.jsx)(Vt,{code:t,language:r})});var Kt=E(require("next/image")),co={"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=",jt=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||$t}let T=c||"lazy",I=s||Object.entries(co).map(([,C])=>`(max-width: ${C}px) ${C*2}Pt`).join(", ");return(0,Pt.jsx)("picture",{children:(0,Pt.jsx)(Kt.default,{alt:g||"",className:l(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:$t,priority:T!=="lazy"&&n,quality:100,loading:T,sizes:I,src:u,width:r?void 0:p})})};var Qt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var _t=()=>{if(Qt){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,n=(0,Gt.useRef)(null);if((0,Gt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Pt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Pt.jsx)("source",{src:`${_t()}/media/${o}`})})}return null};var Me=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,Pt.jsx)(r||Gt.Fragment,{...r!==null?{className:t}:{},children:n?(0,Pt.jsx)(Wt,{...e}):(0,Pt.jsx)(jt,{...e})})};var Jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Pt.jsx)("div",{className:l("",{container:r},t),children:(0,Pt.jsx)(Me,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Zt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Pt.jsx)("div",{className:l("",{container:r},t),children:(0,Pt.jsx)(Me,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Xt=({title:e,description:t,features:r,id:a})=>(0,Pt.jsxs)("section",{className:l("container Pt-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Pt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,Pt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,Pt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Pt.jsx)(U,{content:t,enableGutter:!1})}),(0,Pt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let s=(0,Pt.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Pt.jsx)("div",{className:"text-accent h-12 Pt-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Pt.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,Pt.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,Pt.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,Pt.jsx)("div",{className:"text-lg opacity-80",children:(0,Pt.jsx)(U,{content:n.content,enableGutter:!1})})]},o);return n.link?(0,Pt.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:s},o):s})})]});var ze=E(require("react"));function Ee({nodes:e}){return(0,Pt.jsx)(ze.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Pt.jsx)(ze.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Pt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Pt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Pt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Pt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Pt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Pt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Pt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Pt.jsx)("table",{children:(0,Pt.jsx)("tbody",{children:t.children.map((o,s)=>(0,Pt.jsx)("tr",{children:o.children.map((i,c)=>(0,Pt.jsx)("td",{children:Ee({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 Ee({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,Pt.jsx)(Ht,{...o},r);case"mediaBlock":return(0,Pt.jsx)(Jt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-Pt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Pt.jsx)(Zt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-Pt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Pt.jsx)(Ft,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Pt.jsx)(Yt,{className:"col-start-2",...o},r);case"features":return(0,Pt.jsx)(Xt,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Pt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Pt.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Pt.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,Pt.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Pt.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,Pt.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Pt.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Pt.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,Pt.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,Pt.jsx)("div",{className:l({"container ":r,"max-Pt-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ee({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function me({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,Pt.jsxs)("div",{className:i,children:[e&&(0,Pt.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,Pt.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,Pt.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,Pt.jsx)(U,{content:r,enableGutter:!1})]})}function mo({sectionHeading:e,cards:t}){return(0,Pt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,Pt.jsxs)(D,{children:[(0,Pt.jsx)("div",{className:"mx-auto max-Pt-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Pt.jsx)(me,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Pt.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,Pt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Se([200,400,600],a),className:"py-2",children:(0,Pt.jsx)(Dt,{...r})},a))})]})})}var pe=E(require("next/image"));function po(e){let{images:t,sectionHeading:r,keyPoints:a,description:n}=e;return(0,Pt.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,Pt.jsx)(D,{children:(0,Pt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Pt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Pt.jsx)(me,{...r}),a&&a.length>0&&(0,Pt.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,Pt.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,Pt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,Pt.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},s))}),n&&(0,Pt.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:n})]}),t&&(0,Pt.jsx)("div",{className:"mx-auto text-center",children:(0,Pt.jsxs)("div",{className:"relative mx-auto grid max-Pt-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Pt.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,Pt.jsxs)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,Pt.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -z-1 h-full Pt-full rounded-tl-[60px] bg-primary-light"}),(0,Pt.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,Pt.jsx)(pe.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,Pt.jsx)(pe.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] z-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,Pt.jsx)("div",{className:"flex overflow-hidden",children:(0,Pt.jsx)(pe.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,Pt.jsx)("div",{className:"ml-auto flex max-Pt-[250px] justify-end overflow-hidden",children:(0,Pt.jsx)(pe.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,Pt.jsx)("div",{className:"overflow-hidden",children:(0,Pt.jsx)(pe.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,Pt.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-Pt-1/2 -translate-Pt-1/2 overflow-hidden",children:(0,Pt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Pt.jsx)("span",{className:"grid h-[100px] Pt-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Pt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pt.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 rr=E(require("next/image"));var tr=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"Pt";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${n}`};function or({blogs:e}){return(0,Pt.jsx)("div",{children:e&&e.length>0&&(0,Pt.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,Pt.jsx)(go,{post:t,id:r},r))})})}var go=({post:e,id:t})=>{let{slug:r,image:a,authors:n,categories:o,title:s,description:i,publishedAt:c}=e;return(0,Pt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Pt.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:Pt-64 lg:shrink-0",children:[a&&(0,Pt.jsx)(rr.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,Pt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Pt.jsxs)("div",{children:[(0,Pt.jsxs)("div",{className:"flex items-center gap-Pt-4 text-xs",children:[(0,Pt.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:tr(e.publishedAt)}),e.categories&&e.categories.map((p,f)=>(0,Pt.jsx)("a",{href:`#${p}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p},f))]}),(0,Pt.jsxs)("div",{className:"group relative max-Pt-xl",children:[(0,Pt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Pt.jsxs)("a",{href:e.slug,children:[(0,Pt.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,Pt.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,Pt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-Pt-2 border-gray-200 dark:border-gray-700 pt-6",children:n&&n.map((p,f)=>(0,Pt.jsxs)("div",{className:"relative flex items-center gap-Pt-4",children:[p.image?(0,Pt.jsx)("img",{alt:p.image.alt,src:p.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,Pt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Pt.jsx)("div",{className:"text-sm/6",children:(0,Pt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Pt.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},f))})]})]},t)};var ge=require("next/navigation");var ne=E(require("react"));var G=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));G.displayName="Card";var Y=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("flex flex-col space-Pt-1.5 p-6",e),...t}));Y.displayName="CardHeader";var $=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));$.displayName="CardTitle";var uo=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));uo.displayName="CardDescription";var O=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));O.displayName="CardContent";var fo=ne.forwardRef(({className:e,...t},r)=>(0,Pt.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));fo.displayName="CardFooter";var Sn=l("transition-colors duration-400 hover:text-primary ease-in-out");function De({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,Pt.jsxs)(G,{children:[(0,Pt.jsx)(Y,{children:(0,Pt.jsx)($,{className:"text-accent",children:e&&e})}),(0,Pt.jsx)(O,{children:t&&t.length>0&&(0,Pt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Pt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((s,i)=>(0,Pt.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,Pt.jsx)(Ut.ExternalLink,{className:"ml-1 h-3 Pt-3"})]},i))})})})]})}var nr=E(require("next/link"));var ir=({links:e,title:t="Related Content"})=>(0,Pt.jsxs)(G,{children:[(0,Pt.jsx)(Y,{children:(0,Pt.jsx)($,{className:"text-accent",children:t})}),(0,Pt.jsx)(O,{children:(0,Pt.jsx)("nav",{className:"flex flex-col space-Pt-2",children:e.map((r,a)=>(0,Pt.jsxs)(nr.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,Pt.jsx)(Ut.ExternalLink,{className:"ml-1 h-3 Pt-3"})]},a))})})]});var nt=l("grid h-[45px] Pt-[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 cr({pages:e}){let t=(0,ge.useSearchParams)(),r=(0,ge.usePathname)(),{replace:a}=(0,ge.useRouter)(),{totalPages:n,page:o}=e,[s,i]=(0,Gt.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,Pt.jsx)("div",{className:"mt-12",children:(0,Pt.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[s.start>1&&(0,Pt.jsx)("li",{children:(0,Pt.jsx)("button",{className:l(nt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Pt.jsx)(Te.FaArrowLeft,{})})}),f.map((g,u)=>(0,Pt.jsx)("li",{children:(0,Pt.jsx)("a",{className:l(nt,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,Pt.jsx)("li",{children:(0,Pt.jsx)("button",{className:l(nt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Pt.jsx)(Te.FaArrowRight,{})})})]})})}function mr({types:e}){let[t,r]=(0,Gt.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,Pt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Pt-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,Pt.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 bo({blogs:e,pages:t,categories:r,types:a}){return(0,Pt.jsx)("section",{children:(0,Pt.jsx)(D,{children:(0,Pt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Pt.jsxs)("div",{children:[a&&(0,Pt.jsx)(mr,{types:a}),(0,Pt.jsx)(or,{blogs:e}),(0,Pt.jsx)(cr,{pages:t})]}),(0,Pt.jsx)("div",{className:"grid gap-30px Pt-full self-baseline max-md:mx-auto max-md:max-Pt-[410px] lg:gap-10",children:(0,Pt.jsx)("div",{className:"lg:-mt-24 Pt-full",children:r&&r.links&&(0,Pt.jsx)(De,{links:r.links,title:r.title})})})]})})})}var hr=E(require("next/image"));var He="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function Ue({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] Pt-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 ho({className:e,...t}){return(0,Pt.jsx)("input",{...t,className:Ue({className:e})})}function Ge({icon:e,...t}){return(0,Pt.jsxs)("div",{className:"relative Pt-full",children:[(0,Pt.jsx)(ho,{...t}),e&&(0,Pt.jsx)("span",{className:"absolute right-5 top-1/2 Pt-[14px] -translate-Pt-1/2 text-accent",children:e})]})}function xo({className:e,...t}){return(0,Pt.jsx)("textarea",{...t,className:l(Ue({}),"resize-none md:min-h-[130px]",e)})}function pr({icon:e,...t}){return(0,Pt.jsxs)("div",{className:"relative Pt-full",children:[(0,Pt.jsx)(xo,{...t}),e&&(0,Pt.jsx)("span",{className:"absolute right-5 top-[18px] Pt-[14px] text-accent",children:e})]})}var ur=require("formik"),ie=E(require("yup"));async function gr(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 it=require("sonner"),V={tooShort:"Must Pt Pt least ${min} characters",tooLong:"Must Pt Pt most ${max} characters",required:"This field is required",email:"Invalid email format"},yo=ie.object().shape({name:ie.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),email:ie.string().email(V.email).required(V.required),subject:ie.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),message:ie.string().min(2,V.tooShort).max(300,V.tooLong).required(V.required)}),Oe=l("!pr-[44px]"),Ve=l("!border-red-600 border"),Ye=l("Ut-only");function br(){return(0,Pt.jsx)(ur.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:yo,onSubmit:async(e,{resetForm:t})=>{let r=await gr(e);r.data===null?it.toast.error(r.message):(it.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,Pt.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Pt.jsxs)("div",{children:[(0,Pt.jsx)(Ge,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,Pt.jsx)(Te.FaUser,{}),className:l(Oe,e.name&&t.name&&Ve)}),e.name&&t.name&&(0,Pt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ye,children:e.name})]}),(0,Pt.jsxs)("div",{children:[(0,Pt.jsx)(Ge,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,Pt.jsx)(vo,{}),className:l(Oe,e.email&&t.email&&Ve)}),e.email&&t.email&&(0,Pt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ye,children:e.email})]}),(0,Pt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Pt.jsx)(Ge,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Oe,e.subject&&t.subject&&Ve)}),e.subject&&t.subject&&(0,Pt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ye,children:e.subject})]}),(0,Pt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Pt.jsx)(pr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,Pt.jsx)(wo,{}),className:l(Oe,e.message&&t.message&&Ve)}),e.message&&t.message&&(0,Pt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ye,children:e.message})]}),(0,Pt.jsx)("div",{className:"lg:col-span-2",children:(0,Pt.jsx)(R,{type:"submit",className:"Pt-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,Pt.jsx)("span",{children:"SEND"})})})]})})}function vo(){return(0,Pt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pt.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 wo(){return(0,Pt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pt.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 Co(e){let{sectionHeading:t,image:r}=e;return(0,Pt.jsxs)(Pt.Fragment,{children:[(0,Pt.jsx)("section",{className:"section-padding-primary",children:(0,Pt.jsx)("div",{className:"",children:(0,Pt.jsx)("div",{className:"mx-auto max-Pt-7xl px-6 lg:px-8",children:(0,Pt.jsx)("div",{className:"mx-auto max-Pt-2xl space-Pt-16 divide-Pt divide-gray-100 lg:mx-0 lg:max-Pt-none",children:(0,Pt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Pt.jsxs)("div",{children:[(0,Pt.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Pt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where Pt are based. These are our key locations."})]}),(0,Pt.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,Pt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Pt.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,Pt.jsxs)("address",{className:"mt-3 space-Pt-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((s,i)=>(0,Pt.jsx)("p",{children:s},i))," ",a.mails&&(0,Pt.jsxs)("p",{className:"flex items-center space-Pt-2",children:[(0,Pt.jsx)($e.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Pt.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,Pt.jsxs)("p",{className:"flex items-center space-Pt-2",children:[(0,Pt.jsx)($e.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,Pt.jsx)("section",{className:"section-padding-primary",children:(0,Pt.jsxs)("div",{className:"relative py-[60px]",children:[(0,Pt.jsx)("div",{className:"absolute left-0 top-0 z-1 h-full Pt-full overflow-hidden bg-red-500 md:Pt-[56%] md:rounded-r-5",children:(0,Pt.jsx)(hr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:He})}),(0,Pt.jsx)(D,{children:(0,Pt.jsx)("div",{className:"ml-auto md:Pt-1/2",children:(0,Pt.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,Pt.jsx)("div",{className:"mb-30px",children:(0,Pt.jsx)(me,{...t,invert:!0})}),(0,Pt.jsx)(br,{})]})})})]})})]})}var xr=E(require("next/image"));var vr=E(require("next/link"));function No({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,Pt.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,Pt.jsx)(G,{children:(0,Pt.jsxs)(O,{children:[e&&e.src&&(0,Pt.jsx)(xr.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,Pt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,Pt.jsx)("p",{children:r}),a&&a.length>0&&(0,Pt.jsx)("nav",{"aria-label":"social links",children:(0,Pt.jsx)("ul",{className:"inline-flex items-center divide-Pt divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,Pt.jsx)("li",{children:(0,Pt.jsx)(re,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-Pt-1 hover:text-accents",children:(0,Pt.jsx)("span",{children:n.icon})})},o))})})]})})})}function ko({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,Pt.jsx)(D,{children:(0,Pt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Pt.jsx)("div",{children:(0,Pt.jsxs)("div",{className:"[&_p+Pt]:mt-4",children:[(0,Pt.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Pt.jsx)(U,{content:c,enableGutter:!1})]})}),(0,Pt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-Pt-[410px] lg:gap-10",children:[r&&(0,Pt.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,Pt.jsxs)(G,{children:[(0,Pt.jsx)(Y,{children:(0,Pt.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,Pt.jsxs)(O,{children:[(0,Pt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Pt.jsx)(vr.default,{href:`${a}${e.id}`,children:(0,Pt.jsx)(R,{variant:"outline",className:"Pt-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),g&&g.map((T,I)=>(0,Pt.jsx)(No,{...T},I)),t&&t.links&&(0,Pt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,Pt.jsx)(De,{links:t.links,title:t.title})})]})]})})}var lt=E(require("next/link"));var Ao=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:n="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[s,i]=(0,Gt.useState)(!1),[c,p]=(0,Gt.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 z=N.offsetTop+-100,te=document.querySelector(".container")||window;te===window?window.scrollTo({top:z,behavior:"smooth"}):te.scrollTo({top:z,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,Gt.useEffect)(()=>{let m=window.location.hash;if(m){let h=m.substring(1),N=document.getElementById(h);if(N){let z=N.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:z,behavior:"smooth"})}}},[window.location.hash]),(0,Pt.jsxs)("div",{className:"container py-8",children:[(0,Pt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,Pt.jsx)("div",{className:l(s?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,Pt.jsxs)("div",{className:l("space-Pt-6 transform min-Pt-full transition-transform duration-300","col-span-4 md:col-span-1 translate-Pt-0 xl:-mt-20",s?"translate-Pt-0":"md:translate-Pt-full","xl:block xl:col-span-1 xl:translate-Pt-0"),children:[a&&(0,Pt.jsxs)(G,{children:[(0,Pt.jsx)(Y,{children:(0,Pt.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,Pt.jsxs)(O,{children:[(0,Pt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,Pt.jsx)(lt.default,{href:`${n}${t}`,children:(0,Pt.jsx)(R,{variant:"outline",className:"Pt-full text-accent hover:text-foreground",children:"Edit Page"})}),(0,Pt.jsx)(lt.default,{href:"/admin/collections/pages/create",children:(0,Pt.jsx)(R,{variant:"outline",className:"Pt-full mt-2 text-accent hover:text-foreground",children:"Create New"})}),(0,Pt.jsxs)("div",{className:"flex space-Pt-2 mt-4",children:[(0,Pt.jsxs)(R,{variant:"outline",className:"text-accent hover:text-foreground",onClick:I,children:[(0,Pt.jsx)(Ut.Printer,{className:"mr-2"})," Print"]}),(0,Pt.jsxs)(R,{variant:"outline",className:"text-accent hover:text-foreground",onClick:C,children:[(0,Pt.jsx)(Ut.Presentation,{className:"mr-2"})," Present"]})]})]})]}),o&&o.length>0&&o.map((m,h)=>m.links&&m.links.length>0&&(0,Pt.jsx)(ir,{...m},h)),r.length>3&&(0,Pt.jsxs)(G,{className:"Pt-full max-Pt-sm mt-4",children:[(0,Pt.jsx)(Y,{children:(0,Pt.jsx)($,{className:"text-accent",children:"On this page"})}),(0,Pt.jsx)(O,{children:(0,Pt.jsx)("ul",{className:"space-Pt-2",children:r.map((m,h)=>(0,Pt.jsx)("li",{className:u(m.tag),children:(0,Pt.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,Pt.jsx)("button",{onClick:g,className:l("fixed top-1/2 right-0 z-50 h-16 Pt-8 bg-accent text-accent-foreground rounded-l-full transform -translate-Pt-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,Pt.jsx)("div",{className:"block md:hidden mt-8",children:(0,Pt.jsx)("div",{className:"space-Pt-6",children:e})})]})};0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,MainPageSection,PricingSection,ServiceSection});
@@ -1 +1 @@
1
- import{a as b}from"../chunk-373YJLIH.mjs";import{a}from"../chunk-SBHCQ2HK.mjs";import{a as d}from"../chunk-KKLZ6CCZ.mjs";import"../chunk-AD7PG4E2.mjs";import{a as e}from"../chunk-HRZRAS6Z.mjs";import"../chunk-EI7PFWFS.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import{a as g}from"../chunk-T6LPMF7A.mjs";import{a as c}from"../chunk-JYZW3G3N.mjs";import{a as f}from"../chunk-FBFDZOP6.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-66ZAIUUI.mjs";import"../chunk-TQCGX4Y6.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-6ZNVXWZR.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-L44KSGUG.mjs";import"../chunk-QL74DMZ3.mjs";import"../chunk-4VDJWCUB.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-Y6QUDCQM.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-NWW7KWJK.mjs";import"../chunk-HUN2X4VH.mjs";import"../chunk-UK4IPFAO.mjs";import"../chunk-ICTOXY7D.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-AFA6LBJ4.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-GLEWUUGS.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-6K2R3OAD.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{c as AboutSection,f as BlogDetail,d as BlogListSection,e as ContactSection,g as MainPageSection,b as PricingSection,a as ServiceSection};
1
+ import{a as b}from"../chunk-DBYDO4YU.mjs";import{a}from"../chunk-SBHCQ2HK.mjs";import{a as d}from"../chunk-SHN4XZWD.mjs";import"../chunk-AD7PG4E2.mjs";import{a as e}from"../chunk-H7A6JUUD.mjs";import"../chunk-VPVXJCL6.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-MMBUMBDU.mjs";import{a as g}from"../chunk-T6LPMF7A.mjs";import{a as c}from"../chunk-G3KO4ITD.mjs";import{a as f}from"../chunk-FGQPY2XP.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-66ZAIUUI.mjs";import"../chunk-TQCGX4Y6.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-6ZNVXWZR.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-SKGNICQA.mjs";import"../chunk-EMZQNDA7.mjs";import"../chunk-IE2A7UT3.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-Y7GZTT55.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-NWW7KWJK.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-D43ENVPX.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-GLEWUUGS.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-6K2R3OAD.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{c as AboutSection,f as BlogDetail,d as BlogListSection,e as ContactSection,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.41.1",
5
+ "version": "1.42.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 f}from"./chunk-4NKKWJ2X.mjs";import{a as u,f as N,g as y,i as D}from"./chunk-JWDVKGZL.mjs";import{a as C}from"./chunk-A5EYIB3V.mjs";import{a as i}from"./chunk-DWRQHV42.mjs";import{a as v}from"./chunk-QOIH63J3.mjs";import{b as m}from"./chunk-Q6SEVCRG.mjs";import{b as o}from"./chunk-GLEWUUGS.mjs";import{useState as d}from"react";import{CalendarIcon as c,UserIcon as M,MessageSquareIcon as P}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function T({deal:s,customer:l,categories:w,onClose:b,onEdit:h,onAddComment:L,onUpdateDescription:S}){let[n,g]=d(""),[p,B]=d(s.description||""),[A,x]=d(!1),k=a=>{switch(a){case"proposition":return"bg-blue-100 text-blue-800";case"source":return"bg-green-100 text-green-800";case"sector":return"bg-purple-100 text-purple-800";default:return"bg-gray-100 text-gray-800"}},I=()=>{n.trim()&&(L({id:Date.now().toString(),text:n,author:"Current User",timestamp:new Date().toISOString()}),g(""))},E=()=>{S(p),x(!1)};return e(u,{open:!0,onOpenChange:b,children:t(N,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col",children:[e(y,{children:e(D,{className:"text-2xl font-bold",children:l==null?void 0:l.name})}),e(f,{className:"flex-grow pr-4",children:t("div",{className:"grid gap-6",children:[t("div",{className:"flex justify-between items-center",children:[e("div",{className:"flex items-center space-x-2",children:t("span",{className:"text-3xl font-bold text-green-600",children:["\xA3",s.value.toLocaleString()]})}),e(o,{onClick:h,children:"Edit Deal"})]}),t("div",{className:"grid gap-2",children:[e(i,{className:"text-sm font-medium text-gray-500",children:"Assignee"}),t("div",{className:"flex items-center space-x-2",children:[e(M,{className:"w-4 h-4 text-gray-400"}),e("span",{children:s.assignee})]})]}),t("div",{className:"grid gap-2",children:[e(i,{className:"text-sm font-medium text-gray-500",children:"Description"}),A?t("div",{className:"flex items-center space-x-2",children:[e(C,{value:p,onChange:a=>B(a.target.value),className:"flex-grow"}),e(o,{onClick:E,children:"Save"})]}):t("div",{className:"flex items-center justify-between",children:[e("p",{className:"text-gray-700",children:s.description||"No description"}),e(o,{variant:"outline",size:"sm",onClick:()=>x(!0),children:"Edit"})]})]}),t("div",{className:"grid gap-2",children:[e(i,{className:"text-sm font-medium text-gray-500",children:"Status"}),e(m,{variant:"outline",className:"w-fit",children:s.status})]}),t("div",{className:"grid gap-2",children:[e(i,{className:"text-sm font-medium text-gray-500",children:"Categories"}),e("div",{className:"flex flex-wrap gap-2",children:s.categories.map(a=>{let r=w.find(U=>U.id===a);return r?e(m,{variant:"secondary",className:k(r.type),children:r.name},r.id):null})})]}),t("div",{className:"grid grid-cols-2 gap-4",children:[t("div",{className:"grid gap-2",children:[e(i,{className:"text-sm font-medium text-gray-500",children:"Date Logged"}),t("div",{className:"flex items-center space-x-2",children:[e(c,{className:"w-4 h-4 text-gray-400"}),e("span",{children:new Date(s.dateLogged).toLocaleDateString()})]})]}),t("div",{className:"grid gap-2",children:[e(i,{className:"text-sm font-medium text-gray-500",children:"Closure Date"}),t("div",{className:"flex items-center space-x-2",children:[e(c,{className:"w-4 h-4 text-gray-400"}),e("span",{children:new Date(s.closureDate).toLocaleDateString()})]})]})]}),t("div",{className:"grid gap-2",children:[e(i,{className:"text-sm font-medium text-gray-500",children:"Last Modified"}),t("div",{className:"flex items-center space-x-2",children:[e(c,{className:"w-4 h-4 text-gray-400"}),e("span",{children:new Date(s.lastModified).toLocaleString()})]})]}),t("div",{className:"grid gap-2",children:[e(i,{className:"text-sm font-medium text-gray-500",children:"Comments"}),e("div",{className:"space-y-2",children:s.comments.map(a=>t("div",{className:"bg-gray-50 p-3 rounded-lg",children:[e("p",{className:"text-sm text-gray-700",children:a.text}),t("p",{className:"text-xs text-gray-500 mt-1",children:[a.author," - ",new Date(a.timestamp).toLocaleString()]})]},a.id))}),t("div",{className:"flex mt-2",children:[e(v,{value:n,onChange:a=>g(a.target.value),placeholder:"Add a comment...",className:"flex-grow"}),t(o,{onClick:I,className:"ml-2",children:[e(P,{className:"w-4 h-4 mr-2"}),"Add"]})]})]})]})})]})})}export{T as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as f}from"./chunk-TYFBZ3Q7.mjs";import{a as v}from"./chunk-QNKQEXU3.mjs";import{a as g}from"./chunk-DYIUZ4V5.mjs";import{a as y}from"./chunk-DE2DIWCC.mjs";import{useState as N}from"react";import{ChevronDown as q}from"lucide-react";import{CalendarDays as P,Grid as R,PlusCircle as A,CheckSquare as k}from"lucide-react";import{useRouter as M}from"next/navigation";import{format as T,parseISO as V}from"date-fns";import{jsx as r,jsxs as n}from"react/jsx-runtime";function b(...s){return s.filter(Boolean).join(" ")}function z({holidays:s,currentUser:t,currentDate:D,leaveApprovals:h,employees:w,submitLeaveRequest:o,approveLeave:i,rejectLeave:d}){let[a,m]=N("Calendar View"),x=M(),L=!1,u=V(D),c=async e=>{let C=T(e,"dd-MM-yyyy"),p=new URL(window.location.href);return p.searchParams.set("date",C),x.push(p.toString()),{success:!0}};if(L)return r("div",{className:"flex justify-center items-center h-screen",children:r("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let l=[{name:"Grid View",icon:R,current:a==="Grid View"},{name:"Calendar View",icon:P,current:a==="Calendar View"},{name:"Request Leave",icon:A,current:a==="Request Leave"},{name:"Approve Leave",icon:k,current:a==="Approve Leave"}];return n("div",{className:"container mx-auto p-4",children:[n("div",{className:"mb-8",children:[n("div",{className:"sm:hidden",children:[r("select",{value:a,onChange:e=>m(e.target.value),className:"block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm",children:l.map(e=>r("option",{children:e.name},e.name))}),r(q,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),r("div",{className:"hidden sm:block",children:r("div",{className:"border-b border-gray-200",children:r("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:l.map(e=>n("a",{onClick:()=>{(e.name!=="Approve Leave"||t.grade==="Manager"||t.grade==="Senior Manager"||t.grade==="Partner")&&m(e.name)},className:b(e.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",e.name==="Approve Leave"&&t.grade!=="Manager"&&t.grade!=="Senior Manager"&&t.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-sm font-medium"),"aria-current":e.current?"page":void 0,children:[r(e.icon,{className:b(e.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),r("span",{children:e.name})]},e.name))})})})]}),a==="Grid View"&&r(f,{currentDate:u,setCurrentDate:c,holidays:s,employees:w}),a==="Calendar View"&&r(y,{currentDate:u,setCurrentDate:c,holidays:s}),a==="Request Leave"&&r(v,{remainingDays:t.remainingLeaveDays,submitLeaveRequest:e=>o?o(e):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),a==="Approve Leave"&&r(g,{leaveRequests:h,onApprove:e=>i?i(e):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:e=>d?d(e):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}export{z as a};
@@ -1,4 +0,0 @@
1
- "use server";
2
- "use strict";
3
-
4
- var n={deals:[],customers:[],categories:[{id:"1",name:"Software",type:"proposition"},{id:"2",name:"Hardware",type:"proposition"},{id:"3",name:"Referral",type:"source"},{id:"4",name:"Outbound",type:"source"},{id:"5",name:"Tech",type:"sector"},{id:"6",name:"Finance",type:"sector"}]};async function i(){return n}async function a(t){let e={id:Date.now().toString(),...t,lastModified:new Date().toISOString(),comments:[]};return n.deals.push(e),e}async function s(t){let e=n.deals.findIndex(o=>o.id===t.id);if(e!==-1)return n.deals[e]={...t,lastModified:new Date().toISOString()},n.deals[e];throw new Error("Deal not found")}async function d(t){let e={id:Date.now().toString(),...t};return n.customers.push(e),e}async function m(t,e){let o=n.deals.find(r=>r.id===t);if(o){let r={id:Date.now().toString(),...e};return o.comments.push(r),o.lastModified=new Date().toISOString(),r}throw new Error("Deal not found")}async function c(t,e){let o=n.deals.find(r=>r.id===t);if(o)return o.description=e,o.lastModified=new Date().toISOString(),o;throw new Error("Deal not found")}export{i as a,a as b,s as c,d,m as e,c as f};
@@ -1 +0,0 @@
1
- var e=[{id:"1",name:"Acme Corp",intro:"A leading technology company",active:!0},{id:"2",name:"GlobalTech",intro:"Innovative solutions provider",active:!0},{id:"3",name:"InnoSystems",intro:"Cutting-edge software development",active:!1}],t=[{id:"1",name:"Software",type:"proposition"},{id:"2",name:"Hardware",type:"proposition"},{id:"3",name:"Referral",type:"source"},{id:"4",name:"Outbound",type:"source"},{id:"5",name:"Tech",type:"sector"},{id:"6",name:"Finance",type:"sector"}],o=[{id:"1",customerId:"1",value:5e4,assignee:"John Doe",status:"Qualified",categories:["1","3","5"],dateLogged:"2023-01-15",closureDate:"2023-06-30",lastModified:"2023-05-01T10:00:00Z",comments:[{id:"1",text:"Initial contact made",author:"John Doe",timestamp:"2023-01-15T09:00:00Z"}],description:"Potential software solution for Acme Corp"},{id:"2",customerId:"2",value:75e3,assignee:"Jane Smith",status:"Proposal Made",categories:["2","4","6"],dateLogged:"2023-02-01",closureDate:"2023-07-31",lastModified:"2023-05-10T14:30:00Z",comments:[{id:"2",text:"Proposal sent",author:"Jane Smith",timestamp:"2023-05-10T14:30:00Z"}],description:"Custom hardware solution for GlobalTech"}],a={deals:o,customers:e,categories:t},s=["Cold","Qualified","Proposal Made","Won","Lost"];export{e as a,t as b,o as c,a as d,s as e};
@@ -1 +0,0 @@
1
- import{a as c}from"./chunk-UG6FK323.mjs";import{a as f}from"./chunk-F2YN7SED.mjs";import{a as g,b as p,f as u,g as D,i as b}from"./chunk-JWDVKGZL.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{PlusCircle as y}from"lucide-react";import{Droppable as S,Draggable as T}from"react-beautiful-dnd";import{jsx as e,jsxs as a}from"react/jsx-runtime";function B({status:l,deals:r,customers:m,categories:s,onDealClick:C,calculateColumnValue:h,calculateWeightedValue:v,addNewDeal:d,updateDeal:N,onAddCustomer:P}){return a("div",{className:"flex flex-col w-80",children:[e("h2",{className:"text-xl font-semibold mb-4",children:l}),d&&a(g,{children:[e(p,{asChild:!0,children:a(n,{className:"mb-4 w-full bg-green-500 hover:bg-green-600 text-white",children:[e(y,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),a(u,{children:[e(D,{children:e(b,{children:"Add New Deal"})}),e(c,{customers:m,categories:s,onSubmit:d,onUpdate:N,onAddCustomer:P})]})]}),e(S,{droppableId:l,children:t=>a("div",{ref:t.innerRef,...t.droppableProps,className:"bg-gray-100 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[r.map((o,w)=>e(T,{draggableId:o.id,index:w,children:i=>e("div",{ref:i.innerRef,...i.draggableProps,...i.dragHandleProps,children:e(f,{deal:o,customer:m.find(x=>x.id===o.customerId),categories:s,onClick:()=>C(o)})})},o.id)),t.placeholder]})}),a("div",{className:"mt-4 text-sm bg-white p-3 rounded-lg shadow",children:[a("p",{className:"font-semibold",children:["Total: ",a("span",{className:"text-green-600",children:["$",h(r).toLocaleString()]})]}),a("p",{className:"font-semibold",children:["Weighted: ",a("span",{className:"text-blue-600",children:["$",v(r,l).toLocaleString()]})]})]})]})}export{B as a};
@@ -1,4 +0,0 @@
1
- "use server";
2
- "use strict";
3
-
4
- import{a,b as t,c as e,d,e as i,f as o}from"./chunk-FTVQOPU3.mjs";import{a as n}from"./chunk-V4CUPKLW.mjs";import{jsx as r}from"react/jsx-runtime";async function p(){let m=await a();return r("div",{className:"container mx-auto py-10",children:r(n,{initialData:m,addDeal:t,updateDeal:e,addCustomer:d,addComment:i,updateDealDescription:o})})}export{p as a};
@@ -1 +0,0 @@
1
- import{a as b,b as v,c as h}from"./chunk-SBM5HULF.mjs";import{b as i}from"./chunk-GLEWUUGS.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:f,employees:n}){let m=new Date(t.getFullYear(),t.getMonth()+1,0).getDate(),y=()=>{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:y,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:"inline-block min-w-full py-2 align-middle",children:r("table",{className:"min-w-full border-separate border-spacing-0",children:[e("thead",{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=f.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 as D}from"./chunk-QMWYQ3FS.mjs";import{a as m,c as n,d as u,g as p,i as g}from"./chunk-4JC2TJML.mjs";import{a as N}from"./chunk-Y5ZFXDW5.mjs";import{a as v}from"./chunk-4NKKWJ2X.mjs";import{a as C,b as h,f,g as S,i as b}from"./chunk-JWDVKGZL.mjs";import{a as y}from"./chunk-A5EYIB3V.mjs";import{a as r}from"./chunk-DWRQHV42.mjs";import{a as d}from"./chunk-QOIH63J3.mjs";import{b as c}from"./chunk-GLEWUUGS.mjs";import{useState as E,useEffect as O}from"react";import{PlusCircle as V}from"lucide-react";import{jsx as a,jsxs as s}from"react/jsx-runtime";function B({customers:L,categories:w,onSubmit:x,onUpdate:F,initialDeal:i,onAddCustomer:T}){let[t,l]=E({customerId:"",value:0,assignee:"",status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",lastModified:new Date().toISOString(),comments:[],description:""});O(()=>{i&&l(i)},[i]);let A=async e=>{if(e.preventDefault(),t.customerId&&t.value&&t.assignee&&t.closureDate)if(!i)await x(t);else{let o={...t,id:i.id};await F(o)}},I=e=>{l(o=>({...o,categories:o.categories.includes(e)?o.categories.filter(P=>P!==e):[...o.categories,e]}))},k=e=>{switch(e){case"proposition":return"bg-blue-100 text-blue-800";case"source":return"bg-green-100 text-green-800";case"sector":return"bg-purple-100 text-purple-800";default:return"bg-gray-100 text-gray-800"}};return s("form",{onSubmit:A,className:"space-y-6",children:[a(v,{className:"h-[60vh] pr-4 mx-2",children:s("div",{className:"space-y-6 mx-2",children:[s("div",{className:"space-y-2",children:[a(r,{htmlFor:"customer",children:"Customer"}),s("div",{className:"flex items-center space-x-2",children:[s(m,{value:t.customerId,onValueChange:e=>l({...t,customerId:e}),children:[a(u,{className:"flex-grow",children:a(n,{placeholder:"Select customer"})}),a(p,{children:L.map(e=>a(g,{value:e.id,children:e.name},e.id))})]}),s(C,{children:[a(h,{asChild:!0,children:s(c,{type:"button",size:"icon",variant:"outline",children:[a(V,{className:"h-4 w-4"}),a("span",{className:"sr-only",children:"Add new customer"})]})}),s(f,{children:[a(S,{children:a(b,{children:"Add New Customer"})}),a(D,{onSubmit:T})]})]})]})]}),s("div",{className:"space-y-2",children:[a(r,{htmlFor:"value",children:"Value"}),a(d,{id:"value",type:"number",value:t.value||"",onChange:e=>l({...t,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"})]}),s("div",{className:"space-y-2",children:[a(r,{htmlFor:"assignee",children:"Assignee"}),a(d,{id:"assignee",value:t.assignee||"",onChange:e=>l({...t,assignee:e.target.value}),placeholder:"Enter assignee name"})]}),s("div",{className:"space-y-2",children:[a(r,{htmlFor:"description",children:"Description"}),a(y,{id:"description",value:t.description||"",onChange:e=>l({...t,description:e.target.value}),placeholder:"Enter deal description"})]}),s("div",{className:"space-y-2",children:[a(r,{htmlFor:"status",children:"Status"}),s(m,{value:t.status,onValueChange:e=>l({...t,status:e}),children:[a(u,{children:a(n,{placeholder:"Select status"})}),a(p,{children:["Cold","Qualified","Proposal Made","Won","Lost"].map(e=>a(g,{value:e,children:e},e))})]})]}),s("div",{className:"space-y-2",children:[a(r,{children:"Categories"}),a("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>s("div",{className:"space-y-2",children:[a("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),a("div",{className:"grid grid-cols-2 gap-2",children:w.filter(o=>o.type===e).map(o=>s("div",{className:"flex items-center space-x-2",children:[a(N,{id:o.id,checked:t.categories.includes(o.id),onCheckedChange:()=>I(o.id)}),a("label",{htmlFor:o.id,className:`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 ${k(o.type)}`,children:o.name})]},o.id))})]},e))})]}),s("div",{className:"space-y-2",children:[a(r,{htmlFor:"dateLogged",children:"Date Logged"}),a(d,{id:"dateLogged",type:"date",value:t.dateLogged,onChange:e=>l({...t,dateLogged:e.target.value})})]}),s("div",{className:"space-y-2",children:[a(r,{htmlFor:"closureDate",children:"Closure Date"}),a(d,{id:"closureDate",type:"date",value:t.closureDate,onChange:e=>l({...t,closureDate:e.target.value})})]})]})}),a(c,{type:"submit",className:"w-full",children:i?"Update Deal":"Add Deal"})]})}export{B as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as O}from"./chunk-IE5X3XS7.mjs";import{a as I}from"./chunk-UG6FK323.mjs";import{a as N}from"./chunk-4RKYG7LK.mjs";import{a as x,f as h,g as P,i as B}from"./chunk-JWDVKGZL.mjs";import{useState as c,useCallback as H}from"react";import{DragDropContext as L}from"react-beautiful-dnd";import{jsx as d,jsxs as A}from"react/jsx-runtime";var Q=["Cold","Qualified","Proposal Made","Won","Lost"];function q({initialData:E,addDeal:k,updateDeal:r,addCustomer:K,addComment:M,updateDealDescription:U}){let[n,l]=c(E),[i,p]=c(null),[D,m]=c(null),V=H(async e=>{let{source:t,destination:a}=e;if(!a||t.droppableId===a.droppableId&&t.index===a.index)return;let o=t.droppableId,s=a.droppableId,w=[...n.deals],[u]=w.splice(t.index,1);u.status=s,w.splice(a.index,0,u);let y=await r(u);l(S=>({...S,deals:S.deals.map(b=>b.id===y.id?y:b)}))},[n,r]),g=async e=>{let t=await k(e);l(a=>({...a,deals:[...a.deals,t]}))},C=async e=>{let t=await r(e);l(a=>({...a,deals:a.deals.map(o=>o.id===t.id?t:o)})),m(null)},W=async(e,t)=>{let a=await M(e,{text:t.text,author:t.author,timestamp:t.timestamp});l(o=>({...o,deals:o.deals.map(s=>s.id===e?{...s,comments:[...s.comments,a],lastModified:new Date().toISOString()}:s)}))},R=e=>n.deals.filter(t=>t.status===e),T=e=>e.reduce((t,a)=>t+a.value,0),v=(e,t)=>{let a={Cold:.2,Qualified:.4,"Proposal Made":.6,Won:1,Lost:0};return e.reduce((o,s)=>o+s.value*a[t],0)},f=async e=>{let t=await K(e);l(a=>({...a,customers:[...a.customers,t]}))},F=async(e,t)=>{let a=await U(e,t);l(o=>({...o,deals:o.deals.map(s=>s.id===a.id?a:s)}))};return d(L,{onDragEnd:V,children:A("div",{className:"p-4",children:[d("div",{className:"flex space-x-4 overflow-x-auto pb-4",children:Q.map(e=>{let t=R(e);return d(O,{status:e,deals:t,customers:n.customers,categories:n.categories,onDealClick:p,calculateColumnValue:T,calculateWeightedValue:v,addNewDeal:e==="Cold"?g:void 0,updateDeal:C,onAddCustomer:f},e)})}),i&&d(N,{deal:i,customer:n.customers.find(e=>e.id===i.customerId),categories:n.categories,onClose:()=>p(null),onEdit:()=>m(i),onAddComment:e=>W(i.id,e),onUpdateDescription:e=>F(i.id,e)}),D&&d(x,{open:!0,onOpenChange:()=>m(null),children:A(h,{className:"sm:max-w-[625px]",children:[d(P,{children:d(B,{children:"Edit Deal"})}),d(I,{customers:n.customers,categories:n.categories,onSubmit:g,onUpdate:C,initialDeal:D,onAddCustomer:f})]})})]})})}export{q as a};
@@ -1 +0,0 @@
1
- import{i as C,j as v,k as P,l as S,m as R,n as w,o as I}from"./chunk-O5BAW5XQ.mjs";import{a as p}from"./chunk-NWW7KWJK.mjs";import{a as b}from"./chunk-HUN2X4VH.mjs";import{a as g}from"./chunk-UK4IPFAO.mjs";import{a as k}from"./chunk-763KMQIQ.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{jsx as u,jsxs as F}from"react/jsx-runtime";var d=({links:s,richText:e})=>u("div",{className:"container",children:F("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:[u("div",{className:"max-w-[48rem] flex items-center",children:e&&u(m,{className:"mb-0",content:e,enableGutter:!1})}),u("div",{className:"flex flex-col gap-8",children:(s||[]).map(({link:t},i)=>u(p,{size:"lg",...t},i))})]})});import{jsx as c,jsxs as N}from"react/jsx-runtime";var B=({title:s,description:e,features:t,id:i})=>N("section",{className:n("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[s&&c("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:i||"",children:s}),e&&typeof e=="string"&&c("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&c("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:c(m,{content:e,enableGutter:!1})}),c("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((l,r)=>{let o=N("div",{className:"flex flex-col gap-4",children:[c("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:c("i",{className:`${l.icon.type} fa-${l.icon.icon} fa-4x`})}),c("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:l.title}),l.content&&typeof l.content!="object"&&c("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:l.content}}),l.content&&typeof l.content=="object"&&c("div",{className:"text-lg opacity-80",children:c(m,{content:l.content,enableGutter:!1})})]},r);return l.link?c("a",{href:l.link.url?l.link.url:"#",className:"no-underline group",children:o},r):o})})]});import z,{Fragment as A}from"react";import{jsx as a}from"react/jsx-runtime";function f({nodes:s}){return a(A,{children:s==null?void 0:s.map((e,t)=>{if(e==null)return null;if(e.type==="text"){let r=a(z.Fragment,{children:e.text},t);return e.format&1&&(r=a("strong",{children:r},t)),e.format&2&&(r=a("em",{children:r},t)),e.format&4&&(r=a("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=a("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=a("code",{children:e.text},t)),e.format&32&&(r=a("sub",{children:r},t)),e.format&64&&(r=a("sup",{children:r},t)),r}if(e.type==="table")return a("table",{children:a("tbody",{children:e.children.map((r,o)=>a("tr",{children:r.children.map((h,x)=>a("td",{children:f({nodes:h.children})},x))},o))})},t);let i=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return f({nodes:r.children})},l="children"in e?i(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){case"cta":return a(d,{...r},t);case"mediaBlock":return a(g,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return a(b,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return a(T,{className:"col-start-2 mb-4",...r},t);case"code":return a(k,{className:"col-start-2",...r},t);case"features":return a(B,{...r},t);default:return null}}else switch(e.type){case"linebreak":return a("br",{className:"col-start-2"},t);case"paragraph":return a("p",{className:"col-start-2",children:l},t);case"heading":{let r=e==null?void 0:e.tag;return a(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:l},t)}case"list":{let r=e==null?void 0:e.tag;return a(r,{className:"list col-start-2",children:l},t)}case"listitem":return(e==null?void 0:e.checked)!=null?a("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:l},t):a("li",{value:e==null?void 0:e.value,children:l},t);case"quote":return a("blockquote",{className:"col-start-2",children:l},t);case"link":{let r=e.fields;return a(p,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:l},t)}case"autolink":{let r=e.fields;return a(p,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:l},t)}default:return null}})})}import{jsx as L}from"react/jsx-runtime";var m=({className:s,content:e,enableGutter:t=!0,enableProse:i=!0})=>{var l;return e?L("div",{className:n({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":i},s),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&f({nodes:(l=e==null?void 0:e.root)==null?void 0:l.children})}):null};import{jsx as y}from"react/jsx-runtime";var T=({className:s,content:e,style:t})=>y("div",{className:n("mx-auto my-8 w-full",s),children:y("div",{className:n("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:y(m,{content:e,enableGutter:!1,enableProse:!1})})});export{T as a,d as b,B as c,f as d,m as e};
@@ -1 +0,0 @@
1
- export declare function CRMPage(): Promise<import("react/jsx-runtime").JSX.Element>;