cortex-react-components 1.22.2 → 1.22.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-FD56GYLU.mjs → chunk-3UEZYNR7.mjs} +1 -1
- package/dist/{chunk-BA2R2HZQ.mjs → chunk-72WK7C3W.mjs} +1 -1
- package/dist/{chunk-YFEOMNAK.mjs → chunk-77CKHTBZ.mjs} +1 -1
- package/dist/{chunk-VIPFVWUR.mjs → chunk-AD7PG4E2.mjs} +1 -1
- package/dist/{chunk-IPHHUHS3.mjs → chunk-D43ENVPX.mjs} +1 -1
- package/dist/{chunk-BQQYRB4K.mjs → chunk-DT4BKA5D.mjs} +1 -1
- package/dist/{chunk-5FFTSAM2.mjs → chunk-FXOSDDE3.mjs} +1 -1
- package/dist/{chunk-APJGF4AI.mjs → chunk-HOTJ3KYZ.mjs} +1 -1
- package/dist/{chunk-LBKMUSVR.mjs → chunk-IE2A7UT3.mjs} +1 -1
- package/dist/{chunk-4DKHBSMY.mjs → chunk-KHQHXFXT.mjs} +1 -1
- package/dist/{chunk-2SSVZSE4.mjs → chunk-OCZX7ASJ.mjs} +1 -1
- package/dist/chunk-YNNW2C2U.mjs +1 -0
- package/dist/chunk-Z4CK655R.mjs +1 -0
- package/dist/{chunk-GCBC75DA.mjs → chunk-ZDDN4BC5.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/Footer.js +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.js +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/NewsList.js +1 -1
- package/dist/components/Layouts/NewsList.mjs +1 -1
- package/dist/components/Layouts/NewsList.stories.js +1 -1
- package/dist/components/Layouts/NewsList.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.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/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +71 -71
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- 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/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/utils/formatDateTime.d.ts +1 -0
- package/dist/utils/formatDateTime.js +1 -1
- package/dist/utils/formatDateTime.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5DHGE4OD.mjs +0 -1
- package/dist/chunk-Y56OULXT.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 or=Object.create;var be=Object.defineProperty;var ar=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var nr=Object.getPrototypeOf,ir=Object.prototype.hasOwnProperty;var lr=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},nt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of sr(t))!ir.call(e,s)&&s!==r&&be(e,s,{get:()=>t[s],enumerable:!(a=ar(t,s))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?or(nr(e)):{},nt(t||!e||!e.__esModule?be(r,"default",{value:e,enumerable:!0}):r,e)),cr=e=>nt(be({},"__esModule",{value:!0}),e);var so={};lr(so,{AboutSection:()=>$r,BlogListSection:()=>Zr,ContactSection:()=>ao,PricingSection:()=>Qr,ServiceSection:()=>Yr});module.exports=cr(so);var ft=require("clsx");var Ue="-",dr=e=>{let t=mr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Ue);return i[0]===""&&i.length!==1&&i.shift(),ct(i,t)||pr(n)},getConflictingClassGroupIds:(n,i)=>{let d=r[n]||[];return i&&a[n]?[...d,...a[n]]:d}}},ct=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?ct(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Ue);return(n=t.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},it=/^\[(.+)\]$/,pr=e=>{if(it.test(e)){let t=it.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},mr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return ur(Object.entries(e.classGroups),r).forEach(([o,n])=>{He(n,a,o,t)}),a},He=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:lt(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(gr(s)){He(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{He(n,lt(t,o),r,a)})})},lt=(e,t)=>{let r=e;return t.split(Ue).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},gr=e=>e.isThemeGetter,ur=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,i])=>[t+n,i])):o);return[r,s]}):e,fr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,n)=>{r.set(o,n),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let n=r.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){r.has(o)?r.set(o,n):s(o,n)}}},dt="!",br=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=i=>{let d=[],p=0,b=0,g;for(let C=0;C<i.length;C++){let k=i[C];if(p===0){if(k===s&&(a||i.slice(C,C+o)===t)){d.push(i.slice(b,C)),b=C+o;continue}if(k==="/"){g=C;continue}}k==="["?p++:k==="]"&&p--}let f=d.length===0?i:i.substring(b),S=f.startsWith(dt),I=S?f.substring(1):f,w=g&&g>b?g-b:void 0;return{modifiers:d,hasImportantModifier:S,baseClassName:I,maybePostfixModifierPosition:w}};return r?i=>r({className:i,parseClassName:n}):n},hr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},xr=e=>({cache:fr(e.cacheSize),parseClassName:br(e),...dr(e)}),yr=/\s+/,vr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(yr),i="";for(let d=n.length-1;d>=0;d-=1){let p=n[d],{modifiers:b,hasImportantModifier:g,baseClassName:f,maybePostfixModifierPosition:S}=r(p),I=!!S,w=a(I?f.substring(0,S):f);if(!w){if(!I){i=p+(i.length>0?" "+i:i);continue}if(w=a(f),!w){i=p+(i.length>0?" "+i:i);continue}I=!1}let C=hr(b).join(":"),k=g?C+dt:C,B=k+w;if(o.includes(B))continue;o.push(B);let K=s(w,I);for(let j=0;j<K.length;++j){let ge=K[j];o.push(k+ge)}i=p+(i.length>0?" "+i:i)}return i};function wr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=pt(t))&&(a&&(a+=" "),a+=r);return a}var pt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=pt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Cr(e,...t){let r,a,s,o=n;function n(d){let p=t.reduce((b,g)=>g(b),e());return r=xr(p),a=r.cache.get,s=r.cache.set,o=i,i(d)}function i(d){let p=a(d);if(p)return p;let b=vr(d,r);return s(d,b),b}return function(){return o(wr.apply(null,arguments))}}var x=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},mt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ar=/^\d+\/\d+$/,Nr=new Set(["px","full","screen"]),kr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|bt|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Sr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Rr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=e=>q(e)||Nr.has(e)||Ar.test(e),V=e=>Z(e,"length",zr),q=e=>!!e&&!Number.isNaN(Number(e)),ze=e=>Z(e,"number",q),ce=e=>!!e&&Number.isInteger(Number(e)),Tr=e=>e.endsWith("%")&&q(e.slice(0,-1)),c=e=>mt.test(e),O=e=>kr.test(e),Ir=new Set(["length","size","percentage"]),Mr=e=>Z(e,Ir,gt),Lr=e=>Z(e,"position",gt),Er=new Set(["image","url"]),Dr=e=>Z(e,Er,Ur),Fr=e=>Z(e,"",Hr),de=()=>!0,Z=(e,t,r)=>{let a=mt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},zr=e=>Pr.test(e)&&!Sr.test(e),gt=()=>!1,Hr=e=>Br.test(e),Ur=e=>Rr.test(e);var Gr=()=>{let e=x("colors"),t=x("spacing"),r=x("blur"),a=x("brightness"),s=x("borderColor"),o=x("borderRadius"),n=x("borderSpacing"),i=x("borderWidth"),d=x("contrast"),p=x("grayscale"),b=x("hueRotate"),g=x("invert"),f=x("gap"),S=x("gradientColorStops"),I=x("gradientColorStopPositions"),w=x("inset"),C=x("margin"),k=x("opacity"),B=x("padding"),K=x("saturate"),j=x("scale"),ge=x("sepia"),Xe=x("skew"),et=x("space"),tt=x("translate"),Le=()=>["auto","contain","none"],Ee=()=>["auto","hidden","clip","visible","scroll"],De=()=>["auto",c,t],v=()=>[c,t],rt=()=>["",H,V],ue=()=>["auto",q,c],ot=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],fe=()=>["solid","dashed","dotted","double","none"],at=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Fe=()=>["start","end","center","between","around","evenly","stretch"],le=()=>["","0",c],st=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[q,c];return{cacheSize:500,separator:":",theme:{colors:[de],spacing:[H,V],blur:["none","",O,c],brightness:z(),borderColor:[e],borderRadius:["none","","full",O,c],borderSpacing:v(),borderWidth:rt(),contrast:z(),grayscale:le(),hueRotate:z(),invert:le(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[Tr,V],inset:De(),margin:De(),opacity:z(),padding:v(),saturate:z(),scale:z(),sepia:le(),skew:z(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[O]}],"break-after":[{"break-after":st()}],"break-before":[{"break-before":st()}],"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:[...ot(),c]}],overflow:[{overflow:Ee()}],"overflow-x":[{"overflow-x":Ee()}],"overflow-bt":[{"overflow-bt":Ee()}],overscroll:[{overscroll:Le()}],"overscroll-x":[{"overscroll-x":Le()}],"overscroll-bt":[{"overscroll-bt":Le()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-bt":[{"inset-bt":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ce,c]}],basis:[{basis:De()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:le()}],shrink:[{shrink:le()}],order:[{order:["first","last","none",ce,c]}],"grid-cols":[{"grid-cols":[de]}],"col-start-end":[{col:["auto",{span:["full",ce,c]},c]}],"col-start":[{"col-start":ue()}],"col-end":[{"col-end":ue()}],"grid-rows":[{"grid-rows":[de]}],"row-start-end":[{row:["auto",{span:[ce,c]},c]}],"row-start":[{"row-start":ue()}],"row-end":[{"row-end":ue()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-bt":[{"gap-bt":[f]}],"justify-content":[{justify:["normal",...Fe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Fe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Fe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],pt:[{pt:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],bt:[{bt:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],bt:[{bt:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[et]}],"space-x-reverse":["space-x-reverse"],"space-bt":[{"space-bt":[et]}],"space-bt-reverse":["space-bt-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[O]},O]}],bt:[{bt:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-bt":[{"min-bt":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-bt":[{"max-bt":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",O,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ze]}],"font-family":[{font:[de]}],"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",c]}],"line-clamp":[{"line-clamp":["none",q,ze]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",H,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...fe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",H,V]}],"underline-offset":[{"underline-offset":["auto",H,c]}],"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:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ot(),Lr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","bt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Dr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-oe":[{"rounded-oe":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-bt":[{"border-bt":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...fe(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-bt":[{"divide-bt":[i]}],"divide-bt-reverse":["divide-bt-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:fe()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-bt":[{"border-bt":[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-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...fe()]}],"outline-offset":[{"outline-offset":[H,c]}],"outline-w":[{outline:[H,V]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:rt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[H,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",O,Fr]}],"shadow-color":[{shadow:[de]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...at(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":at()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",O,c]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[g]}],saturate:[{saturate:[K]}],sepia:[{sepia:[ge]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[K]}],"backdrop-sepia":[{"backdrop-sepia":[ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-bt":[{"border-spacing-bt":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-bt":[{"scale-bt":[j]}],rotate:[{rotate:[ce,c]}],"translate-x":[{"translate-x":[tt]}],"translate-bt":[{"translate-bt":[tt]}],"skew-x":[{"skew-x":[Xe]}],"skew-bt":[{"skew-bt":[Xe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","bt-resize","nw-resize","oe-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","bt","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-bt":[{"scroll-bt":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-bt":[{"scroll-bt":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","bt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-bt":[{"touch-pan":["bt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[H,V,ze]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-bt"],overscroll:["overscroll-x","overscroll-bt"],inset:["inset-x","inset-bt","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-bt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-bt"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],bt:["mx","my","ms","bt","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","bt"],"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-b","rounded-l","rounded-ss","rounded-oe","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-oe","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-bt"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-bt":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-bt":["border-color-t","border-color-b"],"scroll-bt":["scroll-mx","scroll-my","scroll-ms","scroll-bt","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-bt","touch-pz"],"touch-x":["touch"],"touch-bt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ut=Cr(Gr);function l(...e){return ut((0,ft.clsx)(e))}var bt=require("react/jsx-runtime");function F({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,bt.jsx)("div",{className:s,children:e})}var he=(e,t)=>e[t%e.length];var ht=require("@radix-ui/react-slot"),xt=require("class-variance-authority"),yt=D(require("react")),Vr=(0,xt.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:"bt-10 px-4 py-2",icon:"bt-10 w-10",lg:"bt-11 rounded px-8",sm:"bt-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=yt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,bt.jsx)(e?ht.Slot:"button",{className:l(Vr({className:t,size:r,variant:a})),ref:o,...s}));R.displayName="Button";var wt=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,n=a!=null?a:"",i=s+o+" fa-"+r+" "+n;return(0,bt.jsx)("i",{className:i})};var At=D(require("next/link"));function pe({children:e,href:t,openNewTab:r,...a}){return(0,bt.jsx)(At.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function Or(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function kt({icon:e,title:t,description:r,slug:a}){return(0,bt.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block bt-full space-bt-6 overflow-hidden rounded-5 p-6 md:space-bt-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,bt.jsxs)("div",{className:"flex items-center gap-5",children:[(0,bt.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:Or(e)?(0,bt.jsx)(wt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,bt.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,bt.jsx)(pe,{href:a,children:t}):t})]}),(0,bt.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,bt.jsx)(R,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,bt.jsxs)(pe,{href:a,children:[(0,bt.jsx)("span",{children:"Read More"}),(0,bt.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,bt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.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,bt.jsx)("span",{className:"invisible absolute bottom-0 left-0 bt-[2px] w-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 Yr({services:e,className:t}){return(0,bt.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,bt.jsx)(F,{className:"py-8",children:e&&e.length>0&&(0,bt.jsx)("div",{className:"flex flex-wrap justify-center gap-bt-8",children:e.map((r,a)=>(0,bt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":he([200,400,600],a),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,bt.jsx)(kt,{...r})},a))})})})}var xe=require("react-icons/fa6");function Pt({title:e,description:t,features:r,price:a,duration:s,button:o}){return(0,bt.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,bt.jsxs)("div",{className:"bt-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[(0,bt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,bt.jsx)("p",{children:t})]}),(0,bt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,bt.jsxs)("div",{className:"flex flex-col justify-stretch gap-x-14 gap-bt-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,bt.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((n,i)=>(0,bt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,bt.jsx)("span",{className:"text-accent pt-1",children:(0,bt.jsx)(xe.FaCircleCheck,{})}),(0,bt.jsx)("span",{children:n})]},i))}),(0,bt.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,bt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),o&&(0,bt.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,bt.jsx)(R,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,bt.jsxs)(pe,{href:o.href,openNewTab:o.openNewTab,children:[(0,bt.jsx)("span",{className:"relative z-1",children:o.label}),(0,bt.jsx)("span",{className:"relative z-1 pl-2",children:(0,bt.jsx)(xe.FaAnglesRight,{})})]})})})]})})]})}var St=({className:e,content:t,style:r})=>(0,bt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,bt.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,bt.jsx)(ee,{content:t,enableGutter:!1,enableProse:!1})})});var Ge=D(require("next/link")),ve=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:i,size:d,url:p}=e,b=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!b)return null;let g=r==="link"?"clear":d,f=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,bt.jsxs)(Ge.default,{className:l(s),href:b||p||"",...f,children:[o&&o,a&&a]}):(0,bt.jsx)(R,{asChild:!0,className:s,size:g,variant:r,children:(0,bt.jsxs)(Ge.default,{className:l(s),href:b||p||"",...f,children:[o&&o,a&&a]})})};var Bt=({links:e,richText:t})=>(0,bt.jsx)("div",{className:"container",children:(0,bt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,bt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,bt.jsx)(ee,{className:"mb-0",content:t,enableGutter:!1})}),(0,bt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,bt.jsx)(ve,{size:"lg",...r},a))})]})});var we=require("prism-react-renderer");var Rt=require("lucide-react"),Tt=require("react");function It({code:e}){let[t,r]=(0,Tt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,bt.jsx)("div",{className:"flex justify-end align-middle",children:(0,bt.jsxs)(R,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,bt.jsx)("p",{children:t}),(0,bt.jsx)("div",{className:"w-6 bt-6 dark:invert",children:(0,bt.jsx)(Rt.ClipboardCopy,{})})]})})}var Mt=({code:e,language:t=""})=>e?(0,bt.jsx)(we.Highlight,{code:e,language:t,theme:we.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,bt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,n)=>(0,bt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,bt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,bt.jsx)("span",{className:"table-cell pl-4",children:o.map((i,d)=>(0,bt.jsx)("span",{...a({token:i})},d))})]},n)),(0,bt.jsx)(It,{code:e})]})}):null;var Lt=({className:e,code:t,language:r})=>(0,bt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,bt.jsx)(Mt,{code:t,language:r})});var Dt=D(require("next/image"));var Et=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ce=()=>{if(Et){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 Kr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},jr="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=",Ft=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:d}=e,p,b,g=t,f=i||"";if(!f&&o&&typeof o=="object"){let{alt:w,filename:C,height:k,url:B,width:K}=o;p=K,b=k,g=w||"",f=`${Ce()}${B}`}let S=d||"lazy",I=n||Object.entries(Kr).map(([,w])=>`(max-width: ${w}px) ${w*2}w`).join(", ");return(0,bt.jsx)("picture",{children:(0,bt.jsx)(Dt.default,{alt:g||"",className:l(a),fill:r,height:r?void 0:b,placeholder:"blur",blurDataURL:jr,priority:S!=="lazy"&&s,quality:100,loading:S,sizes:I,src:f,width:r?void 0:p})})};var zt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,Tt.useRef)(null);if((0,Tt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,bt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,bt.jsx)("source",{src:`${Ce()}/media/${o}`})})}return null};var Ut=e=>{var n;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,bt.jsx)(r||Tt.Fragment,{...r!==null?{className:t}:{},children:s?(0,bt.jsx)(zt,{...e}):(0,bt.jsx)(Ft,{...e})})};var Gt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,bt.jsx)("div",{className:l("",{container:r},t),children:(0,bt.jsx)(Ut,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var ke=D(require("react"));function je({nodes:e}){return(0,bt.jsx)(ke.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,bt.jsx)(ke.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,bt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,bt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,bt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,bt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,bt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,bt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,bt.jsx)("sup",{children:o},r)),o}let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return je({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,bt.jsx)(Bt,{...o},r);case"mediaBlock":return(0,bt.jsx)(Gt,{className:"col-start-1 col-span-3",imgClassName:"bt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,bt.jsx)(St,{className:"col-start-2 mb-4",...o},r);case"code":return(0,bt.jsx)(Lt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,bt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,bt.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,bt.jsx)(o,{className:"col-start-2",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,bt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,bt.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,bt.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,bt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,bt.jsx)(ve,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var ee=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,bt.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&je({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function te({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:s=!1,className:o}){let n=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},o);return(0,$.jsxs)("div",{className:n,children:[e&&(0,$.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,$.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,$.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,$.jsx)(ee,{content:r,enableGutter:!1})]})}function Qr({sectionHeading:e,cards:t}){return(0,bt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,bt.jsxs)(F,{children:[(0,bt.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,bt.jsx)(te,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,bt.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,bt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":he([200,400,600],a),className:"py-2",children:(0,bt.jsx)(Pt,{...r})},a))})]})})}var re=D(require("next/image"));function $r(e){let{images:t,sectionHeading:r,keyPoints:a,description:s}=e;return(0,bt.jsx)("section",{className:"section-padding-primary overflow-hidden",children:(0,bt.jsx)(F,{children:(0,bt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,bt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,bt.jsx)(te,{...r}),a&&a.length>0&&(0,bt.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:a.map((o,n)=>(0,bt.jsxs)("div",{className:"group flex min-bt-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-bt-[85px] md:px-[1.875rem] md:py-3",children:[(0,bt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,bt.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},n))}),s&&(0,bt.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),t&&(0,bt.jsx)("div",{className:"mx-auto text-center",children:(0,bt.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,bt.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,bt.jsxs)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,bt.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -z-1 bt-full w-full rounded-tl-[60px] bg-primary-light"}),(0,bt.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,bt.jsx)(re.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,bt.jsx)(re.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] z-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,bt.jsx)("div",{className:"flex overflow-hidden",children:(0,bt.jsx)(re.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,bt.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,bt.jsx)(re.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,bt.jsx)("div",{className:"overflow-hidden",children:(0,bt.jsx)(re.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,bt.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-bt-1/2 overflow-hidden",children:(0,bt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,bt.jsx)("span",{className:"grid bt-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,bt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.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 Yt=D(require("next/image"));var Ot=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${s}`};function Kt({blogs:e}){return(0,bt.jsx)("div",{children:e&&e.length>0&&(0,bt.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,bt.jsx)(_r,{post:t,id:r},r))})})}var _r=({post:e,id:t})=>{let{slug:r,image:a,authors:s,categories:o,title:n,description:i,publishedAt:d}=e;return(0,bt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,bt.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[a&&(0,bt.jsx)(Yt.default,{src:a.src,alt:a.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,bt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,bt.jsxs)("div",{children:[(0,bt.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,bt.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Ot(e.publishedAt)}),e.categories&&e.categories.map((p,b)=>(0,bt.jsx)("a",{href:`#${p}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p},b))]}),(0,bt.jsxs)("div",{className:"group relative max-w-xl",children:[(0,bt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,bt.jsxs)("a",{href:e.slug,children:[(0,bt.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,bt.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,bt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-bt-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((p,b)=>(0,bt.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[p.image?(0,bt.jsx)("img",{alt:p.image.alt,src:p.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,bt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,bt.jsx)("div",{className:"text-sm/6",children:(0,bt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,bt.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},b))})]})]},t)};var oe=require("next/navigation");var _=D(require("react"));var Qe=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Qe.displayName="Card";var $e=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("flex flex-col space-bt-1.5 p-6",e),...t}));$e.displayName="CardHeader";var _e=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));_e.displayName="CardTitle";var Wr=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Wr.displayName="CardDescription";var We=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));We.displayName="CardContent";var Jr=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));Jr.displayName="CardFooter";var qr=l("transition-colors duration-400 hover:text-primary ease-in-out");function jt({title:e,links:t}){let r=(0,oe.useSearchParams)(),a=(0,oe.usePathname)(),{replace:s}=(0,oe.useRouter)();function o(n){console.log(n);let i=new URLSearchParams(r);n?i.set("category",n):i.delete("category"),s(`${a}?${i.toString()}`)}return(0,bt.jsx)("div",{className:"space-bt-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:p-10",children:(0,bt.jsxs)(Qe,{children:[(0,bt.jsx)($e,{children:(0,bt.jsx)(_e,{children:e&&e})}),(0,bt.jsx)(We,{children:t&&t.length>0&&(0,bt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,bt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,bt.jsxs)("li",{className:"flex items-center gap-2.5 pt-2.5 first:pt-0 hover:cursor-pointer",onClick:d=>{d.preventDefault(),o(n.href)},children:[(0,bt.jsx)("span",{className:"grid bt-3 w-3 place-items-center border border-accent",children:(0,bt.jsx)("span",{className:"block bt-0.5 w-0.5 bg-accent"})}),(0,bt.jsx)("a",{className:qr,children:n.label})]},i))})})})]})})}var Je=l("grid bt-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function $t({pages:e}){let t=(0,oe.useSearchParams)(),r=(0,oe.usePathname)(),{replace:a}=(0,oe.useRouter)(),{totalPages:s,page:o}=e,[n,i]=(0,Tt.useState)({start:o>3?o-3:1,end:o+2}),d=g=>{g==="left"&&n.start>1?i(f=>({start:f.start-1,end:f.end-1})):g==="right"&&n.end<s&&i(f=>({start:f.start+1,end:f.end+1}))};function p(g){let f=new URLSearchParams(t);g?f.set("page",g):f.delete("page"),a(`${r}?${f.toString()}`)}if(s<=1)return null;let b=[];for(let g=n.start;g<=n.end;g++)b.push(g);return(0,bt.jsx)("div",{className:"mt-12",children:(0,bt.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,bt.jsx)("li",{children:(0,bt.jsx)("button",{className:l(Je,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>d("left"),children:(0,bt.jsx)(xe.FaArrowLeft,{})})}),b.map((g,f)=>(0,bt.jsx)("li",{children:(0,bt.jsx)("a",{className:l(Je,g===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${g}`,role:"button",onClick:S=>{S.preventDefault(),p(g.toString())},children:g})},f)),n.end<s&&(0,bt.jsx)("li",{children:(0,bt.jsx)("button",{className:l(Je,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>d("right"),children:(0,bt.jsx)(xe.FaArrowRight,{})})})]})})}function Wt({types:e}){let[t,r]=(0,Tt.useState)(e&&e[0].href),a=(0,oe.useSearchParams)(),s=(0,oe.usePathname)(),{replace:o}=(0,oe.useRouter)();function n(i){let d=new URLSearchParams(a);i?d.set("type",i):d.delete("type"),r(i),o(`${s}?${d.toString()}`)}return(0,bt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((i,d)=>(0,bt.jsx)(R,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},d))})}function Zr({blogs:e,pages:t,categories:r,types:a}){return(0,bt.jsx)("section",{children:(0,bt.jsx)(F,{children:(0,bt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,bt.jsxs)("div",{children:[a&&(0,bt.jsx)(Wt,{types:a}),(0,bt.jsx)(Kt,{blogs:e}),(0,bt.jsx)($t,{pages:t})]}),(0,bt.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,bt.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,bt.jsx)(jt,{links:r.links,title:r.title})})})]})})})}var rr=D(require("next/image"));var Jt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function Se({className:e}){return l("flex items-center min-bt-[3.5rem] md:min-bt-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Xr({className:e,...t}){return(0,bt.jsx)("input",{...t,className:Se({className:e})})}function Be({icon:e,...t}){return(0,bt.jsxs)("div",{className:"relative w-full",children:[(0,bt.jsx)(Xr,{...t}),e&&(0,bt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-bt-1/2 text-primary",children:e})]})}function eo({className:e,...t}){return(0,bt.jsx)("textarea",{...t,className:l(Se({}),"resize-none md:min-bt-[130px]",e)})}function qt({icon:e,...t}){return(0,bt.jsxs)("div",{className:"relative w-full",children:[(0,bt.jsx)(eo,{...t}),e&&(0,bt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var Xt=require("formik"),J=D(require("yup"));async function Zt(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};console.log(JSON.stringify(n));try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ze=require("sonner"),E={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},to=J.object().shape({name:J.string().min(2,E.tooShort).max(50,E.tooLong).required(E.required),email:J.string().email(E.email).required(E.required),subject:J.string().min(2,E.tooShort).max(50,E.tooLong).required(E.required),message:J.string().min(2,E.tooShort).max(300,E.tooLong).required(E.required)}),Re=l("!pr-[44px]"),Te=l("!border-red-600 border"),Ie=l("sr-only");function tr(){return(0,bt.jsx)(Xt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:to,onSubmit:async(e,{resetForm:t})=>{let r=await Zt(e);r.data===null?Ze.toast.error(r.message):(Ze.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,bt.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,bt.jsxs)("div",{children:[(0,bt.jsx)(Be,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,bt.jsx)(xe.FaUser,{}),className:l(Re,e.name&&t.name&&Te)}),e.name&&t.name&&(0,bt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ie,children:e.name})]}),(0,bt.jsxs)("div",{children:[(0,bt.jsx)(Be,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,bt.jsx)(ro,{}),className:l(Re,e.email&&t.email&&Te)}),e.email&&t.email&&(0,bt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ie,children:e.email})]}),(0,bt.jsxs)("div",{className:"lg:col-span-2",children:[(0,bt.jsx)(Be,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(Re,e.subject&&t.subject&&Te)}),e.subject&&t.subject&&(0,bt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ie,children:e.subject})]}),(0,bt.jsxs)("div",{className:"lg:col-span-2",children:[(0,bt.jsx)(qt,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,bt.jsx)(oo,{}),className:l(Re,e.message&&t.message&&Te)}),e.message&&t.message&&(0,bt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ie,children:e.message})]}),(0,bt.jsx)("div",{className:"lg:col-span-2",children:(0,bt.jsx)(R,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:o,children:(0,bt.jsx)("span",{children:"SEND"})})})]})})}function ro(){return(0,bt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.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 oo(){return(0,bt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.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 ao(e){let{sectionHeading:t,image:r}=e;return(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)("section",{className:"section-padding-primary",children:(0,bt.jsx)("div",{className:"",children:(0,bt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,bt.jsx)("div",{className:"mx-auto max-w-2xl space-bt-16 divide-bt divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,bt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,bt.jsxs)("div",{children:[(0,bt.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,bt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,bt.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,s)=>{var o;return(0,bt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,bt.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,bt.jsxs)("address",{className:"mt-3 space-bt-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((n,i)=>(0,bt.jsx)("p",{children:n},i))," ",a.mails&&(0,bt.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,bt.jsx)(xe.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,bt.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,bt.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,bt.jsx)(xe.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,bt.jsx)("section",{className:"section-padding-primary",children:(0,bt.jsxs)("div",{className:"relative py-[60px]",children:[(0,bt.jsx)("div",{className:"absolute left-0 top-0 z-1 bt-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,bt.jsx)(rr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Jt})}),(0,bt.jsx)(F,{children:(0,bt.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,bt.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,bt.jsx)("div",{className:"mb-30px",children:(0,bt.jsx)(te,{...t})}),(0,bt.jsx)(tr,{})]})})})]})})]})}0&&(module.exports={AboutSection,BlogListSection,ContactSection,PricingSection,ServiceSection});
|
|
5
|
+
"use strict";var or=Object.create;var be=Object.defineProperty;var ar=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var nr=Object.getPrototypeOf,ir=Object.prototype.hasOwnProperty;var lr=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},nt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of sr(t))!ir.call(e,s)&&s!==r&&be(e,s,{get:()=>t[s],enumerable:!(a=ar(t,s))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?or(nr(e)):{},nt(t||!e||!e.__esModule?be(r,"default",{value:e,enumerable:!0}):r,e)),cr=e=>nt(be({},"__esModule",{value:!0}),e);var so={};lr(so,{AboutSection:()=>Qr,BlogListSection:()=>Zr,ContactSection:()=>ao,PricingSection:()=>$r,ServiceSection:()=>Yr});module.exports=cr(so);var ft=require("clsx");var Ue="-",dr=e=>{let t=mr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Ue);return i[0]===""&&i.length!==1&&i.shift(),ct(i,t)||pr(n)},getConflictingClassGroupIds:(n,i)=>{let d=r[n]||[];return i&&a[n]?[...d,...a[n]]:d}}},ct=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?ct(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Ue);return(n=t.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},it=/^\[(.+)\]$/,pr=e=>{if(it.test(e)){let t=it.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},mr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return ur(Object.entries(e.classGroups),r).forEach(([o,n])=>{He(n,a,o,t)}),a},He=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:lt(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(gr(s)){He(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{He(n,lt(t,o),r,a)})})},lt=(e,t)=>{let r=e;return t.split(Ue).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},gr=e=>e.isThemeGetter,ur=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,i])=>[t+n,i])):o);return[r,s]}):e,fr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,n)=>{r.set(o,n),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let n=r.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){r.has(o)?r.set(o,n):s(o,n)}}},dt="!",br=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=i=>{let d=[],p=0,b=0,g;for(let C=0;C<i.length;C++){let k=i[C];if(p===0){if(k===s&&(a||i.slice(C,C+o)===t)){d.push(i.slice(b,C)),b=C+o;continue}if(k==="/"){g=C;continue}}k==="["?p++:k==="]"&&p--}let f=d.length===0?i:i.substring(b),S=f.startsWith(dt),I=S?f.substring(1):f,w=g&&g>b?g-b:void 0;return{modifiers:d,hasImportantModifier:S,baseClassName:I,maybePostfixModifierPosition:w}};return r?i=>r({className:i,parseClassName:n}):n},hr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},xr=e=>({cache:fr(e.cacheSize),parseClassName:br(e),...dr(e)}),yr=/\s+/,vr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(yr),i="";for(let d=n.length-1;d>=0;d-=1){let p=n[d],{modifiers:b,hasImportantModifier:g,baseClassName:f,maybePostfixModifierPosition:S}=r(p),I=!!S,w=a(I?f.substring(0,S):f);if(!w){if(!I){i=p+(i.length>0?" "+i:i);continue}if(w=a(f),!w){i=p+(i.length>0?" "+i:i);continue}I=!1}let C=hr(b).join(":"),k=g?C+dt:C,B=k+w;if(o.includes(B))continue;o.push(B);let K=s(w,I);for(let j=0;j<K.length;++j){let ge=K[j];o.push(k+ge)}i=p+(i.length>0?" "+i:i)}return i};function wr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=pt(t))&&(a&&(a+=" "),a+=r);return a}var pt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=pt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Cr(e,...t){let r,a,s,o=n;function n(d){let p=t.reduce((b,g)=>g(b),e());return r=xr(p),a=r.cache.get,s=r.cache.set,o=i,i(d)}function i(d){let p=a(d);if(p)return p;let b=vr(d,r);return s(d,b),b}return function(){return o(wr.apply(null,arguments))}}var x=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},mt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ar=/^\d+\/\d+$/,Nr=new Set(["px","full","screen"]),kr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|bt|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Sr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Tr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=e=>q(e)||Nr.has(e)||Ar.test(e),O=e=>Z(e,"length",zr),q=e=>!!e&&!Number.isNaN(Number(e)),ze=e=>Z(e,"number",q),ce=e=>!!e&&Number.isInteger(Number(e)),Rr=e=>e.endsWith("%")&&q(e.slice(0,-1)),c=e=>mt.test(e),V=e=>kr.test(e),Ir=new Set(["length","size","percentage"]),Mr=e=>Z(e,Ir,gt),Lr=e=>Z(e,"position",gt),Er=new Set(["image","url"]),Dr=e=>Z(e,Er,Ur),Fr=e=>Z(e,"",Hr),de=()=>!0,Z=(e,t,r)=>{let a=mt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},zr=e=>Pr.test(e)&&!Sr.test(e),gt=()=>!1,Hr=e=>Br.test(e),Ur=e=>Tr.test(e);var Gr=()=>{let e=x("colors"),t=x("spacing"),r=x("blur"),a=x("brightness"),s=x("borderColor"),o=x("borderRadius"),n=x("borderSpacing"),i=x("borderWidth"),d=x("contrast"),p=x("grayscale"),b=x("hueRotate"),g=x("invert"),f=x("gap"),S=x("gradientColorStops"),I=x("gradientColorStopPositions"),w=x("inset"),C=x("margin"),k=x("opacity"),B=x("padding"),K=x("saturate"),j=x("scale"),ge=x("sepia"),Xe=x("skew"),et=x("space"),tt=x("translate"),Le=()=>["auto","contain","none"],Ee=()=>["auto","hidden","clip","visible","scroll"],De=()=>["auto",c,t],v=()=>[c,t],rt=()=>["",H,O],ue=()=>["auto",q,c],ot=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],fe=()=>["solid","dashed","dotted","double","none"],at=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Fe=()=>["start","end","center","between","around","evenly","stretch"],le=()=>["","0",c],st=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[q,c];return{cacheSize:500,separator:":",theme:{colors:[de],spacing:[H,O],blur:["none","",V,c],brightness:z(),borderColor:[e],borderRadius:["none","","full",V,c],borderSpacing:v(),borderWidth:rt(),contrast:z(),grayscale:le(),hueRotate:z(),invert:le(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[Rr,O],inset:De(),margin:De(),opacity:z(),padding:v(),saturate:z(),scale:z(),sepia:le(),skew:z(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[V]}],"break-after":[{"break-after":st()}],"break-before":[{"break-before":st()}],"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:[...ot(),c]}],overflow:[{overflow:Ee()}],"overflow-x":[{"overflow-x":Ee()}],"overflow-bt":[{"overflow-bt":Ee()}],overscroll:[{overscroll:Le()}],"overscroll-x":[{"overscroll-x":Le()}],"overscroll-bt":[{"overscroll-bt":Le()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-bt":[{"inset-bt":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ce,c]}],basis:[{basis:De()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:le()}],shrink:[{shrink:le()}],order:[{order:["first","last","none",ce,c]}],"grid-cols":[{"grid-cols":[de]}],"col-start-end":[{col:["auto",{span:["full",ce,c]},c]}],"col-start":[{"col-start":ue()}],"col-end":[{"col-end":ue()}],"grid-rows":[{"grid-rows":[de]}],"row-start-end":[{row:["auto",{span:[ce,c]},c]}],"row-start":[{"row-start":ue()}],"row-end":[{"row-end":ue()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-bt":[{"gap-bt":[f]}],"justify-content":[{justify:["normal",...Fe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Fe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Fe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],pt:[{pt:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],bt:[{bt:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],bt:[{bt:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[et]}],"space-x-reverse":["space-x-reverse"],"space-bt":[{"space-bt":[et]}],"space-bt-reverse":["space-bt-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[V]},V]}],bt:[{bt:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-bt":[{"min-bt":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-bt":[{"max-bt":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",V,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ze]}],"font-family":[{font:[de]}],"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",c]}],"line-clamp":[{"line-clamp":["none",q,ze]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",H,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...fe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",H,O]}],"underline-offset":[{"underline-offset":["auto",H,c]}],"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:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ot(),Lr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","bt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Dr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-oe":[{"rounded-oe":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-bt":[{"border-bt":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...fe(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-bt":[{"divide-bt":[i]}],"divide-bt-reverse":["divide-bt-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:fe()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-bt":[{"border-bt":[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-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...fe()]}],"outline-offset":[{"outline-offset":[H,c]}],"outline-w":[{outline:[H,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:rt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[H,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",V,Fr]}],"shadow-color":[{shadow:[de]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...at(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":at()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",V,c]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[g]}],saturate:[{saturate:[K]}],sepia:[{sepia:[ge]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[K]}],"backdrop-sepia":[{"backdrop-sepia":[ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-bt":[{"border-spacing-bt":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-bt":[{"scale-bt":[j]}],rotate:[{rotate:[ce,c]}],"translate-x":[{"translate-x":[tt]}],"translate-bt":[{"translate-bt":[tt]}],"skew-x":[{"skew-x":[Xe]}],"skew-bt":[{"skew-bt":[Xe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","bt-resize","nw-resize","oe-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","bt","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-bt":[{"scroll-bt":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-bt":[{"scroll-bt":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","bt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-bt":[{"touch-pan":["bt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[H,O,ze]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-bt"],overscroll:["overscroll-x","overscroll-bt"],inset:["inset-x","inset-bt","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-bt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-bt"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],bt:["mx","my","ms","bt","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","bt"],"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-b","rounded-l","rounded-ss","rounded-oe","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-oe","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-bt"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-bt":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-bt":["border-color-t","border-color-b"],"scroll-bt":["scroll-mx","scroll-my","scroll-ms","scroll-bt","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-bt","touch-pz"],"touch-x":["touch"],"touch-bt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ut=Cr(Gr);function l(...e){return ut((0,ft.clsx)(e))}var bt=require("react/jsx-runtime");function F({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,bt.jsx)("div",{className:s,children:e})}var he=(e,t)=>e[t%e.length];var ht=require("@radix-ui/react-slot"),xt=require("class-variance-authority"),yt=D(require("react")),Or=(0,xt.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:"bt-10 px-4 py-2",icon:"bt-10 w-10",lg:"bt-11 rounded px-8",sm:"bt-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"}}}),T=yt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,bt.jsx)(e?ht.Slot:"button",{className:l(Or({className:t,size:r,variant:a})),ref:o,...s}));T.displayName="Button";var wt=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,n=a!=null?a:"",i=s+o+" fa-"+r+" "+n;return(0,bt.jsx)("i",{className:i})};var At=D(require("next/link"));function pe({children:e,href:t,openNewTab:r,...a}){return(0,bt.jsx)(At.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function Vr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function kt({icon:e,title:t,description:r,slug:a}){return(0,bt.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block bt-full space-bt-6 overflow-hidden rounded-5 p-6 md:space-bt-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,bt.jsxs)("div",{className:"flex items-center gap-5",children:[(0,bt.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:Vr(e)?(0,bt.jsx)(wt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,bt.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,bt.jsx)(pe,{href:a,children:t}):t})]}),(0,bt.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,bt.jsx)(T,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,bt.jsxs)(pe,{href:a,children:[(0,bt.jsx)("span",{children:"Read More"}),(0,bt.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,bt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.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,bt.jsx)("span",{className:"invisible absolute bottom-0 left-0 bt-[2px] w-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 Yr({services:e,className:t}){return(0,bt.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,bt.jsx)(F,{className:"py-8",children:e&&e.length>0&&(0,bt.jsx)("div",{className:"flex flex-wrap justify-center gap-bt-8",children:e.map((r,a)=>(0,bt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":he([200,400,600],a),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,bt.jsx)(kt,{...r})},a))})})})}var xe=require("react-icons/fa6");function Pt({title:e,description:t,features:r,price:a,duration:s,button:o}){return(0,bt.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,bt.jsxs)("div",{className:"bt-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[(0,bt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,bt.jsx)("p",{children:t})]}),(0,bt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,bt.jsxs)("div",{className:"flex flex-col justify-stretch gap-x-14 gap-bt-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,bt.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((n,i)=>(0,bt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,bt.jsx)("span",{className:"text-accent pt-1",children:(0,bt.jsx)(xe.FaCircleCheck,{})}),(0,bt.jsx)("span",{children:n})]},i))}),(0,bt.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,bt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),o&&(0,bt.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,bt.jsx)(T,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,bt.jsxs)(pe,{href:o.href,openNewTab:o.openNewTab,children:[(0,bt.jsx)("span",{className:"relative z-1",children:o.label}),(0,bt.jsx)("span",{className:"relative z-1 pl-2",children:(0,bt.jsx)(xe.FaAnglesRight,{})})]})})})]})})]})}var St=({className:e,content:t,style:r})=>(0,bt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,bt.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,bt.jsx)(ee,{content:t,enableGutter:!1,enableProse:!1})})});var Ge=D(require("next/link")),ve=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:i,size:d,url:p}=e,b=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!b)return null;let g=r==="link"?"clear":d,f=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,bt.jsxs)(Ge.default,{className:l(s),href:b||p||"",...f,children:[o&&o,a&&a]}):(0,bt.jsx)(T,{asChild:!0,className:s,size:g,variant:r,children:(0,bt.jsxs)(Ge.default,{className:l(s),href:b||p||"",...f,children:[o&&o,a&&a]})})};var Bt=({links:e,richText:t})=>(0,bt.jsx)("div",{className:"container",children:(0,bt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,bt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,bt.jsx)(ee,{className:"mb-0",content:t,enableGutter:!1})}),(0,bt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,bt.jsx)(ve,{size:"lg",...r},a))})]})});var we=require("prism-react-renderer");var Tt=require("lucide-react"),Rt=require("react");function It({code:e}){let[t,r]=(0,Rt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(T,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,$.jsx)("p",{children:t}),(0,$.jsx)("div",{className:"w-6 bt-6 dark:invert",children:(0,$.jsx)(Tt.ClipboardCopy,{})})]})})}var Mt=({code:e,language:t=""})=>e?(0,bt.jsx)(we.Highlight,{code:e,language:t,theme:we.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,bt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,n)=>(0,bt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,bt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,bt.jsx)("span",{className:"table-cell pl-4",children:o.map((i,d)=>(0,bt.jsx)("span",{...a({token:i})},d))})]},n)),(0,bt.jsx)(It,{code:e})]})}):null;var Lt=({className:e,code:t,language:r})=>(0,bt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,bt.jsx)(Mt,{code:t,language:r})});var Dt=D(require("next/image"));var Et=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ce=()=>{if(Et){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 Kr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},jr="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=",Ft=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:d}=e,p,b,g=t,f=i||"";if(!f&&o&&typeof o=="object"){let{alt:w,filename:C,height:k,url:B,width:K}=o;p=K,b=k,g=w||"",f=`${Ce()}${B}`}let S=d||"lazy",I=n||Object.entries(Kr).map(([,w])=>`(max-width: ${w}px) ${w*2}w`).join(", ");return(0,bt.jsx)("picture",{children:(0,bt.jsx)(Dt.default,{alt:g||"",className:l(a),fill:r,height:r?void 0:b,placeholder:"blur",blurDataURL:jr,priority:S!=="lazy"&&s,quality:100,loading:S,sizes:I,src:f,width:r?void 0:p})})};var zt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,Rt.useRef)(null);if((0,Rt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,bt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,bt.jsx)("source",{src:`${Ce()}/media/${o}`})})}return null};var Ut=e=>{var n;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,bt.jsx)(r||Rt.Fragment,{...r!==null?{className:t}:{},children:s?(0,bt.jsx)(zt,{...e}):(0,bt.jsx)(Ft,{...e})})};var Gt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,bt.jsx)("div",{className:l("",{container:r},t),children:(0,bt.jsx)(Ut,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var ke=D(require("react"));function je({nodes:e}){return(0,bt.jsx)(ke.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,bt.jsx)(ke.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,bt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,bt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,bt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,bt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,bt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,bt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,bt.jsx)("sup",{children:o},r)),o}let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return je({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,bt.jsx)(Bt,{...o},r);case"mediaBlock":return(0,bt.jsx)(Gt,{className:"col-start-1 col-span-3",imgClassName:"bt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,bt.jsx)(St,{className:"col-start-2 mb-4",...o},r);case"code":return(0,bt.jsx)(Lt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,bt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,bt.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,bt.jsx)(o,{className:"col-start-2",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,bt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,bt.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,bt.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,bt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,bt.jsx)(ve,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var ee=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,bt.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&je({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function te({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:s=!1,className:o}){let n=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},o);return(0,bt.jsxs)("div",{className:n,children:[e&&(0,bt.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,bt.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,bt.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,bt.jsx)(ee,{content:r,enableGutter:!1})]})}function $r({sectionHeading:e,cards:t}){return(0,bt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,bt.jsxs)(F,{children:[(0,bt.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,bt.jsx)(te,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,bt.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,bt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":he([200,400,600],a),className:"py-2",children:(0,bt.jsx)(Pt,{...r})},a))})]})})}var re=D(require("next/image"));function Qr(e){let{images:t,sectionHeading:r,keyPoints:a,description:s}=e;return(0,bt.jsx)("section",{className:"section-padding-primary overflow-hidden",children:(0,bt.jsx)(F,{children:(0,bt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,bt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,bt.jsx)(te,{...r}),a&&a.length>0&&(0,bt.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:a.map((o,n)=>(0,bt.jsxs)("div",{className:"group flex min-bt-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-bt-[85px] md:px-[1.875rem] md:py-3",children:[(0,bt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,bt.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},n))}),s&&(0,bt.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),t&&(0,bt.jsx)("div",{className:"mx-auto text-center",children:(0,bt.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,bt.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,bt.jsxs)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,bt.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -z-1 bt-full w-full rounded-tl-[60px] bg-primary-light"}),(0,bt.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,bt.jsx)(re.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,bt.jsx)(re.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] z-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,bt.jsx)("div",{className:"flex overflow-hidden",children:(0,bt.jsx)(re.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,bt.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,bt.jsx)(re.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,bt.jsx)("div",{className:"overflow-hidden",children:(0,bt.jsx)(re.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,bt.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-bt-1/2 overflow-hidden",children:(0,bt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,bt.jsx)("span",{className:"grid bt-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,bt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.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 Yt=D(require("next/image"));var Vt=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${s}`};function Kt({blogs:e}){return(0,bt.jsx)("div",{children:e&&e.length>0&&(0,bt.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,bt.jsx)(_r,{post:t,id:r},r))})})}var _r=({post:e,id:t})=>{let{slug:r,image:a,authors:s,categories:o,title:n,description:i,publishedAt:d}=e;return(0,bt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,bt.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[a&&(0,bt.jsx)(Yt.default,{src:a.src,alt:a.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,bt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,bt.jsxs)("div",{children:[(0,bt.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,bt.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Vt(e.publishedAt)}),e.categories&&e.categories.map((p,b)=>(0,bt.jsx)("a",{href:`#${p}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p},b))]}),(0,bt.jsxs)("div",{className:"group relative max-w-xl",children:[(0,bt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,bt.jsxs)("a",{href:e.slug,children:[(0,bt.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,bt.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,bt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-bt-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((p,b)=>(0,bt.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[p.image?(0,bt.jsx)("img",{alt:p.image.alt,src:p.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,bt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,bt.jsx)("div",{className:"text-sm/6",children:(0,bt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,bt.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},b))})]})]},t)};var oe=require("next/navigation");var _=D(require("react"));var $e=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));$e.displayName="Card";var Qe=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("flex flex-col space-bt-1.5 p-6",e),...t}));Qe.displayName="CardHeader";var _e=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));_e.displayName="CardTitle";var Wr=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Wr.displayName="CardDescription";var We=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));We.displayName="CardContent";var Jr=_.forwardRef(({className:e,...t},r)=>(0,bt.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));Jr.displayName="CardFooter";var qr=l("transition-colors duration-400 hover:text-primary ease-in-out");function jt({title:e,links:t}){let r=(0,oe.useSearchParams)(),a=(0,oe.usePathname)(),{replace:s}=(0,oe.useRouter)();function o(n){console.log(n);let i=new URLSearchParams(r);n?i.set("category",n):i.delete("category"),s(`${a}?${i.toString()}`)}return(0,bt.jsx)("div",{className:"space-bt-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:p-10",children:(0,bt.jsxs)($e,{children:[(0,bt.jsx)(Qe,{children:(0,bt.jsx)(_e,{children:e&&e})}),(0,bt.jsx)(We,{children:t&&t.length>0&&(0,bt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,bt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,bt.jsxs)("li",{className:"flex items-center gap-2.5 pt-2.5 first:pt-0 hover:cursor-pointer",onClick:d=>{d.preventDefault(),o(n.href)},children:[(0,bt.jsx)("span",{className:"grid bt-3 w-3 place-items-center border border-accent",children:(0,bt.jsx)("span",{className:"block bt-0.5 w-0.5 bg-accent"})}),(0,bt.jsx)("a",{className:qr,children:n.label})]},i))})})})]})})}var Je=l("grid bt-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Qt({pages:e}){let t=(0,oe.useSearchParams)(),r=(0,oe.usePathname)(),{replace:a}=(0,oe.useRouter)(),{totalPages:s,page:o}=e,[n,i]=(0,$t.useState)({start:o>3?o-3:1,end:o+2}),d=g=>{g==="left"&&n.start>1?i(f=>({start:f.start-1,end:f.end-1})):g==="right"&&n.end<s&&i(f=>({start:f.start+1,end:f.end+1}))};function p(g){let f=new URLSearchParams(t);g?f.set("page",g):f.delete("page"),a(`${r}?${f.toString()}`)}if(s<=1)return null;let b=[];for(let g=n.start;g<=n.end;g++)b.push(g);return(0,bt.jsx)("div",{className:"mt-12",children:(0,bt.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,bt.jsx)("li",{children:(0,bt.jsx)("button",{className:l(Je,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>d("left"),children:(0,bt.jsx)(xe.FaArrowLeft,{})})}),b.map((g,f)=>(0,bt.jsx)("li",{children:(0,bt.jsx)("a",{className:l(Je,g===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${g}`,role:"button",onClick:S=>{S.preventDefault(),p(g.toString())},children:g})},f)),n.end<s&&(0,bt.jsx)("li",{children:(0,bt.jsx)("button",{className:l(Je,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>d("right"),children:(0,bt.jsx)(xe.FaArrowRight,{})})})]})})}function Wt({types:e}){let[t,r]=(0,Rt.useState)(e&&e[0].href),a=(0,oe.useSearchParams)(),s=(0,oe.usePathname)(),{replace:o}=(0,oe.useRouter)();function n(i){let d=new URLSearchParams(a);i?d.set("type",i):d.delete("type"),r(i),o(`${s}?${d.toString()}`)}return(0,bt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((i,d)=>(0,bt.jsx)(T,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},d))})}function Zr({blogs:e,pages:t,categories:r,types:a}){return(0,bt.jsx)("section",{children:(0,bt.jsx)(F,{children:(0,bt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,bt.jsxs)("div",{children:[a&&(0,bt.jsx)(Wt,{types:a}),(0,bt.jsx)(Kt,{blogs:e}),(0,bt.jsx)(Qt,{pages:t})]}),(0,bt.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,bt.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,bt.jsx)(jt,{links:r.links,title:r.title})})})]})})})}var rr=D(require("next/image"));var Jt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function Se({className:e}){return l("flex items-center min-bt-[3.5rem] md:min-bt-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Xr({className:e,...t}){return(0,bt.jsx)("input",{...t,className:Se({className:e})})}function Be({icon:e,...t}){return(0,bt.jsxs)("div",{className:"relative w-full",children:[(0,bt.jsx)(Xr,{...t}),e&&(0,bt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-bt-1/2 text-primary",children:e})]})}function eo({className:e,...t}){return(0,bt.jsx)("textarea",{...t,className:l(Se({}),"resize-none md:min-bt-[130px]",e)})}function qt({icon:e,...t}){return(0,bt.jsxs)("div",{className:"relative w-full",children:[(0,bt.jsx)(eo,{...t}),e&&(0,bt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var Xt=require("formik"),J=D(require("yup"));async function Zt(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};console.log(JSON.stringify(n));try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ze=require("sonner"),E={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},to=J.object().shape({name:J.string().min(2,E.tooShort).max(50,E.tooLong).required(E.required),email:J.string().email(E.email).required(E.required),subject:J.string().min(2,E.tooShort).max(50,E.tooLong).required(E.required),message:J.string().min(2,E.tooShort).max(300,E.tooLong).required(E.required)}),Te=l("!pr-[44px]"),Re=l("!border-red-600 border"),Ie=l("sr-only");function tr(){return(0,bt.jsx)(Xt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:to,onSubmit:async(e,{resetForm:t})=>{let r=await Zt(e);r.data===null?Ze.toast.error(r.message):(Ze.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,bt.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,bt.jsxs)("div",{children:[(0,bt.jsx)(Be,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,bt.jsx)(xe.FaUser,{}),className:l(Te,e.name&&t.name&&Re)}),e.name&&t.name&&(0,bt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ie,children:e.name})]}),(0,bt.jsxs)("div",{children:[(0,bt.jsx)(Be,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,bt.jsx)(ro,{}),className:l(Te,e.email&&t.email&&Re)}),e.email&&t.email&&(0,bt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ie,children:e.email})]}),(0,bt.jsxs)("div",{className:"lg:col-span-2",children:[(0,bt.jsx)(Be,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(Te,e.subject&&t.subject&&Re)}),e.subject&&t.subject&&(0,bt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ie,children:e.subject})]}),(0,bt.jsxs)("div",{className:"lg:col-span-2",children:[(0,bt.jsx)(qt,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,bt.jsx)(oo,{}),className:l(Te,e.message&&t.message&&Re)}),e.message&&t.message&&(0,bt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ie,children:e.message})]}),(0,bt.jsx)("div",{className:"lg:col-span-2",children:(0,bt.jsx)(T,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:o,children:(0,bt.jsx)("span",{children:"SEND"})})})]})})}function ro(){return(0,bt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.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 oo(){return(0,bt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.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 ao(e){let{sectionHeading:t,image:r}=e;return(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)("section",{className:"section-padding-primary",children:(0,bt.jsx)("div",{className:"",children:(0,bt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,bt.jsx)("div",{className:"mx-auto max-w-2xl space-bt-16 divide-bt divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,bt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,bt.jsxs)("div",{children:[(0,bt.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,bt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,bt.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,s)=>{var o;return(0,bt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,bt.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,bt.jsxs)("address",{className:"mt-3 space-bt-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((n,i)=>(0,bt.jsx)("p",{children:n},i))," ",a.mails&&(0,bt.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,bt.jsx)(xe.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,bt.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,bt.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,bt.jsx)(xe.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,bt.jsx)("section",{className:"section-padding-primary",children:(0,bt.jsxs)("div",{className:"relative py-[60px]",children:[(0,bt.jsx)("div",{className:"absolute left-0 top-0 z-1 bt-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,bt.jsx)(rr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Jt})}),(0,bt.jsx)(F,{children:(0,bt.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,bt.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,bt.jsx)("div",{className:"mb-30px",children:(0,bt.jsx)(te,{...t})}),(0,bt.jsx)(tr,{})]})})})]})})]})}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-FXOSDDE3.mjs";import"../chunk-AD7PG4E2.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-XHQLYY3W.mjs";import"../chunk-IE2A7UT3.mjs";import"../chunk-ZDDN4BC5.mjs";import"../chunk-D43ENVPX.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-7REKDTES.mjs";import"../chunk-6ZNVXWZR.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-OAOCXXC2.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-UESKYRNK.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-D2WXBUVJ.mjs";export{c as AboutSection,d as BlogListSection,e as ContactSection,b as PricingSection,a as ServiceSection};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const formatDateTime: (timestamp: string) => string;
|
|
2
2
|
export declare const formatDateTimeString: (timestamp: string) => string;
|
|
3
3
|
export declare const formatDateTimeStringShort: (timestamp: string) => string;
|
|
4
|
+
export declare const formatDateTimeStringCompact: (timestamp: string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var i=Object.defineProperty;var
|
|
1
|
+
"use strict";var i=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var m=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},l=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of f(t))!g.call(e,a)&&a!==n&&i(e,a,{get:()=>t[a],enumerable:!(r=u(t,a))||r.enumerable});return e};var D=e=>l(i({},"__esModule",{value:!0}),e);var S={};m(S,{formatDateTime:()=>d,formatDateTimeString:()=>w,formatDateTimeStringCompact:()=>$,formatDateTimeStringShort:()=>h});module.exports=D(S);var d=e=>{let n=new Date;e&&(n=new Date(e));let r=n.getMonth(),a=n.getDate(),s=r+1<10?`0${r+1}`:r+1,o=a<10?`0${a}`:a,c=n.getFullYear();return`${o}/${s}/${c}`},w=e=>{let t=e?new Date(e):new Date,n=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),r=t.getDate(),a=new Intl.DateTimeFormat("en-US",{month:"long"}).format(t),s=t.getFullYear();return`${n} ${r}${(c=>{if(c>3&&c<21)return"th";switch(c%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(r)} ${a} ${s}`},h=e=>{let t=e?new Date(e):new Date,n=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),r=t.getDate(),a=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${n} ${r}${(o=>{if(o>3&&o<21)return"th";switch(o%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(r)} ${a}`},$=e=>{let t=e?new Date(e):new Date,n=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),r=t.getDate(),a=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${n} ${r}${(o=>{if(o>3&&o<21)return"th";switch(o%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(r)} ${a}`};0&&(module.exports={formatDateTime,formatDateTimeString,formatDateTimeStringCompact,formatDateTimeStringShort});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c,d}from"../chunk-YNNW2C2U.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as formatDateTime,b as formatDateTimeString,d as formatDateTimeStringCompact,c as formatDateTimeStringShort};
|
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.22.
|
|
5
|
+
"version": "1.22.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-5DHGE4OD.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as f}from"./chunk-HAYRX2WO.mjs";import{a as r}from"./chunk-WISCWNL2.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import u from"next/image";import{FaChevronRight as k,FaEnvelope as y,FaPaperPlane as w,FaPhone as L,FaCalendarDays as P}from"react-icons/fa6";import{jsx as a,jsxs as t}from"react/jsx-runtime";var C=o("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),p=o("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),g=o("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),h=o("flex items-center gap-5"),m=o("transition-colors duration-300 hover:text-accent dark:hover:text-white");function R({className:v,footerData:N,logoLight:x,logoDark:b}){let{about:n,columnOne:c,columnTwo:s,columnThree:l,footerBottom:d}=N;return t("footer",{className:o("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",v),children:[a("div",{className:"py-16 md:py-20",children:a("div",{className:"container",children:t("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[t("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[a(f,{logoLight:x,logoDark:b}),a("p",{className:"mb-7 mt-3",children:n.description}),n.socialLinks&&n.socialLinks.length>0&&a("nav",{"aria-label":"social links",children:a("ul",{className:"inline-flex min-h-[50px] items-center divide-x rounded-5 bg-accent text-white",children:n.socialLinks.map((e,i)=>a("li",{children:a(r,{"aria-label":e.href,className:C,href:e.href,openNewTab:!0,children:a("span",{children:e.icon})})},i))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[a("h3",{className:p,children:c.title}),c.links&&c.links.length>0&&a("nav",{"aria-label":"footer links navigation",children:a("ul",{className:"grid gap-2",children:c.links.map(e=>t("li",{className:"flex items-center gap-2.5",children:[a("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:a(k,{})}),a(r,{href:e.href,openNewTab:e.openNewTab,className:m,children:e.label})]},e.label))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[a("h3",{className:p,children:s.title}),t("ul",{"aria-label":"addresses",className:"grid gap-5",children:[t("li",{className:h,children:[a("span",{className:g,children:a(w,{})}),a("address",{className:"not-italic",children:s.location})]}),t("li",{className:h,children:[a("span",{className:g,children:a(y,{})}),s.mails&&s.mails.length>0&&a("div",{className:"grid gap-1",children:s.mails.map((e,i)=>a("a",{href:`mailto:${e}`,className:m,children:e},i))})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&t("li",{className:h,children:[a("span",{className:g,children:a(L,{})}),a("div",{className:"grid gap-1",children:s.phoneNumbers.map((e,i)=>a("a",{href:`tel:${e.split(" ").join("")}`,className:m,children:e},i))})]})]})]}),l&&t("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[a("h3",{className:p,children:l.title}),l.blogs&&l.blogs.length>0&&a("div",{className:"grid gap-6",children:l.blogs.map((e,i)=>t("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[a("div",{className:"flex-none overflow-hidden rounded-5",children:a(u,{...e.image,alt:e.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),t("div",{children:[t("p",{className:"flex items-center gap-2.5 dark:text-body",children:[a("span",{className:"text-accent",children:a(P,{})}),a("span",{children:e.date})]}),a("h4",{className:"text-md font-bold leading-normal",children:a(r,{href:e.slug,className:"transition-colors duration-300 hover:text-accent",children:e.title})})]})]},i))})]})]})})}),a("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:a("div",{className:"container",children:t("div",{className:"flex flex-wrap items-center justify-between gap-x-8 gap-y-4 md:gap-x-10",children:[a("p",{children:d.copyrightText}),d.links&&d.links.length>0&&a("nav",{"aria-label":"footer bottom navigation",children:a("ul",{className:"flex flex-wrap items-center gap-x-4 md:gap-x-7",children:d.links.map(e=>a("li",{children:a(r,{"aria-label":`Go to page ${e.label}`,href:e.href,openNewTab:e.openNewTab,className:m,children:e.label})},e.label))})})]})})})]})}export{R as a};
|
package/dist/chunk-Y56OULXT.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var i=n=>{let r=new Date;n&&(r=new Date(n));let e=r.getMonth(),o=r.getDate(),c=e+1<10?`0${e+1}`:e+1,a=o<10?`0${o}`:o,s=r.getFullYear();return`${a}/${c}/${s}`},g=n=>{let t=n?new Date(n):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),e=t.getDate(),o=new Intl.DateTimeFormat("en-US",{month:"long"}).format(t),c=t.getFullYear();return`${r} ${e}${(s=>{if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(e)} ${o} ${c}`},u=n=>{let t=n?new Date(n):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),e=t.getDate(),o=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${e}${(a=>{if(a>3&&a<21)return"th";switch(a%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(e)} ${o}`};export{i as a,g as b,u as c};
|