cortex-react-components 1.36.2 → 1.38.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-LQCMGPNI.mjs → chunk-2AGDXJAU.mjs} +1 -1
- package/dist/{chunk-6IPL22A6.mjs → chunk-335BBTLI.mjs} +1 -1
- package/dist/{chunk-Y3ZD3LIO.mjs → chunk-3PC5BLK7.mjs} +1 -1
- package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
- package/dist/{chunk-IE2A7UT3.mjs → chunk-4VDJWCUB.mjs} +1 -1
- package/dist/{chunk-AQZPHPWA.mjs → chunk-5FQFLE3Q.mjs} +1 -1
- package/dist/{chunk-ZDCRDIR5.mjs → chunk-5KYMCULO.mjs} +1 -1
- package/dist/{chunk-QYLUJ3PE.mjs → chunk-7T2EVGKB.mjs} +1 -1
- package/dist/{chunk-D43ENVPX.mjs → chunk-AFA6LBJ4.mjs} +1 -1
- package/dist/chunk-CL5QSCPX.mjs +4 -0
- package/dist/{chunk-KAJDV47B.mjs → chunk-DESYC5BB.mjs} +1 -1
- package/dist/{chunk-GBN7ZEZT.mjs → chunk-DJ5BLICX.mjs} +1 -1
- package/dist/{chunk-FATM2COC.mjs → chunk-DQQJUG5B.mjs} +1 -1
- package/dist/chunk-DUMY24W2.mjs +1 -0
- package/dist/{chunk-YP7AKYLM.mjs → chunk-EZUTXJLA.mjs} +1 -1
- package/dist/{chunk-V7YLLLES.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-JSNGDKKX.mjs → chunk-I4PLJKG7.mjs} +1 -1
- package/dist/{chunk-QCGYFMHT.mjs → chunk-L3NNFUMD.mjs} +1 -1
- package/dist/{chunk-AHBJN3RM.mjs → chunk-P2TPII4E.mjs} +1 -1
- package/dist/{chunk-EMZQNDA7.mjs → chunk-QL74DMZ3.mjs} +1 -1
- package/dist/{chunk-YEL2YPS2.mjs → chunk-RGQIGJSO.mjs} +1 -1
- package/dist/{chunk-OLYQCZ7N.mjs → chunk-RRNFHKBK.mjs} +1 -1
- package/dist/chunk-RX3B4KLS.mjs +1 -0
- package/dist/{chunk-S2FHEYCB.mjs → chunk-TEASLXSL.mjs} +1 -1
- package/dist/{chunk-FGTZVVVF.mjs → chunk-TGMZKBPB.mjs} +1 -1
- package/dist/{chunk-Z4CK655R.mjs → chunk-UHY3OPNY.mjs} +1 -1
- package/dist/{chunk-UNEDT5KF.mjs → chunk-UUI4HUXR.mjs} +1 -1
- package/dist/{chunk-BXEEQFHL.mjs → chunk-W5LTMZ53.mjs} +1 -1
- package/dist/{chunk-WTT65H2O.mjs → chunk-YCOPE2XU.mjs} +1 -1
- package/dist/{chunk-TO2JWPLJ.mjs → chunk-YGQFXPN4.mjs} +1 -1
- package/dist/{chunk-Z2TMD5V7.mjs → chunk-YQ4NBKRG.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/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- 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/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- 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/Icons/ScrollDownIcon.d.ts +1 -2
- package/dist/components/Icons/ScrollDownIcon.js +1 -1
- package/dist/components/Icons/ScrollDownIcon.mjs +1 -1
- package/dist/components/Icons/ScrollDownIcon.stories.js +1 -1
- package/dist/components/Icons/ScrollDownIcon.stories.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.d.ts +5 -0
- package/dist/components/Layouts/SlideShow.js +4 -0
- package/dist/components/Layouts/SlideShow.mjs +2 -0
- package/dist/components/Layouts/SlideShow.stories.js +4 -0
- package/dist/components/Layouts/SlideShow.stories.mjs +4 -0
- package/dist/components/Layouts/index.d.ts +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.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/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +6 -6
- 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 +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.d.ts +8 -0
- package/dist/pages/Publish.js +4 -0
- package/dist/pages/Publish.mjs +1 -0
- package/dist/pages/Publish.stories.js +4 -0
- package/dist/pages/Publish.stories.mjs +1 -0
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +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/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/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-DAMIHHNG.mjs +0 -4
- package/dist/chunk-FXMYCGIC.mjs +0 -1
- package/dist/components/Layouts/VerticalSlider.d.ts +0 -3
- package/dist/components/Layouts/VerticalSlider.js +0 -4
- package/dist/components/Layouts/VerticalSlider.mjs +0 -2
- package/dist/components/Layouts/VerticalSlider.stories.js +0 -4
- package/dist/components/Layouts/VerticalSlider.stories.mjs +0 -4
package/dist/sections/index.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";var hr=Object.create;var ke=Object.defineProperty;var xr=Object.getOwnPropertyDescriptor;var yr=Object.getOwnPropertyNames;var vr=Object.getPrototypeOf,wr=Object.prototype.hasOwnProperty;var Cr=(e,t)=>{for(var r in t)ke(e,r,{get:t[r],enumerable:!0})},ut=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of yr(t))!wr.call(e,n)&&n!==r&&ke(e,n,{get:()=>t[n],enumerable:!(a=xr(t,n))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?hr(vr(e)):{},ut(t||!e||!e.__esModule?ke(r,"default",{value:e,enumerable:!0}):r,e)),Nr=e=>ut(ke({},"__esModule",{value:!0}),e);var Co={};Cr(Co,{AboutSection:()=>io,BlogDetail:()=>vo,BlogListSection:()=>mo,ContactSection:()=>xo,MainPageSection:()=>wo,PricingSection:()=>so,ServiceSection:()=>oo});module.exports=Nr(Co);var Nt=require("clsx");var Je="-",Ar=e=>{let t=Pr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Je);return i[0]===""&&i.length!==1&&i.shift(),ht(i,t)||kr(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},ht=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?ht(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Je);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},ft=/^\[(.+)\]$/,kr=e=>{if(ft.test(e)){let t=ft.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Pr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Tr(Object.entries(e.classGroups),r).forEach(([o,s])=>{qe(s,a,o,t)}),a},qe=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:bt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Sr(n)){qe(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{qe(s,bt(t,o),r,a)})})},bt=(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},Sr=e=>e.isThemeGetter,Tr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,Rr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},xt="!",Br=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],p=0,h=0,m;for(let P=0;P<i.length;P++){let T=i[P];if(p===0){if(T===n&&(a||i.slice(P,P+o)===t)){c.push(i.slice(h,P)),h=P+o;continue}if(T==="/"){m=P;continue}}T==="["?p++:T==="]"&&p--}let g=c.length===0?i:i.substring(h),u=g.startsWith(xt),N=u?g.substring(1):g,f=m&&m>h?m-h:void 0;return{modifiers:c,hasImportantModifier:u,baseClassName:N,maybePostfixModifierPosition:f}};return r?i=>r({className:i,parseClassName:s}):s},Ir=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},Lr=e=>({cache:Rr(e.cacheSize),parseClassName:Br(e),...Ar(e)}),Mr=/\s+/,Er=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Mr),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:h,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:u}=r(p),N=!!u,f=a(N?g.substring(0,u):g);if(!f){if(!N){i=p+(i.length>0?" "+i:i);continue}if(f=a(g),!f){i=p+(i.length>0?" "+i:i);continue}N=!1}let P=Ir(h).join(":"),T=m?P+xt:P,I=T+f;if(o.includes(I))continue;o.push(I);let X=n(f,N);for(let ee=0;ee<X.length;++ee){let Ce=X[ee];o.push(T+Ce)}i=p+(i.length>0?" "+i:i)}return i};function Hr(){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 Fr(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((h,m)=>m(h),e());return r=Lr(p),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let h=Er(c,r);return n(c,h),h}return function(){return o(Hr.apply(null,arguments))}}var A=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},vt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Dr=/^\d+\/\d+$/,zr=new Set(["px","full","screen"]),Ur=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Gr=/\d+(%|px|r?em|[sdl]?At([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(At|h|i|At|min|max))|\At(calc|min|max|clamp)\(.+\)|^0$/,Or=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Vr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)At-?((\d+)?\.?(\d+)[a-z]+|0)/,$r=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=e=>ie(e)||zr.has(e)||Dr.test(e),q=e=>le(e,"length",Jr),ie=e=>!!e&&!Number.isNaN(Number(e)),We=e=>le(e,"number",ie),xe=e=>!!e&&Number.isInteger(Number(e)),Yr=e=>e.endsWith("%")&&ie(e.slice(0,-1)),d=e=>vt.test(e),J=e=>Ur.test(e),Kr=new Set(["length","size","percentage"]),jr=e=>le(e,Kr,wt),Qr=e=>le(e,"position",wt),_r=new Set(["image","url"]),Wr=e=>le(e,_r,Xr),qr=e=>le(e,"",Zr),ye=()=>!0,le=(e,t,r)=>{let a=vt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Jr=e=>Gr.test(e)&&!Or.test(e),wt=()=>!1,Zr=e=>Vr.test(e),Xr=e=>$r.test(e);var eo=()=>{let e=A("colors"),t=A("spacing"),r=A("blur"),a=A("brightness"),n=A("borderColor"),o=A("borderRadius"),s=A("borderSpacing"),i=A("borderWidth"),c=A("contrast"),p=A("grayscale"),h=A("hueRotate"),m=A("invert"),g=A("gap"),u=A("gradientColorStops"),N=A("gradientColorStopPositions"),f=A("inset"),P=A("margin"),T=A("opacity"),I=A("padding"),X=A("saturate"),ee=A("scale"),Ce=A("sepia"),it=A("skew"),lt=A("space"),ct=A("translate"),Ke=()=>["auto","contain","none"],je=()=>["auto","hidden","clip","visible","scroll"],Qe=()=>["auto",d,t],S=()=>[d,t],dt=()=>["",j,q],Ne=()=>["auto",ie,d],pt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ae=()=>["solid","dashed","dotted","double","none"],mt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_e=()=>["start","end","center","between","around","evenly","stretch"],he=()=>["","0",d],gt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[ie,d];return{cacheSize:500,separator:":",theme:{colors:[ye],spacing:[j,q],blur:["none","",J,d],brightness:K(),borderColor:[e],borderRadius:["none","","full",J,d],borderSpacing:S(),borderWidth:dt(),contrast:K(),grayscale:he(),hueRotate:K(),invert:he(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[Yr,q],inset:Qe(),margin:Qe(),opacity:K(),padding:S(),saturate:K(),scale:K(),sepia:he(),skew:K(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[J]}],"break-after":[{"break-after":gt()}],"break-before":[{"break-before":gt()}],"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(),d]}],overflow:[{overflow:je()}],"overflow-At":[{"overflow-At":je()}],"overflow-At":[{"overflow-At":je()}],overscroll:[{overscroll:Ke()}],"overscroll-At":[{"overscroll-At":Ke()}],"overscroll-At":[{"overscroll-At":Ke()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-At":[{"inset-At":[f]}],"inset-At":[{"inset-At":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",xe,d]}],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",d]}],grow:[{grow:he()}],shrink:[{shrink:he()}],order:[{order:["first","last","none",xe,d]}],"grid-cols":[{"grid-cols":[ye]}],"col-start-end":[{col:["auto",{span:["full",xe,d]},d]}],"col-start":[{"col-start":Ne()}],"col-end":[{"col-end":Ne()}],"grid-rows":[{"grid-rows":[ye]}],"row-start-end":[{row:["auto",{span:[xe,d]},d]}],"row-start":[{"row-start":Ne()}],"row-end":[{"row-end":Ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","me",d]}],"auto-rows":[{"auto-rows":["auto","min","max","me",d]}],gap:[{gap:[g]}],"gap-At":[{"gap-At":[g]}],"gap-At":[{"gap-At":[g]}],"justify-content":[{justify:["normal",..._e()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",..._e(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[..._e(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],pe:[{pe:[I]}],pt:[{pt:[I]}],Se:[{Se:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],me:[{me:[P]}],mt:[{mt:[P]}],mr:[{mr:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-At":[{"space-At":[lt]}],"space-At-reverse":["space-At-reverse"],"space-At":[{"space-At":[lt]}],"space-At-reverse":["space-At-reverse"],At:[{At:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-At":[{"min-At":[d,t,"min","max","fit"]}],"max-At":[{"max-At":[d,t,"none","full","min","max","fit","prose",{screen:[J]},J]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",J,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",We]}],"font-family":[{font:[ye]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",ie,We]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",j,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[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:[...Ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",j,q]}],"underline-offset":[{"underline-offset":["auto",j,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...pt(),Qr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","At","At","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",jr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","At","bl","l","tl"]},Wr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[u]}],"gradient-via":[{via:[u]}],"gradient-to":[{to:[u]}],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-At":[{border:[i]}],"border-At-At":[{"border-At":[i]}],"border-At-At":[{"border-At":[i]}],"border-At-s":[{"border-s":[i]}],"border-At-e":[{"border-e":[i]}],"border-At-t":[{"border-t":[i]}],"border-At-r":[{"border-r":[i]}],"border-At-At":[{"border-At":[i]}],"border-At-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...Ae(),"hidden"]}],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:Ae()}],"border-color":[{border:[n]}],"border-color-At":[{"border-At":[n]}],"border-color-At":[{"border-At":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-At":[{"border-At":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Ae()]}],"outline-offset":[{"outline-offset":[j,d]}],"outline-At":[{outline:[j,q]}],"outline-color":[{outline:[e]}],"ring-At":[{ring:dt()}],"ring-At-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-At":[{"ring-offset":[j,q]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",J,qr]}],"shadow-color":[{shadow:[ye]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...mt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":mt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",J,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[m]}],saturate:[{saturate:[X]}],sepia:[{sepia:[Ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[X]}],"backdrop-sepia":[{"backdrop-sepia":[Ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-At":[{"border-spacing-At":[s]}],"border-spacing-At":[{"border-spacing-At":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ee]}],"scale-At":[{"scale-At":[ee]}],"scale-At":[{"scale-At":[ee]}],rotate:[{rotate:[xe,d]}],"translate-At":[{"translate-At":[ct]}],"translate-At":[{"translate-At":[ct]}],"skew-At":[{"skew-At":[it]}],"skew-At":[{"skew-At":[it]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","At-resize","At-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","At","At",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-Se":[{"scroll-Se":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","At","At","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-At":[{"touch-pan":["At","left","right"]}],"touch-At":[{"touch-pan":["At","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-At":[{stroke:[j,q,We]}],stroke:[{stroke:[e,"none"]}],zt:["zt-only","not-zt-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-At","overflow-At"],overscroll:["overscroll-At","overscroll-At"],inset:["inset-At","inset-At","start","end","top","right","bottom","left"],"inset-At":["right","left"],"inset-At":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-At","gap-At"],p:["px","py","ps","pe","pt","Se","pb","pl"],px:["Se","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["At","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-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-At"],"border-At":["border-At-s","border-At-e","border-At-t","border-At-r","border-At-At","border-At-l"],"border-At-At":["border-At-r","border-At-l"],"border-At-At":["border-At-t","border-At-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-At":["border-color-t","border-color-At"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-Se","scroll-pb","scroll-pl"],"scroll-px":["scroll-Se","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-At","touch-At","touch-pz"],"touch-At":["touch"],"touch-At":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ct=Fr(eo);function l(...e){return Ct((0,Nt.clsx)(e))}var At=require("react/jsx-runtime");function H({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,At.jsx)("div",{className:n,children:e})}var Pe=(e,t)=>e[t%e.length];var kt=require("@radix-ui/react-slot"),Pt=require("class-variance-authority"),St=E(require("react")),to=(0,Pt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 At-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),B=St.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,At.jsx)(e?kt.Slot:"button",{className:l(to({className:t,size:r,variant:a})),ref:o,...n}));B.displayName="Button";var Rt=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a!=null?a:"",i=n+o+" fa-"+r+" "+s;return(0,At.jsx)("i",{className:i})};var It=E(require("next/link"));function te({children:e,href:t,openNewTab:r,...a}){return(0,At.jsx)(It.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function ro(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Mt({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 h-full space-At-6 overflow-hidden rounded-5 p-6 md:space-At-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:ro(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)(te,{href:a,children:t}):t})]}),(0,At.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,At.jsx)(B,{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)(te,{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",{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,At.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] At-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 oo({services:e,className:t}){return(0,At.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,At.jsx)(H,{className:"py-8",children:e&&e.length>0&&(0,At.jsx)("div",{className:"flex flex-wrap justify-center gap-At-8",children:e.map((r,a)=>(0,At.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Pe([200,400,600],a),className:"At-full px-4 md:At-1/2 lg:At-1/3",children:(0,At.jsx)(Mt,{...r})},a))})})})}var Se=require("react-icons/fa6");function Et({title:e,description:t,features:r,price:a,duration:n,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:"h-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-At-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,At.jsx)("ul",{"aria-label":"pricing point list",className:"grid At-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((s,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)(Se.FaCircleCheck,{})}),(0,At.jsx)("span",{children:s})]},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:n&&n})]}),o&&(0,At.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,At.jsx)(B,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,At.jsxs)(te,{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)(Se.FaAnglesRight,{})})]})})})]})})]})}var Ht=({className:e,content:t,style:r})=>(0,At.jsx)("div",{className:l("mx-auto my-8 At-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)(z,{content:t,enableGutter:!1,enableProse:!1})})});var Ze=E(require("next/link")),Re=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:p}=e,h=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!h)return null;let m=r==="link"?"clear":c,g=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,At.jsxs)(Ze.default,{className:l(n),href:h||p||"",...g,children:[o&&o,a&&a]}):(0,At.jsx)(B,{asChild:!0,className:n,size:m,variant:r,children:(0,At.jsxs)(Ze.default,{className:l(n),href:h||p||"",...g,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-At-[48rem] flex items-center",children:t&&(0,At.jsx)(z,{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)(Re,{size:"lg",...r},a))})]})});var Be=require("prism-react-renderer");var Dt=require("lucide-react"),zt=require("react");function Ut({code:e}){let[t,r]=(0,zt.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)(B,{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:"At-6 h-6 dark:invert",children:(0,At.jsx)(Dt.ClipboardCopy,{})})]})})}var Gt=({code:e,language:t=""})=>e?(0,At.jsx)(Be.Highlight,{code:e,language:t,theme:Be.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,At.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-At-auto",children:[n.map((o,s)=>(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:s+1}),(0,At.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,At.jsx)("span",{...a({token:i})},c))})]},s)),(0,At.jsx)(Ut,{code:e})]})}):null;var Ot=({className:e,code:t,language:r})=>(0,At.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,At.jsx)(Gt,{code:t,language:r})});var $t=E(require("next/image"));var Vt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ie=()=>{if(Vt){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 ao={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},no="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:n,resource:o,size:s,src:i,loading:c}=e,p,h,m=t,g=i||"";if(!g&&o&&typeof o=="object"){let{alt:f,filename:P,height:T,url:I,width:X}=o;p=X,h=T,m=f||"",g=`${Ie()}${I}`}let u=c||"lazy",N=s||Object.entries(ao).map(([,f])=>`(max-width: ${f}px) ${f*2}At`).join(", ");return(0,At.jsx)("picture",{children:(0,At.jsx)($t.default,{alt:m||"",className:l(a),fill:r,height:r?void 0:h,placeholder:"blur",blurDataURL:no,priority:u!=="lazy"&&n,quality:100,loading:u,sizes:N,src:g,width:r?void 0:p})})};var Kt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,zt.useRef)(null);if((0,zt.useEffect)(()=>{let{current:o}=n;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:n,children:(0,At.jsx)("source",{src:`${Ie()}/media/${o}`})})}return null};var Qt=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,At.jsx)(r||zt.Fragment,{...r!==null?{className:t}:{},children:n?(0,At.jsx)(Kt,{...e}):(0,At.jsx)(Yt,{...e})})};var _t=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,At.jsx)("div",{className:l("",{container:r},t),children:(0,At.jsx)(Qt,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Wt=({title:e,description:t,features:r,id:a})=>(0,At.jsxs)("section",{className:l("container At-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)(z,{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((n,o)=>{let s=(0,At.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,At.jsx)("div",{className:"text-accent h-12 At-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,At.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,At.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),n.content&&typeof n.content!="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",children:(0,At.jsx)(z,{content:n.content,enableGutter:!1})})]},o);return console.log("link",n.link),n.link?(0,At.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:s},o):s})})]});var He=E(require("react"));function Ee({nodes:e}){return(0,At.jsx)(He.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,At.jsx)(He.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,s)=>(0,At.jsx)("tr",{children:o.children.map((i,c)=>(0,At.jsx)("td",{children:Ee({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Ee({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,At.jsx)(Ft,{...o},r);case"mediaBlock":return(0,At.jsx)(_t,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-At-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,At.jsx)(Ht,{className:"col-start-2 mb-4",...o},r);case"code":return(0,At.jsx)(Ot,{className:"col-start-2",...o},r);case"features":return(0,At.jsx)(Wt,{...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:n},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:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"list col-start-2",children:n},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:n},r):(0,At.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,At.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,At.jsx)(Re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var z=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,At.jsx)("div",{className:l({"container ":r,"max-At-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ee({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function de({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:n=!1,className:o,invert:s=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},o);return(0,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",s&&"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)(z,{content:r,enableGutter:!1})]})}function so({sectionHeading:e,cards:t}){return(0,At.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,At.jsxs)(H,{children:[(0,At.jsx)("div",{className:"mx-auto max-At-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,At.jsx)(de,{...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":Pe([200,400,600],a),className:"py-2",children:(0,At.jsx)(Et,{...r})},a))})]})})}var pe=E(require("next/image"));function io(e){let{images:t,sectionHeading:r,keyPoints:a,description:n}=e;return(0,At.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,At.jsx)(H,{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)(de,{...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,s)=>(0,At.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,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})]},s))}),n&&(0,At.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:n})]}),t&&(0,At.jsx)("div",{className:"mx-auto text-center",children:(0,At.jsxs)("div",{className:"relative mx-auto grid max-At-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,At.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,At.jsxs)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,At.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -z-1 h-full At-full rounded-tl-[60px] bg-primary-light"}),(0,At.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,At.jsx)(pe.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),(0,At.jsx)(pe.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] z-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,At.jsx)("div",{className:"flex overflow-hidden",children:(0,At.jsx)(pe.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,At.jsx)("div",{className:"ml-auto flex max-At-[250px] justify-end overflow-hidden",children:(0,At.jsx)(pe.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,At.jsx)("div",{className:"overflow-hidden",children:(0,At.jsx)(pe.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,At.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-At-1/2 -translate-At-1/2 overflow-hidden",children:(0,At.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,At.jsx)("span",{className:"grid h-[100px] At-[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",{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 Zt=E(require("next/image"));var Jt=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),n=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(s=>{if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${n}`};function Xt({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)(lo,{post:t,id:r},r))})})}var lo=({post:e,id:t})=>{let{slug:r,image:a,authors:n,categories:o,title:s,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:At-64 lg:shrink-0",children:[a&&(0,At.jsx)(Zt.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:Jt(e.publishedAt)}),e.categories&&e.categories.map((p,h)=>(0,At.jsx)("a",{href:`#${p}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p},h))]}),(0,At.jsxs)("div",{className:"group relative max-At-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-At-2 border-gray-200 dark:border-gray-700 pt-6",children:n&&n.map((p,h)=>(0,At.jsxs)("div",{className:"relative flex items-center gap-At-4",children:[p.image?(0,At.jsx)("img",{alt:p.image.alt,src:p.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 Se-6",children:[(0,At.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},h))})]})]},t)};var me=require("next/navigation");var ae=E(require("react"));var U=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));U.displayName="Card";var V=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex flex-col space-At-1.5 p-6",e),...t}));V.displayName="CardHeader";var $=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));$.displayName="CardTitle";var co=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));co.displayName="CardDescription";var G=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));G.displayName="CardContent";var po=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));po.displayName="CardFooter";var vn=l("transition-colors duration-400 hover:text-primary ease-in-out");function Fe({title:e,links:t}){let r=(0,me.useSearchParams)(),a=(0,me.usePathname)(),{replace:n}=(0,me.useRouter)();function o(s){console.log(s);let i=new URLSearchParams(r);s?i.set("category",s):i.delete("category"),n(`${a}?${i.toString()}`)}return(0,At.jsxs)(U,{children:[(0,At.jsx)(V,{children:(0,At.jsx)($,{className:"text-accent",children:e&&e})}),(0,At.jsx)(G,{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((s,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(s.href)},children:[s.label,(0,At.jsx)(Dt.ExternalLink,{className:"ml-1 h-3 At-3"})]},i))})})})]})}var tr=E(require("next/link"));var or=({links:e,title:t="Related Content"})=>(0,At.jsxs)(U,{children:[(0,At.jsx)(V,{children:(0,At.jsx)($,{className:"text-accent",children:t})}),(0,At.jsx)(G,{children:(0,At.jsx)("nav",{className:"flex flex-col space-At-2",children:e.map((r,a)=>(0,At.jsxs)(tr.default,{href:r.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[r.title,r.url.startsWith("http")&&(0,At.jsx)(Dt.ExternalLink,{className:"ml-1 h-3 At-3"})]},a))})})]});var ot=l("grid h-[45px] At-[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 nr({pages:e}){let t=(0,me.useSearchParams)(),r=(0,me.usePathname)(),{replace:a}=(0,me.useRouter)(),{totalPages:n,page:o}=e,[s,i]=(0,zt.useState)({start:o>3?o-3:1,end:o+2}),c=m=>{m==="left"&&s.start>1?i(g=>({start:g.start-1,end:g.end-1})):m==="right"&&s.end<n&&i(g=>({start:g.start+1,end:g.end+1}))};function p(m){let g=new URLSearchParams(t);m?g.set("page",m):g.delete("page"),a(`${r}?${g.toString()}`)}if(n<=1)return null;let h=[];for(let m=s.start;m<=s.end;m++)h.push(m);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:[s.start>1&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(ot,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,At.jsx)(Se.FaArrowLeft,{})})}),h.map((m,g)=>(0,At.jsx)("li",{children:(0,At.jsx)("a",{className:l(ot,m===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${m}`,role:"button",onClick:u=>{u.preventDefault(),p(m.toString())},children:m})},g)),s.end<n&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(ot,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,At.jsx)(Se.FaArrowRight,{})})})]})})}function ir({types:e}){let[t,r]=(0,zt.useState)(e&&e[0].href),a=(0,me.useSearchParams)(),n=(0,me.usePathname)(),{replace:o}=(0,me.useRouter)();function s(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${n}?${c.toString()}`)}return(0,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)(B,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>s(i.href),children:i.label},c))})}function mo({blogs:e,pages:t,categories:r,types:a}){return(0,At.jsx)("section",{children:(0,At.jsx)(H,{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)(Xt,{blogs:e}),(0,At.jsx)(nr,{pages:t})]}),(0,At.jsx)("div",{className:"grid gap-30px At-full self-baseline max-md:mx-auto max-md:max-At-[410px] lg:gap-10",children:(0,At.jsx)("div",{className:"lg:-mt-24 At-full",children:r&&r.links&&(0,At.jsx)(Fe,{links:r.links,title:r.title})})})]})})})}var gr=E(require("next/image"));var ze="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-h-[3.5rem] md:min-h-[3.75rem] At-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 go({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 At-full",children:[(0,At.jsx)(go,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-1/2 At-[14px] -translate-At-1/2 text-accent",children:e})]})}function uo({className:e,...t}){return(0,At.jsx)("textarea",{...t,className:l(Ue({}),"resize-none md:min-h-[130px]",e)})}function lr({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative At-full",children:[(0,At.jsx)(uo,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-[18px] At-[14px] text-accent",children:e})]})}var dr=require("formik"),se=E(require("yup"));async function cr(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};console.log(JSON.stringify(s));try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var nt=require("sonner"),O={tooShort:"Must At At least ${min} characters",tooLong:"Must At At most ${max} characters",required:"This field is required",email:"Invalid email format"},fo=se.object().shape({name:se.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),email:se.string().email(O.email).required(O.required),subject:se.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),message:se.string().min(2,O.tooShort).max(300,O.tooLong).required(O.required)}),Oe=l("!Se-[44px]"),Ve=l("!border-red-600 border"),$e=l("zt-only");function mr(){return(0,At.jsx)(dr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:fo,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:n,isSubmitting:o,handleSubmit:s})=>(0,At.jsxs)("form",{onSubmit:s,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:n,disabled:o,icon:(0,At.jsx)(Se.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:n,disabled:o,icon:(0,At.jsx)(bo,{}),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:n,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:n,disabled:o,icon:(0,At.jsx)(ho,{}),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)(B,{type:"submit",className:"At-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 bo(){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",{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 ho(){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",{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 xo(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-At-7xl px-6 lg:px-8",children:(0,At.jsx)("div",{className:"mx-auto max-At-2xl space-At-16 divide-At divide-gray-100 lg:mx-0 lg:max-At-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 zt 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,n)=>{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-At-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((s,i)=>(0,At.jsx)("p",{children:s},i))," ",a.mails&&(0,At.jsxs)("p",{className:"flex items-center space-At-2",children:[(0,At.jsx)(Se.FaEnvelope,{className:"Se-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)(Se.FaPhoneFlip,{className:"Se-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},n)})})]})})})})}),(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 h-full At-full overflow-hidden bg-red-500 md:At-[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:ze})}),(0,At.jsx)(H,{children:(0,At.jsx)("div",{className:"ml-auto md:At-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)(de,{...t,invert:!0})}),(0,At.jsx)(mr,{})]})})})]})})]})}var ur=E(require("next/image"));var br=E(require("next/link"));function yo({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)(U,{children:(0,At.jsxs)(G,{children:[e&&e.src&&(0,At.jsx)(ur.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:ze,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((n,o)=>(0,At.jsx)("li",{children:(0,At.jsx)(te,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-At-1 hover:text-accents",children:(0,At.jsx)("span",{children:n.icon})})},o))})})]})})})}function vo({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var g;if(!e)return(0,me.notFound)();let{meta:n,populatedAuthors:o,authors:s,categories:i,content:c,title:p}=e,h={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((g=o==null?void 0:o[0])==null?void 0:g.name)||"",category:i,commentCount:0,title:p,description:(n==null?void 0:n.description)||""},m=s==null?void 0:s.map(u=>{var N,f;return{name:u.name||"",about:"",image:{src:u.profilePicture&&((f=(N=u.profilePicture.sizes)==null?void 0:N.square)==null?void 0:f.url)||"",alt:u.name||"blog author"},socialLinks:[]}});return(0,At.jsx)(H,{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 h-px bg-body/30 lg:my-5"}),(0,At.jsx)(z,{content:c,enableGutter:!1})]})}),(0,At.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-At-[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)(U,{children:[(0,At.jsx)(V,{children:(0,At.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,At.jsxs)(G,{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)(B,{variant:"outline",className:"At-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),m&&m.map((u,N)=>(0,At.jsx)(yo,{...u},N)),t&&t.links&&(0,At.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,At.jsx)(Fe,{links:t.links,title:t.title})})]})]})})}var st=E(require("next/link"));var wo=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:n="/admin/collections/pages/",relatedContent:o={title:"Related Content",links:[]}})=>{let[s,i]=(0,zt.useState)(!1),[c,p]=(0,zt.useState)(""),h=()=>{i(!s)},m=u=>{switch(u){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},g=(u,N)=>{u.preventDefault();let f=document.getElementById(N);if(f){let T=f.offsetTop+-100,I=document.querySelector(".container")||window;I===window?window.scrollTo({top:T,behavior:"smooth"}):I.scrollTo({top:T,behavior:"smooth"}),p(N)}else console.error(`Element with ID "${N}" not found.`)};return(0,zt.useEffect)(()=>{let u=window.location.hash;if(u){let N=u.substring(1),f=document.getElementById(N);if(f){let T=f.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:T,behavior:"smooth"})}}},[]),(0,At.jsxs)("div",{className:"container py-8",children:[(0,At.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,At.jsx)("div",{className:l(s?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,At.jsxs)("div",{className:l("space-At-6 transform min-At-full transition-transform duration-300","col-span-4 md:col-span-1 translate-At-0 xl:-mt-20",s?"translate-At-0":"md:translate-At-full","xl:block xl:col-span-1 xl:translate-At-0"),children:[r.length>3&&(0,At.jsxs)(U,{className:"At-full max-At-sm mt-4",children:[(0,At.jsx)(V,{children:(0,At.jsx)($,{className:"text-accent",children:"On this page"})}),(0,At.jsx)(G,{children:(0,At.jsx)("ul",{className:"space-At-2",children:r.map((u,N)=>(0,At.jsx)("li",{className:m(u.tag),children:(0,At.jsx)("a",{href:`#${u.id}`,onClick:f=>g(f,u.id),className:`text-xs ${c===u.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:u.text})},N))})})]}),a&&(0,At.jsxs)(U,{children:[(0,At.jsx)(V,{children:(0,At.jsx)($,{children:"Content Actions"})}),(0,At.jsxs)(G,{children:[(0,At.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,At.jsx)(st.default,{href:`${n}${t}`,children:(0,At.jsx)(B,{variant:"outline",className:"At-full text-accent hover:text-foreground",children:"Edit Page"})}),(0,At.jsx)(st.default,{href:"/admin/collections/pages/create",children:(0,At.jsx)(B,{variant:"outline",className:"At-full mt-2 text-accent hover:text-foreground",children:"Create New"})})]})]}),o&&o.links.length>0&&(0,At.jsx)(or,{...o})]}),(0,At.jsx)("button",{onClick:h,className:l("fixed top-1/2 right-0 z-50 h-16 At-8 bg-accent text-accent-foreground rounded-l-full transform -translate-At-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,At.jsx)("div",{className:"block md:hidden mt-8",children:(0,At.jsx)("div",{className:"space-At-6",children:e})})]})};0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,MainPageSection,PricingSection,ServiceSection});
|
|
5
|
+
"use strict";var hr=Object.create;var ke=Object.defineProperty;var xr=Object.getOwnPropertyDescriptor;var yr=Object.getOwnPropertyNames;var vr=Object.getPrototypeOf,wr=Object.prototype.hasOwnProperty;var Cr=(e,t)=>{for(var r in t)ke(e,r,{get:t[r],enumerable:!0})},ut=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of yr(t))!wr.call(e,n)&&n!==r&&ke(e,n,{get:()=>t[n],enumerable:!(a=xr(t,n))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?hr(vr(e)):{},ut(t||!e||!e.__esModule?ke(r,"default",{value:e,enumerable:!0}):r,e)),Nr=e=>ut(ke({},"__esModule",{value:!0}),e);var Co={};Cr(Co,{AboutSection:()=>io,BlogDetail:()=>vo,BlogListSection:()=>mo,ContactSection:()=>xo,MainPageSection:()=>wo,PricingSection:()=>so,ServiceSection:()=>oo});module.exports=Nr(Co);var Nt=require("clsx");var Je="-",Ar=e=>{let t=Pr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Je);return i[0]===""&&i.length!==1&&i.shift(),ht(i,t)||kr(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},ht=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?ht(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Je);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},ft=/^\[(.+)\]$/,kr=e=>{if(ft.test(e)){let t=ft.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Pr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Tr(Object.entries(e.classGroups),r).forEach(([o,s])=>{qe(s,a,o,t)}),a},qe=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:bt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Sr(n)){qe(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{qe(s,bt(t,o),r,a)})})},bt=(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},Sr=e=>e.isThemeGetter,Tr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,Rr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},xt="!",Br=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],p=0,h=0,m;for(let P=0;P<i.length;P++){let T=i[P];if(p===0){if(T===n&&(a||i.slice(P,P+o)===t)){c.push(i.slice(h,P)),h=P+o;continue}if(T==="/"){m=P;continue}}T==="["?p++:T==="]"&&p--}let g=c.length===0?i:i.substring(h),u=g.startsWith(xt),N=u?g.substring(1):g,f=m&&m>h?m-h:void 0;return{modifiers:c,hasImportantModifier:u,baseClassName:N,maybePostfixModifierPosition:f}};return r?i=>r({className:i,parseClassName:s}):s},Ir=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},Lr=e=>({cache:Rr(e.cacheSize),parseClassName:Br(e),...Ar(e)}),Mr=/\s+/,Er=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Mr),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:h,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:u}=r(p),N=!!u,f=a(N?g.substring(0,u):g);if(!f){if(!N){i=p+(i.length>0?" "+i:i);continue}if(f=a(g),!f){i=p+(i.length>0?" "+i:i);continue}N=!1}let P=Ir(h).join(":"),T=m?P+xt:P,I=T+f;if(o.includes(I))continue;o.push(I);let X=n(f,N);for(let ee=0;ee<X.length;++ee){let Ce=X[ee];o.push(T+Ce)}i=p+(i.length>0?" "+i:i)}return i};function Hr(){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 Fr(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((h,m)=>m(h),e());return r=Lr(p),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let h=Er(c,r);return n(c,h),h}return function(){return o(Hr.apply(null,arguments))}}var A=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},vt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Dr=/^\d+\/\d+$/,zr=new Set(["px","full","screen"]),Ur=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Gr=/\d+(%|px|r?em|[sdl]?At([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(At|h|i|At|min|max))|\At(calc|min|max|clamp)\(.+\)|^0$/,Or=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Vr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)At-?((\d+)?\.?(\d+)[a-z]+|0)/,$r=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=e=>ie(e)||zr.has(e)||Dr.test(e),q=e=>le(e,"length",Jr),ie=e=>!!e&&!Number.isNaN(Number(e)),We=e=>le(e,"number",ie),xe=e=>!!e&&Number.isInteger(Number(e)),Yr=e=>e.endsWith("%")&&ie(e.slice(0,-1)),d=e=>vt.test(e),J=e=>Ur.test(e),Kr=new Set(["length","size","percentage"]),jr=e=>le(e,Kr,wt),Qr=e=>le(e,"position",wt),_r=new Set(["image","url"]),Wr=e=>le(e,_r,Xr),qr=e=>le(e,"",Zr),ye=()=>!0,le=(e,t,r)=>{let a=vt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Jr=e=>Gr.test(e)&&!Or.test(e),wt=()=>!1,Zr=e=>Vr.test(e),Xr=e=>$r.test(e);var eo=()=>{let e=A("colors"),t=A("spacing"),r=A("blur"),a=A("brightness"),n=A("borderColor"),o=A("borderRadius"),s=A("borderSpacing"),i=A("borderWidth"),c=A("contrast"),p=A("grayscale"),h=A("hueRotate"),m=A("invert"),g=A("gap"),u=A("gradientColorStops"),N=A("gradientColorStopPositions"),f=A("inset"),P=A("margin"),T=A("opacity"),I=A("padding"),X=A("saturate"),ee=A("scale"),Ce=A("sepia"),it=A("skew"),lt=A("space"),ct=A("translate"),Ke=()=>["auto","contain","none"],je=()=>["auto","hidden","clip","visible","scroll"],Qe=()=>["auto",d,t],S=()=>[d,t],dt=()=>["",j,q],Ne=()=>["auto",ie,d],pt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ae=()=>["solid","dashed","dotted","double","none"],mt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_e=()=>["start","end","center","between","around","evenly","stretch"],he=()=>["","0",d],gt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[ie,d];return{cacheSize:500,separator:":",theme:{colors:[ye],spacing:[j,q],blur:["none","",J,d],brightness:K(),borderColor:[e],borderRadius:["none","","full",J,d],borderSpacing:S(),borderWidth:dt(),contrast:K(),grayscale:he(),hueRotate:K(),invert:he(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[Yr,q],inset:Qe(),margin:Qe(),opacity:K(),padding:S(),saturate:K(),scale:K(),sepia:he(),skew:K(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[J]}],"break-after":[{"break-after":gt()}],"break-before":[{"break-before":gt()}],"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(),d]}],overflow:[{overflow:je()}],"overflow-At":[{"overflow-At":je()}],"overflow-At":[{"overflow-At":je()}],overscroll:[{overscroll:Ke()}],"overscroll-At":[{"overscroll-At":Ke()}],"overscroll-At":[{"overscroll-At":Ke()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-At":[{"inset-At":[f]}],"inset-At":[{"inset-At":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",xe,d]}],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",d]}],grow:[{grow:he()}],shrink:[{shrink:he()}],order:[{order:["first","last","none",xe,d]}],"grid-cols":[{"grid-cols":[ye]}],"col-start-end":[{col:["auto",{span:["full",xe,d]},d]}],"col-start":[{"col-start":Ne()}],"col-end":[{"col-end":Ne()}],"grid-rows":[{"grid-rows":[ye]}],"row-start-end":[{row:["auto",{span:[xe,d]},d]}],"row-start":[{"row-start":Ne()}],"row-end":[{"row-end":Ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","me",d]}],"auto-rows":[{"auto-rows":["auto","min","max","me",d]}],gap:[{gap:[g]}],"gap-At":[{"gap-At":[g]}],"gap-At":[{"gap-At":[g]}],"justify-content":[{justify:["normal",..._e()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",..._e(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[..._e(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],pe:[{pe:[I]}],pt:[{pt:[I]}],Se:[{Se:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],me:[{me:[P]}],mt:[{mt:[P]}],mr:[{mr:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-At":[{"space-At":[lt]}],"space-At-reverse":["space-At-reverse"],"space-At":[{"space-At":[lt]}],"space-At-reverse":["space-At-reverse"],At:[{At:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-At":[{"min-At":[d,t,"min","max","fit"]}],"max-At":[{"max-At":[d,t,"none","full","min","max","fit","prose",{screen:[J]},J]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",J,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",We]}],"font-family":[{font:[ye]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",ie,We]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",j,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[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:[...Ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",j,q]}],"underline-offset":[{"underline-offset":["auto",j,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...pt(),Qr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","At","At","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",jr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","At","bl","l","tl"]},Wr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[u]}],"gradient-via":[{via:[u]}],"gradient-to":[{to:[u]}],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-At":[{border:[i]}],"border-At-At":[{"border-At":[i]}],"border-At-At":[{"border-At":[i]}],"border-At-s":[{"border-s":[i]}],"border-At-e":[{"border-e":[i]}],"border-At-t":[{"border-t":[i]}],"border-At-r":[{"border-r":[i]}],"border-At-At":[{"border-At":[i]}],"border-At-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...Ae(),"hidden"]}],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:Ae()}],"border-color":[{border:[n]}],"border-color-At":[{"border-At":[n]}],"border-color-At":[{"border-At":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-At":[{"border-At":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Ae()]}],"outline-offset":[{"outline-offset":[j,d]}],"outline-At":[{outline:[j,q]}],"outline-color":[{outline:[e]}],"ring-At":[{ring:dt()}],"ring-At-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-At":[{"ring-offset":[j,q]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",J,qr]}],"shadow-color":[{shadow:[ye]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...mt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":mt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",J,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[m]}],saturate:[{saturate:[X]}],sepia:[{sepia:[Ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[X]}],"backdrop-sepia":[{"backdrop-sepia":[Ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-At":[{"border-spacing-At":[s]}],"border-spacing-At":[{"border-spacing-At":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ee]}],"scale-At":[{"scale-At":[ee]}],"scale-At":[{"scale-At":[ee]}],rotate:[{rotate:[xe,d]}],"translate-At":[{"translate-At":[ct]}],"translate-At":[{"translate-At":[ct]}],"skew-At":[{"skew-At":[it]}],"skew-At":[{"skew-At":[it]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","At-resize","At-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","At","At",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-Se":[{"scroll-Se":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","At","At","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-At":[{"touch-pan":["At","left","right"]}],"touch-At":[{"touch-pan":["At","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-At":[{stroke:[j,q,We]}],stroke:[{stroke:[e,"none"]}],zt:["zt-only","not-zt-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-At","overflow-At"],overscroll:["overscroll-At","overscroll-At"],inset:["inset-At","inset-At","start","end","top","right","bottom","left"],"inset-At":["right","left"],"inset-At":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-At","gap-At"],p:["px","py","ps","pe","pt","Se","pb","pl"],px:["Se","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["At","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-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-At"],"border-At":["border-At-s","border-At-e","border-At-t","border-At-r","border-At-At","border-At-l"],"border-At-At":["border-At-r","border-At-l"],"border-At-At":["border-At-t","border-At-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-At":["border-color-t","border-color-At"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-Se","scroll-pb","scroll-pl"],"scroll-px":["scroll-Se","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-At","touch-At","touch-pz"],"touch-At":["touch"],"touch-At":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ct=Fr(eo);function l(...e){return Ct((0,Nt.clsx)(e))}var At=require("react/jsx-runtime");function H({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,At.jsx)("div",{className:n,children:e})}var Pe=(e,t)=>e[t%e.length];var kt=require("@radix-ui/react-slot"),Pt=require("class-variance-authority"),St=E(require("react")),to=(0,Pt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 At-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),B=St.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,At.jsx)(e?kt.Slot:"button",{className:l(to({className:t,size:r,variant:a})),ref:o,...n}));B.displayName="Button";var Rt=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a!=null?a:"",i=n+o+" fa-"+r+" "+s;return(0,At.jsx)("i",{className:i})};var It=E(require("next/link"));function te({children:e,href:t,openNewTab:r,...a}){return(0,At.jsx)(It.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function ro(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Mt({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 h-full space-At-6 overflow-hidden rounded-5 p-6 md:space-At-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:ro(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)(te,{href:a,children:t}):t})]}),(0,At.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,At.jsx)(B,{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)(te,{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",{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,At.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] At-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 oo({services:e,className:t}){return(0,At.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,At.jsx)(H,{className:"py-8",children:e&&e.length>0&&(0,At.jsx)("div",{className:"flex flex-wrap justify-center gap-At-8",children:e.map((r,a)=>(0,At.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Pe([200,400,600],a),className:"At-full px-4 md:At-1/2 lg:At-1/3",children:(0,At.jsx)(Mt,{...r})},a))})})})}var Se=require("react-icons/fa6");function Et({title:e,description:t,features:r,price:a,duration:n,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:"h-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-At-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,At.jsx)("ul",{"aria-label":"pricing point list",className:"grid At-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((s,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)(Se.FaCircleCheck,{})}),(0,At.jsx)("span",{children:s})]},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:n&&n})]}),o&&(0,At.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,At.jsx)(B,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,At.jsxs)(te,{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)(Se.FaAnglesRight,{})})]})})})]})})]})}var Ht=({className:e,content:t,style:r})=>(0,At.jsx)("div",{className:l("mx-auto my-8 At-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)(z,{content:t,enableGutter:!1,enableProse:!1})})});var Ze=E(require("next/link")),Re=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:p}=e,h=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!h)return null;let m=r==="link"?"clear":c,g=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,At.jsxs)(Ze.default,{className:l(n),href:h||p||"",...g,children:[o&&o,a&&a]}):(0,At.jsx)(B,{asChild:!0,className:n,size:m,variant:r,children:(0,At.jsxs)(Ze.default,{className:l(n),href:h||p||"",...g,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-At-[48rem] flex items-center",children:t&&(0,At.jsx)(z,{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)(Re,{size:"lg",...r},a))})]})});var Be=require("prism-react-renderer");var Dt=require("lucide-react"),zt=require("react");function Ut({code:e}){let[t,r]=(0,zt.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)(B,{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:"At-6 h-6 dark:invert",children:(0,At.jsx)(Dt.ClipboardCopy,{})})]})})}var Gt=({code:e,language:t=""})=>e?(0,At.jsx)(Be.Highlight,{code:e,language:t,theme:Be.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,At.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-At-auto",children:[n.map((o,s)=>(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:s+1}),(0,At.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,At.jsx)("span",{...a({token:i})},c))})]},s)),(0,At.jsx)(Ut,{code:e})]})}):null;var Ot=({className:e,code:t,language:r})=>(0,At.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,At.jsx)(Gt,{code:t,language:r})});var $t=E(require("next/image"));var Vt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ie=()=>{if(Vt){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 ao={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},no="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:n,resource:o,size:s,src:i,loading:c}=e,p,h,m=t,g=i||"";if(!g&&o&&typeof o=="object"){let{alt:f,filename:P,height:T,url:I,width:X}=o;p=X,h=T,m=f||"",g=`${Ie()}${I}`}let u=c||"lazy",N=s||Object.entries(ao).map(([,f])=>`(max-width: ${f}px) ${f*2}At`).join(", ");return(0,At.jsx)("picture",{children:(0,At.jsx)($t.default,{alt:m||"",className:l(a),fill:r,height:r?void 0:h,placeholder:"blur",blurDataURL:no,priority:u!=="lazy"&&n,quality:100,loading:u,sizes:N,src:g,width:r?void 0:p})})};var Kt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,zt.useRef)(null);if((0,zt.useEffect)(()=>{let{current:o}=n;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:n,children:(0,At.jsx)("source",{src:`${Ie()}/media/${o}`})})}return null};var Qt=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,At.jsx)(r||zt.Fragment,{...r!==null?{className:t}:{},children:n?(0,At.jsx)(Kt,{...e}):(0,At.jsx)(Yt,{...e})})};var _t=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,At.jsx)("div",{className:l("",{container:r},t),children:(0,At.jsx)(Qt,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Wt=({title:e,description:t,features:r,id:a})=>(0,At.jsxs)("section",{className:l("container At-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)(z,{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((n,o)=>{let s=(0,At.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,At.jsx)("div",{className:"text-accent h-12 At-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,At.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,At.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),n.content&&typeof n.content!="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",children:(0,At.jsx)(z,{content:n.content,enableGutter:!1})})]},o);return n.link?(0,At.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:s},o):s})})]});var He=E(require("react"));function Ee({nodes:e}){return(0,At.jsx)(He.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,At.jsx)(He.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,s)=>(0,At.jsx)("tr",{children:o.children.map((i,c)=>(0,At.jsx)("td",{children:Ee({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Ee({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,At.jsx)(Ft,{...o},r);case"mediaBlock":return(0,At.jsx)(_t,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-At-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,At.jsx)(Ht,{className:"col-start-2 mb-4",...o},r);case"code":return(0,At.jsx)(Ot,{className:"col-start-2",...o},r);case"features":return(0,At.jsx)(Wt,{...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:n},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:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"list col-start-2",children:n},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:n},r):(0,At.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,At.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,At.jsx)(Re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var z=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,At.jsx)("div",{className:l({"container ":r,"max-At-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ee({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function de({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:n=!1,className:o,invert:s=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},o);return(0,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",s&&"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)(z,{content:r,enableGutter:!1})]})}function so({sectionHeading:e,cards:t}){return(0,At.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,At.jsxs)(H,{children:[(0,At.jsx)("div",{className:"mx-auto max-At-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,At.jsx)(de,{...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":Pe([200,400,600],a),className:"py-2",children:(0,At.jsx)(Et,{...r})},a))})]})})}var pe=E(require("next/image"));function io(e){let{images:t,sectionHeading:r,keyPoints:a,description:n}=e;return(0,At.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,At.jsx)(H,{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)(de,{...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,s)=>(0,At.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,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})]},s))}),n&&(0,At.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:n})]}),t&&(0,At.jsx)("div",{className:"mx-auto text-center",children:(0,At.jsxs)("div",{className:"relative mx-auto grid max-At-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,At.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,At.jsxs)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,At.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -z-1 h-full At-full rounded-tl-[60px] bg-primary-light"}),(0,At.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,At.jsx)(pe.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),(0,At.jsx)(pe.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] z-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,At.jsx)("div",{className:"flex overflow-hidden",children:(0,At.jsx)(pe.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,At.jsx)("div",{className:"ml-auto flex max-At-[250px] justify-end overflow-hidden",children:(0,At.jsx)(pe.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,At.jsx)("div",{className:"overflow-hidden",children:(0,At.jsx)(pe.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,At.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-At-1/2 -translate-At-1/2 overflow-hidden",children:(0,At.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,At.jsx)("span",{className:"grid h-[100px] At-[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",{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 Zt=E(require("next/image"));var Jt=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),n=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(s=>{if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${n}`};function Xt({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)(lo,{post:t,id:r},r))})})}var lo=({post:e,id:t})=>{let{slug:r,image:a,authors:n,categories:o,title:s,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:At-64 lg:shrink-0",children:[a&&(0,At.jsx)(Zt.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:Jt(e.publishedAt)}),e.categories&&e.categories.map((p,h)=>(0,At.jsx)("a",{href:`#${p}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p},h))]}),(0,At.jsxs)("div",{className:"group relative max-At-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-At-2 border-gray-200 dark:border-gray-700 pt-6",children:n&&n.map((p,h)=>(0,At.jsxs)("div",{className:"relative flex items-center gap-At-4",children:[p.image?(0,At.jsx)("img",{alt:p.image.alt,src:p.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 Se-6",children:[(0,At.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},h))})]})]},t)};var me=require("next/navigation");var ae=E(require("react"));var U=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));U.displayName="Card";var V=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex flex-col space-At-1.5 p-6",e),...t}));V.displayName="CardHeader";var $=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));$.displayName="CardTitle";var co=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));co.displayName="CardDescription";var G=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));G.displayName="CardContent";var po=ae.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));po.displayName="CardFooter";var vn=l("transition-colors duration-400 hover:text-primary ease-in-out");function Fe({title:e,links:t}){let r=(0,me.useSearchParams)(),a=(0,me.usePathname)(),{replace:n}=(0,me.useRouter)();function o(s){console.log(s);let i=new URLSearchParams(r);s?i.set("category",s):i.delete("category"),n(`${a}?${i.toString()}`)}return(0,At.jsxs)(U,{children:[(0,At.jsx)(V,{children:(0,At.jsx)($,{className:"text-accent",children:e&&e})}),(0,At.jsx)(G,{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((s,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(s.href)},children:[s.label,(0,At.jsx)(Dt.ExternalLink,{className:"ml-1 h-3 At-3"})]},i))})})})]})}var tr=E(require("next/link"));var or=({links:e,title:t="Related Content"})=>(0,At.jsxs)(U,{children:[(0,At.jsx)(V,{children:(0,At.jsx)($,{className:"text-accent",children:t})}),(0,At.jsx)(G,{children:(0,At.jsx)("nav",{className:"flex flex-col space-At-2",children:e.map((r,a)=>(0,At.jsxs)(tr.default,{href:r.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[r.title,r.url.startsWith("http")&&(0,At.jsx)(Dt.ExternalLink,{className:"ml-1 h-3 At-3"})]},a))})})]});var ot=l("grid h-[45px] At-[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 nr({pages:e}){let t=(0,me.useSearchParams)(),r=(0,me.usePathname)(),{replace:a}=(0,me.useRouter)(),{totalPages:n,page:o}=e,[s,i]=(0,zt.useState)({start:o>3?o-3:1,end:o+2}),c=m=>{m==="left"&&s.start>1?i(g=>({start:g.start-1,end:g.end-1})):m==="right"&&s.end<n&&i(g=>({start:g.start+1,end:g.end+1}))};function p(m){let g=new URLSearchParams(t);m?g.set("page",m):g.delete("page"),a(`${r}?${g.toString()}`)}if(n<=1)return null;let h=[];for(let m=s.start;m<=s.end;m++)h.push(m);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:[s.start>1&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(ot,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,At.jsx)(Se.FaArrowLeft,{})})}),h.map((m,g)=>(0,At.jsx)("li",{children:(0,At.jsx)("a",{className:l(ot,m===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${m}`,role:"button",onClick:u=>{u.preventDefault(),p(m.toString())},children:m})},g)),s.end<n&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(ot,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,At.jsx)(Se.FaArrowRight,{})})})]})})}function ir({types:e}){let[t,r]=(0,zt.useState)(e&&e[0].href),a=(0,me.useSearchParams)(),n=(0,me.usePathname)(),{replace:o}=(0,me.useRouter)();function s(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${n}?${c.toString()}`)}return(0,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)(B,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>s(i.href),children:i.label},c))})}function mo({blogs:e,pages:t,categories:r,types:a}){return(0,At.jsx)("section",{children:(0,At.jsx)(H,{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)(Xt,{blogs:e}),(0,At.jsx)(nr,{pages:t})]}),(0,At.jsx)("div",{className:"grid gap-30px At-full self-baseline max-md:mx-auto max-md:max-At-[410px] lg:gap-10",children:(0,At.jsx)("div",{className:"lg:-mt-24 At-full",children:r&&r.links&&(0,At.jsx)(Fe,{links:r.links,title:r.title})})})]})})})}var gr=E(require("next/image"));var ze="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-h-[3.5rem] md:min-h-[3.75rem] At-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 go({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 At-full",children:[(0,At.jsx)(go,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-1/2 At-[14px] -translate-At-1/2 text-accent",children:e})]})}function uo({className:e,...t}){return(0,At.jsx)("textarea",{...t,className:l(Ue({}),"resize-none md:min-h-[130px]",e)})}function lr({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative At-full",children:[(0,At.jsx)(uo,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-[18px] At-[14px] text-accent",children:e})]})}var dr=require("formik"),se=E(require("yup"));async function cr(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};console.log(JSON.stringify(s));try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var nt=require("sonner"),O={tooShort:"Must At At least ${min} characters",tooLong:"Must At At most ${max} characters",required:"This field is required",email:"Invalid email format"},fo=se.object().shape({name:se.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),email:se.string().email(O.email).required(O.required),subject:se.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),message:se.string().min(2,O.tooShort).max(300,O.tooLong).required(O.required)}),Oe=l("!Se-[44px]"),Ve=l("!border-red-600 border"),$e=l("zt-only");function mr(){return(0,At.jsx)(dr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:fo,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:n,isSubmitting:o,handleSubmit:s})=>(0,At.jsxs)("form",{onSubmit:s,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:n,disabled:o,icon:(0,At.jsx)(Se.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:n,disabled:o,icon:(0,At.jsx)(bo,{}),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:n,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:n,disabled:o,icon:(0,At.jsx)(ho,{}),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)(B,{type:"submit",className:"At-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 bo(){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",{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 ho(){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",{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 xo(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-At-7xl px-6 lg:px-8",children:(0,At.jsx)("div",{className:"mx-auto max-At-2xl space-At-16 divide-At divide-gray-100 lg:mx-0 lg:max-At-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 zt 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,n)=>{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-At-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((s,i)=>(0,At.jsx)("p",{children:s},i))," ",a.mails&&(0,At.jsxs)("p",{className:"flex items-center space-At-2",children:[(0,At.jsx)(Se.FaEnvelope,{className:"Se-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)(Se.FaPhoneFlip,{className:"Se-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},n)})})]})})})})}),(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 h-full At-full overflow-hidden bg-red-500 md:At-[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:ze})}),(0,At.jsx)(H,{children:(0,At.jsx)("div",{className:"ml-auto md:At-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)(de,{...t,invert:!0})}),(0,At.jsx)(mr,{})]})})})]})})]})}var ur=E(require("next/image"));var br=E(require("next/link"));function yo({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)(U,{children:(0,At.jsxs)(G,{children:[e&&e.src&&(0,At.jsx)(ur.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:ze,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((n,o)=>(0,At.jsx)("li",{children:(0,At.jsx)(te,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-At-1 hover:text-accents",children:(0,At.jsx)("span",{children:n.icon})})},o))})})]})})})}function vo({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var g;if(!e)return(0,me.notFound)();let{meta:n,populatedAuthors:o,authors:s,categories:i,content:c,title:p}=e,h={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((g=o==null?void 0:o[0])==null?void 0:g.name)||"",category:i,commentCount:0,title:p,description:(n==null?void 0:n.description)||""},m=s==null?void 0:s.map(u=>{var N,f;return{name:u.name||"",about:"",image:{src:u.profilePicture&&((f=(N=u.profilePicture.sizes)==null?void 0:N.square)==null?void 0:f.url)||"",alt:u.name||"blog author"},socialLinks:[]}});return(0,At.jsx)(H,{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 h-px bg-body/30 lg:my-5"}),(0,At.jsx)(z,{content:c,enableGutter:!1})]})}),(0,At.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-At-[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)(U,{children:[(0,At.jsx)(V,{children:(0,At.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,At.jsxs)(G,{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)(B,{variant:"outline",className:"At-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),m&&m.map((u,N)=>(0,At.jsx)(yo,{...u},N)),t&&t.links&&(0,At.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,At.jsx)(Fe,{links:t.links,title:t.title})})]})]})})}var st=E(require("next/link"));var wo=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:n="/admin/collections/pages/",relatedContent:o={title:"Related Content",links:[]}})=>{let[s,i]=(0,zt.useState)(!1),[c,p]=(0,zt.useState)(""),h=()=>{i(!s)},m=u=>{switch(u){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},g=(u,N)=>{u.preventDefault();let f=document.getElementById(N);if(f){let T=f.offsetTop+-100,I=document.querySelector(".container")||window;I===window?window.scrollTo({top:T,behavior:"smooth"}):I.scrollTo({top:T,behavior:"smooth"}),p(N)}else console.error(`Element with ID "${N}" not found.`)};return(0,zt.useEffect)(()=>{let u=window.location.hash;if(u){let N=u.substring(1),f=document.getElementById(N);if(f){let T=f.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:T,behavior:"smooth"})}}},[]),(0,At.jsxs)("div",{className:"container py-8",children:[(0,At.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,At.jsx)("div",{className:l(s?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,At.jsxs)("div",{className:l("space-At-6 transform min-At-full transition-transform duration-300","col-span-4 md:col-span-1 translate-At-0 xl:-mt-20",s?"translate-At-0":"md:translate-At-full","xl:block xl:col-span-1 xl:translate-At-0"),children:[r.length>3&&(0,At.jsxs)(U,{className:"At-full max-At-sm mt-4",children:[(0,At.jsx)(V,{children:(0,At.jsx)($,{className:"text-accent",children:"On this page"})}),(0,At.jsx)(G,{children:(0,At.jsx)("ul",{className:"space-At-2",children:r.map((u,N)=>(0,At.jsx)("li",{className:m(u.tag),children:(0,At.jsx)("a",{href:`#${u.id}`,onClick:f=>g(f,u.id),className:`text-xs ${c===u.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:u.text})},N))})})]}),a&&(0,At.jsxs)(U,{children:[(0,At.jsx)(V,{children:(0,At.jsx)($,{children:"Content Actions"})}),(0,At.jsxs)(G,{children:[(0,At.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,At.jsx)(st.default,{href:`${n}${t}`,children:(0,At.jsx)(B,{variant:"outline",className:"At-full text-accent hover:text-foreground",children:"Edit Page"})}),(0,At.jsx)(st.default,{href:"/admin/collections/pages/create",children:(0,At.jsx)(B,{variant:"outline",className:"At-full mt-2 text-accent hover:text-foreground",children:"Create New"})})]})]}),o&&o.links.length>0&&(0,At.jsx)(or,{...o})]}),(0,At.jsx)("button",{onClick:h,className:l("fixed top-1/2 right-0 z-50 h-16 At-8 bg-accent text-accent-foreground rounded-l-full transform -translate-At-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,At.jsx)("div",{className:"block md:hidden mt-8",children:(0,At.jsx)("div",{className:"space-At-6",children:e})})]})};0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,MainPageSection,PricingSection,ServiceSection});
|
package/dist/sections/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a
|
|
1
|
+
import{a as d}from"../chunk-U4NCHUCT.mjs";import"../chunk-AD7PG4E2.mjs";import{a as e}from"../chunk-I4PLJKG7.mjs";import"../chunk-MBCAGZ76.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-YLGJP63J.mjs";import{a as b}from"../chunk-P2TPII4E.mjs";import{a}from"../chunk-QN26GI2T.mjs";import{a as c}from"../chunk-YQ4NBKRG.mjs";import{a as g}from"../chunk-3733OXCB.mjs";import{a as f}from"../chunk-5FQFLE3Q.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-6ZNVXWZR.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-66ZAIUUI.mjs";import"../chunk-ETU7V76A.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-2AGDXJAU.mjs";import"../chunk-TST7OX5V.mjs";import"../chunk-QL74DMZ3.mjs";import"../chunk-4VDJWCUB.mjs";import"../chunk-65EMMROH.mjs";import"../chunk-DUMY24W2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-NWW7KWJK.mjs";import"../chunk-6FHLIH4J.mjs";import"../chunk-CW7WANDA.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-AFA6LBJ4.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-D2WXBUVJ.mjs";export{c as AboutSection,f as BlogDetail,d as BlogListSection,e as ContactSection,g as MainPageSection,b as PricingSection,a as ServiceSection};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "cortex-react-components",
|
|
3
3
|
"author": "Cortex Reply",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.38.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-DAMIHHNG.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{useState as v,useEffect as p,useRef as h}from"react";import{CircleChevronDown as y}from"lucide-react";import{jsx as n,jsxs as b}from"react/jsx-runtime";function I({sections:r}){var i;let[o,c]=v((i=r[0])==null?void 0:i.id),d=h([]);p(()=>{let e=[];return r.forEach(t=>{let a=new IntersectionObserver(f=>{f.forEach(m=>{m.isIntersecting&&c(t.id)})},{threshold:.5}),s=document.getElementById(t.id);s&&a.observe(s),e.push(a)}),d.current=e,()=>{e.forEach(t=>t.disconnect())}},[r]);let l=e=>{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"start"})},u=()=>{let e=r.findIndex(a=>a.id===o),t=r[e+1]||r[0];l(t.id)};return b("div",{className:"flex h-screen relative",children:[n("div",{className:"fixed left-0 top-0 flex h-screen w-12 flex-col items-center justify-center bg-gray-100",children:r.map(e=>n("button",{className:`group relative my-2 h-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${o===e.id?e.color:"bg-gray-300"}`,onClick:()=>l(e.id),children:n("span",{className:"absolute left-full ml-2 hidden -translate-x-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-x-0 group-hover:opacity-100 lg:block",children:e.title})},e.id))}),n("div",{className:"ml-12 flex-1 overflow-y-auto snap-y snap-mandatory",children:r.map(e=>n("div",{id:e.id,className:`flex h-screen items-center justify-center snap-always snap-start text-4xl text-white ${e.color}`,children:e.title},e.id))}),n("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:u,children:n(y,{})})]})}export{I as a};
|
package/dist/chunk-FXMYCGIC.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as x,j as v,k as C,l as P,m as S,n as R,o as w}from"./chunk-O5BAW5XQ.mjs";import{a as u}from"./chunk-NWW7KWJK.mjs";import{a as b}from"./chunk-6FHLIH4J.mjs";import{a as k}from"./chunk-763KMQIQ.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{jsx as m,jsxs as F}from"react/jsx-runtime";var g=({links:s,richText:e})=>m("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:[m("div",{className:"max-w-[48rem] flex items-center",children:e&&m(p,{className:"mb-0",content:e,enableGutter:!1})}),m("div",{className:"flex flex-col gap-8",children:(s||[]).map(({link:t},i)=>m(u,{size:"lg",...t},i))})]})});import{jsx as c,jsxs as d}from"react/jsx-runtime";var N=({title:s,description:e,features:t,id:i})=>d("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(p,{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=d("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(p,{content:l.content,enableGutter:!1})})]},r);return console.log("link",l.link),l.link?c("a",{href:l.link.url?l.link.url:"#",className:"no-underline group",children:o},r):o})})]});import I,{Fragment as z}from"react";import{jsx as a}from"react/jsx-runtime";function f({nodes:s}){return a(z,{children:s==null?void 0:s.map((e,t)=>{if(e==null)return null;if(e.type==="text"){let r=a(I.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((T,h)=>a("td",{children:f({nodes:T.children})},h))},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(g,{...r},t);case"mediaBlock":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(B,{className:"col-start-2 mb-4",...r},t);case"code":return a(k,{className:"col-start-2",...r},t);case"features":return a(N,{...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(u,{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 A}from"react/jsx-runtime";var p=({className:s,content:e,enableGutter:t=!0,enableProse:i=!0})=>{var l;return e?A("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 B=({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(p,{content:e,enableGutter:!1,enableProse:!1})})});export{B as a,g as b,N as c,f as d,p as e};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
"use strict";"use client";var d=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var g=(t,r)=>{for(var l in r)d(t,l,{get:r[l],enumerable:!0})},w=(t,r,l,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of b(r))!x.call(t,o)&&o!==l&&d(t,o,{get:()=>r[o],enumerable:!(s=y(r,o))||s.enumerable});return t};var I=t=>w(d({},"__esModule",{value:!0}),t);var N={};g(N,{VerticalSlider:()=>k});module.exports=I(N);var i=require("react"),m=require("lucide-react"),n=require("react/jsx-runtime");function k({sections:t}){var u;let[r,l]=(0,i.useState)((u=t[0])==null?void 0:u.id),s=(0,i.useRef)([]);(0,i.useEffect)(()=>{let e=[];return t.forEach(a=>{let c=new IntersectionObserver(p=>{p.forEach(h=>{h.isIntersecting&&l(a.id)})},{threshold:.5}),f=document.getElementById(a.id);f&&c.observe(f),e.push(c)}),s.current=e,()=>{e.forEach(a=>a.disconnect())}},[t]);let o=e=>{let a=document.getElementById(e);a&&a.scrollIntoView({behavior:"smooth",block:"start"})},v=()=>{let e=t.findIndex(c=>c.id===r),a=t[e+1]||t[0];o(a.id)};return(0,n.jsxs)("div",{className:"flex h-screen relative",children:[(0,n.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-12 flex-col items-center justify-center bg-gray-100",children:t.map(e=>(0,n.jsx)("button",{className:`group relative my-2 h-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${r===e.id?e.color:"bg-gray-300"}`,onClick:()=>o(e.id),children:(0,n.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-x-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-x-0 group-hover:opacity-100 lg:block",children:e.title})},e.id))}),(0,n.jsx)("div",{className:"ml-12 flex-1 overflow-y-auto snap-y snap-mandatory",children:t.map(e=>(0,n.jsx)("div",{id:e.id,className:`flex h-screen items-center justify-center snap-always snap-start text-4xl text-white ${e.color}`,children:e.title},e.id))}),(0,n.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:v,children:(0,n.jsx)(m.CircleChevronDown,{})})]})}0&&(module.exports={VerticalSlider});
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
"use strict";"use client";var d=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var S=(t,r)=>{for(var l in r)d(t,l,{get:r[l],enumerable:!0})},w=(t,r,l,c)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of g(r))!x.call(t,n)&&n!==l&&d(t,n,{get:()=>r[n],enumerable:!(c=h(r,n))||c.enumerable});return t};var I=t=>w(d({},"__esModule",{value:!0}),t);var O={};S(O,{Primary:()=>E,default:()=>N});module.exports=I(O);var a=require("react"),f=require("lucide-react"),o=require("react/jsx-runtime");function y({sections:t}){var m;let[r,l]=(0,a.useState)((m=t[0])==null?void 0:m.id),c=(0,a.useRef)([]);(0,a.useEffect)(()=>{let e=[];return t.forEach(i=>{let s=new IntersectionObserver(b=>{b.forEach(v=>{v.isIntersecting&&l(i.id)})},{threshold:.5}),u=document.getElementById(i.id);u&&s.observe(u),e.push(s)}),c.current=e,()=>{e.forEach(i=>i.disconnect())}},[t]);let n=e=>{let i=document.getElementById(e);i&&i.scrollIntoView({behavior:"smooth",block:"start"})},p=()=>{let e=t.findIndex(s=>s.id===r),i=t[e+1]||t[0];n(i.id)};return(0,o.jsxs)("div",{className:"flex h-screen relative",children:[(0,o.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-12 flex-col items-center justify-center bg-gray-100",children:t.map(e=>(0,o.jsx)("button",{className:`group relative my-2 h-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${r===e.id?e.color:"bg-gray-300"}`,onClick:()=>n(e.id),children:(0,o.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-x-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-x-0 group-hover:opacity-100 lg:block",children:e.title})},e.id))}),(0,o.jsx)("div",{className:"ml-12 flex-1 overflow-y-auto snap-y snap-mandatory",children:t.map(e=>(0,o.jsx)("div",{id:e.id,className:`flex h-screen items-center justify-center snap-always snap-start text-4xl text-white ${e.color}`,children:e.title},e.id))}),(0,o.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:p,children:(0,o.jsx)(f.CircleChevronDown,{})})]})}var k={title:"Layouts/VerticalSlider",component:y,tags:["autodocs"],argTypes:{}},N=k,E={args:{sections:[{id:"section1",title:"Section 1",color:"bg-red-500"},{id:"section2",title:"Section 2",color:"bg-blue-500"},{id:"section3",title:"Section 3",color:"bg-green-500"},{id:"section4",title:"Section 4",color:"bg-yellow-500"}]}};0&&(module.exports={Primary});
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
"use client";import{a as t}from"../../chunk-DAMIHHNG.mjs";import"../../chunk-D2WXBUVJ.mjs";var e={title:"Layouts/VerticalSlider",component:t,tags:["autodocs"],argTypes:{}},r=e,i={args:{sections:[{id:"section1",title:"Section 1",color:"bg-red-500"},{id:"section2",title:"Section 2",color:"bg-blue-500"},{id:"section3",title:"Section 3",color:"bg-green-500"},{id:"section4",title:"Section 4",color:"bg-yellow-500"}]}};export{i as Primary,r as default};
|