cortex-react-components 1.55.5 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-BAUUQRVM.mjs → chunk-26K34DNO.mjs} +1 -1
- package/dist/{chunk-6YWAX7NS.mjs → chunk-3GYJDXNA.mjs} +1 -1
- package/dist/{chunk-TZE7RZAV.mjs → chunk-7IZ2X75V.mjs} +1 -1
- package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
- package/dist/{chunk-HHPCESGS.mjs → chunk-BWRPSU6I.mjs} +1 -1
- package/dist/{chunk-KRG7X4TK.mjs → chunk-BXIDYE67.mjs} +1 -1
- package/dist/{chunk-IAXO6JAE.mjs → chunk-C2WXWFU6.mjs} +1 -1
- package/dist/{chunk-IC3VQFYT.mjs → chunk-EEKDSPJW.mjs} +1 -1
- package/dist/{chunk-YFQ3OKVI.mjs → chunk-EML6AVUM.mjs} +1 -1
- package/dist/{chunk-PZ23H656.mjs → chunk-EOVMD5QE.mjs} +1 -1
- package/dist/{chunk-VOWEZOIZ.mjs → chunk-FYVORNBL.mjs} +1 -1
- package/dist/{chunk-BHIT4BC3.mjs → chunk-GGDYYSFG.mjs} +1 -1
- package/dist/{chunk-OJPHYSRN.mjs → chunk-GYUMEOL2.mjs} +1 -1
- package/dist/{chunk-3SM2M4FI.mjs → chunk-HQOFQGRQ.mjs} +1 -1
- package/dist/{chunk-QP5BC6S5.mjs → chunk-IJT4XHN7.mjs} +1 -1
- package/dist/{chunk-HMOEAXGJ.mjs → chunk-IS27WYEV.mjs} +1 -1
- package/dist/{chunk-37QDUTV3.mjs → chunk-JXPOV3A4.mjs} +1 -1
- package/dist/{chunk-2IKC7MAP.mjs → chunk-KB6PO4K4.mjs} +1 -1
- package/dist/{chunk-Y2EZ27IZ.mjs → chunk-KIAZOHM4.mjs} +1 -1
- package/dist/{chunk-23BDC5JG.mjs → chunk-KIICLHKI.mjs} +1 -1
- package/dist/{chunk-D7A7EUEW.mjs → chunk-KQJLOUAU.mjs} +1 -1
- package/dist/{chunk-6KBH34LQ.mjs → chunk-KVA4UPK2.mjs} +1 -1
- package/dist/{chunk-S7I4XJS6.mjs → chunk-LLJZRF3C.mjs} +1 -1
- package/dist/{chunk-UUVM6BMY.mjs → chunk-MIWMERSR.mjs} +1 -1
- package/dist/{chunk-MLA2WBXX.mjs → chunk-OIIEDD56.mjs} +1 -1
- package/dist/{chunk-CIOQJPVO.mjs → chunk-OUF4RW7E.mjs} +1 -1
- package/dist/{chunk-PIM2JQYT.mjs → chunk-OUKKI47A.mjs} +1 -1
- package/dist/chunk-OXFWH45D.mjs +4 -0
- package/dist/{chunk-QMFZRG7O.mjs → chunk-PY53YVFX.mjs} +1 -1
- package/dist/{chunk-KERNAICH.mjs → chunk-S3GITHJW.mjs} +1 -1
- package/dist/{chunk-XHIPA45Q.mjs → chunk-S66RCEAN.mjs} +1 -1
- package/dist/{chunk-IO222G5L.mjs → chunk-SBAFXZVU.mjs} +1 -1
- package/dist/{chunk-D44ZXHH4.mjs → chunk-T4I5D4XZ.mjs} +1 -1
- package/dist/{chunk-5YMLNSFW.mjs → chunk-TT3GBHBO.mjs} +1 -1
- package/dist/{chunk-DWNVKANO.mjs → chunk-TV6WUXSN.mjs} +1 -1
- package/dist/{chunk-AOWDLX6I.mjs → chunk-UUQ4YJSJ.mjs} +1 -1
- package/dist/{chunk-AZDOLWBF.mjs → chunk-W5IV2HHX.mjs} +1 -1
- package/dist/{chunk-PN4MU2NX.mjs → chunk-WMVRW4SF.mjs} +1 -1
- package/dist/{chunk-4TCLIMFP.mjs → chunk-Z7P4QOKT.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/CollapsibleArea.d.ts +3 -0
- package/dist/components/Blocks/CollapsibleArea.js +4 -0
- package/dist/components/Blocks/CollapsibleArea.mjs +2 -0
- package/dist/components/Blocks/{CollapableArea.stories.js → CollapsibleArea.stories.js} +1 -1
- package/dist/components/Blocks/{CollapableArea.stories.mjs → CollapsibleArea.stories.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.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/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.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +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/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/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/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/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.mjs +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.js +1 -1
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +13 -12
- 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.mjs +1 -1
- 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.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-25HHS5PQ.mjs +0 -1
- package/dist/components/Blocks/CollapsableArea.d.ts +0 -3
- package/dist/components/Blocks/CollapsableArea.js +0 -4
- package/dist/components/Blocks/CollapsableArea.mjs +0 -1
- /package/dist/components/Blocks/{CollapableArea.stories.css → CollapsibleArea.css} +0 -0
- /package/dist/components/Blocks/{CollapsableArea.css → CollapsibleArea.stories.css} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var Tt=Object.create;var da=Object.defineProperty;var St=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var zt=Object.getPrototypeOf,Mt=Object.prototype.hasOwnProperty;var Ft=(a,t)=>{for(var o in t)da(a,o,{get:t[o],enumerable:!0})},Ha=(a,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of It(t))!Mt.call(a,r)&&r!==o&&da(a,r,{get:()=>t[r],enumerable:!(s=St(t,r))||s.enumerable});return a};var L=(a,t,o)=>(o=a!=null?Tt(zt(a)):{},Ha(t||!a||!a.__esModule?da(o,"default",{value:a,enumerable:!0}):o,a)),Et=a=>Ha(da({},"__esModule",{value:!0}),a);var wo={};Ft(wo,{Primary:()=>ko,default:()=>vo});module.exports=Et(wo);var Z=require("react");var ja=require("react/jsx-runtime"),va=({type:a="solid",iconName:t="cloud",size:o="lg",className:s})=>{let r=a.includes("fa-")?a+" ":"fa-"+a+" ",e="fa-"+t,n=s!=null?s:"",d=r+e+" fa-"+o+" "+n;return(0,ja.jsx)("i",{className:d})};var Ka=require("clsx");var Ca="-",Dt=a=>{let t=Gt(a),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=a;return{getClassGroupId:n=>{let d=n.split(Ca);return d[0]===""&&d.length!==1&&d.shift(),qa(d,t)||Lt(n)},getConflictingClassGroupIds:(n,d)=>{let i=o[n]||[];return d&&s[n]?[...i,...s[n]]:i}}},qa=(a,t)=>{var n;if(a.length===0)return t.classGroupId;let o=a[0],s=t.nextPart.get(o),r=s?qa(a.slice(1),s):void 0;if(r)return r;if(t.validators.length===0)return;let e=a.join(Ca);return(n=t.validators.find(({validator:d})=>d(e)))==null?void 0:n.classGroupId},Oa=/^\[(.+)\]$/,Lt=a=>{if(Oa.test(a)){let t=Oa.exec(a)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Gt=a=>{let{theme:t,prefix:o}=a,s={nextPart:new Map,validators:[]};return Ht(Object.entries(a.classGroups),o).forEach(([e,n])=>{wa(n,s,e,t)}),s},wa=(a,t,o,s)=>{a.forEach(r=>{if(typeof r=="string"){let e=r===""?t:Va(t,r);e.classGroupId=o;return}if(typeof r=="function"){if(Ut(r)){wa(r(s),t,o,s);return}t.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([e,n])=>{wa(n,Va(t,e),o,s)})})},Va=(a,t)=>{let o=a;return t.split(Ca).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},Ut=a=>a.isThemeGetter,Ht=(a,t)=>t?a.map(([o,s])=>{let r=s.map(e=>typeof e=="string"?t+e:typeof e=="object"?Object.fromEntries(Object.entries(e).map(([n,d])=>[t+n,d])):e);return[o,r]}):a,jt=a=>{if(a<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,s=new Map,r=(e,n)=>{o.set(e,n),t++,t>a&&(t=0,s=o,o=new Map)};return{get(e){let n=o.get(e);if(n!==void 0)return n;if((n=s.get(e))!==void 0)return r(e,n),n},set(e,n){o.has(e)?o.set(e,n):r(e,n)}}},Qa="!",Ot=a=>{let{separator:t,experimentalParseClassName:o}=a,s=t.length===1,r=t[0],e=t.length,n=d=>{let i=[],m=0,p=0,g;for(let y=0;y<d.length;y++){let h=d[y];if(m===0){if(h===r&&(s||d.slice(y,y+e)===t)){i.push(d.slice(p,y)),p=y+e;continue}if(h==="/"){g=y;continue}}h==="["?m++:h==="]"&&m--}let b=i.length===0?d:d.substring(p),w=b.startsWith(Qa),A=w?b.substring(1):b,c=g&&g>p?g-p:void 0;return{modifiers:i,hasImportantModifier:w,baseClassName:A,maybePostfixModifierPosition:c}};return o?d=>o({className:d,parseClassName:n}):n},Vt=a=>{if(a.length<=1)return a;let t=[],o=[];return a.forEach(s=>{s[0]==="["?(t.push(...o.sort(),s),o=[]):o.push(s)}),t.push(...o.sort()),t},qt=a=>({cache:jt(a.cacheSize),parseClassName:Ot(a),...Dt(a)}),Qt=/\s+/,Yt=(a,t)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:r}=t,e=[],n=a.trim().split(Qt),d="";for(let i=n.length-1;i>=0;i-=1){let m=n[i],{modifiers:p,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:w}=o(m),A=!!w,c=s(A?b.substring(0,w):b);if(!c){if(!A){d=m+(d.length>0?" "+d:d);continue}if(c=s(b),!c){d=m+(d.length>0?" "+d:d);continue}A=!1}let y=Vt(p).join(":"),h=g?y+Qa:y,B=h+c;if(e.includes(B))continue;e.push(B);let D=r(c,A);for(let I=0;I<D.length;++I){let sa=D[I];e.push(h+sa)}d=m+(d.length>0?" "+d:d)}return d};function Jt(){let a=0,t,o,s="";for(;a<arguments.length;)(t=arguments[a++])&&(o=Ya(t))&&(s&&(s+=" "),s+=o);return s}var Ya=a=>{if(typeof a=="string")return a;let t,o="";for(let s=0;s<a.length;s++)a[s]&&(t=Ya(a[s]))&&(o&&(o+=" "),o+=t);return o};function _t(a,...t){let o,s,r,e=n;function n(i){let m=t.reduce((p,g)=>g(p),a());return o=qt(m),s=o.cache.get,r=o.cache.set,e=d,d(i)}function d(i){let m=s(i);if(m)return m;let p=Yt(i,o);return r(i,p),p}return function(){return e(Jt.apply(null,arguments))}}var x=a=>{let t=o=>o[a]||[];return t.isThemeGetter=!0,t},Ja=/^\[(?:([a-z-]+):)?(.+)\]$/i,Xt=/^\d+\/\d+$/,Kt=new Set(["px","full","screen"]),Wt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zt=/\d+(%|px|r?em|[sdl]?ja([hwib]|min|max)|Z|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$t=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ao=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,to=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=a=>Y(a)||Kt.has(a)||Xt.test(a),G=a=>J(a,"length",co),Y=a=>!!a&&!Number.isNaN(Number(a)),ka=a=>J(a,"number",Y),aa=a=>!!a&&Number.isInteger(Number(a)),oo=a=>a.endsWith("%")&&Y(a.slice(0,-1)),u=a=>Ja.test(a),U=a=>Wt.test(a),eo=new Set(["length","size","percentage"]),so=a=>J(a,eo,_a),ro=a=>J(a,"position",_a),no=new Set(["image","url"]),io=a=>J(a,no,uo),lo=a=>J(a,"",mo),ta=()=>!0,J=(a,t,o)=>{let s=Ja.exec(a);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):o(s[2]):!1},co=a=>Zt.test(a)&&!$t.test(a),_a=()=>!1,mo=a=>ao.test(a),uo=a=>to.test(a);var po=()=>{let a=x("colors"),t=x("spacing"),o=x("blur"),s=x("brightness"),r=x("borderColor"),e=x("borderRadius"),n=x("borderSpacing"),d=x("borderWidth"),i=x("contrast"),m=x("grayscale"),p=x("hueRotate"),g=x("invert"),b=x("gap"),w=x("gradientColorStops"),A=x("gradientColorStopPositions"),c=x("inset"),y=x("margin"),h=x("opacity"),B=x("padding"),D=x("saturate"),I=x("scale"),sa=x("sepia"),Ma=x("skew"),Fa=x("space"),Ea=x("translate"),ga=()=>["auto","contain","none"],fa=()=>["auto","hidden","clip","visible","scroll"],ha=()=>["auto",u,t],k=()=>[u,t],Da=()=>["",M,G],ra=()=>["auto",Y,u],La=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],na=()=>["solid","dashed","dotted","double","none"],Ga=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xa=()=>["start","end","center","between","around","evenly","stretch"],$=()=>["","0",u],Ua=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[Y,u];return{cacheSize:500,separator:":",theme:{colors:[ta],spacing:[M,G],blur:["none","",U,u],brightness:z(),borderColor:[a],borderRadius:["none","","full",U,u],borderSpacing:k(),borderWidth:Da(),contrast:z(),grayscale:$(),hueRotate:z(),invert:$(),gap:k(),gradientColorStops:[a],gradientColorStopPositions:[oo,G],inset:ha(),margin:ha(),opacity:z(),padding:k(),saturate:z(),scale:z(),sepia:$(),skew:z(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":Ua()}],"break-before":[{"break-before":Ua()}],"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:[...La(),u]}],overflow:[{overflow:fa()}],"overflow-x":[{"overflow-x":fa()}],"overflow-y":[{"overflow-y":fa()}],overscroll:[{overscroll:ga()}],"overscroll-x":[{"overscroll-x":ga()}],"overscroll-y":[{"overscroll-y":ga()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[c]}],"inset-x":[{"inset-x":[c]}],"inset-y":[{"inset-y":[c]}],start:[{start:[c]}],end:[{end:[c]}],top:[{top:[c]}],right:[{right:[c]}],bottom:[{bottom:[c]}],left:[{left:[c]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",aa,u]}],basis:[{basis:ha()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:$()}],shrink:[{shrink:$()}],order:[{order:["first","last","none",aa,u]}],"grid-cols":[{"grid-cols":[ta]}],"col-start-end":[{col:["auto",{span:["full",aa,u]},u]}],"col-start":[{"col-start":ra()}],"col-end":[{"col-end":ra()}],"grid-rows":[{"grid-rows":[ta]}],"row-start-end":[{row:["auto",{span:[aa,u]},u]}],"row-start":[{"row-start":ra()}],"row-end":[{"row-end":ra()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...xa()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...xa(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...xa(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],Z:[{Z:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[Fa]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Fa]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-w":[{"min-w":[u,t,"min","max","fit"]}],"max-w":[{"max-w":[u,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ka]}],"font-family":[{font:[ta]}],"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",u]}],"line-clamp":[{"line-clamp":["none",Y,ka]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...na(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,G]}],"underline-offset":[{"underline-offset":["auto",M,u]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],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",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...La(),ro]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",so]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},io]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[e]}],"rounded-s":[{"rounded-s":[e]}],"rounded-e":[{"rounded-e":[e]}],"rounded-t":[{"rounded-t":[e]}],"rounded-r":[{"rounded-r":[e]}],"rounded-b":[{"rounded-b":[e]}],"rounded-l":[{"rounded-l":[e]}],"rounded-ss":[{"rounded-ss":[e]}],"rounded-se":[{"rounded-se":[e]}],"rounded-ee":[{"rounded-ee":[e]}],"rounded-es":[{"rounded-es":[e]}],"rounded-tl":[{"rounded-tl":[e]}],"rounded-tr":[{"rounded-tr":[e]}],"rounded-br":[{"rounded-br":[e]}],"rounded-bl":[{"rounded-bl":[e]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...na(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:na()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...na()]}],"outline-offset":[{"outline-offset":[M,u]}],"outline-w":[{outline:[M,G]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:Da()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[M,G]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",U,lo]}],"shadow-color":[{shadow:[ta]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...Ga(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ga()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",U,u]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[g]}],saturate:[{saturate:[D]}],sepia:[{sepia:[sa]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[D]}],"backdrop-sepia":[{"backdrop-sepia":[sa]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[aa,u]}],"translate-x":[{"translate-x":[Ea]}],"translate-y":[{"translate-y":[Ea]}],"skew-x":[{"skew-x":[Ma]}],"skew-y":[{"skew-y":[Ma]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",a]}],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",u]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-Z":[{"scroll-Z":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[M,G,ka]}],stroke:[{stroke:[a,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","Z","pr","pb","pl"],px:["pr","pl"],py:["Z","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-Z","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Z","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Xa=_t(po);function l(...a){return Xa((0,Ka.clsx)(a))}var Wa=({className:a,content:t,style:o})=>(0,ja.jsx)("div",{className:l("mx-auto my-8 w-full",a),children:(0,ja.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,ja.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});var Za=require("@radix-ui/react-slot"),$a=require("class-variance-authority"),at=L(require("react")),yo=(0,$a.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"}}}),V=at.forwardRef(({asChild:a=!1,className:t,size:o,variant:s,...r},e)=>(0,ja.jsx)(a?Za.Slot:"button",{className:l(yo({className:t,size:o,variant:s})),ref:e,...r}));V.displayName="Button";var Na=L(require("next/link")),q=a=>{let{type:t,appearance:o="inline",children:s,className:r,label:e,newTab:n,reference:d,size:i,url:m}=a,p=t==="reference"&&typeof(d==null?void 0:d.value)=="object"&&d.value.slug?`${(d==null?void 0:d.relationTo)!=="pages"?`/${d==null?void 0:d.relationTo}`:""}/${d.value.slug}`:m;if(!p)return null;let g=o==="link"?"clear":i,b=n?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,ja.jsxs)(Na.default,{className:l(r),href:p||m||"",...b,children:[e&&e,s&&s]}):(0,ja.jsx)(V,{asChild:!0,className:r,size:g,variant:o,children:(0,ja.jsxs)(Na.default,{className:l(r),href:p||m||"",...b,children:[e&&e,s&&s]})})};var _=({links:a,richText:t})=>(0,ja.jsx)("div",{className:"container",children:(0,ja.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,ja.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,ja.jsx)(R,{className:"mb-0",content:t,enableGutter:!1})}),(0,ja.jsx)("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:o},s)=>(0,ja.jsx)(q,{size:"lg",...o},s))})]})});var la=require("prism-react-renderer");var ot=require("lucide-react");function st({code:a}){let[t,o]=(0,Z.useState)("Copy");function s(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,ja.jsx)("div",{className:"flex justify-end align-middle",children:(0,ja.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(a),s()},children:[(0,ja.jsx)("p",{children:t}),(0,ja.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,ja.jsx)(ot.ClipboardCopy,{})})]})})}var rt=({code:a,language:t=""})=>a?(0,ja.jsx)(la.Highlight,{code:a,language:t,theme:la.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:r})=>(0,ja.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((e,n)=>(0,ja.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,ja.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,ja.jsx)("span",{className:"table-cell pl-4",children:e.map((d,i)=>(0,ja.jsx)("span",{...s({token:d})},i))})]},n)),(0,ja.jsx)(st,{code:a})]})}):null;var nt=({className:a,code:t,language:o})=>(0,ja.jsx)("div",{className:[a,"not-prose"].filter(Boolean).join(" "),children:(0,ja.jsx)(rt,{code:t,language:o})});var it=L(require("next/image")),bo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},dt="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=",lt=a=>{let{alt:t,fill:o,imgClassName:s,priority:r,resource:e,size:n,src:d,loading:i}=a,m,p,g=t,b=d||"";if(!b&&e&&typeof e=="object"){let{alt:c,filename:y,height:h,url:B,width:D}=e;if(h&&h>500){let I=500/h;m=D*I,p=h*I}else m=D,p=h;g=c||"",b=B||dt}let w=i||"lazy",A=n||Object.entries(bo).map(([,c])=>`(max-width: ${c}px) ${c*2}w`).join(", ");return(0,ja.jsx)("picture",{children:(0,ja.jsx)(it.default,{alt:g||"",className:l(s),fill:o,height:o?void 0:p,placeholder:"blur",blurDataURL:dt,priority:w!=="lazy"&&r,quality:100,loading:w,sizes:A,src:b,width:o?void 0:m})})};var ct=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var mt=()=>{if(ct){let a=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${a}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var ut=a=>{let{onClick:t,resource:o,videoClassName:s}=a,r=(0,Z.useRef)(null);if((0,Z.useEffect)(()=>{let{current:e}=r;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,ja.jsx)("video",{autoPlay:!0,className:l(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,ja.jsx)("source",{src:`${mt()}/media/${e}`})})}return null};var ua=a=>{var n;let{className:t,htmlElement:o="div",resource:s}=a,r=typeof s=="object"&&((n=s==null?void 0:s.mimeType)==null?void 0:n.includes("video"));return(0,ja.jsx)(o||Z.Fragment,{...o!==null?{className:t}:{},children:r?(0,ja.jsx)(ut,{...a}):(0,ja.jsx)(lt,{...a})})};var j=a=>{let{className:t,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=a;return(0,ja.jsx)("div",{className:l("h-full ",{container:o},t),children:(0,ja.jsx)(ua,{imgClassName:l("rounded-[0.8rem]",s),className:"flex justify-center",resource:r,src:e})})};var yt=a=>{let{className:t,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=a;return(0,ja.jsx)("div",{className:l("",{container:o},t),children:(0,ja.jsx)(ua,{imgClassName:l("rounded-[0.8rem]",s),resource:r,src:e})})};function bt(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function gt({variant:a="outline",className:t,icon:o,iconSize:s="large",width:r="auto",order:e=0,heading:n,subheading:d,content:i,statistic:m,buttonText:p,buttonHref:g}){let b={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:""},w={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,ja.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",b[a],a==="outline"?"text-gray-900":"text-white",t,w[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[(0,ja.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,ja.jsx)(go,{icon:o,heading:n,variant:a,iconSize:s})}),m&&(0,ja.jsx)("div",{className:"mb-6",children:(0,ja.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:m})}),d&&(0,ja.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:d}),i&&typeof i=="object"&&(0,ja.jsx)("div",{className:l("space-y-6"),children:(0,ja.jsx)(R,{enableGutter:!1,content:i,enableProse:!1,className:l(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),i&&typeof i=="string"&&(0,ja.jsx)("div",{className:l("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:i}),p&&(0,ja.jsx)("div",{className:"mt-auto Z-6 flex items-center justify-center",children:(0,ja.jsx)(V,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,ja.jsx)("a",{href:g,children:p})})}),a==="radial"&&(0,ja.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 go=({icon:a,heading:t,variant:o,iconSize:s})=>a&&s==="small"?(0,ja.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[bt(a)&&(0,ja.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:(0,ja.jsx)(va,{type:a.type,iconName:a.iconName,size:"2x"})}),(0,ja.jsx)("div",{className:l("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:t})]}):a?(0,ja.jsxs)("div",{className:"flex flex-col gap-4",children:[bt(a)&&(0,ja.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,ja.jsx)(va,{type:a.type,iconName:a.iconName,size:"4x"})}),(0,ja.jsx)("h3",{className:l("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,ja.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,ja.jsx)("div",{className:l("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var X=({title:a,description:t,features:o,id:s,nested:r=!1})=>(0,ja.jsxs)("section",{className:l(!r&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&(0,ja.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:a}),t&&typeof t=="string"&&(0,ja.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,ja.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,ja.jsx)(R,{content:t,enableGutter:!1})}),(0,ja.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,n)=>{var i,m,p,g,b;let d=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return(0,ja.jsx)(gt,{variant:((i=e.settings)==null?void 0:i.card)==="default"?"light":((m=e.settings)==null?void 0:m.card)||"outline",icon:d()||void 0,iconSize:((p=e.settings)==null?void 0:p.iconSize)||"large",width:"auto",order:n,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(g=e.link)!=null&&g.url?"Find out more":void 0,buttonHref:((b=e.link)==null?void 0:b.url)||void 0},n)})})]});var pa=L(require("react"));function ea({nodes:a}){return(0,ja.jsx)(pa.Fragment,{children:a==null?void 0:a.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let e=(0,ja.jsx)(pa.default.Fragment,{children:t.text},o);return t.format&1&&(e=(0,ja.jsx)("strong",{children:e},o)),t.format&2&&(e=(0,ja.jsx)("em",{children:e},o)),t.format&4&&(e=(0,ja.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),t.format&8&&(e=(0,ja.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),t.format&16&&(e=(0,ja.jsx)("code",{children:t.text},o)),t.format&32&&(e=(0,ja.jsx)("sub",{children:e},o)),t.format&64&&(e=(0,ja.jsx)("sup",{children:e},o)),e}if(t.type==="table")return(0,ja.jsx)("table",{children:(0,ja.jsx)("tbody",{children:t.children.map((e,n)=>(0,ja.jsx)("tr",{children:e.children.map((d,i)=>(0,ja.jsx)("td",{children:ea({nodes:d.children})},i))},n))})},o);let s=e=>{if(e.children==null)return null;if((e==null?void 0:e.type)==="list"&&(e==null?void 0:e.listType)==="check")for(let n of e.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return ea({nodes:e.children})},r="children"in t?s(t):"";if(t.type==="block"){let e=t.fields,n=e==null?void 0:e.blockType;if(!e||!n)return null;switch(n){case"cta":return(0,ja.jsx)(_,{...e},o);case"mediaBlock":return(0,ja.jsx)(j,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,ja.jsx)(yt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,ja.jsx)(Wa,{className:"col-start-2 mb-4",...e},o);case"code":return(0,ja.jsx)(nt,{className:"col-start-2",...e},o);case"features":return(0,ja.jsx)(X,{...e,nested:!0},o);case"reusableContentBlock":ea({nodes:e.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,ja.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,ja.jsx)("p",{className:"col-start-2",children:r},o);case"heading":{let e=t==null?void 0:t.tag;return(0,ja.jsx)(e,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:r},o)}case"list":{let e=t==null?void 0:t.tag;return(0,ja.jsx)(e,{className:"list col-start-2",children:r},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,ja.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},o):(0,ja.jsx)("li",{value:t==null?void 0:t.value,children:r},o);case"quote":return(0,ja.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let e=t.fields;return(0,ja.jsx)(q,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}case"autolink":{let e=t.fields;return(0,ja.jsx)(q,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}default:return null}})})}var R=({className:a,content:t,enableGutter:o=!0,enableProse:s=!0})=>{var r;return t?(0,ja.jsx)("div",{className:l({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},a),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ea({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};var ya=a=>{var d;let{columns:t,theme:o}=a,s={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},e=i=>{if(i.type&&i.type==="block"&&i.fields&&(i.fields.blockType==="imageBlock"||i.fields.blockType==="mediaBlock"))return!0;if(i.root&&i.root.children){for(let m of i.root.children)if(e(m))return!0}if(i.children){for(let m of i.children)if(e(m))return!0}return!1},n=(i,m,p)=>{if(m==="none"||p==="full")return{processedRichText:i,heading:null};let g=i,b=null;return i&&i.root&&i.root.children&&i.root.children[0].tag==="h2"&&(g={...i,root:{...i.root,children:i.root.children.slice(1)}},b=i.root.children[0]),{processedRichText:g,heading:b}};return(0,ja.jsx)("div",{className:"container my-6",children:(0,ja.jsx)("div",{className:l("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(d=o==null?void 0:o.settings)!=null&&d.box?"gap-x-8":"gap-x-16"),children:t&&t.length>0&&t.map((i,m)=>{var y,h;let{enableLink:p,link:g,richText:b,size:w}=i,{processedRichText:A,heading:c}=n(b,((y=o==null?void 0:o.settings)==null?void 0:y.box)||"none",w||"full");return(0,ja.jsxs)("div",{className:l(`col-span-4 lg:col-span-${s[w]}`,{"md:col-span-2":w!=="full"},r[w!=="full"&&!e(b)&&((h=o==null?void 0:o.settings)==null?void 0:h.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${m+1}00`),children:[c&&(0,ja.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:c.children[0].text}),A&&(0,ja.jsx)(R,{content:A,enableGutter:!1,className:"rich-text"}),p&&(0,ja.jsx)(q,{...g})]},m)})})})};var Nt=L(require("next/image"));var xt=a=>{let{customId:t,reusableContent:o}=a;return typeof o=="object"&&o!==null?(0,ja.jsx)(fo,{blocks:o.layout}):(0,ja.jsx)(ja.Fragment,{})},ht={content:ya,cta:_,mediaBlock:j,imageBlock:j,features:X},fo=a=>{let{blocks:t}=a;return t&&Array.isArray(t)&&t.length>0?(0,ja.jsx)(ja.Fragment,{children:t.map((s,r)=>{var d,i;let{blockType:e}=s,n=s==null?void 0:s.theme;if(e&&e in ht){let m=ht[e];if(m)return(0,ja.jsxs)("div",{className:"py-6 relative",children:[(0,ja.jsx)(Sa,{block:s,index:r}),(0,ja.jsx)("div",{className:l(((d=n==null?void 0:n.settings)==null?void 0:d.theme)==="dark"?"dark":((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="green"?"green":""),children:(0,ja.jsx)(m,{...s})})]},r)}return null})}):null};var vt=L(require("react")),K=L(require("@radix-ui/react-collapsible")),ba=require("@radix-ui/react-icons");var kt=({title:a,richText:t})=>{let[o,s]=vt.default.useState(!1);return console.log("title",a),console.log("richText",t),(0,ja.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,ja.jsxs)(K.Root,{className:l("w-full"),open:o,onOpenChange:s,children:[(0,ja.jsxs)(K.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,ja.jsx)("h2",{className:"text-lg font-medium",children:a}),o?(0,ja.jsx)(ba.ChevronUpIcon,{className:"h-6 w-6"}):(0,ja.jsx)(ba.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,ja.jsx)(K.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,ja.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,ja.jsx)(R,{content:t||{},enableGutter:!1})})})]})})};var wt={content:ya,cta:_,mediaBlock:j,collasableBlock:kt,imageBlock:j,features:X,reusableContentBlock:xt},Ia=a=>{let{blocks:t}=a;return t&&Array.isArray(t)&&t.length>0?(0,ja.jsx)("section",{id:"render-blocks",className:l(a.fill?"h-full w-full":""),children:t.map((s,r)=>{var d;console.log("block",s);let{blockType:e}=s,n=s==null?void 0:s.theme;if(e&&e in wt){let i=wt[e];if(e==="reusableContentBlock")return(0,ja.jsx)(Z.Fragment,{children:(0,ja.jsx)(Ia,{blocks:s.reusableContent.layout})},r);if(i)return(0,ja.jsxs)("div",{className:l("py-6 relative",a.fill&&"flex h-full items-center justify-center"),children:[(0,ja.jsx)(Sa,{block:s,index:r}),(0,ja.jsx)("div",{className:l("container h-full relative",((d=n==null?void 0:n.settings)==null?void 0:d.theme)||"dark"),children:(0,ja.jsx)(i,{...s})})]},r)}return null})}):null},Sa=a=>{var o,s,r,e,n;if(!("theme"in a.block))return(0,ja.jsx)("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let t=(o=a.block)==null?void 0:o.theme;if(t.settings.background==="image"){let d={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,ja.jsxs)("div",{className:l("absolute inset-0 w-full h-full bg-background",t.settings.theme||"dark"),children:[(0,ja.jsx)(Nt.default,{src:((r=(s=t.settings)==null?void 0:s.image)==null?void 0:r.url)||"/placeholder.svg",alt:((n=(e=t.settings)==null?void 0:e.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,ja.jsx)("div",{className:"absolute inset-0",style:{background:d.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,ja.jsx)("div",{className:l("absolute inset-0 w-screen h-full bg-background",t.settings.theme||"dark")})};var W=require("framer-motion");var Cs=require("pagedjs");var za=L(require("next/image")),At=({logoImage:a})=>(0,ja.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
4
|
+
"use strict";"use client";var Tt=Object.create;var da=Object.defineProperty;var St=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var zt=Object.getPrototypeOf,Mt=Object.prototype.hasOwnProperty;var Ft=(a,t)=>{for(var o in t)da(a,o,{get:t[o],enumerable:!0})},Ha=(a,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of It(t))!Mt.call(a,r)&&r!==o&&da(a,r,{get:()=>t[r],enumerable:!(s=St(t,r))||s.enumerable});return a};var L=(a,t,o)=>(o=a!=null?Tt(zt(a)):{},Ha(t||!a||!a.__esModule?da(o,"default",{value:a,enumerable:!0}):o,a)),Et=a=>Ha(da({},"__esModule",{value:!0}),a);var wo={};Ft(wo,{Primary:()=>ko,default:()=>vo});module.exports=Et(wo);var Z=require("react");var ja=require("react/jsx-runtime"),va=({type:a="solid",iconName:t="cloud",size:o="lg",className:s})=>{let r=a.includes("fa-")?a+" ":"fa-"+a+" ",e="fa-"+t,n=s!=null?s:"",d=r+e+" fa-"+o+" "+n;return(0,ja.jsx)("i",{className:d})};var Ka=require("clsx");var Ca="-",Dt=a=>{let t=Gt(a),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=a;return{getClassGroupId:n=>{let d=n.split(Ca);return d[0]===""&&d.length!==1&&d.shift(),qa(d,t)||Lt(n)},getConflictingClassGroupIds:(n,d)=>{let i=o[n]||[];return d&&s[n]?[...i,...s[n]]:i}}},qa=(a,t)=>{var n;if(a.length===0)return t.classGroupId;let o=a[0],s=t.nextPart.get(o),r=s?qa(a.slice(1),s):void 0;if(r)return r;if(t.validators.length===0)return;let e=a.join(Ca);return(n=t.validators.find(({validator:d})=>d(e)))==null?void 0:n.classGroupId},Oa=/^\[(.+)\]$/,Lt=a=>{if(Oa.test(a)){let t=Oa.exec(a)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Gt=a=>{let{theme:t,prefix:o}=a,s={nextPart:new Map,validators:[]};return Ht(Object.entries(a.classGroups),o).forEach(([e,n])=>{wa(n,s,e,t)}),s},wa=(a,t,o,s)=>{a.forEach(r=>{if(typeof r=="string"){let e=r===""?t:Va(t,r);e.classGroupId=o;return}if(typeof r=="function"){if(Ut(r)){wa(r(s),t,o,s);return}t.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([e,n])=>{wa(n,Va(t,e),o,s)})})},Va=(a,t)=>{let o=a;return t.split(Ca).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},Ut=a=>a.isThemeGetter,Ht=(a,t)=>t?a.map(([o,s])=>{let r=s.map(e=>typeof e=="string"?t+e:typeof e=="object"?Object.fromEntries(Object.entries(e).map(([n,d])=>[t+n,d])):e);return[o,r]}):a,jt=a=>{if(a<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,s=new Map,r=(e,n)=>{o.set(e,n),t++,t>a&&(t=0,s=o,o=new Map)};return{get(e){let n=o.get(e);if(n!==void 0)return n;if((n=s.get(e))!==void 0)return r(e,n),n},set(e,n){o.has(e)?o.set(e,n):r(e,n)}}},Qa="!",Ot=a=>{let{separator:t,experimentalParseClassName:o}=a,s=t.length===1,r=t[0],e=t.length,n=d=>{let i=[],m=0,p=0,g;for(let y=0;y<d.length;y++){let h=d[y];if(m===0){if(h===r&&(s||d.slice(y,y+e)===t)){i.push(d.slice(p,y)),p=y+e;continue}if(h==="/"){g=y;continue}}h==="["?m++:h==="]"&&m--}let b=i.length===0?d:d.substring(p),w=b.startsWith(Qa),A=w?b.substring(1):b,c=g&&g>p?g-p:void 0;return{modifiers:i,hasImportantModifier:w,baseClassName:A,maybePostfixModifierPosition:c}};return o?d=>o({className:d,parseClassName:n}):n},Vt=a=>{if(a.length<=1)return a;let t=[],o=[];return a.forEach(s=>{s[0]==="["?(t.push(...o.sort(),s),o=[]):o.push(s)}),t.push(...o.sort()),t},qt=a=>({cache:jt(a.cacheSize),parseClassName:Ot(a),...Dt(a)}),Qt=/\s+/,Yt=(a,t)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:r}=t,e=[],n=a.trim().split(Qt),d="";for(let i=n.length-1;i>=0;i-=1){let m=n[i],{modifiers:p,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:w}=o(m),A=!!w,c=s(A?b.substring(0,w):b);if(!c){if(!A){d=m+(d.length>0?" "+d:d);continue}if(c=s(b),!c){d=m+(d.length>0?" "+d:d);continue}A=!1}let y=Vt(p).join(":"),h=g?y+Qa:y,B=h+c;if(e.includes(B))continue;e.push(B);let D=r(c,A);for(let I=0;I<D.length;++I){let sa=D[I];e.push(h+sa)}d=m+(d.length>0?" "+d:d)}return d};function Jt(){let a=0,t,o,s="";for(;a<arguments.length;)(t=arguments[a++])&&(o=Ya(t))&&(s&&(s+=" "),s+=o);return s}var Ya=a=>{if(typeof a=="string")return a;let t,o="";for(let s=0;s<a.length;s++)a[s]&&(t=Ya(a[s]))&&(o&&(o+=" "),o+=t);return o};function _t(a,...t){let o,s,r,e=n;function n(i){let m=t.reduce((p,g)=>g(p),a());return o=qt(m),s=o.cache.get,r=o.cache.set,e=d,d(i)}function d(i){let m=s(i);if(m)return m;let p=Yt(i,o);return r(i,p),p}return function(){return e(Jt.apply(null,arguments))}}var x=a=>{let t=o=>o[a]||[];return t.isThemeGetter=!0,t},Ja=/^\[(?:([a-z-]+):)?(.+)\]$/i,Xt=/^\d+\/\d+$/,Kt=new Set(["px","full","screen"]),Wt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zt=/\d+(%|px|r?em|[sdl]?ja([hwib]|min|max)|Z|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$t=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ao=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,to=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=a=>Y(a)||Kt.has(a)||Xt.test(a),G=a=>J(a,"length",co),Y=a=>!!a&&!Number.isNaN(Number(a)),ka=a=>J(a,"number",Y),aa=a=>!!a&&Number.isInteger(Number(a)),oo=a=>a.endsWith("%")&&Y(a.slice(0,-1)),u=a=>Ja.test(a),U=a=>Wt.test(a),eo=new Set(["length","size","percentage"]),so=a=>J(a,eo,_a),ro=a=>J(a,"position",_a),no=new Set(["image","url"]),io=a=>J(a,no,uo),lo=a=>J(a,"",mo),ta=()=>!0,J=(a,t,o)=>{let s=Ja.exec(a);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):o(s[2]):!1},co=a=>Zt.test(a)&&!$t.test(a),_a=()=>!1,mo=a=>ao.test(a),uo=a=>to.test(a);var po=()=>{let a=x("colors"),t=x("spacing"),o=x("blur"),s=x("brightness"),r=x("borderColor"),e=x("borderRadius"),n=x("borderSpacing"),d=x("borderWidth"),i=x("contrast"),m=x("grayscale"),p=x("hueRotate"),g=x("invert"),b=x("gap"),w=x("gradientColorStops"),A=x("gradientColorStopPositions"),c=x("inset"),y=x("margin"),h=x("opacity"),B=x("padding"),D=x("saturate"),I=x("scale"),sa=x("sepia"),Ma=x("skew"),Fa=x("space"),Ea=x("translate"),ga=()=>["auto","contain","none"],fa=()=>["auto","hidden","clip","visible","scroll"],ha=()=>["auto",u,t],k=()=>[u,t],Da=()=>["",M,G],ra=()=>["auto",Y,u],La=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],na=()=>["solid","dashed","dotted","double","none"],Ga=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xa=()=>["start","end","center","between","around","evenly","stretch"],$=()=>["","0",u],Ua=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[Y,u];return{cacheSize:500,separator:":",theme:{colors:[ta],spacing:[M,G],blur:["none","",U,u],brightness:z(),borderColor:[a],borderRadius:["none","","full",U,u],borderSpacing:k(),borderWidth:Da(),contrast:z(),grayscale:$(),hueRotate:z(),invert:$(),gap:k(),gradientColorStops:[a],gradientColorStopPositions:[oo,G],inset:ha(),margin:ha(),opacity:z(),padding:k(),saturate:z(),scale:z(),sepia:$(),skew:z(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":Ua()}],"break-before":[{"break-before":Ua()}],"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:[...La(),u]}],overflow:[{overflow:fa()}],"overflow-x":[{"overflow-x":fa()}],"overflow-y":[{"overflow-y":fa()}],overscroll:[{overscroll:ga()}],"overscroll-x":[{"overscroll-x":ga()}],"overscroll-y":[{"overscroll-y":ga()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[c]}],"inset-x":[{"inset-x":[c]}],"inset-y":[{"inset-y":[c]}],start:[{start:[c]}],end:[{end:[c]}],top:[{top:[c]}],right:[{right:[c]}],bottom:[{bottom:[c]}],left:[{left:[c]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",aa,u]}],basis:[{basis:ha()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:$()}],shrink:[{shrink:$()}],order:[{order:["first","last","none",aa,u]}],"grid-cols":[{"grid-cols":[ta]}],"col-start-end":[{col:["auto",{span:["full",aa,u]},u]}],"col-start":[{"col-start":ra()}],"col-end":[{"col-end":ra()}],"grid-rows":[{"grid-rows":[ta]}],"row-start-end":[{row:["auto",{span:[aa,u]},u]}],"row-start":[{"row-start":ra()}],"row-end":[{"row-end":ra()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...xa()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...xa(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...xa(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],Z:[{Z:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[Fa]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Fa]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-w":[{"min-w":[u,t,"min","max","fit"]}],"max-w":[{"max-w":[u,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ka]}],"font-family":[{font:[ta]}],"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",u]}],"line-clamp":[{"line-clamp":["none",Y,ka]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...na(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,G]}],"underline-offset":[{"underline-offset":["auto",M,u]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],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",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...La(),ro]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",so]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},io]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[e]}],"rounded-s":[{"rounded-s":[e]}],"rounded-e":[{"rounded-e":[e]}],"rounded-t":[{"rounded-t":[e]}],"rounded-r":[{"rounded-r":[e]}],"rounded-b":[{"rounded-b":[e]}],"rounded-l":[{"rounded-l":[e]}],"rounded-ss":[{"rounded-ss":[e]}],"rounded-se":[{"rounded-se":[e]}],"rounded-ee":[{"rounded-ee":[e]}],"rounded-es":[{"rounded-es":[e]}],"rounded-tl":[{"rounded-tl":[e]}],"rounded-tr":[{"rounded-tr":[e]}],"rounded-br":[{"rounded-br":[e]}],"rounded-bl":[{"rounded-bl":[e]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...na(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:na()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...na()]}],"outline-offset":[{"outline-offset":[M,u]}],"outline-w":[{outline:[M,G]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:Da()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[M,G]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",U,lo]}],"shadow-color":[{shadow:[ta]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...Ga(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ga()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",U,u]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[g]}],saturate:[{saturate:[D]}],sepia:[{sepia:[sa]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[D]}],"backdrop-sepia":[{"backdrop-sepia":[sa]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[aa,u]}],"translate-x":[{"translate-x":[Ea]}],"translate-y":[{"translate-y":[Ea]}],"skew-x":[{"skew-x":[Ma]}],"skew-y":[{"skew-y":[Ma]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",a]}],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",u]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-Z":[{"scroll-Z":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[M,G,ka]}],stroke:[{stroke:[a,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","Z","pr","pb","pl"],px:["pr","pl"],py:["Z","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-Z","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Z","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Xa=_t(po);function l(...a){return Xa((0,Ka.clsx)(a))}var Wa=({className:a,content:t,style:o})=>(0,ja.jsx)("div",{className:l("mx-auto my-8 w-full",a),children:(0,ja.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,ja.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});var Za=require("@radix-ui/react-slot"),$a=require("class-variance-authority"),at=L(require("react")),yo=(0,$a.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"}}}),V=at.forwardRef(({asChild:a=!1,className:t,size:o,variant:s,...r},e)=>(0,ja.jsx)(a?Za.Slot:"button",{className:l(yo({className:t,size:o,variant:s})),ref:e,...r}));V.displayName="Button";var Na=L(require("next/link")),q=a=>{let{type:t,appearance:o="inline",children:s,className:r,label:e,newTab:n,reference:d,size:i,url:m}=a,p=t==="reference"&&typeof(d==null?void 0:d.value)=="object"&&d.value.slug?`${(d==null?void 0:d.relationTo)!=="pages"?`/${d==null?void 0:d.relationTo}`:""}/${d.value.slug}`:m;if(!p)return null;let g=o==="link"?"clear":i,b=n?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,ja.jsxs)(Na.default,{className:l(r),href:p||m||"",...b,children:[e&&e,s&&s]}):(0,ja.jsx)(V,{asChild:!0,className:r,size:g,variant:o,children:(0,ja.jsxs)(Na.default,{className:l(r),href:p||m||"",...b,children:[e&&e,s&&s]})})};var _=({links:a,richText:t})=>(0,ja.jsx)("div",{className:"container",children:(0,ja.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,ja.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,ja.jsx)(R,{className:"mb-0",content:t,enableGutter:!1})}),(0,ja.jsx)("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:o},s)=>(0,ja.jsx)(q,{size:"lg",...o},s))})]})});var la=require("prism-react-renderer");var ot=require("lucide-react");function st({code:a}){let[t,o]=(0,Z.useState)("Copy");function s(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,ja.jsx)("div",{className:"flex justify-end align-middle",children:(0,ja.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(a),s()},children:[(0,ja.jsx)("p",{children:t}),(0,ja.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,ja.jsx)(ot.ClipboardCopy,{})})]})})}var rt=({code:a,language:t=""})=>a?(0,ja.jsx)(la.Highlight,{code:a,language:t,theme:la.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:r})=>(0,ja.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((e,n)=>(0,ja.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,ja.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,ja.jsx)("span",{className:"table-cell pl-4",children:e.map((d,i)=>(0,ja.jsx)("span",{...s({token:d})},i))})]},n)),(0,ja.jsx)(st,{code:a})]})}):null;var nt=({className:a,code:t,language:o})=>(0,ja.jsx)("div",{className:[a,"not-prose"].filter(Boolean).join(" "),children:(0,ja.jsx)(rt,{code:t,language:o})});var it=L(require("next/image")),bo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},dt="data:image/png;base64,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",lt=a=>{let{alt:t,fill:o,imgClassName:s,priority:r,resource:e,size:n,src:d,loading:i}=a,m,p,g=t,b=d||"";if(!b&&e&&typeof e=="object"){let{alt:c,filename:y,height:h,url:B,width:D}=e;if(h&&h>500){let I=500/h;m=D*I,p=h*I}else m=D,p=h;g=c||"",b=B||dt}let w=i||"lazy",A=n||Object.entries(bo).map(([,c])=>`(max-width: ${c}px) ${c*2}w`).join(", ");return(0,ja.jsx)("picture",{children:(0,ja.jsx)(it.default,{alt:g||"",className:l(s),fill:o,height:o?void 0:p,placeholder:"blur",blurDataURL:dt,priority:w!=="lazy"&&r,quality:100,loading:w,sizes:A,src:b,width:o?void 0:m})})};var ct=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var mt=()=>{if(ct){let a=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${a}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var ut=a=>{let{onClick:t,resource:o,videoClassName:s}=a,r=(0,Z.useRef)(null);if((0,Z.useEffect)(()=>{let{current:e}=r;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,ja.jsx)("video",{autoPlay:!0,className:l(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,ja.jsx)("source",{src:`${mt()}/media/${e}`})})}return null};var ua=a=>{var n;let{className:t,htmlElement:o="div",resource:s}=a,r=typeof s=="object"&&((n=s==null?void 0:s.mimeType)==null?void 0:n.includes("video"));return(0,ja.jsx)(o||Z.Fragment,{...o!==null?{className:t}:{},children:r?(0,ja.jsx)(ut,{...a}):(0,ja.jsx)(lt,{...a})})};var j=a=>{let{className:t,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=a;return(0,ja.jsx)("div",{className:l("h-full ",{container:o},t),children:(0,ja.jsx)(ua,{imgClassName:l("rounded-[0.8rem]",s),className:"flex justify-center",resource:r,src:e})})};var yt=a=>{let{className:t,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=a;return(0,ja.jsx)("div",{className:l("",{container:o},t),children:(0,ja.jsx)(ua,{imgClassName:l("rounded-[0.8rem]",s),resource:r,src:e})})};function bt(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function gt({variant:a="outline",className:t,icon:o,iconSize:s="large",width:r="auto",order:e=0,heading:n,subheading:d,content:i,statistic:m,buttonText:p,buttonHref:g}){let b={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:""},w={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,ja.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",b[a],a==="outline"?"text-gray-900":"text-white",t,w[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[(0,ja.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,ja.jsx)(go,{icon:o,heading:n,variant:a,iconSize:s})}),m&&(0,ja.jsx)("div",{className:"mb-6",children:(0,ja.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:m})}),d&&(0,ja.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:d}),i&&typeof i=="object"&&(0,ja.jsx)("div",{className:l("space-y-6"),children:(0,ja.jsx)(R,{enableGutter:!1,content:i,enableProse:!1,className:l(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),i&&typeof i=="string"&&(0,ja.jsx)("div",{className:l("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:i}),p&&(0,ja.jsx)("div",{className:"mt-auto Z-6 flex items-center justify-center",children:(0,ja.jsx)(V,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,ja.jsx)("a",{href:g,children:p})})}),a==="radial"&&(0,ja.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 go=({icon:a,heading:t,variant:o,iconSize:s})=>a&&s==="small"?(0,ja.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[bt(a)&&(0,ja.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:(0,ja.jsx)(va,{type:a.type,iconName:a.iconName,size:"2x"})}),(0,ja.jsx)("div",{className:l("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:t})]}):a?(0,ja.jsxs)("div",{className:"flex flex-col gap-4",children:[bt(a)&&(0,ja.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,ja.jsx)(va,{type:a.type,iconName:a.iconName,size:"4x"})}),(0,ja.jsx)("h3",{className:l("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,ja.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,ja.jsx)("div",{className:l("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var X=({title:a,description:t,features:o,id:s,nested:r=!1})=>(0,ja.jsxs)("section",{className:l(!r&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&(0,ja.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:a}),t&&typeof t=="string"&&(0,ja.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,ja.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,ja.jsx)(R,{content:t,enableGutter:!1})}),(0,ja.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,n)=>{var i,m,p,g,b;let d=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return(0,ja.jsx)(gt,{variant:((i=e.settings)==null?void 0:i.card)==="default"?"light":((m=e.settings)==null?void 0:m.card)||"outline",icon:d()||void 0,iconSize:((p=e.settings)==null?void 0:p.iconSize)||"large",width:"auto",order:n,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(g=e.link)!=null&&g.url?"Find out more":void 0,buttonHref:((b=e.link)==null?void 0:b.url)||void 0},n)})})]});var pa=L(require("react"));function ea({nodes:a}){return(0,ja.jsx)(pa.Fragment,{children:a==null?void 0:a.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let e=(0,ja.jsx)(pa.default.Fragment,{children:t.text},o);return t.format&1&&(e=(0,ja.jsx)("strong",{children:e},o)),t.format&2&&(e=(0,ja.jsx)("em",{children:e},o)),t.format&4&&(e=(0,ja.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),t.format&8&&(e=(0,ja.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),t.format&16&&(e=(0,ja.jsx)("code",{children:t.text},o)),t.format&32&&(e=(0,ja.jsx)("sub",{children:e},o)),t.format&64&&(e=(0,ja.jsx)("sup",{children:e},o)),e}if(t.type==="table")return(0,ja.jsx)("table",{children:(0,ja.jsx)("tbody",{children:t.children.map((e,n)=>(0,ja.jsx)("tr",{children:e.children.map((d,i)=>(0,ja.jsx)("td",{children:ea({nodes:d.children})},i))},n))})},o);let s=e=>{if(e.children==null)return null;if((e==null?void 0:e.type)==="list"&&(e==null?void 0:e.listType)==="check")for(let n of e.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return ea({nodes:e.children})},r="children"in t?s(t):"";if(t.type==="block"){let e=t.fields,n=e==null?void 0:e.blockType;if(!e||!n)return null;switch(n){case"cta":return(0,ja.jsx)(_,{...e},o);case"mediaBlock":return(0,ja.jsx)(j,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,ja.jsx)(yt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,ja.jsx)(Wa,{className:"col-start-2 mb-4",...e},o);case"code":return(0,ja.jsx)(nt,{className:"col-start-2",...e},o);case"features":return(0,ja.jsx)(X,{...e,nested:!0},o);case"reusableContentBlock":ea({nodes:e.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,ja.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,ja.jsx)("p",{className:"col-start-2",children:r},o);case"heading":{let e=t==null?void 0:t.tag;return(0,ja.jsx)(e,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:r},o)}case"list":{let e=t==null?void 0:t.tag;return(0,ja.jsx)(e,{className:"list col-start-2",children:r},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,ja.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},o):(0,ja.jsx)("li",{value:t==null?void 0:t.value,children:r},o);case"quote":return(0,ja.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let e=t.fields;return(0,ja.jsx)(q,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}case"autolink":{let e=t.fields;return(0,ja.jsx)(q,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}default:return null}})})}var R=({className:a,content:t,enableGutter:o=!0,enableProse:s=!0})=>{var r;return t?(0,ja.jsx)("div",{className:l({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},a),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ea({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};var ya=a=>{var d;let{columns:t,theme:o}=a,s={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},e=i=>{if(i.type&&i.type==="block"&&i.fields&&(i.fields.blockType==="imageBlock"||i.fields.blockType==="mediaBlock"))return!0;if(i.root&&i.root.children){for(let m of i.root.children)if(e(m))return!0}if(i.children){for(let m of i.children)if(e(m))return!0}return!1},n=(i,m,p)=>{if(m==="none"||p==="full")return{processedRichText:i,heading:null};let g=i,b=null;return i&&i.root&&i.root.children&&i.root.children[0].tag==="h2"&&(g={...i,root:{...i.root,children:i.root.children.slice(1)}},b=i.root.children[0]),{processedRichText:g,heading:b}};return(0,ja.jsx)("div",{className:"container my-6",children:(0,ja.jsx)("div",{className:l("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(d=o==null?void 0:o.settings)!=null&&d.box?"gap-x-8":"gap-x-16"),children:t&&t.length>0&&t.map((i,m)=>{var y,h;let{enableLink:p,link:g,richText:b,size:w}=i,{processedRichText:A,heading:c}=n(b,((y=o==null?void 0:o.settings)==null?void 0:y.box)||"none",w||"full");return(0,ja.jsxs)("div",{className:l(`col-span-4 lg:col-span-${s[w]}`,{"md:col-span-2":w!=="full"},r[w!=="full"&&!e(b)&&((h=o==null?void 0:o.settings)==null?void 0:h.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${m+1}00`),children:[c&&(0,ja.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:c.children[0].text}),A&&(0,ja.jsx)(R,{content:A,enableGutter:!1,className:"rich-text"}),p&&(0,ja.jsx)(q,{...g})]},m)})})})};var Nt=L(require("next/image"));var xt=a=>{let{customId:t,reusableContent:o}=a;return typeof o=="object"&&o!==null?(0,ja.jsx)(fo,{blocks:o.layout}):(0,ja.jsx)(ja.Fragment,{})},ht={content:ya,cta:_,mediaBlock:j,imageBlock:j,features:X},fo=a=>{let{blocks:t}=a;return t&&Array.isArray(t)&&t.length>0?(0,ja.jsx)(ja.Fragment,{children:t.map((s,r)=>{var d,i;let{blockType:e}=s,n=s==null?void 0:s.theme;if(e&&e in ht){let m=ht[e];if(m)return(0,ja.jsxs)("div",{className:"py-6 relative",children:[(0,ja.jsx)(Sa,{block:s,index:r}),(0,ja.jsx)("div",{className:l(((d=n==null?void 0:n.settings)==null?void 0:d.theme)==="dark"?"dark":((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="green"?"green":""),children:(0,ja.jsx)(m,{...s})})]},r)}return null})}):null};var vt=L(require("react")),K=L(require("@radix-ui/react-collapsible")),ba=require("@radix-ui/react-icons");var kt=({title:a,richText:t})=>{let[o,s]=vt.default.useState(!1);return(0,ja.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,ja.jsxs)(K.Root,{className:l("w-full"),open:o,onOpenChange:s,children:[(0,ja.jsxs)(K.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,ja.jsx)("h2",{className:"text-lg font-medium",children:a}),o?(0,ja.jsx)(ba.ChevronUpIcon,{className:"h-6 w-6"}):(0,ja.jsx)(ba.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,ja.jsx)(K.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,ja.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,ja.jsx)(R,{content:t||{},enableGutter:!1})})})]})})};var wt={content:ya,cta:_,mediaBlock:j,collapsibleArea:kt,imageBlock:j,features:X,reusableContentBlock:xt},Ia=a=>{let{blocks:t}=a;return t&&Array.isArray(t)&&t.length>0?(0,ja.jsx)("section",{id:"render-blocks",className:l(a.fill?"h-full w-full":""),children:t.map((s,r)=>{var d;console.log("block",s);let{blockType:e}=s,n=s==null?void 0:s.theme;if(e&&e in wt){let i=wt[e];if(e==="reusableContentBlock")return(0,ja.jsx)(Z.Fragment,{children:(0,ja.jsx)(Ia,{blocks:s.reusableContent.layout})},r);if(i)return(0,ja.jsxs)("div",{className:l("py-6 relative",a.fill&&"flex h-full items-center justify-center"),children:[(0,ja.jsx)(Sa,{block:s,index:r}),(0,ja.jsx)("div",{className:l("container h-full relative",((d=n==null?void 0:n.settings)==null?void 0:d.theme)||"dark"),children:(0,ja.jsx)(i,{...s})})]},r)}return null})}):null},Sa=a=>{var o,s,r,e,n;if(!("theme"in a.block))return(0,ja.jsx)("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let t=(o=a.block)==null?void 0:o.theme;if(t.settings.background==="image"){let d={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,ja.jsxs)("div",{className:l("absolute inset-0 w-full h-full bg-background",t.settings.theme||"dark"),children:[(0,ja.jsx)(Nt.default,{src:((r=(s=t.settings)==null?void 0:s.image)==null?void 0:r.url)||"/placeholder.svg",alt:((n=(e=t.settings)==null?void 0:e.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,ja.jsx)("div",{className:"absolute inset-0",style:{background:d.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,ja.jsx)("div",{className:l("absolute inset-0 w-screen h-full bg-background",t.settings.theme||"dark")})};var W=require("framer-motion");var Cs=require("pagedjs");var za=L(require("next/image")),At=({logoImage:a})=>(0,ja.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
5
5
|
dark bg-background text-primary`,children:[(0,ja.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[a&&(0,ja.jsx)("img",{src:a.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,ja.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,ja.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),Bt=({title:a})=>(0,ja.jsx)("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,ja.jsx)("div",{className:"container",children:(0,ja.jsx)("span",{className:"container text-4xl px-6",children:a})})}),Rt=a=>{var r,e;let{title:t,hero:o,logoImage:s}=a;return(0,ja.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,ja.jsx)("div",{className:"absolute inset-0",children:(0,ja.jsx)(za.default,{src:o.media&&o.media.url?o.media.url:"/hero.png",alt:"Background",width:o.media&&o.media.width&&(r=o.media.width)!=null?r:1920,height:o.media&&o.media.height&&(e=o.media.height)!=null?e:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,ja.jsx)("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:s&&(0,ja.jsx)("div",{className:"h-24",children:(0,ja.jsx)(za.default,{src:s.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,ja.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,ja.jsxs)("div",{className:"relative pl-24 z-10 max-w-3xl",children:[(0,ja.jsx)("p",{className:"text-lg font-medium Z-48 text-accent mb-2",children:t}),o.richText&&(0,ja.jsx)(R,{content:o.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var Pt=a=>{let[t,o]=(0,Z.useState)(0),{blocks:s,hero:r,logoImage:e}=a,n=s&&Array.isArray(s)&&s.length>0,i=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...s],m=c=>{o(c)},p=()=>{o(c=>(c+1)%i.length)},g=()=>{o(c=>(c-1+i.length)%i.length)},w=(0,Z.useCallback)(((c,y)=>{let h;return(...B)=>{clearTimeout(h),h=setTimeout(()=>c(...B),y)}})(c=>{c.deltaY>0?p():g()},300),[]),A=c=>{c.key==="ArrowDown"?p():c.key==="ArrowUp"&&g()};return(0,Z.useEffect)(()=>(window.addEventListener("wheel",w),window.addEventListener("keydown",A),()=>{window.removeEventListener("wheel",w),window.removeEventListener("keydown",A)}),[]),(0,ja.jsxs)("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[(0,ja.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:n&&i.map((c,y)=>(0,ja.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${t===y?"bg-accent":"bg-gray-600"}`,onClick:()=>m(y),children:(0,ja.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:c.blockName})},c.id))}),(0,ja.jsx)(W.AnimatePresence,{children:i.map((c,y)=>(0,ja.jsx)("div",{id:`slide-${y}`,className:"print-section",children:(0,ja.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
6
6
|
${y===t?"opacity-100":"opacity-0"}
|
|
7
7
|
w-full h-full bg-cover bg-center`,children:y===0?(0,ja.jsx)(Rt,{hero:r,title:a.title,logoImage:e}):(0,ja.jsxs)(ja.Fragment,{children:[c.blockName&&(0,ja.jsx)(Bt,{title:c.blockName}),(0,ja.jsx)(Ia,{blocks:[c],fill:!0}),(0,ja.jsx)(At,{logoImage:e})]})})},y))}),(0,ja.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:p,children:(0,ja.jsx)(ho,{})})]})},ho=()=>(0,ja.jsx)(W.AnimatePresence,{children:(0,ja.jsx)(W.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,ja.jsx)(W.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});var xo={title:"Layouts/SlideShow",component:Pt,tags:["autodocs"],argTypes:{}},vo=xo,ko={args:{sections:[{id:"section1",title:"Section 1",color:"bg-red-500"},{id:"section2",title:"Section 2",color:"bg-blue-500"},{id:"section3",title:"Section 3",color:"bg-green-500"},{id:"section4",title:"Section 4",color:"bg-yellow-500"}]}};0&&(module.exports={Primary});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use client";import{a as o}from"../../chunk-
|
|
4
|
+
"use client";import{a as o}from"../../chunk-IJT4XHN7.mjs";import"../../chunk-EML6AVUM.mjs";import"../../chunk-6YV7RK6Q.mjs";import"../../chunk-NRL4U42W.mjs";import"../../chunk-ZIWHUQ4D.mjs";import"../../chunk-AUBKJ4XO.mjs";import"../../chunk-6LKCK2EH.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-BXIDYE67.mjs";import"../../chunk-MGS3DQ22.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-UZ2XYB7D.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-26K34DNO.mjs";import"../../chunk-FYVORNBL.mjs";import"../../chunk-OXFWH45D.mjs";import"../../chunk-OIIEDD56.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.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-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.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-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";var t={title:"Layouts/SlideShow",component:o,tags:["autodocs"],argTypes:{}},i=t,r={args:{sections:[{id:"section1",title:"Section 1",color:"bg-red-500"},{id:"section2",title:"Section 2",color:"bg-blue-500"},{id:"section3",title:"Section 3",color:"bg-green-500"},{id:"section4",title:"Section 4",color:"bg-yellow-500"}]}};export{r as Primary,i as default};
|