cortex-react-components 1.19.2 → 1.19.3
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-DLC3IQRM.mjs → chunk-2XFMQU5T.mjs} +1 -1
- package/dist/{chunk-CQLNCTJO.mjs → chunk-4DKHBSMY.mjs} +1 -1
- package/dist/{chunk-NSUCU5DU.mjs → chunk-5O6DFU4X.mjs} +1 -1
- package/dist/{chunk-KVLKXXVS.mjs → chunk-6AIYOOQB.mjs} +1 -1
- package/dist/chunk-6V5FD4OV.mjs +1 -0
- package/dist/{chunk-HOTJ3KYZ.mjs → chunk-APJGF4AI.mjs} +1 -1
- package/dist/{chunk-GCVL4HMJ.mjs → chunk-CLX23VLS.mjs} +1 -1
- package/dist/{chunk-FHRWUBJS.mjs → chunk-DSLEVJ5J.mjs} +1 -1
- package/dist/{chunk-SHZ3X2LK.mjs → chunk-E3FZ6GTZ.mjs} +1 -1
- package/dist/{chunk-2FGQTHNV.mjs → chunk-FD56GYLU.mjs} +1 -1
- package/dist/{chunk-N7Z6I6KY.mjs → chunk-G2IGGQXC.mjs} +1 -1
- package/dist/{chunk-O7JZET2F.mjs → chunk-GXHXPWKT.mjs} +1 -1
- package/dist/{chunk-5SNY6JHQ.mjs → chunk-MGZHZWWG.mjs} +1 -1
- package/dist/{chunk-QXFTL6FL.mjs → chunk-UJRNR62B.mjs} +1 -1
- package/dist/{chunk-KHYUZ2PB.mjs → chunk-VYJK4R76.mjs} +1 -1
- package/dist/{chunk-Q3HKMCDA.mjs → chunk-W4BDQBY4.mjs} +1 -1
- package/dist/{chunk-7I6CEMWZ.mjs → chunk-YFEOMNAK.mjs} +1 -1
- package/dist/{chunk-SXONQUDJ.mjs → chunk-YJLGN2LA.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogListSection.d.ts +2 -2
- package/dist/sections/BlogListSection.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.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-B7BQ4RAA.mjs +0 -1
package/dist/sections/index.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";var jt=Object.create;var de=Object.defineProperty;var Kt=Object.getOwnPropertyDescriptor;var Qt=Object.getOwnPropertyNames;var _t=Object.getPrototypeOf,Wt=Object.prototype.hasOwnProperty;var $t=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},qe=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Qt(t))!Wt.call(e,s)&&s!==r&&de(e,s,{get:()=>t[s],enumerable:!(o=Kt(t,s))||o.enumerable});return e};var M=(e,t,r)=>(r=e!=null?jt(_t(e)):{},qe(t||!e||!e.__esModule?de(r,"default",{value:e,enumerable:!0}):r,e)),Jt=e=>qe(de({},"__esModule",{value:!0}),e);var Wr={};$t(Wr,{AboutSection:()=>Er,BlogListSection:()=>Gr,ContactSection:()=>_r,PricingSection:()=>Lr,ServiceSection:()=>Rr});module.exports=Jt(Wr);var nt=require("clsx");var Me="-",qt=e=>{let t=Xt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:n=>{let i=n.split(Me);return i[0]===""&&i.length!==1&&i.shift(),et(i,t)||Zt(n)},getConflictingClassGroupIds:(n,i)=>{let u=r[n]||[];return i&&o[n]?[...u,...o[n]]:u}}},et=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),s=o?et(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;let a=e.join(Me);return(n=t.validators.find(({validator:i})=>i(a)))==null?void 0:n.classGroupId},Ze=/^\[(.+)\]$/,Zt=e=>{if(Ze.test(e)){let t=Ze.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Xt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return tr(Object.entries(e.classGroups),r).forEach(([a,n])=>{Ie(n,o,a,t)}),o},Ie=(e,t,r,o)=>{e.forEach(s=>{if(typeof s=="string"){let a=s===""?t:Xe(t,s);a.classGroupId=r;return}if(typeof s=="function"){if(er(s)){Ie(s(o),t,r,o);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([a,n])=>{Ie(n,Xe(t,a),r,o)})})},Xe=(e,t)=>{let r=e;return t.split(Me).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},er=e=>e.isThemeGetter,tr=(e,t)=>t?e.map(([r,o])=>{let s=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([n,i])=>[t+n,i])):a);return[r,s]}):e,rr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,s=(a,n)=>{r.set(a,n),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let n=r.get(a);if(n!==void 0)return n;if((n=o.get(a))!==void 0)return s(a,n),n},set(a,n){r.has(a)?r.set(a,n):s(a,n)}}},tt="!",or=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,s=t[0],a=t.length,n=i=>{let u=[],m=0,f=0,k;for(let v=0;v<i.length;v++){let N=i[v];if(m===0){if(N===s&&(o||i.slice(v,v+a)===t)){u.push(i.slice(f,v)),f=v+a;continue}if(N==="/"){k=v;continue}}N==="["?m++:N==="]"&&m--}let A=u.length===0?i:i.substring(f),B=A.startsWith(tt),T=B?A.substring(1):A,y=k&&k>f?k-f:void 0;return{modifiers:u,hasImportantModifier:B,baseClassName:T,maybePostfixModifierPosition:y}};return r?i=>r({className:i,parseClassName:n}):n},ar=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},sr=e=>({cache:rr(e.cacheSize),parseClassName:or(e),...qt(e)}),nr=/\s+/,ir=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s}=t,a=[],n=e.trim().split(nr),i="";for(let u=n.length-1;u>=0;u-=1){let m=n[u],{modifiers:f,hasImportantModifier:k,baseClassName:A,maybePostfixModifierPosition:B}=r(m),T=!!B,y=o(T?A.substring(0,B):A);if(!y){if(!T){i=m+(i.length>0?" "+i:i);continue}if(y=o(A),!y){i=m+(i.length>0?" "+i:i);continue}T=!1}let v=ar(f).join(":"),N=k?v+tt:v,S=N+y;if(a.includes(S))continue;a.push(S);let V=s(y,T);for(let O=0;O<V.length;++O){let ie=V[O];a.push(N+ie)}i=m+(i.length>0?" "+i:i)}return i};function lr(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=rt(t))&&(o&&(o+=" "),o+=r);return o}var rt=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=rt(e[o]))&&(r&&(r+=" "),r+=t);return r};function cr(e,...t){let r,o,s,a=n;function n(u){let m=t.reduce((f,k)=>k(f),e());return r=sr(m),o=r.cache.get,s=r.cache.set,a=i,i(u)}function i(u){let m=o(u);if(m)return m;let f=ir(u,r);return s(u,f),f}return function(){return a(lr.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ot=/^\[(?:([a-it-]+):)?(.+)\]$/i,dr=/^\d+\/\d+$/,pr=new Set(["px","full","screen"]),mr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|it|pc|in|cm|mm|cap|ch|ex|r?lh|cq(it|h|i|it|min|max))|\it(calc|min|max|clamp)\(.+\)|^0$/,ur=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,fr=/^(inset_)?-?((\d+)?\.?(\d+)[a-it]+|0)it-?((\d+)?\.?(\d+)[a-it]+|0)/,br=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>$(e)||pr.has(e)||dr.test(e),H=e=>J(e,"length",Nr),$=e=>!!e&&!Number.isNaN(Number(e)),Re=e=>J(e,"number",$),ae=e=>!!e&&Number.isInteger(Number(e)),hr=e=>e.endsWith("%")&&$(e.slice(0,-1)),d=e=>ot.test(e),U=e=>mr.test(e),xr=new Set(["length","size","percentage"]),yr=e=>J(e,xr,at),vr=e=>J(e,"position",at),wr=new Set(["image","url"]),Cr=e=>J(e,wr,Pr),Ar=e=>J(e,"",kr),se=()=>!0,J=(e,t,r)=>{let o=ot.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Nr=e=>gr.test(e)&&!ur.test(e),at=()=>!1,kr=e=>fr.test(e),Pr=e=>br.test(e);var Sr=()=>{let e=h("colors"),t=h("spacing"),r=h("blur"),o=h("brightness"),s=h("borderColor"),a=h("borderRadius"),n=h("borderSpacing"),i=h("borderWidth"),u=h("contrast"),m=h("grayscale"),f=h("hueRotate"),k=h("invert"),A=h("gap"),B=h("gradientColorStops"),T=h("gradientColorStopPositions"),y=h("inset"),v=h("margin"),N=h("opacity"),S=h("padding"),V=h("saturate"),O=h("scale"),ie=h("sepia"),je=h("skew"),Ke=h("space"),Qe=h("translate"),Pe=()=>["auto","contain","none"],Se=()=>["auto","hidden","clip","visible","scroll"],Be=()=>["auto",d,t],x=()=>[d,t],_e=()=>["",F,H],le=()=>["auto",$,d],We=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ce=()=>["solid","dashed","dotted","double","none"],$e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Te=()=>["start","end","center","between","around","evenly","stretch"],oe=()=>["","0",d],Je=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>[$,d];return{cacheSize:500,separator:":",theme:{colors:[se],spacing:[F,H],blur:["none","",U,d],brightness:E(),borderColor:[e],borderRadius:["none","","full",U,d],borderSpacing:x(),borderWidth:_e(),contrast:E(),grayscale:oe(),hueRotate:E(),invert:oe(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[hr,H],inset:Be(),margin:Be(),opacity:E(),padding:x(),saturate:E(),scale:E(),sepia:oe(),skew:E(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":Je()}],"break-before":[{"break-before":Je()}],"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:[...We(),d]}],overflow:[{overflow:Se()}],"overflow-x":[{"overflow-x":Se()}],"overflow-y":[{"overflow-y":Se()}],overscroll:[{overscroll:Pe()}],"overscroll-x":[{"overscroll-x":Pe()}],"overscroll-y":[{"overscroll-y":Pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],it:[{it:["auto",ae,d]}],basis:[{basis:Be()}],"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:oe()}],shrink:[{shrink:oe()}],order:[{order:["first","last","none",ae,d]}],"grid-cols":[{"grid-cols":[se]}],"col-start-end":[{col:["auto",{span:["full",ae,d]},d]}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":[se]}],"row-start-end":[{row:["auto",{span:[ae,d]},d]}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...Te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],it:[{it:[S]}],px:[{px:[S]}],py:[{py:[S]}],ps:[{ps:[S]}],pe:[{pe:[S]}],it:[{it:[S]}],pr:[{pr:[S]}],pb:[{pb:[S]}],pl:[{pl:[S]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[Ke]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ke]}],"space-y-reverse":["space-y-reverse"],it:[{it:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-it":[{"min-it":[d,t,"min","max","fit"]}],"max-it":[{"max-it":[d,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],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",U,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Re]}],"font-family":[{font:[se]}],"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",$,Re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,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":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,H]}],"underline-offset":[{"underline-offset":["auto",F,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:x()}],"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":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...We(),vr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","it","bl","l","tl"]},Cr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[T]}],"gradient-via-pos":[{via:[T]}],"gradient-to-pos":[{to:[T]}],"gradient-from":[{from:[B]}],"gradient-via":[{via:[B]}],"gradient-to":[{to:[B]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-it":[{"rounded-it":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-it":[{border:[i]}],"border-it-x":[{"border-x":[i]}],"border-it-y":[{"border-y":[i]}],"border-it-s":[{"border-s":[i]}],"border-it-e":[{"border-e":[i]}],"border-it-t":[{"border-t":[i]}],"border-it-r":[{"border-r":[i]}],"border-it-it":[{"border-it":[i]}],"border-it-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...ce(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:ce()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-it":[{"border-it":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ce()]}],"outline-offset":[{"outline-offset":[F,d]}],"outline-it":[{outline:[F,H]}],"outline-color":[{outline:[e]}],"ring-it":[{ring:_e()}],"ring-it-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-it":[{"ring-offset":[F,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,Ar]}],"shadow-color":[{shadow:[se]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...$e(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$e()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",U,d]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[k]}],saturate:[{saturate:[V]}],sepia:[{sepia:[ie]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[k]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[ie]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-x":[{"scale-x":[O]}],"scale-y":[{"scale-y":[O]}],rotate:[{rotate:[ae,d]}],"translate-x":[{"translate-x":[Qe]}],"translate-y":[{"translate-y":[Qe]}],"skew-x":[{"skew-x":[je]}],"skew-y":[{"skew-y":[je]}],"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","it-resize","it-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","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-it":[{"scroll-it":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-it":[{"scroll-it":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-it":[{stroke:[F,H,Re]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],it:["px","py","ps","pe","it","pr","pb","pl"],px:["pr","pl"],py:["it","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["it","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-it","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-it":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-it":["border-it-s","border-it-e","border-it-t","border-it-r","border-it-it","border-it-l"],"border-it-x":["border-it-r","border-it-l"],"border-it-y":["border-it-t","border-it-it"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-it","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-it"],"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-it":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-it","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-it","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var st=cr(Sr);function l(...e){return st((0,nt.clsx)(e))}var it=require("react/jsx-runtime");function L({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let s=l("container",t&&"full-width",r&&"no-padding",o);return(0,it.jsx)("div",{className:s,children:e})}var pe=(e,t)=>e[t%e.length];var lt=require("@radix-ui/react-slot"),ct=require("class-variance-authority"),dt=M(require("react")),Br=(0,ct.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 it-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),R=dt.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...s},a)=>(0,it.jsx)(e?lt.Slot:"button",{className:l(Br({className:t,size:r,variant:o})),ref:a,...s}));R.displayName="Button";var mt=({type:e="solid",iconName:t="cloud",size:r="lg",className:o})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",a="fa-"+t,n=o!=null?o:"",i=s+a+" fa-"+r+" "+n;return(0,it.jsx)("i",{className:i})};var ut=M(require("next/link"));function Y({children:e,href:t,openNewTab:r,...o}){return(0,it.jsx)(ut.default,{href:t,target:r?"_blank":"_self",...o,children:e})}function Tr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function bt({icon:e,title:t,description:r,slug:o}){return(0,it.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative it-1 block h-full space-y-6 overflow-hidden rounded-5 it-6 md:space-y-7 md:it-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,it.jsxs)("div",{className:"flex items-center gap-5",children:[(0,it.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:Tr(e)?(0,it.jsx)(mt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,it.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o?(0,it.jsx)(Y,{href:o,children:t}):t})]}),(0,it.jsx)("it",{className:"text-body dark:text-body",children:r}),o&&(0,it.jsx)(R,{asChild:!0,className:l(["rounded-5 border it-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,it.jsxs)(Y,{href:o,children:[(0,it.jsx)("span",{children:"Read More"}),(0,it.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,it.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,it.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,it.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] it-full scale-x-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-x-100 group-hover/service:opacity-100"})]})}function Rr({services:e,className:t}){return(0,it.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,it.jsx)(L,{className:"py-8",children:e&&e.length>0&&(0,it.jsx)("div",{className:"flex flex-wrap justify-center gap-y-8",children:e.map((r,o)=>(0,it.jsx)("div",{"data-aos":"fade-up","data-aos-delay":pe([200,400,600],o),className:"it-full px-4 md:it-1/2 lg:it-1/3",children:(0,it.jsx)(bt,{...r})},o))})})})}var me=require("react-icons/fa6");function ht({title:e,description:t,features:r,price:o,duration:s,button:a}){return(0,it.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,it.jsxs)("div",{className:"h-full border-card it-6 dark:border-opacity-20 max-lg:border-it max-lg:it-14 lg:border-r lg:it-10",children:[(0,it.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,it.jsx)("it",{children:t})]}),(0,it.jsx)("div",{className:"relative my-auto it-6 max-lg:pb-14 md:it-10",children:(0,it.jsxs)("div",{className:"flex flex-col justify-stretch gap-x-14 gap-y-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,it.jsx)("ul",{"aria-label":"pricing point list",className:"grid it-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((n,i)=>(0,it.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,it.jsx)("span",{className:"text-accent it-1",children:(0,it.jsx)(me.FaCircleCheck,{})}),(0,it.jsx)("span",{children:n})]},i))}),(0,it.jsxs)("it",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,it.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),a&&(0,it.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,it.jsx)(R,{asChild:!0,className:"border-2 it-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,it.jsxs)(Y,{href:a.href,openNewTab:a.openNewTab,children:[(0,it.jsx)("span",{className:"relative it-1",children:a.label}),(0,it.jsx)("span",{className:"relative it-1 pl-2",children:(0,it.jsx)(me.FaAnglesRight,{})})]})})})]})})]})}var xt=({className:e,content:t,style:r})=>(0,it.jsx)("div",{className:l("mx-auto my-8 it-full",e),children:(0,it.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,it.jsx)(Z,{content:t,enableGutter:!1,enableProse:!1})})});var Le=M(require("next/link")),ue=e=>{let{type:t,appearance:r="inline",children:o,className:s,label:a,newTab:n,reference:i,size:u,url:m}=e,f=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:m;if(!f)return null;let k=r==="link"?"clear":u,A=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,it.jsxs)(Le.default,{className:l(s),href:f||m||"",...A,children:[a&&a,o&&o]}):(0,it.jsx)(R,{asChild:!0,className:s,size:k,variant:r,children:(0,it.jsxs)(Le.default,{className:l(s),href:f||m||"",...A,children:[a&&a,o&&o]})})};var yt=({links:e,richText:t})=>(0,it.jsx)("div",{className:"container",children:(0,it.jsxs)("div",{className:"bg-card rounded border-border border it-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,it.jsx)("div",{className:"max-it-[48rem] flex items-center",children:t&&(0,it.jsx)(Z,{className:"mb-0",content:t,enableGutter:!1})}),(0,it.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},o)=>(0,it.jsx)(ue,{size:"lg",...r},o))})]})});var fe=require("prism-react-renderer");var vt=require("lucide-react"),wt=require("react");function Ct({code:e}){let[t,r]=(0,wt.useState)("Copy");function o(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,it.jsx)("div",{className:"flex justify-end align-middle",children:(0,it.jsxs)(R,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,it.jsx)("it",{children:t}),(0,it.jsx)("div",{className:"it-6 h-6 dark:invert",children:(0,it.jsx)(vt.ClipboardCopy,{})})]})})}var At=({code:e,language:t=""})=>e?(0,it.jsx)(fe.Highlight,{code:e,language:t,theme:fe.themes.vsDark,children:({getLineProps:r,getTokenProps:o,tokens:s})=>(0,it.jsxs)("pre",{className:"bg-black it-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((a,n)=>(0,it.jsxs)("div",{...r({className:"table-row",line:a}),children:[(0,it.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,it.jsx)("span",{className:"table-cell pl-4",children:a.map((i,u)=>(0,it.jsx)("span",{...o({token:i})},u))})]},n)),(0,it.jsx)(Ct,{code:e})]})}):null;var Nt=({className:e,code:t,language:r})=>(0,it.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,it.jsx)(At,{code:t,language:r})});var Pt=M(require("next/image"));var kt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var be=()=>{if(kt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ir={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Mr="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=",St=e=>{let{alt:t,fill:r,imgClassName:o,priority:s,resource:a,size:n,src:i,loading:u}=e,m,f,k=t,A=i||"";if(!A&&a&&typeof a=="object"){let{alt:y,filename:v,height:N,url:S,width:V}=a;m=V,f=N,k=y||"",A=`${be()}${S}`}let B=u||"lazy",T=n||Object.entries(Ir).map(([,y])=>`(max-width: ${y}px) ${y*2}it`).join(", ");return(0,it.jsx)("picture",{children:(0,it.jsx)(Pt.default,{alt:k||"",className:l(o),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Mr,priority:B!=="lazy"&&s,quality:100,loading:B,sizes:T,src:A,width:r?void 0:m})})};var Bt=e=>{let{onClick:t,resource:r,videoClassName:o}=e,s=(0,wt.useRef)(null);if((0,wt.useEffect)(()=>{let{current:a}=s;a&&a.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:a}=r;return(0,it.jsx)("video",{autoPlay:!0,className:l(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,it.jsx)("source",{src:`${be()}/media/${a}`})})}return null};var Rt=e=>{var n;let{className:t,htmlElement:r="div",resource:o}=e,s=typeof o=="object"&&((n=o==null?void 0:o.mimeType)==null?void 0:n.includes("video"));return(0,it.jsx)(r||wt.Fragment,{...r!==null?{className:t}:{},children:s?(0,it.jsx)(Bt,{...e}):(0,it.jsx)(St,{...e})})};var It=e=>{let{className:t,enableGutter:r=!0,imgClassName:o,media:s,staticImage:a}=e;return(0,it.jsx)("div",{className:l("",{container:r},t),children:(0,it.jsx)(Rt,{imgClassName:l("border border-border rounded-[0.8rem]",o),resource:s,src:a})})};var ye=M(require("react"));function He({nodes:e}){return(0,it.jsx)(ye.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let a=(0,it.jsx)(ye.default.Fragment,{children:t.text},r);return t.format&1&&(a=(0,it.jsx)("strong",{children:a},r)),t.format&2&&(a=(0,it.jsx)("em",{children:a},r)),t.format&4&&(a=(0,it.jsx)("span",{style:{textDecoration:"line-through"},children:a},r)),t.format&8&&(a=(0,it.jsx)("span",{style:{textDecoration:"underline"},children:a},r)),t.format&16&&(a=(0,it.jsx)("code",{children:t.text},r)),t.format&32&&(a=(0,it.jsx)("sub",{children:a},r)),t.format&64&&(a=(0,it.jsx)("sup",{children:a},r)),a}let o=a=>{if(a.children==null)return null;if((a==null?void 0:a.type)==="list"&&(a==null?void 0:a.listType)==="check")for(let n of a.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return He({nodes:a.children})},s="children"in t?o(t):"";if(t.type==="block"){let a=t.fields,n=a==null?void 0:a.blockType;if(!a||!n)return null;switch(n){case"cta":return(0,it.jsx)(yt,{...a},r);case"mediaBlock":return(0,it.jsx)(It,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-it-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,it.jsx)(xt,{className:"col-start-2 mb-4",...a},r);case"code":return(0,it.jsx)(Nt,{className:"col-start-2",...a},r);default:return null}}else switch(t.type){case"linebreak":return(0,it.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,it.jsx)("it",{className:"col-start-2",children:s},r);case"heading":{let a=t==null?void 0:t.tag;return(0,it.jsx)(a,{className:"col-start-2",children:s},r)}case"list":{let a=t==null?void 0:t.tag;return(0,it.jsx)(a,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,it.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,it.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,it.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let a=t.fields;return(0,it.jsx)(ue,{newTab:!!(a!=null&&a.newTab),reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:s},r)}default:return null}})})}var Z=({className:e,content:t,enableGutter:r=!0,enableProse:o=!0})=>{var s;return t?(0,it.jsx)("div",{className:l({"container ":r,"max-it-none":!r,"mx-auto prose dark:prose-invert ":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&He({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function X({subtitle:e,title:t,description:r,alignment:o="start",hasBottomSpacing:s=!1,className:a}){let n=l(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},a);return(0,it.jsxs)("div",{className:n,children:[e&&(0,it.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,it.jsx)("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-accent-900 dark:text-white md:text-2xl",children:t}),typeof r=="string"?r&&(0,it.jsx)("it",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,it.jsx)(Z,{content:r,enableGutter:!1})]})}function Lr({sectionHeading:e,cards:t}){return(0,it.jsx)("section",{className:"section-padding-primary !it-0",children:(0,it.jsxs)(L,{children:[(0,it.jsx)("div",{className:"mx-auto max-it-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,it.jsx)(X,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,it.jsx)("div",{className:"grid gap-30px",children:t.map((r,o)=>(0,it.jsx)("div",{"data-aos":"fade-up","data-aos-delay":pe([200,400,600],o),className:"py-2",children:(0,it.jsx)(ht,{...r})},o))})]})})}var ee=M(require("next/image"));function Er(e){let{images:t,sectionHeading:r,keyPoints:o,description:s}=e;return(0,it.jsx)("section",{className:"section-padding-primary overflow-hidden",children:(0,it.jsx)(L,{children:(0,it.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,it.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,it.jsx)(X,{...r}),o&&o.length>0&&(0,it.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:o.map((a,n)=>(0,it.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,it.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:a.icon}),(0,it.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a.title})]},n))}),s&&(0,it.jsx)("it",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),t&&(0,it.jsx)("div",{className:"mx-auto text-center",children:(0,it.jsxs)("div",{className:"relative mx-auto grid max-it-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,it.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,it.jsxs)("div",{className:"relative it-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,it.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -it-1 h-full it-full rounded-tl-[60px] bg-primary-light"}),(0,it.jsx)("div",{className:"relative it-[4] overflow-hidden",children:(0,it.jsx)(ee.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,it.jsx)(ee.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] it-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,it.jsx)("div",{className:"flex overflow-hidden",children:(0,it.jsx)(ee.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,it.jsx)("div",{className:"ml-auto flex max-it-[250px] justify-end overflow-hidden",children:(0,it.jsx)(ee.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,it.jsx)("div",{className:"overflow-hidden",children:(0,it.jsx)(ee.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,it.jsx)("div",{className:"absolute left-1/2 top-1/2 it-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:(0,it.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,it.jsx)("span",{className:"grid h-[100px] it-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,it.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,it.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 Q=M(require("react"));var Ue=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Ue.displayName="Card";var Ge=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 it-6",e),...t}));Ge.displayName="CardHeader";var Ve=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));Ve.displayName="CardTitle";var Fr=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Fr.displayName="CardDescription";var Oe=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("it-6 it-0",e),...t}));Oe.displayName="CardContent";var Dr=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("flex items-center it-6 it-0",e),...t}));Dr.displayName="CardFooter";var Ft=M(require("next/image"));var Lt=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${o}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${s}`};var zr={links:[{label:"Genarel consturction",href:""},{label:"Business Advice",href:""},{label:"Stock market",href:""},{label:"Regular start",href:""},{label:"Regular start",href:""}]};function Hr({links:e}){return(0,it.jsx)("div",{className:"space-y-5 rounded-5 bg-accent-100 it-8 dark:bg-accent-700 lg:it-10",children:(0,it.jsxs)(Ue,{children:[(0,it.jsx)(Ge,{children:(0,it.jsx)(Ve,{children:"Categories"})}),(0,it.jsx)(Oe,{children:e&&e.length>0&&(0,it.jsx)("nav",{"aria-label":"footer links navigation",children:(0,it.jsx)("ul",{className:"grid gap-2.5 ",children:e.map((t,r)=>(0,it.jsxs)("li",{className:"flex items-center gap-2.5 it-2.5 first:it-0",children:[(0,it.jsx)("span",{className:"grid h-3 it-3 place-items-center border border-accent",children:(0,it.jsx)("span",{className:"block h-0.5 it-0.5 bg-accent"})}),(0,it.jsx)(Y,{href:t.href,className:Ur,children:t.label})]},r))})})})]})})}var Et=l("grid h-[65px] it-[65px] place-items-center border border-[#3b3b3b] font-secondary text-base font-bold text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground"),Ur=l("transition-colors duration-400 hover:text-primary ease-in-out");function Gr({blogs:e,pages:t}){return(0,it.jsx)("section",{className:"section-padding-primary",children:(0,it.jsx)(L,{children:(0,it.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,it.jsx)("div",{children:e&&e.length>0&&(0,it.jsxs)("div",{className:"grid gap-10 lg:gap-20",children:[e.map((r,o)=>(0,it.jsx)(Vr,{post:r,id:o},o)),(0,it.jsx)("div",{children:(0,it.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[Array.from({length:t.totalPages},(r,o)=>o<4||o===t.totalPages-1?(0,it.jsx)("li",{children:(0,it.jsx)("a",{className:Et,href:"#","aria-label":`pagination button ${o+1}`,role:"button",children:o+1})},o):o===4?(0,it.jsx)("li",{children:(0,it.jsx)("span",{className:"pagination-ellipsis",children:"..."})},o):null),t.totalPages>4&&(0,it.jsx)("li",{children:(0,it.jsx)("a",{className:l(Et,"border-accent bg-accent text-accent-foreground"),href:"#","aria-label":"pagination button",role:"button",children:(0,it.jsx)(me.FaArrowRight,{})})})]})})]})}),(0,it.jsx)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-it-[410px] lg:gap-10",children:(0,it.jsx)(Hr,{...zr})})]})})})}var Vr=({post:e,id:t})=>{let{slug:r,image:o,authors:s,categories:a,title:n,description:i,publishedAt:u}=e;return(0,it.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,it.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:it-64 lg:shrink-0",children:[o&&(0,it.jsx)(Ft.default,{src:o.src,alt:o.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,it.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,it.jsxs)("div",{children:[(0,it.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,it.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Lt(e.publishedAt)}),e.categories.map((m,f)=>(0,it.jsx)("a",{href:`#${m}`,className:"relative it-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:m},f))]}),(0,it.jsxs)("div",{className:"group relative max-it-xl",children:[(0,it.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,it.jsxs)("a",{href:e.slug,children:[(0,it.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,it.jsx)("it",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,it.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 it-6",children:s.map((m,f)=>(0,it.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[m.image?(0,it.jsx)("img",{alt:m.image.alt,src:m.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,it.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,it.jsx)("div",{className:"text-sm/6",children:(0,it.jsxs)("it",{className:"text-foreground pr-6",children:[(0,it.jsx)("span",{className:"absolute inset-0"}),m.name]})})]},f))})]})]},t)};var Yt=M(require("next/image"));var zt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function ve({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] it-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 Or({className:e,...t}){return(0,it.jsx)("input",{...t,className:ve({className:e})})}function we({icon:e,...t}){return(0,it.jsxs)("div",{className:"relative it-full",children:[(0,it.jsx)(Or,{...t}),e&&(0,it.jsx)("span",{className:"absolute right-5 top-1/2 it-[14px] -translate-y-1/2 text-primary",children:e})]})}function Yr({className:e,...t}){return(0,it.jsx)("textarea",{...t,className:l(ve({}),"resize-none md:min-h-[130px]",e)})}function Ht({icon:e,...t}){return(0,it.jsxs)("div",{className:"relative it-full",children:[(0,it.jsx)(Yr,{...t}),e&&(0,it.jsx)("span",{className:"absolute right-5 top-[18px] it-[14px] text-primary",children:e})]})}var Gt=require("formik"),W=M(require("yup"));async function Ut(e){let{name:t,email:r,subject:o,message:s}=e,a=process.env.TEAMS_WEBHOOK_URL;if(!a)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};console.log(JSON.stringify(n));try{let i=await fetch(a,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ye=require("sonner"),I={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},jr=W.object().shape({name:W.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),email:W.string().email(I.email).required(I.required),subject:W.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),message:W.string().min(2,I.tooShort).max(300,I.tooLong).required(I.required)}),Ce=l("!pr-[44px]"),Ae=l("!border-red-600 border"),Ne=l("sr-only");function Ot(){return(0,it.jsx)(Gt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:jr,onSubmit:async(e,{resetForm:t})=>{let r=await Ut(e);r.data===null?Ye.toast.error(r.message):(Ye.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:o,handleBlur:s,isSubmitting:a,handleSubmit:n})=>(0,it.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 it-2 lg:grid-cols-2",children:[(0,it.jsxs)("div",{children:[(0,it.jsx)(we,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:o,onBlur:s,disabled:a,icon:(0,it.jsx)(me.FaUser,{}),className:l(Ce,e.name&&t.name&&Ae)}),e.name&&t.name&&(0,it.jsx)("it",{title:e.name,"aria-live":"polite",role:"error message",className:Ne,children:e.name})]}),(0,it.jsxs)("div",{children:[(0,it.jsx)(we,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:o,onBlur:s,disabled:a,icon:(0,it.jsx)(Kr,{}),className:l(Ce,e.email&&t.email&&Ae)}),e.email&&t.email&&(0,it.jsx)("it",{title:e.email,"aria-live":"polite",role:"error message",className:Ne,children:e.email})]}),(0,it.jsxs)("div",{className:"lg:col-span-2",children:[(0,it.jsx)(we,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:o,onBlur:s,disabled:a,className:l(Ce,e.subject&&t.subject&&Ae)}),e.subject&&t.subject&&(0,it.jsx)("it",{title:e.subject,"aria-live":"polite",role:"error message",className:Ne,children:e.subject})]}),(0,it.jsxs)("div",{className:"lg:col-span-2",children:[(0,it.jsx)(Ht,{placeholder:"Write Message...",name:"message",value:r.message,onChange:o,onBlur:s,disabled:a,icon:(0,it.jsx)(Qr,{}),className:l(Ce,e.message&&t.message&&Ae)}),e.message&&t.message&&(0,it.jsx)("it",{title:e.message,"aria-live":"polite",role:"error message",className:Ne,children:e.message})]}),(0,it.jsx)("div",{className:"lg:col-span-2",children:(0,it.jsx)(R,{type:"submit",className:"it-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:a,children:(0,it.jsx)("span",{children:"SEND"})})})]})})}function Kr(){return(0,it.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,it.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 Qr(){return(0,it.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,it.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 _r(e){let{sectionHeading:t,image:r}=e;return(0,it.jsxs)(it.Fragment,{children:[(0,it.jsx)("section",{className:"section-padding-primary",children:(0,it.jsx)("div",{className:"",children:(0,it.jsx)("div",{className:"mx-auto max-it-7xl px-6 lg:px-8",children:(0,it.jsx)("div",{className:"mx-auto max-it-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-it-none",children:(0,it.jsxs)("div",{className:"grid grid-cols-1 gap-10 it-16 lg:grid-cols-3",children:[(0,it.jsxs)("div",{children:[(0,it.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,it.jsx)("it",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,it.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((o,s)=>{var a;return(0,it.jsxs)("div",{className:"rounded-2xl it-10 border",children:[(0,it.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:o.title}),(0,it.jsxs)("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(a=o.location.split(","))==null?void 0:a.map((n,i)=>(0,it.jsx)("it",{children:n},i))," ",o.mails&&(0,it.jsxs)("it",{className:"flex items-center space-x-2",children:[(0,it.jsx)(me.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,it.jsx)("span",{children:o.mails[0]})]}),o.phoneNumbers&&o.phoneNumbers.length>0&&(0,it.jsxs)("it",{className:"flex items-center space-x-2",children:[(0,it.jsx)(me.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),o.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,it.jsx)("section",{className:"section-padding-primary",children:(0,it.jsxs)("div",{className:"relative py-[60px]",children:[(0,it.jsx)("div",{className:"absolute left-0 top-0 it-1 h-full it-full overflow-hidden bg-red-500 md:it-[56%] md:rounded-r-5",children:(0,it.jsx)(Yt.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:zt})}),(0,it.jsx)(L,{children:(0,it.jsx)("div",{className:"ml-auto md:it-1/2",children:(0,it.jsxs)("div",{className:"relative it-[2] rounded-5 bg-white it-10 shadow-1 dark:bg-accent-700 lg:it-[60px]",children:[(0,it.jsx)("div",{className:"mb-30px",children:(0,it.jsx)(X,{...t})}),(0,it.jsx)(Ot,{})]})})})]})})]})}0&&(module.exports={AboutSection,BlogListSection,ContactSection,PricingSection,ServiceSection});
|
|
5
|
+
"use strict";var jt=Object.create;var de=Object.defineProperty;var Kt=Object.getOwnPropertyDescriptor;var Qt=Object.getOwnPropertyNames;var _t=Object.getPrototypeOf,Wt=Object.prototype.hasOwnProperty;var $t=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},qe=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Qt(t))!Wt.call(e,s)&&s!==r&&de(e,s,{get:()=>t[s],enumerable:!(o=Kt(t,s))||o.enumerable});return e};var M=(e,t,r)=>(r=e!=null?jt(_t(e)):{},qe(t||!e||!e.__esModule?de(r,"default",{value:e,enumerable:!0}):r,e)),Jt=e=>qe(de({},"__esModule",{value:!0}),e);var Wr={};$t(Wr,{AboutSection:()=>Er,BlogListSection:()=>Gr,ContactSection:()=>_r,PricingSection:()=>Lr,ServiceSection:()=>Rr});module.exports=Jt(Wr);var nt=require("clsx");var Me="-",qt=e=>{let t=Xt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:n=>{let i=n.split(Me);return i[0]===""&&i.length!==1&&i.shift(),et(i,t)||Zt(n)},getConflictingClassGroupIds:(n,i)=>{let u=r[n]||[];return i&&o[n]?[...u,...o[n]]:u}}},et=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),s=o?et(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;let a=e.join(Me);return(n=t.validators.find(({validator:i})=>i(a)))==null?void 0:n.classGroupId},Ze=/^\[(.+)\]$/,Zt=e=>{if(Ze.test(e)){let t=Ze.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Xt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return tr(Object.entries(e.classGroups),r).forEach(([a,n])=>{Ie(n,o,a,t)}),o},Ie=(e,t,r,o)=>{e.forEach(s=>{if(typeof s=="string"){let a=s===""?t:Xe(t,s);a.classGroupId=r;return}if(typeof s=="function"){if(er(s)){Ie(s(o),t,r,o);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([a,n])=>{Ie(n,Xe(t,a),r,o)})})},Xe=(e,t)=>{let r=e;return t.split(Me).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},er=e=>e.isThemeGetter,tr=(e,t)=>t?e.map(([r,o])=>{let s=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([n,i])=>[t+n,i])):a);return[r,s]}):e,rr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,s=(a,n)=>{r.set(a,n),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let n=r.get(a);if(n!==void 0)return n;if((n=o.get(a))!==void 0)return s(a,n),n},set(a,n){r.has(a)?r.set(a,n):s(a,n)}}},tt="!",or=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,s=t[0],a=t.length,n=i=>{let u=[],m=0,f=0,k;for(let v=0;v<i.length;v++){let N=i[v];if(m===0){if(N===s&&(o||i.slice(v,v+a)===t)){u.push(i.slice(f,v)),f=v+a;continue}if(N==="/"){k=v;continue}}N==="["?m++:N==="]"&&m--}let A=u.length===0?i:i.substring(f),B=A.startsWith(tt),T=B?A.substring(1):A,y=k&&k>f?k-f:void 0;return{modifiers:u,hasImportantModifier:B,baseClassName:T,maybePostfixModifierPosition:y}};return r?i=>r({className:i,parseClassName:n}):n},ar=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},sr=e=>({cache:rr(e.cacheSize),parseClassName:or(e),...qt(e)}),nr=/\s+/,ir=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s}=t,a=[],n=e.trim().split(nr),i="";for(let u=n.length-1;u>=0;u-=1){let m=n[u],{modifiers:f,hasImportantModifier:k,baseClassName:A,maybePostfixModifierPosition:B}=r(m),T=!!B,y=o(T?A.substring(0,B):A);if(!y){if(!T){i=m+(i.length>0?" "+i:i);continue}if(y=o(A),!y){i=m+(i.length>0?" "+i:i);continue}T=!1}let v=ar(f).join(":"),N=k?v+tt:v,S=N+y;if(a.includes(S))continue;a.push(S);let V=s(y,T);for(let O=0;O<V.length;++O){let ie=V[O];a.push(N+ie)}i=m+(i.length>0?" "+i:i)}return i};function lr(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=rt(t))&&(o&&(o+=" "),o+=r);return o}var rt=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=rt(e[o]))&&(r&&(r+=" "),r+=t);return r};function cr(e,...t){let r,o,s,a=n;function n(u){let m=t.reduce((f,k)=>k(f),e());return r=sr(m),o=r.cache.get,s=r.cache.set,a=i,i(u)}function i(u){let m=o(u);if(m)return m;let f=ir(u,r);return s(u,f),f}return function(){return a(lr.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ot=/^\[(?:([a-it-]+):)?(.+)\]$/i,dr=/^\d+\/\d+$/,pr=new Set(["px","full","screen"]),mr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|it|pc|in|cm|mm|cap|ch|ex|r?lh|cq(it|h|i|it|min|max))|\it(calc|min|max|clamp)\(.+\)|^0$/,ur=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,fr=/^(inset_)?-?((\d+)?\.?(\d+)[a-it]+|0)it-?((\d+)?\.?(\d+)[a-it]+|0)/,br=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>$(e)||pr.has(e)||dr.test(e),H=e=>J(e,"length",Nr),$=e=>!!e&&!Number.isNaN(Number(e)),Re=e=>J(e,"number",$),ae=e=>!!e&&Number.isInteger(Number(e)),hr=e=>e.endsWith("%")&&$(e.slice(0,-1)),d=e=>ot.test(e),U=e=>mr.test(e),xr=new Set(["length","size","percentage"]),yr=e=>J(e,xr,at),vr=e=>J(e,"position",at),wr=new Set(["image","url"]),Cr=e=>J(e,wr,Pr),Ar=e=>J(e,"",kr),se=()=>!0,J=(e,t,r)=>{let o=ot.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Nr=e=>gr.test(e)&&!ur.test(e),at=()=>!1,kr=e=>fr.test(e),Pr=e=>br.test(e);var Sr=()=>{let e=h("colors"),t=h("spacing"),r=h("blur"),o=h("brightness"),s=h("borderColor"),a=h("borderRadius"),n=h("borderSpacing"),i=h("borderWidth"),u=h("contrast"),m=h("grayscale"),f=h("hueRotate"),k=h("invert"),A=h("gap"),B=h("gradientColorStops"),T=h("gradientColorStopPositions"),y=h("inset"),v=h("margin"),N=h("opacity"),S=h("padding"),V=h("saturate"),O=h("scale"),ie=h("sepia"),je=h("skew"),Ke=h("space"),Qe=h("translate"),Pe=()=>["auto","contain","none"],Se=()=>["auto","hidden","clip","visible","scroll"],Be=()=>["auto",d,t],x=()=>[d,t],_e=()=>["",F,H],le=()=>["auto",$,d],We=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ce=()=>["solid","dashed","dotted","double","none"],$e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Te=()=>["start","end","center","between","around","evenly","stretch"],oe=()=>["","0",d],Je=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>[$,d];return{cacheSize:500,separator:":",theme:{colors:[se],spacing:[F,H],blur:["none","",U,d],brightness:E(),borderColor:[e],borderRadius:["none","","full",U,d],borderSpacing:x(),borderWidth:_e(),contrast:E(),grayscale:oe(),hueRotate:E(),invert:oe(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[hr,H],inset:Be(),margin:Be(),opacity:E(),padding:x(),saturate:E(),scale:E(),sepia:oe(),skew:E(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":Je()}],"break-before":[{"break-before":Je()}],"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:[...We(),d]}],overflow:[{overflow:Se()}],"overflow-x":[{"overflow-x":Se()}],"overflow-y":[{"overflow-y":Se()}],overscroll:[{overscroll:Pe()}],"overscroll-x":[{"overscroll-x":Pe()}],"overscroll-y":[{"overscroll-y":Pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],it:[{it:["auto",ae,d]}],basis:[{basis:Be()}],"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:oe()}],shrink:[{shrink:oe()}],order:[{order:["first","last","none",ae,d]}],"grid-cols":[{"grid-cols":[se]}],"col-start-end":[{col:["auto",{span:["full",ae,d]},d]}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":[se]}],"row-start-end":[{row:["auto",{span:[ae,d]},d]}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...Te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],it:[{it:[S]}],px:[{px:[S]}],py:[{py:[S]}],ps:[{ps:[S]}],pe:[{pe:[S]}],it:[{it:[S]}],pr:[{pr:[S]}],pb:[{pb:[S]}],pl:[{pl:[S]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[Ke]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ke]}],"space-y-reverse":["space-y-reverse"],it:[{it:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-it":[{"min-it":[d,t,"min","max","fit"]}],"max-it":[{"max-it":[d,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],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",U,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Re]}],"font-family":[{font:[se]}],"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",$,Re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,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":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,H]}],"underline-offset":[{"underline-offset":["auto",F,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:x()}],"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":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...We(),vr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","it","bl","l","tl"]},Cr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[T]}],"gradient-via-pos":[{via:[T]}],"gradient-to-pos":[{to:[T]}],"gradient-from":[{from:[B]}],"gradient-via":[{via:[B]}],"gradient-to":[{to:[B]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-it":[{"rounded-it":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-it":[{border:[i]}],"border-it-x":[{"border-x":[i]}],"border-it-y":[{"border-y":[i]}],"border-it-s":[{"border-s":[i]}],"border-it-e":[{"border-e":[i]}],"border-it-t":[{"border-t":[i]}],"border-it-r":[{"border-r":[i]}],"border-it-it":[{"border-it":[i]}],"border-it-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...ce(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:ce()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-it":[{"border-it":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ce()]}],"outline-offset":[{"outline-offset":[F,d]}],"outline-it":[{outline:[F,H]}],"outline-color":[{outline:[e]}],"ring-it":[{ring:_e()}],"ring-it-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-it":[{"ring-offset":[F,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,Ar]}],"shadow-color":[{shadow:[se]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...$e(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$e()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",U,d]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[k]}],saturate:[{saturate:[V]}],sepia:[{sepia:[ie]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[k]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[ie]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-x":[{"scale-x":[O]}],"scale-y":[{"scale-y":[O]}],rotate:[{rotate:[ae,d]}],"translate-x":[{"translate-x":[Qe]}],"translate-y":[{"translate-y":[Qe]}],"skew-x":[{"skew-x":[je]}],"skew-y":[{"skew-y":[je]}],"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","it-resize","it-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","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-it":[{"scroll-it":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-it":[{"scroll-it":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-it":[{stroke:[F,H,Re]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],it:["px","py","ps","pe","it","pr","pb","pl"],px:["pr","pl"],py:["it","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["it","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-it","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-it":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-it":["border-it-s","border-it-e","border-it-t","border-it-r","border-it-it","border-it-l"],"border-it-x":["border-it-r","border-it-l"],"border-it-y":["border-it-t","border-it-it"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-it","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-it"],"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-it":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-it","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-it","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var st=cr(Sr);function l(...e){return st((0,nt.clsx)(e))}var it=require("react/jsx-runtime");function L({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let s=l("container",t&&"full-width",r&&"no-padding",o);return(0,it.jsx)("div",{className:s,children:e})}var pe=(e,t)=>e[t%e.length];var lt=require("@radix-ui/react-slot"),ct=require("class-variance-authority"),dt=M(require("react")),Br=(0,ct.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 it-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),R=dt.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...s},a)=>(0,it.jsx)(e?lt.Slot:"button",{className:l(Br({className:t,size:r,variant:o})),ref:a,...s}));R.displayName="Button";var mt=({type:e="solid",iconName:t="cloud",size:r="lg",className:o})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",a="fa-"+t,n=o!=null?o:"",i=s+a+" fa-"+r+" "+n;return(0,it.jsx)("i",{className:i})};var ut=M(require("next/link"));function Y({children:e,href:t,openNewTab:r,...o}){return(0,it.jsx)(ut.default,{href:t,target:r?"_blank":"_self",...o,children:e})}function Tr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function bt({icon:e,title:t,description:r,slug:o}){return(0,it.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative it-1 block h-full space-y-6 overflow-hidden rounded-5 it-6 md:space-y-7 md:it-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,it.jsxs)("div",{className:"flex items-center gap-5",children:[(0,it.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:Tr(e)?(0,it.jsx)(mt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,it.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o?(0,it.jsx)(Y,{href:o,children:t}):t})]}),(0,it.jsx)("it",{className:"text-body dark:text-body",children:r}),o&&(0,it.jsx)(R,{asChild:!0,className:l(["rounded-5 border it-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,it.jsxs)(Y,{href:o,children:[(0,it.jsx)("span",{children:"Read More"}),(0,it.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,it.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,it.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,it.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] it-full scale-x-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-x-100 group-hover/service:opacity-100"})]})}function Rr({services:e,className:t}){return(0,it.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,it.jsx)(L,{className:"py-8",children:e&&e.length>0&&(0,it.jsx)("div",{className:"flex flex-wrap justify-center gap-y-8",children:e.map((r,o)=>(0,it.jsx)("div",{"data-aos":"fade-up","data-aos-delay":pe([200,400,600],o),className:"it-full px-4 md:it-1/2 lg:it-1/3",children:(0,it.jsx)(bt,{...r})},o))})})})}var me=require("react-icons/fa6");function ht({title:e,description:t,features:r,price:o,duration:s,button:a}){return(0,it.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,it.jsxs)("div",{className:"h-full border-card it-6 dark:border-opacity-20 max-lg:border-it max-lg:it-14 lg:border-r lg:it-10",children:[(0,it.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,it.jsx)("it",{children:t})]}),(0,it.jsx)("div",{className:"relative my-auto it-6 max-lg:pb-14 md:it-10",children:(0,it.jsxs)("div",{className:"flex flex-col justify-stretch gap-x-14 gap-y-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,it.jsx)("ul",{"aria-label":"pricing point list",className:"grid it-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((n,i)=>(0,it.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,it.jsx)("span",{className:"text-accent it-1",children:(0,it.jsx)(me.FaCircleCheck,{})}),(0,it.jsx)("span",{children:n})]},i))}),(0,it.jsxs)("it",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,it.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),a&&(0,it.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,it.jsx)(R,{asChild:!0,className:"border-2 it-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,it.jsxs)(Y,{href:a.href,openNewTab:a.openNewTab,children:[(0,it.jsx)("span",{className:"relative it-1",children:a.label}),(0,it.jsx)("span",{className:"relative it-1 pl-2",children:(0,it.jsx)(me.FaAnglesRight,{})})]})})})]})})]})}var xt=({className:e,content:t,style:r})=>(0,it.jsx)("div",{className:l("mx-auto my-8 it-full",e),children:(0,it.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,it.jsx)(Z,{content:t,enableGutter:!1,enableProse:!1})})});var Le=M(require("next/link")),ue=e=>{let{type:t,appearance:r="inline",children:o,className:s,label:a,newTab:n,reference:i,size:u,url:m}=e,f=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:m;if(!f)return null;let k=r==="link"?"clear":u,A=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,it.jsxs)(Le.default,{className:l(s),href:f||m||"",...A,children:[a&&a,o&&o]}):(0,it.jsx)(R,{asChild:!0,className:s,size:k,variant:r,children:(0,it.jsxs)(Le.default,{className:l(s),href:f||m||"",...A,children:[a&&a,o&&o]})})};var yt=({links:e,richText:t})=>(0,it.jsx)("div",{className:"container",children:(0,it.jsxs)("div",{className:"bg-card rounded border-border border it-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,it.jsx)("div",{className:"max-it-[48rem] flex items-center",children:t&&(0,it.jsx)(Z,{className:"mb-0",content:t,enableGutter:!1})}),(0,it.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},o)=>(0,it.jsx)(ue,{size:"lg",...r},o))})]})});var fe=require("prism-react-renderer");var vt=require("lucide-react"),wt=require("react");function Ct({code:e}){let[t,r]=(0,wt.useState)("Copy");function o(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,it.jsx)("div",{className:"flex justify-end align-middle",children:(0,it.jsxs)(R,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,it.jsx)("it",{children:t}),(0,it.jsx)("div",{className:"it-6 h-6 dark:invert",children:(0,it.jsx)(vt.ClipboardCopy,{})})]})})}var At=({code:e,language:t=""})=>e?(0,it.jsx)(fe.Highlight,{code:e,language:t,theme:fe.themes.vsDark,children:({getLineProps:r,getTokenProps:o,tokens:s})=>(0,it.jsxs)("pre",{className:"bg-black it-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((a,n)=>(0,it.jsxs)("div",{...r({className:"table-row",line:a}),children:[(0,it.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,it.jsx)("span",{className:"table-cell pl-4",children:a.map((i,u)=>(0,it.jsx)("span",{...o({token:i})},u))})]},n)),(0,it.jsx)(Ct,{code:e})]})}):null;var Nt=({className:e,code:t,language:r})=>(0,it.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,it.jsx)(At,{code:t,language:r})});var Pt=M(require("next/image"));var kt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var be=()=>{if(kt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ir={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Mr="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=",St=e=>{let{alt:t,fill:r,imgClassName:o,priority:s,resource:a,size:n,src:i,loading:u}=e,m,f,k=t,A=i||"";if(!A&&a&&typeof a=="object"){let{alt:y,filename:v,height:N,url:S,width:V}=a;m=V,f=N,k=y||"",A=`${be()}${S}`}let B=u||"lazy",T=n||Object.entries(Ir).map(([,y])=>`(max-width: ${y}px) ${y*2}it`).join(", ");return(0,it.jsx)("picture",{children:(0,it.jsx)(Pt.default,{alt:k||"",className:l(o),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Mr,priority:B!=="lazy"&&s,quality:100,loading:B,sizes:T,src:A,width:r?void 0:m})})};var Bt=e=>{let{onClick:t,resource:r,videoClassName:o}=e,s=(0,wt.useRef)(null);if((0,wt.useEffect)(()=>{let{current:a}=s;a&&a.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:a}=r;return(0,it.jsx)("video",{autoPlay:!0,className:l(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,it.jsx)("source",{src:`${be()}/media/${a}`})})}return null};var Rt=e=>{var n;let{className:t,htmlElement:r="div",resource:o}=e,s=typeof o=="object"&&((n=o==null?void 0:o.mimeType)==null?void 0:n.includes("video"));return(0,it.jsx)(r||wt.Fragment,{...r!==null?{className:t}:{},children:s?(0,it.jsx)(Bt,{...e}):(0,it.jsx)(St,{...e})})};var It=e=>{let{className:t,enableGutter:r=!0,imgClassName:o,media:s,staticImage:a}=e;return(0,it.jsx)("div",{className:l("",{container:r},t),children:(0,it.jsx)(Rt,{imgClassName:l("border border-border rounded-[0.8rem]",o),resource:s,src:a})})};var ye=M(require("react"));function He({nodes:e}){return(0,it.jsx)(ye.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let a=(0,it.jsx)(ye.default.Fragment,{children:t.text},r);return t.format&1&&(a=(0,it.jsx)("strong",{children:a},r)),t.format&2&&(a=(0,it.jsx)("em",{children:a},r)),t.format&4&&(a=(0,it.jsx)("span",{style:{textDecoration:"line-through"},children:a},r)),t.format&8&&(a=(0,it.jsx)("span",{style:{textDecoration:"underline"},children:a},r)),t.format&16&&(a=(0,it.jsx)("code",{children:t.text},r)),t.format&32&&(a=(0,it.jsx)("sub",{children:a},r)),t.format&64&&(a=(0,it.jsx)("sup",{children:a},r)),a}let o=a=>{if(a.children==null)return null;if((a==null?void 0:a.type)==="list"&&(a==null?void 0:a.listType)==="check")for(let n of a.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return He({nodes:a.children})},s="children"in t?o(t):"";if(t.type==="block"){let a=t.fields,n=a==null?void 0:a.blockType;if(!a||!n)return null;switch(n){case"cta":return(0,it.jsx)(yt,{...a},r);case"mediaBlock":return(0,it.jsx)(It,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-it-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,it.jsx)(xt,{className:"col-start-2 mb-4",...a},r);case"code":return(0,it.jsx)(Nt,{className:"col-start-2",...a},r);default:return null}}else switch(t.type){case"linebreak":return(0,it.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,it.jsx)("it",{className:"col-start-2",children:s},r);case"heading":{let a=t==null?void 0:t.tag;return(0,it.jsx)(a,{className:"col-start-2",children:s},r)}case"list":{let a=t==null?void 0:t.tag;return(0,it.jsx)(a,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,it.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,it.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,it.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let a=t.fields;return(0,it.jsx)(ue,{newTab:!!(a!=null&&a.newTab),reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:s},r)}default:return null}})})}var Z=({className:e,content:t,enableGutter:r=!0,enableProse:o=!0})=>{var s;return t?(0,it.jsx)("div",{className:l({"container ":r,"max-it-none":!r,"mx-auto prose dark:prose-invert ":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&He({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function X({subtitle:e,title:t,description:r,alignment:o="start",hasBottomSpacing:s=!1,className:a}){let n=l(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},a);return(0,it.jsxs)("div",{className:n,children:[e&&(0,it.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,it.jsx)("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-accent-900 dark:text-white md:text-2xl",children:t}),typeof r=="string"?r&&(0,it.jsx)("it",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,it.jsx)(Z,{content:r,enableGutter:!1})]})}function Lr({sectionHeading:e,cards:t}){return(0,it.jsx)("section",{className:"section-padding-primary !it-0",children:(0,it.jsxs)(L,{children:[(0,it.jsx)("div",{className:"mx-auto max-it-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,it.jsx)(X,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,it.jsx)("div",{className:"grid gap-30px",children:t.map((r,o)=>(0,it.jsx)("div",{"data-aos":"fade-up","data-aos-delay":pe([200,400,600],o),className:"py-2",children:(0,it.jsx)(ht,{...r})},o))})]})})}var ee=M(require("next/image"));function Er(e){let{images:t,sectionHeading:r,keyPoints:o,description:s}=e;return(0,it.jsx)("section",{className:"section-padding-primary overflow-hidden",children:(0,it.jsx)(L,{children:(0,it.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,it.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,it.jsx)(X,{...r}),o&&o.length>0&&(0,it.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:o.map((a,n)=>(0,it.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,it.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:a.icon}),(0,it.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a.title})]},n))}),s&&(0,it.jsx)("it",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),t&&(0,it.jsx)("div",{className:"mx-auto text-center",children:(0,it.jsxs)("div",{className:"relative mx-auto grid max-it-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,it.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,it.jsxs)("div",{className:"relative it-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,it.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -it-1 h-full it-full rounded-tl-[60px] bg-primary-light"}),(0,it.jsx)("div",{className:"relative it-[4] overflow-hidden",children:(0,it.jsx)(ee.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,it.jsx)(ee.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] it-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,it.jsx)("div",{className:"flex overflow-hidden",children:(0,it.jsx)(ee.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,it.jsx)("div",{className:"ml-auto flex max-it-[250px] justify-end overflow-hidden",children:(0,it.jsx)(ee.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,it.jsx)("div",{className:"overflow-hidden",children:(0,it.jsx)(ee.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,it.jsx)("div",{className:"absolute left-1/2 top-1/2 it-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:(0,it.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,it.jsx)("span",{className:"grid h-[100px] it-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,it.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,it.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 Q=M(require("react"));var Ue=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Ue.displayName="Card";var Ge=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 it-6",e),...t}));Ge.displayName="CardHeader";var Ve=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));Ve.displayName="CardTitle";var Fr=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Fr.displayName="CardDescription";var Oe=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("it-6 it-0",e),...t}));Oe.displayName="CardContent";var Dr=Q.forwardRef(({className:e,...t},r)=>(0,it.jsx)("div",{ref:r,className:l("flex items-center it-6 it-0",e),...t}));Dr.displayName="CardFooter";var Ft=M(require("next/image"));var Lt=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${o}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${s}`};var zr={links:[{label:"Genarel consturction",href:""},{label:"Business Advice",href:""},{label:"Stock market",href:""},{label:"Regular start",href:""},{label:"Regular start",href:""}]};function Hr({links:e}){return(0,it.jsx)("div",{className:"space-y-5 rounded-5 bg-accent-100 it-8 dark:bg-accent-700 lg:it-10",children:(0,it.jsxs)(Ue,{children:[(0,it.jsx)(Ge,{children:(0,it.jsx)(Ve,{children:"Categories"})}),(0,it.jsx)(Oe,{children:e&&e.length>0&&(0,it.jsx)("nav",{"aria-label":"footer links navigation",children:(0,it.jsx)("ul",{className:"grid gap-2.5 ",children:e.map((t,r)=>(0,it.jsxs)("li",{className:"flex items-center gap-2.5 it-2.5 first:it-0",children:[(0,it.jsx)("span",{className:"grid h-3 it-3 place-items-center border border-accent",children:(0,it.jsx)("span",{className:"block h-0.5 it-0.5 bg-accent"})}),(0,it.jsx)(Y,{href:t.href,className:Ur,children:t.label})]},r))})})})]})})}var Et=l("grid h-[65px] it-[65px] place-items-center border border-[#3b3b3b] font-secondary text-base font-bold text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground"),Ur=l("transition-colors duration-400 hover:text-primary ease-in-out");function Gr({blogs:e,pages:t}){return(0,it.jsx)("section",{className:"section-padding-primary",children:(0,it.jsx)(L,{children:(0,it.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,it.jsx)("div",{children:e&&e.length>0&&(0,it.jsxs)("div",{className:"grid gap-10 lg:gap-20",children:[e.map((r,o)=>(0,it.jsx)(Vr,{post:r,id:o},o)),(0,it.jsx)("div",{children:(0,it.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[Array.from({length:t.totalPages},(r,o)=>o<4||o===t.totalPages-1?(0,it.jsx)("li",{children:(0,it.jsx)("a",{className:Et,href:"#","aria-label":`pagination button ${o+1}`,role:"button",children:o+1})},o):o===4?(0,it.jsx)("li",{children:(0,it.jsx)("span",{className:"pagination-ellipsis",children:"..."})},o):null),t.totalPages>4&&(0,it.jsx)("li",{children:(0,it.jsx)("a",{className:l(Et,"border-accent bg-accent text-accent-foreground"),href:"#","aria-label":"pagination button",role:"button",children:(0,it.jsx)(me.FaArrowRight,{})})})]})})]})}),(0,it.jsx)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-it-[410px] lg:gap-10",children:(0,it.jsx)(Hr,{...zr})})]})})})}var Vr=({post:e,id:t})=>{let{slug:r,image:o,authors:s,categories:a,title:n,description:i,publishedAt:u}=e;return(0,it.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,it.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:it-64 lg:shrink-0",children:[o&&(0,it.jsx)(Ft.default,{src:o.src,alt:o.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,it.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,it.jsxs)("div",{children:[(0,it.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,it.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Lt(e.publishedAt)}),e.categories&&e.categories.map((m,f)=>(0,it.jsx)("a",{href:`#${m}`,className:"relative it-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:m},f))]}),(0,it.jsxs)("div",{className:"group relative max-it-xl",children:[(0,it.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,it.jsxs)("a",{href:e.slug,children:[(0,it.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,it.jsx)("it",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,it.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 it-6",children:s&&s.map((m,f)=>(0,it.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[m.image?(0,it.jsx)("img",{alt:m.image.alt,src:m.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,it.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,it.jsx)("div",{className:"text-sm/6",children:(0,it.jsxs)("it",{className:"text-foreground pr-6",children:[(0,it.jsx)("span",{className:"absolute inset-0"}),m.name]})})]},f))})]})]},t)};var Yt=M(require("next/image"));var zt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function ve({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] it-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 Or({className:e,...t}){return(0,it.jsx)("input",{...t,className:ve({className:e})})}function we({icon:e,...t}){return(0,it.jsxs)("div",{className:"relative it-full",children:[(0,it.jsx)(Or,{...t}),e&&(0,it.jsx)("span",{className:"absolute right-5 top-1/2 it-[14px] -translate-y-1/2 text-primary",children:e})]})}function Yr({className:e,...t}){return(0,it.jsx)("textarea",{...t,className:l(ve({}),"resize-none md:min-h-[130px]",e)})}function Ht({icon:e,...t}){return(0,it.jsxs)("div",{className:"relative it-full",children:[(0,it.jsx)(Yr,{...t}),e&&(0,it.jsx)("span",{className:"absolute right-5 top-[18px] it-[14px] text-primary",children:e})]})}var Gt=require("formik"),W=M(require("yup"));async function Ut(e){let{name:t,email:r,subject:o,message:s}=e,a=process.env.TEAMS_WEBHOOK_URL;if(!a)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};console.log(JSON.stringify(n));try{let i=await fetch(a,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ye=require("sonner"),I={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},jr=W.object().shape({name:W.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),email:W.string().email(I.email).required(I.required),subject:W.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),message:W.string().min(2,I.tooShort).max(300,I.tooLong).required(I.required)}),Ce=l("!pr-[44px]"),Ae=l("!border-red-600 border"),Ne=l("sr-only");function Ot(){return(0,it.jsx)(Gt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:jr,onSubmit:async(e,{resetForm:t})=>{let r=await Ut(e);r.data===null?Ye.toast.error(r.message):(Ye.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:o,handleBlur:s,isSubmitting:a,handleSubmit:n})=>(0,it.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 it-2 lg:grid-cols-2",children:[(0,it.jsxs)("div",{children:[(0,it.jsx)(we,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:o,onBlur:s,disabled:a,icon:(0,it.jsx)(me.FaUser,{}),className:l(Ce,e.name&&t.name&&Ae)}),e.name&&t.name&&(0,it.jsx)("it",{title:e.name,"aria-live":"polite",role:"error message",className:Ne,children:e.name})]}),(0,it.jsxs)("div",{children:[(0,it.jsx)(we,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:o,onBlur:s,disabled:a,icon:(0,it.jsx)(Kr,{}),className:l(Ce,e.email&&t.email&&Ae)}),e.email&&t.email&&(0,it.jsx)("it",{title:e.email,"aria-live":"polite",role:"error message",className:Ne,children:e.email})]}),(0,it.jsxs)("div",{className:"lg:col-span-2",children:[(0,it.jsx)(we,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:o,onBlur:s,disabled:a,className:l(Ce,e.subject&&t.subject&&Ae)}),e.subject&&t.subject&&(0,it.jsx)("it",{title:e.subject,"aria-live":"polite",role:"error message",className:Ne,children:e.subject})]}),(0,it.jsxs)("div",{className:"lg:col-span-2",children:[(0,it.jsx)(Ht,{placeholder:"Write Message...",name:"message",value:r.message,onChange:o,onBlur:s,disabled:a,icon:(0,it.jsx)(Qr,{}),className:l(Ce,e.message&&t.message&&Ae)}),e.message&&t.message&&(0,it.jsx)("it",{title:e.message,"aria-live":"polite",role:"error message",className:Ne,children:e.message})]}),(0,it.jsx)("div",{className:"lg:col-span-2",children:(0,it.jsx)(R,{type:"submit",className:"it-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:a,children:(0,it.jsx)("span",{children:"SEND"})})})]})})}function Kr(){return(0,it.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,it.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 Qr(){return(0,it.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,it.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 _r(e){let{sectionHeading:t,image:r}=e;return(0,it.jsxs)(it.Fragment,{children:[(0,it.jsx)("section",{className:"section-padding-primary",children:(0,it.jsx)("div",{className:"",children:(0,it.jsx)("div",{className:"mx-auto max-it-7xl px-6 lg:px-8",children:(0,it.jsx)("div",{className:"mx-auto max-it-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-it-none",children:(0,it.jsxs)("div",{className:"grid grid-cols-1 gap-10 it-16 lg:grid-cols-3",children:[(0,it.jsxs)("div",{children:[(0,it.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,it.jsx)("it",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,it.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((o,s)=>{var a;return(0,it.jsxs)("div",{className:"rounded-2xl it-10 border",children:[(0,it.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:o.title}),(0,it.jsxs)("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(a=o.location.split(","))==null?void 0:a.map((n,i)=>(0,it.jsx)("it",{children:n},i))," ",o.mails&&(0,it.jsxs)("it",{className:"flex items-center space-x-2",children:[(0,it.jsx)(me.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,it.jsx)("span",{children:o.mails[0]})]}),o.phoneNumbers&&o.phoneNumbers.length>0&&(0,it.jsxs)("it",{className:"flex items-center space-x-2",children:[(0,it.jsx)(me.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),o.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,it.jsx)("section",{className:"section-padding-primary",children:(0,it.jsxs)("div",{className:"relative py-[60px]",children:[(0,it.jsx)("div",{className:"absolute left-0 top-0 it-1 h-full it-full overflow-hidden bg-red-500 md:it-[56%] md:rounded-r-5",children:(0,it.jsx)(Yt.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:zt})}),(0,it.jsx)(L,{children:(0,it.jsx)("div",{className:"ml-auto md:it-1/2",children:(0,it.jsxs)("div",{className:"relative it-[2] rounded-5 bg-white it-10 shadow-1 dark:bg-accent-700 lg:it-[60px]",children:[(0,it.jsx)("div",{className:"mb-30px",children:(0,it.jsx)(X,{...t})}),(0,it.jsx)(Ot,{})]})})})]})})]})}0&&(module.exports={AboutSection,BlogListSection,ContactSection,PricingSection,ServiceSection});
|
package/dist/sections/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d}from"../chunk-
|
|
1
|
+
import{a as d}from"../chunk-6V5FD4OV.mjs";import{a as e}from"../chunk-2XFMQU5T.mjs";import"../chunk-MGZHZWWG.mjs";import"../chunk-YLGJP63J.mjs";import"../chunk-52UEE46P.mjs";import"../chunk-J3CPOHE6.mjs";import"../chunk-MMBUMBDU.mjs";import{a as b}from"../chunk-E3FZ6GTZ.mjs";import{a}from"../chunk-VPMCRWSX.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-Y56OULXT.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-FNCXXX4V.mjs";import"../chunk-C4W4JBZN.mjs";import"../chunk-SABHLBUI.mjs";import"../chunk-WISCWNL2.mjs";import{a as c}from"../chunk-GXHXPWKT.mjs";import"../chunk-VYJK4R76.mjs";import"../chunk-5O6DFU4X.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-D2WXBUVJ.mjs";export{c as AboutSection,d as BlogListSection,e as ContactSection,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.19.
|
|
5
|
+
"version": "1.19.3",
|
|
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-B7BQ4RAA.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as g,b as m,c,e as d}from"./chunk-D76EO57Z.mjs";import{c as u}from"./chunk-Y56OULXT.mjs";import{a as p}from"./chunk-WISCWNL2.mjs";import{a as f}from"./chunk-UESKYRNK.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import x from"next/image";import{FaArrowRight as h}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";var N={links:[{label:"Genarel consturction",href:""},{label:"Business Advice",href:""},{label:"Stock market",href:""},{label:"Regular start",href:""},{label:"Regular start",href:""}]};function y({links:a}){return e("div",{className:"space-y-5 rounded-5 bg-accent-100 p-8 dark:bg-accent-700 lg:p-10",children:r(g,{children:[e(m,{children:e(c,{children:"Categories"})}),e(d,{children:a&&a.length>0&&e("nav",{"aria-label":"footer links navigation",children:e("ul",{className:"grid gap-2.5 ",children:a.map((s,l)=>r("li",{className:"flex items-center gap-2.5 pt-2.5 first:pt-0",children:[e("span",{className:"grid h-3 w-3 place-items-center border border-accent",children:e("span",{className:"block h-0.5 w-0.5 bg-accent"})}),e(p,{href:s.href,className:C,children:s.label})]},l))})})})]})})}var b=o("grid h-[65px] w-[65px] place-items-center border border-[#3b3b3b] font-secondary text-base font-bold text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground"),C=o("transition-colors duration-400 hover:text-primary ease-in-out");function H({blogs:a,pages:s}){return e("section",{className:"section-padding-primary",children:e(f,{children:r("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[e("div",{children:a&&a.length>0&&r("div",{className:"grid gap-10 lg:gap-20",children:[a.map((l,t)=>e(P,{post:l,id:t},t)),e("div",{children:r("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[Array.from({length:s.totalPages},(l,t)=>t<4||t===s.totalPages-1?e("li",{children:e("a",{className:b,href:"#","aria-label":`pagination button ${t+1}`,role:"button",children:t+1})},t):t===4?e("li",{children:e("span",{className:"pagination-ellipsis",children:"..."})},t):null),s.totalPages>4&&e("li",{children:e("a",{className:o(b,"border-accent bg-accent text-accent-foreground"),href:"#","aria-label":"pagination button",role:"button",children:e(h,{})})})]})})]})}),e("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:e(y,{...N})})]})})})}var P=({post:a,id:s})=>{let{slug:l,image:t,authors:v,categories:k,title:w,description:L,publishedAt:A}=a;return r("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[r("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[t&&e(x,{src:t.src,alt:t.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),e("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),r("div",{children:[r("div",{className:"flex items-center gap-x-4 text-xs",children:[e("time",{dateTime:a.publishedAt,className:"text-foreground",children:u(a.publishedAt)}),a.categories.map((i,n)=>e("a",{href:`#${i}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:i},n))]}),r("div",{className:"group relative max-w-xl",children:[e("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:r("a",{href:a.slug,children:[e("span",{className:"absolute inset-0"}),a.title]})}),e("p",{className:"mt-5 text-sm/6 text-foreground",children:a.description})]}),e("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:v.map((i,n)=>r("div",{className:"relative flex items-center gap-x-4",children:[i.image?e("img",{alt:i.image.alt,src:i.image.src,className:"size-10 rounded-full bg-gray-50"}):e("div",{className:"size-10 rounded-full bg-gray-50"})," ",e("div",{className:"text-sm/6",children:r("p",{className:"text-foreground pr-6",children:[e("span",{className:"absolute inset-0"}),i.name]})})]},n))})]})]},s)};export{H as a};
|