cortex-react-components 1.55.2 → 1.55.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-N4RGGZP6.mjs → chunk-22HNE6H7.mjs} +1 -1
- package/dist/{chunk-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
- package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
- package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
- package/dist/{chunk-EAEM25TY.mjs → chunk-6TN57ETY.mjs} +1 -1
- package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
- package/dist/{chunk-QFWNMI4Q.mjs → chunk-7O6UFIXR.mjs} +1 -1
- package/dist/{chunk-JZR2MQNM.mjs → chunk-A3GFDPR2.mjs} +1 -1
- package/dist/{chunk-GF62H2LB.mjs → chunk-ASQ6CFYN.mjs} +1 -1
- package/dist/{chunk-PYOE47AG.mjs → chunk-BBJ3TLVA.mjs} +1 -1
- package/dist/{chunk-RXQ3HYUO.mjs → chunk-CL4YSU3E.mjs} +1 -1
- package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
- package/dist/{chunk-S4OGTLKI.mjs → chunk-D5ZDKCPH.mjs} +1 -1
- package/dist/{chunk-O6CPA4ET.mjs → chunk-DFOY2RDN.mjs} +1 -1
- package/dist/{chunk-SWROLJQ7.mjs → chunk-E3XRSVRI.mjs} +1 -1
- package/dist/chunk-FQ7SEEJI.mjs +1 -0
- package/dist/{chunk-2WRTKU7K.mjs → chunk-GLIAEXH7.mjs} +1 -1
- package/dist/{chunk-LY5LYSJP.mjs → chunk-GMHM2GD7.mjs} +1 -1
- package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
- package/dist/{chunk-3O3XQPKH.mjs → chunk-IYXJGS2G.mjs} +1 -1
- package/dist/{chunk-NO4A4H5A.mjs → chunk-JYAFW7EN.mjs} +1 -1
- package/dist/{chunk-KLCZHZKQ.mjs → chunk-LLJZRF3C.mjs} +1 -1
- package/dist/{chunk-NW7M3ZFX.mjs → chunk-MOWV2BDV.mjs} +1 -1
- package/dist/{chunk-GYUMEOL2.mjs → chunk-OJPHYSRN.mjs} +1 -1
- package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
- package/dist/{chunk-KXDZG43L.mjs → chunk-PYEUMZCG.mjs} +1 -1
- package/dist/{chunk-JWCYILHL.mjs → chunk-QGSD6DMD.mjs} +1 -1
- package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
- package/dist/{chunk-BXLOYYAQ.mjs → chunk-RWEBJ324.mjs} +1 -1
- package/dist/{chunk-7IZ2X75V.mjs → chunk-SMD2U5NY.mjs} +1 -1
- package/dist/{chunk-KQJLOUAU.mjs → chunk-T67YJGQO.mjs} +1 -1
- package/dist/{chunk-IKNKE53G.mjs → chunk-TCJO2ZMW.mjs} +1 -1
- package/dist/{chunk-3PTHLA3K.mjs → chunk-TFMXW4PF.mjs} +1 -1
- package/dist/{chunk-GTK2NOQY.mjs → chunk-TPHUSCQ5.mjs} +1 -1
- package/dist/{chunk-PBGPRSYX.mjs → chunk-UNEMTFIZ.mjs} +1 -1
- package/dist/{chunk-ICM6QD7O.mjs → chunk-VSKUFVKV.mjs} +1 -1
- package/dist/{chunk-YJMQPBXM.mjs → chunk-YJGAMYQ7.mjs} +1 -1
- package/dist/{chunk-5TMU7KTC.mjs → chunk-ZIXMJLYW.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapableArea.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsableArea.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +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 +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.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.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +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.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +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.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.mjs +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.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PageSections.js +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +2 -2
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetailList.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +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-VP6NKH2R.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var vt=Object.create;var $=Object.defineProperty;var wt=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var Ct=Object.getPrototypeOf,Nt=Object.prototype.hasOwnProperty;var At=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},Me=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of kt(t))!Nt.call(e,s)&&s!==r&&$(e,s,{get:()=>t[s],enumerable:!(n=wt(t,s))||n.enumerable});return e};var O=(e,t,r)=>(r=e!=null?vt(Ct(e)):{},Me(t||!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),Pt=e=>Me($({},"__esModule",{value:!0}),e);var cr={};At(cr,{Default:()=>bt,Empty:()=>yt,Four:()=>xt,Two:()=>ht,default:()=>lr});module.exports=Pt(cr);var ze=(e,t)=>e[t%e.length];var Ve=require("clsx");var ge="-",Tt=e=>{let t=St(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let i=a.split(ge);return i[0]===""&&i.length!==1&&i.shift(),De(i,t)||Bt(a)},getConflictingClassGroupIds:(a,i)=>{let d=r[a]||[];return i&&n[a]?[...d,...n[a]]:d}}},De=(e,t)=>{var a;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?De(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ge);return(a=t.validators.find(({validator:i})=>i(o)))==null?void 0:a.classGroupId},Fe=/^\[(.+)\]$/,Bt=e=>{if(Fe.test(e)){let t=Fe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},St=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return It(Object.entries(e.classGroups),r).forEach(([o,a])=>{fe(a,n,o,t)}),n},fe=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Ee(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Rt(s)){fe(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,a])=>{fe(a,Ee(t,o),r,n)})})},Ee=(e,t)=>{let r=e;return t.split(ge).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Rt=e=>e.isThemeGetter,It=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,i])=>[t+a,i])):o);return[r,s]}):e,Mt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,a)=>{r.set(o,a),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let a=r.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return s(o,a),a},set(o,a){r.has(o)?r.set(o,a):s(o,a)}}},Ge="!",zt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,a=i=>{let d=[],p=0,m=0,h;for(let w=0;w<i.length;w++){let k=i[w];if(p===0){if(k===s&&(n||i.slice(w,w+o)===t)){d.push(i.slice(m,w)),m=w+o;continue}if(k==="/"){h=w;continue}}k==="["?p++:k==="]"&&p--}let f=d.length===0?i:i.substring(m),C=f.startsWith(Ge),A=C?f.substring(1):f,v=h&&h>m?h-m:void 0;return{modifiers:d,hasImportantModifier:C,baseClassName:A,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:a}):a},Ft=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Et=e=>({cache:Mt(e.cacheSize),parseClassName:zt(e),...Tt(e)}),Dt=/\s+/,Gt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],a=e.trim().split(Dt),i="";for(let d=a.length-1;d>=0;d-=1){let p=a[d],{modifiers:m,hasImportantModifier:h,baseClassName:f,maybePostfixModifierPosition:C}=r(p),A=!!C,v=n(A?f.substring(0,C):f);if(!v){if(!A){i=p+(i.length>0?" "+i:i);continue}if(v=n(f),!v){i=p+(i.length>0?" "+i:i);continue}A=!1}let w=Ft(m).join(":"),k=h?w+Ge:w,N=k+v;if(o.includes(N))continue;o.push(N);let z=s(v,A);for(let T=0;T<z.length;++T){let q=z[T];o.push(k+q)}i=p+(i.length>0?" "+i:i)}return i};function Lt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Le(t))&&(n&&(n+=" "),n+=r);return n}var Le=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Le(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ut(e,...t){let r,n,s,o=a;function a(d){let p=t.reduce((m,h)=>h(m),e());return r=Et(p),n=r.cache.get,s=r.cache.set,o=i,i(d)}function i(d){let p=n(d);if(p)return p;let m=Gt(d,r);return s(d,m),m}return function(){return o(Lt.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ht=/^\d+\/\d+$/,jt=new Set(["px","full","screen"]),Vt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|_e|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ot=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>U(e)||jt.has(e)||Ht.test(e),F=e=>H(e,"length",er),U=e=>!!e&&!Number.isNaN(Number(e)),ue=e=>H(e,"number",U),J=e=>!!e&&Number.isInteger(Number(e)),Kt=e=>e.endsWith("%")&&U(e.slice(0,-1)),c=e=>Ue.test(e),E=e=>Vt.test(e),Yt=new Set(["length","size","percentage"]),Xt=e=>H(e,Yt,He),qt=e=>H(e,"position",He),Wt=new Set(["image","url"]),Zt=e=>H(e,Wt,rr),$t=e=>H(e,"",tr),_=()=>!0,H=(e,t,r)=>{let n=Ue.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},er=e=>Qt.test(e)&&!Ot.test(e),He=()=>!1,tr=e=>Jt.test(e),rr=e=>_t.test(e);var or=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),n=b("brightness"),s=b("borderColor"),o=b("borderRadius"),a=b("borderSpacing"),i=b("borderWidth"),d=b("contrast"),p=b("grayscale"),m=b("hueRotate"),h=b("invert"),f=b("gap"),C=b("gradientColorStops"),A=b("gradientColorStopPositions"),v=b("inset"),w=b("margin"),k=b("opacity"),N=b("padding"),z=b("saturate"),T=b("scale"),q=b("sepia"),Ae=b("skew"),Pe=b("space"),Te=b("translate"),ce=()=>["auto","contain","none"],de=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",c,t],x=()=>[c,t],Be=()=>["",R,F],W=()=>["auto",U,c],Se=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],Re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",c],Ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[U,c];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[R,F],blur:["none","",E,c],brightness:S(),borderColor:[e],borderRadius:["none","","full",E,c],borderSpacing:x(),borderWidth:Be(),contrast:S(),grayscale:Q(),hueRotate:S(),invert:Q(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[Kt,F],inset:pe(),margin:pe(),opacity:S(),padding:x(),saturate:S(),scale:S(),sepia:Q(),skew:S(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Ie()}],"break-before":[{"break-before":Ie()}],"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:[...Se(),c]}],overflow:[{overflow:de()}],"overflow-x":[{"overflow-x":de()}],"overflow-_e":[{"overflow-_e":de()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-_e":[{"overscroll-_e":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-_e":[{"inset-_e":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,c]}],basis:[{basis:pe()}],"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:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",J,c]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",J,c]},c]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[J,c]},c]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-_e":[{"gap-_e":[f]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],_e:[{_e:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],_e:[{_e:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Pe]}],"space-x-reverse":["space-x-reverse"],"space-_e":[{"space-_e":[Pe]}],"space-_e-reverse":["space-_e-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:[E]},E]}],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",E,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[_]}],"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",U,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,F]}],"underline-offset":[{"underline-offset":["auto",R,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:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Se(),qt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","_e","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Zt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-_e":[{"rounded-_e":[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-_e":[{"border-_e":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-_e":[{"divide-_e":[i]}],"divide-_e-reverse":["divide-_e-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:Z()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-_e":[{"border-_e":[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:["",...Z()]}],"outline-offset":[{"outline-offset":[R,c]}],"outline-w":[{outline:[R,F]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[R,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,$t]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Re()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",E,c]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[z]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-_e":[{"border-spacing-_e":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-_e":[{"scale-_e":[T]}],rotate:[{rotate:[J,c]}],"translate-x":[{"translate-x":[Te]}],"translate-_e":[{"translate-_e":[Te]}],"skew-x":[{"skew-x":[Ae]}],"skew-_e":[{"skew-_e":[Ae]}],"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","_e","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-_e":[{"scroll-_e":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-_e":[{"scroll-_e":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","_e","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-_e":[{"touch-pan":["_e","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:[R,F,ue]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-_e"],overscroll:["overscroll-x","overscroll-_e"],inset:["inset-x","inset-_e","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-_e":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-_e"],p:["px","py","ps","pe","_e","pr","pb","pl"],px:["pr","pl"],py:["_e","pb"],m:["mx","my","ms","me","_e","mr","mb","ml"],mx:["mr","ml"],my:["_e","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-_e","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-_e"],"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-_e"],"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-_e":["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-_e":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-_e","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-_e","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-_e","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-_e","scroll-pb"],touch:["touch-x","touch-_e","touch-pz"],"touch-x":["touch"],"touch-_e":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var je=Ut(or);function l(...e){return je((0,Ve.clsx)(e))}var Qe=require("@radix-ui/react-slot"),Oe=require("class-variance-authority"),Je=O(require("react")),_e=require("react/jsx-runtime"),ar=(0,Oe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-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"}}}),G=Je.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,_e.jsx)(e?Qe.Slot:"button",{className:l(ar({className:t,size:r,variant:n})),ref:o,...s}));G.displayName="Button";var Ke=({className:e,content:t,style:r})=>(0,_e.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,_e.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,_e.jsx)(P,{content:t,enableGutter:!1,enableProse:!1})})});var be=O(require("next/link")),Y=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:a,reference:i,size:d,url:p}=e,m=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!m)return null;let h=r==="link"?"clear":d,f=a?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,_e.jsxs)(be.default,{className:l(s),href:m||p||"",...f,children:[o&&o,n&&n]}):(0,_e.jsx)(G,{asChild:!0,className:s,size:h,variant:r,children:(0,_e.jsxs)(be.default,{className:l(s),href:m||p||"",...f,children:[o&&o,n&&n]})})};var Ye=({links:e,richText:t})=>(0,_e.jsx)("div",{className:"container",children:(0,_e.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,_e.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,_e.jsx)(P,{className:"mb-0",content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,_e.jsx)(Y,{size:"lg",...r},n))})]})});var te=require("prism-react-renderer");var Xe=require("lucide-react"),qe=require("react");function We({code:e}){let[t,r]=(0,qe.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,_e.jsx)("div",{className:"flex justify-end align-middle",children:(0,_e.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,_e.jsx)("p",{children:t}),(0,_e.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,_e.jsx)(Xe.ClipboardCopy,{})})]})})}var Ze=({code:e,language:t=""})=>e?(0,_e.jsx)(te.Highlight,{code:e,language:t,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,_e.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,a)=>(0,_e.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,_e.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,_e.jsx)("span",{className:"table-cell pl-4",children:o.map((i,d)=>(0,_e.jsx)("span",{...n({token:i})},d))})]},a)),(0,_e.jsx)(We,{code:e})]})}):null;var $e=({className:e,code:t,language:r})=>(0,_e.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,_e.jsx)(Ze,{code:t,language:r})});var tt=O(require("next/image")),nr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},et="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=",rt=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:a,src:i,loading:d}=e,p,m,h=t,f=i||"";if(!f&&o&&typeof o=="object"){let{alt:v,filename:w,height:k,url:N,width:z}=o;if(k&&k>500){let T=500/k;p=z*T,m=k*T}else p=z,m=k;h=v||"",f=N||et}let C=d||"lazy",A=a||Object.entries(nr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,_e.jsx)("picture",{children:(0,_e.jsx)(tt.default,{alt:h||"",className:l(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:et,priority:C!=="lazy"&&s,quality:100,loading:C,sizes:A,src:f,width:r?void 0:p})})};var ot=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var at=()=>{if(ot){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var nt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,qe.useRef)(null);if((0,qe.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,_e.jsx)("video",{autoPlay:!0,className:l(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,_e.jsx)("source",{src:`${at()}/media/${o}`})})}return null};var ae=e=>{var a;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,_e.jsx)(r||qe.Fragment,{...r!==null?{className:t}:{},children:s?(0,_e.jsx)(nt,{...e}):(0,_e.jsx)(rt,{...e})})};var it=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,_e.jsx)("div",{className:l("h-full ",{container:r},t),children:(0,_e.jsx)(ae,{imgClassName:l("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var lt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,_e.jsx)("div",{className:l("",{container:r},t),children:(0,_e.jsx)(ae,{imgClassName:l("rounded-[0.8rem]",n),resource:s,src:o})})};var ct=({title:e,description:t,features:r,id:n,nested:s=!1})=>(0,_e.jsxs)("section",{className:l(!s&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,_e.jsx)("h2",{className:"mb-6 _e-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,_e.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,_e.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,_e.jsx)(P,{content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:`grid gap-8 _e-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,a)=>{var d,p,m,h,f;let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,_e.jsx)(dt,{variant:((d=o.settings)==null?void 0:d.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:i()||void 0,iconSize:((m=o.settings)==null?void 0:m.iconSize)||"large",width:"auto",order:a,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(h=o.link)!=null&&h.url?"Find out more":void 0,buttonHref:((f=o.link)==null?void 0:f.url)||void 0},a)})})]});var ne=O(require("react"));function X({nodes:e}){return(0,_e.jsx)(ne.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,_e.jsx)(ne.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,_e.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,_e.jsx)("em",{children:o},r)),t.format&4&&(o=(0,_e.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,_e.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,_e.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,_e.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,_e.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,_e.jsx)("table",{children:(0,_e.jsx)("tbody",{children:t.children.map((o,a)=>(0,_e.jsx)("tr",{children:o.children.map((i,d)=>(0,_e.jsx)("td",{children:X({nodes:i.children})},d))},a))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let a of o.children)"checked"in a&&(a!=null&&a.checked||(a.checked=!1));return X({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,_e.jsx)(Ye,{...o},r);case"mediaBlock":return(0,_e.jsx)(it,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,_e.jsx)(lt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,_e.jsx)(Ke,{className:"col-start-2 mb-4",...o},r);case"code":return(0,_e.jsx)($e,{className:"col-start-2",...o},r);case"features":return(0,_e.jsx)(ct,{...o,nested:!0},r);case"reusableContentBlock":X({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,_e.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,_e.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,_e.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,_e.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,_e.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,_e.jsx)(Y,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,_e.jsx)(Y,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var P=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,_e.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&X({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var j=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,a=n!=null?n:"",i=s+o+" fa-"+r+" "+a;return(0,_e.jsx)("i",{className:i})};var ft=O(require("next/image"));function ut(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ke({image:e,icon:t,title:r,subtitle:n,content:s,statistic:o,settings:a,link:i,className:d}){var h,f;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"},m={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,_e.jsxs)("div",{className:l("min-w-56 max-w-xl h-full flex flex-col group",e?"p-0 md:p-0":"p-8 md:p-8",a&&!e&&p[(a==null?void 0:a.card)==="default"?"solid":a==null?void 0:a.card],e&&"bg-foreground",a&&(a==null?void 0:a.card)==="outline"?"text-gray-900":"text-white",m[(h=a==null?void 0:a.width)!=null?h:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,d),children:[e&&(0,_e.jsx)("div",{className:"relative h-64 w-full mb-0",children:(0,_e.jsx)(ft.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,_e.jsxs)("div",{className:l(e?"p-4 pb-8 md:px-12":"p-0 md:p-0","flex flex-col flex-grow"),children:[n&&(0,_e.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,_e.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,_e.jsx)(sr,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(a==null?void 0:a.card)==="default"?"solid":(f=a==null?void 0:a.card)!=null?f:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,_e.jsx)("div",{className:"mb-6",children:(0,_e.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"text-brand-green":"text-white"),children:o})}),s&&typeof s=="object"&&(0,_e.jsx)(P,{enableGutter:!1,content:s,enableProse:!1,className:l("space-_e-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,_e.jsx)("div",{className:l("space-_e-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s}),i&&i.url&&(0,_e.jsx)("div",{className:"_e-6 h-full flex items-end justify-start",children:(0,_e.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:i.url||"#",children:(i==null?void 0:i.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,_e.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-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 sr=({icon:e,heading:t,variant:r,iconSize:n,subtitle:s})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,_e.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,_e.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),ut(e)&&(0,_e.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",n==="small"?"_e-2":""),children:(0,_e.jsx)(j,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,_e.jsxs)("div",{className:"flex flex-col gap-4",children:[ut(e)&&(0,_e.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,_e.jsx)(j,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,_e.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,_e.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,_e.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});function gt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function dt({variant:e="outline",className:t,icon:r,iconSize:n="large",width:s="auto",order:o=0,heading:a,subheading:i,content:d,statistic:p,buttonText:m,buttonHref:h}){let f={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:""},C={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,_e.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",f[e],e==="outline"?"text-gray-900":"text-white",t,C[s],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,_e.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,_e.jsx)(ir,{icon:r,heading:a,variant:e,iconSize:n})}),p&&(0,_e.jsx)("div",{className:"mb-6",children:(0,_e.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,_e.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:i}),d&&typeof d=="object"&&(0,_e.jsx)("div",{className:l("space-_e-6"),children:(0,_e.jsx)(P,{enableGutter:!1,content:d,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")})}),d&&typeof d=="string"&&(0,_e.jsx)("div",{className:l("space-_e-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:d}),m&&(0,_e.jsx)("div",{className:"_e-auto _e-6 flex items-center justify-center",children:(0,_e.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full _e-auto items-center justify-center",asChild:!0,children:(0,_e.jsx)("a",{href:h,children:m})})}),e==="radial"&&(0,_e.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-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 ir=({icon:e,heading:t,variant:r,iconSize:n})=>e&&n==="small"?(0,_e.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[gt(e)&&(0,_e.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",n==="small"?"_e-2":""),children:(0,_e.jsx)(j,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,_e.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,_e.jsxs)("div",{className:"flex flex-col gap-4",children:[gt(e)&&(0,_e.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,_e.jsx)(j,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,_e.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,_e.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,_e.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});function Ce({services:e,className:t,title:r,content:n}){let s={settings:{width:"full",card:"light"}};return(0,_e.jsxs)("div",{className:"pb-4 md:pb-0",children:[(0,_e.jsxs)("div",{className:l("w-full text-left"),children:[r&&(0,_e.jsx)("h2",{className:"text-3xl md:text-5xl text-primary",children:r}),(0,_e.jsx)("div",{className:"_e-4 text-gray-700 py-12 ",children:n&&(0,_e.jsx)(P,{enableGutter:!1,content:n,enableProse:!1,className:l("prose prose-headings:text-3xl prose-p:text-2xl prose-headings:text-foreground prose-p:text-foreground")})})]}),e&&e.length>0&&(0,_e.jsx)("div",{className:"-mx-4 flex flex-wrap justify-between gap-_e-4",children:e.map((o,a)=>(0,_e.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ze([200,400,600],a),className:"w-full h-full md:px-4 md:w-1/2 lg:w-1/3",children:(0,_e.jsx)(ke,{...s,icon:{type:"none"},title:o.title,image:o.image,content:o.content,link:o.link})},a))})]})}var ie=require("react-icons/fa"),lr={title:"Website Components/ServiceSection",component:Ce,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,_e.jsx)(e,{})]},Ne={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920},le=e=>(0,_e.jsx)(Ce,{...e}),se=e=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:e,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),bt=le.bind({});bt.args={title:"Lorem ipsum dolor sit amet",content:se("This is a description of the service. This is a description of the service. This is a description of the service. This is a description of the service."),services:[{image:Ne,title:"Service Title",content:se("This is a description of the service. This is a description of the service. This is a description of the service. This is a description of the service."),link:{label:"find out more",url:"#"}},{image:Ne,title:"Service Title",content:se("This is a description of the service."),link:{label:"find out more",url:"#"}},{image:Ne,title:"Service Title",content:se("This is a description of the service."),link:{label:"find out more",url:"#"}}]};var yt=le.bind({});yt.args={services:[]};var ht=le.bind({});ht.args={services:[{icon:(0,_e.jsx)(ie.FaCog,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};var xt=le.bind({});xt.args={services:[{icon:(0,_e.jsx)(ie.FaCog,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:(0,_e.jsx)(ie.FaCog,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};0&&(module.exports={Default,Empty,Four,Two});
|
|
4
|
+
"use strict";var vt=Object.create;var $=Object.defineProperty;var wt=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var Ct=Object.getPrototypeOf,Nt=Object.prototype.hasOwnProperty;var At=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},Me=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of kt(t))!Nt.call(e,s)&&s!==r&&$(e,s,{get:()=>t[s],enumerable:!(n=wt(t,s))||n.enumerable});return e};var O=(e,t,r)=>(r=e!=null?vt(Ct(e)):{},Me(t||!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),Pt=e=>Me($({},"__esModule",{value:!0}),e);var cr={};At(cr,{Default:()=>bt,Empty:()=>yt,Four:()=>xt,Two:()=>ht,default:()=>lr});module.exports=Pt(cr);var ze=(e,t)=>e[t%e.length];var Ve=require("clsx");var ge="-",Tt=e=>{let t=St(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let i=a.split(ge);return i[0]===""&&i.length!==1&&i.shift(),De(i,t)||Bt(a)},getConflictingClassGroupIds:(a,i)=>{let d=r[a]||[];return i&&n[a]?[...d,...n[a]]:d}}},De=(e,t)=>{var a;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?De(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ge);return(a=t.validators.find(({validator:i})=>i(o)))==null?void 0:a.classGroupId},Fe=/^\[(.+)\]$/,Bt=e=>{if(Fe.test(e)){let t=Fe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},St=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return It(Object.entries(e.classGroups),r).forEach(([o,a])=>{fe(a,n,o,t)}),n},fe=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Ee(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Rt(s)){fe(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,a])=>{fe(a,Ee(t,o),r,n)})})},Ee=(e,t)=>{let r=e;return t.split(ge).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Rt=e=>e.isThemeGetter,It=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,i])=>[t+a,i])):o);return[r,s]}):e,Mt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,a)=>{r.set(o,a),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let a=r.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return s(o,a),a},set(o,a){r.has(o)?r.set(o,a):s(o,a)}}},Ge="!",zt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,a=i=>{let d=[],p=0,m=0,h;for(let w=0;w<i.length;w++){let k=i[w];if(p===0){if(k===s&&(n||i.slice(w,w+o)===t)){d.push(i.slice(m,w)),m=w+o;continue}if(k==="/"){h=w;continue}}k==="["?p++:k==="]"&&p--}let f=d.length===0?i:i.substring(m),C=f.startsWith(Ge),A=C?f.substring(1):f,v=h&&h>m?h-m:void 0;return{modifiers:d,hasImportantModifier:C,baseClassName:A,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:a}):a},Ft=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Et=e=>({cache:Mt(e.cacheSize),parseClassName:zt(e),...Tt(e)}),Dt=/\s+/,Gt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],a=e.trim().split(Dt),i="";for(let d=a.length-1;d>=0;d-=1){let p=a[d],{modifiers:m,hasImportantModifier:h,baseClassName:f,maybePostfixModifierPosition:C}=r(p),A=!!C,v=n(A?f.substring(0,C):f);if(!v){if(!A){i=p+(i.length>0?" "+i:i);continue}if(v=n(f),!v){i=p+(i.length>0?" "+i:i);continue}A=!1}let w=Ft(m).join(":"),k=h?w+Ge:w,N=k+v;if(o.includes(N))continue;o.push(N);let z=s(v,A);for(let T=0;T<z.length;++T){let q=z[T];o.push(k+q)}i=p+(i.length>0?" "+i:i)}return i};function Lt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Le(t))&&(n&&(n+=" "),n+=r);return n}var Le=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Le(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ut(e,...t){let r,n,s,o=a;function a(d){let p=t.reduce((m,h)=>h(m),e());return r=Et(p),n=r.cache.get,s=r.cache.set,o=i,i(d)}function i(d){let p=n(d);if(p)return p;let m=Gt(d,r);return s(d,m),m}return function(){return o(Lt.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ht=/^\d+\/\d+$/,jt=new Set(["px","full","screen"]),Vt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|_e|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ot=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>U(e)||jt.has(e)||Ht.test(e),F=e=>H(e,"length",er),U=e=>!!e&&!Number.isNaN(Number(e)),ue=e=>H(e,"number",U),J=e=>!!e&&Number.isInteger(Number(e)),Kt=e=>e.endsWith("%")&&U(e.slice(0,-1)),c=e=>Ue.test(e),E=e=>Vt.test(e),Yt=new Set(["length","size","percentage"]),Xt=e=>H(e,Yt,He),qt=e=>H(e,"position",He),Wt=new Set(["image","url"]),Zt=e=>H(e,Wt,rr),$t=e=>H(e,"",tr),_=()=>!0,H=(e,t,r)=>{let n=Ue.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},er=e=>Qt.test(e)&&!Ot.test(e),He=()=>!1,tr=e=>Jt.test(e),rr=e=>_t.test(e);var or=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),n=b("brightness"),s=b("borderColor"),o=b("borderRadius"),a=b("borderSpacing"),i=b("borderWidth"),d=b("contrast"),p=b("grayscale"),m=b("hueRotate"),h=b("invert"),f=b("gap"),C=b("gradientColorStops"),A=b("gradientColorStopPositions"),v=b("inset"),w=b("margin"),k=b("opacity"),N=b("padding"),z=b("saturate"),T=b("scale"),q=b("sepia"),Ae=b("skew"),Pe=b("space"),Te=b("translate"),ce=()=>["auto","contain","none"],de=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",c,t],x=()=>[c,t],Be=()=>["",R,F],W=()=>["auto",U,c],Se=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],Re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",c],Ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[U,c];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[R,F],blur:["none","",E,c],brightness:S(),borderColor:[e],borderRadius:["none","","full",E,c],borderSpacing:x(),borderWidth:Be(),contrast:S(),grayscale:Q(),hueRotate:S(),invert:Q(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[Kt,F],inset:pe(),margin:pe(),opacity:S(),padding:x(),saturate:S(),scale:S(),sepia:Q(),skew:S(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Ie()}],"break-before":[{"break-before":Ie()}],"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:[...Se(),c]}],overflow:[{overflow:de()}],"overflow-x":[{"overflow-x":de()}],"overflow-_e":[{"overflow-_e":de()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-_e":[{"overscroll-_e":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-_e":[{"inset-_e":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,c]}],basis:[{basis:pe()}],"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:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",J,c]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",J,c]},c]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[J,c]},c]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-_e":[{"gap-_e":[f]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],_e:[{_e:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],_e:[{_e:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Pe]}],"space-x-reverse":["space-x-reverse"],"space-_e":[{"space-_e":[Pe]}],"space-_e-reverse":["space-_e-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:[E]},E]}],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",E,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[_]}],"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",U,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,F]}],"underline-offset":[{"underline-offset":["auto",R,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:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Se(),qt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","_e","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Zt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-_e":[{"rounded-_e":[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-_e":[{"border-_e":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-_e":[{"divide-_e":[i]}],"divide-_e-reverse":["divide-_e-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:Z()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-_e":[{"border-_e":[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:["",...Z()]}],"outline-offset":[{"outline-offset":[R,c]}],"outline-w":[{outline:[R,F]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[R,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,$t]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Re()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",E,c]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[z]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-_e":[{"border-spacing-_e":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-_e":[{"scale-_e":[T]}],rotate:[{rotate:[J,c]}],"translate-x":[{"translate-x":[Te]}],"translate-_e":[{"translate-_e":[Te]}],"skew-x":[{"skew-x":[Ae]}],"skew-_e":[{"skew-_e":[Ae]}],"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","_e","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-_e":[{"scroll-_e":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-_e":[{"scroll-_e":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","_e","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-_e":[{"touch-pan":["_e","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:[R,F,ue]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-_e"],overscroll:["overscroll-x","overscroll-_e"],inset:["inset-x","inset-_e","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-_e":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-_e"],p:["px","py","ps","pe","_e","pr","pb","pl"],px:["pr","pl"],py:["_e","pb"],m:["mx","my","ms","me","_e","mr","mb","ml"],mx:["mr","ml"],my:["_e","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-_e","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-_e"],"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-_e"],"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-_e":["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-_e":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-_e","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-_e","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-_e","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-_e","scroll-pb"],touch:["touch-x","touch-_e","touch-pz"],"touch-x":["touch"],"touch-_e":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var je=Ut(or);function l(...e){return je((0,Ve.clsx)(e))}var Qe=require("@radix-ui/react-slot"),Oe=require("class-variance-authority"),Je=O(require("react")),_e=require("react/jsx-runtime"),ar=(0,Oe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-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"}}}),G=Je.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,_e.jsx)(e?Qe.Slot:"button",{className:l(ar({className:t,size:r,variant:n})),ref:o,...s}));G.displayName="Button";var Ke=({className:e,content:t,style:r})=>(0,_e.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,_e.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,_e.jsx)(P,{content:t,enableGutter:!1,enableProse:!1})})});var be=O(require("next/link")),Y=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:a,reference:i,size:d,url:p}=e,m=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!m)return null;let h=r==="link"?"clear":d,f=a?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,_e.jsxs)(be.default,{className:l(s),href:m||p||"",...f,children:[o&&o,n&&n]}):(0,_e.jsx)(G,{asChild:!0,className:s,size:h,variant:r,children:(0,_e.jsxs)(be.default,{className:l(s),href:m||p||"",...f,children:[o&&o,n&&n]})})};var Ye=({links:e,richText:t})=>(0,_e.jsx)("div",{className:"container",children:(0,_e.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,_e.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,_e.jsx)(P,{className:"mb-0",content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,_e.jsx)(Y,{size:"lg",...r},n))})]})});var te=require("prism-react-renderer");var Xe=require("lucide-react"),qe=require("react");function We({code:e}){let[t,r]=(0,qe.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,_e.jsx)("div",{className:"flex justify-end align-middle",children:(0,_e.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,_e.jsx)("p",{children:t}),(0,_e.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,_e.jsx)(Xe.ClipboardCopy,{})})]})})}var Ze=({code:e,language:t=""})=>e?(0,_e.jsx)(te.Highlight,{code:e,language:t,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,_e.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,a)=>(0,_e.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,_e.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,_e.jsx)("span",{className:"table-cell pl-4",children:o.map((i,d)=>(0,_e.jsx)("span",{...n({token:i})},d))})]},a)),(0,_e.jsx)(We,{code:e})]})}):null;var $e=({className:e,code:t,language:r})=>(0,_e.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,_e.jsx)(Ze,{code:t,language:r})});var tt=O(require("next/image")),nr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},et="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=",rt=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:a,src:i,loading:d}=e,p,m,h=t,f=i||"";if(!f&&o&&typeof o=="object"){let{alt:v,filename:w,height:k,url:N,width:z}=o;if(k&&k>500){let T=500/k;p=z*T,m=k*T}else p=z,m=k;h=v||"",f=N||et}let C=d||"lazy",A=a||Object.entries(nr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,_e.jsx)("picture",{children:(0,_e.jsx)(tt.default,{alt:h||"",className:l(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:et,priority:C!=="lazy"&&s,quality:100,loading:C,sizes:A,src:f,width:r?void 0:p})})};var ot=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var at=()=>{if(ot){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var nt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,qe.useRef)(null);if((0,qe.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,_e.jsx)("video",{autoPlay:!0,className:l(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,_e.jsx)("source",{src:`${at()}/media/${o}`})})}return null};var ae=e=>{var a;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,_e.jsx)(r||qe.Fragment,{...r!==null?{className:t}:{},children:s?(0,_e.jsx)(nt,{...e}):(0,_e.jsx)(rt,{...e})})};var it=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,_e.jsx)("div",{className:l("h-full ",{container:r},t),children:(0,_e.jsx)(ae,{imgClassName:l("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var lt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,_e.jsx)("div",{className:l("",{container:r},t),children:(0,_e.jsx)(ae,{imgClassName:l("rounded-[0.8rem]",n),resource:s,src:o})})};var ct=({title:e,description:t,features:r,id:n,nested:s=!1})=>(0,_e.jsxs)("section",{className:l(!s&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,_e.jsx)("h2",{className:"mb-6 _e-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,_e.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,_e.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,_e.jsx)(P,{content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:`grid gap-8 _e-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,a)=>{var d,p,m,h,f;let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,_e.jsx)(dt,{variant:((d=o.settings)==null?void 0:d.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:i()||void 0,iconSize:((m=o.settings)==null?void 0:m.iconSize)||"large",width:"auto",order:a,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(h=o.link)!=null&&h.url?"Find out more":void 0,buttonHref:((f=o.link)==null?void 0:f.url)||void 0},a)})})]});var ne=O(require("react"));function X({nodes:e}){return(0,_e.jsx)(ne.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,_e.jsx)(ne.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,_e.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,_e.jsx)("em",{children:o},r)),t.format&4&&(o=(0,_e.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,_e.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,_e.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,_e.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,_e.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,_e.jsx)("table",{children:(0,_e.jsx)("tbody",{children:t.children.map((o,a)=>(0,_e.jsx)("tr",{children:o.children.map((i,d)=>(0,_e.jsx)("td",{children:X({nodes:i.children})},d))},a))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let a of o.children)"checked"in a&&(a!=null&&a.checked||(a.checked=!1));return X({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,_e.jsx)(Ye,{...o},r);case"mediaBlock":return(0,_e.jsx)(it,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,_e.jsx)(lt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,_e.jsx)(Ke,{className:"col-start-2 mb-4",...o},r);case"code":return(0,_e.jsx)($e,{className:"col-start-2",...o},r);case"features":return(0,_e.jsx)(ct,{...o,nested:!0},r);case"reusableContentBlock":X({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,_e.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,_e.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,_e.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,_e.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,_e.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,_e.jsx)(Y,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,_e.jsx)(Y,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var P=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,_e.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&X({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var j=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,a=n!=null?n:"",i=s+o+" fa-"+r+" "+a;return(0,_e.jsx)("i",{className:i})};var ft=O(require("next/image"));function ut(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ke({image:e,icon:t,title:r,subtitle:n,content:s,statistic:o,settings:a,link:i,className:d}){var h,f;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"},m={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,_e.jsxs)("div",{className:l("min-w-56 max-w-xl h-full flex flex-col group h-[40vh]",e?"p-0 md:p-0":"p-8 md:p-8",a&&!e&&p[(a==null?void 0:a.card)==="default"?"solid":a==null?void 0:a.card],e&&"bg-foreground",a&&(a==null?void 0:a.card)==="outline"?"text-gray-900":"text-white",m[(h=a==null?void 0:a.width)!=null?h:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,d),children:[e&&(0,_e.jsx)("div",{className:"relative h-64 w-full mb-0",children:(0,_e.jsx)(ft.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,_e.jsxs)("div",{className:l(e?"p-4 pb-8 md:px-12":"p-0 md:p-0","flex flex-col flex-grow"),children:[n&&(0,_e.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,_e.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,_e.jsx)(sr,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(a==null?void 0:a.card)==="default"?"solid":(f=a==null?void 0:a.card)!=null?f:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,_e.jsx)("div",{className:"mb-6",children:(0,_e.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"text-brand-green":"text-white"),children:o})}),s&&typeof s=="object"&&(0,_e.jsx)(P,{enableGutter:!1,content:s,enableProse:!1,className:l("space-_e-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,_e.jsx)("div",{className:l("space-_e-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s}),i&&i.url&&(0,_e.jsx)("div",{className:"_e-6 h-full flex items-end justify-start",children:(0,_e.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:i.url||"#",children:(i==null?void 0:i.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,_e.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-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 sr=({icon:e,heading:t,variant:r,iconSize:n,subtitle:s})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,_e.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,_e.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),ut(e)&&(0,_e.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",n==="small"?"_e-2":""),children:(0,_e.jsx)(j,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,_e.jsxs)("div",{className:"flex flex-col gap-4",children:[ut(e)&&(0,_e.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,_e.jsx)(j,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,_e.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,_e.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,_e.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});function gt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function dt({variant:e="outline",className:t,icon:r,iconSize:n="large",width:s="auto",order:o=0,heading:a,subheading:i,content:d,statistic:p,buttonText:m,buttonHref:h}){let f={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:""},C={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,_e.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",f[e],e==="outline"?"text-gray-900":"text-white",t,C[s],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,_e.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,_e.jsx)(ir,{icon:r,heading:a,variant:e,iconSize:n})}),p&&(0,_e.jsx)("div",{className:"mb-6",children:(0,_e.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,_e.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:i}),d&&typeof d=="object"&&(0,_e.jsx)("div",{className:l("space-_e-6"),children:(0,_e.jsx)(P,{enableGutter:!1,content:d,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")})}),d&&typeof d=="string"&&(0,_e.jsx)("div",{className:l("space-_e-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:d}),m&&(0,_e.jsx)("div",{className:"_e-auto _e-6 flex items-center justify-center",children:(0,_e.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full _e-auto items-center justify-center",asChild:!0,children:(0,_e.jsx)("a",{href:h,children:m})})}),e==="radial"&&(0,_e.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-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 ir=({icon:e,heading:t,variant:r,iconSize:n})=>e&&n==="small"?(0,_e.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[gt(e)&&(0,_e.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",n==="small"?"_e-2":""),children:(0,_e.jsx)(j,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,_e.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,_e.jsxs)("div",{className:"flex flex-col gap-4",children:[gt(e)&&(0,_e.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,_e.jsx)(j,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,_e.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,_e.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,_e.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});function Ce({services:e,className:t,title:r,content:n}){let s={settings:{width:"full",card:"light"}};return(0,_e.jsxs)("div",{className:"pb-4 md:pb-0",children:[(0,_e.jsxs)("div",{className:l("w-full text-left"),children:[r&&(0,_e.jsx)("h2",{className:"text-3xl md:text-5xl text-primary",children:r}),(0,_e.jsx)("div",{className:"_e-4 text-gray-700 py-12 ",children:n&&(0,_e.jsx)(P,{enableGutter:!1,content:n,enableProse:!1,className:l("prose prose-headings:text-3xl prose-p:text-2xl prose-headings:text-foreground prose-p:text-foreground")})})]}),e&&e.length>0&&(0,_e.jsx)("div",{className:"-mx-4 flex flex-wrap justify-between gap-_e-4",children:e.map((o,a)=>(0,_e.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ze([200,400,600],a),className:"w-full h-full md:px-4 md:w-1/2 lg:w-1/3",children:(0,_e.jsx)(ke,{...s,icon:{type:"none"},title:o.title,image:o.image,content:o.content,link:o.link})},a))})]})}var ie=require("react-icons/fa"),lr={title:"Website Components/ServiceSection",component:Ce,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,_e.jsx)(e,{})]},Ne={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920},le=e=>(0,_e.jsx)(Ce,{...e}),se=e=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:e,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),bt=le.bind({});bt.args={title:"Lorem ipsum dolor sit amet",content:se("This is a description of the service. This is a description of the service. This is a description of the service. This is a description of the service."),services:[{image:Ne,title:"Service Title",content:se("This is a description of the service. This is a description of the service. This is a description of the service. This is a description of the service."),link:{label:"find out more",url:"#"}},{image:Ne,title:"Service Title",content:se("This is a description of the service."),link:{label:"find out more",url:"#"}},{image:Ne,title:"Service Title",content:se("This is a description of the service."),link:{label:"find out more",url:"#"}}]};var yt=le.bind({});yt.args={services:[]};var ht=le.bind({});ht.args={services:[{icon:(0,_e.jsx)(ie.FaCog,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};var xt=le.bind({});xt.args={services:[{icon:(0,_e.jsx)(ie.FaCog,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:(0,_e.jsx)(ie.FaCog,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};0&&(module.exports={Default,Empty,Four,Two});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"../chunk-
|
|
1
|
+
import{a as s}from"../chunk-PYEUMZCG.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-22HNE6H7.mjs";import"../chunk-GLIAEXH7.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-7DINW2AE.mjs";import"../chunk-ZIXMJLYW.mjs";import"../chunk-NRL4U42W.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-ZIWHUQ4D.mjs";import"../chunk-6YV7RK6Q.mjs";import"../chunk-6LKCK2EH.mjs";import"../chunk-7XB4Y3U2.mjs";import"../chunk-IJCMUPNH.mjs";import"../chunk-PJSCXNH4.mjs";import"../chunk-XB5WL3OT.mjs";import"../chunk-SPAW5K3E.mjs";import"../chunk-OJPHYSRN.mjs";import"../chunk-6YWAX7NS.mjs";import"../chunk-4TCLIMFP.mjs";import"../chunk-PIM2JQYT.mjs";import"../chunk-OWBJTXZL.mjs";import"../chunk-BRYZOZKY.mjs";import"../chunk-A24EPYUY.mjs";import"../chunk-QKGEV7LG.mjs";import"../chunk-TXB5Y6PG.mjs";import"../chunk-IT7DSLCX.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-IYXJGS2G.mjs";import"../chunk-S5VKLW23.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-D5ZDKCPH.mjs";import"../chunk-DFOY2RDN.mjs";import"../chunk-7O6UFIXR.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-5G43IH3C.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-IO222G5L.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-E3XRSVRI.mjs";import"../chunk-MGS3DQ22.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-CL4YSU3E.mjs";import"../chunk-YJGAMYQ7.mjs";import"../chunk-MOWV2BDV.mjs";import"../chunk-FQ7SEEJI.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-QMFZRG7O.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-2IKC7MAP.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-43TBC2ZH.mjs";import"../chunk-RQ23CZK5.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-LCJIXE22.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-E6MYDQ3V.mjs";import"../chunk-VQJUNVRU.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";import{FaCog as c}from"react-icons/fa";import{jsx as i}from"react/jsx-runtime";var m={title:"Website Components/ServiceSection",component:s,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>i(e,{})]},r={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920},o=e=>i(s,{...e}),t=e=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:e,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),n=o.bind({});n.args={title:"Lorem ipsum dolor sit amet",content:t("This is a description of the service. This is a description of the service. This is a description of the service. This is a description of the service."),services:[{image:r,title:"Service Title",content:t("This is a description of the service. This is a description of the service. This is a description of the service. This is a description of the service."),link:{label:"find out more",url:"#"}},{image:r,title:"Service Title",content:t("This is a description of the service."),link:{label:"find out more",url:"#"}},{image:r,title:"Service Title",content:t("This is a description of the service."),link:{label:"find out more",url:"#"}}]};var a=o.bind({});a.args={services:[]};var l=o.bind({});l.args={services:[{icon:i(c,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};var p=o.bind({});p.args={services:[{icon:i(c,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:i(c,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};export{n as Default,a as Empty,p as Four,l as Two,m as default};
|