cortex-react-components 1.32.0 → 1.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/{chunk-3TIFSACL.mjs → chunk-4BZYZZOG.mjs} +1 -1
  2. package/dist/{chunk-X7TVNR3Q.mjs → chunk-G474BW6A.mjs} +1 -1
  3. package/dist/{chunk-W4TZ3J2T.mjs → chunk-SGCPFH7R.mjs} +1 -1
  4. package/dist/{chunk-BQQUZJRS.mjs → chunk-TMNLJHS2.mjs} +1 -1
  5. package/dist/{chunk-GOMLTG5W.mjs → chunk-V7YLLLES.mjs} +1 -1
  6. package/dist/{chunk-OMZBJY76.mjs → chunk-VZKLCHD4.mjs} +1 -1
  7. package/dist/{chunk-3PC5BLK7.mjs → chunk-Y3ZD3LIO.mjs} +1 -1
  8. package/dist/chunk-YBNYR2ON.mjs +1 -0
  9. package/dist/{chunk-Z3ACMQN7.mjs → chunk-ZSC6OQH4.mjs} +1 -1
  10. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  11. package/dist/components/Blocks/index.mjs +1 -1
  12. package/dist/components/HeaderFooter/Header.mjs +1 -1
  13. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  14. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  15. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  16. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  17. package/dist/components/HeaderFooter/index.mjs +1 -1
  18. package/dist/components/Menus/index.mjs +1 -1
  19. package/dist/components/index.mjs +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/index.mjs +1 -1
  22. package/dist/metafile-cjs.json +1 -1
  23. package/dist/metafile-esm.json +1 -1
  24. package/dist/pages/Blog.js +1 -1
  25. package/dist/pages/Blog.mjs +1 -1
  26. package/dist/pages/Blog.stories.js +1 -1
  27. package/dist/pages/Blog.stories.mjs +1 -1
  28. package/dist/pages/Documentation.mjs +1 -1
  29. package/dist/pages/Documentation.stories.mjs +1 -1
  30. package/dist/pages/IndexPage.mjs +1 -1
  31. package/dist/pages/IndexPage.stories.mjs +1 -1
  32. package/dist/pages/Intranet.mjs +1 -1
  33. package/dist/pages/Intranet.stories.mjs +1 -1
  34. package/dist/pages/LandingPage.mjs +1 -1
  35. package/dist/pages/LandingPage.stories.mjs +1 -1
  36. package/dist/pages/Page.mjs +1 -1
  37. package/dist/pages/Page.stories.mjs +1 -1
  38. package/dist/pages/Website.mjs +1 -1
  39. package/dist/pages/Website.stories.mjs +1 -1
  40. package/dist/sections/BlogDetail.js +1 -1
  41. package/dist/sections/BlogDetail.mjs +1 -1
  42. package/dist/sections/BlogDetail.stories.js +1 -1
  43. package/dist/sections/BlogDetail.stories.mjs +1 -1
  44. package/dist/sections/BlogListSection.mjs +1 -1
  45. package/dist/sections/BlogListSection.stories.mjs +1 -1
  46. package/dist/sections/index.js +1 -1
  47. package/dist/sections/index.mjs +1 -1
  48. package/package.json +1 -1
  49. package/dist/chunk-EVXXDGB5.mjs +0 -1
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var lr=Object.create;var we=Object.defineProperty;var cr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var pr=Object.getPrototypeOf,mr=Object.prototype.hasOwnProperty;var gr=(e,t)=>{for(var r in t)we(e,r,{get:t[r],enumerable:!0})},ct=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of dr(t))!mr.call(e,s)&&s!==r&&we(e,s,{get:()=>t[s],enumerable:!(a=cr(t,s))||a.enumerable});return e};var M=(e,t,r)=>(r=e!=null?lr(pr(e)):{},ct(t||!e||!e.__esModule?we(r,"default",{value:e,enumerable:!0}):r,e)),ur=e=>ct(we({},"__esModule",{value:!0}),e);var mo={};gr(mo,{AboutSection:()=>Zr,BlogDetail:()=>po,BlogListSection:()=>ro,ContactSection:()=>lo,PricingSection:()=>qr,ServiceSection:()=>_r});module.exports=ur(mo);var xt=require("clsx");var Qe="-",fr=e=>{let t=hr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Qe);return i[0]===""&&i.length!==1&&i.shift(),mt(i,t)||br(n)},getConflictingClassGroupIds:(n,i)=>{let c=r[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},mt=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?mt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Qe);return(n=t.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},dt=/^\[(.+)\]$/,br=e=>{if(dt.test(e)){let t=dt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},hr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return yr(Object.entries(e.classGroups),r).forEach(([o,n])=>{je(n,a,o,t)}),a},je=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:pt(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(xr(s)){je(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{je(n,pt(t,o),r,a)})})},pt=(e,t)=>{let r=e;return t.split(Qe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},xr=e=>e.isThemeGetter,yr=(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,vr=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)}}},gt="!",wr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=i=>{let c=[],p=0,h=0,m;for(let N=0;N<i.length;N++){let S=i[N];if(p===0){if(S===s&&(a||i.slice(N,N+o)===t)){c.push(i.slice(h,N)),h=N+o;continue}if(S==="/"){m=N;continue}}S==="["?p++:S==="]"&&p--}let g=c.length===0?i:i.substring(h),k=g.startsWith(gt),T=k?g.substring(1):g,v=m&&m>h?m-h:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:T,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:n}):n},Cr=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},Ar=e=>({cache:vr(e.cacheSize),parseClassName:wr(e),...fr(e)}),Nr=/\s+/,kr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(Nr),i="";for(let c=n.length-1;c>=0;c-=1){let p=n[c],{modifiers:h,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:k}=r(p),T=!!k,v=a(T?g.substring(0,k):g);if(!v){if(!T){i=p+(i.length>0?" "+i:i);continue}if(v=a(g),!v){i=p+(i.length>0?" "+i:i);continue}T=!1}let N=Cr(h).join(":"),S=m?N+gt:N,I=S+v;if(o.includes(I))continue;o.push(I);let j=s(v,T);for(let Q=0;Q<j.length;++Q){let xe=j[Q];o.push(S+xe)}i=p+(i.length>0?" "+i:i)}return i};function Pr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ut(t))&&(a&&(a+=" "),a+=r);return a}var ut=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=ut(e[a]))&&(r&&(r+=" "),r+=t);return r};function Sr(e,...t){let r,a,s,o=n;function n(c){let p=t.reduce((h,m)=>m(h),e());return r=Ar(p),a=r.cache.get,s=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let h=kr(c,r);return s(c,h),h}return function(){return o(Pr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ft=/^\[(?:([a-yt-]+):)?(.+)\]$/i,Tr=/^\d+\/\d+$/,Br=new Set(["px","full","screen"]),Rr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ir=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|yt|min|max))|\yt(calc|min|max|clamp)\(.+\)|^0$/,Mr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Lr=/^(inset_)?-?((\d+)?\.?(\d+)[a-yt]+|0)_-?((\d+)?\.?(\d+)[a-yt]+|0)/,Er=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=e=>ee(e)||Br.has(e)||Tr.test(e),V=e=>te(e,"length",Vr),ee=e=>!!e&&!Number.isNaN(Number(e)),$e=e=>te(e,"number",ee),ge=e=>!!e&&Number.isInteger(Number(e)),Dr=e=>e.endsWith("%")&&ee(e.slice(0,-1)),d=e=>ft.test(e),Y=e=>Rr.test(e),Fr=new Set(["length","size","percentage"]),zr=e=>te(e,Fr,bt),Hr=e=>te(e,"position",bt),Ur=new Set(["image","url"]),Gr=e=>te(e,Ur,Kr),Or=e=>te(e,"",Yr),ue=()=>!0,te=(e,t,r)=>{let a=ft.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Vr=e=>Ir.test(e)&&!Mr.test(e),bt=()=>!1,Yr=e=>Lr.test(e),Kr=e=>Er.test(e);var $r=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),a=w("brightness"),s=w("borderColor"),o=w("borderRadius"),n=w("borderSpacing"),i=w("borderWidth"),c=w("contrast"),p=w("grayscale"),h=w("hueRotate"),m=w("invert"),g=w("gap"),k=w("gradientColorStops"),T=w("gradientColorStopPositions"),v=w("inset"),N=w("margin"),S=w("opacity"),I=w("padding"),j=w("saturate"),Q=w("scale"),xe=w("sepia"),rt=w("skew"),ot=w("space"),at=w("translate"),Oe=()=>["auto","contain","none"],Ve=()=>["auto","hidden","clip","visible","scroll"],Ye=()=>["auto",d,t],A=()=>[d,t],st=()=>["",U,V],ye=()=>["auto",ee,d],nt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ve=()=>["solid","dashed","dotted","double","none"],it=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ke=()=>["start","end","center","between","around","evenly","stretch"],me=()=>["","0",d],lt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[ee,d];return{cacheSize:500,separator:":",theme:{colors:[ue],spacing:[U,V],blur:["none","",Y,d],brightness:H(),borderColor:[e],borderRadius:["none","","full",Y,d],borderSpacing:A(),borderWidth:st(),contrast:H(),grayscale:me(),hueRotate:H(),invert:me(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[Dr,V],inset:Ye(),margin:Ye(),opacity:H(),padding:A(),saturate:H(),scale:H(),sepia:me(),skew:H(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[Y]}],"break-after":[{"break-after":lt()}],"break-before":[{"break-before":lt()}],"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:[...nt(),d]}],overflow:[{overflow:Ve()}],"overflow-yt":[{"overflow-yt":Ve()}],"overflow-yt":[{"overflow-yt":Ve()}],overscroll:[{overscroll:Oe()}],"overscroll-yt":[{"overscroll-yt":Oe()}],"overscroll-yt":[{"overscroll-yt":Oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-yt":[{"inset-yt":[v]}],"inset-yt":[{"inset-yt":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],yt:[{yt:["auto",ge,d]}],basis:[{basis:Ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:me()}],shrink:[{shrink:me()}],order:[{order:["first","last","none",ge,d]}],"grid-cols":[{"grid-cols":[ue]}],"col-start-end":[{col:["auto",{span:["full",ge,d]},d]}],"col-start":[{"col-start":ye()}],"col-end":[{"col-end":ye()}],"grid-rows":[{"grid-rows":[ue]}],"row-start-end":[{row:["auto",{span:[ge,d]},d]}],"row-start":[{"row-start":ye()}],"row-end":[{"row-end":ye()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[g]}],"gap-yt":[{"gap-yt":[g]}],"gap-yt":[{"gap-yt":[g]}],"justify-content":[{justify:["normal",...Ke()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ke(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ke(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],yt:[{yt:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],m:[{m:[N]}],mx:[{mx:[N]}],my:[{my:[N]}],ms:[{ms:[N]}],me:[{me:[N]}],mt:[{mt:[N]}],mr:[{mr:[N]}],mb:[{mb:[N]}],ml:[{ml:[N]}],"space-yt":[{"space-yt":[ot]}],"space-yt-reverse":["space-yt-reverse"],"space-yt":[{"space-yt":[ot]}],"space-yt-reverse":["space-yt-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[Y]},Y]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Y,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$e]}],"font-family":[{font:[ue]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",ee,$e]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",U,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",U,V]}],"underline-offset":[{"underline-offset":["auto",U,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...nt(),Hr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","yt","yt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","yt","bl","l","tl"]},Gr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[T]}],"gradient-via-pos":[{via:[T]}],"gradient-to-pos":[{to:[T]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-yt":[{"rounded-yt":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-yt":[{"border-yt":[i]}],"border-w-yt":[{"border-yt":[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-yt":[{"border-yt":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[S]}],"border-style":[{border:[...ve(),"hidden"]}],"divide-yt":[{"divide-yt":[i]}],"divide-yt-reverse":["divide-yt-reverse"],"divide-yt":[{"divide-yt":[i]}],"divide-yt-reverse":["divide-yt-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:ve()}],"border-color":[{border:[s]}],"border-color-yt":[{"border-yt":[s]}],"border-color-yt":[{"border-yt":[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-yt":[{"border-yt":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ve()]}],"outline-offset":[{"outline-offset":[U,d]}],"outline-w":[{outline:[U,V]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:st()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[U,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Y,Or]}],"shadow-color":[{shadow:[ue]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":[...it(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":it()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Y,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[m]}],saturate:[{saturate:[j]}],sepia:[{sepia:[xe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[xe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-yt":[{"border-spacing-yt":[n]}],"border-spacing-yt":[{"border-spacing-yt":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Q]}],"scale-yt":[{"scale-yt":[Q]}],"scale-yt":[{"scale-yt":[Q]}],rotate:[{rotate:[ge,d]}],"translate-yt":[{"translate-yt":[at]}],"translate-yt":[{"translate-yt":[at]}],"skew-yt":[{"skew-yt":[rt]}],"skew-yt":[{"skew-yt":[rt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","yt","yt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-yt":[{"scroll-yt":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","yt","yt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-yt":[{"touch-pan":["yt","left","right"]}],"touch-yt":[{"touch-pan":["yt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[U,V,$e]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-yt","overflow-yt"],overscroll:["overscroll-yt","overscroll-yt"],inset:["inset-yt","inset-yt","start","end","top","right","bottom","left"],"inset-yt":["right","left"],"inset-yt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-yt","gap-yt"],p:["px","py","ps","yt","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-yt","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-yt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-yt","border-spacing-yt"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-yt","border-w-l"],"border-w-yt":["border-w-r","border-w-l"],"border-w-yt":["border-w-t","border-w-yt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-yt","border-color-l"],"border-color-yt":["border-color-r","border-color-l"],"border-color-yt":["border-color-t","border-color-yt"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-yt","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-yt","touch-yt","touch-pz"],"touch-yt":["touch"],"touch-yt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ht=Sr($r);function l(...e){return ht((0,xt.clsx)(e))}var yt=require("react/jsx-runtime");function L({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,yt.jsx)("div",{className:s,children:e})}var Ce=(e,t)=>e[t%e.length];var vt=require("@radix-ui/react-slot"),wt=require("class-variance-authority"),Ct=M(require("react")),jr=(0,wt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),R=Ct.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,yt.jsx)(e?vt.Slot:"button",{className:l(jr({className:t,size:r,variant:a})),ref:o,...s}));R.displayName="Button";var Nt=({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,yt.jsx)("i",{className:i})};var Pt=M(require("next/link"));function _({children:e,href:t,openNewTab:r,...a}){return(0,yt.jsx)(Pt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function Qr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Tt({icon:e,title:t,description:r,slug:a}){return(0,yt.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative yt-1 block h-full space-yt-6 overflow-hidden rounded-5 p-6 md:space-yt-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,yt.jsxs)("div",{className:"flex items-center gap-5",children:[(0,yt.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:Qr(e)?(0,yt.jsx)(Nt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,yt.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,yt.jsx)(_,{href:a,children:t}):t})]}),(0,yt.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,yt.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,yt.jsxs)(_,{href:a,children:[(0,yt.jsx)("span",{children:"Read More"}),(0,yt.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,yt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,yt.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,yt.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-yt-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-yt-100 group-hover/service:opacity-100"})]})}function _r({services:e,className:t}){return(0,yt.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,yt.jsx)(L,{className:"py-8",children:e&&e.length>0&&(0,yt.jsx)("div",{className:"flex flex-wrap justify-center gap-yt-8",children:e.map((r,a)=>(0,yt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Ce([200,400,600],a),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,yt.jsx)(Tt,{...r})},a))})})})}var Ae=require("react-icons/fa6");function Bt({title:e,description:t,features:r,price:a,duration:s,button:o}){return(0,yt.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,yt.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-yt max-lg:pt-14 lg:border-r lg:p-10",children:[(0,yt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,yt.jsx)("p",{children:t})]}),(0,yt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,yt.jsxs)("div",{className:"flex flex-col justify-stretch gap-yt-14 gap-yt-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,yt.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,yt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,yt.jsx)("span",{className:"text-accent pt-1",children:(0,yt.jsx)(Ae.FaCircleCheck,{})}),(0,yt.jsx)("span",{children:n})]},i))}),(0,yt.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,yt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),o&&(0,yt.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,yt.jsx)(R,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,yt.jsxs)(_,{href:o.href,openNewTab:o.openNewTab,children:[(0,yt.jsx)("span",{className:"relative yt-1",children:o.label}),(0,yt.jsx)("span",{className:"relative yt-1 pl-2",children:(0,yt.jsx)(Ae.FaAnglesRight,{})})]})})})]})})]})}var Rt=({className:e,content:t,style:r})=>(0,yt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,yt.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,yt.jsx)(K,{content:t,enableGutter:!1,enableProse:!1})})});var _e=M(require("next/link")),ke=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:i,size:c,url:p}=e,h=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!h)return null;let m=r==="link"?"clear":c,g=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,yt.jsxs)(_e.default,{className:l(s),href:h||p||"",...g,children:[o&&o,a&&a]}):(0,yt.jsx)(R,{asChild:!0,className:s,size:m,variant:r,children:(0,yt.jsxs)(_e.default,{className:l(s),href:h||p||"",...g,children:[o&&o,a&&a]})})};var It=({links:e,richText:t})=>(0,$.jsx)("div",{className:"container",children:(0,$.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,$.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,$.jsx)(K,{className:"mb-0",content:t,enableGutter:!1})}),(0,$.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,$.jsx)(ke,{size:"lg",...r},a))})]})});var Pe=require("prism-react-renderer");var Mt=require("lucide-react"),Lt=require("react");function Et({code:e}){let[t,r]=(0,Lt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,yt.jsx)("div",{className:"flex justify-end align-middle",children:(0,yt.jsxs)(R,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,yt.jsx)("p",{children:t}),(0,yt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,yt.jsx)(Mt.ClipboardCopy,{})})]})})}var Dt=({code:e,language:t=""})=>e?(0,yt.jsx)(Pe.Highlight,{code:e,language:t,theme:Pe.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,yt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-yt-auto",children:[s.map((o,n)=>(0,yt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,yt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,yt.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,yt.jsx)("span",{...a({token:i})},c))})]},n)),(0,yt.jsx)(Et,{code:e})]})}):null;var Ft=({className:e,code:t,language:r})=>(0,yt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,yt.jsx)(Dt,{code:t,language:r})});var Ht=M(require("next/image"));var zt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Se=()=>{if(zt){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 Wr={"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=",Ut=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:c}=e,p,h,m=t,g=i||"";if(!g&&o&&typeof o=="object"){let{alt:v,filename:N,height:S,url:I,width:j}=o;p=j,h=S,m=v||"",g=`${Se()}${I}`}let k=c||"lazy",T=n||Object.entries(Wr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,yt.jsx)("picture",{children:(0,yt.jsx)(Ht.default,{alt:m||"",className:l(a),fill:r,height:r?void 0:h,placeholder:"blur",blurDataURL:Jr,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:T,src:g,width:r?void 0:p})})};var Gt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,Lt.useRef)(null);if((0,Lt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,yt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,yt.jsx)("source",{src:`${Se()}/media/${o}`})})}return null};var Vt=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,yt.jsx)(r||Lt.Fragment,{...r!==null?{className:t}:{},children:s?(0,yt.jsx)(Gt,{...e}):(0,yt.jsx)(Ut,{...e})})};var Yt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,yt.jsx)("div",{className:l("",{container:r},t),children:(0,yt.jsx)(Vt,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var Ie=M(require("react"));function Re({nodes:e}){return(0,yt.jsx)(Ie.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,yt.jsx)(Ie.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,yt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,yt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,yt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,yt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,yt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,yt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,yt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,yt.jsx)("table",{children:(0,yt.jsx)("tbody",{children:t.children.map((o,n)=>(0,yt.jsx)("tr",{children:o.children.map((i,c)=>(0,yt.jsx)("td",{children:Re({nodes:i.children})},c))},n))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return Re({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,yt.jsx)(It,{...o},r);case"mediaBlock":return(0,yt.jsx)(Yt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,yt.jsx)(Rt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,yt.jsx)(Ft,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,yt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,yt.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,yt.jsx)(o,{className:"col-start-2",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,yt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,yt.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,yt.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,yt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,yt.jsx)(ke,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var K=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,yt.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&&Re({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function oe({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:s=!1,className:o,invert:n=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},o);return(0,yt.jsxs)("div",{className:i,children:[e&&(0,yt.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,yt.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",n&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,yt.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,yt.jsx)(K,{content:r,enableGutter:!1})]})}function qr({sectionHeading:e,cards:t}){return(0,yt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,yt.jsxs)(L,{children:[(0,yt.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,yt.jsx)(oe,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,yt.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,yt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Ce([200,400,600],a),className:"py-2",children:(0,yt.jsx)(Bt,{...r})},a))})]})})}var ae=M(require("next/image"));function Zr(e){let{images:t,sectionHeading:r,keyPoints:a,description:s}=e;return(0,yt.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,yt.jsx)(L,{children:(0,yt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,yt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,yt.jsx)(oe,{...r}),a&&a.length>0&&(0,yt.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,yt.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,yt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,yt.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},n))}),s&&(0,yt.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),t&&(0,yt.jsx)("div",{className:"mx-auto text-center",children:(0,yt.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,yt.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,yt.jsxs)("div",{className:"relative yt-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,yt.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -yt-1 h-full w-full rounded-tl-[60px] bg-primary-light"}),(0,yt.jsx)("div",{className:"relative yt-[4] overflow-hidden",children:(0,yt.jsx)(ae.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,yt.jsx)(ae.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] yt-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,yt.jsx)("div",{className:"flex overflow-hidden",children:(0,yt.jsx)(ae.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,yt.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,yt.jsx)(ae.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,yt.jsx)("div",{className:"overflow-hidden",children:(0,yt.jsx)(ae.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,yt.jsx)("div",{className:"absolute left-1/2 top-1/2 yt-[4] -translate-yt-1/2 -translate-yt-1/2 overflow-hidden",children:(0,yt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,yt.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,yt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,yt.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 jt=M(require("next/image"));var $t=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 Qt({blogs:e}){return(0,yt.jsx)("div",{children:e&&e.length>0&&(0,yt.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,yt.jsx)(Xr,{post:t,id:r},r))})})}var Xr=({post:e,id:t})=>{let{slug:r,image:a,authors:s,categories:o,title:n,description:i,publishedAt:c}=e;return(0,yt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,yt.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[a&&(0,yt.jsx)(jt.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,yt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,yt.jsxs)("div",{children:[(0,yt.jsxs)("div",{className:"flex items-center gap-yt-4 text-xs",children:[(0,yt.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:$t(e.publishedAt)}),e.categories&&e.categories.map((p,h)=>(0,yt.jsx)("a",{href:`#${p}`,className:"relative yt-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p},h))]}),(0,yt.jsxs)("div",{className:"group relative max-w-xl",children:[(0,yt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,yt.jsxs)("a",{href:e.slug,children:[(0,yt.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,yt.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,yt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-yt-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((p,h)=>(0,yt.jsxs)("div",{className:"relative flex items-center gap-yt-4",children:[p.image?(0,yt.jsx)("img",{alt:p.image.alt,src:p.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,yt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,yt.jsx)("div",{className:"text-sm/6",children:(0,yt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,yt.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},h))})]})]},t)};var ie=require("next/navigation");var q=M(require("react"));var se=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));se.displayName="Card";var be=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("flex flex-col space-yt-1.5 p-6",e),...t}));be.displayName="CardHeader";var he=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));he.displayName="CardTitle";var eo=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));eo.displayName="CardDescription";var ne=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));ne.displayName="CardContent";var to=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));to.displayName="CardFooter";var as=l("transition-colors duration-400 hover:text-primary ease-in-out");function Me({title:e,links:t}){let r=(0,ie.useSearchParams)(),a=(0,ie.usePathname)(),{replace:s}=(0,ie.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,yt.jsxs)(se,{children:[(0,yt.jsx)(be,{children:(0,yt.jsx)(he,{children:e&&e})}),(0,yt.jsx)(ne,{children:t&&t.length>0&&(0,yt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,yt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,yt.jsxs)("li",{className:"flex items-center text-sm text-accent first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(n.href)},children:[n.label,(0,yt.jsx)(Mt.ExternalLink,{className:"ml-1 h-3 w-3"})]},i))})})})]})}var Xe=l("grid h-[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 Jt({pages:e}){let t=(0,ie.useSearchParams)(),r=(0,ie.usePathname)(),{replace:a}=(0,ie.useRouter)(),{totalPages:s,page:o}=e,[n,i]=(0,Lt.useState)({start:o>3?o-3:1,end:o+2}),c=m=>{m==="left"&&n.start>1?i(g=>({start:g.start-1,end:g.end-1})):m==="right"&&n.end<s&&i(g=>({start:g.start+1,end:g.end+1}))};function p(m){let g=new URLSearchParams(t);m?g.set("page",m):g.delete("page"),a(`${r}?${g.toString()}`)}if(s<=1)return null;let h=[];for(let m=n.start;m<=n.end;m++)h.push(m);return(0,yt.jsx)("div",{className:"mt-12",children:(0,yt.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,yt.jsx)("li",{children:(0,yt.jsx)("button",{className:l(Xe,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,yt.jsx)(Ae.FaArrowLeft,{})})}),h.map((m,g)=>(0,yt.jsx)("li",{children:(0,yt.jsx)("a",{className:l(Xe,m===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${m}`,role:"button",onClick:k=>{k.preventDefault(),p(m.toString())},children:m})},g)),n.end<s&&(0,yt.jsx)("li",{children:(0,yt.jsx)("button",{className:l(Xe,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,yt.jsx)(Ae.FaArrowRight,{})})})]})})}function Zt({types:e}){let[t,r]=(0,Lt.useState)(e&&e[0].href),a=(0,ie.useSearchParams)(),s=(0,ie.usePathname)(),{replace:o}=(0,ie.useRouter)();function n(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${s}?${c.toString()}`)}return(0,yt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-yt-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,yt.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},c))})}function ro({blogs:e,pages:t,categories:r,types:a}){return(0,yt.jsx)("section",{children:(0,yt.jsx)(L,{children:(0,yt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,yt.jsxs)("div",{children:[a&&(0,yt.jsx)(Zt,{types:a}),(0,yt.jsx)(Qt,{blogs:e}),(0,yt.jsx)(Jt,{pages:t})]}),(0,yt.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,yt.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,yt.jsx)(Me,{links:r.links,title:r.title})})})]})})})}var ar=M(require("next/image"));var Ee="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//yt";function De({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[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 oo({className:e,...t}){return(0,yt.jsx)("input",{...t,className:De({className:e})})}function Fe({icon:e,...t}){return(0,yt.jsxs)("div",{className:"relative w-full",children:[(0,yt.jsx)(oo,{...t}),e&&(0,yt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-yt-1/2 text-accent",children:e})]})}function ao({className:e,...t}){return(0,yt.jsx)("textarea",{...t,className:l(De({}),"resize-none md:min-h-[130px]",e)})}function Xt({icon:e,...t}){return(0,yt.jsxs)("div",{className:"relative w-full",children:[(0,yt.jsx)(ao,{...t}),e&&(0,yt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var tr=require("formik"),X=M(require("yup"));async function er(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 tt=require("sonner"),F={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},so=X.object().shape({name:X.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),email:X.string().email(F.email).required(F.required),subject:X.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),message:X.string().min(2,F.tooShort).max(300,F.tooLong).required(F.required)}),ze=l("!pr-[44px]"),He=l("!border-red-600 border"),Ue=l("sr-only");function or(){return(0,yt.jsx)(tr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:so,onSubmit:async(e,{resetForm:t})=>{let r=await er(e);r.data===null?tt.toast.error(r.message):(tt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,yt.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,yt.jsxs)("div",{children:[(0,yt.jsx)(Fe,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,yt.jsx)(Ae.FaUser,{}),className:l(ze,e.name&&t.name&&He)}),e.name&&t.name&&(0,yt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ue,children:e.name})]}),(0,yt.jsxs)("div",{children:[(0,yt.jsx)(Fe,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,yt.jsx)(no,{}),className:l(ze,e.email&&t.email&&He)}),e.email&&t.email&&(0,yt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ue,children:e.email})]}),(0,yt.jsxs)("div",{className:"lg:col-span-2",children:[(0,yt.jsx)(Fe,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(ze,e.subject&&t.subject&&He)}),e.subject&&t.subject&&(0,yt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ue,children:e.subject})]}),(0,yt.jsxs)("div",{className:"lg:col-span-2",children:[(0,yt.jsx)(Xt,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,yt.jsx)(io,{}),className:l(ze,e.message&&t.message&&He)}),e.message&&t.message&&(0,yt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ue,children:e.message})]}),(0,yt.jsx)("div",{className:"lg:col-span-2",children:(0,yt.jsx)(R,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,yt.jsx)("span",{children:"SEND"})})})]})})}function no(){return(0,yt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,yt.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 io(){return(0,yt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,yt.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 lo(e){let{sectionHeading:t,image:r}=e;return(0,yt.jsxs)(yt.Fragment,{children:[(0,yt.jsx)("section",{className:"section-padding-primary",children:(0,yt.jsx)("div",{className:"",children:(0,yt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,yt.jsx)("div",{className:"mx-auto max-w-2xl space-yt-16 divide-yt divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,yt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,yt.jsxs)("div",{children:[(0,yt.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,yt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"yt have multiple locations across the UK where we are based. These are our key locations."})]}),(0,yt.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,yt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,yt.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,yt.jsxs)("address",{className:"mt-3 space-yt-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((n,i)=>(0,yt.jsx)("p",{children:n},i))," ",a.mails&&(0,yt.jsxs)("p",{className:"flex items-center space-yt-2",children:[(0,yt.jsx)(Ae.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,yt.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,yt.jsxs)("p",{className:"flex items-center space-yt-2",children:[(0,yt.jsx)(Ae.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,yt.jsx)("section",{className:"section-padding-primary",children:(0,yt.jsxs)("div",{className:"relative py-[60px]",children:[(0,yt.jsx)("div",{className:"absolute left-0 top-0 yt-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,yt.jsx)(ar.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ee})}),(0,yt.jsx)(L,{children:(0,yt.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,yt.jsxs)("div",{className:"relative yt-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,yt.jsx)("div",{className:"mb-30px",children:(0,yt.jsx)(oe,{...t,invert:!0})}),(0,yt.jsx)(or,{})]})})})]})})]})}var sr=M(require("next/image"));var ir=M(require("next/link"));function co({image:e,name:t,about:r,socialLinks:a}){return(0,yt.jsx)("div",{className:"mt-1 yt-10 px-0 pt-0 lg:px-10",children:(0,yt.jsx)(se,{children:(0,yt.jsxs)(ne,{children:[e&&e.src&&(0,yt.jsx)(sr.default,{src:e.src,alt:e.alt||t,width:127,height:127,placeholder:"blur",blurDataURL:Ee,className:"mx-auto mt-6 rounded-full object-cover"}),(0,yt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,yt.jsx)("p",{children:r}),a&&a.length>0&&(0,yt.jsx)("nav",{"aria-label":"social links",children:(0,yt.jsx)("ul",{className:"inline-flex items-center divide-yt divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,yt.jsx)("li",{children:(0,yt.jsx)(_,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-yt-1 hover:text-accents",children:(0,yt.jsx)("span",{children:s.icon})})},o))})})]})})})}function po({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var g;if(!e)return(0,ie.notFound)();let{meta:s,populatedAuthors:o,authors:n,categories:i,content:c,title:p}=e,h={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((g=o==null?void 0:o[0])==null?void 0:g.name)||"",category:i,commentCount:0,title:p,description:(s==null?void 0:s.description)||""},m=n==null?void 0:n.map(k=>{var T,v;return{name:k.name||"",about:"",image:{src:k.profilePicture&&((v=(T=k.profilePicture.sizes)==null?void 0:T.small)==null?void 0:v.url)||"/assets/images/blog/author-1.png",alt:k.name||"blog author"},socialLinks:[]}});return(0,yt.jsx)(L,{children:(0,yt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,yt.jsx)("div",{children:(0,yt.jsxs)("div",{className:"[&_p+yt]:mt-4",children:[(0,yt.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,yt.jsx)(K,{content:c,enableGutter:!1})]})}),(0,yt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,yt.jsx)("div",{className:"mt-4 lg:-mt-10 yt-10 px-0 pt-0 lg:px-10",children:(0,yt.jsxs)(se,{children:[(0,yt.jsx)(be,{children:(0,yt.jsx)(he,{children:"CMS Actions"})}),(0,yt.jsxs)(ne,{children:[(0,yt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,yt.jsx)(ir.default,{href:`${a}${e.id}`,children:(0,yt.jsx)(R,{className:"w-full",children:"Edit"})})]})]})}),m&&m.map((k,T)=>(0,yt.jsx)(co,{...k},T)),t&&t.links&&(0,yt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,yt.jsx)(Me,{links:t.links,title:t.title})})]})]})})}0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,PricingSection,ServiceSection});
5
+ "use strict";var lr=Object.create;var we=Object.defineProperty;var cr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var pr=Object.getPrototypeOf,mr=Object.prototype.hasOwnProperty;var gr=(e,t)=>{for(var r in t)we(e,r,{get:t[r],enumerable:!0})},ct=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of dr(t))!mr.call(e,s)&&s!==r&&we(e,s,{get:()=>t[s],enumerable:!(a=cr(t,s))||a.enumerable});return e};var M=(e,t,r)=>(r=e!=null?lr(pr(e)):{},ct(t||!e||!e.__esModule?we(r,"default",{value:e,enumerable:!0}):r,e)),ur=e=>ct(we({},"__esModule",{value:!0}),e);var mo={};gr(mo,{AboutSection:()=>Zr,BlogDetail:()=>po,BlogListSection:()=>ro,ContactSection:()=>lo,PricingSection:()=>qr,ServiceSection:()=>_r});module.exports=ur(mo);var xt=require("clsx");var Qe="-",fr=e=>{let t=hr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Qe);return i[0]===""&&i.length!==1&&i.shift(),mt(i,t)||br(n)},getConflictingClassGroupIds:(n,i)=>{let c=r[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},mt=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?mt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Qe);return(n=t.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},dt=/^\[(.+)\]$/,br=e=>{if(dt.test(e)){let t=dt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},hr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return yr(Object.entries(e.classGroups),r).forEach(([o,n])=>{je(n,a,o,t)}),a},je=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:pt(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(xr(s)){je(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{je(n,pt(t,o),r,a)})})},pt=(e,t)=>{let r=e;return t.split(Qe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},xr=e=>e.isThemeGetter,yr=(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,vr=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)}}},gt="!",wr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=i=>{let c=[],p=0,h=0,m;for(let N=0;N<i.length;N++){let S=i[N];if(p===0){if(S===s&&(a||i.slice(N,N+o)===t)){c.push(i.slice(h,N)),h=N+o;continue}if(S==="/"){m=N;continue}}S==="["?p++:S==="]"&&p--}let g=c.length===0?i:i.substring(h),k=g.startsWith(gt),T=k?g.substring(1):g,v=m&&m>h?m-h:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:T,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:n}):n},Cr=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},Ar=e=>({cache:vr(e.cacheSize),parseClassName:wr(e),...fr(e)}),Nr=/\s+/,kr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(Nr),i="";for(let c=n.length-1;c>=0;c-=1){let p=n[c],{modifiers:h,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:k}=r(p),T=!!k,v=a(T?g.substring(0,k):g);if(!v){if(!T){i=p+(i.length>0?" "+i:i);continue}if(v=a(g),!v){i=p+(i.length>0?" "+i:i);continue}T=!1}let N=Cr(h).join(":"),S=m?N+gt:N,I=S+v;if(o.includes(I))continue;o.push(I);let j=s(v,T);for(let Q=0;Q<j.length;++Q){let xe=j[Q];o.push(S+xe)}i=p+(i.length>0?" "+i:i)}return i};function Pr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ut(t))&&(a&&(a+=" "),a+=r);return a}var ut=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=ut(e[a]))&&(r&&(r+=" "),r+=t);return r};function Sr(e,...t){let r,a,s,o=n;function n(c){let p=t.reduce((h,m)=>m(h),e());return r=Ar(p),a=r.cache.get,s=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let h=kr(c,r);return s(c,h),h}return function(){return o(Pr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ft=/^\[(?:([a-yt-]+):)?(.+)\]$/i,Tr=/^\d+\/\d+$/,Br=new Set(["px","full","screen"]),Rr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ir=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|yt|min|max))|\yt(calc|min|max|clamp)\(.+\)|^0$/,Mr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Lr=/^(inset_)?-?((\d+)?\.?(\d+)[a-yt]+|0)_-?((\d+)?\.?(\d+)[a-yt]+|0)/,Er=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=e=>ee(e)||Br.has(e)||Tr.test(e),V=e=>te(e,"length",Vr),ee=e=>!!e&&!Number.isNaN(Number(e)),$e=e=>te(e,"number",ee),ge=e=>!!e&&Number.isInteger(Number(e)),Dr=e=>e.endsWith("%")&&ee(e.slice(0,-1)),d=e=>ft.test(e),Y=e=>Rr.test(e),Fr=new Set(["length","size","percentage"]),zr=e=>te(e,Fr,bt),Hr=e=>te(e,"position",bt),Ur=new Set(["image","url"]),Gr=e=>te(e,Ur,Kr),Or=e=>te(e,"",Yr),ue=()=>!0,te=(e,t,r)=>{let a=ft.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Vr=e=>Ir.test(e)&&!Mr.test(e),bt=()=>!1,Yr=e=>Lr.test(e),Kr=e=>Er.test(e);var $r=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),a=w("brightness"),s=w("borderColor"),o=w("borderRadius"),n=w("borderSpacing"),i=w("borderWidth"),c=w("contrast"),p=w("grayscale"),h=w("hueRotate"),m=w("invert"),g=w("gap"),k=w("gradientColorStops"),T=w("gradientColorStopPositions"),v=w("inset"),N=w("margin"),S=w("opacity"),I=w("padding"),j=w("saturate"),Q=w("scale"),xe=w("sepia"),rt=w("skew"),ot=w("space"),at=w("translate"),Oe=()=>["auto","contain","none"],Ve=()=>["auto","hidden","clip","visible","scroll"],Ye=()=>["auto",d,t],A=()=>[d,t],st=()=>["",U,V],ye=()=>["auto",ee,d],nt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ve=()=>["solid","dashed","dotted","double","none"],it=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ke=()=>["start","end","center","between","around","evenly","stretch"],me=()=>["","0",d],lt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[ee,d];return{cacheSize:500,separator:":",theme:{colors:[ue],spacing:[U,V],blur:["none","",Y,d],brightness:H(),borderColor:[e],borderRadius:["none","","full",Y,d],borderSpacing:A(),borderWidth:st(),contrast:H(),grayscale:me(),hueRotate:H(),invert:me(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[Dr,V],inset:Ye(),margin:Ye(),opacity:H(),padding:A(),saturate:H(),scale:H(),sepia:me(),skew:H(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[Y]}],"break-after":[{"break-after":lt()}],"break-before":[{"break-before":lt()}],"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:[...nt(),d]}],overflow:[{overflow:Ve()}],"overflow-yt":[{"overflow-yt":Ve()}],"overflow-yt":[{"overflow-yt":Ve()}],overscroll:[{overscroll:Oe()}],"overscroll-yt":[{"overscroll-yt":Oe()}],"overscroll-yt":[{"overscroll-yt":Oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-yt":[{"inset-yt":[v]}],"inset-yt":[{"inset-yt":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],yt:[{yt:["auto",ge,d]}],basis:[{basis:Ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:me()}],shrink:[{shrink:me()}],order:[{order:["first","last","none",ge,d]}],"grid-cols":[{"grid-cols":[ue]}],"col-start-end":[{col:["auto",{span:["full",ge,d]},d]}],"col-start":[{"col-start":ye()}],"col-end":[{"col-end":ye()}],"grid-rows":[{"grid-rows":[ue]}],"row-start-end":[{row:["auto",{span:[ge,d]},d]}],"row-start":[{"row-start":ye()}],"row-end":[{"row-end":ye()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[g]}],"gap-yt":[{"gap-yt":[g]}],"gap-yt":[{"gap-yt":[g]}],"justify-content":[{justify:["normal",...Ke()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ke(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ke(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],yt:[{yt:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],m:[{m:[N]}],mx:[{mx:[N]}],my:[{my:[N]}],ms:[{ms:[N]}],me:[{me:[N]}],mt:[{mt:[N]}],mr:[{mr:[N]}],mb:[{mb:[N]}],ml:[{ml:[N]}],"space-yt":[{"space-yt":[ot]}],"space-yt-reverse":["space-yt-reverse"],"space-yt":[{"space-yt":[ot]}],"space-yt-reverse":["space-yt-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[Y]},Y]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Y,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$e]}],"font-family":[{font:[ue]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",ee,$e]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",U,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",U,V]}],"underline-offset":[{"underline-offset":["auto",U,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...nt(),Hr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","yt","yt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","yt","bl","l","tl"]},Gr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[T]}],"gradient-via-pos":[{via:[T]}],"gradient-to-pos":[{to:[T]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-yt":[{"rounded-yt":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-yt":[{"border-yt":[i]}],"border-w-yt":[{"border-yt":[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-yt":[{"border-yt":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[S]}],"border-style":[{border:[...ve(),"hidden"]}],"divide-yt":[{"divide-yt":[i]}],"divide-yt-reverse":["divide-yt-reverse"],"divide-yt":[{"divide-yt":[i]}],"divide-yt-reverse":["divide-yt-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:ve()}],"border-color":[{border:[s]}],"border-color-yt":[{"border-yt":[s]}],"border-color-yt":[{"border-yt":[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-yt":[{"border-yt":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ve()]}],"outline-offset":[{"outline-offset":[U,d]}],"outline-w":[{outline:[U,V]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:st()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[U,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Y,Or]}],"shadow-color":[{shadow:[ue]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":[...it(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":it()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Y,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[m]}],saturate:[{saturate:[j]}],sepia:[{sepia:[xe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[xe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-yt":[{"border-spacing-yt":[n]}],"border-spacing-yt":[{"border-spacing-yt":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Q]}],"scale-yt":[{"scale-yt":[Q]}],"scale-yt":[{"scale-yt":[Q]}],rotate:[{rotate:[ge,d]}],"translate-yt":[{"translate-yt":[at]}],"translate-yt":[{"translate-yt":[at]}],"skew-yt":[{"skew-yt":[rt]}],"skew-yt":[{"skew-yt":[rt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","yt","yt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-yt":[{"scroll-yt":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","yt","yt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-yt":[{"touch-pan":["yt","left","right"]}],"touch-yt":[{"touch-pan":["yt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[U,V,$e]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-yt","overflow-yt"],overscroll:["overscroll-yt","overscroll-yt"],inset:["inset-yt","inset-yt","start","end","top","right","bottom","left"],"inset-yt":["right","left"],"inset-yt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-yt","gap-yt"],p:["px","py","ps","yt","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-yt","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-yt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-yt","border-spacing-yt"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-yt","border-w-l"],"border-w-yt":["border-w-r","border-w-l"],"border-w-yt":["border-w-t","border-w-yt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-yt","border-color-l"],"border-color-yt":["border-color-r","border-color-l"],"border-color-yt":["border-color-t","border-color-yt"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-yt","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-yt","touch-yt","touch-pz"],"touch-yt":["touch"],"touch-yt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ht=Sr($r);function l(...e){return ht((0,xt.clsx)(e))}var yt=require("react/jsx-runtime");function L({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,yt.jsx)("div",{className:s,children:e})}var Ce=(e,t)=>e[t%e.length];var vt=require("@radix-ui/react-slot"),wt=require("class-variance-authority"),Ct=M(require("react")),jr=(0,wt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),R=Ct.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,yt.jsx)(e?vt.Slot:"button",{className:l(jr({className:t,size:r,variant:a})),ref:o,...s}));R.displayName="Button";var Nt=({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,yt.jsx)("i",{className:i})};var Pt=M(require("next/link"));function _({children:e,href:t,openNewTab:r,...a}){return(0,yt.jsx)(Pt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function Qr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Tt({icon:e,title:t,description:r,slug:a}){return(0,yt.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative yt-1 block h-full space-yt-6 overflow-hidden rounded-5 p-6 md:space-yt-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,yt.jsxs)("div",{className:"flex items-center gap-5",children:[(0,yt.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:Qr(e)?(0,yt.jsx)(Nt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,yt.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,yt.jsx)(_,{href:a,children:t}):t})]}),(0,yt.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,yt.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,yt.jsxs)(_,{href:a,children:[(0,yt.jsx)("span",{children:"Read More"}),(0,yt.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,yt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,yt.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,yt.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-yt-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-yt-100 group-hover/service:opacity-100"})]})}function _r({services:e,className:t}){return(0,yt.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,yt.jsx)(L,{className:"py-8",children:e&&e.length>0&&(0,yt.jsx)("div",{className:"flex flex-wrap justify-center gap-yt-8",children:e.map((r,a)=>(0,yt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Ce([200,400,600],a),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,yt.jsx)(Tt,{...r})},a))})})})}var Ae=require("react-icons/fa6");function Bt({title:e,description:t,features:r,price:a,duration:s,button:o}){return(0,yt.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,yt.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-yt max-lg:pt-14 lg:border-r lg:p-10",children:[(0,yt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,yt.jsx)("p",{children:t})]}),(0,yt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,yt.jsxs)("div",{className:"flex flex-col justify-stretch gap-yt-14 gap-yt-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,yt.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,yt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,yt.jsx)("span",{className:"text-accent pt-1",children:(0,yt.jsx)(Ae.FaCircleCheck,{})}),(0,yt.jsx)("span",{children:n})]},i))}),(0,yt.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,yt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),o&&(0,yt.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,yt.jsx)(R,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,yt.jsxs)(_,{href:o.href,openNewTab:o.openNewTab,children:[(0,yt.jsx)("span",{className:"relative yt-1",children:o.label}),(0,yt.jsx)("span",{className:"relative yt-1 pl-2",children:(0,yt.jsx)(Ae.FaAnglesRight,{})})]})})})]})})]})}var Rt=({className:e,content:t,style:r})=>(0,yt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,yt.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,yt.jsx)(K,{content:t,enableGutter:!1,enableProse:!1})})});var _e=M(require("next/link")),ke=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:i,size:c,url:p}=e,h=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!h)return null;let m=r==="link"?"clear":c,g=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,yt.jsxs)(_e.default,{className:l(s),href:h||p||"",...g,children:[o&&o,a&&a]}):(0,yt.jsx)(R,{asChild:!0,className:s,size:m,variant:r,children:(0,yt.jsxs)(_e.default,{className:l(s),href:h||p||"",...g,children:[o&&o,a&&a]})})};var It=({links:e,richText:t})=>(0,$.jsx)("div",{className:"container",children:(0,$.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,$.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,$.jsx)(K,{className:"mb-0",content:t,enableGutter:!1})}),(0,$.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,$.jsx)(ke,{size:"lg",...r},a))})]})});var Pe=require("prism-react-renderer");var Mt=require("lucide-react"),Lt=require("react");function Et({code:e}){let[t,r]=(0,Lt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,yt.jsx)("div",{className:"flex justify-end align-middle",children:(0,yt.jsxs)(R,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,yt.jsx)("p",{children:t}),(0,yt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,yt.jsx)(Mt.ClipboardCopy,{})})]})})}var Dt=({code:e,language:t=""})=>e?(0,yt.jsx)(Pe.Highlight,{code:e,language:t,theme:Pe.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,yt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-yt-auto",children:[s.map((o,n)=>(0,yt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,yt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,yt.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,yt.jsx)("span",{...a({token:i})},c))})]},n)),(0,yt.jsx)(Et,{code:e})]})}):null;var Ft=({className:e,code:t,language:r})=>(0,yt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,yt.jsx)(Dt,{code:t,language:r})});var Ht=M(require("next/image"));var zt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Se=()=>{if(zt){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 Wr={"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=",Ut=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:c}=e,p,h,m=t,g=i||"";if(!g&&o&&typeof o=="object"){let{alt:v,filename:N,height:S,url:I,width:j}=o;p=j,h=S,m=v||"",g=`${Se()}${I}`}let k=c||"lazy",T=n||Object.entries(Wr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,yt.jsx)("picture",{children:(0,yt.jsx)(Ht.default,{alt:m||"",className:l(a),fill:r,height:r?void 0:h,placeholder:"blur",blurDataURL:Jr,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:T,src:g,width:r?void 0:p})})};var Gt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,Lt.useRef)(null);if((0,Lt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,yt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,yt.jsx)("source",{src:`${Se()}/media/${o}`})})}return null};var Vt=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,yt.jsx)(r||Lt.Fragment,{...r!==null?{className:t}:{},children:s?(0,yt.jsx)(Gt,{...e}):(0,yt.jsx)(Ut,{...e})})};var Yt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,yt.jsx)("div",{className:l("",{container:r},t),children:(0,yt.jsx)(Vt,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var Ie=M(require("react"));function Re({nodes:e}){return(0,yt.jsx)(Ie.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,yt.jsx)(Ie.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,yt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,yt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,yt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,yt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,yt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,yt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,yt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,yt.jsx)("table",{children:(0,yt.jsx)("tbody",{children:t.children.map((o,n)=>(0,yt.jsx)("tr",{children:o.children.map((i,c)=>(0,yt.jsx)("td",{children:Re({nodes:i.children})},c))},n))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return Re({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,yt.jsx)(It,{...o},r);case"mediaBlock":return(0,yt.jsx)(Yt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,yt.jsx)(Rt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,yt.jsx)(Ft,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,yt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,yt.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,yt.jsx)(o,{className:"col-start-2",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,yt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,yt.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,yt.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,yt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,yt.jsx)(ke,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var K=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,yt.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&&Re({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function oe({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:s=!1,className:o,invert:n=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},o);return(0,yt.jsxs)("div",{className:i,children:[e&&(0,yt.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,yt.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",n&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,yt.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,yt.jsx)(K,{content:r,enableGutter:!1})]})}function qr({sectionHeading:e,cards:t}){return(0,yt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,yt.jsxs)(L,{children:[(0,yt.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,yt.jsx)(oe,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,yt.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,yt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Ce([200,400,600],a),className:"py-2",children:(0,yt.jsx)(Bt,{...r})},a))})]})})}var ae=M(require("next/image"));function Zr(e){let{images:t,sectionHeading:r,keyPoints:a,description:s}=e;return(0,yt.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,yt.jsx)(L,{children:(0,yt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,yt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,yt.jsx)(oe,{...r}),a&&a.length>0&&(0,yt.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,yt.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,yt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,yt.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},n))}),s&&(0,yt.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),t&&(0,yt.jsx)("div",{className:"mx-auto text-center",children:(0,yt.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,yt.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,yt.jsxs)("div",{className:"relative yt-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,yt.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -yt-1 h-full w-full rounded-tl-[60px] bg-primary-light"}),(0,yt.jsx)("div",{className:"relative yt-[4] overflow-hidden",children:(0,yt.jsx)(ae.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,yt.jsx)(ae.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] yt-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,yt.jsx)("div",{className:"flex overflow-hidden",children:(0,yt.jsx)(ae.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,yt.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,yt.jsx)(ae.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,yt.jsx)("div",{className:"overflow-hidden",children:(0,yt.jsx)(ae.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,yt.jsx)("div",{className:"absolute left-1/2 top-1/2 yt-[4] -translate-yt-1/2 -translate-yt-1/2 overflow-hidden",children:(0,yt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,yt.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,yt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,yt.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 jt=M(require("next/image"));var $t=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 Qt({blogs:e}){return(0,yt.jsx)("div",{children:e&&e.length>0&&(0,yt.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,yt.jsx)(Xr,{post:t,id:r},r))})})}var Xr=({post:e,id:t})=>{let{slug:r,image:a,authors:s,categories:o,title:n,description:i,publishedAt:c}=e;return(0,yt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,yt.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[a&&(0,yt.jsx)(jt.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,yt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,yt.jsxs)("div",{children:[(0,yt.jsxs)("div",{className:"flex items-center gap-yt-4 text-xs",children:[(0,yt.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:$t(e.publishedAt)}),e.categories&&e.categories.map((p,h)=>(0,yt.jsx)("a",{href:`#${p}`,className:"relative yt-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p},h))]}),(0,yt.jsxs)("div",{className:"group relative max-w-xl",children:[(0,yt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,yt.jsxs)("a",{href:e.slug,children:[(0,yt.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,yt.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,yt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-yt-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((p,h)=>(0,yt.jsxs)("div",{className:"relative flex items-center gap-yt-4",children:[p.image?(0,yt.jsx)("img",{alt:p.image.alt,src:p.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,yt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,yt.jsx)("div",{className:"text-sm/6",children:(0,yt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,yt.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},h))})]})]},t)};var ie=require("next/navigation");var q=M(require("react"));var se=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));se.displayName="Card";var be=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("flex flex-col space-yt-1.5 p-6",e),...t}));be.displayName="CardHeader";var he=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));he.displayName="CardTitle";var eo=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));eo.displayName="CardDescription";var ne=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));ne.displayName="CardContent";var to=q.forwardRef(({className:e,...t},r)=>(0,yt.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));to.displayName="CardFooter";var as=l("transition-colors duration-400 hover:text-primary ease-in-out");function Me({title:e,links:t}){let r=(0,ie.useSearchParams)(),a=(0,ie.usePathname)(),{replace:s}=(0,ie.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,yt.jsxs)(se,{children:[(0,yt.jsx)(be,{children:(0,yt.jsx)(he,{children:e&&e})}),(0,yt.jsx)(ne,{children:t&&t.length>0&&(0,yt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,yt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,yt.jsxs)("li",{className:"flex items-center text-sm text-accent first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(n.href)},children:[n.label,(0,yt.jsx)(Mt.ExternalLink,{className:"ml-1 h-3 w-3"})]},i))})})})]})}var Xe=l("grid h-[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 Jt({pages:e}){let t=(0,ie.useSearchParams)(),r=(0,ie.usePathname)(),{replace:a}=(0,ie.useRouter)(),{totalPages:s,page:o}=e,[n,i]=(0,Lt.useState)({start:o>3?o-3:1,end:o+2}),c=m=>{m==="left"&&n.start>1?i(g=>({start:g.start-1,end:g.end-1})):m==="right"&&n.end<s&&i(g=>({start:g.start+1,end:g.end+1}))};function p(m){let g=new URLSearchParams(t);m?g.set("page",m):g.delete("page"),a(`${r}?${g.toString()}`)}if(s<=1)return null;let h=[];for(let m=n.start;m<=n.end;m++)h.push(m);return(0,yt.jsx)("div",{className:"mt-12",children:(0,yt.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,yt.jsx)("li",{children:(0,yt.jsx)("button",{className:l(Xe,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,yt.jsx)(Ae.FaArrowLeft,{})})}),h.map((m,g)=>(0,yt.jsx)("li",{children:(0,yt.jsx)("a",{className:l(Xe,m===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${m}`,role:"button",onClick:k=>{k.preventDefault(),p(m.toString())},children:m})},g)),n.end<s&&(0,yt.jsx)("li",{children:(0,yt.jsx)("button",{className:l(Xe,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,yt.jsx)(Ae.FaArrowRight,{})})})]})})}function Zt({types:e}){let[t,r]=(0,Lt.useState)(e&&e[0].href),a=(0,ie.useSearchParams)(),s=(0,ie.usePathname)(),{replace:o}=(0,ie.useRouter)();function n(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${s}?${c.toString()}`)}return(0,yt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-yt-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,yt.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},c))})}function ro({blogs:e,pages:t,categories:r,types:a}){return(0,yt.jsx)("section",{children:(0,yt.jsx)(L,{children:(0,yt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,yt.jsxs)("div",{children:[a&&(0,yt.jsx)(Zt,{types:a}),(0,yt.jsx)(Qt,{blogs:e}),(0,yt.jsx)(Jt,{pages:t})]}),(0,yt.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,yt.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,yt.jsx)(Me,{links:r.links,title:r.title})})})]})})})}var ar=M(require("next/image"));var Ee="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//yt";function De({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[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 oo({className:e,...t}){return(0,yt.jsx)("input",{...t,className:De({className:e})})}function Fe({icon:e,...t}){return(0,yt.jsxs)("div",{className:"relative w-full",children:[(0,yt.jsx)(oo,{...t}),e&&(0,yt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-yt-1/2 text-accent",children:e})]})}function ao({className:e,...t}){return(0,yt.jsx)("textarea",{...t,className:l(De({}),"resize-none md:min-h-[130px]",e)})}function Xt({icon:e,...t}){return(0,yt.jsxs)("div",{className:"relative w-full",children:[(0,yt.jsx)(ao,{...t}),e&&(0,yt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var tr=require("formik"),X=M(require("yup"));async function er(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 tt=require("sonner"),F={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},so=X.object().shape({name:X.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),email:X.string().email(F.email).required(F.required),subject:X.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),message:X.string().min(2,F.tooShort).max(300,F.tooLong).required(F.required)}),ze=l("!pr-[44px]"),He=l("!border-red-600 border"),Ue=l("sr-only");function or(){return(0,yt.jsx)(tr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:so,onSubmit:async(e,{resetForm:t})=>{let r=await er(e);r.data===null?tt.toast.error(r.message):(tt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,yt.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,yt.jsxs)("div",{children:[(0,yt.jsx)(Fe,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,yt.jsx)(Ae.FaUser,{}),className:l(ze,e.name&&t.name&&He)}),e.name&&t.name&&(0,yt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ue,children:e.name})]}),(0,yt.jsxs)("div",{children:[(0,yt.jsx)(Fe,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,yt.jsx)(no,{}),className:l(ze,e.email&&t.email&&He)}),e.email&&t.email&&(0,yt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ue,children:e.email})]}),(0,yt.jsxs)("div",{className:"lg:col-span-2",children:[(0,yt.jsx)(Fe,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(ze,e.subject&&t.subject&&He)}),e.subject&&t.subject&&(0,yt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ue,children:e.subject})]}),(0,yt.jsxs)("div",{className:"lg:col-span-2",children:[(0,yt.jsx)(Xt,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,yt.jsx)(io,{}),className:l(ze,e.message&&t.message&&He)}),e.message&&t.message&&(0,yt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ue,children:e.message})]}),(0,yt.jsx)("div",{className:"lg:col-span-2",children:(0,yt.jsx)(R,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,yt.jsx)("span",{children:"SEND"})})})]})})}function no(){return(0,yt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,yt.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 io(){return(0,yt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,yt.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 lo(e){let{sectionHeading:t,image:r}=e;return(0,yt.jsxs)(yt.Fragment,{children:[(0,yt.jsx)("section",{className:"section-padding-primary",children:(0,yt.jsx)("div",{className:"",children:(0,yt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,yt.jsx)("div",{className:"mx-auto max-w-2xl space-yt-16 divide-yt divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,yt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,yt.jsxs)("div",{children:[(0,yt.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,yt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"yt have multiple locations across the UK where we are based. These are our key locations."})]}),(0,yt.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,yt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,yt.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,yt.jsxs)("address",{className:"mt-3 space-yt-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((n,i)=>(0,yt.jsx)("p",{children:n},i))," ",a.mails&&(0,yt.jsxs)("p",{className:"flex items-center space-yt-2",children:[(0,yt.jsx)(Ae.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,yt.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,yt.jsxs)("p",{className:"flex items-center space-yt-2",children:[(0,yt.jsx)(Ae.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,yt.jsx)("section",{className:"section-padding-primary",children:(0,yt.jsxs)("div",{className:"relative py-[60px]",children:[(0,yt.jsx)("div",{className:"absolute left-0 top-0 yt-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,yt.jsx)(ar.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ee})}),(0,yt.jsx)(L,{children:(0,yt.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,yt.jsxs)("div",{className:"relative yt-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,yt.jsx)("div",{className:"mb-30px",children:(0,yt.jsx)(oe,{...t,invert:!0})}),(0,yt.jsx)(or,{})]})})})]})})]})}var sr=M(require("next/image"));var ir=M(require("next/link"));function co({image:e,name:t,about:r,socialLinks:a}){return(0,yt.jsx)("div",{className:"mt-1 yt-10 px-0 pt-0 lg:px-10",children:(0,yt.jsx)(se,{children:(0,yt.jsxs)(ne,{children:[e&&e.src&&(0,yt.jsx)(sr.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Ee,className:"mx-auto mt-6 rounded-full object-cover"}),(0,yt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,yt.jsx)("p",{children:r}),a&&a.length>0&&(0,yt.jsx)("nav",{"aria-label":"social links",children:(0,yt.jsx)("ul",{className:"inline-flex items-center divide-yt divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,yt.jsx)("li",{children:(0,yt.jsx)(_,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-yt-1 hover:text-accents",children:(0,yt.jsx)("span",{children:s.icon})})},o))})})]})})})}function po({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var g;if(!e)return(0,ie.notFound)();let{meta:s,populatedAuthors:o,authors:n,categories:i,content:c,title:p}=e,h={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((g=o==null?void 0:o[0])==null?void 0:g.name)||"",category:i,commentCount:0,title:p,description:(s==null?void 0:s.description)||""},m=n==null?void 0:n.map(k=>{var T,v;return{name:k.name||"",about:"",image:{src:k.profilePicture&&((v=(T=k.profilePicture.sizes)==null?void 0:T.small)==null?void 0:v.url)||"/assets/images/blog/author-1.png",alt:k.name||"blog author"},socialLinks:[]}});return(0,yt.jsx)(L,{children:(0,yt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,yt.jsx)("div",{children:(0,yt.jsxs)("div",{className:"[&_p+yt]:mt-4",children:[(0,yt.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,yt.jsx)(K,{content:c,enableGutter:!1})]})}),(0,yt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,yt.jsx)("div",{className:"mt-4 lg:-mt-10 yt-10 px-0 pt-0 lg:px-10",children:(0,yt.jsxs)(se,{children:[(0,yt.jsx)(be,{children:(0,yt.jsx)(he,{children:"CMS Actions"})}),(0,yt.jsxs)(ne,{children:[(0,yt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,yt.jsx)(ir.default,{href:`${a}${e.id}`,children:(0,yt.jsx)(R,{className:"w-full",children:"Edit"})})]})]})}),m&&m.map((k,T)=>(0,yt.jsx)(co,{...k},T)),t&&t.links&&(0,yt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,yt.jsx)(Me,{links:t.links,title:t.title})})]})]})})}0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,PricingSection,ServiceSection});
@@ -1 +1 @@
1
- import{a}from"../chunk-QN26GI2T.mjs";import{a as d}from"../chunk-W4TZ3J2T.mjs";import"../chunk-AD7PG4E2.mjs";import{a as e}from"../chunk-WKQSTYZP.mjs";import"../chunk-2JZGT4F6.mjs";import"../chunk-YLGJP63J.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import{a as b}from"../chunk-ITU7C5FD.mjs";import{a as c}from"../chunk-2DFHHXVF.mjs";import{a as f}from"../chunk-EVXXDGB5.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-ETU7V76A.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-XHQLYY3W.mjs";import"../chunk-6ZNVXWZR.mjs";import"../chunk-66ZAIUUI.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-3ULIS6GM.mjs";import"../chunk-IMAQJ7N3.mjs";import"../chunk-LBKMUSVR.mjs";import"../chunk-IPHHUHS3.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-XVXQHP54.mjs";import"../chunk-4MNYZ3VG.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-D2WXBUVJ.mjs";export{c as AboutSection,f as BlogDetail,d as BlogListSection,e as ContactSection,b as PricingSection,a as ServiceSection};
1
+ import{a}from"../chunk-QN26GI2T.mjs";import{a as d}from"../chunk-SGCPFH7R.mjs";import"../chunk-AD7PG4E2.mjs";import{a as e}from"../chunk-WKQSTYZP.mjs";import"../chunk-2JZGT4F6.mjs";import"../chunk-YLGJP63J.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import{a as b}from"../chunk-ITU7C5FD.mjs";import{a as c}from"../chunk-2DFHHXVF.mjs";import{a as f}from"../chunk-YBNYR2ON.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-ETU7V76A.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-XHQLYY3W.mjs";import"../chunk-6ZNVXWZR.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-66ZAIUUI.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-3ULIS6GM.mjs";import"../chunk-IMAQJ7N3.mjs";import"../chunk-LBKMUSVR.mjs";import"../chunk-IPHHUHS3.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-XVXQHP54.mjs";import"../chunk-4MNYZ3VG.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-D2WXBUVJ.mjs";export{c as AboutSection,f as BlogDetail,d as BlogListSection,e as ContactSection,b as PricingSection,a as ServiceSection};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "cortex-react-components",
3
3
  "author": "Cortex Reply",
4
4
  "private": false,
5
- "version": "1.32.0",
5
+ "version": "1.32.1",
6
6
  "description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
7
7
  "license": "MPL-2.0",
8
8
  "main": "./dist/index.js",
@@ -1 +0,0 @@
1
- import{a as x}from"./chunk-KML6U7IE.mjs";import{a as N}from"./chunk-XVXQHP54.mjs";import{d as P}from"./chunk-4MNYZ3VG.mjs";import{b as h}from"./chunk-GLEWUUGS.mjs";import{a as p,b as v,c as C,e as c}from"./chunk-D76EO57Z.mjs";import{a as b}from"./chunk-WISCWNL2.mjs";import{a as k}from"./chunk-UESKYRNK.mjs";import U from"next/image";import{notFound as L}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function S({image:a,name:i,about:m,socialLinks:s}){return t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(p,{children:o(c,{children:[a&&a.src&&t(U,{src:a.src,alt:a.alt||i,width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:i}),t("p",{children:m}),s&&s.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:s.map((e,n)=>t("li",{children:t(b,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},n))})})]})})})}function q({page:a,categoryList:i,edit:m=!1,path:s="/admin/collections/posts/"}){var f;if(!a)return L();let{meta:e,populatedAuthors:n,authors:d,categories:y,content:w,title:M}=a,T={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((f=n==null?void 0:n[0])==null?void 0:f.name)||"",category:y,commentCount:0,title:M,description:(e==null?void 0:e.description)||""},g=d==null?void 0:d.map(r=>{var l,u;return{name:r.name||"",about:"",image:{src:r.profilePicture&&((u=(l=r.profilePicture.sizes)==null?void 0:l.small)==null?void 0:u.url)||"/assets/images/blog/author-1.png",alt:r.name||"blog author"},socialLinks:[]}});return t(k,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(P,{content:w,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(p,{children:[t(v,{children:t(C,{children:"CMS Actions"})}),o(c,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${s}${a.id}`,children:t(h,{className:"w-full",children:"Edit"})})]})]})}),g&&g.map((r,l)=>t(S,{...r},l)),i&&i.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(N,{links:i.links,title:i.title})})]})]})})}export{q as a};