cortex-react-components 1.62.0 → 1.62.2
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-2ZB6Z7XN.mjs +4 -0
- package/dist/chunk-326JXRIS.mjs +1 -0
- package/dist/{chunk-X7BL4XNE.mjs → chunk-5ALQQYYE.mjs} +1 -1
- package/dist/{chunk-CKHMERFD.mjs → chunk-65BHP4TM.mjs} +1 -1
- package/dist/{chunk-W44AKXM4.mjs → chunk-B7STYVDB.mjs} +1 -1
- package/dist/{chunk-YRSOMSFW.mjs → chunk-CJF6GVGP.mjs} +1 -1
- package/dist/{chunk-WLNBPCJF.mjs → chunk-DVGPU4EL.mjs} +1 -1
- package/dist/{chunk-24APRFWG.mjs → chunk-EVVDCPEA.mjs} +1 -1
- package/dist/chunk-FGHN2OHF.mjs +1 -0
- package/dist/{chunk-YCHCFTKF.mjs → chunk-FN5C27GW.mjs} +1 -1
- package/dist/chunk-FSYU3D5O.mjs +1 -0
- package/dist/{chunk-RR4HR3KN.mjs → chunk-GHXEOXV4.mjs} +1 -1
- package/dist/{chunk-DJMYL5YL.mjs → chunk-HFT5KFCM.mjs} +1 -1
- package/dist/{chunk-7J7FNKHF.mjs → chunk-IH37BDR2.mjs} +1 -1
- package/dist/{chunk-2H6ELPBB.mjs → chunk-JLCWVIEP.mjs} +1 -1
- package/dist/{chunk-KGIOLQSJ.mjs → chunk-JU7C3V5N.mjs} +1 -1
- package/dist/{chunk-YH4UFIEW.mjs → chunk-L5MDFQGH.mjs} +1 -1
- package/dist/{chunk-ZD7HSIMS.mjs → chunk-MUBDAI2K.mjs} +1 -1
- package/dist/{chunk-PARG2DLL.mjs → chunk-NP2M5K7O.mjs} +1 -1
- package/dist/{chunk-V4JGZT55.mjs → chunk-OMVXDUX7.mjs} +1 -1
- package/dist/{chunk-TLE6V6RN.mjs → chunk-RG5W7B5K.mjs} +1 -1
- package/dist/{chunk-W77KSAW7.mjs → chunk-RZUYAUCR.mjs} +1 -1
- package/dist/{chunk-2LZPPRWJ.mjs → chunk-U7Q6ZRR3.mjs} +1 -1
- package/dist/{chunk-FC3MJHFL.mjs → chunk-UDQTFQR7.mjs} +1 -1
- package/dist/{chunk-LSDSIUTM.mjs → chunk-VEWTPB7K.mjs} +1 -1
- package/dist/{chunk-T6FBWMZR.mjs → chunk-WKFNZUIR.mjs} +1 -1
- package/dist/{chunk-KYZKHJAK.mjs → chunk-WPL2QWNG.mjs} +1 -1
- package/dist/{chunk-Q5OSKAPP.mjs → chunk-X4EKDFOJ.mjs} +1 -1
- package/dist/{chunk-BZ2FTWEK.mjs → chunk-X4Q7WZZS.mjs} +1 -1
- package/dist/{chunk-DXDSW6OM.mjs → chunk-XIVKVQK2.mjs} +1 -1
- package/dist/{chunk-DIM5GGBK.mjs → chunk-XZ4GLJWK.mjs} +1 -1
- package/dist/chunk-YPK6OLRS.mjs +4 -0
- package/dist/{chunk-ITA62TPJ.mjs → chunk-ZJCHVWSF.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/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
- package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.d.ts +1 -0
- 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.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/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/RelatedContent.d.ts +2 -2
- 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/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.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 +8 -8
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +13 -13
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +1 -1
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.js +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +1 -1
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PageSections.js +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +1 -1
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetail.js +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.js +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-4CCX3VUG.mjs +0 -1
- package/dist/chunk-F75HZ4ID.mjs +0 -4
- package/dist/chunk-TNHG4LC5.mjs +0 -1
- package/dist/chunk-WQVJEFK2.mjs +0 -4
- package/dist/chunk-WWAAWBLR.mjs +0 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";var St=Object.create;var ne=Object.defineProperty;var It=Object.getOwnPropertyDescriptor;var Tt=Object.getOwnPropertyNames;var Rt=Object.getPrototypeOf,Mt=Object.prototype.hasOwnProperty;var zt=(e,t)=>{for(var r in t)ne(e,r,{get:t[r],enumerable:!0})},Ue=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Tt(t))!Mt.call(e,n)&&n!==r&&ne(e,n,{get:()=>t[n],enumerable:!(a=It(t,n))||a.enumerable});return e};var U=(e,t,r)=>(r=e!=null?St(Rt(e)):{},Ue(t||!e||!e.__esModule?ne(r,"default",{value:e,enumerable:!0}):r,e)),Ft=e=>Ue(ne({},"__esModule",{value:!0}),e);var Br={};zt(Br,{LoadsOfText:()=>Pr,NoOverlay:()=>Ar,WithGradientCard:()=>Cr,WithRadialCard:()=>Me,WithStatsCard:()=>Nr,default:()=>kr});module.exports=Ft(Br);var We=require("clsx");var Ce="-",Et=e=>{let t=Gt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Ce);return i[0]===""&&i.length!==1&&i.shift(),Ye(i,t)||Dt(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},Ye=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Ye(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Ce);return t.validators.find(({validator:s})=>s(o))?.classGroupId},He=/^\[(.+)\]$/,Dt=e=>{if(He.test(e)){let t=He.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Gt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return jt(Object.entries(e.classGroups),r).forEach(([o,s])=>{ke(s,a,o,t)}),a},ke=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:qe(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Lt(n)){ke(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{ke(s,qe(t,o),r,a)})})},qe=(e,t)=>{let r=e;return t.split(Ce).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Lt=e=>e.isThemeGetter,jt=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,Ut=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},Oe="!",Ht=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],p=0,u=0,C;for(let v=0;v<i.length;v++){let w=i[v];if(p===0){if(w===n&&(a||i.slice(v,v+o)===t)){c.push(i.slice(u,v)),u=v+o;continue}if(w==="/"){C=v;continue}}w==="["?p++:w==="]"&&p--}let k=c.length===0?i:i.substring(u),N=k.startsWith(Oe),B=N?k.substring(1):k,x=C&&C>u?C-u:void 0;return{modifiers:c,hasImportantModifier:N,baseClassName:B,maybePostfixModifierPosition:x}};return r?i=>r({className:i,parseClassName:s}):s},qt=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},Yt=e=>({cache:Ut(e.cacheSize),parseClassName:Ht(e),...Et(e)}),Ot=/\s+/,Qt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Ot),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:u,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:N}=r(p),B=!!N,x=a(B?k.substring(0,N):k);if(!x){if(!B){i=p+(i.length>0?" "+i:i);continue}if(x=a(k),!x){i=p+(i.length>0?" "+i:i);continue}B=!1}let v=qt(u).join(":"),w=C?v+Oe:v,A=w+x;if(o.includes(A))continue;o.push(A);let D=n(x,B);for(let I=0;I<D.length;++I){let re=D[I];o.push(w+re)}i=p+(i.length>0?" "+i:i)}return i};function Vt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Qe(t))&&(a&&(a+=" "),a+=r);return a}var Qe=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Qe(e[a]))&&(r&&(r+=" "),r+=t);return r};function Kt(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((u,C)=>C(u),e());return r=Yt(p),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let u=Qt(c,r);return n(c,u),u}return function(){return o(Vt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ve=/^\[(?:([a-z-]+):)?(.+)\]$/i,Jt=/^\d+\/\d+$/,Wt=new Set(["px","full","screen"]),Xt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|lt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|j|i|j|min|max))|\j(calc|min|max|clamp)\(.+\)|^0$/,$t=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_t=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,er=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>Y(e)||Wt.has(e)||Jt.test(e),G=e=>O(e,"length",lr),Y=e=>!!e&&!Number.isNaN(Number(e)),we=e=>O(e,"number",Y),W=e=>!!e&&Number.isInteger(Number(e)),tr=e=>e.endsWith("%")&&Y(e.slice(0,-1)),d=e=>Ve.test(e),L=e=>Xt.test(e),rr=new Set(["length","size","percentage"]),or=e=>O(e,rr,Ke),ar=e=>O(e,"position",Ke),nr=new Set(["image","url"]),sr=e=>O(e,nr,dr),ir=e=>O(e,"",cr),X=()=>!0,O=(e,t,r)=>{let a=Ve.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},lr=e=>Zt.test(e)&&!$t.test(e),Ke=()=>!1,cr=e=>_t.test(e),dr=e=>er.test(e);var pr=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),a=g("brightness"),n=g("borderColor"),o=g("borderRadius"),s=g("borderSpacing"),i=g("borderWidth"),c=g("contrast"),p=g("grayscale"),u=g("hueRotate"),C=g("invert"),k=g("gap"),N=g("gradientColorStops"),B=g("gradientColorStopPositions"),x=g("inset"),v=g("margin"),w=g("opacity"),A=g("padding"),D=g("saturate"),I=g("scale"),re=g("sepia"),ze=g("skew"),Fe=g("space"),Ee=g("translate"),ye=()=>["auto","contain","none"],he=()=>["auto","hidden","clip","visible","scroll"],xe=()=>["auto",d,t],y=()=>[d,t],De=()=>["",z,G],oe=()=>["auto",Y,d],Ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ae=()=>["solid","dashed","dotted","double","none"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",d],je=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[Y,d];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[z,G],blur:["none","",L,d],brightness:M(),borderColor:[e],borderRadius:["none","","full",L,d],borderSpacing:y(),borderWidth:De(),contrast:M(),grayscale:J(),hueRotate:M(),invert:J(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[tr,G],inset:xe(),margin:xe(),opacity:M(),padding:y(),saturate:M(),scale:M(),sepia:J(),skew:M(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":je()}],"break-before":[{"break-before":je()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ge(),d]}],overflow:[{overflow:he()}],"overflow-x":[{"overflow-x":he()}],"overflow-y":[{"overflow-y":he()}],overscroll:[{overscroll:ye()}],"overscroll-x":[{"overscroll-x":ye()}],"overscroll-y":[{"overscroll-y":ye()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",W,d]}],basis:[{basis:xe()}],"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:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",W,d]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",W,d]},d]}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[W,d]},d]}],"row-start":[{"row-start":oe()}],"row-end":[{"row-end":oe()}],"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:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...ve()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ve(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ve(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],lt:[{lt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],j:[{j:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[Fe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Fe]}],"space-y-reverse":["space-y-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:[L]},L]}],j:[{j:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-j":[{"min-j":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-j":[{"max-j":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",L,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",we]}],"font-family":[{font:[X]}],"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",Y,we]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,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":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,G]}],"underline-offset":[{"underline-offset":["auto",z,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:y()}],"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":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ge(),ar]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",or]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","j","bl","l","tl"]},sr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-j":[{"rounded-j":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-j":[{"rounded-j":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[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-j":[{"border-j":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...ae(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:ae()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-j":[{"border-j":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ae()]}],"outline-offset":[{"outline-offset":[z,d]}],"outline-w":[{outline:[z,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:De()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[z,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",L,ir]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",L,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[C]}],saturate:[{saturate:[D]}],sepia:[{sepia:[re]}],"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":[u]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[D]}],"backdrop-sepia":[{"backdrop-sepia":[re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[W,d]}],"translate-x":[{"translate-x":[Ee]}],"translate-y":[{"translate-y":[Ee]}],"skew-x":[{"skew-x":[ze]}],"skew-y":[{"skew-y":[ze]}],"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","j-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-j":[{"scroll-j":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-lt":[{"scroll-lt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,G,we]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","lt","pr","pb","pl"],px:["pr","pl"],py:["lt","pb"],j:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","j"],"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-j","rounded-l","rounded-ss","rounded-j","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-j","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-j":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-j","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-j"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-j","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-j"],"scroll-j":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-lt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-lt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Je=Kt(pr);function l(...e){return Je((0,We.clsx)(e))}var Xe=U(require("next/image")),j=require("react/jsx-runtime");function Ze({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?j=80&w=2574&auto=format&fit=crop",imageAlt:a="Professional presentation in modern office setting",imagePosition:n="left",overlay:o=!0}){return(0,j.jsxs)("section",{className:l("relative min-j-[50vh] w-full overflow-hidden",e),children:[(0,j.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,j.jsx)(Xe.default,{src:r||"/placeholder.svg",alt:a,fill:!0,className:"object-cover",priority:!0}),o&&(0,j.jsx)("div",{className:"absolute inset-0",style:{background:n==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,j.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",n==="left"?"justify-end":"justify-start"),children:(0,j.jsx)("div",{className:l("w-full max-w-xl py-12",n==="left"?"ml-auto":"mr-auto"),children:t})})]})}var $e=require("@radix-ui/react-slot"),_e=require("class-variance-authority"),et=U(require("react")),mr=(0,_e.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:"j-10 px-4 py-2",icon:"j-10 w-10",lg:"j-11 rounded px-8",sm:"j-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",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-accent"}}}),F=et.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,j.jsx)(e?$e.Slot:"button",{className:l(mr({className:t,size:r,variant:a})),ref:o,...n}));F.displayName="Button";var rt=({className:e,content:t,style:r})=>(0,j.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,j.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,j.jsx)(T,{content:t,enableGutter:!1,enableProse:!1})})});var lt=require("react");var Ne=U(require("next/link")),$=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:p}=e,u=t==="reference"&&typeof i?.value=="object"&&i.value.slug?`${i?.relationTo!=="pages"?`/${i?.relationTo}`:""}/${i.value.slug}`:p;if(!u)return null;let C=r==="link"?"clear":c,k=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,j.jsxs)(Ne.default,{className:l(n),href:u||p||"",...k,children:[o&&o,a&&a]}):(0,j.jsx)(F,{asChild:!0,className:n,size:C,variant:r,children:(0,j.jsxs)(Ne.default,{className:l(n),href:u||p||"",...k,children:[o&&o,a&&a]})})};function ie({className:e}){return l("flex items-center min-j-[3.5rem] md:min-j-[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 ur({className:e,...t}){return(0,j.jsx)("input",{...t,className:ie({className:e})})}function le({icon:e,...t}){return(0,j.jsxs)("div",{className:"relative w-full",children:[(0,j.jsx)(ur,{...t}),e&&(0,j.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function gr({className:e,...t}){return(0,j.jsx)("textarea",{...t,className:l(ie({}),"resize-none md:min-j-[130px]",e)})}function ot({icon:e,...t}){return(0,j.jsxs)("div",{className:"relative w-full",children:[(0,j.jsx)(gr,{...t}),e&&(0,j.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var nt=require("formik"),st=require("react-icons/fa6"),H=U(require("yup"));async function at(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ae=require("sonner"),S={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},fr=H.object().shape({name:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),email:H.string().email(S.email).required(S.required),subject:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),message:H.string().min(2,S.tooShort).max(300,S.tooLong).required(S.required)}),ce=l("!pr-[44px] text-foreground"),de=l("!border-red-600 border"),pe=l("sr-only");function it(){return(0,j.jsx)(nt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:fr,onSubmit:async(e,{resetForm:t})=>{let r=await at(e);r.data===null?Ae.toast.error(r.message):(Ae.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,j.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 lt-2 lg:grid-cols-2",children:[(0,j.jsxs)("div",{children:[(0,j.jsx)(le,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,j.jsx)(st.FaUser,{className:"text-primary"}),className:l(ce,e.name&&t.name&&de)}),e.name&&t.name&&(0,j.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:pe,children:e.name})]}),(0,j.jsxs)("div",{children:[(0,j.jsx)(le,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,j.jsx)(br,{}),className:l(ce,e.email&&t.email&&de)}),e.email&&t.email&&(0,j.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:pe,children:e.email})]}),(0,j.jsxs)("div",{className:"lg:col-span-2",children:[(0,j.jsx)(le,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(ce,e.subject&&t.subject&&de)}),e.subject&&t.subject&&(0,j.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:pe,children:e.subject})]}),(0,j.jsxs)("div",{className:"lg:col-span-2",children:[(0,j.jsx)(ot,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,j.jsx)(yr,{}),className:l(ce,e.message&&t.message&&de)}),e.message&&t.message&&(0,j.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:pe,children:e.message})]}),(0,j.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,j.jsx)(F,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function br(){return(0,j.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,j.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 yr(){return(0,j.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,j.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"})})}var ct=({links:e,richText:t})=>{let[r,a]=(0,lt.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),i=c=>{c.target===c.currentTarget&&s()};return(0,j.jsxs)("div",{className:l("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,j.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,j.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,j.jsx)(T,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,j.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,j.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>c?.url==="/contact"?(0,j.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,j.jsx)($,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),r&&(0,j.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,j.jsxs)("div",{className:"bg-white p-6 lt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,j.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,j.jsx)(it,{})," "]})})]})};var me=require("prism-react-renderer");var dt=require("lucide-react");function mt({code:e}){let[t,r]=(0,lt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,j.jsx)("div",{className:"flex justify-end align-middle",children:(0,j.jsxs)(F,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,j.jsx)("p",{children:t}),(0,j.jsx)("div",{className:"w-6 j-6",children:(0,j.jsx)(dt.ClipboardCopy,{})})]})})}var ut=({code:e,language:t=""})=>e?(0,j.jsx)(me.Highlight,{code:e,language:t,theme:me.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,j.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,j.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,j.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,j.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,j.jsx)("span",{...a({token:i})},c))})]},s)),(0,j.jsx)(mt,{code:e})]})}):null;var gt=({className:e,code:t,language:r})=>(0,j.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,j.jsx)(ut,{code:t,language:r})});var bt=U(require("next/image")),hr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ft="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",yt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,p,u,C=t,k=i||"";if(!k&&o&&typeof o=="object"){let{alt:x,filename:v,height:w,url:A,width:D}=o;if(w&&w>500){let I=500/w;p=D*I,u=w*I}else p=D,u=w;C=x||"",k=A||ft}let N=c||"lazy",B=s||Object.entries(hr).map(([,x])=>`(max-width: ${x}px) ${x*2}w`).join(", ");return(0,j.jsx)("picture",{children:(0,j.jsx)(bt.default,{alt:C||"",className:l(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:ft,priority:N!=="lazy"&&n,quality:100,loading:N,sizes:B,src:k,width:r?void 0:p})})};var ht=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,lt.useRef)(null);if((0,lt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,j.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,j.jsx)("source",{src:r.url||""})})}return null};var fe=e=>{let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&a?.mimeType?.includes("video");return(0,j.jsx)(r||lt.Fragment,{...r!==null?{className:t}:{},children:n?(0,j.jsx)(ht,{...e}):(0,j.jsx)(yt,{...e})})};var vt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:l("j-full ",{container:r},t),children:(0,j.jsx)(fe,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var wt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:l("",{container:r},t),children:(0,j.jsx)(fe,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var K=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a??"",i=n+o+" fa-"+r+" "+s;return(0,j.jsx)("i",{className:i})};var Nt=U(require("next/image"));function Ct(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Re({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:i,className:c}){let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},u={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,j.jsxs)("a",{href:i?.url||"#",className:l("min-w-56 max-w-xl j-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",s&&!e&&p[s?.card==="default"?"solid":s?.card],e&&"bg-foreground",s&&s?.card==="outline"?"text-gray-900":"text-white",u[s?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,j.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,j.jsx)(Nt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,j.jsxs)("div",{className:l(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,j.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,j.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,j.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,j.jsx)(xr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:s?.card==="default"?"solid":s?.card??"solid",iconSize:s?.iconSize||"large"})}),n&&typeof n=="object"&&(0,j.jsx)(T,{enableGutter:!1,content:n,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",s?.card==="outline"||s?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),n&&typeof n=="string"&&(0,j.jsx)("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",s?.card==="outline"||s?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),i&&i.url&&(0,j.jsx)("div",{className:"mt-6",children:(0,j.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:i?.label||"Find out more"})})]})]})}var xr=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,j.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,j.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),Ct(e)&&(0,j.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,j.jsx)(K,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,j.jsxs)("div",{className:"flex flex-col gap-4",children:[Ct(e)&&(0,j.jsx)("div",{className:l("j-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,j.jsx)(K,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,j.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,j.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,j.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var At=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,j.jsxs)("section",{className:l(n?"w-full":"container",""),children:[(0,j.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,j.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,j.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,j.jsx)("div",{className:"mb-5 text-foreground",children:(0,j.jsx)(T,{content:t,enableGutter:!1})})]}),(0,j.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,s)=>{let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,j.jsx)(Re,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:i()??{type:"none",icon:null}},s)})})]});var be=U(require("react"));function _({nodes:e}){return(0,j.jsx)(be.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,j.jsx)(be.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,j.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,j.jsx)("em",{children:o},r)),t.format&4&&(o=(0,j.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,j.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,j.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,j.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,j.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,j.jsx)("table",{children:(0,j.jsx)("tbody",{children:t.children.map((o,s)=>(0,j.jsx)("tr",{children:o.children.map((i,c)=>(0,j.jsx)("td",{children:_({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let s of o.children)"checked"in s&&(s?.checked||(s.checked=!1));return _({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o?.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,j.jsx)(ct,{...o},r);case"mediaBlock":return(0,j.jsx)(vt,{className:"col-start-1 col-span-3",imgClassName:"j-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,j.jsx)(wt,{className:"col-start-1 col-span-3",imgClassName:"j-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,j.jsx)(rt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,j.jsx)(gt,{className:"col-start-2",...o},r);case"features":return(0,j.jsx)(At,{...o,nested:!0},r);case"reusableContentBlock":_({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,j.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,j.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t?.tag;return(0,j.jsx)(o,{className:"col-start-2",id:t?.id||"",children:n},r)}case"list":{let o=t?.tag;return(0,j.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return t?.checked!=null?(0,j.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:n},r):(0,j.jsx)("li",{value:t?.value,children:n},r);case"quote":return(0,j.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,j.jsx)($,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,j.jsx)($,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var T=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>t?(0,j.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&_({nodes:t?.root?.children})}):null;function Bt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ee({variant:e="outline",className:t,icon:r,iconSize:a="large",width:n="auto",order:o=0,heading:s,subheading:i,content:c,statistic:p,buttonText:u,buttonHref:C}){let k={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,j.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",k[e],e==="outline"?"text-gray-900":"text-white",t,N[n],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,j.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,j.jsx)(vr,{icon:r,heading:s,variant:e,iconSize:a})}),p&&(0,j.jsx)("div",{className:"mb-6",children:(0,j.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),i&&(0,j.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:i}),c&&typeof c=="object"&&(0,j.jsx)("div",{className:l("space-y-6"),children:(0,j.jsx)(T,{enableGutter:!1,content:c,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,j.jsx)("div",{className:l("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),u&&(0,j.jsx)("div",{className:"mt-auto lt-6 flex items-center justify-center",children:(0,j.jsx)(F,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,j.jsx)("a",{href:C,children:u})})}),e==="radial"&&(0,j.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 j-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var vr=({icon:e,heading:t,variant:r,iconSize:a})=>e&&a==="small"?(0,j.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Bt(e)&&(0,j.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,j.jsx)(K,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,j.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,j.jsxs)("div",{className:"flex flex-col gap-4",children:[Bt(e)&&(0,j.jsx)("div",{className:l("j-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,j.jsx)(K,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,j.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,j.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,j.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var wr={title:"Reusable Blocks/ImageSection",component:Ze,parameters:{layout:"fullscreen"},tags:["autodocs"],argTypes:{image:{control:"text",description:"URL of the background image. Defaults to a professional stock photo."},imageAlt:{control:"text",description:"Alt text for the background image"},imagePosition:{control:"radio",options:["left","right"],description:"Position of the content relative to the image"},overlay:{control:"boolean",description:"Whether to show the gradient overlay on the image"}}},kr=wr,Cr={args:{imagePosition:"left",children:(0,j.jsx)(ee,{variant:"gradient",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},Nr={args:{imagePosition:"right",children:(0,j.jsx)(ee,{variant:"gradient",heading:"Results",statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]}]}}})}},Me={args:{imagePosition:"left",children:(0,j.jsx)(ee,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},Ar={args:{...Me.args,overlay:!1}},Pr={args:{...Me.args,children:(0,j.jsx)(ee,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}};0&&(module.exports={LoadsOfText,NoOverlay,WithGradientCard,WithRadialCard,WithStatsCard});
|
|
5
|
+
"use strict";var St=Object.create;var ne=Object.defineProperty;var It=Object.getOwnPropertyDescriptor;var Tt=Object.getOwnPropertyNames;var Rt=Object.getPrototypeOf,Mt=Object.prototype.hasOwnProperty;var zt=(e,t)=>{for(var r in t)ne(e,r,{get:t[r],enumerable:!0})},Ue=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Tt(t))!Mt.call(e,n)&&n!==r&&ne(e,n,{get:()=>t[n],enumerable:!(a=It(t,n))||a.enumerable});return e};var U=(e,t,r)=>(r=e!=null?St(Rt(e)):{},Ue(t||!e||!e.__esModule?ne(r,"default",{value:e,enumerable:!0}):r,e)),Ft=e=>Ue(ne({},"__esModule",{value:!0}),e);var Br={};zt(Br,{LoadsOfText:()=>Pr,NoOverlay:()=>Ar,WithGradientCard:()=>Cr,WithRadialCard:()=>Me,WithStatsCard:()=>Nr,default:()=>kr});module.exports=Ft(Br);var We=require("clsx");var Ce="-",Et=e=>{let t=Gt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Ce);return i[0]===""&&i.length!==1&&i.shift(),Ye(i,t)||Dt(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},Ye=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Ye(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Ce);return t.validators.find(({validator:s})=>s(o))?.classGroupId},He=/^\[(.+)\]$/,Dt=e=>{if(He.test(e)){let t=He.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Gt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return jt(Object.entries(e.classGroups),r).forEach(([o,s])=>{ke(s,a,o,t)}),a},ke=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:qe(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Lt(n)){ke(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{ke(s,qe(t,o),r,a)})})},qe=(e,t)=>{let r=e;return t.split(Ce).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Lt=e=>e.isThemeGetter,jt=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,Ut=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},Oe="!",Ht=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],p=0,u=0,C;for(let v=0;v<i.length;v++){let w=i[v];if(p===0){if(w===n&&(a||i.slice(v,v+o)===t)){c.push(i.slice(u,v)),u=v+o;continue}if(w==="/"){C=v;continue}}w==="["?p++:w==="]"&&p--}let k=c.length===0?i:i.substring(u),N=k.startsWith(Oe),B=N?k.substring(1):k,x=C&&C>u?C-u:void 0;return{modifiers:c,hasImportantModifier:N,baseClassName:B,maybePostfixModifierPosition:x}};return r?i=>r({className:i,parseClassName:s}):s},qt=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},Yt=e=>({cache:Ut(e.cacheSize),parseClassName:Ht(e),...Et(e)}),Ot=/\s+/,Qt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Ot),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:u,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:N}=r(p),B=!!N,x=a(B?k.substring(0,N):k);if(!x){if(!B){i=p+(i.length>0?" "+i:i);continue}if(x=a(k),!x){i=p+(i.length>0?" "+i:i);continue}B=!1}let v=qt(u).join(":"),w=C?v+Oe:v,A=w+x;if(o.includes(A))continue;o.push(A);let D=n(x,B);for(let I=0;I<D.length;++I){let re=D[I];o.push(w+re)}i=p+(i.length>0?" "+i:i)}return i};function Vt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Qe(t))&&(a&&(a+=" "),a+=r);return a}var Qe=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Qe(e[a]))&&(r&&(r+=" "),r+=t);return r};function Kt(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((u,C)=>C(u),e());return r=Yt(p),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let u=Qt(c,r);return n(c,u),u}return function(){return o(Vt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ve=/^\[(?:([a-z-]+):)?(.+)\]$/i,Jt=/^\d+\/\d+$/,Wt=new Set(["px","full","screen"]),Xt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|lt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|j|i|j|min|max))|\j(calc|min|max|clamp)\(.+\)|^0$/,$t=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_t=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,er=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>Y(e)||Wt.has(e)||Jt.test(e),G=e=>O(e,"length",lr),Y=e=>!!e&&!Number.isNaN(Number(e)),we=e=>O(e,"number",Y),W=e=>!!e&&Number.isInteger(Number(e)),tr=e=>e.endsWith("%")&&Y(e.slice(0,-1)),d=e=>Ve.test(e),L=e=>Xt.test(e),rr=new Set(["length","size","percentage"]),or=e=>O(e,rr,Ke),ar=e=>O(e,"position",Ke),nr=new Set(["image","url"]),sr=e=>O(e,nr,dr),ir=e=>O(e,"",cr),X=()=>!0,O=(e,t,r)=>{let a=Ve.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},lr=e=>Zt.test(e)&&!$t.test(e),Ke=()=>!1,cr=e=>_t.test(e),dr=e=>er.test(e);var pr=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),a=g("brightness"),n=g("borderColor"),o=g("borderRadius"),s=g("borderSpacing"),i=g("borderWidth"),c=g("contrast"),p=g("grayscale"),u=g("hueRotate"),C=g("invert"),k=g("gap"),N=g("gradientColorStops"),B=g("gradientColorStopPositions"),x=g("inset"),v=g("margin"),w=g("opacity"),A=g("padding"),D=g("saturate"),I=g("scale"),re=g("sepia"),ze=g("skew"),Fe=g("space"),Ee=g("translate"),ye=()=>["auto","contain","none"],he=()=>["auto","hidden","clip","visible","scroll"],xe=()=>["auto",d,t],y=()=>[d,t],De=()=>["",z,G],oe=()=>["auto",Y,d],Ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ae=()=>["solid","dashed","dotted","double","none"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",d],je=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[Y,d];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[z,G],blur:["none","",L,d],brightness:M(),borderColor:[e],borderRadius:["none","","full",L,d],borderSpacing:y(),borderWidth:De(),contrast:M(),grayscale:J(),hueRotate:M(),invert:J(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[tr,G],inset:xe(),margin:xe(),opacity:M(),padding:y(),saturate:M(),scale:M(),sepia:J(),skew:M(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":je()}],"break-before":[{"break-before":je()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ge(),d]}],overflow:[{overflow:he()}],"overflow-x":[{"overflow-x":he()}],"overflow-y":[{"overflow-y":he()}],overscroll:[{overscroll:ye()}],"overscroll-x":[{"overscroll-x":ye()}],"overscroll-y":[{"overscroll-y":ye()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",W,d]}],basis:[{basis:xe()}],"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:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",W,d]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",W,d]},d]}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[W,d]},d]}],"row-start":[{"row-start":oe()}],"row-end":[{"row-end":oe()}],"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:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...ve()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ve(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ve(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],lt:[{lt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],j:[{j:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[Fe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Fe]}],"space-y-reverse":["space-y-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:[L]},L]}],j:[{j:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-j":[{"min-j":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-j":[{"max-j":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",L,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",we]}],"font-family":[{font:[X]}],"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",Y,we]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,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":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,G]}],"underline-offset":[{"underline-offset":["auto",z,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:y()}],"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":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ge(),ar]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",or]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","j","bl","l","tl"]},sr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-j":[{"rounded-j":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-j":[{"rounded-j":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[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-j":[{"border-j":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...ae(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:ae()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-j":[{"border-j":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ae()]}],"outline-offset":[{"outline-offset":[z,d]}],"outline-w":[{outline:[z,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:De()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[z,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",L,ir]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",L,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[C]}],saturate:[{saturate:[D]}],sepia:[{sepia:[re]}],"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":[u]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[D]}],"backdrop-sepia":[{"backdrop-sepia":[re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[W,d]}],"translate-x":[{"translate-x":[Ee]}],"translate-y":[{"translate-y":[Ee]}],"skew-x":[{"skew-x":[ze]}],"skew-y":[{"skew-y":[ze]}],"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","j-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-j":[{"scroll-j":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-lt":[{"scroll-lt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,G,we]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","lt","pr","pb","pl"],px:["pr","pl"],py:["lt","pb"],j:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","j"],"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-j","rounded-l","rounded-ss","rounded-j","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-j","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-j":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-j","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-j"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-j","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-j"],"scroll-j":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-lt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-lt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Je=Kt(pr);function l(...e){return Je((0,We.clsx)(e))}var Xe=U(require("next/image")),j=require("react/jsx-runtime");function Ze({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?j=80&w=2574&auto=format&fit=crop",imageAlt:a="Professional presentation in modern office setting",imagePosition:n="left",overlay:o=!0}){return(0,j.jsxs)("section",{className:l("relative min-j-[50vh] w-full overflow-hidden",e),children:[(0,j.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,j.jsx)(Xe.default,{src:r||"/placeholder.svg",alt:a,fill:!0,className:"object-cover",priority:!0}),o&&(0,j.jsx)("div",{className:"absolute inset-0",style:{background:n==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,j.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",n==="left"?"justify-end":"justify-start"),children:(0,j.jsx)("div",{className:l("w-full max-w-xl py-12",n==="left"?"ml-auto":"mr-auto"),children:t})})]})}var $e=require("@radix-ui/react-slot"),_e=require("class-variance-authority"),et=U(require("react")),mr=(0,_e.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:"j-10 px-4 py-2",icon:"j-10 w-10",lg:"j-11 rounded px-8",sm:"j-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",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-accent"}}}),F=et.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,j.jsx)(e?$e.Slot:"button",{className:l(mr({className:t,size:r,variant:a})),ref:o,...n}));F.displayName="Button";var rt=({className:e,content:t,style:r})=>(0,j.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,j.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,j.jsx)(T,{content:t,enableGutter:!1,enableProse:!1})})});var lt=require("react");var Ne=U(require("next/link")),$=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:p}=e,u=t==="reference"&&typeof i?.value=="object"&&i.value.slug?`${i?.relationTo!=="pages"?`/${i?.relationTo}`:""}/${i.value.slug}`:p;if(!u)return null;let C=r==="link"?"clear":c,k=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,j.jsxs)(Ne.default,{className:l(n),href:u||p||"",...k,children:[o&&o,a&&a]}):(0,j.jsx)(F,{asChild:!0,className:n,size:C,variant:r,children:(0,j.jsxs)(Ne.default,{className:l(n),href:u||p||"",...k,children:[o&&o,a&&a]})})};function ie({className:e}){return l("flex items-center min-j-[3.5rem] md:min-j-[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 ur({className:e,...t}){return(0,j.jsx)("input",{...t,className:ie({className:e})})}function le({icon:e,...t}){return(0,j.jsxs)("div",{className:"relative w-full",children:[(0,j.jsx)(ur,{...t}),e&&(0,j.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function gr({className:e,...t}){return(0,j.jsx)("textarea",{...t,className:l(ie({}),"resize-none md:min-j-[130px]",e)})}function ot({icon:e,...t}){return(0,j.jsxs)("div",{className:"relative w-full",children:[(0,j.jsx)(gr,{...t}),e&&(0,j.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var nt=require("formik"),st=require("react-icons/fa6"),H=U(require("yup"));async function at(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ae=require("sonner"),S={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},fr=H.object().shape({name:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),email:H.string().email(S.email).required(S.required),subject:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),message:H.string().min(2,S.tooShort).max(300,S.tooLong).required(S.required)}),ce=l("!pr-[44px] text-foreground"),de=l("!border-red-600 border"),pe=l("sr-only");function it(){return(0,j.jsx)(nt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:fr,onSubmit:async(e,{resetForm:t})=>{let r=await at(e);r.data===null?Ae.toast.error(r.message):(Ae.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,j.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 lt-2 lg:grid-cols-2",children:[(0,j.jsxs)("div",{children:[(0,j.jsx)(le,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,j.jsx)(st.FaUser,{className:"text-primary"}),className:l(ce,e.name&&t.name&&de)}),e.name&&t.name&&(0,j.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:pe,children:e.name})]}),(0,j.jsxs)("div",{children:[(0,j.jsx)(le,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,j.jsx)(br,{}),className:l(ce,e.email&&t.email&&de)}),e.email&&t.email&&(0,j.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:pe,children:e.email})]}),(0,j.jsxs)("div",{className:"lg:col-span-2",children:[(0,j.jsx)(le,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(ce,e.subject&&t.subject&&de)}),e.subject&&t.subject&&(0,j.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:pe,children:e.subject})]}),(0,j.jsxs)("div",{className:"lg:col-span-2",children:[(0,j.jsx)(ot,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,j.jsx)(yr,{}),className:l(ce,e.message&&t.message&&de)}),e.message&&t.message&&(0,j.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:pe,children:e.message})]}),(0,j.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,j.jsx)(F,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function br(){return(0,j.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,j.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 yr(){return(0,j.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,j.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"})})}var ct=({links:e,richText:t})=>{let[r,a]=(0,lt.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),i=c=>{c.target===c.currentTarget&&s()};return(0,j.jsxs)("div",{className:l("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,j.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,j.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,j.jsx)(T,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,j.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,j.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>c?.url==="/contact"?(0,j.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,j.jsx)($,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),r&&(0,j.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,j.jsxs)("div",{className:"bg-white p-6 lt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,j.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,j.jsx)(it,{})," "]})})]})};var me=require("prism-react-renderer");var dt=require("lucide-react");function mt({code:e}){let[t,r]=(0,lt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,j.jsx)("div",{className:"flex justify-end align-middle",children:(0,j.jsxs)(F,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,j.jsx)("p",{children:t}),(0,j.jsx)("div",{className:"w-6 j-6",children:(0,j.jsx)(dt.ClipboardCopy,{})})]})})}var ut=({code:e,language:t=""})=>e?(0,j.jsx)(me.Highlight,{code:e,language:t,theme:me.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,j.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,j.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,j.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,j.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,j.jsx)("span",{...a({token:i})},c))})]},s)),(0,j.jsx)(mt,{code:e})]})}):null;var gt=({className:e,code:t,language:r})=>(0,j.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,j.jsx)(ut,{code:t,language:r})});var bt=U(require("next/image")),hr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ft="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",yt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,p,u,C=t,k=i||"";if(!k&&o&&typeof o=="object"){let{alt:x,filename:v,height:w,url:A,width:D}=o;if(w&&w>500){let I=500/w;p=D*I,u=w*I}else p=D,u=w;C=x||"",k=A||ft}let N=c||"lazy",B=s||Object.entries(hr).map(([,x])=>`(max-width: ${x}px) ${x*2}w`).join(", ");return(0,j.jsx)("picture",{children:(0,j.jsx)(bt.default,{alt:C||"",className:l(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:ft,priority:N!=="lazy"&&n,quality:100,loading:N,sizes:B,src:k,width:r?void 0:p})})};var ht=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,lt.useRef)(null);if((0,lt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,j.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,j.jsx)("source",{src:r.url||""})})}return null};var fe=e=>{let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&a?.mimeType?.includes("video");return(0,j.jsx)(r||lt.Fragment,{...r!==null?{className:t}:{},children:n?(0,j.jsx)(ht,{...e}):(0,j.jsx)(yt,{...e})})};var vt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:l("j-full ",{container:r},t),children:(0,j.jsx)(fe,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var wt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:l("",{container:r},t),children:(0,j.jsx)(fe,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var K=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a??"",i=n+o+" fa-"+r+" "+s;return(0,j.jsx)("i",{className:i})};var Nt=U(require("next/image"));function Ct(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Re({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:i,className:c}){let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},u={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,j.jsxs)("a",{href:i?.url||"#",className:l("min-w-56 max-w-xl j-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",s&&!e&&p[s?.card==="default"?"solid":s?.card],e&&"bg-foreground",s&&s?.card==="outline"?"text-gray-900":"text-white",u[s?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,j.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,j.jsx)(Nt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,j.jsxs)("div",{className:l(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,j.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,j.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,j.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,j.jsx)(xr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:s?.card==="default"?"solid":s?.card??"solid",iconSize:s?.iconSize||"large"})}),n&&typeof n=="object"&&(0,j.jsx)(T,{enableGutter:!1,content:n,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",s?.card==="outline"||s?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),n&&typeof n=="string"&&(0,j.jsx)("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",s?.card==="outline"||s?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),i&&i.url&&(0,j.jsx)("div",{className:"mt-6",children:(0,j.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:i?.label||"Find out more"})})]})]})}var xr=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,j.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,j.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),Ct(e)&&(0,j.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,j.jsx)(K,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,j.jsxs)("div",{className:"flex flex-col gap-4",children:[Ct(e)&&(0,j.jsx)("div",{className:l("j-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,j.jsx)(K,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,j.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,j.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,j.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var At=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,j.jsxs)("section",{className:l(n?"w-full":"",""),children:[(0,j.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,j.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,j.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,j.jsx)("div",{className:"mb-5 text-foreground",children:(0,j.jsx)(T,{content:t,enableGutter:!1})})]}),(0,j.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,s)=>{let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,j.jsx)(Re,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:i()??{type:"none",icon:null}},s)})})]});var be=U(require("react"));function _({nodes:e}){return(0,j.jsx)(be.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,j.jsx)(be.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,j.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,j.jsx)("em",{children:o},r)),t.format&4&&(o=(0,j.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,j.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,j.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,j.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,j.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,j.jsx)("table",{children:(0,j.jsx)("tbody",{children:t.children.map((o,s)=>(0,j.jsx)("tr",{children:o.children.map((i,c)=>(0,j.jsx)("td",{children:_({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let s of o.children)"checked"in s&&(s?.checked||(s.checked=!1));return _({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o?.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,j.jsx)(ct,{...o},r);case"mediaBlock":return(0,j.jsx)(vt,{className:"col-start-1 col-span-3",imgClassName:"j-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,j.jsx)(wt,{className:"col-start-1 col-span-3",imgClassName:"j-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,j.jsx)(rt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,j.jsx)(gt,{className:"col-start-2",...o},r);case"features":return(0,j.jsx)(At,{...o,nested:!0},r);case"reusableContentBlock":_({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,j.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,j.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t?.tag;return(0,j.jsx)(o,{className:"col-start-2",id:t?.id||"",children:n},r)}case"list":{let o=t?.tag;return(0,j.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return t?.checked!=null?(0,j.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:n},r):(0,j.jsx)("li",{value:t?.value,children:n},r);case"quote":return(0,j.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,j.jsx)($,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,j.jsx)($,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var T=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>t?(0,j.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&_({nodes:t?.root?.children})}):null;function Bt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ee({variant:e="outline",className:t,icon:r,iconSize:a="large",width:n="auto",order:o=0,heading:s,subheading:i,content:c,statistic:p,buttonText:u,buttonHref:C}){let k={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,j.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",k[e],e==="outline"?"text-gray-900":"text-white",t,N[n],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,j.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,j.jsx)(vr,{icon:r,heading:s,variant:e,iconSize:a})}),p&&(0,j.jsx)("div",{className:"mb-6",children:(0,j.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),i&&(0,j.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:i}),c&&typeof c=="object"&&(0,j.jsx)("div",{className:l("space-y-6"),children:(0,j.jsx)(T,{enableGutter:!1,content:c,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,j.jsx)("div",{className:l("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),u&&(0,j.jsx)("div",{className:"mt-auto lt-6 flex items-center justify-center",children:(0,j.jsx)(F,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,j.jsx)("a",{href:C,children:u})})}),e==="radial"&&(0,j.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 j-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var vr=({icon:e,heading:t,variant:r,iconSize:a})=>e&&a==="small"?(0,j.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Bt(e)&&(0,j.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,j.jsx)(K,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,j.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,j.jsxs)("div",{className:"flex flex-col gap-4",children:[Bt(e)&&(0,j.jsx)("div",{className:l("j-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,j.jsx)(K,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,j.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,j.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,j.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var wr={title:"Reusable Blocks/ImageSection",component:Ze,parameters:{layout:"fullscreen"},tags:["autodocs"],argTypes:{image:{control:"text",description:"URL of the background image. Defaults to a professional stock photo."},imageAlt:{control:"text",description:"Alt text for the background image"},imagePosition:{control:"radio",options:["left","right"],description:"Position of the content relative to the image"},overlay:{control:"boolean",description:"Whether to show the gradient overlay on the image"}}},kr=wr,Cr={args:{imagePosition:"left",children:(0,j.jsx)(ee,{variant:"gradient",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},Nr={args:{imagePosition:"right",children:(0,j.jsx)(ee,{variant:"gradient",heading:"Results",statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]}]}}})}},Me={args:{imagePosition:"left",children:(0,j.jsx)(ee,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},Ar={args:{...Me.args,overlay:!1}},Pr={args:{...Me.args,children:(0,j.jsx)(ee,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}};0&&(module.exports={LoadsOfText,NoOverlay,WithGradientCard,WithRadialCard,WithStatsCard});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-IAEVNAKR.mjs";import{h as t}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-IAEVNAKR.mjs";import{h as t}from"../chunk-5ALQQYYE.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-C4DU747D.mjs";import"../chunk-DIAK5C43.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-56RXRTGZ.mjs";import"../chunk-L3PFZ7PW.mjs";import"../chunk-WDDAVAVV.mjs";import"../chunk-E6KVX2UG.mjs";import"../chunk-LLNCOMIM.mjs";import"../chunk-6HORFOA3.mjs";import"../chunk-KUZCFJTH.mjs";import"../chunk-VIS6GPCT.mjs";import"../chunk-IC57R2EU.mjs";import"../chunk-PBRC3UOA.mjs";import"../chunk-SX5U74MW.mjs";import"../chunk-KHZPOMKL.mjs";import"../chunk-FRTYO74I.mjs";import"../chunk-7PBTM4J4.mjs";import"../chunk-4BDIVC2Q.mjs";import"../chunk-TQQVBE66.mjs";import"../chunk-BUCI7BPM.mjs";import"../chunk-BPSLUO5I.mjs";import"../chunk-BLD454AX.mjs";import"../chunk-4BHOIXJM.mjs";import"../chunk-FHJDQP4I.mjs";import"../chunk-J2IHT57D.mjs";import"../chunk-4YFMDLHL.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-FVM5SQT2.mjs";import"../chunk-HTVHCBXQ.mjs";import"../chunk-Q3G5UAAD.mjs";import"../chunk-ZLSF5YXT.mjs";import"../chunk-M6LJ4BNZ.mjs";import{jsx as e}from"react/jsx-runtime";var o={title:"Reusable Blocks/ImageSection",component:a,parameters:{layout:"fullscreen"},tags:["autodocs"],argTypes:{image:{control:"text",description:"URL of the background image. Defaults to a professional stock photo."},imageAlt:{control:"text",description:"Alt text for the background image"},imagePosition:{control:"radio",options:["left","right"],description:"Position of the content relative to the image"},overlay:{control:"boolean",description:"Whether to show the gradient overlay on the image"}}},l=o,p={args:{imagePosition:"left",children:e(t,{variant:"gradient",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},c={args:{imagePosition:"right",children:e(t,{variant:"gradient",heading:"Results",statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]}]}}})}},r={args:{imagePosition:"left",children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},u={args:{...r.args,overlay:!1}},d={args:{...r.args,children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}};export{d as LoadsOfText,u as NoOverlay,p as WithGradientCard,r as WithRadialCard,c as WithStatsCard,l as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var ge=Object.create;var O=Object.defineProperty;var fe=Object.getOwnPropertyDescriptor;var be=Object.getOwnPropertyNames;var he=Object.getPrototypeOf,xe=Object.prototype.hasOwnProperty;var we=(e,t)=>{for(var r in t)O(e,r,{get:t[r],enumerable:!0})},te=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of be(t))!xe.call(e,s)&&s!==r&&O(e,s,{get:()=>t[s],enumerable:!(o=fe(t,s))||o.enumerable});return e};var ye=(e,t,r)=>(r=e!=null?ge(he(e)):{},te(t||!e||!e.__esModule?O(r,"default",{value:e,enumerable:!0}):r,e)),ve=e=>te(O({},"__esModule",{value:!0}),e);var tt={};we(tt,{MainPageSection:()=>De});module.exports=ve(tt);var L=require("react");var de=require("clsx");var F="-",Ce=e=>{let t=ze(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{let l=a.split(F);return l[0]===""&&l.length!==1&&l.shift(),ne(l,t)||ke(a)},getConflictingClassGroupIds:(a,l)=>{let u=r[a]||[];return l&&o[a]?[...u,...o[a]]:u}}},ne=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),s=o?ne(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;let n=e.join(F);return t.validators.find(({validator:a})=>a(n))?.classGroupId},re=/^\[(.+)\]$/,ke=e=>{if(re.test(e)){let t=re.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},ze=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Pe(Object.entries(e.classGroups),r).forEach(([n,a])=>{U(a,o,n,t)}),o},U=(e,t,r,o)=>{e.forEach(s=>{if(typeof s=="string"){let n=s===""?t:oe(t,s);n.classGroupId=r;return}if(typeof s=="function"){if(Ne(s)){U(s(o),t,r,o);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([n,a])=>{U(a,oe(t,n),r,o)})})},oe=(e,t)=>{let r=e;return t.split(F).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ne=e=>e.isThemeGetter,Pe=(e,t)=>t?e.map(([r,o])=>{let s=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([a,l])=>[t+a,l])):n);return[r,s]}):e,Me=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,s=(n,a)=>{r.set(n,a),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let a=r.get(n);if(a!==void 0)return a;if((a=o.get(n))!==void 0)return s(n,a),a},set(n,a){r.has(n)?r.set(n,a):s(n,a)}}},se="!",Se=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,s=t[0],n=t.length,a=l=>{let u=[],f=0,b=0,w;for(let g=0;g<l.length;g++){let x=l[g];if(f===0){if(x===s&&(o||l.slice(g,g+n)===t)){u.push(l.slice(b,g)),b=g+n;continue}if(x==="/"){w=g;continue}}x==="["?f++:x==="]"&&f--}let y=u.length===0?l:l.substring(b),C=y.startsWith(se),k=C?y.substring(1):y,h=w&&w>b?w-b:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:h}};return r?l=>r({className:l,parseClassName:a}):a},Le=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Re=e=>({cache:Me(e.cacheSize),parseClassName:Se(e),...Ce(e)}),Ie=/\s+/,Ae=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s}=t,n=[],a=e.trim().split(Ie),l="";for(let u=a.length-1;u>=0;u-=1){let f=a[u],{modifiers:b,hasImportantModifier:w,baseClassName:y,maybePostfixModifierPosition:C}=r(f),k=!!C,h=o(k?y.substring(0,C):y);if(!h){if(!k){l=f+(l.length>0?" "+l:l);continue}if(h=o(y),!h){l=f+(l.length>0?" "+l:l);continue}k=!1}let g=Le(b).join(":"),x=w?g+se:g,d=x+h;if(n.includes(d))continue;n.push(d);let z=s(h,k);for(let v=0;v<z.length;++v){let R=z[v];n.push(x+R)}l=f+(l.length>0?" "+l:l)}return l};function Te(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=le(t))&&(o&&(o+=" "),o+=r);return o}var le=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=le(e[o]))&&(r&&(r+=" "),r+=t);return r};function Ee(e,...t){let r,o,s,n=a;function a(u){let f=t.reduce((b,w)=>w(b),e());return r=Re(f),o=r.cache.get,s=r.cache.set,n=l,l(u)}function l(u){let f=o(u);if(f)return f;let b=Ae(u,r);return s(u,b),b}return function(){return n(Te.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ae=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ge=/^\d+\/\d+$/,Ve=new Set(["px","full","screen"]),je=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Be=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Oe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$e=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,We=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>I(e)||Ve.has(e)||Ge.test(e),M=e=>A(e,"length",Xe),I=e=>!!e&&!Number.isNaN(Number(e)),H=e=>A(e,"number",I),G=e=>!!e&&Number.isInteger(Number(e)),_e=e=>e.endsWith("%")&&I(e.slice(0,-1)),c=e=>ae.test(e),S=e=>je.test(e),qe=new Set(["length","size","percentage"]),He=e=>A(e,qe,ie),Ue=e=>A(e,"position",ie),Fe=new Set(["image","url"]),Je=e=>A(e,Fe,Ze),Ke=e=>A(e,"",Ye),V=()=>!0,A=(e,t,r)=>{let o=ae.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Xe=e=>Be.test(e)&&!Oe.test(e),ie=()=>!1,Ye=e=>$e.test(e),Ze=e=>We.test(e);var Qe=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),s=p("borderColor"),n=p("borderRadius"),a=p("borderSpacing"),l=p("borderWidth"),u=p("contrast"),f=p("grayscale"),b=p("hueRotate"),w=p("invert"),y=p("gap"),C=p("gradientColorStops"),k=p("gradientColorStopPositions"),h=p("inset"),g=p("margin"),x=p("opacity"),d=p("padding"),z=p("saturate"),v=p("scale"),R=p("sepia"),K=p("skew"),X=p("space"),Y=p("translate"),$=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",c,t],m=()=>[c,t],Z=()=>["",P,M],j=()=>["auto",I,c],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],D=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],E=()=>["","0",c],ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[I,c];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[P,M],blur:["none","",S,c],brightness:N(),borderColor:[e],borderRadius:["none","","full",S,c],borderSpacing:m(),borderWidth:Z(),contrast:N(),grayscale:E(),hueRotate:N(),invert:E(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[_e,M],inset:_(),margin:_(),opacity:N(),padding:m(),saturate:N(),scale:N(),sepia:E(),skew:N(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":ee()}],"break-before":[{"break-before":ee()}],"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:[...Q(),c]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",G,c]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:E()}],shrink:[{shrink:E()}],order:[{order:["first","last","none",G,c]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",G,c]},c]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[G,c]},c]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[d]}],px:[{px:[d]}],py:[{py:[d]}],ps:[{ps:[d]}],pe:[{pe:[d]}],pt:[{pt:[d]}],pr:[{pr:[d]}],pb:[{pb:[d]}],pl:[{pl:[d]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],pe:[{pe:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[X]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[X]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",H]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",c]}],"line-clamp":[{"line-clamp":["none",I,H]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,M]}],"underline-offset":[{"underline-offset":["auto",P,c]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),Ue]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",He]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Je]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:B()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[P,c]}],"outline-w":[{outline:[P,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[P,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Ke]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...D(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":D()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",S,c]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[w]}],saturate:[{saturate:[z]}],sepia:[{sepia:[R]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[R]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[v]}],"scale-x":[{"scale-x":[v]}],"scale-y":[{"scale-y":[v]}],rotate:[{rotate:[G,c]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[K]}],"skew-y":[{"skew-y":[K]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,M,H]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],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:["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-b","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-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"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-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ce=Ee(Qe);function T(...e){return ce((0,de.clsx)(e))}var J=ye(require("next/link"));var pe=require("lucide-react"),ue=require("next/navigation"),i=require("react/jsx-runtime"),De=({children:e,pageId:t,tableOfContents:r=[],edit:o=!0,path:s="/admin/collections/pages/",relatedContent:n=[{title:"Related Content",links:[]}]})=>{let[a,l]=(0,L.useState)(!1),u=()=>{l(!a)};return(0,L.useEffect)(()=>{let f=window.location.hash;if(f){let b=f.substring(1),w=document.getElementById(b);if(w){let C=w.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:C,behavior:"smooth"})}}},[window.location.hash]),(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)("div",{className:T(a?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,i.jsx)(et,{pageId:t,tableOfContents:r,edit:o,path:s,relatedContent:n,isSidebarVisible:a}),(0,i.jsx)("div",{className:"block md:hidden mt-8",children:(0,i.jsx)("div",{className:"space-y-6",children:e})})]})};var et=({pageId:e,tableOfContents:t=[],edit:r=!0,path:o="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}],isSidebarVisible:n})=>{let[a,l]=(0,L.useState)(""),[u,f]=(0,L.useState)(!1),[b,w]=(0,L.useState)(!1),y=(0,ue.usePathname)(),C=()=>{f(!u),w(!1)},k=()=>{w(!b),f(!1)},h=d=>{switch(d){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},g=()=>{let d=y.split("/"),z="/print"+y,v=window.open(z,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");v&&v.focus()},x=()=>{let d=y.split("/"),z="/present"+y,v=window.open(z,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");v&&v.focus()};return(0,i.jsx)("div",{className:T("fixed right-2 z-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-x-full",n?"translate-x-0":"md:translate-x-0"),children:(0,i.jsxs)("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[(0,i.jsxs)("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card p-2.5 shadow-lg backdrop-blur-lg min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,i.jsxs)(J.default,{href:`${o}${e}`,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,i.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,i.jsxs)("a",{onClick:C,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,i.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,i.jsxs)("a",{onClick:k,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,i.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,i.jsx)("hr",{className:"dark:border-gray-400"}),(0,i.jsxs)("a",{onClick:x,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,i.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,i.jsxs)("a",{onClick:g,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,i.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),u&&(0,i.jsx)("div",{className:T("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,i.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,i.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,i.jsx)("ul",{className:"flex flex-col space-y-2",children:t.map((d,z)=>(0,i.jsx)("li",{className:h(d.tag),children:(0,i.jsx)("a",{href:`#${d.id}`,className:`text-xs ${a===d.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:d.text})},z))})]})}),b&&s&&s.length>0&&(0,i.jsx)("div",{className:T("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,i.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,i.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,i.jsx)("ul",{className:"flex flex-col space-y-2",children:s.map((d,z)=>d.links&&d.links.length>0?d.links.map((v,R)=>(0,i.jsxs)(J.default,{href:v.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[v.title,v.url.startsWith("http")&&(0,i.jsx)(pe.ExternalLink,{className:"ml-1 h-3 w-3"})]},R)):null)})]})})]})})};0&&(module.exports={MainPageSection});
|
|
4
|
+
"use strict";"use client";var ge=Object.create;var O=Object.defineProperty;var fe=Object.getOwnPropertyDescriptor;var be=Object.getOwnPropertyNames;var he=Object.getPrototypeOf,xe=Object.prototype.hasOwnProperty;var we=(e,t)=>{for(var r in t)O(e,r,{get:t[r],enumerable:!0})},te=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of be(t))!xe.call(e,s)&&s!==r&&O(e,s,{get:()=>t[s],enumerable:!(o=fe(t,s))||o.enumerable});return e};var ye=(e,t,r)=>(r=e!=null?ge(he(e)):{},te(t||!e||!e.__esModule?O(r,"default",{value:e,enumerable:!0}):r,e)),ve=e=>te(O({},"__esModule",{value:!0}),e);var tt={};we(tt,{MainPageSection:()=>De});module.exports=ve(tt);var L=require("react");var de=require("clsx");var F="-",Ce=e=>{let t=ze(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{let l=a.split(F);return l[0]===""&&l.length!==1&&l.shift(),ne(l,t)||ke(a)},getConflictingClassGroupIds:(a,l)=>{let u=r[a]||[];return l&&o[a]?[...u,...o[a]]:u}}},ne=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),s=o?ne(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;let n=e.join(F);return t.validators.find(({validator:a})=>a(n))?.classGroupId},re=/^\[(.+)\]$/,ke=e=>{if(re.test(e)){let t=re.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},ze=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Pe(Object.entries(e.classGroups),r).forEach(([n,a])=>{U(a,o,n,t)}),o},U=(e,t,r,o)=>{e.forEach(s=>{if(typeof s=="string"){let n=s===""?t:oe(t,s);n.classGroupId=r;return}if(typeof s=="function"){if(Ne(s)){U(s(o),t,r,o);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([n,a])=>{U(a,oe(t,n),r,o)})})},oe=(e,t)=>{let r=e;return t.split(F).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ne=e=>e.isThemeGetter,Pe=(e,t)=>t?e.map(([r,o])=>{let s=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([a,l])=>[t+a,l])):n);return[r,s]}):e,Me=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,s=(n,a)=>{r.set(n,a),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let a=r.get(n);if(a!==void 0)return a;if((a=o.get(n))!==void 0)return s(n,a),a},set(n,a){r.has(n)?r.set(n,a):s(n,a)}}},se="!",Se=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,s=t[0],n=t.length,a=l=>{let u=[],f=0,b=0,w;for(let g=0;g<l.length;g++){let x=l[g];if(f===0){if(x===s&&(o||l.slice(g,g+n)===t)){u.push(l.slice(b,g)),b=g+n;continue}if(x==="/"){w=g;continue}}x==="["?f++:x==="]"&&f--}let y=u.length===0?l:l.substring(b),C=y.startsWith(se),k=C?y.substring(1):y,h=w&&w>b?w-b:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:h}};return r?l=>r({className:l,parseClassName:a}):a},Le=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Re=e=>({cache:Me(e.cacheSize),parseClassName:Se(e),...Ce(e)}),Ie=/\s+/,Ae=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s}=t,n=[],a=e.trim().split(Ie),l="";for(let u=a.length-1;u>=0;u-=1){let f=a[u],{modifiers:b,hasImportantModifier:w,baseClassName:y,maybePostfixModifierPosition:C}=r(f),k=!!C,h=o(k?y.substring(0,C):y);if(!h){if(!k){l=f+(l.length>0?" "+l:l);continue}if(h=o(y),!h){l=f+(l.length>0?" "+l:l);continue}k=!1}let g=Le(b).join(":"),x=w?g+se:g,d=x+h;if(n.includes(d))continue;n.push(d);let z=s(h,k);for(let v=0;v<z.length;++v){let R=z[v];n.push(x+R)}l=f+(l.length>0?" "+l:l)}return l};function Te(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=le(t))&&(o&&(o+=" "),o+=r);return o}var le=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=le(e[o]))&&(r&&(r+=" "),r+=t);return r};function Ee(e,...t){let r,o,s,n=a;function a(u){let f=t.reduce((b,w)=>w(b),e());return r=Re(f),o=r.cache.get,s=r.cache.set,n=l,l(u)}function l(u){let f=o(u);if(f)return f;let b=Ae(u,r);return s(u,b),b}return function(){return n(Te.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ae=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ge=/^\d+\/\d+$/,Ve=new Set(["px","full","screen"]),je=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Be=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Oe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$e=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,We=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>I(e)||Ve.has(e)||Ge.test(e),M=e=>A(e,"length",Xe),I=e=>!!e&&!Number.isNaN(Number(e)),H=e=>A(e,"number",I),G=e=>!!e&&Number.isInteger(Number(e)),_e=e=>e.endsWith("%")&&I(e.slice(0,-1)),c=e=>ae.test(e),S=e=>je.test(e),qe=new Set(["length","size","percentage"]),He=e=>A(e,qe,ie),Ue=e=>A(e,"position",ie),Fe=new Set(["image","url"]),Je=e=>A(e,Fe,Ze),Ke=e=>A(e,"",Ye),V=()=>!0,A=(e,t,r)=>{let o=ae.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Xe=e=>Be.test(e)&&!Oe.test(e),ie=()=>!1,Ye=e=>$e.test(e),Ze=e=>We.test(e);var Qe=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),s=p("borderColor"),n=p("borderRadius"),a=p("borderSpacing"),l=p("borderWidth"),u=p("contrast"),f=p("grayscale"),b=p("hueRotate"),w=p("invert"),y=p("gap"),C=p("gradientColorStops"),k=p("gradientColorStopPositions"),h=p("inset"),g=p("margin"),x=p("opacity"),d=p("padding"),z=p("saturate"),v=p("scale"),R=p("sepia"),K=p("skew"),X=p("space"),Y=p("translate"),$=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",c,t],m=()=>[c,t],Z=()=>["",P,M],j=()=>["auto",I,c],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],D=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],E=()=>["","0",c],ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[I,c];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[P,M],blur:["none","",S,c],brightness:N(),borderColor:[e],borderRadius:["none","","full",S,c],borderSpacing:m(),borderWidth:Z(),contrast:N(),grayscale:E(),hueRotate:N(),invert:E(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[_e,M],inset:_(),margin:_(),opacity:N(),padding:m(),saturate:N(),scale:N(),sepia:E(),skew:N(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":ee()}],"break-before":[{"break-before":ee()}],"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:[...Q(),c]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",G,c]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:E()}],shrink:[{shrink:E()}],order:[{order:["first","last","none",G,c]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",G,c]},c]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[G,c]},c]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[d]}],px:[{px:[d]}],py:[{py:[d]}],ps:[{ps:[d]}],pe:[{pe:[d]}],pt:[{pt:[d]}],pr:[{pr:[d]}],pb:[{pb:[d]}],pl:[{pl:[d]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],pe:[{pe:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[X]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[X]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",H]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",c]}],"line-clamp":[{"line-clamp":["none",I,H]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,M]}],"underline-offset":[{"underline-offset":["auto",P,c]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),Ue]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",He]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Je]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:B()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[P,c]}],"outline-w":[{outline:[P,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[P,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Ke]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...D(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":D()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",S,c]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[w]}],saturate:[{saturate:[z]}],sepia:[{sepia:[R]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[R]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[v]}],"scale-x":[{"scale-x":[v]}],"scale-y":[{"scale-y":[v]}],rotate:[{rotate:[G,c]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[K]}],"skew-y":[{"skew-y":[K]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,M,H]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],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:["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-b","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-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"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-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ce=Ee(Qe);function T(...e){return ce((0,de.clsx)(e))}var J=ye(require("next/link"));var pe=require("lucide-react"),ue=require("next/navigation"),i=require("react/jsx-runtime"),De=({children:e,pageId:t,tableOfContents:r=[],edit:o=!0,path:s="/admin/collections/pages/",relatedContent:n=[{title:"Related Content",links:[]}]})=>{let[a,l]=(0,L.useState)(!1),u=()=>{l(!a)};return(0,L.useEffect)(()=>{let f=window.location.hash;if(f){let b=f.substring(1),w=document.getElementById(b);if(w){let C=w.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:C,behavior:"smooth"})}}},[window.location.hash]),(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)("div",{className:T(a?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,i.jsx)(et,{pageId:t,tableOfContents:r,edit:o,path:s,relatedContent:n,isSidebarVisible:a}),(0,i.jsx)("div",{className:"block md:hidden mt-8",children:(0,i.jsx)("div",{className:"space-y-6",children:e})})]})};var et=({pageId:e,tableOfContents:t=[],edit:r=!0,path:o="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}],isSidebarVisible:n})=>{let[a,l]=(0,L.useState)(""),[u,f]=(0,L.useState)(!1),[b,w]=(0,L.useState)(!1),y=(0,ue.usePathname)(),C=()=>{f(!u),w(!1)},k=()=>{w(!b),f(!1)},h=d=>{switch(d){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},g=()=>{let d=y.split("/"),z="/print"+y,v=window.open(z,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");v&&v.focus()},x=()=>{let d=y.split("/"),z="/present"+y,v=window.open(z,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");v&&v.focus()};return(0,i.jsx)("div",{className:T("fixed right-2 z-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-x-full",n?"translate-x-0":"md:translate-x-0"),children:(0,i.jsxs)("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[(0,i.jsxs)("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card p-2.5 shadow-lg backdrop-blur-lg min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,i.jsxs)(J.default,{href:`${o}${e}`,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,i.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,i.jsxs)("a",{onClick:C,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,i.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,i.jsxs)("a",{onClick:k,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,i.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,i.jsx)("hr",{className:"dark:border-gray-400"}),(0,i.jsxs)("a",{onClick:x,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,i.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,i.jsxs)("a",{onClick:g,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,i.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),u&&(0,i.jsx)("div",{className:T("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,i.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,i.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,i.jsx)("ul",{className:"flex flex-col space-y-2",children:t.map((d,z)=>(0,i.jsx)("li",{className:h(d.tag),children:(0,i.jsx)("a",{href:`#${d.id}`,className:`text-xs ${a===d.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:d.text})},z))})]})}),b&&s&&s.length>0&&(0,i.jsx)("div",{className:T("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,i.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,i.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,i.jsx)("ul",{className:"flex flex-col space-y-2",children:s.map((d,z)=>d.links&&d.links.length>0?d.links.map((v,R)=>(0,i.jsxs)(J.default,{href:v.href,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[v.name,v.href.startsWith("http")&&(0,i.jsx)(pe.ExternalLink,{className:"ml-1 h-3 w-3"})]},R)):null)})]})})]})})};0&&(module.exports={MainPageSection});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../chunk-
|
|
2
|
+
"use strict";import{a}from"../chunk-HFT5KFCM.mjs";import"../chunk-326JXRIS.mjs";import"../chunk-BPSLUO5I.mjs";import"../chunk-4YFMDLHL.mjs";import"../chunk-HTVHCBXQ.mjs";import"../chunk-Q3G5UAAD.mjs";import"../chunk-ZLSF5YXT.mjs";import"../chunk-M6LJ4BNZ.mjs";export{a as MainPageSection};
|