cortex-react-components 1.32.0 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2UKNCJDO.mjs +1 -0
- package/dist/chunk-3FTRFEVM.mjs +4 -0
- package/dist/{chunk-NGAHEN2R.mjs → chunk-3ZQYE7M3.mjs} +1 -1
- package/dist/{chunk-3TIFSACL.mjs → chunk-4BZYZZOG.mjs} +1 -1
- package/dist/chunk-BBLJ3L2P.mjs +1 -0
- package/dist/{chunk-WKQSTYZP.mjs → chunk-BXES3HTI.mjs} +1 -1
- package/dist/{chunk-IPHHUHS3.mjs → chunk-D43ENVPX.mjs} +1 -1
- package/dist/{chunk-IMAQJ7N3.mjs → chunk-EMZQNDA7.mjs} +1 -1
- package/dist/{chunk-X7TVNR3Q.mjs → chunk-G6FDSV44.mjs} +1 -1
- package/dist/chunk-GBN7ZEZT.mjs +4 -0
- package/dist/{chunk-2ZFONB6D.mjs → chunk-GFTFZ7JY.mjs} +1 -1
- package/dist/{chunk-LBKMUSVR.mjs → chunk-IE2A7UT3.mjs} +1 -1
- package/dist/chunk-ITOI4U3L.mjs +4 -0
- package/dist/chunk-JFBAPONK.mjs +4 -0
- package/dist/chunk-KAJDV47B.mjs +1 -0
- package/dist/{chunk-W4TZ3J2T.mjs → chunk-KKDY7QXC.mjs} +1 -1
- package/dist/{chunk-3ULIS6GM.mjs → chunk-LHFZLDTD.mjs} +1 -1
- package/dist/{chunk-2DFHHXVF.mjs → chunk-LXAGAIOE.mjs} +1 -1
- package/dist/{chunk-2JZGT4F6.mjs → chunk-M5B5U7TU.mjs} +1 -1
- package/dist/{chunk-Z3ACMQN7.mjs → chunk-MZ45XGZG.mjs} +1 -1
- package/dist/{chunk-ITU7C5FD.mjs → chunk-NZHUMOVD.mjs} +1 -1
- package/dist/{chunk-YH4LGOVO.mjs → chunk-O2DBG3NV.mjs} +1 -1
- package/dist/{chunk-HM23H5RT.mjs → chunk-OZ3WPHBH.mjs} +1 -1
- package/dist/{chunk-WR4OEF6T.mjs → chunk-PIHQ5WLE.mjs} +1 -1
- package/dist/{chunk-NH74CS36.mjs → chunk-S7CP4YF5.mjs} +1 -1
- package/dist/chunk-SZRSUFSZ.mjs +1 -0
- package/dist/chunk-TST7OX5V.mjs +1 -0
- package/dist/{chunk-GOMLTG5W.mjs → chunk-V7YLLLES.mjs} +1 -1
- package/dist/{chunk-YIBBFV25.mjs → chunk-WTT65H2O.mjs} +1 -1
- package/dist/chunk-XKUS4OC7.mjs +1 -0
- package/dist/{chunk-3PC5BLK7.mjs → chunk-Y3ZD3LIO.mjs} +1 -1
- package/dist/chunk-ZE5A5R73.mjs +1 -0
- package/dist/{chunk-BG4CGVSG.mjs → chunk-ZNC5NNDY.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.d.ts +1 -0
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.d.ts +2 -1
- package/dist/components/HeaderFooter/Header.js +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.js +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.js +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.js +1 -1
- package/dist/components/Menus/Categories.stories.mjs +1 -1
- package/dist/components/Menus/RelatedContent.d.ts +1 -0
- package/dist/components/Menus/RelatedContent.js +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/RelatedContent.stories.js +1 -1
- package/dist/components/Menus/RelatedContent.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.d.ts +5 -2
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +3 -3
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.js +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.js +182 -182
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +192 -192
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Website.d.ts +8 -3
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -436
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.d.ts +16 -0
- package/dist/sections/MainPageSection.js +4 -0
- package/dist/sections/MainPageSection.mjs +2 -0
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.d.ts +1 -0
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-4MNYZ3VG.mjs +0 -1
- package/dist/chunk-BQQUZJRS.mjs +0 -1
- package/dist/chunk-EVXXDGB5.mjs +0 -1
- package/dist/chunk-FNXBIW3Q.mjs +0 -1
- package/dist/chunk-FV54JBLJ.mjs +0 -4
- package/dist/chunk-J4WWW7JZ.mjs +0 -1
- package/dist/chunk-OMZBJY76.mjs +0 -1
- package/dist/chunk-WZQ3UMEQ.mjs +0 -4
- package/dist/chunk-XHQLYY3W.mjs +0 -1
- package/dist/chunk-XVXQHP54.mjs +0 -4
package/dist/sections/index.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";var 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 fr=Object.create;var Ae=Object.defineProperty;var br=Object.getOwnPropertyDescriptor;var hr=Object.getOwnPropertyNames;var xr=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty;var vr=(e,t)=>{for(var r in t)Ae(e,r,{get:t[r],enumerable:!0})},gt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of hr(t))!yr.call(e,s)&&s!==r&&Ae(e,s,{get:()=>t[s],enumerable:!(a=br(t,s))||a.enumerable});return e};var M=(e,t,r)=>(r=e!=null?fr(xr(e)):{},gt(t||!e||!e.__esModule?Ae(r,"default",{value:e,enumerable:!0}):r,e)),wr=e=>gt(Ae({},"__esModule",{value:!0}),e);var vo={};vr(vo,{AboutSection:()=>so,BlogDetail:()=>xo,BlogListSection:()=>co,ContactSection:()=>bo,MainPageSection:()=>yo,PricingSection:()=>ao,ServiceSection:()=>to});module.exports=wr(vo);var Ct=require("clsx");var qe="-",Cr=e=>{let t=Ar(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(qe);return i[0]===""&&i.length!==1&&i.shift(),bt(i,t)||Nr(n)},getConflictingClassGroupIds:(n,i)=>{let c=r[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},bt=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?bt(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},ut=/^\[(.+)\]$/,Nr=e=>{if(ut.test(e)){let t=ut.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ar=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Pr(Object.entries(e.classGroups),r).forEach(([o,n])=>{We(n,a,o,t)}),a},We=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:ft(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(kr(s)){We(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{We(n,ft(t,o),r,a)})})},ft=(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},kr=e=>e.isThemeGetter,Pr=(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,Sr=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)}}},ht="!",Tr=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 P=0;P<i.length;P++){let T=i[P];if(p===0){if(T===s&&(a||i.slice(P,P+o)===t)){c.push(i.slice(h,P)),h=P+o;continue}if(T==="/"){m=P;continue}}T==="["?p++:T==="]"&&p--}let g=c.length===0?i:i.substring(h),u=g.startsWith(ht),N=u?g.substring(1):g,f=m&&m>h?m-h:void 0;return{modifiers:c,hasImportantModifier:u,baseClassName:N,maybePostfixModifierPosition:f}};return r?i=>r({className:i,parseClassName:n}):n},Rr=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},Br=e=>({cache:Sr(e.cacheSize),parseClassName:Tr(e),...Cr(e)}),Ir=/\s+/,Lr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(Ir),i="";for(let c=n.length-1;c>=0;c-=1){let p=n[c],{modifiers:h,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:u}=r(p),N=!!u,f=a(N?g.substring(0,u):g);if(!f){if(!N){i=p+(i.length>0?" "+i:i);continue}if(f=a(g),!f){i=p+(i.length>0?" "+i:i);continue}N=!1}let P=Rr(h).join(":"),T=m?P+ht:P,I=T+f;if(o.includes(I))continue;o.push(I);let Z=s(f,N);for(let X=0;X<Z.length;++X){let we=Z[X];o.push(T+we)}i=p+(i.length>0?" "+i:i)}return i};function Mr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=xt(t))&&(a&&(a+=" "),a+=r);return a}var xt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=xt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Er(e,...t){let r,a,s,o=n;function n(c){let p=t.reduce((h,m)=>m(h),e());return r=Br(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=Lr(c,r);return s(c,h),h}return function(){return o(Mr.apply(null,arguments))}}var A=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},yt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Hr=/^\d+\/\d+$/,Dr=new Set(["px","full","screen"]),zr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Fr=/\d+(%|px|r?em|[sdl]?Nt([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(Nt|h|i|Nt|min|max))|\Nt(calc|min|max|clamp)\(.+\)|^0$/,Ur=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Gr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Or=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=e=>ne(e)||Dr.has(e)||Hr.test(e),_=e=>ie(e,"length",Wr),ne=e=>!!e&&!Number.isNaN(Number(e)),_e=e=>ie(e,"number",ne),he=e=>!!e&&Number.isInteger(Number(e)),Vr=e=>e.endsWith("%")&&ne(e.slice(0,-1)),d=e=>yt.test(e),W=e=>zr.test(e),Yr=new Set(["length","size","percentage"]),$r=e=>ie(e,Yr,vt),Kr=e=>ie(e,"position",vt),jr=new Set(["image","url"]),Qr=e=>ie(e,jr,Jr),_r=e=>ie(e,"",qr),xe=()=>!0,ie=(e,t,r)=>{let a=yt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Wr=e=>Fr.test(e)&&!Ur.test(e),vt=()=>!1,qr=e=>Gr.test(e),Jr=e=>Or.test(e);var Zr=()=>{let e=A("colors"),t=A("spacing"),r=A("blur"),a=A("brightness"),s=A("borderColor"),o=A("borderRadius"),n=A("borderSpacing"),i=A("borderWidth"),c=A("contrast"),p=A("grayscale"),h=A("hueRotate"),m=A("invert"),g=A("gap"),u=A("gradientColorStops"),N=A("gradientColorStopPositions"),f=A("inset"),P=A("margin"),T=A("opacity"),I=A("padding"),Z=A("saturate"),X=A("scale"),we=A("sepia"),nt=A("skew"),it=A("space"),lt=A("translate"),$e=()=>["auto","contain","none"],Ke=()=>["auto","hidden","clip","visible","scroll"],je=()=>["auto",d,t],S=()=>[d,t],ct=()=>["",$,_],Ce=()=>["auto",ne,d],dt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ne=()=>["solid","dashed","dotted","double","none"],pt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Qe=()=>["start","end","center","between","around","evenly","stretch"],be=()=>["","0",d],mt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[ne,d];return{cacheSize:500,separator:":",theme:{colors:[xe],spacing:[$,_],blur:["none","",W,d],brightness:Y(),borderColor:[e],borderRadius:["none","","full",W,d],borderSpacing:S(),borderWidth:ct(),contrast:Y(),grayscale:be(),hueRotate:Y(),invert:be(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[Vr,_],inset:je(),margin:je(),opacity:Y(),padding:S(),saturate:Y(),scale:Y(),sepia:be(),skew:Y(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[W]}],"break-after":[{"break-after":mt()}],"break-before":[{"break-before":mt()}],"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:[...dt(),d]}],overflow:[{overflow:Ke()}],"overflow-Nt":[{"overflow-Nt":Ke()}],"overflow-Nt":[{"overflow-Nt":Ke()}],overscroll:[{overscroll:$e()}],"overscroll-Nt":[{"overscroll-Nt":$e()}],"overscroll-Nt":[{"overscroll-Nt":$e()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-Nt":[{"inset-Nt":[f]}],"inset-Nt":[{"inset-Nt":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",he,d]}],basis:[{basis:je()}],"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:be()}],shrink:[{shrink:be()}],order:[{order:["first","last","none",he,d]}],"grid-cols":[{"grid-cols":[xe]}],"col-start-end":[{col:["auto",{span:["full",he,d]},d]}],"col-start":[{"col-start":Ce()}],"col-end":[{"col-end":Ce()}],"grid-rows":[{"grid-rows":[xe]}],"row-start-end":[{row:["auto",{span:[he,d]},d]}],"row-start":[{"row-start":Ce()}],"row-end":[{"row-end":Ce()}],"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-Nt":[{"gap-Nt":[g]}],"gap-Nt":[{"gap-Nt":[g]}],"justify-content":[{justify:["normal",...Qe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Qe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Qe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],pe:[{pe:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],pe:[{pe:[P]}],mt:[{mt:[P]}],mr:[{mr:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-Nt":[{"space-Nt":[it]}],"space-Nt-reverse":["space-Nt-reverse"],"space-Nt":[{"space-Nt":[it]}],"space-Nt-reverse":["space-Nt-reverse"],Nt:[{Nt:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-Nt":[{"min-Nt":[d,t,"min","max","fit"]}],"max-Nt":[{"max-Nt":[d,t,"none","full","min","max","fit","prose",{screen:[W]},W]}],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",W,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_e]}],"font-family":[{font:[xe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",ne,_e]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,_]}],"underline-offset":[{"underline-offset":["auto",$,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...dt(),Kr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Nt","Nt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$r]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Nt","bl","l","tl"]},Qr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[u]}],"gradient-via":[{via:[u]}],"gradient-to":[{to:[u]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-Nt":[{"rounded-Nt":[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-Nt":[{border:[i]}],"border-Nt-Nt":[{"border-Nt":[i]}],"border-Nt-Nt":[{"border-Nt":[i]}],"border-Nt-s":[{"border-s":[i]}],"border-Nt-e":[{"border-e":[i]}],"border-Nt-t":[{"border-t":[i]}],"border-Nt-r":[{"border-r":[i]}],"border-Nt-Nt":[{"border-Nt":[i]}],"border-Nt-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...Ne(),"hidden"]}],"divide-Nt":[{"divide-Nt":[i]}],"divide-Nt-reverse":["divide-Nt-reverse"],"divide-Nt":[{"divide-Nt":[i]}],"divide-Nt-reverse":["divide-Nt-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:Ne()}],"border-color":[{border:[s]}],"border-color-Nt":[{"border-Nt":[s]}],"border-color-Nt":[{"border-Nt":[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-Nt":[{"border-Nt":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Ne()]}],"outline-offset":[{"outline-offset":[$,d]}],"outline-Nt":[{outline:[$,_]}],"outline-color":[{outline:[e]}],"ring-Nt":[{ring:ct()}],"ring-Nt-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-Nt":[{"ring-offset":[$,_]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",W,_r]}],"shadow-color":[{shadow:[xe]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...pt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":pt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",W,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[m]}],saturate:[{saturate:[Z]}],sepia:[{sepia:[we]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[Z]}],"backdrop-sepia":[{"backdrop-sepia":[we]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-Nt":[{"border-spacing-Nt":[n]}],"border-spacing-Nt":[{"border-spacing-Nt":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[X]}],"scale-Nt":[{"scale-Nt":[X]}],"scale-Nt":[{"scale-Nt":[X]}],rotate:[{rotate:[he,d]}],"translate-Nt":[{"translate-Nt":[lt]}],"translate-Nt":[{"translate-Nt":[lt]}],"skew-Nt":[{"skew-Nt":[nt]}],"skew-Nt":[{"skew-Nt":[nt]}],"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","Nt-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","Nt","Nt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Nt","Nt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Nt":[{"touch-pan":["Nt","left","right"]}],"touch-Nt":[{"touch-pan":["Nt","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-Nt":[{stroke:[$,_,_e]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Nt","overflow-Nt"],overscroll:["overscroll-Nt","overscroll-Nt"],inset:["inset-Nt","inset-Nt","start","end","top","right","bottom","left"],"inset-Nt":["right","left"],"inset-Nt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Nt","gap-Nt"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","pe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["Nt","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-Nt","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-Nt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Nt","border-spacing-Nt"],"border-Nt":["border-Nt-s","border-Nt-e","border-Nt-t","border-Nt-r","border-Nt-Nt","border-Nt-l"],"border-Nt-Nt":["border-Nt-r","border-Nt-l"],"border-Nt-Nt":["border-Nt-t","border-Nt-Nt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Nt","border-color-l"],"border-color-Nt":["border-color-r","border-color-l"],"border-color-Nt":["border-color-t","border-color-Nt"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-pe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Nt","touch-Nt","touch-pz"],"touch-Nt":["touch"],"touch-Nt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var wt=Er(Zr);function l(...e){return wt((0,Ct.clsx)(e))}var Nt=require("react/jsx-runtime");function E({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,Nt.jsx)("div",{className:s,children:e})}var ke=(e,t)=>e[t%e.length];var At=require("@radix-ui/react-slot"),kt=require("class-variance-authority"),Pt=M(require("react")),Xr=(0,kt.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 Nt-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),B=Pt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,Nt.jsx)(e?At.Slot:"button",{className:l(Xr({className:t,size:r,variant:a})),ref:o,...s}));B.displayName="Button";var Tt=({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,Nt.jsx)("i",{className:i})};var Bt=M(require("next/link"));function ee({children:e,href:t,openNewTab:r,...a}){return(0,Nt.jsx)(Bt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function eo(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Lt({icon:e,title:t,description:r,slug:a}){return(0,Nt.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block h-full space-Nt-6 overflow-hidden rounded-5 p-6 md:space-Nt-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Nt.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Nt.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:eo(e)?(0,Nt.jsx)(Tt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Nt.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,Nt.jsx)(ee,{href:a,children:t}):t})]}),(0,Nt.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,Nt.jsx)(B,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,Nt.jsxs)(ee,{href:a,children:[(0,Nt.jsx)("span",{children:"Read More"}),(0,Nt.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Nt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Nt.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,Nt.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] Nt-full scale-Nt-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Nt-100 group-hover/service:opacity-100"})]})}function to({services:e,className:t}){return(0,Nt.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,Nt.jsx)(E,{className:"py-8",children:e&&e.length>0&&(0,Nt.jsx)("div",{className:"flex flex-wrap justify-center gap-Nt-8",children:e.map((r,a)=>(0,Nt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ke([200,400,600],a),className:"Nt-full px-4 md:Nt-1/2 lg:Nt-1/3",children:(0,Nt.jsx)(Lt,{...r})},a))})})})}var Pe=require("react-icons/fa6");function Mt({title:e,description:t,features:r,price:a,duration:s,button:o}){return(0,Nt.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,Nt.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-Nt max-lg:pt-14 lg:border-r lg:p-10",children:[(0,Nt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Nt.jsx)("p",{children:t})]}),(0,Nt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,Nt.jsxs)("div",{className:"flex flex-col justify-stretch gap-Nt-14 gap-Nt-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,Nt.jsx)("ul",{"aria-label":"pricing point list",className:"grid Nt-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((n,i)=>(0,Nt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Nt.jsx)("span",{className:"text-accent pt-1",children:(0,Nt.jsx)(Pe.FaCircleCheck,{})}),(0,Nt.jsx)("span",{children:n})]},i))}),(0,Nt.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,Nt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),o&&(0,Nt.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,Nt.jsx)(B,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Nt.jsxs)(ee,{href:o.href,openNewTab:o.openNewTab,children:[(0,Nt.jsx)("span",{className:"relative z-1",children:o.label}),(0,Nt.jsx)("span",{className:"relative z-1 pl-2",children:(0,Nt.jsx)(Pe.FaAnglesRight,{})})]})})})]})})]})}var Et=({className:e,content:t,style:r})=>(0,Nt.jsx)("div",{className:l("mx-auto my-8 Nt-full",e),children:(0,Nt.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,Nt.jsx)(q,{content:t,enableGutter:!1,enableProse:!1})})});var Je=M(require("next/link")),Te=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,Nt.jsxs)(Je.default,{className:l(s),href:h||p||"",...g,children:[o&&o,a&&a]}):(0,Nt.jsx)(B,{asChild:!0,className:s,size:m,variant:r,children:(0,Nt.jsxs)(Je.default,{className:l(s),href:h||p||"",...g,children:[o&&o,a&&a]})})};var Ht=({links:e,richText:t})=>(0,Nt.jsx)("div",{className:"container",children:(0,Nt.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,Nt.jsx)("div",{className:"max-Nt-[48rem] flex items-center",children:t&&(0,Nt.jsx)(q,{className:"mb-0",content:t,enableGutter:!1})}),(0,Nt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Nt.jsx)(Te,{size:"lg",...r},a))})]})});var Re=require("prism-react-renderer");var Dt=require("lucide-react"),zt=require("react");function Ft({code:e}){let[t,r]=(0,zt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Nt.jsx)("div",{className:"flex justify-end align-middle",children:(0,Nt.jsxs)(B,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Nt.jsx)("p",{children:t}),(0,Nt.jsx)("div",{className:"Nt-6 h-6 dark:invert",children:(0,Nt.jsx)(Dt.ClipboardCopy,{})})]})})}var Ut=({code:e,language:t=""})=>e?(0,Nt.jsx)(Re.Highlight,{code:e,language:t,theme:Re.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,Nt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Nt-auto",children:[s.map((o,n)=>(0,Nt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Nt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,Nt.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,Nt.jsx)("span",{...a({token:i})},c))})]},n)),(0,Nt.jsx)(Ft,{code:e})]})}):null;var Gt=({className:e,code:t,language:r})=>(0,Nt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Nt.jsx)(Ut,{code:t,language:r})});var Vt=M(require("next/image"));var Ot=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Be=()=>{if(Ot){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 ro={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},oo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Yt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:c}=e,p,h,m=t,g=i||"";if(!g&&o&&typeof o=="object"){let{alt:f,filename:P,height:T,url:I,width:Z}=o;p=Z,h=T,m=f||"",g=`${Be()}${I}`}let u=c||"lazy",N=n||Object.entries(ro).map(([,f])=>`(max-width: ${f}px) ${f*2}Nt`).join(", ");return(0,Nt.jsx)("picture",{children:(0,Nt.jsx)(Vt.default,{alt:m||"",className:l(a),fill:r,height:r?void 0:h,placeholder:"blur",blurDataURL:oo,priority:u!=="lazy"&&s,quality:100,loading:u,sizes:N,src:g,width:r?void 0:p})})};var $t=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,zt.useRef)(null);if((0,zt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Nt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Nt.jsx)("source",{src:`${Be()}/media/${o}`})})}return null};var jt=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,Nt.jsx)(r||zt.Fragment,{...r!==null?{className:t}:{},children:s?(0,Nt.jsx)($t,{...e}):(0,Nt.jsx)(Yt,{...e})})};var Qt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,Nt.jsx)("div",{className:l("",{container:r},t),children:(0,Nt.jsx)(jt,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var Ee=M(require("react"));function Me({nodes:e}){return(0,Nt.jsx)(Ee.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Nt.jsx)(Ee.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Nt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Nt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Nt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Nt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Nt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Nt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Nt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Nt.jsx)("table",{children:(0,Nt.jsx)("tbody",{children:t.children.map((o,n)=>(0,Nt.jsx)("tr",{children:o.children.map((i,c)=>(0,Nt.jsx)("td",{children:Me({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 Me({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,Nt.jsx)(Ht,{...o},r);case"mediaBlock":return(0,Nt.jsx)(Qt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-Nt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Nt.jsx)(Et,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Nt.jsx)(Gt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Nt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Nt.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Nt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Nt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Nt.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,Nt.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,Nt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,Nt.jsx)(Te,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var q=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,Nt.jsx)("div",{className:l({"container ":r,"max-Nt-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Me({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function ce({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,Nt.jsxs)("div",{className:i,children:[e&&(0,Nt.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,Nt.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,Nt.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,Nt.jsx)(q,{content:r,enableGutter:!1})]})}function ao({sectionHeading:e,cards:t}){return(0,Nt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,Nt.jsxs)(E,{children:[(0,Nt.jsx)("div",{className:"mx-auto max-Nt-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Nt.jsx)(ce,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Nt.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,Nt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ke([200,400,600],a),className:"py-2",children:(0,Nt.jsx)(Mt,{...r})},a))})]})})}var de=M(require("next/image"));function so(e){let{images:t,sectionHeading:r,keyPoints:a,description:s}=e;return(0,Nt.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,Nt.jsx)(E,{children:(0,Nt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Nt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Nt.jsx)(ce,{...r}),a&&a.length>0&&(0,Nt.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,Nt.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,Nt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,Nt.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},n))}),s&&(0,Nt.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),t&&(0,Nt.jsx)("div",{className:"mx-auto text-center",children:(0,Nt.jsxs)("div",{className:"relative mx-auto grid max-Nt-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Nt.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,Nt.jsxs)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,Nt.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -z-1 h-full Nt-full rounded-tl-[60px] bg-primary-light"}),(0,Nt.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,Nt.jsx)(de.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,Nt.jsx)(de.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] z-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,Nt.jsx)("div",{className:"flex overflow-hidden",children:(0,Nt.jsx)(de.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,Nt.jsx)("div",{className:"ml-auto flex max-Nt-[250px] justify-end overflow-hidden",children:(0,Nt.jsx)(de.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,Nt.jsx)("div",{className:"overflow-hidden",children:(0,Nt.jsx)(de.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,Nt.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-Nt-1/2 -translate-Nt-1/2 overflow-hidden",children:(0,Nt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Nt.jsx)("span",{className:"grid h-[100px] Nt-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Nt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Nt.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 qt=M(require("next/image"));var Wt=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 Jt({blogs:e}){return(0,Nt.jsx)("div",{children:e&&e.length>0&&(0,Nt.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,Nt.jsx)(no,{post:t,id:r},r))})})}var no=({post:e,id:t})=>{let{slug:r,image:a,authors:s,categories:o,title:n,description:i,publishedAt:c}=e;return(0,Nt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Nt.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:Nt-64 lg:shrink-0",children:[a&&(0,Nt.jsx)(qt.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,Nt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Nt.jsxs)("div",{children:[(0,Nt.jsxs)("div",{className:"flex items-center gap-Nt-4 text-xs",children:[(0,Nt.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Wt(e.publishedAt)}),e.categories&&e.categories.map((p,h)=>(0,Nt.jsx)("a",{href:`#${p}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p},h))]}),(0,Nt.jsxs)("div",{className:"group relative max-Nt-xl",children:[(0,Nt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Nt.jsxs)("a",{href:e.slug,children:[(0,Nt.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,Nt.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,Nt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-Nt-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((p,h)=>(0,Nt.jsxs)("div",{className:"relative flex items-center gap-Nt-4",children:[p.image?(0,Nt.jsx)("img",{alt:p.image.alt,src:p.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,Nt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Nt.jsx)("div",{className:"text-sm/6",children:(0,Nt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Nt.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},h))})]})]},t)};var pe=require("next/navigation");var oe=M(require("react"));var z=oe.forwardRef(({className:e,...t},r)=>(0,Nt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));z.displayName="Card";var G=oe.forwardRef(({className:e,...t},r)=>(0,Nt.jsx)("div",{ref:r,className:l("flex flex-col space-Nt-1.5 p-6",e),...t}));G.displayName="CardHeader";var O=oe.forwardRef(({className:e,...t},r)=>(0,Nt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));O.displayName="CardTitle";var io=oe.forwardRef(({className:e,...t},r)=>(0,Nt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));io.displayName="CardDescription";var F=oe.forwardRef(({className:e,...t},r)=>(0,Nt.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));F.displayName="CardContent";var lo=oe.forwardRef(({className:e,...t},r)=>(0,Nt.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));lo.displayName="CardFooter";var ms=l("transition-colors duration-400 hover:text-primary ease-in-out");function He({title:e,links:t}){let r=(0,pe.useSearchParams)(),a=(0,pe.usePathname)(),{replace:s}=(0,pe.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,Nt.jsxs)(z,{children:[(0,Nt.jsx)(G,{children:(0,Nt.jsx)(O,{className:"text-accent",children:e&&e})}),(0,Nt.jsx)(F,{children:t&&t.length>0&&(0,Nt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Nt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,Nt.jsxs)("li",{className:"flex items-center text-sm text-primary first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(n.href)},children:[n.label,(0,Nt.jsx)(Dt.ExternalLink,{className:"ml-1 h-3 Nt-3"})]},i))})})})]})}var Xt=M(require("next/link"));var tr=({links:e,title:t="Related Content"})=>(0,Nt.jsxs)(z,{children:[(0,Nt.jsx)(G,{children:(0,Nt.jsx)(O,{className:"text-accent",children:t})}),(0,Nt.jsx)(F,{children:(0,Nt.jsx)("nav",{className:"flex flex-col space-Nt-2",children:e.map((r,a)=>(0,Nt.jsxs)(Xt.default,{href:r.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[r.title,r.url.startsWith("http")&&(0,Nt.jsx)(Dt.ExternalLink,{className:"ml-1 h-3 Nt-3"})]},a))})})]});var rt=l("grid h-[45px] Nt-[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 or({pages:e}){let t=(0,pe.useSearchParams)(),r=(0,pe.usePathname)(),{replace:a}=(0,pe.useRouter)(),{totalPages:s,page:o}=e,[n,i]=(0,zt.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,Nt.jsx)("div",{className:"mt-12",children:(0,Nt.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,Nt.jsx)("li",{children:(0,Nt.jsx)("button",{className:l(rt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Nt.jsx)(Pe.FaArrowLeft,{})})}),h.map((m,g)=>(0,Nt.jsx)("li",{children:(0,Nt.jsx)("a",{className:l(rt,m===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${m}`,role:"button",onClick:u=>{u.preventDefault(),p(m.toString())},children:m})},g)),n.end<s&&(0,Nt.jsx)("li",{children:(0,Nt.jsx)("button",{className:l(rt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Nt.jsx)(Pe.FaArrowRight,{})})})]})})}function sr({types:e}){let[t,r]=(0,zt.useState)(e&&e[0].href),a=(0,pe.useSearchParams)(),s=(0,pe.usePathname)(),{replace:o}=(0,pe.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,Nt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Nt-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,Nt.jsx)(B,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},c))})}function co({blogs:e,pages:t,categories:r,types:a}){return(0,Nt.jsx)("section",{children:(0,Nt.jsx)(E,{children:(0,Nt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Nt.jsxs)("div",{children:[a&&(0,Nt.jsx)(sr,{types:a}),(0,Nt.jsx)(Jt,{blogs:e}),(0,Nt.jsx)(or,{pages:t})]}),(0,Nt.jsx)("div",{className:"grid gap-30px Nt-full self-baseline max-md:mx-auto max-md:max-Nt-[410px] lg:gap-10",children:(0,Nt.jsx)("div",{className:"lg:-mt-24 Nt-full",children:r&&r.links&&(0,Nt.jsx)(He,{links:r.links,title:r.title})})})]})})})}var pr=M(require("next/image"));var ze="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function Fe({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] Nt-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 po({className:e,...t}){return(0,Nt.jsx)("input",{...t,className:Fe({className:e})})}function Ue({icon:e,...t}){return(0,Nt.jsxs)("div",{className:"relative Nt-full",children:[(0,Nt.jsx)(po,{...t}),e&&(0,Nt.jsx)("span",{className:"absolute right-5 top-1/2 Nt-[14px] -translate-Nt-1/2 text-accent",children:e})]})}function mo({className:e,...t}){return(0,Nt.jsx)("textarea",{...t,className:l(Fe({}),"resize-none md:min-h-[130px]",e)})}function nr({icon:e,...t}){return(0,Nt.jsxs)("div",{className:"relative Nt-full",children:[(0,Nt.jsx)(mo,{...t}),e&&(0,Nt.jsx)("span",{className:"absolute right-5 top-[18px] Nt-[14px] text-accent",children:e})]})}var lr=require("formik"),se=M(require("yup"));async function ir(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 at=require("sonner"),U={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},go=se.object().shape({name:se.string().min(2,U.tooShort).max(50,U.tooLong).required(U.required),email:se.string().email(U.email).required(U.required),subject:se.string().min(2,U.tooShort).max(50,U.tooLong).required(U.required),message:se.string().min(2,U.tooShort).max(300,U.tooLong).required(U.required)}),Ge=l("!pr-[44px]"),Oe=l("!border-red-600 border"),Ve=l("sr-only");function dr(){return(0,Nt.jsx)(lr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:go,onSubmit:async(e,{resetForm:t})=>{let r=await ir(e);r.data===null?at.toast.error(r.message):(at.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,Nt.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Nt.jsxs)("div",{children:[(0,Nt.jsx)(Ue,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,Nt.jsx)(Pe.FaUser,{}),className:l(Ge,e.name&&t.name&&Oe)}),e.name&&t.name&&(0,Nt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ve,children:e.name})]}),(0,Nt.jsxs)("div",{children:[(0,Nt.jsx)(Ue,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,Nt.jsx)(uo,{}),className:l(Ge,e.email&&t.email&&Oe)}),e.email&&t.email&&(0,Nt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ve,children:e.email})]}),(0,Nt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Nt.jsx)(Ue,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(Ge,e.subject&&t.subject&&Oe)}),e.subject&&t.subject&&(0,Nt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ve,children:e.subject})]}),(0,Nt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Nt.jsx)(nr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,Nt.jsx)(fo,{}),className:l(Ge,e.message&&t.message&&Oe)}),e.message&&t.message&&(0,Nt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ve,children:e.message})]}),(0,Nt.jsx)("div",{className:"lg:col-span-2",children:(0,Nt.jsx)(B,{type:"submit",className:"Nt-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,Nt.jsx)("span",{children:"SEND"})})})]})})}function uo(){return(0,Nt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Nt.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 fo(){return(0,Nt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Nt.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 bo(e){let{sectionHeading:t,image:r}=e;return(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)("section",{className:"section-padding-primary",children:(0,Nt.jsx)("div",{className:"",children:(0,Nt.jsx)("div",{className:"mx-auto max-Nt-7xl px-6 lg:px-8",children:(0,Nt.jsx)("div",{className:"mx-auto max-Nt-2xl space-Nt-16 divide-Nt divide-gray-100 lg:mx-0 lg:max-Nt-none",children:(0,Nt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Nt.jsxs)("div",{children:[(0,Nt.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Nt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,Nt.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,Nt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Nt.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,Nt.jsxs)("address",{className:"mt-3 space-Nt-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((n,i)=>(0,Nt.jsx)("p",{children:n},i))," ",a.mails&&(0,Nt.jsxs)("p",{className:"flex items-center space-Nt-2",children:[(0,Nt.jsx)(Pe.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Nt.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,Nt.jsxs)("p",{className:"flex items-center space-Nt-2",children:[(0,Nt.jsx)(Pe.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,Nt.jsx)("section",{className:"section-padding-primary",children:(0,Nt.jsxs)("div",{className:"relative py-[60px]",children:[(0,Nt.jsx)("div",{className:"absolute left-0 top-0 z-1 h-full Nt-full overflow-hidden bg-red-500 md:Nt-[56%] md:rounded-r-5",children:(0,Nt.jsx)(pr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:ze})}),(0,Nt.jsx)(E,{children:(0,Nt.jsx)("div",{className:"ml-auto md:Nt-1/2",children:(0,Nt.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,Nt.jsx)("div",{className:"mb-30px",children:(0,Nt.jsx)(ce,{...t,invert:!0})}),(0,Nt.jsx)(dr,{})]})})})]})})]})}var mr=M(require("next/image"));var ur=M(require("next/link"));function ho({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,Nt.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,Nt.jsx)(z,{children:(0,Nt.jsxs)(F,{children:[e&&e.src&&(0,Nt.jsx)(mr.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:ze,className:"mx-auto mt-6 rounded-full object-cover"}),(0,Nt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,Nt.jsx)("p",{children:r}),a&&a.length>0&&(0,Nt.jsx)("nav",{"aria-label":"social links",children:(0,Nt.jsx)("ul",{className:"inline-flex items-center divide-Nt divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,Nt.jsx)("li",{children:(0,Nt.jsx)(ee,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-Nt-1 hover:text-accents",children:(0,Nt.jsx)("span",{children:s.icon})})},o))})})]})})})}function xo({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var g;if(!e)return(0,pe.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(u=>{var N,f;return{name:u.name||"",about:"",image:{src:u.profilePicture&&((f=(N=u.profilePicture.sizes)==null?void 0:N.small)==null?void 0:f.url)||"",alt:u.name||"blog author"},socialLinks:[]}});return(0,Nt.jsx)(E,{children:(0,Nt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Nt.jsx)("div",{children:(0,Nt.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,Nt.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Nt.jsx)(q,{content:c,enableGutter:!1})]})}),(0,Nt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-Nt-[410px] lg:gap-10",children:[r&&(0,Nt.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,Nt.jsxs)(z,{children:[(0,Nt.jsx)(G,{children:(0,Nt.jsx)(O,{className:"text-accent",children:"CMS Actions"})}),(0,Nt.jsxs)(F,{children:[(0,Nt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Nt.jsx)(ur.default,{href:`${a}${e.id}`,children:(0,Nt.jsx)(B,{variant:"outline",className:"Nt-full text-accent",children:"Edit"})})]})]})}),m&&m.map((u,N)=>(0,Nt.jsx)(ho,{...u},N)),t&&t.links&&(0,Nt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,Nt.jsx)(He,{links:t.links,title:t.title})})]})]})})}var st=M(require("next/link"));var yo=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:s="/admin/collections/pages/",relatedContent:o={title:"Related Content",links:[]}})=>{let[n,i]=(0,zt.useState)(!1),[c,p]=(0,zt.useState)(""),h=()=>{i(!n)},m=u=>{switch(u){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},g=(u,N)=>{u.preventDefault();let f=document.getElementById(N);if(f){let T=f.offsetTop+-100,I=document.querySelector(".container")||window;I===window?window.scrollTo({top:T,behavior:"smooth"}):I.scrollTo({top:T,behavior:"smooth"}),p(N)}else console.error(`Element with ID "${N}" not found.`)};return(0,zt.useEffect)(()=>{let u=window.location.hash;if(u){let N=u.substring(1),f=document.getElementById(N);if(f){let T=f.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:T,behavior:"smooth"})}}},[]),(0,Nt.jsxs)("div",{className:"container py-8",children:[(0,Nt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,Nt.jsx)("div",{className:l(n?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,Nt.jsxs)("div",{className:l("space-Nt-6 transform min-Nt-full transition-transform duration-300","col-span-4 md:col-span-1 translate-Nt-0 xl:-mt-20",n?"translate-Nt-0":"md:translate-Nt-full","xl:block xl:col-span-1 xl:translate-Nt-0"),children:[r.length>3&&(0,Nt.jsxs)(z,{className:"Nt-full max-Nt-sm mt-4",children:[(0,Nt.jsx)(G,{children:(0,Nt.jsx)(O,{className:"text-accent",children:"On this page"})}),(0,Nt.jsx)(F,{children:(0,Nt.jsx)("ul",{className:"space-Nt-2",children:r.map((u,N)=>(0,Nt.jsx)("li",{className:m(u.tag),children:(0,Nt.jsx)("a",{href:`#${u.id}`,onClick:f=>g(f,u.id),className:`text-sm ${c===u.id?"text-accent font-semibold":"text-primary"} hover:text-accent`,children:u.text})},N))})})]}),a&&(0,Nt.jsxs)(z,{children:[(0,Nt.jsx)(G,{children:(0,Nt.jsx)(O,{children:"CMS Actions"})}),(0,Nt.jsxs)(F,{children:[(0,Nt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,Nt.jsx)(st.default,{href:`${s}${t}`,children:(0,Nt.jsx)(B,{variant:"outline",className:"Nt-full text-accent",children:"Edit Page"})}),(0,Nt.jsx)(st.default,{href:"/admin/collections/pages/create",children:(0,Nt.jsx)(B,{variant:"outline",className:"Nt-full mt-2 text-accent",children:"Create New"})})]})]}),o&&o.links.length>0&&(0,Nt.jsx)(tr,{...o})]}),(0,Nt.jsx)("button",{onClick:h,className:l("fixed top-1/2 right-0 z-50 h-16 Nt-8 bg-accent text-accent-foreground rounded-l-full transform -translate-Nt-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,Nt.jsx)("div",{className:"block md:hidden mt-8",children:(0,Nt.jsx)("div",{className:"space-Nt-6",children:e})})]})};0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,MainPageSection,PricingSection,ServiceSection});
|
package/dist/sections/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-QN26GI2T.mjs";import{a as d}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-QN26GI2T.mjs";import{a as d}from"../chunk-KKDY7QXC.mjs";import"../chunk-AD7PG4E2.mjs";import{a as e}from"../chunk-BXES3HTI.mjs";import"../chunk-M5B5U7TU.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-YLGJP63J.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-MMBUMBDU.mjs";import{a as b}from"../chunk-NZHUMOVD.mjs";import{a as g}from"../chunk-ITOI4U3L.mjs";import{a as c}from"../chunk-LXAGAIOE.mjs";import{a as f}from"../chunk-SZRSUFSZ.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-ETU7V76A.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-6ZNVXWZR.mjs";import"../chunk-66ZAIUUI.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-TST7OX5V.mjs";import"../chunk-LHFZLDTD.mjs";import"../chunk-EMZQNDA7.mjs";import"../chunk-IE2A7UT3.mjs";import"../chunk-3FTRFEVM.mjs";import"../chunk-BBLJ3L2P.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-D43ENVPX.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.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,g as MainPageSection,b as PricingSection,a as ServiceSection};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "cortex-react-components",
|
|
3
3
|
"author": "Cortex Reply",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.33.0",
|
|
6
6
|
"description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
|
|
7
7
|
"license": "MPL-2.0",
|
|
8
8
|
"main": "./dist/index.js",
|
package/dist/chunk-4MNYZ3VG.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as h,j as g,k as C,l as d,m as R,n as P,o as v}from"./chunk-O5BAW5XQ.mjs";import{a as m}from"./chunk-YAH6C5YX.mjs";import{a as y}from"./chunk-ODLDYXPZ.mjs";import{a as k}from"./chunk-763KMQIQ.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as p,jsxs as S}from"react/jsx-runtime";var b=({links:s,richText:e})=>p("div",{className:"container",children:S("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:[p("div",{className:"max-w-[48rem] flex items-center",children:e&&p(n,{className:"mb-0",content:e,enableGutter:!1})}),p("div",{className:"flex flex-col gap-8",children:(s||[]).map(({link:a},c)=>p(m,{size:"lg",...a},c))})]})});import w,{Fragment as I}from"react";import{jsx as t}from"react/jsx-runtime";function f({nodes:s}){return t(I,{children:s==null?void 0:s.map((e,a)=>{if(e==null)return null;if(e.type==="text"){let r=t(w.Fragment,{children:e.text},a);return e.format&1&&(r=t("strong",{children:r},a)),e.format&2&&(r=t("em",{children:r},a)),e.format&4&&(r=t("span",{style:{textDecoration:"line-through"},children:r},a)),e.format&8&&(r=t("span",{style:{textDecoration:"underline"},children:r},a)),e.format&16&&(r=t("code",{children:e.text},a)),e.format&32&&(r=t("sub",{children:r},a)),e.format&64&&(r=t("sup",{children:r},a)),r}if(e.type==="table")return t("table",{children:t("tbody",{children:e.children.map((r,o)=>t("tr",{children:r.children.map((N,B)=>t("td",{children:f({nodes:N.children})},B))},o))})},a);let c=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return f({nodes:r.children})},l="children"in e?c(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){case"cta":return t(b,{...r},a);case"mediaBlock":return t(y,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return t(T,{className:"col-start-2 mb-4",...r},a);case"code":return t(k,{className:"col-start-2",...r},a);default:return null}}else switch(e.type){case"linebreak":return t("br",{className:"col-start-2"},a);case"paragraph":return t("p",{className:"col-start-2",children:l},a);case"heading":{let r=e==null?void 0:e.tag;return t(r,{className:"col-start-2",children:l},a)}case"list":{let r=e==null?void 0:e.tag;return t(r,{className:"list col-start-2",children:l},a)}case"listitem":return(e==null?void 0:e.checked)!=null?t("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:l},a):t("li",{value:e==null?void 0:e.value,children:l},a);case"quote":return t("blockquote",{className:"col-start-2",children:l},a);case"link":{let r=e.fields;return t(m,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:l},a)}default:return null}})})}import{jsx as x}from"react/jsx-runtime";var n=({className:s,content:e,enableGutter:a=!0,enableProse:c=!0})=>{var l;return e?x("div",{className:i({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":c},s),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&f({nodes:(l=e==null?void 0:e.root)==null?void 0:l.children})}):null};import{jsx as u}from"react/jsx-runtime";var T=({className:s,content:e,style:a})=>u("div",{className:i("mx-auto my-8 w-full",s),children:u("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:u(n,{content:e,enableGutter:!1,enableProse:!1})})});export{T as a,b,f as c,n as d};
|
package/dist/chunk-BQQUZJRS.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as b}from"./chunk-BZAYEKYC.mjs";import{a as u}from"./chunk-456IOI6A.mjs";import{a as l}from"./chunk-2ZFONB6D.mjs";import{a as s}from"./chunk-YH4LGOVO.mjs";import{a as c}from"./chunk-WR4OEF6T.mjs";import{a as p}from"./chunk-FNXBIW3Q.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{a as t,b as i,c as a,e as m}from"./chunk-D76EO57Z.mjs";import{a as h}from"./chunk-OMZBJY76.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function S({...r}){return o("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e("div",{className:"fixed top-0 left-0 right-0 z-50",children:e(h,{isMenuOpen:!0,logoLight:b,logoDark:f})}),r.hero&&r.hero.type==="lowImpact"&&e(s,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(c,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(p,{...r.hero}),r.hero&&r.hero.type==="sectionHero"&&e(u,{...r.hero}),e("div",{className:"container py-8",children:o("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),o("div",{className:"space-y-6",children:[o(t,{children:[e(i,{children:e(a,{children:"Quick Actions"})}),o(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full bg-accent text-accent-foreground",children:"Create New"})]})]}),o(t,{children:[e(i,{children:e(a,{children:"Resources"})}),e(m,{children:o("nav",{className:"flex flex-col space-y-2",children:[o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{S as a};
|
package/dist/chunk-EVXXDGB5.mjs
DELETED
|
@@ -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};
|
package/dist/chunk-FNXBIW3Q.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as p}from"./chunk-YNNW2C2U.mjs";import l from"react";import x from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var b=({post:v})=>{var g;let{categories:r,meta:d,populatedAuthors:a,publishedAt:i,title:f}=v;return t("div",{className:"relative -mt-[10.4rem] flex items-end",children:[e("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:t("div",{className:"col-start-1 col-span-3",children:[e("div",{className:"uppercase text-sm mb-6",children:r==null?void 0:r.map((m,s)=>{if(typeof m=="object"&&m!==null){let{title:n}=m,c=n||"Untitled category",o=s===r.length-1;return t(l.Fragment,{children:[c,!o&&e(l.Fragment,{children:", \xA0"})]},s)}return null})}),e("div",{className:"",children:e("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:f})}),t("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[e("div",{className:"flex flex-col gap-4",children:a&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Author"}),a.map((m,s)=>{let{name:n}=m,c=s===a.length-1,o=s===a.length-2;return t(l.Fragment,{children:[n,o&&a.length>2&&e(l.Fragment,{children:", "}),o&&a.length===2&&e(l.Fragment,{children:" "}),!c&&a.length>1&&e(l.Fragment,{children:"and "})]},s)})]})}),i&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Date Published"}),e("time",{dateTime:i,children:p(i)})]})]})]})}),t("div",{className:"min-h-[80vh] select-none",children:[e("div",{children:e(x,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:((g=d&&d.image)==null?void 0:g.url)||"/assets/images/blog/gradient.png"})}),e("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};export{b as a};
|
package/dist/chunk-FV54JBLJ.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as l}from"./chunk-2ZFONB6D.mjs";import{a as s}from"./chunk-YH4LGOVO.mjs";import{a as c}from"./chunk-WR4OEF6T.mjs";import{a as u}from"./chunk-FNXBIW3Q.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{a,b as o,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as p}from"./chunk-O5XLZ254.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function h({...r}){return t("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(p,{...r.header}),t("div",{className:"relative",children:[r.hero&&r.hero.type==="lowImpact"&&e(s,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(c,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(u,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(a,{children:[e(o,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(a,{children:[e(o,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{h as a};
|
package/dist/chunk-J4WWW7JZ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as g}from"./chunk-4MNYZ3VG.mjs";import{a as c}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as m}from"react/jsx-runtime";var d=({title:r,description:l,features:n})=>m("section",{className:c("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[r&&e("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:r}),l&&e("p",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:l}),e("div",{className:`grid gap-8 md:grid-cols-${n?n.length:1}`,children:n&&n.map((t,o)=>{var i,s;let a=m("div",{className:"flex flex-col gap-4",children:[e("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:e("i",{className:`${t.icon.type} fa-${t.icon.icon} fa-4x`})}),e("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:t.title}),typeof t.content!="object"&&e("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:t.content}}),typeof t.content=="object"&&e("div",{className:"text-lg opacity-80",children:e(g,{content:t.content,enableGutter:!1})})]},o);return console.log("link",t.link),t.link?e("a",{href:t.link.url?t.link.url:`/${(i=t.link.reference)==null?void 0:i.relationTo}/${((s=t.link.reference)==null?void 0:s.value).slug}`,className:"no-underline group",children:a},o):a})})]});export{d as a};
|
package/dist/chunk-OMZBJY76.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as i}from"./chunk-XDP6BKTK.mjs";import{a as t}from"./chunk-3TIFSACL.mjs";import{jsx as m,jsxs as p}from"react/jsx-runtime";function g({isMenuOpen:e,logoLight:o,logoDark:a,menuItems:r}){return p("div",{className:"fixed top-0 left-0 right-0 z-50",children:[m(t,{isMenuOpen:e,logoLight:o,logoDark:a,menuItems:r}),m(i,{isMenuOpen:e,logoLight:o,logoDark:a,menuItems:r})]})}export{g as a};
|
package/dist/chunk-WZQ3UMEQ.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as d,b as o,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as S}from"./chunk-IMAQJ7N3.mjs";import{a as b}from"./chunk-3YZN4MJB.mjs";import{a as p}from"./chunk-LBKMUSVR.mjs";import{b as s,d as c,f as u}from"./chunk-IPHHUHS3.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-O5XLZ254.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...a}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(f,{...a.header}),r(s,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(c,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none"})]}),e(b,{})]})}export{h as a};
|
package/dist/chunk-XHQLYY3W.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r,b as a,c as n,e as o}from"./chunk-D76EO57Z.mjs";import s from"next/link";import{ExternalLink as d}from"lucide-react";import{jsx as t,jsxs as l}from"react/jsx-runtime";var c=({links:i})=>l(r,{children:[t(a,{children:t(n,{children:"Related"})}),t(o,{children:t("nav",{className:"flex flex-col space-y-2",children:i.map((e,m)=>l(s,{href:e.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[e.title,e.url.startsWith("http")&&t(d,{className:"ml-1 h-3 w-3"})]},m))})})]});export{c as a};
|
package/dist/chunk-XVXQHP54.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as s,b as i,c as l,e as c}from"./chunk-D76EO57Z.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{useSearchParams as h,usePathname as u,useRouter as P}from"next/navigation";import{ExternalLink as y}from"lucide-react";import{jsx as r,jsxs as m}from"react/jsx-runtime";var N=n("transition-colors duration-400 hover:text-primary ease-in-out");function S({title:o,links:a}){let p=h(),C=u(),{replace:d}=P();function f(e){console.log(e);let t=new URLSearchParams(p);e?t.set("category",e):t.delete("category"),d(`${C}?${t.toString()}`)}return m(s,{children:[r(i,{children:r(l,{children:o&&o})}),r(c,{children:a&&a.length>0&&r("nav",{"aria-label":"footer links navigation",children:r("ul",{className:"grid gap-2.5 ",children:a.map((e,t)=>m("li",{className:"flex items-center text-sm text-accent first:pt-0 hover:cursor-pointer",onClick:g=>{g.preventDefault(),f(e.href)},children:[e.label,r(y,{className:"ml-1 h-3 w-3"})]},t))})})})]})}export{S as a};
|