cortex-react-components 1.46.1 → 1.47.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.
- package/dist/{chunk-MFKBUKSI.mjs → chunk-3ODCIQYB.mjs} +1 -1
- package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
- package/dist/{chunk-AHFJJDUP.mjs → chunk-5BPR3YKT.mjs} +1 -1
- package/dist/{chunk-PDY43B6W.mjs → chunk-5EFOKBKA.mjs} +1 -1
- package/dist/{chunk-QM7QBP2I.mjs → chunk-7SSOLQR5.mjs} +1 -1
- package/dist/{chunk-OKGREBP5.mjs → chunk-BWGRPPZL.mjs} +1 -1
- package/dist/{chunk-YDGF5GEU.mjs → chunk-DIPGFDJV.mjs} +1 -1
- package/dist/{chunk-7FMMXR7S.mjs → chunk-DLCGGIZW.mjs} +1 -1
- package/dist/chunk-ECOVEIOV.mjs +1 -0
- package/dist/{chunk-MA2CFK7X.mjs → chunk-ENDXPA4H.mjs} +1 -1
- package/dist/chunk-G6K3PK47.mjs +1 -0
- package/dist/{chunk-KAJDV47B.mjs → chunk-GHBJK554.mjs} +1 -1
- package/dist/{chunk-2VBPJMVS.mjs → chunk-GT43S672.mjs} +1 -1
- package/dist/{chunk-RFZ2OZQN.mjs → chunk-H5DKU4M5.mjs} +1 -1
- package/dist/{chunk-HOHVBVME.mjs → chunk-HFSHDEMQ.mjs} +1 -1
- package/dist/chunk-HHUI6PDP.mjs +4 -0
- package/dist/{chunk-NFFHQJ5C.mjs → chunk-IJU5INGM.mjs} +1 -1
- package/dist/{chunk-TGED5EGX.mjs → chunk-KB6PO4K4.mjs} +1 -1
- package/dist/{chunk-Q7QS4VSI.mjs → chunk-KVIQW2PH.mjs} +1 -1
- package/dist/chunk-MY3PX5GI.mjs +1 -0
- package/dist/{chunk-XD4IKPMW.mjs → chunk-O7R6EGBU.mjs} +1 -1
- package/dist/{chunk-3ICCXFE6.mjs → chunk-PY53YVFX.mjs} +1 -1
- package/dist/{chunk-OVGEJMAF.mjs → chunk-QCIJUDO4.mjs} +1 -1
- package/dist/{chunk-V7YLLLES.mjs → chunk-RZTXT4UD.mjs} +1 -1
- package/dist/{chunk-QVF5FBGY.mjs → chunk-SBAFXZVU.mjs} +1 -1
- package/dist/chunk-SEG6IDDX.mjs +1 -0
- package/dist/{chunk-M3J4AMUT.mjs → chunk-TGHOEITH.mjs} +1 -1
- package/dist/{chunk-MN7UDYWI.mjs → chunk-UDH5ASIW.mjs} +1 -1
- package/dist/{chunk-4JNRVCRR.mjs → chunk-US6CSL53.mjs} +1 -1
- package/dist/{chunk-FNI2A5LW.mjs → chunk-W6VKKBUG.mjs} +1 -1
- package/dist/{chunk-KQE42INF.mjs → chunk-XGKZLSIS.mjs} +1 -1
- package/dist/{chunk-23L5ZJ2U.mjs → chunk-Z4CK655R.mjs} +1 -1
- package/dist/{chunk-CP7MAHWY.mjs → chunk-Z5PNO5CB.mjs} +1 -1
- package/dist/{chunk-6X3A3ENB.mjs → chunk-ZLEW2CSB.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.d.ts +4 -20
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContent.css +1 -0
- package/dist/components/Blocks/ReusableContent.d.ts +8 -0
- package/dist/components/Blocks/ReusableContent.js +4 -0
- package/dist/components/Blocks/ReusableContent.mjs +1 -0
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.d.ts +8 -2
- package/dist/components/CRM/DealDetails.js +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.js +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.d.ts +16 -4
- package/dist/components/CRM/KanbanBoard.js +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.js +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.d.ts +8 -2
- package/dist/components/CRM/KanbanColumn.js +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.js +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.d.ts +11 -5
- package/dist/components/CRM/NewDealForm.js +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.js +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.js +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +3 -3
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +3 -3
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.d.ts +12 -2
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +6 -6
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +8 -8
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +186 -186
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +2 -2
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +300 -3
- package/dist/payload-types.js +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-DBHEV3OE.mjs +0 -1
- package/dist/chunk-EJV6UKCA.mjs +0 -1
- package/dist/chunk-FBUZ37DL.mjs +0 -1
- package/dist/chunk-GTDG7AC2.mjs +0 -1
- package/dist/chunk-T44RKQFA.mjs +0 -1
- package/dist/chunk-TTN4NUDL.mjs +0 -1
- package/dist/chunk-Y3L5THWA.mjs +0 -4
- package/dist/chunk-YNC77MO4.mjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../chunk-
|
|
1
|
+
import{a as o}from"../chunk-BWGRPPZL.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-S7OK7D5I.mjs";import{FaCog as i}from"react-icons/fa";import{jsx as e}from"react/jsx-runtime";var d={title:"Website Components/ServiceSection",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[s=>e(s,{})]},t=s=>e(o,{...s}),c=t.bind({});c.args={services:[{icon:e(i,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"kit",iconName:"software"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};var r=t.bind({});r.args={services:[]};var n=t.bind({});n.args={services:[{icon:e(i,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};var p=t.bind({});p.args={services:[{icon:e(i,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:e(i,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};export{c as Default,r as Empty,p as Four,n as Two,d as default};
|
package/dist/sections/index.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";var wr=Object.create;var Pe=Object.defineProperty;var Cr=Object.getOwnPropertyDescriptor;var Nr=Object.getOwnPropertyNames;var kr=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty;var Pr=(e,t)=>{for(var r in t)Pe(e,r,{get:t[r],enumerable:!0})},ft=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Nr(t))!Ar.call(e,s)&&s!==r&&Pe(e,s,{get:()=>t[s],enumerable:!(a=Cr(t,s))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?wr(kr(e)):{},ft(t||!e||!e.__esModule?Pe(r,"default",{value:e,enumerable:!0}):r,e)),Sr=e=>ft(Pe({},"__esModule",{value:!0}),e);var So={};Pr(So,{AboutSection:()=>mo,BlogDetail:()=>No,BlogListSection:()=>fo,ContactSection:()=>wo,ImageSection:()=>Po,MainPageSection:()=>ko,PricingSection:()=>co,ServiceSection:()=>io});module.exports=Sr(So);var kt=require("clsx");var Je="-",Br=e=>{let t=Rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Je);return i[0]===""&&i.length!==1&&i.shift(),xt(i,t)||Tr(n)},getConflictingClassGroupIds:(n,i)=>{let c=r[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},xt=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?xt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Je);return(n=t.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},bt=/^\[(.+)\]$/,Tr=e=>{if(bt.test(e)){let t=bt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Rr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Lr(Object.entries(e.classGroups),r).forEach(([o,n])=>{qe(n,a,o,t)}),a},qe=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:ht(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Ir(s)){qe(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{qe(n,ht(t,o),r,a)})})},ht=(e,t)=>{let r=e;return t.split(Je).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Ir=e=>e.isThemeGetter,Lr=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,i])=>[t+n,i])):o);return[r,s]}):e,Mr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,n)=>{r.set(o,n),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let n=r.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){r.has(o)?r.set(o,n):s(o,n)}}},vt="!",zr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=i=>{let c=[],m=0,f=0,g;for(let S=0;S<i.length;S++){let R=i[S];if(m===0){if(R===s&&(a||i.slice(S,S+o)===t)){c.push(i.slice(f,S)),f=S+o;continue}if(R==="/"){g=S;continue}}R==="["?m++:R==="]"&&m--}let u=c.length===0?i:i.substring(f),N=u.startsWith(vt),T=N?u.substring(1):u,y=g&&g>f?g-f:void 0;return{modifiers:c,hasImportantModifier:N,baseClassName:T,maybePostfixModifierPosition:y}};return r?i=>r({className:i,parseClassName:n}):n},Er=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Dr=e=>({cache:Mr(e.cacheSize),parseClassName:zr(e),...Br(e)}),Fr=/\s+/,Hr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(Fr),i="";for(let c=n.length-1;c>=0;c-=1){let m=n[c],{modifiers:f,hasImportantModifier:g,baseClassName:u,maybePostfixModifierPosition:N}=r(m),T=!!N,y=a(T?u.substring(0,N):u);if(!y){if(!T){i=m+(i.length>0?" "+i:i);continue}if(y=a(u),!y){i=m+(i.length>0?" "+i:i);continue}T=!1}let S=Er(f).join(":"),R=g?S+vt:S,w=R+y;if(o.includes(w))continue;o.push(w);let E=s(y,T);for(let I=0;I<E.length;++I){let ae=E[I];o.push(R+ae)}i=m+(i.length>0?" "+i:i)}return i};function Ur(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=yt(t))&&(a&&(a+=" "),a+=r);return a}var yt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=yt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Gr(e,...t){let r,a,s,o=n;function n(c){let m=t.reduce((f,g)=>g(f),e());return r=Dr(m),a=r.cache.get,s=r.cache.set,o=i,i(c)}function i(c){let m=a(c);if(m)return m;let f=Hr(c,r);return s(c,f),f}return function(){return o(Ur.apply(null,arguments))}}var k=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},wt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Or=/^\At+\/\At+$/,Vr=new Set(["px","full","screen"]),$r=/^(\At+(\.\At+)?)?(xs|sm|md|lg|xl)$/,jr=/\At+(%|px|r?em|[sdl]?At([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|At|i|At|min|max))|\At(calc|min|max|clamp)\(.+\)|^0$/,Yr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Kr=/^(inset_)?-?((\At+)?\.?(\At+)[a-z]+|0)At-?((\At+)?\.?(\At+)[a-z]+|0)/,Qr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=e=>se(e)||Vr.has(e)||Or.test(e),Q=e=>ne(e,"length",to),se=e=>!!e&&!Number.isNaN(Number(e)),_e=e=>ne(e,"number",se),he=e=>!!e&&Number.isInteger(Number(e)),Wr=e=>e.endsWith("%")&&se(e.slice(0,-1)),p=e=>wt.test(e),W=e=>$r.test(e),_r=new Set(["length","size","percentage"]),qr=e=>ne(e,_r,Ct),Jr=e=>ne(e,"position",Ct),Zr=new Set(["image","url"]),Xr=e=>ne(e,Zr,oo),eo=e=>ne(e,"",ro),xe=()=>!0,ne=(e,t,r)=>{let a=wt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},to=e=>jr.test(e)&&!Yr.test(e),Ct=()=>!1,ro=e=>Kr.test(e),oo=e=>Qr.test(e);var ao=()=>{let e=k("colors"),t=k("spacing"),r=k("blur"),a=k("brightness"),s=k("borderColor"),o=k("borderRadius"),n=k("borderSpacing"),i=k("borderWidth"),c=k("contrast"),m=k("grayscale"),f=k("hueRotate"),g=k("invert"),u=k("gap"),N=k("gradientColorStops"),T=k("gradientColorStopPositions"),y=k("inset"),S=k("margin"),R=k("opacity"),w=k("padding"),E=k("saturate"),I=k("scale"),ae=k("sepia"),lt=k("skew"),ct=k("space"),dt=k("translate"),Ye=()=>["auto","contain","none"],Ke=()=>["auto","hidden","clip","visible","scroll"],Qe=()=>["auto",p,t],P=()=>[p,t],mt=()=>["",j,Q],ke=()=>["auto",se,p],pt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ae=()=>["solid","dashed","dotted","double","none"],gt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],We=()=>["start","end","center","between","around","evenly","stretch"],be=()=>["","0",p],ut=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[se,p];return{cacheSize:500,separator:":",theme:{colors:[xe],spacing:[j,Q],blur:["none","",W,p],brightness:$(),borderColor:[e],borderRadius:["none","","full",W,p],borderSpacing:P(),borderWidth:mt(),contrast:$(),grayscale:be(),hueRotate:$(),invert:be(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[Wr,Q],inset:Qe(),margin:Qe(),opacity:$(),padding:P(),saturate:$(),scale:$(),sepia:be(),skew:$(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[W]}],"break-after":[{"break-after":ut()}],"break-before":[{"break-before":ut()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...pt(),p]}],overflow:[{overflow:Ke()}],"overflow-At":[{"overflow-At":Ke()}],"overflow-y":[{"overflow-y":Ke()}],overscroll:[{overscroll:Ye()}],"overscroll-At":[{"overscroll-At":Ye()}],"overscroll-y":[{"overscroll-y":Ye()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-At":[{"inset-At":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",he,p]}],basis:[{basis:Qe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:be()}],shrink:[{shrink:be()}],order:[{order:["first","last","none",he,p]}],"grid-cols":[{"grid-cols":[xe]}],"col-start-end":[{col:["auto",{span:["full",he,p]},p]}],"col-start":[{"col-start":ke()}],"col-end":[{"col-end":ke()}],"grid-rows":[{"grid-rows":[xe]}],"row-start-end":[{row:["auto",{span:[he,p]},p]}],"row-start":[{"row-start":ke()}],"row-end":[{"row-end":ke()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","me",p]}],"auto-rows":[{"auto-rows":["auto","min","max","me",p]}],gap:[{gap:[u]}],"gap-At":[{"gap-At":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...We()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...We(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...We(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],me:[{me:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],Be:[{Be:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-At":[{"space-At":[ct]}],"space-At-reverse":["space-At-reverse"],"space-y":[{"space-y":[ct]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[W]},W]}],At:[{At:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-At":[{"min-At":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-At":[{"max-At":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",W,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_e]}],"font-family":[{font:[xe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",p]}],"line-clamp":[{"line-clamp":["none",se,_e]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",j,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[R]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[R]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",j,Q]}],"underline-offset":[{"underline-offset":["auto",j,p]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[R]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...pt(),Jr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","At","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","At","bl","l","tl"]},Xr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[T]}],"gradient-via-pos":[{via:[T]}],"gradient-to-pos":[{to:[T]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-At":[{"rounded-At":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-At":[{"border-At":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-At":[{"border-At":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[R]}],"border-style":[{border:[...Ae(),"hidden"]}],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[R]}],"divide-style":[{divide:Ae()}],"border-color":[{border:[s]}],"border-color-At":[{"border-At":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-At":[{"border-At":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Ae()]}],"outline-offset":[{"outline-offset":[j,p]}],"outline-w":[{outline:[j,Q]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:mt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[R]}],"ring-offset-w":[{"ring-offset":[j,Q]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",W,eo]}],"shadow-color":[{shadow:[xe]}],opacity:[{opacity:[R]}],"mix-blend":[{"mix-blend":[...gt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":gt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",W,p]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[E]}],sepia:[{sepia:[ae]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[R]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-At":[{"border-spacing-At":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-At":[{"scale-At":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[he,p]}],"translate-At":[{"translate-At":[dt]}],"translate-y":[{"translate-y":[dt]}],"skew-At":[{"skew-At":[lt]}],"skew-y":[{"skew-y":[lt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","At",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-Be":[{"scroll-Be":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","At","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-At":[{"touch-pan":["At","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[j,Q,_e]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-At","overflow-y"],overscroll:["overscroll-At","overscroll-y"],inset:["inset-At","inset-y","start","end","top","right","bottom","left"],"inset-At":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-At","gap-y"],p:["px","py","ps","me","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","Be","mb","ml"],mx:["Be","ml"],my:["mt","mb"],size:["w","At"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-At","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-At":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-At","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-At","border-w-l"],"border-w-At":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-At"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-At","border-color-l"],"border-color-At":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-At"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-Be","scroll-mb","scroll-ml"],"scroll-mx":["scroll-Be","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-me","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-At","touch-y","touch-pz"],"touch-At":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Nt=Gr(ao);function l(...e){return Nt((0,kt.clsx)(e))}var At=require("react/jsx-runtime");function F({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,At.jsx)("div",{className:s,children:e})}var Se=(e,t)=>e[t%e.length];var Pt=require("@radix-ui/react-slot"),St=require("class-variance-authority"),Bt=D(require("react")),so=(0,St.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"At-10 px-4 py-2",icon:"At-10 w-10",lg:"At-11 rounded px-8",sm:"At-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),z=Bt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,At.jsx)(e?Pt.Slot:"button",{className:l(so({className:t,size:r,variant:a})),ref:o,...s}));z.displayName="Button";var Rt=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,n=a!=null?a:"",i=s+o+" fa-"+r+" "+n;return(0,At.jsx)("i",{className:i})};var Lt=D(require("next/link"));function J({children:e,href:t,openNewTab:r,...a}){return(0,At.jsx)(Lt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function no(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function zt({icon:e,title:t,description:r,slug:a}){return(0,At.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block At-full space-y-6 overflow-hidden rounded-5 p-6 md:space-y-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,At.jsxs)("div",{className:"flex items-center gap-5",children:[(0,At.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:no(e)?(0,At.jsx)(Rt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,At.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,At.jsx)(J,{href:a,children:t}):t})]}),(0,At.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,At.jsx)(z,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,At.jsxs)(J,{href:a,children:[(0,At.jsx)("span",{children:"Read More"}),(0,At.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,At.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{At:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,At.jsx)("span",{className:"invisible absolute bottom-0 left-0 At-[2px] w-full scale-At-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-At-100 group-hover/service:opacity-100"})]})}function io({services:e,className:t}){return(0,At.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,At.jsx)(F,{className:"py-8",children:e&&e.length>0&&(0,At.jsx)("div",{className:"flex flex-wrap justify-center gap-y-8",children:e.map((r,a)=>(0,At.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Se([200,400,600],a),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,At.jsx)(zt,{...r})},a))})})})}var Be=require("react-icons/fa6");function Et({title:e,description:t,features:r,price:a,duration:s,button:o}){return(0,At.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,At.jsxs)("div",{className:"At-full border-card p-6 dark:border-opacity-20 max-lg:border-At max-lg:pt-14 lg:border-r lg:p-10",children:[(0,At.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,At.jsx)("p",{children:t})]}),(0,At.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,At.jsxs)("div",{className:"flex flex-col justify-stretch gap-At-14 gap-y-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,At.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((n,i)=>(0,At.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,At.jsx)("span",{className:"text-accent pt-1",children:(0,At.jsx)(Be.FaCircleCheck,{})}),(0,At.jsx)("span",{children:n})]},i))}),(0,At.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,At.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),o&&(0,At.jsx)("div",{className:"flex-none Be-0 sm:ml-auto",children:(0,At.jsx)(z,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,At.jsxs)(J,{href:o.href,openNewTab:o.openNewTab,children:[(0,At.jsx)("span",{className:"relative z-1",children:o.label}),(0,At.jsx)("span",{className:"relative z-1 pl-2",children:(0,At.jsx)(Be.FaAnglesRight,{})})]})})})]})})]})}var Dt=({className:e,content:t,style:r})=>(0,At.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,At.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,At.jsx)(G,{content:t,enableGutter:!1,enableProse:!1})})});var Ze=D(require("next/link")),ye=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:i,size:c,url:m}=e,f=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:m;if(!f)return null;let g=r==="link"?"clear":c,u=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,At.jsxs)(Ze.default,{className:l(s),href:f||m||"",...u,children:[o&&o,a&&a]}):(0,At.jsx)(z,{asChild:!0,className:s,size:g,variant:r,children:(0,At.jsxs)(Ze.default,{className:l(s),href:f||m||"",...u,children:[o&&o,a&&a]})})};var Ft=({links:e,richText:t})=>(0,At.jsx)("div",{className:"container",children:(0,At.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,At.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,At.jsx)(G,{className:"mb-0",content:t,enableGutter:!1})}),(0,At.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,At.jsx)(ye,{size:"lg",...r},a))})]})});var Re=require("prism-react-renderer");var Ht=require("lucide-react"),Ut=require("react");function Gt({code:e}){let[t,r]=(0,Ut.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,At.jsx)("div",{className:"flex justify-end align-middle",children:(0,At.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,At.jsx)("p",{children:t}),(0,At.jsx)("div",{className:"w-6 At-6 dark:invert",children:(0,At.jsx)(Ht.ClipboardCopy,{})})]})})}var Ot=({code:e,language:t=""})=>e?(0,At.jsx)(Re.Highlight,{code:e,language:t,theme:Re.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,At.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-At-auto",children:[s.map((o,n)=>(0,At.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,At.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,At.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,At.jsx)("span",{...a({token:i})},c))})]},n)),(0,At.jsx)(Gt,{code:e})]})}):null;var Vt=({className:e,code:t,language:r})=>(0,At.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,At.jsx)(Ot,{code:t,language:r})});var jt=D(require("next/image")),lo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},$t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Yt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:c}=e,m,f,g=t,u=i||"";if(!u&&o&&typeof o=="object"){let{alt:y,filename:S,height:R,url:w,width:E}=o;m=E,f=R,g=y||"",u=w||$t}let N=c||"lazy",T=n||Object.entries(lo).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,At.jsx)("picture",{children:(0,At.jsx)(jt.default,{alt:g||"",className:l(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:$t,priority:N!=="lazy"&&s,quality:100,loading:N,sizes:T,src:u,width:r?void 0:m})})};var Kt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Qt=()=>{if(Kt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Wt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,Ut.useRef)(null);if((0,Ut.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,At.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,At.jsx)("source",{src:`${Qt()}/media/${o}`})})}return null};var Me=e=>{var n;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,At.jsx)(r||Ut.Fragment,{...r!==null?{className:t}:{},children:s?(0,At.jsx)(Wt,{...e}):(0,At.jsx)(Yt,{...e})})};var qt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,At.jsx)("div",{className:l("",{container:r},t),children:(0,At.jsx)(Me,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var Jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,At.jsx)("div",{className:l("",{container:r},t),children:(0,At.jsx)(Me,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var Zt=({title:e,description:t,features:r,id:a})=>(0,At.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,At.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,At.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,At.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,At.jsx)(G,{content:t,enableGutter:!1})}),(0,At.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{let n=(0,At.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,At.jsx)("div",{className:"text-accent At-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,At.jsx)("i",{className:`${s.icon.type} fa-${s.icon.icon} fa-4x`})}),(0,At.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:s.title}),s.content&&typeof s.content!="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:s.content}}),s.content&&typeof s.content=="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",children:(0,At.jsx)(G,{content:s.content,enableGutter:!1})})]},o);return s.link?(0,At.jsx)("a",{href:s.link.url?s.link.url:"#",className:"no-underline group",children:n},o):n})})]});var Ee=D(require("react"));function ze({nodes:e}){return(0,At.jsx)(Ee.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,At.jsx)(Ee.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,At.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,At.jsx)("em",{children:o},r)),t.format&4&&(o=(0,At.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,At.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,At.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,At.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,At.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,At.jsx)("table",{children:(0,At.jsx)("tbody",{children:t.children.map((o,n)=>(0,At.jsx)("tr",{children:o.children.map((i,c)=>(0,At.jsx)("td",{children:ze({nodes:i.children})},c))},n))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return ze({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,At.jsx)(Ft,{...o},r);case"mediaBlock":return(0,At.jsx)(qt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,At.jsx)(Jt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,At.jsx)(Dt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,At.jsx)(Vt,{className:"col-start-2",...o},r);case"features":return(0,At.jsx)(Zt,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,At.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,At.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,At.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,At.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,At.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,At.jsx)(ye,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,At.jsx)(ye,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var G=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,At.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ze({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function le({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:s=!1,className:o,invert:n=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},o);return(0,At.jsxs)("div",{className:i,children:[e&&(0,At.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,At.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",n&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,At.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,At.jsx)(G,{content:r,enableGutter:!1})]})}function co({sectionHeading:e,cards:t}){return(0,At.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,At.jsxs)(F,{children:[(0,At.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,At.jsx)(le,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,At.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,At.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Se([200,400,600],a),className:"py-2",children:(0,At.jsx)(Et,{...r})},a))})]})})}var we=D(require("next/image"));function mo(e){let{images:t,sectionHeading:r,keyPoints:a,description:s}=e;return(0,At.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,At.jsx)(F,{children:(0,At.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,At.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,At.jsx)(le,{...r}),a&&a.length>0&&(0,At.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:a.map((o,n)=>(0,At.jsxs)("div",{className:"group flex min-At-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-At-[85px] md:px-[1.875rem] md:py-3",children:[(0,At.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,At.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},n))}),s&&(0,At.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),t&&(0,At.jsx)("div",{className:"mx-auto text-center",children:(0,At.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,At.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,At.jsx)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,At.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,At.jsx)(we.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),(0,At.jsx)("div",{className:"flex overflow-hidden",children:(0,At.jsx)(we.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,At.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,At.jsx)(we.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,At.jsx)("div",{className:"overflow-hidden",children:(0,At.jsx)(we.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,At.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-At-1/2 -translate-y-1/2 overflow-hidden",children:(0,At.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,At.jsx)("span",{className:"grid At-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,At.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{At:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var tr=D(require("next/image"));var er=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"At";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${s}`};function rr({blogs:e}){return(0,At.jsx)("div",{children:e&&e.length>0&&(0,At.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,At.jsx)(po,{post:t,id:r},r))})})}var po=({post:e,id:t})=>{let{slug:r,image:a,authors:s,categories:o,title:n,description:i,publishedAt:c}=e;return(0,At.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,At.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[a&&(0,At.jsx)(tr.default,{src:a.src,alt:a.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,At.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,At.jsxs)("div",{children:[(0,At.jsxs)("div",{className:"flex items-center gap-At-4 text-xs",children:[(0,At.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:er(e.publishedAt)}),e.categories&&e.categories.map((m,f)=>(0,At.jsx)("a",{href:`#${m}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:m},f))]}),(0,At.jsxs)("div",{className:"group relative max-w-xl",children:[(0,At.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,At.jsxs)("a",{href:e.slug,children:[(0,At.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,At.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,At.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((m,f)=>(0,At.jsxs)("div",{className:"relative flex items-center gap-At-4",children:[m.image?(0,At.jsx)("img",{alt:m.image.alt,src:m.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,At.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,At.jsx)("div",{className:"text-sm/6",children:(0,At.jsxs)("p",{className:"text-foreground pr-6",children:[(0,At.jsx)("span",{className:"absolute inset-0"}),m.name]})})]},f))})]})]},t)};var me=require("next/navigation");var ee=D(require("react"));var ce=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ce.displayName="Card";var Ce=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 p-6",e),...t}));Ce.displayName="CardHeader";var Ne=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));Ne.displayName="CardTitle";var go=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));go.displayName="CardDescription";var de=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));de.displayName="CardContent";var uo=ee.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));uo.displayName="CardFooter";var Bs=l("transition-colors duration-400 hover:text-primary ease-in-out");function De({title:e,links:t}){let r=(0,me.useSearchParams)(),a=(0,me.usePathname)(),{replace:s}=(0,me.useRouter)();function o(n){let i=new URLSearchParams(r);n?i.set("category",n):i.delete("category"),s(`${a}?${i.toString()}`)}return(0,At.jsxs)(ce,{children:[(0,At.jsx)(Ce,{children:(0,At.jsx)(Ne,{className:"text-accent",children:e&&e})}),(0,At.jsx)(de,{children:t&&t.length>0&&(0,At.jsx)("nav",{"aria-label":"footer links navigation",children:(0,At.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,At.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(n.href)},children:[n.label,(0,At.jsx)(Ht.ExternalLink,{className:"ml-1 At-3 w-3"})]},i))})})})]})}var at=l("grid At-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function sr({pages:e}){let t=(0,me.useSearchParams)(),r=(0,me.usePathname)(),{replace:a}=(0,me.useRouter)(),{totalPages:s,page:o}=e,[n,i]=(0,Ut.useState)({start:o>3?o-3:1,end:o+2}),c=g=>{g==="left"&&n.start>1?i(u=>({start:u.start-1,end:u.end-1})):g==="right"&&n.end<s&&i(u=>({start:u.start+1,end:u.end+1}))};function m(g){let u=new URLSearchParams(t);g?u.set("page",g):u.delete("page"),a(`${r}?${u.toString()}`)}if(s<=1)return null;let f=[];for(let g=n.start;g<=n.end;g++)f.push(g);return(0,At.jsx)("div",{className:"mt-12",children:(0,At.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(at,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,At.jsx)(Be.FaArrowLeft,{})})}),f.map((g,u)=>(0,At.jsx)("li",{children:(0,At.jsx)("a",{className:l(at,g===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${g}`,role:"button",onClick:N=>{N.preventDefault(),m(g.toString())},children:g})},u)),n.end<s&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(at,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,At.jsx)(Be.FaArrowRight,{})})})]})})}function ir({types:e}){let[t,r]=(0,Ut.useState)(e&&e[0].href),a=(0,me.useSearchParams)(),s=(0,me.usePathname)(),{replace:o}=(0,me.useRouter)();function n(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${s}?${c.toString()}`)}return(0,At.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-At-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,At.jsx)(z,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},c))})}function fo({blogs:e,pages:t,categories:r,types:a}){return(0,At.jsx)("section",{children:(0,At.jsx)(F,{children:(0,At.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,At.jsxs)("div",{children:[a&&(0,At.jsx)(ir,{types:a}),(0,At.jsx)(rr,{blogs:e}),(0,At.jsx)(sr,{pages:t})]}),(0,At.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,At.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,At.jsx)(De,{links:r.links,title:r.title})})})]})})})}var gr=D(require("next/image"));var He="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//At";function Ue({className:e}){return l("flex items-center min-At-[3.5rem] md:min-At-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function bo({className:e,...t}){return(0,At.jsx)("input",{...t,className:Ue({className:e})})}function Ge({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(bo,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function ho({className:e,...t}){return(0,At.jsx)("textarea",{...t,className:l(Ue({}),"resize-none md:min-At-[130px]",e)})}function lr({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(ho,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var dr=require("formik"),re=D(require("yup"));async function cr(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var nt=require("sonner"),O={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},xo=re.object().shape({name:re.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),email:re.string().email(O.email).required(O.required),subject:re.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),message:re.string().min(2,O.tooShort).max(300,O.tooLong).required(O.required)}),Oe=l("!pr-[44px]"),Ve=l("!border-red-600 border"),$e=l("sr-only");function pr(){return(0,At.jsx)(dr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:xo,onSubmit:async(e,{resetForm:t})=>{let r=await cr(e);r.data===null?nt.toast.error(r.message):(nt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,At.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,At.jsxs)("div",{children:[(0,At.jsx)(Ge,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,At.jsx)(Be.FaUser,{}),className:l(Oe,e.name&&t.name&&Ve)}),e.name&&t.name&&(0,At.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:$e,children:e.name})]}),(0,At.jsxs)("div",{children:[(0,At.jsx)(Ge,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,At.jsx)(vo,{}),className:l(Oe,e.email&&t.email&&Ve)}),e.email&&t.email&&(0,At.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:$e,children:e.email})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(Ge,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(Oe,e.subject&&t.subject&&Ve)}),e.subject&&t.subject&&(0,At.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:$e,children:e.subject})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(lr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,At.jsx)(yo,{}),className:l(Oe,e.message&&t.message&&Ve)}),e.message&&t.message&&(0,At.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:$e,children:e.message})]}),(0,At.jsx)("div",{className:"lg:col-span-2",children:(0,At.jsx)(z,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,At.jsx)("span",{children:"SEND"})})})]})})}function vo(){return(0,At.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{At:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function yo(){return(0,At.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{At:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function wo(e){let{sectionHeading:t,image:r}=e;return(0,At.jsxs)(At.Fragment,{children:[(0,At.jsx)("section",{className:"section-padding-primary",children:(0,At.jsx)("div",{className:"",children:(0,At.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,At.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,At.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,At.jsxs)("div",{children:[(0,At.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,At.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,At.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,s)=>{var o;return(0,At.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,At.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,At.jsxs)("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((n,i)=>(0,At.jsx)("p",{children:n},i))," ",a.mails&&(0,At.jsxs)("p",{className:"flex items-center space-At-2",children:[(0,At.jsx)(Be.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,At.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,At.jsxs)("p",{className:"flex items-center space-At-2",children:[(0,At.jsx)(Be.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,At.jsx)("section",{className:"section-padding-primary",children:(0,At.jsxs)("div",{className:"relative py-[60px]",children:[(0,At.jsx)("div",{className:"absolute left-0 top-0 z-1 At-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,At.jsx)(gr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:He})}),(0,At.jsx)(F,{children:(0,At.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,At.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,At.jsx)("div",{className:"mb-30px",children:(0,At.jsx)(le,{...t,invert:!0})}),(0,At.jsx)(pr,{})]})})})]})})]})}var ur=D(require("next/image"));var br=D(require("next/link"));function Co({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,At.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,At.jsx)(ce,{children:(0,At.jsxs)(de,{children:[e&&e.src&&(0,At.jsx)(ur.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:He,className:"mx-auto mt-6 rounded-full object-cover"}),(0,At.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,At.jsx)("p",{children:r}),a&&a.length>0&&(0,At.jsx)("nav",{"aria-label":"social links",children:(0,At.jsx)("ul",{className:"inline-flex items-center divide-At divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,At.jsx)("li",{children:(0,At.jsx)(J,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,At.jsx)("span",{children:s.icon})})},o))})})]})})})}function No({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var u;if(!e)return(0,me.notFound)();let{meta:s,populatedAuthors:o,authors:n,categories:i,content:c,title:m}=e,f={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:i,commentCount:0,title:m,description:(s==null?void 0:s.description)||""},g=n==null?void 0:n.map(N=>{var T,y;return{name:N.name||"",about:"",image:{src:N.profilePicture&&((y=(T=N.profilePicture.sizes)==null?void 0:T.square)==null?void 0:y.url)||"",alt:N.name||"blog author"},socialLinks:[]}});return(0,At.jsx)(F,{children:(0,At.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,At.jsx)("div",{children:(0,At.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,At.jsx)("div",{className:"my-4 At-px bg-body/30 lg:my-5"}),(0,At.jsx)(G,{content:c,enableGutter:!1})]})}),(0,At.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,At.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,At.jsxs)(ce,{children:[(0,At.jsx)(Ce,{children:(0,At.jsx)(Ne,{className:"text-accent",children:"Content Actions"})}),(0,At.jsxs)(de,{children:[(0,At.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,At.jsx)(br.default,{href:`${a}${e.id}`,children:(0,At.jsx)(z,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),g&&g.map((N,T)=>(0,At.jsx)(Co,{...N},T)),t&&t.links&&(0,At.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,At.jsx)(De,{links:t.links,title:t.title})})]})]})})}var it=D(require("next/link"));var vr=require("lucide-react"),ko=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:s="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[n,i]=(0,Ut.useState)(!1),c=()=>{i(!n)};return(0,Ut.useEffect)(()=>{let m=window.location.hash;if(m){let f=m.substring(1),g=document.getElementById(f);if(g){let N=g.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:N,behavior:"smooth"})}}},[window.location.hash]),(0,At.jsxs)("div",{children:[(0,At.jsx)("div",{className:l(n?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,At.jsx)(Ao,{pageId:t,tableOfContents:r,edit:a,path:s,relatedContent:o,isSidebarVisible:n}),(0,At.jsx)("div",{className:"block md:hidden mt-8",children:(0,At.jsx)("div",{className:"space-y-6",children:e})})]})};var Ao=({pageId:e,tableOfContents:t=[],edit:r=!0,path:a="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}],isSidebarVisible:o})=>{let[n,i]=(0,Ut.useState)(""),[c,m]=(0,Ut.useState)(!1),[f,g]=(0,Ut.useState)(!1),u=(0,me.usePathname)(),N=()=>{m(!c),g(!1)},T=()=>{g(!f),m(!1)},y=w=>{switch(w){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},S=()=>{let E="/print/"+u.split("/")[1],I=window.open(E,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");I&&I.focus()},R=()=>{let E="/present/"+u.split("/")[1],I=window.open(E,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");I&&I.focus()};return(0,At.jsx)("div",{className:l("fixed right-2 z-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-At-full",o?"translate-At-0":"md:translate-At-0"),children:(0,At.jsxs)("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[(0,At.jsxs)("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-At-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,At.jsxs)(it.default,{href:`${a}${e}`,className:"flex aspect-square min-At-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,At.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,At.jsx)("path",{At:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,At.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,At.jsxs)("a",{onClick:N,className:"flex aspect-square min-At-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,At.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,At.jsx)("path",{At:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,At.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,At.jsxs)("a",{onClick:T,className:"flex aspect-square min-At-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,At.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,At.jsx)("path",{At:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,At.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,At.jsx)("Ht",{className:"dark:border-gray-400"}),(0,At.jsxs)("a",{href:"/",className:"flex aspect-square min-At-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,At.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,At.jsx)("path",{At:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,At.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,At.jsxs)("a",{href:"/",className:"flex aspect-square min-At-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,At.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,At.jsx)("path",{At:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,At.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,At.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-At-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,At.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,At.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,At.jsx)("ul",{className:"flex flex-col space-y-2",children:t.map((w,E)=>(0,At.jsx)("li",{className:y(w.tag),children:(0,At.jsx)("a",{href:`#${w.id}`,className:`text-xs ${n===w.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:w.text})},E))})]})}),f&&s&&s.length>0&&(0,At.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-At-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,At.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,At.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,At.jsx)("ul",{className:"flex flex-col space-y-2",children:s.map((w,E)=>w.links&&w.links.length>0?w.links.map((I,ae)=>(0,At.jsxs)(it.default,{href:I.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[I.title,I.url.startsWith("http")&&(0,At.jsx)(vr.ExternalLink,{className:"ml-1 At-3 w-3"})]},ae)):null)})]})})]})})};var yr=D(require("next/image"));function Po({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?At=80&w=2574&auto=format&fit=crop",imageAlt:a="Professional presentation in modern office setting",imagePosition:s="left",overlay:o=!0}){return(0,At.jsxs)("section",{className:l("relative min-At-[50vh] w-full overflow-hidden",e),children:[(0,At.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,At.jsx)(yr.default,{src:r||"/placeholder.svg",alt:a,fill:!0,className:"object-cover",priority:!0}),o&&(0,At.jsx)("div",{className:"absolute inset-0",style:{background:s==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,At.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",s==="left"?"justify-end":"justify-start"),children:(0,At.jsx)("div",{className:l("w-full max-w-xl py-12",s==="left"?"ml-auto":"Be-auto"),children:t})})]})}0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,ImageSection,MainPageSection,PricingSection,ServiceSection});
|
|
5
|
+
"use strict";var Ir=Object.create;var Ie=Object.defineProperty;var Lr=Object.getOwnPropertyDescriptor;var Mr=Object.getOwnPropertyNames;var zr=Object.getPrototypeOf,Er=Object.prototype.hasOwnProperty;var Fr=(e,t)=>{for(var r in t)Ie(e,r,{get:t[r],enumerable:!0})},Nt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Mr(t))!Er.call(e,s)&&s!==r&&Ie(e,s,{get:()=>t[s],enumerable:!(a=Lr(t,s))||a.enumerable});return e};var F=(e,t,r)=>(r=e!=null?Ir(zr(e)):{},Nt(t||!e||!e.__esModule?Ie(r,"default",{value:e,enumerable:!0}):r,e)),Dr=e=>Nt(Ie({},"__esModule",{value:!0}),e);var Go={};Fr(Go,{AboutSection:()=>Ao,BlogDetail:()=>Fo,BlogListSection:()=>Bo,ContactSection:()=>zo,ImageSection:()=>Uo,MainPageSection:()=>Do,PricingSection:()=>Po,ServiceSection:()=>xo});module.exports=Dr(Go);var Mt=require("clsx");var nt="-",Hr=e=>{let t=Gr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(nt);return i[0]===""&&i.length!==1&&i.shift(),St(i,t)||Ur(n)},getConflictingClassGroupIds:(n,i)=>{let c=r[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},St=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?St(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(nt);return(n=t.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},Pt=/^\[(.+)\]$/,Ur=e=>{if(Pt.test(e)){let t=Pt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Gr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Vr(Object.entries(e.classGroups),r).forEach(([o,n])=>{st(n,a,o,t)}),a},st=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:At(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Or(s)){st(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{st(n,At(t,o),r,a)})})},At=(e,t)=>{let r=e;return t.split(nt).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Or=e=>e.isThemeGetter,Vr=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,i])=>[t+n,i])):o);return[r,s]}):e,$r=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,n)=>{r.set(o,n),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let n=r.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){r.has(o)?r.set(o,n):s(o,n)}}},Bt="!",jr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=i=>{let c=[],d=0,u=0,p;for(let S=0;S<i.length;S++){let T=i[S];if(d===0){if(T===s&&(a||i.slice(S,S+o)===t)){c.push(i.slice(u,S)),u=S+o;continue}if(T==="/"){p=S;continue}}T==="["?d++:T==="]"&&d--}let f=c.length===0?i:i.substring(u),k=f.startsWith(Bt),R=k?f.substring(1):f,v=p&&p>u?p-u:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:R,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:n}):n},Yr=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},Kr=e=>({cache:$r(e.cacheSize),parseClassName:jr(e),...Hr(e)}),Qr=/\s+/,Wr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(Qr),i="";for(let c=n.length-1;c>=0;c-=1){let d=n[c],{modifiers:u,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:k}=r(d),R=!!k,v=a(R?f.substring(0,k):f);if(!v){if(!R){i=d+(i.length>0?" "+i:i);continue}if(v=a(f),!v){i=d+(i.length>0?" "+i:i);continue}R=!1}let S=Yr(u).join(":"),T=p?S+Bt:S,w=T+v;if(o.includes(w))continue;o.push(w);let H=s(v,R);for(let M=0;M<H.length;++M){let le=H[M];o.push(T+le)}i=d+(i.length>0?" "+i:i)}return i};function _r(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Rt(t))&&(a&&(a+=" "),a+=r);return a}var Rt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Rt(e[a]))&&(r&&(r+=" "),r+=t);return r};function qr(e,...t){let r,a,s,o=n;function n(c){let d=t.reduce((u,p)=>p(u),e());return r=Kr(d),a=r.cache.get,s=r.cache.set,o=i,i(c)}function i(c){let d=a(c);if(d)return d;let u=Wr(c,r);return s(c,u),u}return function(){return o(_r.apply(null,arguments))}}var N=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Tt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Jr=/^\d+\/\d+$/,Zr=new Set(["px","full","screen"]),Xr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|zt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|zt|i|zt|min|max))|\zt(calc|min|max|clamp)\(.+\)|^0$/,to=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ro=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,oo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,K=e=>ce(e)||Zr.has(e)||Jr.test(e),_=e=>de(e,"length",po),ce=e=>!!e&&!Number.isNaN(Number(e)),at=e=>de(e,"number",ce),we=e=>!!e&&Number.isInteger(Number(e)),ao=e=>e.endsWith("%")&&ce(e.slice(0,-1)),g=e=>Tt.test(e),q=e=>Xr.test(e),so=new Set(["length","size","percentage"]),no=e=>de(e,so,It),io=e=>de(e,"position",It),lo=new Set(["image","url"]),co=e=>de(e,lo,uo),mo=e=>de(e,"",go),Ce=()=>!0,de=(e,t,r)=>{let a=Tt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},po=e=>eo.test(e)&&!to.test(e),It=()=>!1,go=e=>ro.test(e),uo=e=>oo.test(e);var fo=()=>{let e=N("colors"),t=N("spacing"),r=N("blur"),a=N("brightness"),s=N("borderColor"),o=N("borderRadius"),n=N("borderSpacing"),i=N("borderWidth"),c=N("contrast"),d=N("grayscale"),u=N("hueRotate"),p=N("invert"),f=N("gap"),k=N("gradientColorStops"),R=N("gradientColorStopPositions"),v=N("inset"),S=N("margin"),T=N("opacity"),w=N("padding"),H=N("saturate"),M=N("scale"),le=N("sepia"),ht=N("skew"),xt=N("space"),yt=N("translate"),et=()=>["auto","contain","none"],tt=()=>["auto","hidden","clip","visible","scroll"],rt=()=>["auto",g,t],A=()=>[g,t],vt=()=>["",K,_],Re=()=>["auto",ce,g],wt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Te=()=>["solid","dashed","dotted","double","none"],Ct=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ot=()=>["start","end","center","between","around","evenly","stretch"],ve=()=>["","0",g],kt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[ce,g];return{cacheSize:500,separator:":",theme:{colors:[Ce],spacing:[K,_],blur:["none","",q,g],brightness:Y(),borderColor:[e],borderRadius:["none","","full",q,g],borderSpacing:A(),borderWidth:vt(),contrast:Y(),grayscale:ve(),hueRotate:Y(),invert:ve(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[ao,_],inset:rt(),margin:rt(),opacity:Y(),padding:A(),saturate:Y(),scale:Y(),sepia:ve(),skew:Y(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",g]}],container:["container"],columns:[{columns:[q]}],"break-after":[{"break-after":kt()}],"break-before":[{"break-before":kt()}],"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:[...wt(),g]}],overflow:[{overflow:tt()}],"overflow-zt":[{"overflow-zt":tt()}],"overflow-zt":[{"overflow-zt":tt()}],overscroll:[{overscroll:et()}],"overscroll-zt":[{"overscroll-zt":et()}],"overscroll-zt":[{"overscroll-zt":et()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-zt":[{"inset-zt":[v]}],"inset-zt":[{"inset-zt":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",we,g]}],basis:[{basis:rt()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",g]}],grow:[{grow:ve()}],shrink:[{shrink:ve()}],order:[{order:["first","last","none",we,g]}],"grid-cols":[{"grid-cols":[Ce]}],"col-start-end":[{col:["auto",{span:["full",we,g]},g]}],"col-start":[{"col-start":Re()}],"col-end":[{"col-end":Re()}],"grid-rows":[{"grid-rows":[Ce]}],"row-start-end":[{row:["auto",{span:[we,g]},g]}],"row-start":[{"row-start":Re()}],"row-end":[{"row-end":Re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",g]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",g]}],gap:[{gap:[f]}],"gap-zt":[{"gap-zt":[f]}],"gap-zt":[{"gap-zt":[f]}],"justify-content":[{justify:["normal",...ot()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ot(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ot(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],zt:[{zt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],zt:[{zt:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],zt:[{zt:[S]}],zt:[{zt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-zt":[{"space-zt":[xt]}],"space-zt-reverse":["space-zt-reverse"],"space-zt":[{"space-zt":[xt]}],"space-zt-reverse":["space-zt-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",g,t]}],"min-w":[{"min-w":[g,t,"min","max","fit"]}],"max-w":[{"max-w":[g,t,"none","full","min","max","fit","prose",{screen:[q]},q]}],zt:[{zt:[g,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-zt":[{"min-zt":[g,t,"min","max","fit","svh","lvh","dvh"]}],"max-zt":[{"max-zt":[g,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[g,t,"auto","min","max","fit"]}],"font-size":[{text:["base",q,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",at]}],"font-family":[{font:[Ce]}],"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",g]}],"line-clamp":[{"line-clamp":["none",ce,at]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",K,g]}],"list-image":[{"list-image":["none",g]}],"list-style-type":[{list:["none","disc","decimal",g]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",K,_]}],"underline-offset":[{"underline-offset":["auto",K,g]}],"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:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",g]}],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",g]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...wt(),io]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","zt","zt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",no]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","Kt","zt","bl","l","tl"]},co]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[R]}],"gradient-via-pos":[{via:[R]}],"gradient-to-pos":[{to:[R]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-zt":[{"rounded-zt":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-zt":[{"rounded-zt":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-Kt":[{"rounded-Kt":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-zt":[{"border-zt":[i]}],"border-w-zt":[{"border-zt":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-zt":[{"border-zt":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...Te(),"hidden"]}],"divide-zt":[{"divide-zt":[i]}],"divide-zt-reverse":["divide-zt-reverse"],"divide-zt":[{"divide-zt":[i]}],"divide-zt-reverse":["divide-zt-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:Te()}],"border-color":[{border:[s]}],"border-color-zt":[{"border-zt":[s]}],"border-color-zt":[{"border-zt":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-zt":[{"border-zt":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Te()]}],"outline-offset":[{"outline-offset":[K,g]}],"outline-w":[{outline:[K,_]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:vt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[K,_]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",q,mo]}],"shadow-color":[{shadow:[Ce]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...Ct(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ct()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",q,g]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[H]}],sepia:[{sepia:[le]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[le]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-zt":[{"border-spacing-zt":[n]}],"border-spacing-zt":[{"border-spacing-zt":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",g]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",g]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",g]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-zt":[{"scale-zt":[M]}],"scale-zt":[{"scale-zt":[M]}],rotate:[{rotate:[we,g]}],"translate-zt":[{"translate-zt":[yt]}],"translate-zt":[{"translate-zt":[yt]}],"skew-zt":[{"skew-zt":[ht]}],"skew-zt":[{"skew-zt":[ht]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",g]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","zt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",g]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","zt","zt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-zt":[{"scroll-zt":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-zt":[{"scroll-zt":A()}],"scroll-zt":[{"scroll-zt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-zt":[{"scroll-zt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","zt","zt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-zt":[{"touch-pan":["zt","left","right"]}],"touch-zt":[{"touch-pan":["zt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",g]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[K,_,at]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-zt","overflow-zt"],overscroll:["overscroll-zt","overscroll-zt"],inset:["inset-zt","inset-zt","start","end","top","right","bottom","left"],"inset-zt":["right","left"],"inset-zt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-zt","gap-zt"],p:["px","py","ps","pe","zt","pr","pb","pl"],px:["pr","pl"],py:["zt","pb"],zt:["mx","my","ms","zt","zt","mr","mb","ml"],mx:["mr","ml"],my:["zt","mb"],size:["w","zt"],"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-zt","rounded-l","rounded-ss","rounded-zt","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-Kt","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-zt","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-Kt"],"rounded-zt":["rounded-Kt","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-zt","border-spacing-zt"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-zt","border-w-l"],"border-w-zt":["border-w-r","border-w-l"],"border-w-zt":["border-w-t","border-w-zt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-zt","border-color-l"],"border-color-zt":["border-color-r","border-color-l"],"border-color-zt":["border-color-t","border-color-zt"],"scroll-zt":["scroll-mx","scroll-my","scroll-ms","scroll-zt","scroll-zt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-zt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-zt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-zt","scroll-pb"],touch:["touch-zt","touch-zt","touch-pz"],"touch-zt":["touch"],"touch-zt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Lt=qr(fo);function l(...e){return Lt((0,Mt.clsx)(e))}var zt=require("react/jsx-runtime");function U({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,zt.jsx)("div",{className:s,children:e})}var Le=(e,t)=>e[t%e.length];var Et=require("@radix-ui/react-slot"),Ft=require("class-variance-authority"),Dt=F(require("react")),bo=(0,Ft.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:"zt-10 px-4 py-2",icon:"zt-10 w-10",lg:"zt-11 rounded px-8",sm:"zt-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),z=Dt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,zt.jsx)(e?Et.Slot:"button",{className:l(bo({className:t,size:r,variant:a})),ref:o,...s}));z.displayName="Button";var Me=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,n=a!=null?a:"",i=s+o+" fa-"+r+" "+n;return(0,zt.jsx)("i",{className:i})};var Gt=F(require("next/link"));function X({children:e,href:t,openNewTab:r,...a}){return(0,zt.jsx)(Gt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function ho(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Vt({icon:e,title:t,description:r,slug:a}){return(0,zt.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block zt-full space-zt-6 overflow-hidden rounded-5 p-6 md:space-zt-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,zt.jsxs)("div",{className:"flex items-center gap-5",children:[(0,zt.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:ho(e)?(0,zt.jsx)(Me,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,zt.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,zt.jsx)(X,{href:a,children:t}):t})]}),(0,zt.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,zt.jsx)(z,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,zt.jsxs)(X,{href:a,children:[(0,zt.jsx)("span",{children:"Read More"}),(0,zt.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,zt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,zt.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,zt.jsx)("span",{className:"invisible absolute bottom-0 left-0 zt-[2px] w-full scale-zt-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-zt-100 group-hover/service:opacity-100"})]})}function xo({services:e,className:t}){return(0,zt.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,zt.jsx)(U,{className:"py-8",children:e&&e.length>0&&(0,zt.jsx)("div",{className:"flex flex-wrap justify-center gap-zt-8",children:e.map((r,a)=>(0,zt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Le([200,400,600],a),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,zt.jsx)(Vt,{...r})},a))})})})}var ze=require("react-icons/fa6");function $t({title:e,description:t,features:r,price:a,duration:s,button:o}){return(0,zt.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,zt.jsxs)("div",{className:"zt-full border-card p-6 dark:border-opacity-20 max-lg:border-zt max-lg:zt-14 lg:border-r lg:p-10",children:[(0,zt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,zt.jsx)("p",{children:t})]}),(0,zt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,zt.jsxs)("div",{className:"flex flex-col justify-stretch gap-zt-14 gap-zt-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,zt.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((n,i)=>(0,zt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,zt.jsx)("span",{className:"text-accent zt-1",children:(0,zt.jsx)(ze.FaCircleCheck,{})}),(0,zt.jsx)("span",{children:n})]},i))}),(0,zt.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,zt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),o&&(0,zt.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,zt.jsx)(z,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,zt.jsxs)(X,{href:o.href,openNewTab:o.openNewTab,children:[(0,zt.jsx)("span",{className:"relative z-1",children:o.label}),(0,zt.jsx)("span",{className:"relative z-1 pl-2",children:(0,zt.jsx)(ze.FaAnglesRight,{})})]})})})]})})]})}var jt=({className:e,content:t,style:r})=>(0,zt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,zt.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,zt.jsx)(D,{content:t,enableGutter:!1,enableProse:!1})})});var it=F(require("next/link")),ee=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:i,size:c,url:d}=e,u=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}`:d;if(!u)return null;let p=r==="link"?"clear":c,f=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,zt.jsxs)(it.default,{className:l(s),href:u||d||"",...f,children:[o&&o,a&&a]}):(0,zt.jsx)(z,{asChild:!0,className:s,size:p,variant:r,children:(0,zt.jsxs)(it.default,{className:l(s),href:u||d||"",...f,children:[o&&o,a&&a]})})};var Fe=({links:e,richText:t})=>(0,zt.jsx)("div",{className:"container",children:(0,zt.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,zt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,zt.jsx)(D,{className:"mb-0",content:t,enableGutter:!1})}),(0,zt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,zt.jsx)(ee,{size:"lg",...r},a))})]})});var De=require("prism-react-renderer");var Yt=require("lucide-react"),Kt=require("react");function Qt({code:e}){let[t,r]=(0,Kt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,zt.jsx)("div",{className:"flex justify-end align-middle",children:(0,zt.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,zt.jsx)("p",{children:t}),(0,zt.jsx)("div",{className:"w-6 zt-6 dark:invert",children:(0,zt.jsx)(Yt.ClipboardCopy,{})})]})})}var Wt=({code:e,language:t=""})=>e?(0,zt.jsx)(De.Highlight,{code:e,language:t,theme:De.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,zt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-zt-auto",children:[s.map((o,n)=>(0,zt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,zt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,zt.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,zt.jsx)("span",{...a({token:i})},c))})]},n)),(0,zt.jsx)(Qt,{code:e})]})}):null;var _t=({className:e,code:t,language:r})=>(0,zt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,zt.jsx)(Wt,{code:t,language:r})});var Jt=F(require("next/image")),yo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},qt="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=",Zt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:c}=e,d,u,p=t,f=i||"";if(!f&&o&&typeof o=="object"){let{alt:v,filename:S,height:T,url:w,width:H}=o;d=H,u=T,p=v||"",f=w||qt}let k=c||"lazy",R=n||Object.entries(yo).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,zt.jsx)("picture",{children:(0,zt.jsx)(Jt.default,{alt:p||"",className:l(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:qt,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:R,src:f,width:r?void 0:d})})};var Xt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var er=()=>{if(Xt){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 tr=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,Kt.useRef)(null);if((0,Kt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,zt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,zt.jsx)("source",{src:`${er()}/media/${o}`})})}return null};var Ge=e=>{var n;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,zt.jsx)(r||Kt.Fragment,{...r!==null?{className:t}:{},children:s?(0,zt.jsx)(tr,{...e}):(0,zt.jsx)(Zt,{...e})})};var Ne=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,zt.jsx)("div",{className:l("",{container:r},t),children:(0,zt.jsx)(Ge,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var or=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,zt.jsx)("div",{className:l("",{container:r},t),children:(0,zt.jsx)(Ge,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var re=F(require("react"));var pe=re.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));pe.displayName="Card";var Pe=re.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("flex flex-col space-zt-1.5 p-6",e),...t}));Pe.displayName="CardHeader";var Ae=re.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));Ae.displayName="CardTitle";var vo=re.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));vo.displayName="CardDescription";var ge=re.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("p-6 zt-0",e),...t}));ge.displayName="CardContent";var wo=re.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("flex items-center p-6 zt-0",e),...t}));wo.displayName="CardFooter";function Co(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ar({variant:e="light",className:t,icon:r,heading:a,subheading:s,content:o,statistic:n,buttonText:i,buttonHref:c}){let d={solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-Kt from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-Kt from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"};return console.log("content",typeof o),(0,zt.jsxs)("div",{className:l("rounded-3xl p-8 md:p-12",d[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,zt.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,zt.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:Co(r)?(0,zt.jsx)(Me,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,zt.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&n&&(0,zt.jsx)("div",{className:"mb-6",children:(0,zt.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:n})}),s&&(0,zt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),o&&typeof o=="object"&&(0,zt.jsx)("div",{className:l("space-zt-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,zt.jsx)(D,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,zt.jsx)("div",{className:l("space-zt-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),i&&(0,zt.jsx)("div",{className:"zt-8",children:(0,zt.jsx)(z,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,zt.jsxs)("a",{href:c,children:[i,(0,zt.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,zt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 zt-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var Oe=({title:e,description:t,features:r,id:a})=>(0,zt.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,zt.jsx)("h2",{className:"mb-6 zt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,zt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,zt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,zt.jsx)(D,{content:t,enableGutter:!1})}),(0,zt.jsx)("div",{className:`grid gap-8 zt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{var n,i,c,d,u;if(((n=s.settings)==null?void 0:n.contents)==="icon")return(0,zt.jsx)(ko,{section:s,index:o},o);{let p=()=>{if(s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,zt.jsx)(ar,{variant:((i=s.settings)==null?void 0:i.card)==="default"?"solid":((c=s.settings)==null?void 0:c.card)||"solid",icon:p()||void 0,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(d=s.link)!=null&&d.url?"Find out more":void 0,buttonHref:((u=s.link)==null?void 0:u.url)||void 0},o)}})})]}),ko=({section:e,index:t})=>{if(!e)return null;let r=(0,zt.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,zt.jsx)("div",{className:"text-accent zt-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,zt.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,zt.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,zt.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,zt.jsx)("div",{className:"text-lg opacity-80",children:(0,zt.jsx)(D,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,zt.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var ir=F(require("next/image"));var sr=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,zt.jsx)("div",{className:"container my-6",children:(0,zt.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-zt-8 gap-zt-16",children:t&&t.length>0&&t.map((a,s)=>{let{enableLink:o,link:n,richText:i,size:c}=a;return(0,zt.jsxs)("div",{className:l(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[i&&(0,zt.jsx)(D,{content:i,enableGutter:!1}),o&&(0,zt.jsx)(ee,{...n})]},s)})})})};var nr={content:sr,cta:Fe,mediaBlock:Ne,imageBlock:Ne,features:Oe,reusableContentBlock:Ve},lr=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,zt.jsx)("section",{id:"render-blocks",children:t.map((a,s)=>{var i;let{blockType:o}=a,n=a==null?void 0:a.theme;if(o&&o in nr){let c=nr[o];if(c)return(0,zt.jsxs)("div",{className:"py-6 relative",children:[(0,zt.jsx)(No,{block:a,index:s}),(0,zt.jsx)("div",{className:l("container",((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="dark"?"dark":""),children:(0,zt.jsx)(c,{...a})})]},s)}return null})}):null},No=e=>{var r;if(console.log("props",e),!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(console.log("theme",t),t.settings.background==="image"){let a={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return console.log("themeSettings",a),(0,zt.jsxs)("div",{className:l("absolute inset-0 w-full zt-full -z-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,zt.jsx)(ir.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,zt.jsx)("div",{className:"absolute inset-0",style:{background:a.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,zt.jsx)("div",{className:l("absolute inset-0 -z-10 w-screen zt-full",t.settings.theme==="dark"?"dark bg-background":"")})};var Ve=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,zt.jsx)(lr,{blocks:r.layout}):(0,zt.jsx)(zt.Fragment,{})};var je=F(require("react"));function $e({nodes:e}){return(0,zt.jsx)(je.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,zt.jsx)(je.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,zt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,zt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,zt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,zt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,zt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,zt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,zt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,zt.jsx)("table",{children:(0,zt.jsx)("tbody",{children:t.children.map((o,n)=>(0,zt.jsx)("tr",{children:o.children.map((i,c)=>(0,zt.jsx)("td",{children:$e({nodes:i.children})},c))},n))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return $e({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,zt.jsx)(Fe,{...o},r);case"mediaBlock":return(0,zt.jsx)(Ne,{className:"col-start-1 col-span-3",imgClassName:"zt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,zt.jsx)(or,{className:"col-start-1 col-span-3",imgClassName:"zt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,zt.jsx)(jt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,zt.jsx)(_t,{className:"col-start-2",...o},r);case"features":return(0,zt.jsx)(Oe,{...o},r);case"reusableContentBlock":return(0,zt.jsx)(Ve,{...o,reusableContent:o.reusableContent},r);default:return null}}else switch(t.type){case"linebreak":return(0,zt.jsx)("Kt",{className:"col-start-2"},r);case"paragraph":return(0,zt.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,zt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,zt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,zt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,zt.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,zt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,zt.jsx)(ee,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,zt.jsx)(ee,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var D=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,zt.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&$e({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function ue({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:s=!1,className:o,invert:n=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},o);return(0,zt.jsxs)("div",{className:i,children:[e&&(0,zt.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,zt.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",n&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,zt.jsx)("p",{className:"zt-5 whitespace-pre-line",children:r}):r&&(0,zt.jsx)(D,{content:r,enableGutter:!1})]})}function Po({sectionHeading:e,cards:t}){return(0,zt.jsx)("section",{className:"section-padding-primary !zt-0",children:(0,zt.jsxs)(U,{children:[(0,zt.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,zt.jsx)(ue,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,zt.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,zt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Le([200,400,600],a),className:"py-2",children:(0,zt.jsx)($t,{...r})},a))})]})})}var Be=F(require("next/image"));function Ao(e){let{images:t,sectionHeading:r,keyPoints:a,description:s}=e;return(0,zt.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,zt.jsx)(U,{children:(0,zt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,zt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,zt.jsx)(ue,{...r}),a&&a.length>0&&(0,zt.jsx)("div",{className:"zt-7 grid gap-5 text-accent sm:grid-cols-2 md:zt-10 md:gap-[1.875rem]",children:a.map((o,n)=>(0,zt.jsxs)("div",{className:"group flex min-zt-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-zt-[85px] md:px-[1.875rem] md:py-3",children:[(0,zt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,zt.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},n))}),s&&(0,zt.jsx)("p",{className:"zt-5 md:zt-[1.875rem]",children:s})]}),t&&(0,zt.jsx)("div",{className:"mx-auto text-center",children:(0,zt.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,zt.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,zt.jsx)("div",{className:"relative z-[2] zt-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,zt.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,zt.jsx)(Be.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,zt.jsx)("div",{className:"flex overflow-hidden",children:(0,zt.jsx)(Be.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,zt.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,zt.jsx)(Be.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,zt.jsx)("div",{className:"overflow-hidden",children:(0,zt.jsx)(Be.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-Kt-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,zt.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-zt-1/2 -translate-zt-1/2 overflow-hidden",children:(0,zt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,zt.jsx)("span",{className:"grid zt-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,zt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,zt.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 mr=F(require("next/image"));var dr=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${s}`};function pr({blogs:e}){return(0,zt.jsx)("div",{children:e&&e.length>0&&(0,zt.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,zt.jsx)(So,{post:t,id:r},r))})})}var So=({post:e,id:t})=>{let{slug:r,image:a,authors:s,categories:o,title:n,description:i,publishedAt:c}=e;return(0,zt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,zt.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[a&&(0,zt.jsx)(mr.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,zt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,zt.jsxs)("div",{children:[(0,zt.jsxs)("div",{className:"flex items-center gap-zt-4 text-xs",children:[(0,zt.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:dr(e.publishedAt)}),e.categories&&e.categories.map((d,u)=>(0,zt.jsx)("a",{href:`#${d}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:d},u))]}),(0,zt.jsxs)("div",{className:"group relative max-w-xl",children:[(0,zt.jsx)("h3",{className:"zt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,zt.jsxs)("a",{href:e.slug,children:[(0,zt.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,zt.jsx)("p",{className:"zt-5 text-sm/6 text-foreground",children:e.description})]}),(0,zt.jsx)("div",{className:"zt-6 flex flex-wrap lg:border-t gap-zt-2 border-gray-200 dark:border-gray-700 zt-6",children:s&&s.map((d,u)=>(0,zt.jsxs)("div",{className:"relative flex items-center gap-zt-4",children:[d.image?(0,zt.jsx)("img",{alt:d.image.alt,src:d.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,zt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,zt.jsx)("div",{className:"text-sm/6",children:(0,zt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,zt.jsx)("span",{className:"absolute inset-0"}),d.name]})})]},u))})]})]},t)};var fe=require("next/navigation");var ln=l("transition-colors duration-400 hover:text-primary ease-in-out");function Ye({title:e,links:t}){let r=(0,fe.useSearchParams)(),a=(0,fe.usePathname)(),{replace:s}=(0,fe.useRouter)();function o(n){let i=new URLSearchParams(r);n?i.set("category",n):i.delete("category"),s(`${a}?${i.toString()}`)}return(0,zt.jsxs)(pe,{children:[(0,zt.jsx)(Pe,{children:(0,zt.jsx)(Ae,{className:"text-accent",children:e&&e})}),(0,zt.jsx)(ge,{children:t&&t.length>0&&(0,zt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,zt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,zt.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:zt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(n.href)},children:[n.label,(0,zt.jsx)(Yt.ExternalLink,{className:"ml-1 zt-3 w-3"})]},i))})})})]})}var gt=l("grid zt-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function fr({pages:e}){let t=(0,fe.useSearchParams)(),r=(0,fe.usePathname)(),{replace:a}=(0,fe.useRouter)(),{totalPages:s,page:o}=e,[n,i]=(0,Kt.useState)({start:o>3?o-3:1,end:o+2}),c=p=>{p==="left"&&n.start>1?i(f=>({start:f.start-1,end:f.end-1})):p==="right"&&n.end<s&&i(f=>({start:f.start+1,end:f.end+1}))};function d(p){let f=new URLSearchParams(t);p?f.set("page",p):f.delete("page"),a(`${r}?${f.toString()}`)}if(s<=1)return null;let u=[];for(let p=n.start;p<=n.end;p++)u.push(p);return(0,zt.jsx)("div",{className:"zt-12",children:(0,zt.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,zt.jsx)("li",{children:(0,zt.jsx)("button",{className:l(gt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,zt.jsx)(ze.FaArrowLeft,{})})}),u.map((p,f)=>(0,zt.jsx)("li",{children:(0,zt.jsx)("a",{className:l(gt,p===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${p}`,role:"button",onClick:k=>{k.preventDefault(),d(p.toString())},children:p})},f)),n.end<s&&(0,zt.jsx)("li",{children:(0,zt.jsx)("button",{className:l(gt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,zt.jsx)(ze.FaArrowRight,{})})})]})})}function hr({types:e}){let[t,r]=(0,Kt.useState)(e&&e[0].href),a=(0,fe.useSearchParams)(),s=(0,fe.usePathname)(),{replace:o}=(0,fe.useRouter)();function n(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${s}?${c.toString()}`)}return(0,zt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-zt-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,zt.jsx)(z,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},c))})}function Bo({blogs:e,pages:t,categories:r,types:a}){return(0,zt.jsx)("section",{children:(0,zt.jsx)(U,{children:(0,zt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,zt.jsxs)("div",{children:[a&&(0,zt.jsx)(hr,{types:a}),(0,zt.jsx)(pr,{blogs:e}),(0,zt.jsx)(fr,{pages:t})]}),(0,zt.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,zt.jsx)("div",{className:"lg:-zt-24 w-full",children:r&&r.links&&(0,zt.jsx)(Ye,{links:r.links,title:r.title})})})]})})})}var kr=F(require("next/image"));var Qe="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//zt";function We({className:e}){return l("flex items-center min-zt-[3.5rem] md:min-zt-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Ro({className:e,...t}){return(0,zt.jsx)("input",{...t,className:We({className:e})})}function _e({icon:e,...t}){return(0,zt.jsxs)("div",{className:"relative w-full",children:[(0,zt.jsx)(Ro,{...t}),e&&(0,zt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-zt-1/2 text-accent",children:e})]})}function To({className:e,...t}){return(0,zt.jsx)("textarea",{...t,className:l(We({}),"resize-none md:min-zt-[130px]",e)})}function xr({icon:e,...t}){return(0,zt.jsxs)("div",{className:"relative w-full",children:[(0,zt.jsx)(To,{...t}),e&&(0,zt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var vr=require("formik"),ne=F(require("yup"));async function yr(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var ft=require("sonner"),$={tooShort:"Must fe at least ${min} characters",tooLong:"Must fe at most ${max} characters",required:"This field is required",email:"Invalid email format"},Io=ne.object().shape({name:ne.string().min(2,$.tooShort).max(50,$.tooLong).required($.required),email:ne.string().email($.email).required($.required),subject:ne.string().min(2,$.tooShort).max(50,$.tooLong).required($.required),message:ne.string().min(2,$.tooShort).max(300,$.tooLong).required($.required)}),qe=l("!pr-[44px]"),Je=l("!border-red-600 border"),Ze=l("sr-only");function Cr(){return(0,zt.jsx)(vr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Io,onSubmit:async(e,{resetForm:t})=>{let r=await yr(e);r.data===null?ft.toast.error(r.message):(ft.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,zt.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 zt-2 lg:grid-cols-2",children:[(0,zt.jsxs)("div",{children:[(0,zt.jsx)(_e,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,zt.jsx)(ze.FaUser,{}),className:l(qe,e.name&&t.name&&Je)}),e.name&&t.name&&(0,zt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ze,children:e.name})]}),(0,zt.jsxs)("div",{children:[(0,zt.jsx)(_e,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,zt.jsx)(Lo,{}),className:l(qe,e.email&&t.email&&Je)}),e.email&&t.email&&(0,zt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ze,children:e.email})]}),(0,zt.jsxs)("div",{className:"lg:col-span-2",children:[(0,zt.jsx)(_e,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(qe,e.subject&&t.subject&&Je)}),e.subject&&t.subject&&(0,zt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ze,children:e.subject})]}),(0,zt.jsxs)("div",{className:"lg:col-span-2",children:[(0,zt.jsx)(xr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,zt.jsx)(Mo,{}),className:l(qe,e.message&&t.message&&Je)}),e.message&&t.message&&(0,zt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ze,children:e.message})]}),(0,zt.jsx)("div",{className:"lg:col-span-2",children:(0,zt.jsx)(z,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,zt.jsx)("span",{children:"SEND"})})})]})})}function Lo(){return(0,zt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,zt.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 Mo(){return(0,zt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,zt.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 zo(e){let{sectionHeading:t,image:r}=e;return(0,zt.jsxs)(zt.Fragment,{children:[(0,zt.jsx)("section",{className:"section-padding-primary",children:(0,zt.jsx)("div",{className:"",children:(0,zt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,zt.jsx)("div",{className:"mx-auto max-w-2xl space-zt-16 divide-zt divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,zt.jsxs)("div",{className:"grid grid-cols-1 gap-10 zt-16 lg:grid-cols-3",children:[(0,zt.jsxs)("div",{children:[(0,zt.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,zt.jsx)("p",{className:"zt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,zt.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,s)=>{var o;return(0,zt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,zt.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,zt.jsxs)("address",{className:"zt-3 space-zt-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((n,i)=>(0,zt.jsx)("p",{children:n},i))," ",a.mails&&(0,zt.jsxs)("p",{className:"flex items-center space-zt-2",children:[(0,zt.jsx)(ze.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,zt.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,zt.jsxs)("p",{className:"flex items-center space-zt-2",children:[(0,zt.jsx)(ze.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,zt.jsx)("section",{className:"section-padding-primary",children:(0,zt.jsxs)("div",{className:"relative py-[60px]",children:[(0,zt.jsx)("div",{className:"absolute left-0 top-0 z-1 zt-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,zt.jsx)(kr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Qe})}),(0,zt.jsx)(U,{children:(0,zt.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,zt.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,zt.jsx)("div",{className:"mb-30px",children:(0,zt.jsx)(ue,{...t,invert:!0})}),(0,zt.jsx)(Cr,{})]})})})]})})]})}var Nr=F(require("next/image"));var Ar=F(require("next/link"));function Eo({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,zt.jsx)("div",{className:"zt-1 z-10 px-0 zt-0 lg:px-10",children:(0,zt.jsx)(pe,{children:(0,zt.jsxs)(ge,{children:[e&&e.src&&(0,zt.jsx)(Nr.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Qe,className:"mx-auto zt-6 rounded-full object-cover"}),(0,zt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,zt.jsx)("p",{children:r}),a&&a.length>0&&(0,zt.jsx)("nav",{"aria-label":"social links",children:(0,zt.jsx)("ul",{className:"inline-flex items-center divide-zt divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,zt.jsx)("li",{children:(0,zt.jsx)(X,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-zt-1 hover:text-accents",children:(0,zt.jsx)("span",{children:s.icon})})},o))})})]})})})}function Fo({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var f;if(!e)return(0,fe.notFound)();let{meta:s,populatedAuthors:o,authors:n,categories:i,content:c,title:d}=e,u={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((f=o==null?void 0:o[0])==null?void 0:f.name)||"",category:i,commentCount:0,title:d,description:(s==null?void 0:s.description)||""},p=n==null?void 0:n.map(k=>{var R,v;return{name:k.name||"",about:"",image:{src:k.profilePicture&&((v=(R=k.profilePicture.sizes)==null?void 0:R.square)==null?void 0:v.url)||"",alt:k.name||"blog author"},socialLinks:[]}});return(0,zt.jsx)(U,{children:(0,zt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,zt.jsx)("div",{children:(0,zt.jsxs)("div",{className:"[&_p+zt]:zt-4",children:[(0,zt.jsx)("div",{className:"my-4 zt-px bg-body/30 lg:my-5"}),(0,zt.jsx)(D,{content:c,enableGutter:!1})]})}),(0,zt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,zt.jsx)("div",{className:"zt-4 lg:-zt-10 z-10 px-0 zt-0 lg:px-10",children:(0,zt.jsxs)(pe,{children:[(0,zt.jsx)(Pe,{children:(0,zt.jsx)(Ae,{className:"text-accent",children:"Content Actions"})}),(0,zt.jsxs)(ge,{children:[(0,zt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,zt.jsx)(Ar.default,{href:`${a}${e.id}`,children:(0,zt.jsx)(z,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),p&&p.map((k,R)=>(0,zt.jsx)(Eo,{...k},R)),t&&t.links&&(0,zt.jsx)("div",{className:"zt-4 px-0 zt-0 lg:px-10",children:(0,zt.jsx)(Ye,{links:t.links,title:t.title})})]})]})})}var bt=F(require("next/link"));var Rr=require("lucide-react"),Do=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:s="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[n,i]=(0,Kt.useState)(!1),c=()=>{i(!n)};return(0,Kt.useEffect)(()=>{let d=window.location.hash;if(d){let u=d.substring(1),p=document.getElementById(u);if(p){let k=p.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:k,behavior:"smooth"})}}},[window.location.hash]),(0,zt.jsxs)("div",{children:[(0,zt.jsx)("div",{className:l(n?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,zt.jsx)(Ho,{pageId:t,tableOfContents:r,edit:a,path:s,relatedContent:o,isSidebarVisible:n}),(0,zt.jsx)("div",{className:"block md:hidden zt-8",children:(0,zt.jsx)("div",{className:"space-zt-6",children:e})})]})};var Ho=({pageId:e,tableOfContents:t=[],edit:r=!0,path:a="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}],isSidebarVisible:o})=>{let[n,i]=(0,Kt.useState)(""),[c,d]=(0,Kt.useState)(!1),[u,p]=(0,Kt.useState)(!1),f=(0,fe.usePathname)(),k=()=>{d(!c),p(!1)},R=()=>{p(!u),d(!1)},v=w=>{switch(w){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},S=()=>{let H="/print/"+f.split("/")[1],M=window.open(H,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");M&&M.focus()},T=()=>{let H="/present/"+f.split("/")[1],M=window.open(H,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");M&&M.focus()};return(0,zt.jsx)("div",{className:l("fixed right-2 z-20 top-1/4 space-zt-6 transform transition-transform duration-300 translate-zt-full",o?"translate-zt-0":"md:translate-zt-0"),children:(0,zt.jsxs)("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[(0,zt.jsxs)("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-zt-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,zt.jsxs)(bt.default,{href:`${a}${e}`,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,zt.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,zt.jsxs)("a",{onClick:k,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,zt.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,zt.jsxs)("a",{onClick:R,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,zt.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,zt.jsx)("hr",{className:"dark:border-gray-400"}),(0,zt.jsxs)("a",{href:"/",className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,zt.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,zt.jsxs)("a",{href:"/",className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,zt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,zt.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-zt-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,zt.jsxs)("div",{className:"flex flex-col zt-2 justify-start z-50 min-w-64",children:[(0,zt.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,zt.jsx)("ul",{className:"flex flex-col space-zt-2",children:t.map((w,H)=>(0,zt.jsx)("li",{className:v(w.tag),children:(0,zt.jsx)("a",{href:`#${w.id}`,className:`text-xs ${n===w.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:w.text})},H))})]})}),u&&s&&s.length>0&&(0,zt.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-zt-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,zt.jsxs)("div",{className:"flex flex-col zt-2 justify-start z-50 min-w-64",children:[(0,zt.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,zt.jsx)("ul",{className:"flex flex-col space-zt-2",children:s.map((w,H)=>w.links&&w.links.length>0?w.links.map((M,le)=>(0,zt.jsxs)(bt.default,{href:M.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[M.title,M.url.startsWith("http")&&(0,zt.jsx)(Rr.ExternalLink,{className:"ml-1 zt-3 w-3"})]},le)):null)})]})})]})})};var Tr=F(require("next/image"));function Uo({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&w=2574&auto=format&fit=crop",imageAlt:a="Professional presentation in modern office setting",imagePosition:s="left",overlay:o=!0}){return(0,zt.jsxs)("section",{className:l("relative min-zt-[50vh] w-full overflow-hidden",e),children:[(0,zt.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,zt.jsx)(Tr.default,{src:r||"/placeholder.svg",alt:a,fill:!0,className:"object-cover",priority:!0}),o&&(0,zt.jsx)("div",{className:"absolute inset-0",style:{background:s==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,zt.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",s==="left"?"justify-end":"justify-start"),children:(0,zt.jsx)("div",{className:l("w-full max-w-xl py-12",s==="left"?"ml-auto":"mr-auto"),children:t})})]})}0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,ImageSection,MainPageSection,PricingSection,ServiceSection});
|
package/dist/sections/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as b}from"../chunk-
|
|
1
|
+
import{a as h}from"../chunk-X76XZNRS.mjs";import{a as b}from"../chunk-GT43S672.mjs";import{a}from"../chunk-BWGRPPZL.mjs";import{a as c}from"../chunk-KVIQW2PH.mjs";import{a as d}from"../chunk-BOZT7Z5K.mjs";import"../chunk-AD7PG4E2.mjs";import{a as e}from"../chunk-O7R6EGBU.mjs";import"../chunk-UMILL4LR.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import{a as g}from"../chunk-EZVA3JCM.mjs";import{a as f}from"../chunk-US6CSL53.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-TGHOEITH.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-SBAFXZVU.mjs";import"../chunk-PY53YVFX.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-G6K3PK47.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-UK4IPFAO.mjs";import"../chunk-HUN2X4VH.mjs";import"../chunk-ICTOXY7D.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{c as AboutSection,f as BlogDetail,d as BlogListSection,e as ContactSection,h as ImageSection,g as MainPageSection,b as PricingSection,a as ServiceSection};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "cortex-react-components",
|
|
3
3
|
"author": "Cortex Reply",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.47.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",
|
package/dist/chunk-DBHEV3OE.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as m}from"./chunk-T44RKQFA.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as g}from"./chunk-SFLOMJ2U.mjs";import{a as s}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";function f(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function v({variant:e="light",className:c,icon:a,heading:p,subheading:r,content:i,statistic:l,buttonText:d,buttonHref:x}){let h={solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"};return console.log("content",typeof i),o("div",{className:s("rounded-3xl p-8 md:p-12",h[e],e==="light"?"text-gray-900":"text-white",c),children:[o("div",{className:"flex items-center gap-4 mb-6",children:[a&&t("div",{className:s("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:f(a)?t(g,{type:a.type,iconName:a.iconName,size:"2x"}):a}),t("h2",{className:s("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:p})]}),e==="solid"&&l&&t("div",{className:"mb-6",children:t("div",{className:"text-[8rem] font-bold leading-none",children:l})}),r&&t("div",{className:"mb-4 text-xl md:text-2xl font-light",children:r}),i&&typeof i=="object"&&t("div",{className:s("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:t(m,{enableGutter:!1,content:i,enableProse:!1,className:s(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),i&&typeof i=="string"&&t("div",{className:s("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:i}),d&&t("div",{className:"mt-8",children:t(n,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:o("a",{href:x,children:[d,t("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&t("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}export{v as a};
|
package/dist/chunk-EJV6UKCA.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as c}from"./chunk-T44RKQFA.mjs";import{a as s}from"./chunk-44VMK4FL.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{jsx as o,jsxs as f}from"react/jsx-runtime";var h=a=>{let{columns:t}=a,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return o("div",{className:"container my-6",children:o("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((i,p)=>{let{enableLink:m,link:d,richText:n,size:l}=i;return f("div",{className:e(`col-span-4 lg:col-span-${r[l]}`,{"md:col-span-2":l!=="full"}),children:[n&&o(c,{content:n,enableGutter:!1}),m&&o(s,{...d})]},p)})})})};export{h as a};
|
package/dist/chunk-FBUZ37DL.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as N}from"./chunk-4NKKWJ2X.mjs";import{a as C,c as f,d as y,g as D,i as h}from"./chunk-4JC2TJML.mjs";import{a as T,f as E,g as U,i as F}from"./chunk-JWDVKGZL.mjs";import{a as V}from"./chunk-A5EYIB3V.mjs";import{a as i}from"./chunk-DWRQHV42.mjs";import{a as O}from"./chunk-Y5ZFXDW5.mjs";import{a as g}from"./chunk-QOIH63J3.mjs";import{b as H}from"./chunk-Q6SEVCRG.mjs";import{b as u}from"./chunk-BDX257W2.mjs";import{useState as p,useEffect as K}from"react";import{UserIcon as X,CalendarIcon as Y,SaveIcon as Z,PlusIcon as _}from"lucide-react";import{jsx as a,jsxs as s}from"react/jsx-runtime";function ue({deal:r,users:c,customer:v,categories:J,onClose:G,onSave:M,onAddComment:Q}){var P,L,B,I,A;let[t,b]=p({...r,value:r.value||0,comments:r.comments||[],customer:r.customer||{}}),[x,S]=p(""),[R,w]=p(!1),[n,o]=p(null);K(()=>{w(JSON.stringify(r)!==JSON.stringify(t))},[r,t]);let W=()=>{M(t),w(!1),o(null)},d=(e,l)=>{b(m=>({...m,[e]:l}))},$=e=>{let l=(t.categories||[]).includes(e)?(t.categories||[]).filter(m=>m!==e):[...t.categories||[],e];d("categories",l)},j=()=>{if(x.trim()){let e={text:x,timestamp:new Date().toISOString()};Q(e),b(l=>({...l,comments:[...l.comments||[],e]})),S("")}},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"}},q=e=>c==null?void 0:c.find(l=>l.id===Number(e));return a(T,{open:!0,children:s(E,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[s(U,{className:"flex flex-row items-center justify-between",children:[a(F,{className:"text-2xl font-bold",children:v==null?void 0:v.name}),s("div",{className:"flex space-x-2",children:[a(u,{variant:"outline",onClick:G,children:"Close"}),s(u,{onClick:W,disabled:!R,children:[a(Z,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),s(N,{className:"flex-grow pr-4",children:[s("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[a("div",{className:"grid gap-2",children:n==="value"?a(g,{type:"number",value:t.value,onChange:e=>d("value",Number(e.target.value)),onBlur:()=>o(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):s("div",{className:"text-3xl font-bold text-green-600 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("value"),children:["\xA3",(P=t.value)==null?void 0:P.toLocaleString()]})}),s("div",{className:"grid gap-2",children:[a(i,{className:"text-sm font-medium text-gray-500",children:"Assignee"}),n==="assignee"?s(C,{value:((B=(L=t==null?void 0:t.assignee)==null?void 0:L.id)==null?void 0:B.toString())||"",onValueChange:e=>d("assignee",q(e)),children:[a(y,{children:a(f,{placeholder:"Select assignee"})}),a(D,{children:c&&c.map(e=>{var l;return a(h,{value:((l=e==null?void 0:e.id)==null?void 0:l.toString())||"",children:e.name},e.id)})})]}):s("div",{className:"flex items-center space-x-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("assignee"),children:[a(X,{className:"w-4 h-4 text-gray-400"}),a("span",{children:t.assignee.name})]})]}),s("div",{className:"grid gap-2",children:[a(i,{className:"text-sm font-medium text-gray-500",children:"Closure Date"}),n==="closureDate"?a(g,{type:"date",value:(A=(I=t.closureDate)==null?void 0:I.split("T")[0])!=null?A:"",onChange:e=>d("closureDate",e.target.value),onBlur:()=>o(null),autoFocus:!0}):s("div",{className:"flex items-center space-x-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("closureDate"),children:[a(Y,{className:"w-4 h-4 text-gray-400"}),a("span",{children:t.closureDate?new Date(t.closureDate).toLocaleDateString("en-GB"):"N/A"})]})]})]}),a("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:s("div",{className:"grid gap-2",children:[a(i,{className:"text-sm font-medium text-gray-500",children:"Description"}),n==="description"?a(V,{value:t.description||"",onChange:e=>d("description",e.target.value),onBlur:()=>o(null),className:"min-h-[100px]",autoFocus:!0}):a("div",{className:"cursor-pointer hover:bg-gray-100 pb-5 rounded",onClick:()=>o("description"),children:t.description})]})}),s("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[s("div",{className:"grid gap-2",children:[a(i,{className:"text-sm font-medium text-gray-500",children:"Status"}),n==="status"?s(C,{value:t.status,onValueChange:e=>{d("status",e),o(null)},children:[a(y,{children:a(f,{placeholder:"Select status"})}),a(D,{children:["Cold","Qualified","Proposal Made","Won","Lost"].map(e=>a(h,{value:e,children:e},e))})]}):a("div",{className:"cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("status"),children:t.status})]}),s("div",{className:"grid col-span-2 gap-2",children:[a(i,{className:"text-sm font-medium text-gray-500",children:"Categories"}),n==="categories"?a("div",{className:"grid grid-cols-2 gap-2",children:J.map(e=>{var l,m;return s("div",{className:"flex items-center space-x-2",children:[a(O,{id:((l=e.id)==null?void 0:l.toString())||"",checked:(t.categories||[]).some(z=>z.id===e.id),onCheckedChange:()=>e.id!==void 0&&$(e)}),a("label",{htmlFor:((m=e.id)!=null?m:"").toString(),className:`text-sm font-medium ${k(e.type||"sector")} px-2 py-1 rounded`,children:e.name})]},e.id)})}):a("div",{className:"flex flex-wrap gap-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("categories"),children:t.categories&&t.categories.map(e=>{console.log("cat",e);let l=e;return l?a(H,{variant:"secondary",className:k(l.type||"sector"),children:l.name},l.id):null})})]})]}),s("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[s("div",{className:"grid gap-2",children:[a(i,{className:"text-sm font-medium text-gray-500",children:"Comments"}),a(N,{className:"h-[200px] overflow-y-auto",children:a("div",{className:"space-y-2",children:t.comments&&t.comments.slice().sort((e,l)=>new Date(l.timestamp||"").getTime()-new Date(e.timestamp||"").getTime()).map(e=>{var l;return s("div",{className:"bg-gray-50 p-3 rounded-lg",children:[a("p",{className:"text-sm text-gray-700",children:e.text}),s("p",{className:"text-xs text-gray-500 mt-1",children:[(l=e==null?void 0:e.author)==null?void 0:l.name," - ",new Date(e.timestamp||"").toLocaleString()]})]},e.id)})})}),s("div",{className:"flex mt-2",children:[a(g,{value:x,onChange:e=>S(e.target.value),placeholder:"Add a comment...",className:"flex-grow"}),s(u,{onClick:j,className:"ml-2",children:[a(_,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),s("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(t.updatedAt||"").toLocaleString()]})]})]})]})})}export{ue as a};
|
package/dist/chunk-GTDG7AC2.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as u}from"./chunk-EJV6UKCA.mjs";import{b as d,c as k}from"./chunk-T44RKQFA.mjs";import{a as l}from"./chunk-UK4IPFAO.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import b from"next/image";import{jsx as o,jsxs as y}from"react/jsx-runtime";var f={content:u,cta:d,mediaBlock:l,imageBlock:l,features:k},P=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?o("section",{id:"render-blocks",children:e.map((t,c)=>{var g;let{blockType:r}=t,i=t==null?void 0:t.theme;if(r&&r in f){let m=f[r];if(m)return y("div",{className:"py-6 relative",children:[o(p,{block:t,index:c}),o("div",{className:n("container",((g=i==null?void 0:i.settings)==null?void 0:g.theme)==="dark"?"dark":""),children:o(m,{...t})})]},c)}return null})}):null},p=a=>{var s;if(console.log("props",a),!("theme"in a.block))return null;let e=(s=a.block)==null?void 0:s.theme;if(console.log("theme",e),e.settings.background==="image"){let t={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return console.log("themeSettings",t),y("div",{className:n("absolute inset-0 w-full h-full -z-10",e.settings.theme==="dark"?"dark bg-background":""),children:[o(b,{src:e.settings.image.url||"/placeholder.svg",alt:e.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&o("div",{className:"absolute inset-0",style:{background:t.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return o("div",{className:n("absolute inset-0 -z-10 w-screen h-full",e.settings.theme==="dark"?"dark bg-background":"")})};export{P as a};
|
package/dist/chunk-T44RKQFA.mjs
DELETED
|
@@ -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-44VMK4FL.mjs";import{a as g}from"./chunk-UK4IPFAO.mjs";import{a as b}from"./chunk-HUN2X4VH.mjs";import{a as k}from"./chunk-2NFKSNJW.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"&&e.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};
|
package/dist/chunk-TTN4NUDL.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as U}from"./chunk-OWBJTXZL.mjs";import{a as I}from"./chunk-4NKKWJ2X.mjs";import{a as f,c as C,d as D,g as h,i as N}from"./chunk-4JC2TJML.mjs";import{a as w,f as E,g as A,i as L}from"./chunk-JWDVKGZL.mjs";import{a as T}from"./chunk-A5EYIB3V.mjs";import{a as l}from"./chunk-DWRQHV42.mjs";import{a as P}from"./chunk-Y5ZFXDW5.mjs";import{a as g}from"./chunk-QOIH63J3.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{useState as S,useEffect as J}from"react";import{PlusIcon as K}from"lucide-react";import{Fragment as Q,jsx as a,jsxs as r}from"react/jsx-runtime";function oe({customers:c,users:d,categories:B,onSubmit:O,initialDeal:n,onAddCustomer:V,onClose:u}){var y,x,F,k;let[s,i]=S(n||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[q,p]=S(!1),[o,b]=S({});J(()=>{n&&i(n)},[n]);let H=()=>{let e={};return s.customer||(e.customer="Customer is required"),s.value||(e.value="Value is required"),s.assignee||(e.assignee="Assignee is required"),s.closureDate||(e.closureDate="Closure Date is required"),b(e),Object.keys(e).length===0},M=e=>{e.preventDefault(),H()&&(O({...s}),i({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),b({}),u==null||u())},R=e=>{i(t=>({...t,categories:(t.categories||[]).includes(e)?(t.categories||[]).filter(m=>m!==e):[...t.categories||[],e]}))},z=e=>{i({...s,customer:e}),p(!1),V(e)},j=e=>d==null?void 0:d.find(t=>t.id===Number(e)),G=e=>c==null?void 0:c.find(t=>t.id===Number(e));return r(Q,{children:[r("form",{onSubmit:M,className:"space-y-6",children:[a(I,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[a(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(f,{value:(x=(y=s.customer)==null?void 0:y.id)==null?void 0:x.toString(),onValueChange:e=>i({...s,customer:G(e)}),children:[a(D,{children:a(C,{placeholder:"Select customer"})}),a(h,{children:c.map(e=>{var t;return a(N,{value:((t=e.id)==null?void 0:t.toString())||"",children:e.name},e.id)})})]}),a(v,{variant:"outline",size:"icon",onClick:()=>p(!0),children:a(K,{className:"w-5 h-5"})})]}),o.customerId&&a("p",{className:"text-red-500 text-sm",children:o.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[a(l,{htmlFor:"value",children:"Value"}),a(g,{id:"value",type:"number",value:s.value||"",onChange:e=>i({...s,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),o.value&&a("p",{className:"text-red-500 text-sm",children:o.value})]}),r("div",{className:"space-y-2 space-x-2",children:[a(l,{htmlFor:"assignee",children:"Assignee"}),r(f,{value:(k=(F=s.assignee)==null?void 0:F.id)==null?void 0:k.toString(),onValueChange:e=>i({...s,assignee:j(e)}),children:[a(D,{children:a(C,{placeholder:"Select assignee"})}),a(h,{children:d&&d.map(e=>{var t;return a(N,{value:((t=e.id)==null?void 0:t.toString())||"",children:e.name},e.id)})})]}),o.assignee&&a("p",{className:"text-red-500 text-sm",children:o.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[a(l,{htmlFor:"description",children:"Description"}),a(T,{id:"description",value:s.description||"",onChange:e=>i({...s,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[a(l,{children:"Categories"}),a("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("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:B.filter(t=>t.type===e).map(t=>{var m;return r("div",{className:"flex items-center space-x-2",children:[a(P,{id:t.id.toString(),checked:(m=s.categories)==null?void 0:m.includes(t.id),onCheckedChange:()=>R(t)}),a("label",{htmlFor:t.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:t.name})]},t.id)})})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[a(l,{htmlFor:"closureDate",children:"Closure Date"}),a(g,{id:"closureDate",type:"date",value:s.closureDate||"",onChange:e=>i({...s,closureDate:e.target.value})}),o.closureDate&&a("p",{className:"text-red-500 text-sm",children:o.closureDate})]})]})}),a(v,{type:"submit",className:"w-full",children:n?"Update Deal":"Add Deal"})]}),a(w,{open:q,onOpenChange:p,children:r(E,{children:[a(A,{children:a(L,{children:"Add New Customer"})}),a(U,{onSubmit:z})]})})]})}export{oe as a};
|
package/dist/chunk-Y3L5THWA.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as D}from"./chunk-YNC77MO4.mjs";import{a as C}from"./chunk-FBUZ37DL.mjs";import{useState as x,useCallback as P}from"react";import{DragDropContext as w}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as d,jsxs as y}from"react/jsx-runtime";var W=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function k({initialData:a,addNewDeal:S,updateDeal:n,addComment:b,addNewCustomer:f}){var m;let[l,c]=x(null),g=e=>{var t;return((t=a.deals)!=null?t:[]).filter(o=>o.status===e)},v=e=>e.reduce((t,o)=>t+(o.value||0),0),M=(e,t)=>{let o={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return e.reduce((s,r)=>s+(r.value||0)*o[t],0)},R=P(e=>{var p;let{source:t,destination:o}=e;if(!o||t.droppableId===o.droppableId&&t.index===o.index)return;let s=t.droppableId,r=o.droppableId;console.log("Moving from ",s,"to",r);let i=[...(p=a.deals)!=null?p:[]],[u]=i.splice(t.index,1);u.status=r,i.splice(o.index,0,u),n(u)},[n]);return d(w,{onDragEnd:R,children:y("div",{className:"p-4 max-h-[90vh] overflow-auto",children:[d("div",{className:"flex space-x-4 pb-4",children:W.filter(e=>e!=="Won"&&e!=="Lost").map(e=>{var o,s;let t=g(e);return d(D,{status:e,deals:t,customers:(o=a.customers)!=null?o:[],users:a.users,categories:(s=a.categories)!=null?s:[],onDealClick:c,calculateColumnValue:v,calculateWeightedValue:M,addNewDeal:e==="Cold"?S:void 0,onAddCustomer:f},e)})}),l&&d(C,{deal:l,users:a.users,customer:l.customer,categories:(m=a.categories)!=null?m:[],onClose:()=>c(null),onSave:n,onAddComment:e=>b(l.id.toString(),e)})]})})}export{k as a};
|