cortex-react-components 1.51.4 → 1.51.5
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-N6PIPF2S.mjs → chunk-2FDK3K3W.mjs} +1 -1
- package/dist/chunk-4QEWBUVW.mjs +2 -0
- package/dist/{chunk-JH5QRN2H.mjs → chunk-ANBHH4VA.mjs} +1 -1
- package/dist/{chunk-5YTZGM3C.mjs → chunk-AOM6WKTN.mjs} +1 -1
- package/dist/{chunk-2IKC7MAP.mjs → chunk-KB6PO4K4.mjs} +1 -1
- package/dist/{chunk-23BDC5JG.mjs → chunk-KIICLHKI.mjs} +1 -1
- package/dist/{chunk-FEBBHXAP.mjs → chunk-KZR5SK2K.mjs} +1 -1
- package/dist/chunk-P2XZI7A4.mjs +6 -0
- package/dist/{chunk-QMFZRG7O.mjs → chunk-PY53YVFX.mjs} +1 -1
- package/dist/{chunk-SLJD7B75.mjs → chunk-QHA556PO.mjs} +2 -2
- package/dist/{chunk-VW3DZPRR.mjs → chunk-RJFBQZFX.mjs} +1 -1
- package/dist/{chunk-IO222G5L.mjs → chunk-SBAFXZVU.mjs} +1 -1
- package/dist/{chunk-22FHCZJD.mjs → chunk-SPOYKTBR.mjs} +1 -1
- package/dist/{chunk-DIPGFDJV.mjs → chunk-VLUAFB54.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/CaseStudy.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.stories.mjs +1 -1
- package/dist/components/Blocks/Code.client.mjs +1 -1
- package/dist/components/Blocks/Code.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.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/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealCard.stories.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/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.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/CustomerCard.mjs +1 -1
- package/dist/components/Cards/CustomerCard.stories.mjs +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/EventCard.stories.mjs +1 -1
- package/dist/components/Cards/HeroCard.mjs +1 -1
- package/dist/components/Cards/HeroCard.stories.mjs +1 -1
- package/dist/components/Cards/Image.mjs +1 -1
- package/dist/components/Cards/Image.stories.mjs +1 -1
- package/dist/components/Cards/PricingCard.mjs +1 -1
- package/dist/components/Cards/PricingCard.stories.mjs +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.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/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.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/ApproveLeave.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.stories.mjs +1 -1
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/CalendarView.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
- 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 +4 -8
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +4 -8
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +7 -11
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.mjs +1 -1
- package/dist/components/Menus/Filter.mjs +1 -1
- package/dist/components/Menus/Filter.stories.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.stories.mjs +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/RelatedContent.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/Container.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/Link/index.mjs +1 -1
- package/dist/components/Payload/Pagination/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 +10 -14
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/alert.mjs +1 -1
- package/dist/components/ui/alert.stories.mjs +1 -1
- package/dist/components/ui/avatar.mjs +1 -1
- package/dist/components/ui/avatar.stories.mjs +1 -1
- package/dist/components/ui/badge.mjs +1 -1
- package/dist/components/ui/badge.stories.mjs +1 -1
- package/dist/components/ui/breadcrumb.mjs +1 -1
- package/dist/components/ui/breadcrumb.stories.mjs +1 -1
- package/dist/components/ui/button.mjs +1 -1
- package/dist/components/ui/button.stories.mjs +1 -1
- package/dist/components/ui/calendar.mjs +1 -1
- package/dist/components/ui/card.mjs +1 -1
- package/dist/components/ui/card.stories.mjs +1 -1
- package/dist/components/ui/checkbox.mjs +1 -1
- package/dist/components/ui/command.mjs +1 -1
- package/dist/components/ui/command.stories.mjs +1 -1
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/dialog.stories.mjs +1 -1
- package/dist/components/ui/dropdown-menu.mjs +1 -1
- package/dist/components/ui/dropdown-menu.stories.mjs +1 -1
- package/dist/components/ui/hover-card.mjs +1 -1
- package/dist/components/ui/hover-card.stories.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/input.mjs +1 -1
- package/dist/components/ui/input.stories.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
- package/dist/components/ui/inputs/text-input/index.mjs +1 -1
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
- package/dist/components/ui/label.mjs +1 -1
- package/dist/components/ui/label.stories.mjs +1 -1
- package/dist/components/ui/pagination.mjs +1 -1
- package/dist/components/ui/popover.mjs +1 -1
- package/dist/components/ui/popover.stories.mjs +1 -1
- package/dist/components/ui/scroll-area.mjs +1 -1
- package/dist/components/ui/scroll-area.stories.mjs +1 -1
- package/dist/components/ui/select.mjs +1 -1
- package/dist/components/ui/separator.mjs +1 -1
- package/dist/components/ui/separator.stories.mjs +1 -1
- package/dist/components/ui/sheet.mjs +1 -1
- package/dist/components/ui/sheet.stories.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/components/ui/skeleton.mjs +1 -1
- package/dist/components/ui/skeleton.stories.mjs +1 -1
- package/dist/components/ui/textarea.mjs +1 -1
- package/dist/components/ui/toast.mjs +1 -1
- package/dist/components/ui/toast.stories.mjs +1 -1
- package/dist/components/ui/toaster.mjs +1 -1
- package/dist/components/ui/toggle-group.mjs +1 -1
- package/dist/components/ui/toggle.mjs +1 -1
- package/dist/components/ui/toggle.stories.mjs +1 -1
- package/dist/components/ui/tooltip.mjs +1 -1
- package/dist/components/ui/tooltip.stories.mjs +1 -1
- package/dist/images/hero/hero-3.mjs +1 -1
- package/dist/index.js +9 -9
- 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 +5 -9
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +5 -9
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +5 -9
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/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.mjs +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/styles/Colors.mjs +1 -1
- package/dist/styles/Colors.stories.mjs +1 -1
- package/dist/utils/AOSInit.mjs +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-COURVNHG.mjs +0 -2
- package/dist/chunk-LBOKY4QT.mjs +0 -6
- package/dist/chunk-X6QN5C6U.mjs +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-P2XZI7A4.mjs";import"../../chunk-4QEWBUVW.mjs";import"../../chunk-AUBKJ4XO.mjs";import"../../chunk-6YV7RK6Q.mjs";import"../../chunk-NRL4U42W.mjs";import"../../chunk-ZIWHUQ4D.mjs";import"../../chunk-6LKCK2EH.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-R2WQNVEX.mjs";import"../../chunk-MGS3DQ22.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-UZ2XYB7D.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-HPMMYTRI.mjs";import"../../chunk-3AA3AMNV.mjs";import"../../chunk-FBEB6K6X.mjs";import"../../chunk-H7D3PZKE.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-L7YJN6PG.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as SlideShow};
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var Lt=Object.create;var Ta=Object.defineProperty;var Ut=Object.getOwnPropertyDescriptor;var Wt=Object.getOwnPropertyNames;var Ht=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Yt=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports),Vt=(t,a)=>{for(var o in a)Ta(t,o,{get:a[o],enumerable:!0})},Ka=(t,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of Wt(a))!Jt.call(t,n)&&n!==o&&Ta(t,n,{get:()=>a[n],enumerable:!(s=Ut(a,n))||s.enumerable});return t};var fa=(t,a,o)=>(o=t!=null?Lt(Ht(t)):{},Ka(a||!t||!t.__esModule?Ta(o,"default",{value:t,enumerable:!0}):o,t)),Qt=t=>Ka(Ta({},"__esModule",{value:!0}),t);var lt=Yt((Pa,Ua)=>{"use strict";(function(t,a){typeof Pa=="object"&&typeof Ua=="object"?Ua.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Pa=="object"?Pa.AOS=a():t.AOS=a()})(Pa,function(){return function(t){function a(s){if(o[s])return o[s].exports;var n=o[s]={exports:{},id:s,loaded:!1};return t[s].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}var o={};return a.m=t,a.c=o,a.p="dist/",a(0)}([function(t,a,o){"use strict";function s(u){return u&&u.__esModule?u:{default:u}}var n=Object.assign||function(u){for(var j=1;j<arguments.length;j++){var D=arguments[j];for(var V in D)Object.prototype.hasOwnProperty.call(D,V)&&(u[V]=D[V])}return u},e=o(1),i=(s(e),o(6)),r=s(i),d=o(7),l=s(d),c=o(8),p=s(c),y=o(9),x=s(y),b=o(10),h=s(b),w=o(11),C=s(w),E=o(14),G=s(E),R=[],J=!1,B={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},_=function(){var u=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(u&&(J=!0),J)return R=(0,C.default)(R,B),(0,h.default)(R,B.once),R},Y=function(){R=(0,G.default)(),_()},f=function(){R.forEach(function(u,j){u.node.removeAttribute("data-aos"),u.node.removeAttribute("data-aos-easing"),u.node.removeAttribute("data-aos-duration"),u.node.removeAttribute("data-aos-delay")})},m=function(u){return u===!0||u==="mobile"&&x.default.mobile()||u==="phone"&&x.default.phone()||u==="tablet"&&x.default.tablet()||typeof u=="function"&&u()===!0},k=function(u){B=n(B,u),R=(0,G.default)();var j=document.all&&!window.atob;return m(B.disable)||j?f():(B.disableMutationObserver||p.default.isSupported()||(console.info(`
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
`),B.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",B.easing),document.querySelector("body").setAttribute("data-aos-duration",B.duration),document.querySelector("body").setAttribute("data-aos-delay",B.delay),B.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?_(!0):B.startEvent==="load"?window.addEventListener(B.startEvent,function(){_(!0)}):document.addEventListener(B.startEvent,function(){_(!0)}),window.addEventListener("resize",(0,l.default)(_,B.debounceDelay,!0)),window.addEventListener("orientationchange",(0,l.default)(_,B.debounceDelay,!0)),window.addEventListener("scroll",(0,r.default)(function(){(0,h.default)(R,B.once)},B.throttleDelay)),B.disableMutationObserver||p.default.ready("[data-aos]",Y),R)};t.exports={init:k,refresh:_,refreshHard:Y}},function(t,a){},,,,,function(t,a){(function(o){"use strict";function s(m,k,u){function j(A){var q=W,la=Z;return W=Z=void 0,ia=A,O=m.apply(la,q)}function D(A){return ia=A,F=setTimeout(X,k),da?j(A):O}function V(A){var q=A-L,la=A-ia,Za=k-q;return aa?Y(Za,K-la):Za}function U(A){var q=A-L,la=A-ia;return L===void 0||q>=k||q<0||aa&&la>=K}function X(){var A=f();return U(A)?ra(A):void(F=setTimeout(X,V(A)))}function ra(A){return F=void 0,T&&W?j(A):(W=Z=void 0,O)}function $(){F!==void 0&&clearTimeout(F),ia=0,W=L=Z=F=void 0}function na(){return F===void 0?O:ra(f())}function I(){var A=f(),q=U(A);if(W=arguments,Z=this,L=A,q){if(F===void 0)return D(L);if(aa)return F=setTimeout(X,k),j(L)}return F===void 0&&(F=setTimeout(X,k)),O}var W,Z,K,O,F,L,ia=0,da=!1,aa=!1,T=!0;if(typeof m!="function")throw new TypeError(c);return k=d(k)||0,e(u)&&(da=!!u.leading,aa="maxWait"in u,K=aa?_(d(u.maxWait)||0,k):K,T="trailing"in u?!!u.trailing:T),I.cancel=$,I.flush=na,I}function n(m,k,u){var j=!0,D=!0;if(typeof m!="function")throw new TypeError(c);return e(u)&&(j="leading"in u?!!u.leading:j,D="trailing"in u?!!u.trailing:D),s(m,k,{leading:j,maxWait:k,trailing:D})}function e(m){var k=typeof m=="undefined"?"undefined":l(m);return!!m&&(k=="object"||k=="function")}function i(m){return!!m&&(typeof m=="undefined"?"undefined":l(m))=="object"}function r(m){return(typeof m=="undefined"?"undefined":l(m))=="symbol"||i(m)&&B.call(m)==y}function d(m){if(typeof m=="number")return m;if(r(m))return p;if(e(m)){var k=typeof m.valueOf=="function"?m.valueOf():m;m=e(k)?k+"":k}if(typeof m!="string")return m===0?m:+m;m=m.replace(x,"");var u=h.test(m);return u||w.test(m)?C(m.slice(2),u?2:8):b.test(m)?p:+m}var l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},c="Expected a function",p=NaN,y="[object Symbol]",x=/^\s+|\s+$/g,b=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,w=/^0o[0-7]+$/i,C=parseInt,E=(typeof o=="undefined"?"undefined":l(o))=="object"&&o&&o.Object===Object&&o,G=(typeof self=="undefined"?"undefined":l(self))=="object"&&self&&self.Object===Object&&self,R=E||G||Function("return this")(),J=Object.prototype,B=J.toString,_=Math.max,Y=Math.min,f=function(){return R.Date.now()};t.exports=n}).call(a,function(){return this}())},function(t,a){(function(o){"use strict";function s(f,m,k){function u(T){var A=I,q=W;return I=W=void 0,L=T,K=f.apply(q,A)}function j(T){return L=T,O=setTimeout(U,m),ia?u(T):K}function D(T){var A=T-F,q=T-L,la=m-A;return da?_(la,Z-q):la}function V(T){var A=T-F,q=T-L;return F===void 0||A>=m||A<0||da&&q>=Z}function U(){var T=Y();return V(T)?X(T):void(O=setTimeout(U,D(T)))}function X(T){return O=void 0,aa&&I?u(T):(I=W=void 0,K)}function ra(){O!==void 0&&clearTimeout(O),L=0,I=F=W=O=void 0}function $(){return O===void 0?K:X(Y())}function na(){var T=Y(),A=V(T);if(I=arguments,W=this,F=T,A){if(O===void 0)return j(F);if(da)return O=setTimeout(U,m),u(F)}return O===void 0&&(O=setTimeout(U,m)),K}var I,W,Z,K,O,F,L=0,ia=!1,da=!1,aa=!0;if(typeof f!="function")throw new TypeError(l);return m=r(m)||0,n(k)&&(ia=!!k.leading,da="maxWait"in k,Z=da?B(r(k.maxWait)||0,m):Z,aa="trailing"in k?!!k.trailing:aa),na.cancel=ra,na.flush=$,na}function n(f){var m=typeof f=="undefined"?"undefined":d(f);return!!f&&(m=="object"||m=="function")}function e(f){return!!f&&(typeof f=="undefined"?"undefined":d(f))=="object"}function i(f){return(typeof f=="undefined"?"undefined":d(f))=="symbol"||e(f)&&J.call(f)==p}function r(f){if(typeof f=="number")return f;if(i(f))return c;if(n(f)){var m=typeof f.valueOf=="function"?f.valueOf():f;f=n(m)?m+"":m}if(typeof f!="string")return f===0?f:+f;f=f.replace(y,"");var k=b.test(f);return k||h.test(f)?w(f.slice(2),k?2:8):x.test(f)?c:+f}var d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},l="Expected a function",c=NaN,p="[object Symbol]",y=/^\s+|\s+$/g,x=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,h=/^0o[0-7]+$/i,w=parseInt,C=(typeof o=="undefined"?"undefined":d(o))=="object"&&o&&o.Object===Object&&o,E=(typeof self=="undefined"?"undefined":d(self))=="object"&&self&&self.Object===Object&&self,G=C||E||Function("return this")(),R=Object.prototype,J=R.toString,B=Math.max,_=Math.min,Y=function(){return G.Date.now()};t.exports=s}).call(a,function(){return this}())},function(t,a){"use strict";function o(d){var l=void 0,c=void 0,p=void 0;for(l=0;l<d.length;l+=1)if(c=d[l],c.dataset&&c.dataset.aos||(p=c.children&&o(c.children)))return!0;return!1}function s(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function n(){return!!s()}function e(d,l){var c=window.document,p=s(),y=new p(i);r=l,y.observe(c.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function i(d){d&&d.forEach(function(l){var c=Array.prototype.slice.call(l.addedNodes),p=Array.prototype.slice.call(l.removedNodes),y=c.concat(p);if(o(y))return r()})}Object.defineProperty(a,"__esModule",{value:!0});var r=function(){};a.default={isSupported:n,ready:e}},function(t,a){"use strict";function o(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function s(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(a,"__esModule",{value:!0});var n=function(){function c(p,y){for(var x=0;x<y.length;x++){var b=y[x];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(p,b.key,b)}}return function(p,y,x){return y&&c(p.prototype,y),x&&c(p,x),p}}(),e=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,i=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|$a)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|$a(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|$a|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|$a(ge|$a|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,d=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|$a)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|$a(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|$a|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|$a(ge|$a|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,l=function(){function c(){o(this,c)}return n(c,[{key:"phone",value:function(){var p=s();return!(!e.test(p)&&!i.test(p.substr(0,4)))}},{key:"mobile",value:function(){var p=s();return!(!r.test(p)&&!d.test(p.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),c}();a.default=new l},function(t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o=function(n,e,i){var r=n.node.getAttribute("data-aos-once");e>n.position?n.node.classList.add("aos-animate"):typeof r!="undefined"&&(r==="false"||!i&&r!=="true")&&n.node.classList.remove("aos-animate")},s=function(n,e){var i=window.pageYOffset,r=window.innerHeight;n.forEach(function(d,l){o(d,r+i,e)})};a.default=s},function(t,a,o){"use strict";function s(r){return r&&r.__esModule?r:{default:r}}Object.defineProperty(a,"__esModule",{value:!0});var n=o(12),e=s(n),i=function(r,d){return r.forEach(function(l,c){l.node.classList.add("aos-init"),l.position=(0,e.default)(l.node,d.offset)}),r};a.default=i},function(t,a,o){"use strict";function s(r){return r&&r.__esModule?r:{default:r}}Object.defineProperty(a,"__esModule",{value:!0});var n=o(13),e=s(n),i=function(r,d){var l=0,c=0,p=window.innerHeight,y={offset:r.getAttribute("data-aos-offset"),anchor:r.getAttribute("data-aos-anchor"),anchorPlacement:r.getAttribute("data-aos-anchor-placement")};switch(y.offset&&!isNaN(y.offset)&&(c=parseInt(y.offset)),y.anchor&&document.querySelectorAll(y.anchor)&&(r=document.querySelectorAll(y.anchor)[0]),l=(0,e.default)(r).top,y.anchorPlacement){case"top-bottom":break;case"center-bottom":l+=r.offsetHeight/2;break;case"bottom-bottom":l+=r.offsetHeight;break;case"top-center":l+=p/2;break;case"bottom-center":l+=p/2+r.offsetHeight;break;case"center-center":l+=p/2+r.offsetHeight/2;break;case"top-top":l+=p;break;case"bottom-top":l+=r.offsetHeight+p;break;case"center-top":l+=r.offsetHeight/2+p}return y.anchorPlacement||y.offset||isNaN(d)||(c=d),l+c};a.default=i},function(t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o=function(s){for(var n=0,e=0;s&&!isNaN(s.offsetLeft)&&!isNaN(s.offsetTop);)n+=s.offsetLeft-(s.tagName!="BODY"?s.scrollLeft:0),e+=s.offsetTop-(s.tagName!="BODY"?s.scrollTop:0),s=s.offsetParent;return{top:e,left:n}};a.default=o},function(t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o=function(s){return s=s||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(s,function(n){return{node:n}})};a.default=o}])})});var Go={};Vt(Go,{Primary:()=>Do,default:()=>Oo});module.exports=Qt(Go);var Na=require("react");var $a=require("react/jsx-runtime"),Ga=({type:t="solid",iconName:a="cloud",size:o="lg",className:s})=>{let n=t.includes("fa-")?t+" ":"fa-"+t+" ",e="fa-"+a,i=s!=null?s:"",r=n+e+" fa-"+o+" "+i;return(0,$a.jsx)("i",{className:r})};var dt=require("clsx");var La="-",Xt=t=>{let a=Kt(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:i=>{let r=i.split(La);return r[0]===""&&r.length!==1&&r.shift(),ot(r,a)||Zt(i)},getConflictingClassGroupIds:(i,r)=>{let d=o[i]||[];return r&&s[i]?[...d,...s[i]]:d}}},ot=(t,a)=>{var i;if(t.length===0)return a.classGroupId;let o=t[0],s=a.nextPart.get(o),n=s?ot(t.slice(1),s):void 0;if(n)return n;if(a.validators.length===0)return;let e=t.join(La);return(i=a.validators.find(({validator:r})=>r(e)))==null?void 0:i.classGroupId},at=/^\[(.+)\]$/,Zt=t=>{if(at.test(t)){let a=at.exec(t)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return"arbitrary.."+o}},Kt=t=>{let{theme:a,prefix:o}=t,s={nextPart:new Map,validators:[]};return ao(Object.entries(t.classGroups),o).forEach(([e,i])=>{qa(i,s,e,a)}),s},qa=(t,a,o,s)=>{t.forEach(n=>{if(typeof n=="string"){let e=n===""?a:tt(a,n);e.classGroupId=o;return}if(typeof n=="function"){if($t(n)){qa(n(s),a,o,s);return}a.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([e,i])=>{qa(i,tt(a,e),o,s)})})},tt=(t,a)=>{let o=t;return a.split(La).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},$t=t=>t.isThemeGetter,ao=(t,a)=>a?t.map(([o,s])=>{let n=s.map(e=>typeof e=="string"?a+e:typeof e=="object"?Object.fromEntries(Object.entries(e).map(([i,r])=>[a+i,r])):e);return[o,n]}):t,to=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,o=new Map,s=new Map,n=(e,i)=>{o.set(e,i),a++,a>t&&(a=0,s=o,o=new Map)};return{get(e){let i=o.get(e);if(i!==void 0)return i;if((i=s.get(e))!==void 0)return n(e,i),i},set(e,i){o.has(e)?o.set(e,i):n(e,i)}}},et="!",oo=t=>{let{separator:a,experimentalParseClassName:o}=t,s=a.length===1,n=a[0],e=a.length,i=r=>{let d=[],l=0,c=0,p;for(let w=0;w<r.length;w++){let C=r[w];if(l===0){if(C===n&&(s||r.slice(w,w+e)===a)){d.push(r.slice(c,w)),c=w+e;continue}if(C==="/"){p=w;continue}}C==="["?l++:C==="]"&&l--}let y=d.length===0?r:r.substring(c),x=y.startsWith(et),b=x?y.substring(1):y,h=p&&p>c?p-c:void 0;return{modifiers:d,hasImportantModifier:x,baseClassName:b,maybePostfixModifierPosition:h}};return o?r=>o({className:r,parseClassName:i}):i},eo=t=>{if(t.length<=1)return t;let a=[],o=[];return t.forEach(s=>{s[0]==="["?(a.push(...o.sort(),s),o=[]):o.push(s)}),a.push(...o.sort()),a},so=t=>({cache:to(t.cacheSize),parseClassName:oo(t),...Xt(t)}),ro=/\s+/,no=(t,a)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:n}=a,e=[],i=t.trim().split(ro),r="";for(let d=i.length-1;d>=0;d-=1){let l=i[d],{modifiers:c,hasImportantModifier:p,baseClassName:y,maybePostfixModifierPosition:x}=o(l),b=!!x,h=s(b?y.substring(0,x):y);if(!h){if(!b){r=l+(r.length>0?" "+r:r);continue}if(h=s(y),!h){r=l+(r.length>0?" "+r:r);continue}b=!1}let w=eo(c).join(":"),C=p?w+et:w,E=C+h;if(e.includes(E))continue;e.push(E);let G=n(h,b);for(let R=0;R<G.length;++R){let J=G[R];e.push(C+J)}r=l+(r.length>0?" "+r:r)}return r};function io(){let t=0,a,o,s="";for(;t<arguments.length;)(a=arguments[t++])&&(o=st(a))&&(s&&(s+=" "),s+=o);return s}var st=t=>{if(typeof t=="string")return t;let a,o="";for(let s=0;s<t.length;s++)t[s]&&(a=st(t[s]))&&(o&&(o+=" "),o+=a);return o};function lo(t,...a){let o,s,n,e=i;function i(d){let l=a.reduce((c,p)=>p(c),t());return o=so(l),s=o.cache.get,n=o.cache.set,e=r,r(d)}function r(d){let l=s(d);if(l)return l;let c=no(d,o);return n(d,c),c}return function(){return e(io.apply(null,arguments))}}var P=t=>{let a=o=>o[t]||[];return a.isThemeGetter=!0,a},rt=/^\[(?:([a-$a-]+):)?(.+)\]$/i,co=/^\d+\/\d+$/,uo=new Set(["px","full","screen"]),mo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,po=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,yo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,fo=/^(inset_)?-?((\d+)?\.?(\d+)[a-$a]+|0)_-?((\d+)?\.?(\d+)[a-$a]+|0)/,bo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ta=t=>va(t)||uo.has(t)||co.test(t),ca=t=>xa(t,"length",No),va=t=>!!t&&!Number.isNaN(Number(t)),_a=t=>xa(t,"number",va),Aa=t=>!!t&&Number.isInteger(Number(t)),go=t=>t.endsWith("%")&&va(t.slice(0,-1)),v=t=>rt.test(t),ua=t=>mo.test(t),ho=new Set(["length","size","percentage"]),vo=t=>xa(t,ho,nt),xo=t=>xa(t,"position",nt),wo=new Set(["image","url"]),ko=t=>xa(t,wo,Bo),Co=t=>xa(t,"",Ao),Ba=()=>!0,xa=(t,a,o)=>{let s=rt.exec(t);return s?s[1]?typeof a=="string"?s[1]===a:a.has(s[1]):o(s[2]):!1},No=t=>po.test(t)&&!yo.test(t),nt=()=>!1,Ao=t=>fo.test(t),Bo=t=>bo.test(t);var Po=()=>{let t=P("colors"),a=P("spacing"),o=P("blur"),s=P("brightness"),n=P("borderColor"),e=P("borderRadius"),i=P("borderSpacing"),r=P("borderWidth"),d=P("contrast"),l=P("grayscale"),c=P("hueRotate"),p=P("invert"),y=P("gap"),x=P("gradientColorStops"),b=P("gradientColorStopPositions"),h=P("inset"),w=P("margin"),C=P("opacity"),E=P("padding"),G=P("saturate"),R=P("scale"),J=P("sepia"),B=P("skew"),_=P("space"),Y=P("translate"),f=()=>["auto","contain","none"],m=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto",v,a],u=()=>[v,a],j=()=>["",ta,ca],D=()=>["auto",va,v],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],X=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ra=()=>["start","end","center","between","around","evenly","stretch"],$=()=>["","0",v],na=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[va,v];return{cacheSize:500,separator:":",theme:{colors:[Ba],spacing:[ta,ca],blur:["none","",ua,v],brightness:I(),borderColor:[t],borderRadius:["none","","full",ua,v],borderSpacing:u(),borderWidth:j(),contrast:I(),grayscale:$(),hueRotate:I(),invert:$(),gap:u(),gradientColorStops:[t],gradientColorStopPositions:[go,ca],inset:k(),margin:k(),opacity:I(),padding:u(),saturate:I(),scale:I(),sepia:$(),skew:I(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",v]}],container:["container"],columns:[{columns:[ua]}],"break-after":[{"break-after":na()}],"break-before":[{"break-before":na()}],"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:[...V(),v]}],overflow:[{overflow:m()}],"overflow-x":[{"overflow-x":m()}],"overflow-y":[{"overflow-y":m()}],overscroll:[{overscroll:f()}],"overscroll-x":[{"overscroll-x":f()}],"overscroll-y":[{"overscroll-y":f()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],$a:[{$a:["auto",Aa,v]}],basis:[{basis:k()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",v]}],grow:[{grow:$()}],shrink:[{shrink:$()}],order:[{order:["first","last","none",Aa,v]}],"grid-cols":[{"grid-cols":[Ba]}],"col-start-end":[{col:["auto",{span:["full",Aa,v]},v]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Ba]}],"row-start-end":[{row:["auto",{span:[Aa,v]},v]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",v]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",v]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...ra()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ra(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ra(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],pe:[{pe:[E]}],pt:[{pt:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",v,a]}],"min-w":[{"min-w":[v,a,"min","max","fit"]}],"max-w":[{"max-w":[v,a,"none","full","min","max","fit","prose",{screen:[ua]},ua]}],h:[{h:[v,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[v,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[v,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[v,a,"auto","min","max","fit"]}],"font-size":[{text:["base",ua,ca]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_a]}],"font-family":[{font:[Ba]}],"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",v]}],"line-clamp":[{"line-clamp":["none",va,_a]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ta,v]}],"list-image":[{"list-image":["none",v]}],"list-style-type":[{list:["none","disc","decimal",v]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ta,ca]}],"underline-offset":[{"underline-offset":["auto",ta,v]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",v]}],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",v]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...V(),xo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ko]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],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:[r]}],"border-w-x":[{"border-x":[r]}],"border-w-y":[{"border-y":[r]}],"border-w-s":[{"border-s":[r]}],"border-w-e":[{"border-e":[r]}],"border-w-t":[{"border-t":[r]}],"border-w-r":[{"border-r":[r]}],"border-w-b":[{"border-b":[r]}],"border-w-l":[{"border-l":[r]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[r]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[r]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:U()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[ta,v]}],"outline-w":[{outline:[ta,ca]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[ta,ca]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",ua,Co]}],"shadow-color":[{shadow:[Ba]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...X(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",ua,v]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[G]}],sepia:[{sepia:[J]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",v]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",v]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",v]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[R]}],"scale-x":[{"scale-x":[R]}],"scale-y":[{"scale-y":[R]}],rotate:[{rotate:[Aa,v]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[B]}],"skew-y":[{"skew-y":[B]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",v]}],accent:[{accent:["auto",t]}],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",v]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"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",v]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[ta,ca,_a]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","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-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var it=lo(Po);function g(...t){return it((0,dt.clsx)(t))}var ct=({className:t,content:a,style:o})=>(0,$a.jsx)("div",{className:g("mx-auto my-8 w-full",t),children:(0,$a.jsx)("div",{className:g("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,$a.jsx)(H,{content:a,enableGutter:!1,enableProse:!1})})});var ut=require("@radix-ui/react-slot"),mt=require("class-variance-authority"),pt=fa(require("react")),So=(0,mt.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"}}}),ba=pt.forwardRef(({asChild:t=!1,className:a,size:o,variant:s,...n},e)=>(0,$a.jsx)(t?ut.Slot:"button",{className:g(So({className:a,size:o,variant:s})),ref:e,...n}));ba.displayName="Button";var Wa=fa(require("next/link")),ga=t=>{let{type:a,appearance:o="inline",children:s,className:n,label:e,newTab:i,reference:r,size:d,url:l}=t,c=a==="reference"&&typeof(r==null?void 0:r.value)=="object"&&r.value.slug?`${(r==null?void 0:r.relationTo)!=="pages"?`/${r==null?void 0:r.relationTo}`:""}/${r.value.slug}`:l;if(!c)return null;let p=o==="link"?"clear":d,y=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,$a.jsxs)(Wa.default,{className:g(n),href:c||l||"",...y,children:[e&&e,s&&s]}):(0,$a.jsx)(ba,{asChild:!0,className:n,size:p,variant:o,children:(0,$a.jsxs)(Wa.default,{className:g(n),href:c||l||"",...y,children:[e&&e,s&&s]})})};var wa=({links:t,richText:a})=>(0,$a.jsx)("div",{className:"container",children:(0,$a.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,$a.jsx)("div",{className:"max-w-[48rem] flex items-center",children:a&&(0,$a.jsx)(H,{className:"mb-0",content:a,enableGutter:!1})}),(0,$a.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},s)=>(0,$a.jsx)(ga,{size:"lg",...o},s))})]})});var Ea=require("prism-react-renderer");var ft=require("lucide-react");function gt({code:t}){let[a,o]=(0,Na.useState)("Copy");function s(){a==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,$a.jsx)("div",{className:"flex justify-end align-middle",children:(0,$a.jsxs)(ba,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,$a.jsx)("p",{children:a}),(0,$a.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,$a.jsx)(ft.ClipboardCopy,{})})]})})}var ht=({code:t,language:a=""})=>t?(0,$a.jsx)(Ea.Highlight,{code:t,language:a,theme:Ea.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:n})=>(0,$a.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((e,i)=>(0,$a.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,$a.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,$a.jsx)("span",{className:"table-cell pl-4",children:e.map((r,d)=>(0,$a.jsx)("span",{...s({token:r})},d))})]},i)),(0,$a.jsx)(gt,{code:t})]})}):null;var vt=({className:t,code:a,language:o})=>(0,$a.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,$a.jsx)(ht,{code:a,language:o})});var wt=fa(require("next/image")),Ro={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},xt="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=",kt=t=>{let{alt:a,fill:o,imgClassName:s,priority:n,resource:e,size:i,src:r,loading:d}=t,l,c,p=a,y=r||"";if(!y&&e&&typeof e=="object"){let{alt:h,filename:w,height:C,url:E,width:G}=e;if(C&&C>500){let R=500/C;l=G*R,c=C*R}else l=G,c=C;p=h||"",y=E||xt}let x=d||"lazy",b=i||Object.entries(Ro).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,$a.jsx)("picture",{children:(0,$a.jsx)(wt.default,{alt:p||"",className:g(s),fill:o,height:o?void 0:c,placeholder:"blur",blurDataURL:xt,priority:x!=="lazy"&&n,quality:100,loading:x,sizes:b,src:y,width:o?void 0:l})})};var Ct=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Nt=()=>{if(Ct){let t=window.location.protocol,a=window.location.hostname,o=window.location.port;return`${t}//${a}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var At=t=>{let{onClick:a,resource:o,videoClassName:s}=t,n=(0,Na.useRef)(null);if((0,Na.useEffect)(()=>{let{current:e}=n;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,$a.jsx)("video",{autoPlay:!0,className:g(s),controls:!1,loop:!0,muted:!0,onClick:a,playsInline:!0,ref:n,children:(0,$a.jsx)("source",{src:`${Nt()}/media/${e}`})})}return null};var ja=t=>{var i;let{className:a,htmlElement:o="div",resource:s}=t,n=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,$a.jsx)(o||Na.Fragment,{...o!==null?{className:a}:{},children:n?(0,$a.jsx)(At,{...t}):(0,$a.jsx)(kt,{...t})})};var pa=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:n,staticImage:e}=t;return(0,$a.jsx)("div",{className:g("h-full ",{container:o},a),children:(0,$a.jsx)(ja,{imgClassName:g("rounded-[0.8rem]",s),className:"flex justify-center",resource:n,src:e})})};var Pt=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:n,staticImage:e}=t;return(0,$a.jsx)("div",{className:g("",{container:o},a),children:(0,$a.jsx)(ja,{imgClassName:g("rounded-[0.8rem]",s),resource:n,src:e})})};function St(t){return t&&typeof t=="object"&&"type"in t&&"iconName"in t}function Rt({variant:t="outline",className:a,icon:o,iconSize:s="large",width:n="auto",order:e=0,heading:i,subheading:r,content:d,statistic:l,buttonText:c,buttonHref:p}){let y={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:""},x={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,$a.jsxs)("div",{className:g("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",y[t],t==="outline"?"text-gray-900":"text-white",a,x[n],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[(0,$a.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,$a.jsx)(To,{icon:o,heading:i,variant:t,iconSize:s})}),l&&(0,$a.jsx)("div",{className:"mb-6",children:(0,$a.jsx)("div",{className:g("text-4xl text-wrap font-bold leading-none overflow-hidden",t==="outline"||t==="light"?"text-primary":"text-white"),children:l})}),r&&(0,$a.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:r}),d&&typeof d=="object"&&(0,$a.jsx)("div",{className:g("space-y-6"),children:(0,$a.jsx)(H,{enableGutter:!1,content:d,enableProse:!1,className:g(t==="outline"||t==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&(0,$a.jsx)("div",{className:g("space-y-6",t==="outline"||t==="light"?"text-gray-900":"text-gray-100"),children:d}),c&&(0,$a.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,$a.jsx)(ba,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,$a.jsx)("a",{href:p,children:c})})}),t==="radial"&&(0,$a.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 To=({icon:t,heading:a,variant:o,iconSize:s})=>t&&s==="small"?(0,$a.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[St(t)&&(0,$a.jsx)("div",{className:g("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,$a.jsx)(Ga,{type:t.type,iconName:t.iconName,size:"2x"})}),(0,$a.jsx)("div",{className:g("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:a})]}):t?(0,$a.jsxs)("div",{className:"flex flex-col gap-4",children:[St(t)&&(0,$a.jsx)("div",{className:g("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,$a.jsx)(Ga,{type:t.type,iconName:t.iconName,size:"4x"})}),(0,$a.jsx)("h3",{className:g("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})]}):(0,$a.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,$a.jsx)("div",{className:g("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})});var ka=({title:t,description:a,features:o,id:s,nested:n=!1})=>(0,$a.jsxs)("section",{className:g(!n&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,$a.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:t}),a&&typeof a=="string"&&(0,$a.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:a}),a&&typeof a=="object"&&(0,$a.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,$a.jsx)(H,{content:a,enableGutter:!1})}),(0,$a.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,i)=>{var d,l,c,p,y;let r=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return(0,$a.jsx)(Rt,{variant:((d=e.settings)==null?void 0:d.card)==="default"?"light":((l=e.settings)==null?void 0:l.card)||"outline",icon:r()||void 0,iconSize:((c=e.settings)==null?void 0:c.iconSize)||"large",width:"auto",order:i,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(p=e.link)!=null&&p.url?"Find out more":void 0,buttonHref:((y=e.link)==null?void 0:y.url)||void 0},i)})})]});var Fa=fa(require("react"));function Ra({nodes:t}){return(0,$a.jsx)(Fa.Fragment,{children:t==null?void 0:t.map((a,o)=>{if(a==null)return null;if(a.type==="text"&&a.text){let e=(0,$a.jsx)(Fa.default.Fragment,{children:a.text},o);return a.format&1&&(e=(0,$a.jsx)("strong",{children:e},o)),a.format&2&&(e=(0,$a.jsx)("em",{children:e},o)),a.format&4&&(e=(0,$a.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),a.format&8&&(e=(0,$a.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),a.format&16&&(e=(0,$a.jsx)("code",{children:a.text},o)),a.format&32&&(e=(0,$a.jsx)("sub",{children:e},o)),a.format&64&&(e=(0,$a.jsx)("sup",{children:e},o)),e}if(a.type==="table")return(0,$a.jsx)("table",{children:(0,$a.jsx)("tbody",{children:a.children.map((e,i)=>(0,$a.jsx)("tr",{children:e.children.map((r,d)=>(0,$a.jsx)("td",{children:Ra({nodes:r.children})},d))},i))})},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 i of e.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Ra({nodes:e.children})},n="children"in a?s(a):"";if(a.type==="block"){let e=a.fields,i=e==null?void 0:e.blockType;if(!e||!i)return null;switch(i){case"cta":return(0,$a.jsx)(wa,{...e},o);case"mediaBlock":return(0,$a.jsx)(pa,{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,$a.jsx)(Pt,{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,$a.jsx)(ct,{className:"col-start-2 mb-4",...e},o);case"code":return(0,$a.jsx)(vt,{className:"col-start-2",...e},o);case"features":return(0,$a.jsx)(ka,{...e,nested:!0},o);case"reusableContentBlock":Ra({nodes:e.reusableContent.layout});default:return null}}else switch(a.type){case"linebreak":return(0,$a.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,$a.jsx)("p",{className:"col-start-2",children:n},o);case"heading":{let e=a==null?void 0:a.tag;return(0,$a.jsx)(e,{className:"col-start-2",id:(a==null?void 0:a.id)||"",children:n},o)}case"list":{let e=a==null?void 0:a.tag;return(0,$a.jsx)(e,{className:"list col-start-2",children:n},o)}case"listitem":return(a==null?void 0:a.checked)!=null?(0,$a.jsx)("li",{"aria-checked":a.checked?"true":"false",className:` ${a.checked,""}`,role:"checkbox",tabIndex:-1,value:a==null?void 0:a.value,children:n},o):(0,$a.jsx)("li",{value:a==null?void 0:a.value,children:n},o);case"quote":return(0,$a.jsx)("blockquote",{className:"col-start-2",children:n},o);case"link":{let e=a.fields;return(0,$a.jsx)(ga,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:n},o)}case"autolink":{let e=a.fields;return(0,$a.jsx)(ga,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:n},o)}default:return null}})})}var H=({className:t,content:a,enableGutter:o=!0,enableProse:s=!0})=>{var n;return a?(0,$a.jsx)("div",{className:g({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},t),children:a&&!Array.isArray(a)&&typeof a=="object"&&"root"in a&&Ra({nodes:(n=a==null?void 0:a.root)==null?void 0:n.children})}):null};var Oa=t=>{var r;let{columns:a,theme:o}=t,s={full:"12",half:"6",oneThird:"4",twoThirds:"8"},n={none:"",line:"border border-primary p-4 rounded-lg"},e=d=>{if(d.type&&d.type==="block"&&d.fields&&(d.fields.blockType==="imageBlock"||d.fields.blockType==="mediaBlock"))return!0;if(d.root&&d.root.children){for(let l of d.root.children)if(e(l))return!0}if(d.children){for(let l of d.children)if(e(l))return!0}return!1},i=(d,l,c)=>{if(l==="none"||c==="full")return{processedRichText:d,heading:null};let p=d,y=null;return d&&d.root&&d.root.children&&d.root.children[0].tag==="h2"&&(p={...d,root:{...d.root,children:d.root.children.slice(1)}},y=d.root.children[0]),{processedRichText:p,heading:y}};return(0,$a.jsx)("div",{className:"container my-6",children:(0,$a.jsx)("div",{className:g("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(r=o==null?void 0:o.settings)!=null&&r.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((d,l)=>{var w,C;let{enableLink:c,link:p,richText:y,size:x}=d,{processedRichText:b,heading:h}=i(y,((w=o==null?void 0:o.settings)==null?void 0:w.box)||"none",x||"full");return(0,$a.jsxs)("div",{className:g(`col-span-4 lg:col-span-${s[x]}`,{"md:col-span-2":x!=="full"},n[x!=="full"&&!e(y)&&((C=o==null?void 0:o.settings)==null?void 0:C.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${l+1}00`),children:[h&&(0,$a.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:h.children[0].text}),b&&(0,$a.jsx)(H,{content:b,enableGutter:!1,className:"rich-text"}),c&&(0,$a.jsx)(ga,{...p})]},l)})})})};var Mt=fa(require("next/image"));var Et=t=>{let{customId:a,reusableContent:o}=t;return typeof o=="object"&&o!==null?(0,$a.jsx)(zo,{blocks:o.layout}):(0,$a.jsx)($a.Fragment,{})},zt={content:Oa,cta:wa,mediaBlock:pa,imageBlock:pa,features:ka},zo=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,$a.jsx)("section",{id:"render-blocks",children:a.map((s,n)=>{var r,d;let{blockType:e}=s,i=s==null?void 0:s.theme;if(e&&e in zt){let l=zt[e];if(l)return(0,$a.jsx)("div",{className:"py-6 relative",children:(0,$a.jsx)("div",{className:g(((r=i==null?void 0:i.settings)==null?void 0:r.theme)==="dark"?"dark":((d=i==null?void 0:i.settings)==null?void 0:d.theme)==="green"?"green":""),children:(0,$a.jsx)(l,{...s})})},n)}return null})}):null};var It={content:Oa,cta:wa,mediaBlock:pa,imageBlock:pa,features:ka,reusableContentBlock:Et},jt=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,$a.jsx)("section",{id:"render-blocks",className:g(t.fill?"h-full w-full":""),children:a.map((s,n)=>{var r,d;let{blockType:e}=s,i=s==null?void 0:s.theme;if(e&&e in It){let l=It[e];if(l)return(0,$a.jsxs)("div",{className:g("py-6 relative",t.fill&&"flex h-full items-center justify-center"),children:[(0,$a.jsx)(Eo,{block:s,index:n}),(0,$a.jsx)("div",{className:g("container h-full",((r=i==null?void 0:i.settings)==null?void 0:r.theme)==="dark"?"dark":((d=i==null?void 0:i.settings)==null?void 0:d.theme)==="green"?"green":""),children:(0,$a.jsx)(l,{...s})})]},n)}return null})}):null},Eo=t=>{var o,s,n,e,i;if(!("theme"in t.block))return null;let a=(o=t.block)==null?void 0:o.theme;if(a.settings.background==="image"){let r={imagePosition:a.settings.imagePosition||"left",overlay:a.settings.overlay!==void 0?a.settings.overlay:!0};return(0,$a.jsxs)("div",{className:g("absolute inset-0 w-full h-full -$a-10",a.settings.theme==="dark"?"dark bg-background":a.settings.theme==="green"?"green bg-background":""),children:[(0,$a.jsx)(Mt.default,{src:((n=(s=a.settings)==null?void 0:s.image)==null?void 0:n.url)||"/placeholder.svg",alt:((i=(e=a.settings)==null?void 0:e.image)==null?void 0:i.alt)||"",fill:!0,className:"object-cover",priority:!0}),a.settings.overlay&&(0,$a.jsx)("div",{className:"absolute inset-0",style:{background:r.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,$a.jsx)("div",{className:g("absolute inset-0 -$a-10 w-screen h-full",a.settings.theme==="dark"?"dark bg-background":a.settings.theme==="green"?"green bg-background":"")})};var Ca=require("framer-motion");var _t=fa(lt());var Os=require("pagedjs");var Ft="../../hero-3-N2CBGEV6.jpg";var Xa=fa(require("next/image"));var Da="../../cortex-reply-dark-XPAJJJYY.png";var Ot=()=>(0,$a.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
9
|
-
dark bg-background text-primary`,children:[(0,$a.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[(0,$a.jsx)("img",{src:Da.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,$a.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,$a.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),Dt=({title:t})=>(0,$a.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,$a.jsx)("div",{className:"container",children:(0,$a.jsx)("span",{className:"container text-4xl px-6",children:t})})}),Gt=t=>{var s,n;let{title:a,hero:o}=t;return(0,$a.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,$a.jsx)("div",{className:"absolute inset-0",children:(0,$a.jsx)(Xa.default,{src:o.media?o.media.url:Ft,alt:"Background",width:o.media&&o.media.width&&(s=o.media.width)!=null?s:1920,height:o.media&&o.media.height&&(n=o.media.height)!=null?n:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,$a.jsx)("div",{className:"absolute left-16 $a-50 top-4 flex flex-col items-start gap-4",children:Da&&(0,$a.jsx)("div",{className:"h-24",children:(0,$a.jsx)(Xa.default,{src:Da,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,$a.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,$a.jsxs)("div",{className:"relative pl-24 $a-10 max-w-3xl",children:[(0,$a.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:a}),o.richText&&(0,$a.jsx)(H,{content:o.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var qt=t=>{let[a,o]=(0,Na.useState)(0),{blocks:s,hero:n}=t,e=s&&Array.isArray(s)&&s.length>0,r=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...s],d=b=>{o(b)},l=()=>{o(b=>(b+1)%r.length)},c=()=>{o(b=>(b-1+r.length)%r.length)},y=(0,Na.useCallback)(((b,h)=>{let w;return(...C)=>{clearTimeout(w),w=setTimeout(()=>b(...C),h)}})(b=>{b.deltaY>0?l():c()},300),[]),x=b=>{b.key==="ArrowDown"?l():b.key==="ArrowUp"&&c()};return(0,Na.useEffect)(()=>(_t.default.init({duration:1e3}),window.addEventListener("wheel",y),window.addEventListener("keydown",x),()=>{window.removeEventListener("wheel",y),window.removeEventListener("keydown",x)}),[]),(0,$a.jsxs)("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[(0,$a.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 $a-10 flex-col items-center justify-center bg-gray-900",children:e&&r.map((b,h)=>(0,$a.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 ${a===h?"bg-accent":"bg-gray-600"}`,onClick:()=>d(h),children:(0,$a.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:b.blockName})},b.id))}),(0,$a.jsx)(Ca.AnimatePresence,{children:r.map((b,h)=>(0,$a.jsx)("div",{id:`slide-${h}`,className:"print-section",children:(0,$a.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
10
|
-
${h===a?"opacity-100":"opacity-0"}
|
|
11
|
-
w-full h-full bg-cover bg-center`,children:h===0?(0,$a.jsx)(Gt,{hero:n,title:t.title}):(0,$a.jsxs)($a.Fragment,{children:[b.blockName&&(0,$a.jsx)(Dt,{title:b.blockName}),(0,$a.jsx)(jt,{blocks:[b],fill:!0}),(0,$a.jsx)(Ot,{})]})})},h))}),(0,$a.jsx)("button",{className:"absolute bottom-4 left-1 $a-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:l,children:(0,$a.jsx)(jo,{})})]})},jo=()=>(0,$a.jsx)(Ca.AnimatePresence,{children:(0,$a.jsx)(Ca.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:g("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,$a.jsx)(Ca.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:g("w-[12px] h-[12px] rounded-full","bg-accent")})})});var Fo={title:"Layouts/SlideShow",component:qt,tags:["autodocs"],argTypes:{}},Oo=Fo,Do={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});
|
|
4
|
+
"use strict";"use client";var Ct=Object.create;var ra=Object.defineProperty;var Nt=Object.getOwnPropertyDescriptor;var At=Object.getOwnPropertyNames;var Rt=Object.getPrototypeOf,Bt=Object.prototype.hasOwnProperty;var Pt=(a,t)=>{for(var o in t)ra(a,o,{get:t[o],enumerable:!0})},Da=(a,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of At(t))!Bt.call(a,r)&&r!==o&&ra(a,r,{get:()=>t[r],enumerable:!(s=Nt(t,r))||s.enumerable});return a};var q=(a,t,o)=>(o=a!=null?Ct(Rt(a)):{},Da(t||!a||!a.__esModule?ra(o,"default",{value:a,enumerable:!0}):o,a)),Tt=a=>Da(ra({},"__esModule",{value:!0}),a);var ho={};Pt(ho,{Primary:()=>fo,default:()=>go});module.exports=Tt(ho);var W=require("react");var Ga=require("react/jsx-runtime"),ha=({type:a="solid",iconName:t="cloud",size:o="lg",className:s})=>{let r=a.includes("fa-")?a+" ":"fa-"+a+" ",e="fa-"+t,d=s!=null?s:"",n=r+e+" fa-"+o+" "+d;return(0,Ga.jsx)("i",{className:n})};var Ya=require("clsx");var ka="-",St=a=>{let t=It(a),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=a;return{getClassGroupId:d=>{let n=d.split(ka);return n[0]===""&&n.length!==1&&n.shift(),Ua(n,t)||zt(d)},getConflictingClassGroupIds:(d,n)=>{let i=o[d]||[];return n&&s[d]?[...i,...s[d]]:i}}},Ua=(a,t)=>{var d;if(a.length===0)return t.classGroupId;let o=a[0],s=t.nextPart.get(o),r=s?Ua(a.slice(1),s):void 0;if(r)return r;if(t.validators.length===0)return;let e=a.join(ka);return(d=t.validators.find(({validator:n})=>n(e)))==null?void 0:d.classGroupId},La=/^\[(.+)\]$/,zt=a=>{if(La.test(a)){let t=La.exec(a)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},It=a=>{let{theme:t,prefix:o}=a,s={nextPart:new Map,validators:[]};return Et(Object.entries(a.classGroups),o).forEach(([e,d])=>{va(d,s,e,t)}),s},va=(a,t,o,s)=>{a.forEach(r=>{if(typeof r=="string"){let e=r===""?t:Ha(t,r);e.classGroupId=o;return}if(typeof r=="function"){if(Mt(r)){va(r(s),t,o,s);return}t.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([e,d])=>{va(d,Ha(t,e),o,s)})})},Ha=(a,t)=>{let o=a;return t.split(ka).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},Mt=a=>a.isThemeGetter,Et=(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(([d,n])=>[t+d,n])):e);return[o,r]}):a,Ft=a=>{if(a<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,s=new Map,r=(e,d)=>{o.set(e,d),t++,t>a&&(t=0,s=o,o=new Map)};return{get(e){let d=o.get(e);if(d!==void 0)return d;if((d=s.get(e))!==void 0)return r(e,d),d},set(e,d){o.has(e)?o.set(e,d):r(e,d)}}},Ja="!",Dt=a=>{let{separator:t,experimentalParseClassName:o}=a,s=t.length===1,r=t[0],e=t.length,d=n=>{let i=[],l=0,m=0,h;for(let f=0;f<n.length;f++){let x=n[f];if(l===0){if(x===r&&(s||n.slice(f,f+e)===t)){i.push(n.slice(m,f)),m=f+e;continue}if(x==="/"){h=f;continue}}x==="["?l++:x==="]"&&l--}let b=i.length===0?n:n.substring(m),C=b.startsWith(Ja),p=C?b.substring(1):b,y=h&&h>m?h-m:void 0;return{modifiers:i,hasImportantModifier:C,baseClassName:p,maybePostfixModifierPosition:y}};return o?n=>o({className:n,parseClassName:d}):d},Gt=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},Lt=a=>({cache:Ft(a.cacheSize),parseClassName:Dt(a),...St(a)}),Ht=/\s+/,Ut=(a,t)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:r}=t,e=[],d=a.trim().split(Ht),n="";for(let i=d.length-1;i>=0;i-=1){let l=d[i],{modifiers:m,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:C}=o(l),p=!!C,y=s(p?b.substring(0,C):b);if(!y){if(!p){n=l+(n.length>0?" "+n:n);continue}if(y=s(b),!y){n=l+(n.length>0?" "+n:n);continue}p=!1}let f=Gt(m).join(":"),x=h?f+Ja:f,R=x+y;if(e.includes(R))continue;e.push(R);let F=r(y,p);for(let T=0;T<F.length;++T){let oa=F[T];e.push(x+oa)}n=l+(n.length>0?" "+n:n)}return n};function Jt(){let a=0,t,o,s="";for(;a<arguments.length;)(t=arguments[a++])&&(o=Oa(t))&&(s&&(s+=" "),s+=o);return s}var Oa=a=>{if(typeof a=="string")return a;let t,o="";for(let s=0;s<a.length;s++)a[s]&&(t=Oa(a[s]))&&(o&&(o+=" "),o+=t);return o};function Ot(a,...t){let o,s,r,e=d;function d(i){let l=t.reduce((m,h)=>h(m),a());return o=Lt(l),s=o.cache.get,r=o.cache.set,e=n,n(i)}function n(i){let l=s(i);if(l)return l;let m=Ut(i,o);return r(i,m),m}return function(){return e(Jt.apply(null,arguments))}}var v=a=>{let t=o=>o[a]||[];return t.isThemeGetter=!0,t},ja=/^\[(?:([a-z-]+):)?(.+)\]$/i,jt=/^\d+\/\d+$/,qt=new Set(["px","full","screen"]),Kt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|Ga|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Qt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Xt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Vt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=a=>K(a)||qt.has(a)||jt.test(a),D=a=>Y(a,"length",eo),K=a=>!!a&&!Number.isNaN(Number(a)),xa=a=>Y(a,"number",K),Z=a=>!!a&&Number.isInteger(Number(a)),Wt=a=>a.endsWith("%")&&K(a.slice(0,-1)),u=a=>ja.test(a),G=a=>Kt.test(a),_t=new Set(["length","size","percentage"]),Zt=a=>Y(a,_t,qa),$t=a=>Y(a,"position",qa),ao=new Set(["image","url"]),to=a=>Y(a,ao,ro),oo=a=>Y(a,"",so),$=()=>!0,Y=(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},eo=a=>Yt.test(a)&&!Qt.test(a),qa=()=>!1,so=a=>Xt.test(a),ro=a=>Vt.test(a);var no=()=>{let a=v("colors"),t=v("spacing"),o=v("blur"),s=v("brightness"),r=v("borderColor"),e=v("borderRadius"),d=v("borderSpacing"),n=v("borderWidth"),i=v("contrast"),l=v("grayscale"),m=v("hueRotate"),h=v("invert"),b=v("gap"),C=v("gradientColorStops"),p=v("gradientColorStopPositions"),y=v("inset"),f=v("margin"),x=v("opacity"),R=v("padding"),F=v("saturate"),T=v("scale"),oa=v("sepia"),Ta=v("skew"),Sa=v("space"),za=v("translate"),ya=()=>["auto","contain","none"],ba=()=>["auto","hidden","clip","visible","scroll"],ga=()=>["auto",u,t],w=()=>[u,t],Ia=()=>["",z,D],ea=()=>["auto",K,u],Ma=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],sa=()=>["solid","dashed","dotted","double","none"],Ea=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fa=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",u],Fa=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[K,u];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[z,D],blur:["none","",G,u],brightness:S(),borderColor:[a],borderRadius:["none","","full",G,u],borderSpacing:w(),borderWidth:Ia(),contrast:S(),grayscale:_(),hueRotate:S(),invert:_(),gap:w(),gradientColorStops:[a],gradientColorStopPositions:[Wt,D],inset:ga(),margin:ga(),opacity:S(),padding:w(),saturate:S(),scale:S(),sepia:_(),skew:S(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":Fa()}],"break-before":[{"break-before":Fa()}],"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:[...Ma(),u]}],overflow:[{overflow:ba()}],"overflow-x":[{"overflow-x":ba()}],"overflow-y":[{"overflow-y":ba()}],overscroll:[{overscroll:ya()}],"overscroll-x":[{"overscroll-x":ya()}],"overscroll-y":[{"overscroll-y":ya()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Z,u]}],basis:[{basis:ga()}],"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",Z,u]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",Z,u]},u]}],"col-start":[{"col-start":ea()}],"col-end":[{"col-end":ea()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[Z,u]},u]}],"row-start":[{"row-start":ea()}],"row-end":[{"row-end":ea()}],"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",...fa()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...fa(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...fa(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],Ga:[{Ga:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[Sa]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Sa]}],"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:[G]},G]}],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",G,D]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xa]}],"font-family":[{font:[$]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",u]}],"line-clamp":[{"line-clamp":["none",K,xa]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,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":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...sa(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,D]}],"underline-offset":[{"underline-offset":["auto",z,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:w()}],"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":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ma(),$t]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Zt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},to]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...sa(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:sa()}],"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:["",...sa()]}],"outline-offset":[{"outline-offset":[z,u]}],"outline-w":[{outline:[z,D]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:Ia()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[z,D]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",G,oo]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Ea(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ea()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",G,u]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[F]}],sepia:[{sepia:[oa]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[oa]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[Z,u]}],"translate-x":[{"translate-x":[za]}],"translate-y":[{"translate-y":[za]}],"skew-x":[{"skew-x":[Ta]}],"skew-y":[{"skew-y":[Ta]}],"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":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-Ga":[{"scroll-Ga":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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:[z,D,xa]}],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","Ga","pr","pb","pl"],px:["pr","pl"],py:["Ga","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-Ga","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Ga","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ka=Ot(no);function c(...a){return Ka((0,Ya.clsx)(a))}var Qa=({className:a,content:t,style:o})=>(0,Ga.jsx)("div",{className:c("mx-auto my-8 w-full",a),children:(0,Ga.jsx)("div",{className:c("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,Ga.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var Xa=require("@radix-ui/react-slot"),Va=require("class-variance-authority"),Wa=q(require("react")),io=(0,Va.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"}}}),J=Wa.forwardRef(({asChild:a=!1,className:t,size:o,variant:s,...r},e)=>(0,Ga.jsx)(a?Xa.Slot:"button",{className:c(io({className:t,size:o,variant:s})),ref:e,...r}));J.displayName="Button";var wa=q(require("next/link")),O=a=>{let{type:t,appearance:o="inline",children:s,className:r,label:e,newTab:d,reference:n,size:i,url:l}=a,m=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:l;if(!m)return null;let h=o==="link"?"clear":i,b=d?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Ga.jsxs)(wa.default,{className:c(r),href:m||l||"",...b,children:[e&&e,s&&s]}):(0,Ga.jsx)(J,{asChild:!0,className:r,size:h,variant:o,children:(0,Ga.jsxs)(wa.default,{className:c(r),href:m||l||"",...b,children:[e&&e,s&&s]})})};var Q=({links:a,richText:t})=>(0,Ga.jsx)("div",{className:"container",children:(0,Ga.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,Ga.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ga.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ga.jsx)("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:o},s)=>(0,Ga.jsx)(O,{size:"lg",...o},s))})]})});var da=require("prism-react-renderer");var Za=require("lucide-react");function at({code:a}){let[t,o]=(0,$a.useState)("Copy");function s(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Ga.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ga.jsxs)(J,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(a),s()},children:[(0,Ga.jsx)("p",{children:t}),(0,Ga.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ga.jsx)(Za.ClipboardCopy,{})})]})})}var tt=({code:a,language:t=""})=>a?(0,Ga.jsx)(da.Highlight,{code:a,language:t,theme:da.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:r})=>(0,Ga.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((e,d)=>(0,Ga.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,Ga.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:d+1}),(0,Ga.jsx)("span",{className:"table-cell pl-4",children:e.map((n,i)=>(0,Ga.jsx)("span",{...s({token:n})},i))})]},d)),(0,Ga.jsx)(at,{code:a})]})}):null;var ot=({className:a,code:t,language:o})=>(0,Ga.jsx)("div",{className:[a,"not-prose"].filter(Boolean).join(" "),children:(0,Ga.jsx)(tt,{code:t,language:o})});var st=q(require("next/image")),lo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",rt=a=>{let{alt:t,fill:o,imgClassName:s,priority:r,resource:e,size:d,src:n,loading:i}=a,l,m,h=t,b=n||"";if(!b&&e&&typeof e=="object"){let{alt:y,filename:f,height:x,url:R,width:F}=e;if(x&&x>500){let T=500/x;l=F*T,m=x*T}else l=F,m=x;h=y||"",b=R||et}let C=i||"lazy",p=d||Object.entries(lo).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,Ga.jsx)("picture",{children:(0,Ga.jsx)(st.default,{alt:h||"",className:c(s),fill:o,height:o?void 0:m,placeholder:"blur",blurDataURL:et,priority:C!=="lazy"&&r,quality:100,loading:C,sizes:p,src:b,width:o?void 0:l})})};var nt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var dt=()=>{if(nt){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 it=a=>{let{onClick:t,resource:o,videoClassName:s}=a,r=(0,W.useRef)(null);if((0,W.useEffect)(()=>{let{current:e}=r;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,Ga.jsx)("video",{autoPlay:!0,className:c(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,Ga.jsx)("source",{src:`${dt()}/media/${e}`})})}return null};var ca=a=>{var d;let{className:t,htmlElement:o="div",resource:s}=a,r=typeof s=="object"&&((d=s==null?void 0:s.mimeType)==null?void 0:d.includes("video"));return(0,Ga.jsx)(o||W.Fragment,{...o!==null?{className:t}:{},children:r?(0,Ga.jsx)(it,{...a}):(0,Ga.jsx)(rt,{...a})})};var H=a=>{let{className:t,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=a;return(0,Ga.jsx)("div",{className:c("h-full ",{container:o},t),children:(0,Ga.jsx)(ca,{imgClassName:c("rounded-[0.8rem]",s),className:"flex justify-center",resource:r,src:e})})};var ct=a=>{let{className:t,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=a;return(0,Ga.jsx)("div",{className:c("",{container:o},t),children:(0,Ga.jsx)(ca,{imgClassName:c("rounded-[0.8rem]",s),resource:r,src:e})})};function ut(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function mt({variant:a="outline",className:t,icon:o,iconSize:s="large",width:r="auto",order:e=0,heading:d,subheading:n,content:i,statistic:l,buttonText:m,buttonHref:h}){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:""},C={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Ga.jsxs)("div",{className:c("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",b[a],a==="outline"?"text-gray-900":"text-white",t,C[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[(0,Ga.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ga.jsx)(co,{icon:o,heading:d,variant:a,iconSize:s})}),l&&(0,Ga.jsx)("div",{className:"mb-6",children:(0,Ga.jsx)("div",{className:c("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:l})}),n&&(0,Ga.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),i&&typeof i=="object"&&(0,Ga.jsx)("div",{className:c("space-y-6"),children:(0,Ga.jsx)(B,{enableGutter:!1,content:i,enableProse:!1,className:c(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,Ga.jsx)("div",{className:c("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:i}),m&&(0,Ga.jsx)("div",{className:"mt-auto Ga-6 flex items-center justify-center",children:(0,Ga.jsx)(J,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,Ga.jsx)("a",{href:h,children:m})})}),a==="radial"&&(0,Ga.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 co=({icon:a,heading:t,variant:o,iconSize:s})=>a&&s==="small"?(0,Ga.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[ut(a)&&(0,Ga.jsx)("div",{className:c("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,Ga.jsx)(ha,{type:a.type,iconName:a.iconName,size:"2x"})}),(0,Ga.jsx)("div",{className:c("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:t})]}):a?(0,Ga.jsxs)("div",{className:"flex flex-col gap-4",children:[ut(a)&&(0,Ga.jsx)("div",{className:c("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,Ga.jsx)(ha,{type:a.type,iconName:a.iconName,size:"4x"})}),(0,Ga.jsx)("h3",{className:c("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Ga.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ga.jsx)("div",{className:c("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,Ga.jsxs)("section",{className:c(!r&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&(0,Ga.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,Ga.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Ga.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Ga.jsx)(B,{content:t,enableGutter:!1})}),(0,Ga.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,d)=>{var i,l,m,h,b;let n=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return(0,Ga.jsx)(mt,{variant:((i=e.settings)==null?void 0:i.card)==="default"?"light":((l=e.settings)==null?void 0:l.card)||"outline",icon:n()||void 0,iconSize:((m=e.settings)==null?void 0:m.iconSize)||"large",width:"auto",order:d,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(h=e.link)!=null&&h.url?"Find out more":void 0,buttonHref:((b=e.link)==null?void 0:b.url)||void 0},d)})})]});var ua=q(require("react"));function ta({nodes:a}){return(0,Ga.jsx)(ua.Fragment,{children:a==null?void 0:a.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let e=(0,Ga.jsx)(ua.default.Fragment,{children:t.text},o);return t.format&1&&(e=(0,Ga.jsx)("strong",{children:e},o)),t.format&2&&(e=(0,Ga.jsx)("em",{children:e},o)),t.format&4&&(e=(0,Ga.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),t.format&8&&(e=(0,Ga.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),t.format&16&&(e=(0,Ga.jsx)("code",{children:t.text},o)),t.format&32&&(e=(0,Ga.jsx)("sub",{children:e},o)),t.format&64&&(e=(0,Ga.jsx)("sup",{children:e},o)),e}if(t.type==="table")return(0,Ga.jsx)("table",{children:(0,Ga.jsx)("tbody",{children:t.children.map((e,d)=>(0,Ga.jsx)("tr",{children:e.children.map((n,i)=>(0,Ga.jsx)("td",{children:ta({nodes:n.children})},i))},d))})},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 d of e.children)"checked"in d&&(d!=null&&d.checked||(d.checked=!1));return ta({nodes:e.children})},r="children"in t?s(t):"";if(t.type==="block"){let e=t.fields,d=e==null?void 0:e.blockType;if(!e||!d)return null;switch(d){case"cta":return(0,Ga.jsx)(Q,{...e},o);case"mediaBlock":return(0,Ga.jsx)(H,{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,Ga.jsx)(ct,{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,Ga.jsx)(Qa,{className:"col-start-2 mb-4",...e},o);case"code":return(0,Ga.jsx)(ot,{className:"col-start-2",...e},o);case"features":return(0,Ga.jsx)(X,{...e,nested:!0},o);case"reusableContentBlock":ta({nodes:e.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ga.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Ga.jsx)("p",{className:"col-start-2",children:r},o);case"heading":{let e=t==null?void 0:t.tag;return(0,Ga.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,Ga.jsx)(e,{className:"list col-start-2",children:r},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ga.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,Ga.jsx)("li",{value:t==null?void 0:t.value,children:r},o);case"quote":return(0,Ga.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let e=t.fields;return(0,Ga.jsx)(O,{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,Ga.jsx)(O,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}default:return null}})})}var B=({className:a,content:t,enableGutter:o=!0,enableProse:s=!0})=>{var r;return t?(0,Ga.jsx)("div",{className:c({"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&&ta({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};var ma=a=>{var n;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 l of i.root.children)if(e(l))return!0}if(i.children){for(let l of i.children)if(e(l))return!0}return!1},d=(i,l,m)=>{if(l==="none"||m==="full")return{processedRichText:i,heading:null};let h=i,b=null;return i&&i.root&&i.root.children&&i.root.children[0].tag==="h2"&&(h={...i,root:{...i.root,children:i.root.children.slice(1)}},b=i.root.children[0]),{processedRichText:h,heading:b}};return(0,Ga.jsx)("div",{className:"container my-6",children:(0,Ga.jsx)("div",{className:c("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(n=o==null?void 0:o.settings)!=null&&n.box?"gap-x-8":"gap-x-16"),children:t&&t.length>0&&t.map((i,l)=>{var f,x;let{enableLink:m,link:h,richText:b,size:C}=i,{processedRichText:p,heading:y}=d(b,((f=o==null?void 0:o.settings)==null?void 0:f.box)||"none",C||"full");return(0,Ga.jsxs)("div",{className:c(`col-span-4 lg:col-span-${s[C]}`,{"md:col-span-2":C!=="full"},r[C!=="full"&&!e(b)&&((x=o==null?void 0:o.settings)==null?void 0:x.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${l+1}00`),children:[y&&(0,Ga.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:y.children[0].text}),p&&(0,Ga.jsx)(B,{content:p,enableGutter:!1,className:"rich-text"}),m&&(0,Ga.jsx)(O,{...h})]},l)})})})};var ft=q(require("next/image"));var bt=a=>{let{customId:t,reusableContent:o}=a;return typeof o=="object"&&o!==null?(0,Ga.jsx)(uo,{blocks:o.layout}):(0,Ga.jsx)(Ga.Fragment,{})},yt={content:ma,cta:Q,mediaBlock:H,imageBlock:H,features:X},uo=a=>{let{blocks:t}=a;return t&&Array.isArray(t)&&t.length>0?(0,Ga.jsx)("section",{id:"render-blocks",children:t.map((s,r)=>{var n,i;let{blockType:e}=s,d=s==null?void 0:s.theme;if(e&&e in yt){let l=yt[e];if(l)return(0,Ga.jsx)("div",{className:"py-6 relative",children:(0,Ga.jsx)("div",{className:c(((n=d==null?void 0:d.settings)==null?void 0:n.theme)==="dark"?"dark":((i=d==null?void 0:d.settings)==null?void 0:i.theme)==="green"?"green":""),children:(0,Ga.jsx)(l,{...s})})},r)}return null})}):null};var gt={content:ma,cta:Q,mediaBlock:H,imageBlock:H,features:X,reusableContentBlock:bt},ht=a=>{let{blocks:t}=a;return t&&Array.isArray(t)&&t.length>0?(0,Ga.jsx)("section",{id:"render-blocks",className:c(a.fill?"h-full w-full":""),children:t.map((s,r)=>{var n,i;let{blockType:e}=s,d=s==null?void 0:s.theme;if(e&&e in gt){let l=gt[e];if(l)return(0,Ga.jsxs)("div",{className:c("py-6 relative",a.fill&&"flex h-full items-center justify-center"),children:[(0,Ga.jsx)(mo,{block:s,index:r}),(0,Ga.jsx)("div",{className:c("container h-full",((n=d==null?void 0:d.settings)==null?void 0:n.theme)==="dark"?"dark":((i=d==null?void 0:d.settings)==null?void 0:i.theme)==="green"?"green":""),children:(0,Ga.jsx)(l,{...s})})]},r)}return null})}):null},mo=a=>{var o,s,r,e,d;if(!("theme"in a.block))return null;let t=(o=a.block)==null?void 0:o.theme;if(t.settings.background==="image"){let n={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,Ga.jsxs)("div",{className:c("absolute inset-0 w-full h-full -z-10",t.settings.theme==="dark"?"dark bg-background":t.settings.theme==="green"?"green bg-background":""),children:[(0,Ga.jsx)(ft.default,{src:((r=(s=t.settings)==null?void 0:s.image)==null?void 0:r.url)||"/placeholder.svg",alt:((d=(e=t.settings)==null?void 0:e.image)==null?void 0:d.alt)||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,Ga.jsx)("div",{className:"absolute inset-0",style:{background:n.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,Ga.jsx)("div",{className:c("absolute inset-0 -z-10 w-screen h-full",t.settings.theme==="dark"?"dark bg-background":t.settings.theme==="green"?"green bg-background":"")})};var V=require("framer-motion");var ys=require("pagedjs");var Pa=q(require("next/image"));var pa="../../cortex-reply-dark-XPAJJJYY.png";var xt=()=>(0,Ga.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
5
|
+
dark bg-background text-primary`,children:[(0,Ga.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[(0,Ga.jsx)("img",{src:pa.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,Ga.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,Ga.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),vt=({title:a})=>(0,Ga.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,Ga.jsx)("div",{className:"container",children:(0,Ga.jsx)("span",{className:"container text-4xl px-6",children:a})})}),kt=a=>{var s,r;let{title:t,hero:o}=a;return(0,Ga.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,Ga.jsx)("div",{className:"absolute inset-0",children:(0,Ga.jsx)(Pa.default,{src:o.media&&o.media.url?o.media.url:"/hero.png",alt:"Background",width:o.media&&o.media.width&&(s=o.media.width)!=null?s:1920,height:o.media&&o.media.height&&(r=o.media.height)!=null?r:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,Ga.jsx)("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:pa&&(0,Ga.jsx)("div",{className:"h-24",children:(0,Ga.jsx)(Pa.default,{src:pa,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,Ga.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,Ga.jsxs)("div",{className:"relative pl-24 z-10 max-w-3xl",children:[(0,Ga.jsx)("p",{className:"text-lg font-medium Ga-48 text-accent mb-2",children:t}),o.richText&&(0,Ga.jsx)(B,{content:o.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var wt=a=>{let[t,o]=(0,W.useState)(0),{blocks:s,hero:r}=a,e=s&&Array.isArray(s)&&s.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...s],i=p=>{o(p)},l=()=>{o(p=>(p+1)%n.length)},m=()=>{o(p=>(p-1+n.length)%n.length)},b=(0,W.useCallback)(((p,y)=>{let f;return(...x)=>{clearTimeout(f),f=setTimeout(()=>p(...x),y)}})(p=>{p.deltaY>0?l():m()},300),[]),C=p=>{p.key==="ArrowDown"?l():p.key==="ArrowUp"&&m()};return(0,W.useEffect)(()=>(window.addEventListener("wheel",b),window.addEventListener("keydown",C),()=>{window.removeEventListener("wheel",b),window.removeEventListener("keydown",C)}),[]),(0,Ga.jsxs)("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[(0,Ga.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:e&&n.map((p,y)=>(0,Ga.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:()=>i(y),children:(0,Ga.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:p.blockName})},p.id))}),(0,Ga.jsx)(V.AnimatePresence,{children:n.map((p,y)=>(0,Ga.jsx)("div",{id:`slide-${y}`,className:"print-section",children:(0,Ga.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
6
|
+
${y===t?"opacity-100":"opacity-0"}
|
|
7
|
+
w-full h-full bg-cover bg-center`,children:y===0?(0,Ga.jsx)(kt,{hero:r,title:a.title}):(0,Ga.jsxs)(Ga.Fragment,{children:[p.blockName&&(0,Ga.jsx)(vt,{title:p.blockName}),(0,Ga.jsx)(ht,{blocks:[p],fill:!0}),(0,Ga.jsx)(xt,{})]})})},y))}),(0,Ga.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:l,children:(0,Ga.jsx)(yo,{})})]})},yo=()=>(0,Ga.jsx)(V.AnimatePresence,{children:(0,Ga.jsx)(V.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:c("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,Ga.jsx)(V.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:c("w-[12px] h-[12px] rounded-full","bg-accent")})})});var bo={title:"Layouts/SlideShow",component:wt,tags:["autodocs"],argTypes:{}},go=bo,fo={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-P2XZI7A4.mjs";import"../../chunk-4QEWBUVW.mjs";import"../../chunk-AUBKJ4XO.mjs";import"../../chunk-6YV7RK6Q.mjs";import"../../chunk-NRL4U42W.mjs";import"../../chunk-ZIWHUQ4D.mjs";import"../../chunk-6LKCK2EH.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-R2WQNVEX.mjs";import"../../chunk-MGS3DQ22.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-UZ2XYB7D.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-HPMMYTRI.mjs";import"../../chunk-3AA3AMNV.mjs";import"../../chunk-FBEB6K6X.mjs";import"../../chunk-H7D3PZKE.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-L7YJN6PG.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-WU3JMLSC.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};
|