@opensite/ui 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/about-company-profile.d.cts +3 -3
- package/dist/about-company-profile.d.ts +3 -3
- package/dist/about-culture-tabs.d.cts +3 -3
- package/dist/about-culture-tabs.d.ts +3 -3
- package/dist/about-developer-profile.d.cts +3 -3
- package/dist/about-developer-profile.d.ts +3 -3
- package/dist/about-developer-story.d.cts +3 -3
- package/dist/about-developer-story.d.ts +3 -3
- package/dist/about-expandable-values.d.cts +3 -3
- package/dist/about-expandable-values.d.ts +3 -3
- package/dist/about-interactive-tabs.d.cts +3 -3
- package/dist/about-interactive-tabs.d.ts +3 -3
- package/dist/about-location-info-hero.d.cts +3 -3
- package/dist/about-location-info-hero.d.ts +3 -3
- package/dist/about-minimal-story.d.cts +3 -3
- package/dist/about-minimal-story.d.ts +3 -3
- package/dist/about-mission-dual-image.d.cts +3 -3
- package/dist/about-mission-dual-image.d.ts +3 -3
- package/dist/about-mission-features.d.cts +3 -3
- package/dist/about-mission-features.d.ts +3 -3
- package/dist/about-mission-principles.d.cts +3 -3
- package/dist/about-mission-principles.d.ts +3 -3
- package/dist/about-network-spotlight.d.cts +3 -3
- package/dist/about-network-spotlight.d.ts +3 -3
- package/dist/about-split-hero.d.cts +3 -3
- package/dist/about-split-hero.d.ts +3 -3
- package/dist/about-startup-team.d.cts +3 -3
- package/dist/about-startup-team.d.ts +3 -3
- package/dist/about-stats-showcase.d.cts +3 -3
- package/dist/about-stats-showcase.d.ts +3 -3
- package/dist/about-stats-sidebar.d.cts +3 -3
- package/dist/about-stats-sidebar.d.ts +3 -3
- package/dist/about-story-expertise.d.cts +3 -3
- package/dist/about-story-expertise.d.ts +3 -3
- package/dist/about-story-gallery.d.cts +3 -3
- package/dist/about-story-gallery.d.ts +3 -3
- package/dist/about-story-hero.d.cts +3 -3
- package/dist/about-story-hero.d.ts +3 -3
- package/dist/about-streamline-team.d.cts +3 -3
- package/dist/about-streamline-team.d.ts +3 -3
- package/dist/about-vision-gallery.d.cts +3 -3
- package/dist/about-vision-gallery.d.ts +3 -3
- package/dist/alternating-blocks.d.cts +3 -3
- package/dist/alternating-blocks.d.ts +3 -3
- package/dist/animated-dialog.d.cts +3 -3
- package/dist/animated-dialog.d.ts +3 -3
- package/dist/article-breadcrumb-social.d.cts +3 -3
- package/dist/article-breadcrumb-social.d.ts +3 -3
- package/dist/article-chapters-author.d.cts +3 -3
- package/dist/article-chapters-author.d.ts +3 -3
- package/dist/article-compact-toc.d.cts +3 -3
- package/dist/article-compact-toc.d.ts +3 -3
- package/dist/article-hero-prose.d.cts +3 -3
- package/dist/article-hero-prose.d.ts +3 -3
- package/dist/article-sidebar-sticky.d.cts +3 -3
- package/dist/article-sidebar-sticky.d.ts +3 -3
- package/dist/article-split-animated.d.cts +3 -3
- package/dist/article-split-animated.d.ts +3 -3
- package/dist/article-toc-sidebar.d.cts +3 -3
- package/dist/article-toc-sidebar.d.ts +3 -3
- package/dist/auto-scroll-carousel.d.cts +3 -3
- package/dist/auto-scroll-carousel.d.ts +3 -3
- package/dist/badge.d.cts +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/banner-announcement-dismissible.d.cts +3 -3
- package/dist/banner-announcement-dismissible.d.ts +3 -3
- package/dist/banner-countdown-sale.d.cts +3 -3
- package/dist/banner-countdown-sale.d.ts +3 -3
- package/dist/banner-delivery-countdown.d.cts +3 -3
- package/dist/banner-delivery-countdown.d.ts +3 -3
- package/dist/banner-event-promo.d.cts +3 -3
- package/dist/banner-event-promo.d.ts +3 -3
- package/dist/banner-floating-offer.d.cts +3 -3
- package/dist/banner-floating-offer.d.ts +3 -3
- package/dist/banner-gdpr-rights.d.cts +3 -3
- package/dist/banner-gdpr-rights.d.ts +3 -3
- package/dist/banner-privacy-notice.d.cts +3 -3
- package/dist/banner-privacy-notice.d.ts +3 -3
- package/dist/banner-promo-cta.d.cts +3 -3
- package/dist/banner-promo-cta.d.ts +3 -3
- package/dist/banner-social-follow.d.cts +3 -3
- package/dist/banner-social-follow.d.ts +3 -3
- package/dist/banner-survey-incentive.d.cts +3 -3
- package/dist/banner-survey-incentive.d.ts +3 -3
- package/dist/{blocks-tmd_MRJv.d.cts → blocks-DP3Vofl4.d.cts} +1 -1
- package/dist/{blocks-DRE-f6cS.d.ts → blocks-XLPGq8A5.d.ts} +1 -1
- package/dist/blog-cards-read-time.d.cts +3 -3
- package/dist/blog-cards-read-time.d.ts +3 -3
- package/dist/blog-cards-tagline-cta.d.cts +3 -3
- package/dist/blog-cards-tagline-cta.d.ts +3 -3
- package/dist/blog-carousel-apple.d.cts +3 -3
- package/dist/blog-carousel-apple.d.ts +3 -3
- package/dist/blog-category-overlay.d.cts +3 -3
- package/dist/blog-category-overlay.d.ts +3 -3
- package/dist/blog-featured-popular.d.cts +3 -3
- package/dist/blog-featured-popular.d.ts +3 -3
- package/dist/blog-filtered-results.d.cts +3 -3
- package/dist/blog-filtered-results.d.ts +3 -3
- package/dist/blog-grid-author-cards.d.cts +3 -3
- package/dist/blog-grid-author-cards.d.ts +3 -3
- package/dist/blog-grid-nine-posts.d.cts +3 -3
- package/dist/blog-grid-nine-posts.d.ts +3 -3
- package/dist/blog-horizontal-cards.d.cts +3 -3
- package/dist/blog-horizontal-cards.d.ts +3 -3
- package/dist/blog-horizontal-timeline.d.cts +3 -3
- package/dist/blog-horizontal-timeline.d.ts +3 -3
- package/dist/blog-masonry-featured.d.cts +3 -3
- package/dist/blog-masonry-featured.d.ts +3 -3
- package/dist/blog-related-articles.d.cts +3 -3
- package/dist/blog-related-articles.d.ts +3 -3
- package/dist/blog-tech-insights.d.cts +3 -3
- package/dist/blog-tech-insights.d.ts +3 -3
- package/dist/blur-vignette-grid.d.cts +3 -3
- package/dist/blur-vignette-grid.d.ts +3 -3
- package/dist/{button-variants-8mtEHxev.d.cts → button-variants-CdNtNOuP.d.cts} +1 -1
- package/dist/{button-variants-8mtEHxev.d.ts → button-variants-CdNtNOuP.d.ts} +1 -1
- package/dist/button.d.cts +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/carousel-animated-sections.d.cts +3 -3
- package/dist/carousel-animated-sections.d.ts +3 -3
- package/dist/carousel-auto-progress-slides.d.cts +3 -3
- package/dist/carousel-auto-progress-slides.d.ts +3 -3
- package/dist/carousel-autoplay-progress.d.cts +3 -3
- package/dist/carousel-autoplay-progress.d.ts +3 -3
- package/dist/carousel-badge-cards.d.cts +3 -3
- package/dist/carousel-badge-cards.d.ts +3 -3
- package/dist/carousel-demo-link.d.cts +3 -3
- package/dist/carousel-demo-link.d.ts +3 -3
- package/dist/carousel-feature-badge.d.cts +3 -3
- package/dist/carousel-feature-badge.d.ts +3 -3
- package/dist/carousel-fullscreen-scroll-fx.d.cts +3 -3
- package/dist/carousel-fullscreen-scroll-fx.d.ts +3 -3
- package/dist/carousel-gallery-thumbnails.d.cts +3 -3
- package/dist/carousel-gallery-thumbnails.d.ts +3 -3
- package/dist/carousel-gradient-overlay.d.cts +3 -3
- package/dist/carousel-gradient-overlay.d.ts +3 -3
- package/dist/carousel-gradient-text.d.cts +3 -3
- package/dist/carousel-gradient-text.d.ts +3 -3
- package/dist/carousel-horizontal-cards.d.cts +3 -3
- package/dist/carousel-horizontal-cards.d.ts +3 -3
- package/dist/carousel-icon-sidebar.d.cts +3 -3
- package/dist/carousel-icon-sidebar.d.ts +3 -3
- package/dist/carousel-icon-tabs.d.cts +3 -3
- package/dist/carousel-icon-tabs.d.ts +3 -3
- package/dist/carousel-image-hero.d.cts +3 -3
- package/dist/carousel-image-hero.d.ts +3 -3
- package/dist/carousel-multi-step-showcase.d.cts +3 -3
- package/dist/carousel-multi-step-showcase.d.ts +3 -3
- package/dist/carousel-portfolio-hero.d.cts +3 -3
- package/dist/carousel-portfolio-hero.d.ts +3 -3
- package/dist/carousel-product-feature-showcase.d.cts +3 -3
- package/dist/carousel-product-feature-showcase.d.ts +3 -3
- package/dist/carousel-progress-slider.d.cts +3 -3
- package/dist/carousel-progress-slider.d.ts +3 -3
- package/dist/carousel-scale-focus.d.cts +3 -3
- package/dist/carousel-scale-focus.d.ts +3 -3
- package/dist/carousel-scrolling-feature-showcase.d.cts +3 -3
- package/dist/carousel-scrolling-feature-showcase.d.ts +3 -3
- package/dist/carousel-sidebar-resources.d.cts +3 -3
- package/dist/carousel-sidebar-resources.d.ts +3 -3
- package/dist/carousel-tabs-content.d.cts +3 -3
- package/dist/carousel-tabs-content.d.ts +3 -3
- package/dist/case-studies-featured-border.d.cts +3 -3
- package/dist/case-studies-featured-border.d.ts +3 -3
- package/dist/case-studies-image-grid.d.cts +3 -3
- package/dist/case-studies-image-grid.d.ts +3 -3
- package/dist/case-studies-stats-card.d.cts +3 -3
- package/dist/case-studies-stats-card.d.ts +3 -3
- package/dist/case-studies-testimonial-stats.d.cts +3 -3
- package/dist/case-studies-testimonial-stats.d.ts +3 -3
- package/dist/case-study-prose-sidebar.d.cts +3 -3
- package/dist/case-study-prose-sidebar.d.ts +3 -3
- package/dist/case-study-stats-metrics.d.cts +3 -3
- package/dist/case-study-stats-metrics.d.ts +3 -3
- package/dist/case-study-toc-social-sidebar.d.cts +3 -3
- package/dist/case-study-toc-social-sidebar.d.ts +3 -3
- package/dist/{community-initiatives-hxnFe3w6.d.ts → community-initiatives-DmVsuoHE.d.ts} +1 -1
- package/dist/{community-initiatives-CPyEa7IX.d.cts → community-initiatives-r_NhxVet.d.cts} +1 -1
- package/dist/community-initiatives.d.cts +3 -3
- package/dist/community-initiatives.d.ts +3 -3
- package/dist/comparison-ai-models.d.cts +3 -3
- package/dist/comparison-ai-models.d.ts +3 -3
- package/dist/comparison-feature-cards.d.cts +3 -3
- package/dist/comparison-feature-cards.d.ts +3 -3
- package/dist/comparison-feature-grid.d.cts +3 -3
- package/dist/comparison-feature-grid.d.ts +3 -3
- package/dist/comparison-grid-badges.d.cts +3 -3
- package/dist/comparison-grid-badges.d.ts +3 -3
- package/dist/comparison-image-cards.d.cts +3 -3
- package/dist/comparison-image-cards.d.ts +3 -3
- package/dist/comparison-legacy-modern.d.cts +3 -3
- package/dist/comparison-legacy-modern.d.ts +3 -3
- package/dist/comparison-metrics-rows.d.cts +3 -3
- package/dist/comparison-metrics-rows.d.ts +3 -3
- package/dist/comparison-table-tabs.d.cts +3 -3
- package/dist/comparison-table-tabs.d.ts +3 -3
- package/dist/comparison-table-tooltips.d.cts +3 -3
- package/dist/comparison-table-tooltips.d.ts +3 -3
- package/dist/comparison-table-two-column.d.cts +3 -3
- package/dist/comparison-table-two-column.d.ts +3 -3
- package/dist/components.cjs +119 -62
- package/dist/components.d.cts +3 -3
- package/dist/components.d.ts +3 -3
- package/dist/components.js +120 -63
- package/dist/contact-callback.d.cts +3 -3
- package/dist/contact-callback.d.ts +3 -3
- package/dist/contact-card.d.cts +3 -3
- package/dist/contact-card.d.ts +3 -3
- package/dist/contact-careers.d.cts +3 -3
- package/dist/contact-careers.d.ts +3 -3
- package/dist/contact-catering.d.cts +3 -3
- package/dist/contact-catering.d.ts +3 -3
- package/dist/contact-consultation.d.cts +3 -3
- package/dist/contact-consultation.d.ts +3 -3
- package/dist/contact-dark.d.cts +3 -3
- package/dist/contact-dark.d.ts +3 -3
- package/dist/contact-demo.d.cts +3 -3
- package/dist/contact-demo.d.ts +3 -3
- package/dist/contact-emergency.d.cts +3 -3
- package/dist/contact-emergency.d.ts +3 -3
- package/dist/contact-event.d.cts +3 -3
- package/dist/contact-event.d.ts +3 -3
- package/dist/contact-faq.d.cts +3 -3
- package/dist/contact-faq.d.ts +3 -3
- package/dist/contact-feedback.d.cts +3 -3
- package/dist/contact-feedback.d.ts +3 -3
- package/dist/contact-fitness.d.cts +3 -3
- package/dist/contact-fitness.d.ts +3 -3
- package/dist/contact-floating-banner.d.cts +3 -3
- package/dist/contact-floating-banner.d.ts +3 -3
- package/dist/contact-guest.d.cts +3 -3
- package/dist/contact-guest.d.ts +3 -3
- package/dist/contact-help-center.d.cts +3 -3
- package/dist/contact-help-center.d.ts +3 -3
- package/dist/contact-image.d.cts +3 -3
- package/dist/contact-image.d.ts +3 -3
- package/dist/contact-insurance.d.cts +3 -3
- package/dist/contact-insurance.d.ts +3 -3
- package/dist/contact-interview.d.cts +3 -3
- package/dist/contact-interview.d.ts +3 -3
- package/dist/contact-locations.d.cts +3 -3
- package/dist/contact-locations.d.ts +3 -3
- package/dist/contact-maintenance.d.cts +3 -3
- package/dist/contact-maintenance.d.ts +3 -3
- package/dist/contact-map.d.cts +3 -3
- package/dist/contact-map.d.ts +3 -3
- package/dist/contact-minimal.d.cts +3 -3
- package/dist/contact-minimal.d.ts +3 -3
- package/dist/contact-moving.d.cts +3 -3
- package/dist/contact-moving.d.ts +3 -3
- package/dist/contact-multistep.d.cts +3 -3
- package/dist/contact-multistep.d.ts +3 -3
- package/dist/contact-partnership.d.cts +3 -3
- package/dist/contact-partnership.d.ts +3 -3
- package/dist/contact-photography.d.cts +3 -3
- package/dist/contact-photography.d.ts +3 -3
- package/dist/contact-press.d.cts +3 -3
- package/dist/contact-press.d.ts +3 -3
- package/dist/contact-quote.d.cts +3 -3
- package/dist/contact-quote.d.ts +3 -3
- package/dist/contact-referral.d.cts +3 -3
- package/dist/contact-referral.d.ts +3 -3
- package/dist/contact-report.d.cts +3 -3
- package/dist/contact-report.d.ts +3 -3
- package/dist/contact-reservation.d.cts +3 -3
- package/dist/contact-reservation.d.ts +3 -3
- package/dist/contact-retreat.d.cts +3 -3
- package/dist/contact-retreat.d.ts +3 -3
- package/dist/contact-rsvp.d.cts +3 -3
- package/dist/contact-rsvp.d.ts +3 -3
- package/dist/contact-sales.d.cts +3 -3
- package/dist/contact-sales.d.ts +3 -3
- package/dist/contact-schedule.d.cts +3 -3
- package/dist/contact-schedule.d.ts +3 -3
- package/dist/contact-sponsorship.d.cts +3 -3
- package/dist/contact-sponsorship.d.ts +3 -3
- package/dist/contact-support.d.cts +3 -3
- package/dist/contact-support.d.ts +3 -3
- package/dist/contact-tenant.d.cts +3 -3
- package/dist/contact-tenant.d.ts +3 -3
- package/dist/contact-vendor.d.cts +3 -3
- package/dist/contact-vendor.d.ts +3 -3
- package/dist/contact-volunteer.d.cts +3 -3
- package/dist/contact-volunteer.d.ts +3 -3
- package/dist/contact-warranty.d.cts +3 -3
- package/dist/contact-warranty.d.ts +3 -3
- package/dist/contact-wedding.d.cts +3 -3
- package/dist/contact-wedding.d.ts +3 -3
- package/dist/container.d.cts +3 -3
- package/dist/container.d.ts +3 -3
- package/dist/cta-accent-background.d.cts +3 -3
- package/dist/cta-accent-background.d.ts +3 -3
- package/dist/cta-app-download-newsletter.d.cts +3 -3
- package/dist/cta-app-download-newsletter.d.ts +3 -3
- package/dist/cta-background-icon-badge.d.cts +3 -3
- package/dist/cta-background-icon-badge.d.ts +3 -3
- package/dist/cta-case-study-testimonial.d.cts +3 -3
- package/dist/cta-case-study-testimonial.d.ts +3 -3
- package/dist/cta-documentation-links.d.cts +3 -3
- package/dist/cta-documentation-links.d.ts +3 -3
- package/dist/cta-enterprise-dark-features.d.cts +3 -3
- package/dist/cta-enterprise-dark-features.d.ts +3 -3
- package/dist/cta-enterprise-split.d.cts +3 -3
- package/dist/cta-enterprise-split.d.ts +3 -3
- package/dist/cta-feature-cards-grid.d.cts +3 -3
- package/dist/cta-feature-cards-grid.d.ts +3 -3
- package/dist/cta-feature-checklist.d.cts +3 -3
- package/dist/cta-feature-checklist.d.ts +3 -3
- package/dist/cta-feature-list.d.cts +3 -3
- package/dist/cta-feature-list.d.ts +3 -3
- package/dist/cta-fullwidth-background.d.cts +3 -3
- package/dist/cta-fullwidth-background.d.ts +3 -3
- package/dist/cta-gradient-logos-floating.d.cts +3 -3
- package/dist/cta-gradient-logos-floating.d.ts +3 -3
- package/dist/cta-gradient-stats-hero.d.cts +3 -3
- package/dist/cta-gradient-stats-hero.d.ts +3 -3
- package/dist/cta-hero-feature-cards.d.cts +3 -3
- package/dist/cta-hero-feature-cards.d.ts +3 -3
- package/dist/cta-image-overlay-arrow.d.cts +3 -3
- package/dist/cta-image-overlay-arrow.d.ts +3 -3
- package/dist/cta-image-overlay-centered.d.cts +3 -3
- package/dist/cta-image-overlay-centered.d.ts +3 -3
- package/dist/cta-minimal-separator.d.cts +3 -3
- package/dist/cta-minimal-separator.d.ts +3 -3
- package/dist/cta-newsletter-features.d.cts +3 -3
- package/dist/cta-newsletter-features.d.ts +3 -3
- package/dist/cta-pattern-background.d.cts +3 -3
- package/dist/cta-pattern-background.d.ts +3 -3
- package/dist/cta-platform-demo.d.cts +3 -3
- package/dist/cta-platform-demo.d.ts +3 -3
- package/dist/cta-simple-centered.d.cts +3 -3
- package/dist/cta-simple-centered.d.ts +3 -3
- package/dist/cta-split-gradient-image.d.cts +3 -3
- package/dist/cta-split-gradient-image.d.ts +3 -3
- package/dist/cta-split-image-logos.d.cts +3 -3
- package/dist/cta-split-image-logos.d.ts +3 -3
- package/dist/cta-split-image.d.cts +3 -3
- package/dist/cta-split-image.d.ts +3 -3
- package/dist/cta-stacked-cards.d.cts +3 -3
- package/dist/cta-stacked-cards.d.ts +3 -3
- package/dist/cta-video-background-hero.d.cts +3 -3
- package/dist/cta-video-background-hero.d.ts +3 -3
- package/dist/cta-workflow-tabs.d.cts +3 -3
- package/dist/cta-workflow-tabs.d.ts +3 -3
- package/dist/expandable-case-study-cards.d.cts +3 -3
- package/dist/expandable-case-study-cards.d.ts +3 -3
- package/dist/faq-badge-support.d.cts +3 -3
- package/dist/faq-badge-support.d.ts +3 -3
- package/dist/faq-bordered-badge.d.cts +3 -3
- package/dist/faq-bordered-badge.d.ts +3 -3
- package/dist/faq-card-categories.d.cts +3 -3
- package/dist/faq-card-categories.d.ts +3 -3
- package/dist/faq-categorized-sections.d.cts +3 -3
- package/dist/faq-categorized-sections.d.ts +3 -3
- package/dist/faq-centered-accordion.d.cts +3 -3
- package/dist/faq-centered-accordion.d.ts +3 -3
- package/dist/faq-gradient-categories.d.cts +3 -3
- package/dist/faq-gradient-categories.d.ts +3 -3
- package/dist/faq-icon-benefits.d.cts +3 -3
- package/dist/faq-icon-benefits.d.ts +3 -3
- package/dist/faq-muted-cards.d.cts +3 -3
- package/dist/faq-muted-cards.d.ts +3 -3
- package/dist/faq-numbered-grid.d.cts +3 -3
- package/dist/faq-numbered-grid.d.ts +3 -3
- package/dist/faq-numbered-list.d.cts +3 -3
- package/dist/faq-numbered-list.d.ts +3 -3
- package/dist/faq-profile-sidebar.d.cts +3 -3
- package/dist/faq-profile-sidebar.d.ts +3 -3
- package/dist/faq-rounded-cards.d.cts +3 -3
- package/dist/faq-rounded-cards.d.ts +3 -3
- package/dist/faq-sidebar-navigation.d.cts +3 -3
- package/dist/faq-sidebar-navigation.d.ts +3 -3
- package/dist/faq-simple-accordion.d.cts +3 -3
- package/dist/faq-simple-accordion.d.ts +3 -3
- package/dist/faq-split-help.d.cts +3 -3
- package/dist/faq-split-help.d.ts +3 -3
- package/dist/faq-split-hero.d.cts +3 -3
- package/dist/faq-split-hero.d.ts +3 -3
- package/dist/faq-static-list.d.cts +3 -3
- package/dist/faq-static-list.d.ts +3 -3
- package/dist/feature-accordion-image.d.cts +3 -3
- package/dist/feature-accordion-image.d.ts +3 -3
- package/dist/feature-animated-carousel.d.cts +3 -3
- package/dist/feature-animated-carousel.d.ts +3 -3
- package/dist/feature-badge-grid-six.d.cts +3 -3
- package/dist/feature-badge-grid-six.d.ts +3 -3
- package/dist/feature-bento-image-grid.d.cts +3 -3
- package/dist/feature-bento-image-grid.d.ts +3 -3
- package/dist/feature-bento-utilities.d.cts +3 -3
- package/dist/feature-bento-utilities.d.ts +3 -3
- package/dist/feature-capabilities-grid.d.cts +3 -3
- package/dist/feature-capabilities-grid.d.ts +3 -3
- package/dist/feature-card-grid-linked.d.cts +3 -3
- package/dist/feature-card-grid-linked.d.ts +3 -3
- package/dist/feature-carousel-progress.d.cts +3 -3
- package/dist/feature-carousel-progress.d.ts +3 -3
- package/dist/feature-category-image-cards.d.cts +3 -3
- package/dist/feature-category-image-cards.d.ts +3 -3
- package/dist/feature-checklist-image.d.cts +3 -3
- package/dist/feature-checklist-image.d.ts +3 -3
- package/dist/feature-checklist-three-column.d.cts +3 -3
- package/dist/feature-checklist-three-column.d.ts +3 -3
- package/dist/feature-icon-grid-accent.d.cts +3 -3
- package/dist/feature-icon-grid-accent.d.ts +3 -3
- package/dist/feature-icon-grid-bordered.d.cts +3 -3
- package/dist/feature-icon-grid-bordered.d.ts +3 -3
- package/dist/feature-icon-grid-muted.d.cts +3 -3
- package/dist/feature-icon-grid-muted.d.ts +3 -3
- package/dist/feature-icon-tabs-content.d.cts +3 -3
- package/dist/feature-icon-tabs-content.d.ts +3 -3
- package/dist/feature-image-cards-three-column.d.cts +3 -3
- package/dist/feature-image-cards-three-column.d.ts +3 -3
- package/dist/feature-image-overlay-badge.d.cts +3 -3
- package/dist/feature-image-overlay-badge.d.ts +3 -3
- package/dist/feature-integration-cards.d.cts +3 -3
- package/dist/feature-integration-cards.d.ts +3 -3
- package/dist/feature-numbered-cards.d.cts +3 -3
- package/dist/feature-numbered-cards.d.ts +3 -3
- package/dist/feature-pattern-grid-links.d.cts +3 -3
- package/dist/feature-pattern-grid-links.d.ts +3 -3
- package/dist/feature-showcase.d.cts +4 -4
- package/dist/feature-showcase.d.ts +4 -4
- package/dist/feature-split-image-reverse.d.cts +3 -3
- package/dist/feature-split-image-reverse.d.ts +3 -3
- package/dist/feature-split-image.d.cts +3 -3
- package/dist/feature-split-image.d.ts +3 -3
- package/dist/feature-stats-highlight.d.cts +3 -3
- package/dist/feature-stats-highlight.d.ts +3 -3
- package/dist/feature-tabbed-content-image.d.cts +3 -3
- package/dist/feature-tabbed-content-image.d.ts +3 -3
- package/dist/feature-three-column-values.d.cts +3 -3
- package/dist/feature-three-column-values.d.ts +3 -3
- package/dist/feature-utility-cards-grid.d.cts +3 -3
- package/dist/feature-utility-cards-grid.d.ts +3 -3
- package/dist/footer-accordion-social.d.cts +3 -3
- package/dist/footer-accordion-social.d.ts +3 -3
- package/dist/footer-animated-social.d.cts +3 -3
- package/dist/footer-animated-social.d.ts +3 -3
- package/dist/footer-background-card.d.cts +3 -3
- package/dist/footer-background-card.d.ts +3 -3
- package/dist/footer-brand-description.d.cts +3 -3
- package/dist/footer-brand-description.d.ts +3 -3
- package/dist/footer-brand-links-contact.d.cts +3 -3
- package/dist/footer-brand-links-contact.d.ts +3 -3
- package/dist/footer-comprehensive-links.d.cts +3 -3
- package/dist/footer-comprehensive-links.d.ts +3 -3
- package/dist/footer-contact-card.d.cts +3 -3
- package/dist/footer-contact-card.d.ts +3 -3
- package/dist/footer-cta-banner.d.cts +3 -3
- package/dist/footer-cta-banner.d.ts +3 -3
- package/dist/footer-cta-social.d.cts +3 -3
- package/dist/footer-cta-social.d.ts +3 -3
- package/dist/footer-info-cards-accordion.d.cts +3 -3
- package/dist/footer-info-cards-accordion.d.ts +3 -3
- package/dist/footer-links-grid.d.cts +3 -3
- package/dist/footer-links-grid.d.ts +3 -3
- package/dist/footer-nav-social.d.cts +3 -3
- package/dist/footer-nav-social.d.ts +3 -3
- package/dist/footer-newsletter-contact.d.cts +3 -3
- package/dist/footer-newsletter-contact.d.ts +3 -3
- package/dist/footer-newsletter-grid.d.cts +3 -3
- package/dist/footer-newsletter-grid.d.ts +3 -3
- package/dist/footer-newsletter-minimal.d.cts +3 -3
- package/dist/footer-newsletter-minimal.d.ts +3 -3
- package/dist/footer-simple-centered.d.cts +3 -3
- package/dist/footer-simple-centered.d.ts +3 -3
- package/dist/footer-social-apps.d.cts +3 -3
- package/dist/footer-social-apps.d.ts +3 -3
- package/dist/footer-social-newsletter.cjs +122 -63
- package/dist/footer-social-newsletter.d.cts +42 -23
- package/dist/footer-social-newsletter.d.ts +42 -23
- package/dist/footer-social-newsletter.js +123 -64
- package/dist/footer-split-image-accordion.d.cts +3 -3
- package/dist/footer-split-image-accordion.d.ts +3 -3
- package/dist/hero-ad-campaign-expert.d.cts +3 -3
- package/dist/hero-ad-campaign-expert.d.ts +3 -3
- package/dist/hero-adaptable-product-grid.d.cts +3 -3
- package/dist/hero-adaptable-product-grid.d.ts +3 -3
- package/dist/hero-agency-animated-images.d.cts +3 -3
- package/dist/hero-agency-animated-images.d.ts +3 -3
- package/dist/hero-ai-powered-carousel.d.cts +3 -3
- package/dist/hero-ai-powered-carousel.d.ts +3 -3
- package/dist/hero-announcement-badge.d.cts +3 -3
- package/dist/hero-announcement-badge.d.ts +3 -3
- package/dist/hero-architecture-fullscreen.d.cts +3 -3
- package/dist/hero-architecture-fullscreen.d.ts +3 -3
- package/dist/hero-badge-image-split.d.cts +3 -3
- package/dist/hero-badge-image-split.d.ts +3 -3
- package/dist/hero-badge-shadow-overlay.d.cts +3 -3
- package/dist/hero-badge-shadow-overlay.d.ts +3 -3
- package/dist/hero-billing-platform-logos.d.cts +3 -3
- package/dist/hero-billing-platform-logos.d.ts +3 -3
- package/dist/hero-business-carousel-dots.d.cts +3 -3
- package/dist/hero-business-carousel-dots.d.ts +3 -3
- package/dist/hero-business-operations-mosaic.d.cts +3 -3
- package/dist/hero-business-operations-mosaic.d.ts +3 -3
- package/dist/hero-centered-gradient-cta.d.cts +3 -3
- package/dist/hero-centered-gradient-cta.d.ts +3 -3
- package/dist/hero-centered-image-grid.d.cts +3 -3
- package/dist/hero-centered-image-grid.d.ts +3 -3
- package/dist/hero-centered-screenshot.d.cts +3 -3
- package/dist/hero-centered-screenshot.d.ts +3 -3
- package/dist/hero-coming-soon-countdown.d.cts +3 -3
- package/dist/hero-coming-soon-countdown.d.ts +3 -3
- package/dist/hero-community-survey-cta.d.cts +3 -3
- package/dist/hero-community-survey-cta.d.ts +3 -3
- package/dist/hero-conversation-intelligence.d.cts +3 -3
- package/dist/hero-conversation-intelligence.d.ts +3 -3
- package/dist/hero-conversion-video-play.d.cts +3 -3
- package/dist/hero-conversion-video-play.d.ts +3 -3
- package/dist/hero-creative-studio-stacked.d.cts +4 -4
- package/dist/hero-creative-studio-stacked.d.ts +4 -4
- package/dist/hero-crm-streamlined.d.cts +3 -3
- package/dist/hero-crm-streamlined.d.ts +3 -3
- package/dist/hero-customer-support-layered.d.cts +3 -3
- package/dist/hero-customer-support-layered.d.ts +3 -3
- package/dist/hero-dashed-border-features.d.cts +3 -3
- package/dist/hero-dashed-border-features.d.ts +3 -3
- package/dist/hero-design-carousel-portfolio.d.cts +3 -3
- package/dist/hero-design-carousel-portfolio.d.ts +3 -3
- package/dist/hero-design-showcase-logos.d.cts +3 -3
- package/dist/hero-design-showcase-logos.d.ts +3 -3
- package/dist/hero-design-system-3d.d.cts +3 -3
- package/dist/hero-design-system-3d.d.ts +3 -3
- package/dist/hero-developer-tools-code.d.cts +3 -3
- package/dist/hero-developer-tools-code.d.ts +3 -3
- package/dist/hero-digital-agency-fullscreen.d.cts +3 -3
- package/dist/hero-digital-agency-fullscreen.d.ts +3 -3
- package/dist/hero-ecommerce-product-showcase.d.cts +3 -3
- package/dist/hero-ecommerce-product-showcase.d.ts +3 -3
- package/dist/hero-enterprise-security.d.cts +3 -3
- package/dist/hero-enterprise-security.d.ts +3 -3
- package/dist/hero-event-registration.d.cts +3 -3
- package/dist/hero-event-registration.d.ts +3 -3
- package/dist/hero-feature-cards-grid.d.cts +3 -3
- package/dist/hero-feature-cards-grid.d.ts +3 -3
- package/dist/hero-floating-images.d.cts +3 -3
- package/dist/hero-floating-images.d.ts +3 -3
- package/dist/hero-fullscreen-background-image.d.cts +3 -3
- package/dist/hero-fullscreen-background-image.d.ts +3 -3
- package/dist/hero-fullscreen-logo-cta.d.cts +3 -3
- package/dist/hero-fullscreen-logo-cta.d.ts +3 -3
- package/dist/hero-gradient-avatars-rating.d.cts +3 -3
- package/dist/hero-gradient-avatars-rating.d.ts +3 -3
- package/dist/hero-gradient-client-focused.d.cts +3 -3
- package/dist/hero-gradient-client-focused.d.ts +3 -3
- package/dist/hero-grid-pattern-efficiency.d.cts +3 -3
- package/dist/hero-grid-pattern-efficiency.d.ts +3 -3
- package/dist/hero-grid-pattern-solutions.d.cts +3 -3
- package/dist/hero-grid-pattern-solutions.d.ts +3 -3
- package/dist/hero-hiring-animated-text.d.cts +3 -3
- package/dist/hero-hiring-animated-text.d.ts +3 -3
- package/dist/hero-image-left-content.d.cts +3 -3
- package/dist/hero-image-left-content.d.ts +3 -3
- package/dist/hero-image-slider.d.cts +3 -3
- package/dist/hero-image-slider.d.ts +3 -3
- package/dist/hero-innovation-image-grid.d.cts +3 -3
- package/dist/hero-innovation-image-grid.d.ts +3 -3
- package/dist/hero-logo-centered-screenshot.d.cts +3 -3
- package/dist/hero-logo-centered-screenshot.d.ts +3 -3
- package/dist/hero-marketplace-scattered-images.d.cts +3 -3
- package/dist/hero-marketplace-scattered-images.d.ts +3 -3
- package/dist/hero-mental-health-team.d.cts +3 -3
- package/dist/hero-mental-health-team.d.ts +3 -3
- package/dist/hero-mentorship-video-split.d.cts +3 -3
- package/dist/hero-mentorship-video-split.d.ts +3 -3
- package/dist/hero-minimal-centered-dark.d.cts +3 -3
- package/dist/hero-minimal-centered-dark.d.ts +3 -3
- package/dist/hero-mobile-app-download.d.cts +3 -3
- package/dist/hero-mobile-app-download.d.ts +3 -3
- package/dist/hero-newsletter-minimal.d.cts +3 -3
- package/dist/hero-newsletter-minimal.d.ts +3 -3
- package/dist/hero-overlay-cta-grid.d.cts +3 -3
- package/dist/hero-overlay-cta-grid.d.ts +3 -3
- package/dist/hero-pattern-badge-logos.d.cts +3 -3
- package/dist/hero-pattern-badge-logos.d.ts +3 -3
- package/dist/hero-pattern-logo-tech-stack.d.cts +3 -3
- package/dist/hero-pattern-logo-tech-stack.d.ts +3 -3
- package/dist/hero-platform-features-grid.d.cts +3 -3
- package/dist/hero-platform-features-grid.d.ts +3 -3
- package/dist/hero-portfolio-creative.d.cts +3 -3
- package/dist/hero-portfolio-creative.d.ts +3 -3
- package/dist/hero-premium-split-avatars.d.cts +3 -3
- package/dist/hero-premium-split-avatars.d.ts +3 -3
- package/dist/hero-presentation-platform-video.d.cts +3 -3
- package/dist/hero-presentation-platform-video.d.ts +3 -3
- package/dist/hero-pricing-comparison.d.cts +3 -3
- package/dist/hero-pricing-comparison.d.ts +3 -3
- package/dist/hero-product-showcase-floating.d.cts +3 -3
- package/dist/hero-product-showcase-floating.d.ts +3 -3
- package/dist/hero-productivity-launcher-video.d.cts +3 -3
- package/dist/hero-productivity-launcher-video.d.ts +3 -3
- package/dist/hero-saas-dashboard-preview.d.cts +3 -3
- package/dist/hero-saas-dashboard-preview.d.ts +3 -3
- package/dist/hero-shared-inbox-layered.d.cts +3 -3
- package/dist/hero-shared-inbox-layered.d.ts +3 -3
- package/dist/hero-simple-centered-image.d.cts +3 -3
- package/dist/hero-simple-centered-image.d.ts +3 -3
- package/dist/hero-software-growth-video-dialog.d.cts +3 -3
- package/dist/hero-software-growth-video-dialog.d.ts +3 -3
- package/dist/hero-spiral-pattern-cards.d.cts +3 -3
- package/dist/hero-spiral-pattern-cards.d.ts +3 -3
- package/dist/hero-split-geometric-shapes.d.cts +3 -3
- package/dist/hero-split-geometric-shapes.d.ts +3 -3
- package/dist/hero-split-icon-cards.d.cts +3 -3
- package/dist/hero-split-icon-cards.d.ts +3 -3
- package/dist/hero-split-image-newsletter.cjs +1 -0
- package/dist/hero-split-image-newsletter.d.cts +3 -3
- package/dist/hero-split-image-newsletter.d.ts +3 -3
- package/dist/hero-split-image-newsletter.js +1 -0
- package/dist/hero-split-spiral-shapes.d.cts +3 -3
- package/dist/hero-split-spiral-shapes.d.ts +3 -3
- package/dist/hero-startup-launch-cta.d.cts +3 -3
- package/dist/hero-startup-launch-cta.d.ts +3 -3
- package/dist/hero-stats-social-proof.d.cts +3 -3
- package/dist/hero-stats-social-proof.d.ts +3 -3
- package/dist/hero-task-timer-animated.d.cts +3 -3
- package/dist/hero-task-timer-animated.d.ts +3 -3
- package/dist/hero-tech-carousel.d.cts +3 -3
- package/dist/hero-tech-carousel.d.ts +3 -3
- package/dist/hero-testimonial-image-grid.d.cts +3 -3
- package/dist/hero-testimonial-image-grid.d.ts +3 -3
- package/dist/hero-therapy-testimonial-grid.d.cts +3 -3
- package/dist/hero-therapy-testimonial-grid.d.ts +3 -3
- package/dist/hero-ui-library-showcase.d.cts +3 -3
- package/dist/hero-ui-library-showcase.d.ts +3 -3
- package/dist/hero-video-background-dark.d.cts +3 -3
- package/dist/hero-video-background-dark.d.ts +3 -3
- package/dist/{hero-video-dialog-gradient-Si7mukH7.d.cts → hero-video-dialog-gradient-6epEKovM.d.cts} +2 -2
- package/dist/{hero-video-dialog-gradient-DMaEfOfw.d.ts → hero-video-dialog-gradient-B__37IMI.d.ts} +2 -2
- package/dist/hero-video-dialog-gradient.d.cts +4 -4
- package/dist/hero-video-dialog-gradient.d.ts +4 -4
- package/dist/hero-video-overlay-stars.d.cts +3 -3
- package/dist/hero-video-overlay-stars.d.ts +3 -3
- package/dist/hero-welcome-asymmetric-images.d.cts +3 -3
- package/dist/hero-welcome-asymmetric-images.d.ts +3 -3
- package/dist/image-slider.d.cts +2 -2
- package/dist/image-slider.d.ts +2 -2
- package/dist/index.cjs +119 -62
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +121 -64
- package/dist/industries-badge-list-bordered.d.cts +3 -3
- package/dist/industries-badge-list-bordered.d.ts +3 -3
- package/dist/industries-expandable-showcase.d.cts +3 -3
- package/dist/industries-expandable-showcase.d.ts +3 -3
- package/dist/industries-hover-reveal-grid.d.cts +3 -3
- package/dist/industries-hover-reveal-grid.d.ts +3 -3
- package/dist/industries-timeline-table.d.cts +3 -3
- package/dist/industries-timeline-table.d.ts +3 -3
- package/dist/interior-carousel.d.cts +3 -3
- package/dist/interior-carousel.d.ts +3 -3
- package/dist/link-page-bento-layout.d.cts +3 -3
- package/dist/link-page-bento-layout.d.ts +3 -3
- package/dist/link-page-grid-cards.d.cts +3 -3
- package/dist/link-page-grid-cards.d.ts +3 -3
- package/dist/link-page-minimal-profile.d.cts +3 -3
- package/dist/link-page-minimal-profile.d.ts +3 -3
- package/dist/link-page-newsletter-social.d.cts +3 -3
- package/dist/link-page-newsletter-social.d.ts +3 -3
- package/dist/link-tree-block.d.cts +3 -3
- package/dist/link-tree-block.d.ts +3 -3
- package/dist/list-achievements-showcase.d.cts +3 -3
- package/dist/list-achievements-showcase.d.ts +3 -3
- package/dist/list-career-timeline.d.cts +3 -3
- package/dist/list-career-timeline.d.ts +3 -3
- package/dist/list-feature-comparison.d.cts +3 -3
- package/dist/list-feature-comparison.d.ts +3 -3
- package/dist/list-metrics-dashboard.d.cts +3 -3
- package/dist/list-metrics-dashboard.d.ts +3 -3
- package/dist/list-searchable-grid.d.cts +3 -3
- package/dist/list-searchable-grid.d.ts +3 -3
- package/dist/list-service-category-table.d.cts +3 -3
- package/dist/list-service-category-table.d.ts +3 -3
- package/dist/logos-carousel-heading.d.cts +3 -3
- package/dist/logos-carousel-heading.d.ts +3 -3
- package/dist/logos-centered-simple.d.cts +3 -3
- package/dist/logos-centered-simple.d.ts +3 -3
- package/dist/logos-certifications-grid.d.cts +3 -3
- package/dist/logos-certifications-grid.d.ts +3 -3
- package/dist/logos-double-carousel-pattern.d.cts +3 -3
- package/dist/logos-double-carousel-pattern.d.ts +3 -3
- package/dist/logos-inline-tagline.d.cts +3 -3
- package/dist/logos-inline-tagline.d.ts +3 -3
- package/dist/logos-marquee-muted.d.cts +3 -3
- package/dist/logos-marquee-muted.d.ts +3 -3
- package/dist/logos-minimal-carousel.d.cts +3 -3
- package/dist/logos-minimal-carousel.d.ts +3 -3
- package/dist/logos-numbered-carousel.d.cts +3 -3
- package/dist/logos-numbered-carousel.d.ts +3 -3
- package/dist/logos-partner-grid-sidebar.d.cts +3 -3
- package/dist/logos-partner-grid-sidebar.d.ts +3 -3
- package/dist/logos-partner-network.d.cts +3 -3
- package/dist/logos-partner-network.d.ts +3 -3
- package/dist/logos-two-row-grid.d.cts +3 -3
- package/dist/logos-two-row-grid.d.ts +3 -3
- package/dist/masonry-motion-grid.d.cts +3 -3
- package/dist/masonry-motion-grid.d.ts +3 -3
- package/dist/media-hover-ctas.d.cts +3 -3
- package/dist/media-hover-ctas.d.ts +3 -3
- package/dist/navbar-animated-preview.d.cts +3 -3
- package/dist/navbar-animated-preview.d.ts +3 -3
- package/dist/navbar-centered-menu.d.cts +3 -3
- package/dist/navbar-centered-menu.d.ts +3 -3
- package/dist/navbar-dark-icons.d.cts +3 -3
- package/dist/navbar-dark-icons.d.ts +3 -3
- package/dist/navbar-dropdown-menu.d.cts +3 -3
- package/dist/navbar-dropdown-menu.d.ts +3 -3
- package/dist/navbar-education-platform.d.cts +3 -3
- package/dist/navbar-education-platform.d.ts +3 -3
- package/dist/navbar-enterprise-mega.d.cts +3 -3
- package/dist/navbar-enterprise-mega.d.ts +3 -3
- package/dist/navbar-feature-grid.d.cts +3 -3
- package/dist/navbar-feature-grid.d.ts +3 -3
- package/dist/navbar-floating-pill.d.cts +3 -3
- package/dist/navbar-floating-pill.d.ts +3 -3
- package/dist/navbar-fullscreen-menu.d.cts +3 -3
- package/dist/navbar-fullscreen-menu.d.ts +3 -3
- package/dist/navbar-icon-links.d.cts +3 -3
- package/dist/navbar-icon-links.d.ts +3 -3
- package/dist/navbar-image-preview.d.cts +3 -3
- package/dist/navbar-image-preview.d.ts +3 -3
- package/dist/navbar-mega-menu.d.cts +3 -3
- package/dist/navbar-mega-menu.d.ts +3 -3
- package/dist/navbar-multi-column-groups.d.cts +3 -3
- package/dist/navbar-multi-column-groups.d.ts +3 -3
- package/dist/navbar-platform-resources.d.cts +3 -3
- package/dist/navbar-platform-resources.d.ts +3 -3
- package/dist/navbar-search-focused.d.cts +3 -3
- package/dist/navbar-search-focused.d.ts +3 -3
- package/dist/navbar-sidebar-mobile.d.cts +3 -3
- package/dist/navbar-sidebar-mobile.d.ts +3 -3
- package/dist/navbar-simple-links.d.cts +3 -3
- package/dist/navbar-simple-links.d.ts +3 -3
- package/dist/navbar-split-cta.d.cts +3 -3
- package/dist/navbar-split-cta.d.ts +3 -3
- package/dist/navbar-sticky-compact.d.cts +3 -3
- package/dist/navbar-sticky-compact.d.ts +3 -3
- package/dist/navbar-tabbed-sections.d.cts +3 -3
- package/dist/navbar-tabbed-sections.d.ts +3 -3
- package/dist/navbar-transparent-overlay.d.cts +3 -3
- package/dist/navbar-transparent-overlay.d.ts +3 -3
- package/dist/offer-modal-membership-image.d.cts +3 -3
- package/dist/offer-modal-membership-image.d.ts +3 -3
- package/dist/offer-modal-newsletter-discount.d.cts +3 -3
- package/dist/offer-modal-newsletter-discount.d.ts +3 -3
- package/dist/offer-modal-sheet-newsletter.d.cts +3 -3
- package/dist/offer-modal-sheet-newsletter.d.ts +3 -3
- package/dist/page-hero-banner.d.cts +3 -3
- package/dist/page-hero-banner.d.ts +3 -3
- package/dist/pressable.d.cts +2 -2
- package/dist/pressable.d.ts +2 -2
- package/dist/pricing-addons-cards.d.cts +3 -3
- package/dist/pricing-addons-cards.d.ts +3 -3
- package/dist/pricing-addons-featured.d.cts +3 -3
- package/dist/pricing-addons-featured.d.ts +3 -3
- package/dist/pricing-collapsible-plans.d.cts +3 -3
- package/dist/pricing-collapsible-plans.d.ts +3 -3
- package/dist/pricing-columns-toggle.d.cts +3 -3
- package/dist/pricing-columns-toggle.d.ts +3 -3
- package/dist/pricing-comparison-headers.d.cts +3 -3
- package/dist/pricing-comparison-headers.d.ts +3 -3
- package/dist/pricing-comparison-table.d.cts +3 -3
- package/dist/pricing-comparison-table.d.ts +3 -3
- package/dist/pricing-discount-card.d.cts +3 -3
- package/dist/pricing-discount-card.d.ts +3 -3
- package/dist/pricing-enterprise-contact.d.cts +3 -3
- package/dist/pricing-enterprise-contact.d.ts +3 -3
- package/dist/pricing-feature-matrix.d.cts +3 -3
- package/dist/pricing-feature-matrix.d.ts +3 -3
- package/dist/pricing-four-tier-toggle.d.cts +3 -3
- package/dist/pricing-four-tier-toggle.d.ts +3 -3
- package/dist/pricing-full-comparison.d.cts +3 -3
- package/dist/pricing-full-comparison.d.ts +3 -3
- package/dist/pricing-gradient-cards.d.cts +3 -3
- package/dist/pricing-gradient-cards.d.ts +3 -3
- package/dist/pricing-icon-headers.d.cts +3 -3
- package/dist/pricing-icon-headers.d.ts +3 -3
- package/dist/pricing-minimal-cards.d.cts +3 -3
- package/dist/pricing-minimal-cards.d.ts +3 -3
- package/dist/pricing-packages-radio.d.cts +3 -3
- package/dist/pricing-packages-radio.d.ts +3 -3
- package/dist/pricing-popular-highlight.d.cts +3 -3
- package/dist/pricing-popular-highlight.d.ts +3 -3
- package/dist/pricing-radio-toggle.d.cts +3 -3
- package/dist/pricing-radio-toggle.d.ts +3 -3
- package/dist/pricing-responsive-table.d.cts +3 -3
- package/dist/pricing-responsive-table.d.ts +3 -3
- package/dist/pricing-services-cards.d.cts +3 -3
- package/dist/pricing-services-cards.d.ts +3 -3
- package/dist/pricing-simple-card.d.cts +3 -3
- package/dist/pricing-simple-card.d.ts +3 -3
- package/dist/pricing-single-card.d.cts +3 -3
- package/dist/pricing-single-card.d.ts +3 -3
- package/dist/pricing-split-layout.d.cts +3 -3
- package/dist/pricing-split-layout.d.ts +3 -3
- package/dist/pricing-spotlight-card.d.cts +3 -3
- package/dist/pricing-spotlight-card.d.ts +3 -3
- package/dist/pricing-switch-cards.d.cts +3 -3
- package/dist/pricing-switch-cards.d.ts +3 -3
- package/dist/pricing-tabs-toggle.d.cts +3 -3
- package/dist/pricing-tabs-toggle.d.ts +3 -3
- package/dist/pricing-tier-grid.d.cts +3 -3
- package/dist/pricing-tier-grid.d.ts +3 -3
- package/dist/pricing-toggle-cards.d.cts +3 -3
- package/dist/pricing-toggle-cards.d.ts +3 -3
- package/dist/pricing-toggle-period.d.cts +3 -3
- package/dist/pricing-toggle-period.d.ts +3 -3
- package/dist/pricing-two-column-basic.d.cts +3 -3
- package/dist/pricing-two-column-basic.d.ts +3 -3
- package/dist/process-expandable-timeline.d.cts +3 -3
- package/dist/process-expandable-timeline.d.ts +3 -3
- package/dist/process-hover-cards.d.cts +3 -3
- package/dist/process-hover-cards.d.ts +3 -3
- package/dist/process-icon-timeline.d.cts +3 -3
- package/dist/process-icon-timeline.d.ts +3 -3
- package/dist/process-mission-principles.d.cts +3 -3
- package/dist/process-mission-principles.d.ts +3 -3
- package/dist/process-numbered-services.d.cts +3 -3
- package/dist/process-numbered-services.d.ts +3 -3
- package/dist/process-roadmap-timeline.d.cts +3 -3
- package/dist/process-roadmap-timeline.d.ts +3 -3
- package/dist/process-scroll-image.d.cts +3 -3
- package/dist/process-scroll-image.d.ts +3 -3
- package/dist/process-steps-grid.d.cts +3 -3
- package/dist/process-steps-grid.d.ts +3 -3
- package/dist/process-sticky-steps.d.cts +3 -3
- package/dist/process-sticky-steps.d.ts +3 -3
- package/dist/project-alternating-motion.d.cts +3 -3
- package/dist/project-alternating-motion.d.ts +3 -3
- package/dist/project-background-reveal.d.cts +3 -3
- package/dist/project-background-reveal.d.ts +3 -3
- package/dist/project-card-overlay.d.cts +3 -3
- package/dist/project-card-overlay.d.ts +3 -3
- package/dist/project-carousel-cinematic.d.cts +3 -3
- package/dist/project-carousel-cinematic.d.ts +3 -3
- package/dist/project-carousel-detail-cards.d.cts +3 -3
- package/dist/project-carousel-detail-cards.d.ts +3 -3
- package/dist/project-carousel-minimal.d.cts +3 -3
- package/dist/project-carousel-minimal.d.ts +3 -3
- package/dist/project-detail-architecture-carousel.d.cts +3 -3
- package/dist/project-detail-architecture-carousel.d.ts +3 -3
- package/dist/project-detail-card-header.d.cts +3 -3
- package/dist/project-detail-card-header.d.ts +3 -3
- package/dist/project-detail-case-study-prose.d.cts +3 -3
- package/dist/project-detail-case-study-prose.d.ts +3 -3
- package/dist/project-detail-compact-metadata.d.cts +3 -3
- package/dist/project-detail-compact-metadata.d.ts +3 -3
- package/dist/project-detail-exhibition-sidebar.d.cts +3 -3
- package/dist/project-detail-exhibition-sidebar.d.ts +3 -3
- package/dist/project-detail-fashion-editorial.d.cts +3 -3
- package/dist/project-detail-fashion-editorial.d.ts +3 -3
- package/dist/project-detail-fullscreen-hero.d.cts +3 -3
- package/dist/project-detail-fullscreen-hero.d.ts +3 -3
- package/dist/project-detail-grid-gallery.d.cts +3 -3
- package/dist/project-detail-grid-gallery.d.ts +3 -3
- package/dist/project-detail-hero-metadata.d.cts +3 -3
- package/dist/project-detail-hero-metadata.d.ts +3 -3
- package/dist/project-detail-hover-gallery.d.cts +3 -3
- package/dist/project-detail-hover-gallery.d.ts +3 -3
- package/dist/project-detail-large-hero-featured.d.cts +3 -3
- package/dist/project-detail-large-hero-featured.d.ts +3 -3
- package/dist/project-detail-list-related.d.cts +3 -3
- package/dist/project-detail-list-related.d.ts +3 -3
- package/dist/project-detail-mask-reveal.d.cts +3 -3
- package/dist/project-detail-mask-reveal.d.ts +3 -3
- package/dist/project-detail-minimal-centered.d.cts +3 -3
- package/dist/project-detail-minimal-centered.d.ts +3 -3
- package/dist/project-detail-numbered-sections.d.cts +3 -3
- package/dist/project-detail-numbered-sections.d.ts +3 -3
- package/dist/project-detail-parallax-scroll.d.cts +3 -3
- package/dist/project-detail-parallax-scroll.d.ts +3 -3
- package/dist/project-detail-photography-breadcrumb.d.cts +3 -3
- package/dist/project-detail-photography-breadcrumb.d.ts +3 -3
- package/dist/project-detail-sculpture-showcase.d.cts +3 -3
- package/dist/project-detail-sculpture-showcase.d.ts +3 -3
- package/dist/project-detail-sidebar-navigation.d.cts +3 -3
- package/dist/project-detail-sidebar-navigation.d.ts +3 -3
- package/dist/project-detail-sidebar-sticky.d.cts +3 -3
- package/dist/project-detail-sidebar-sticky.d.ts +3 -3
- package/dist/project-detail-split-materials.d.cts +3 -3
- package/dist/project-detail-split-materials.d.ts +3 -3
- package/dist/project-detail-tabbed-case-study.d.cts +3 -3
- package/dist/project-detail-tabbed-case-study.d.ts +3 -3
- package/dist/project-experience-quote.d.cts +3 -3
- package/dist/project-experience-quote.d.ts +3 -3
- package/dist/project-featured-carousel.d.cts +3 -3
- package/dist/project-featured-carousel.d.ts +3 -3
- package/dist/project-filterable-gallery.d.cts +3 -3
- package/dist/project-filterable-gallery.d.ts +3 -3
- package/dist/project-filterable-three-column.d.cts +3 -3
- package/dist/project-filterable-three-column.d.ts +3 -3
- package/dist/project-grid-gallery.d.cts +3 -3
- package/dist/project-grid-gallery.d.ts +3 -3
- package/dist/project-grid-motion.d.cts +3 -3
- package/dist/project-grid-motion.d.ts +3 -3
- package/dist/project-horizontal-cards.d.cts +3 -3
- package/dist/project-horizontal-cards.d.ts +3 -3
- package/dist/project-hover-reveal-grid.d.cts +3 -3
- package/dist/project-hover-reveal-grid.d.ts +3 -3
- package/dist/project-interactive-hover-reveal.d.cts +3 -3
- package/dist/project-interactive-hover-reveal.d.ts +3 -3
- package/dist/project-masonry-columns.d.cts +3 -3
- package/dist/project-masonry-columns.d.ts +3 -3
- package/dist/project-nature-mosaic.d.cts +3 -3
- package/dist/project-nature-mosaic.d.ts +3 -3
- package/dist/project-scroll-reveal.d.cts +3 -3
- package/dist/project-scroll-reveal.d.ts +3 -3
- package/dist/project-showcase-alternating.d.cts +3 -3
- package/dist/project-showcase-alternating.d.ts +3 -3
- package/dist/project-sticky-scroll.d.cts +3 -3
- package/dist/project-sticky-scroll.d.ts +3 -3
- package/dist/project-studio-hover-preview.d.cts +3 -3
- package/dist/project-studio-hover-preview.d.ts +3 -3
- package/dist/project-table-list.d.cts +3 -3
- package/dist/project-table-list.d.ts +3 -3
- package/dist/project-video-carousel.d.cts +3 -3
- package/dist/project-video-carousel.d.ts +3 -3
- package/dist/project-video-hover-bento.d.cts +3 -3
- package/dist/project-video-hover-bento.d.ts +3 -3
- package/dist/project-video-hover-grid.d.cts +3 -3
- package/dist/project-video-hover-grid.d.ts +3 -3
- package/dist/project-video-hover-rounded.d.cts +3 -3
- package/dist/project-video-hover-rounded.d.ts +3 -3
- package/dist/project-video-hover-stack.d.cts +3 -3
- package/dist/project-video-hover-stack.d.ts +3 -3
- package/dist/project-video-hover-two-by-two.d.cts +3 -3
- package/dist/project-video-hover-two-by-two.d.ts +3 -3
- package/dist/project-work-showcase.d.cts +3 -3
- package/dist/project-work-showcase.d.ts +3 -3
- package/dist/project-zigzag-layout.d.cts +3 -3
- package/dist/project-zigzag-layout.d.ts +3 -3
- package/dist/registry.cjs +1867 -1809
- package/dist/registry.js +628 -570
- package/dist/resource-detail-article-hero.d.cts +3 -3
- package/dist/resource-detail-article-hero.d.ts +3 -3
- package/dist/resource-detail-document-sidebar.d.cts +3 -3
- package/dist/resource-detail-document-sidebar.d.ts +3 -3
- package/dist/resource-detail-whitepaper-sidebar.d.cts +3 -3
- package/dist/resource-detail-whitepaper-sidebar.d.ts +3 -3
- package/dist/resource-list-course-cards.d.cts +3 -3
- package/dist/resource-list-course-cards.d.ts +3 -3
- package/dist/resource-list-featured-articles.d.cts +3 -3
- package/dist/resource-list-featured-articles.d.ts +3 -3
- package/dist/resource-list-featured-grid.d.cts +3 -3
- package/dist/resource-list-featured-grid.d.ts +3 -3
- package/dist/resource-list-hero-filter.d.cts +2 -2
- package/dist/resource-list-hero-filter.d.ts +2 -2
- package/dist/resource-list-news-updates.d.cts +3 -3
- package/dist/resource-list-news-updates.d.ts +3 -3
- package/dist/section.d.cts +3 -3
- package/dist/section.d.ts +3 -3
- package/dist/service-detail-centered-expertise.d.cts +3 -3
- package/dist/service-detail-centered-expertise.d.ts +3 -3
- package/dist/service-detail-compact-cards.d.cts +3 -3
- package/dist/service-detail-compact-cards.d.ts +3 -3
- package/dist/service-detail-image-hero.d.cts +3 -3
- package/dist/service-detail-image-hero.d.ts +3 -3
- package/dist/service-detail-prose-minimal.d.cts +3 -3
- package/dist/service-detail-prose-minimal.d.ts +3 -3
- package/dist/service-detail-sidebar-related.d.cts +3 -3
- package/dist/service-detail-sidebar-related.d.ts +3 -3
- package/dist/service-detail-sidebar-stats.d.cts +3 -3
- package/dist/service-detail-sidebar-stats.d.ts +3 -3
- package/dist/service-detail-stats-hero.d.cts +3 -3
- package/dist/service-detail-stats-hero.d.ts +3 -3
- package/dist/service-hover-carousel.d.cts +3 -3
- package/dist/service-hover-carousel.d.ts +3 -3
- package/dist/services-list-accordion-benefits.d.cts +3 -3
- package/dist/services-list-accordion-benefits.d.ts +3 -3
- package/dist/services-list-accordion.d.cts +3 -3
- package/dist/services-list-accordion.d.ts +3 -3
- package/dist/services-list-cards-hover.d.cts +3 -3
- package/dist/services-list-cards-hover.d.ts +3 -3
- package/dist/services-list-category-accordion.d.cts +3 -3
- package/dist/services-list-category-accordion.d.ts +3 -3
- package/dist/services-list-centered-icons.d.cts +3 -3
- package/dist/services-list-centered-icons.d.ts +3 -3
- package/dist/services-list-culture-tabs.d.cts +3 -3
- package/dist/services-list-culture-tabs.d.ts +3 -3
- package/dist/services-list-expandable-cards.d.cts +3 -3
- package/dist/services-list-expandable-cards.d.ts +3 -3
- package/dist/services-list-feature-spotlight.d.cts +3 -3
- package/dist/services-list-feature-spotlight.d.ts +3 -3
- package/dist/services-list-featured-highlight.d.cts +3 -3
- package/dist/services-list-featured-highlight.d.ts +3 -3
- package/dist/services-list-hero-cards.d.cts +3 -3
- package/dist/services-list-hero-cards.d.ts +3 -3
- package/dist/services-list-icon-grid.d.cts +3 -3
- package/dist/services-list-icon-grid.d.ts +3 -3
- package/dist/services-list-image-cards.d.cts +3 -3
- package/dist/services-list-image-cards.d.ts +3 -3
- package/dist/services-list-image-overlay-grid.d.cts +3 -3
- package/dist/services-list-image-overlay-grid.d.ts +3 -3
- package/dist/services-list-masonry.d.cts +3 -3
- package/dist/services-list-masonry.d.ts +3 -3
- package/dist/services-list-methodology-steps.d.cts +3 -3
- package/dist/services-list-methodology-steps.d.ts +3 -3
- package/dist/services-list-minimal-grid.d.cts +3 -3
- package/dist/services-list-minimal-grid.d.ts +3 -3
- package/dist/services-list-muted-cards.d.cts +3 -3
- package/dist/services-list-muted-cards.d.ts +3 -3
- package/dist/services-list-numbered-steps.d.cts +3 -3
- package/dist/services-list-numbered-steps.d.ts +3 -3
- package/dist/services-list-pricing-grid.d.cts +3 -3
- package/dist/services-list-pricing-grid.d.ts +3 -3
- package/dist/services-list-progress-sidebar.d.cts +3 -3
- package/dist/services-list-progress-sidebar.d.ts +3 -3
- package/dist/services-list-split-checklist.d.cts +3 -3
- package/dist/services-list-split-checklist.d.ts +3 -3
- package/dist/services-list-sticky-image.d.cts +3 -3
- package/dist/services-list-sticky-image.d.ts +3 -3
- package/dist/services-list-table-hover.d.cts +3 -3
- package/dist/services-list-table-hover.d.ts +3 -3
- package/dist/services-list-tabs-features.d.cts +3 -3
- package/dist/services-list-tabs-features.d.ts +3 -3
- package/dist/services-list-timeline.d.cts +3 -3
- package/dist/services-list-timeline.d.ts +3 -3
- package/dist/services-list-two-column-grid.d.cts +3 -3
- package/dist/services-list-two-column-grid.d.ts +3 -3
- package/dist/services-list-vertical-tags.d.cts +3 -3
- package/dist/services-list-vertical-tags.d.ts +3 -3
- package/dist/services-list-video-showcase.d.cts +3 -3
- package/dist/services-list-video-showcase.d.ts +3 -3
- package/dist/social-link-icon.d.cts +2 -2
- package/dist/social-link-icon.d.ts +2 -2
- package/dist/stats-animated-counter.d.cts +3 -3
- package/dist/stats-animated-counter.d.ts +3 -3
- package/dist/stats-bar-comparison.d.cts +3 -3
- package/dist/stats-bar-comparison.d.ts +3 -3
- package/dist/stats-card-group.d.cts +3 -3
- package/dist/stats-card-group.d.ts +3 -3
- package/dist/stats-circular-progress.d.cts +3 -3
- package/dist/stats-circular-progress.d.ts +3 -3
- package/dist/stats-growth-timeline.d.cts +3 -3
- package/dist/stats-growth-timeline.d.ts +3 -3
- package/dist/stats-icon-cards.d.cts +3 -3
- package/dist/stats-icon-cards.d.ts +3 -3
- package/dist/stats-impact-grid.d.cts +3 -3
- package/dist/stats-impact-grid.d.ts +3 -3
- package/dist/stats-milestone-sidebar.d.cts +3 -3
- package/dist/stats-milestone-sidebar.d.ts +3 -3
- package/dist/stats-number-ticker.d.cts +3 -3
- package/dist/stats-number-ticker.d.ts +3 -3
- package/dist/stats-primary-secondary.d.cts +3 -3
- package/dist/stats-primary-secondary.d.ts +3 -3
- package/dist/stats-simple-grid.d.cts +3 -3
- package/dist/stats-simple-grid.d.ts +3 -3
- package/dist/stats-timeline-tabs.d.cts +3 -3
- package/dist/stats-timeline-tabs.d.ts +3 -3
- package/dist/team-alternating-bios.d.cts +3 -3
- package/dist/team-alternating-bios.d.ts +3 -3
- package/dist/team-avatar-social.d.cts +3 -3
- package/dist/team-avatar-social.d.ts +3 -3
- package/dist/team-bio-badges.d.cts +3 -3
- package/dist/team-bio-badges.d.ts +3 -3
- package/dist/team-carousel-experience.d.cts +3 -3
- package/dist/team-carousel-experience.d.ts +3 -3
- package/dist/team-compact-cta.d.cts +3 -3
- package/dist/team-compact-cta.d.ts +3 -3
- package/dist/team-compact-grid.d.cts +3 -3
- package/dist/team-compact-grid.d.ts +3 -3
- package/dist/team-contact-cards.d.cts +3 -3
- package/dist/team-contact-cards.d.ts +3 -3
- package/dist/team-department-sections.d.cts +3 -3
- package/dist/team-department-sections.d.ts +3 -3
- package/dist/team-expertise-cards.d.cts +3 -3
- package/dist/team-expertise-cards.d.ts +3 -3
- package/dist/team-filterable-search.d.cts +3 -3
- package/dist/team-filterable-search.d.ts +3 -3
- package/dist/team-gradient-cards.d.cts +3 -3
- package/dist/team-gradient-cards.d.ts +3 -3
- package/dist/team-grid-animated.d.cts +3 -3
- package/dist/team-grid-animated.d.ts +3 -3
- package/dist/team-hover-highlight.d.cts +3 -3
- package/dist/team-hover-highlight.d.ts +3 -3
- package/dist/team-hover-overlay.d.cts +3 -3
- package/dist/team-hover-overlay.d.ts +3 -3
- package/dist/team-investor-showcase.d.cts +3 -3
- package/dist/team-investor-showcase.d.ts +3 -3
- package/dist/team-large-images.d.cts +3 -3
- package/dist/team-large-images.d.ts +3 -3
- package/dist/team-media-showcase.d.cts +3 -3
- package/dist/team-media-showcase.d.ts +3 -3
- package/dist/team-role-filter.d.cts +3 -3
- package/dist/team-role-filter.d.ts +3 -3
- package/dist/team-simple-grid.d.cts +3 -3
- package/dist/team-simple-grid.d.ts +3 -3
- package/dist/team-skill-badges.d.cts +3 -3
- package/dist/team-skill-badges.d.ts +3 -3
- package/dist/team-social-cards.d.cts +3 -3
- package/dist/team-social-cards.d.ts +3 -3
- package/dist/team-social-grid.d.cts +3 -3
- package/dist/team-social-grid.d.ts +3 -3
- package/dist/team-testimonial-stats.d.cts +3 -3
- package/dist/team-testimonial-stats.d.ts +3 -3
- package/dist/testimonial-carousel-cards.d.cts +3 -3
- package/dist/testimonial-carousel-cards.d.ts +3 -3
- package/dist/testimonials-animated-split.d.cts +3 -3
- package/dist/testimonials-animated-split.d.ts +3 -3
- package/dist/testimonials-bento-grid.d.cts +3 -3
- package/dist/testimonials-bento-grid.d.ts +3 -3
- package/dist/testimonials-carousel-image.d.cts +3 -3
- package/dist/testimonials-carousel-image.d.ts +3 -3
- package/dist/testimonials-centered-avatars.d.cts +3 -3
- package/dist/testimonials-centered-avatars.d.ts +3 -3
- package/dist/testimonials-company-logo.d.cts +3 -3
- package/dist/testimonials-company-logo.d.ts +3 -3
- package/dist/testimonials-grid-add-review.d.cts +3 -3
- package/dist/testimonials-grid-add-review.d.ts +3 -3
- package/dist/testimonials-images-helpful.d.cts +3 -3
- package/dist/testimonials-images-helpful.d.ts +3 -3
- package/dist/testimonials-large-quote.d.cts +3 -3
- package/dist/testimonials-large-quote.d.ts +3 -3
- package/dist/testimonials-list-verified.d.cts +3 -3
- package/dist/testimonials-list-verified.d.ts +3 -3
- package/dist/testimonials-logo-cards.d.cts +3 -3
- package/dist/testimonials-logo-cards.d.ts +3 -3
- package/dist/testimonials-marquee.d.cts +3 -3
- package/dist/testimonials-marquee.d.ts +3 -3
- package/dist/testimonials-masonry-grid.d.cts +3 -3
- package/dist/testimonials-masonry-grid.d.ts +3 -3
- package/dist/testimonials-mini-dividers.d.cts +3 -3
- package/dist/testimonials-mini-dividers.d.ts +3 -3
- package/dist/testimonials-minimal-numbered.d.cts +3 -3
- package/dist/testimonials-minimal-numbered.d.ts +3 -3
- package/dist/testimonials-parallax-number.d.cts +3 -3
- package/dist/testimonials-parallax-number.d.ts +3 -3
- package/dist/testimonials-quote-carousel.d.cts +3 -3
- package/dist/testimonials-quote-carousel.d.ts +3 -3
- package/dist/testimonials-scrolling-columns.d.cts +3 -3
- package/dist/testimonials-scrolling-columns.d.ts +3 -3
- package/dist/testimonials-simple-grid.d.cts +3 -3
- package/dist/testimonials-simple-grid.d.ts +3 -3
- package/dist/testimonials-slider-minimal.d.cts +3 -3
- package/dist/testimonials-slider-minimal.d.ts +3 -3
- package/dist/testimonials-split-image.d.cts +3 -3
- package/dist/testimonials-split-image.d.ts +3 -3
- package/dist/testimonials-stats-header.d.cts +3 -3
- package/dist/testimonials-stats-header.d.ts +3 -3
- package/dist/testimonials-twitter-cards.d.cts +3 -3
- package/dist/testimonials-twitter-cards.d.ts +3 -3
- package/dist/testimonials-wall-compact.d.cts +3 -3
- package/dist/testimonials-wall-compact.d.ts +3 -3
- package/dist/timeline-ai-workflow-cards.d.cts +3 -3
- package/dist/timeline-ai-workflow-cards.d.ts +3 -3
- package/dist/timeline-alternating-diagonal.d.cts +3 -3
- package/dist/timeline-alternating-diagonal.d.ts +3 -3
- package/dist/timeline-changelog-badges.d.cts +3 -3
- package/dist/timeline-changelog-badges.d.ts +3 -3
- package/dist/timeline-history-prose.d.cts +3 -3
- package/dist/timeline-history-prose.d.ts +3 -3
- package/dist/timeline-horizontal-icons.d.cts +3 -3
- package/dist/timeline-horizontal-icons.d.ts +3 -3
- package/dist/timeline-horizontal-phases.d.cts +3 -3
- package/dist/timeline-horizontal-phases.d.ts +3 -3
- package/dist/timeline-product-launch.d.cts +3 -3
- package/dist/timeline-product-launch.d.ts +3 -3
- package/dist/timeline-productivity-list.d.cts +3 -3
- package/dist/timeline-productivity-list.d.ts +3 -3
- package/dist/timeline-scroll-highlight.d.cts +3 -3
- package/dist/timeline-scroll-highlight.d.ts +3 -3
- package/dist/timeline-scroll-sticky-image.d.cts +3 -3
- package/dist/timeline-scroll-sticky-image.d.ts +3 -3
- package/dist/timeline-stepper-animated.d.cts +3 -3
- package/dist/timeline-stepper-animated.d.ts +3 -3
- package/dist/timeline-tabbed-phases.d.cts +3 -3
- package/dist/timeline-tabbed-phases.d.ts +3 -3
- package/dist/timeline-two-column-featured.d.cts +3 -3
- package/dist/timeline-two-column-featured.d.ts +3 -3
- package/dist/timeline-vertical-icon-dashed.d.cts +3 -3
- package/dist/timeline-vertical-icon-dashed.d.ts +3 -3
- package/dist/types.d.cts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/utils.d.cts +3 -3
- package/dist/utils.d.ts +3 -3
- package/package.json +2 -2
package/dist/registry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as React23 from 'react';
|
|
2
|
+
import React23__default, { Fragment, createContext, useMemo, forwardRef, useCallback, useState, useRef, useEffect, startTransition, useContext } from 'react';
|
|
3
3
|
import { clsx } from 'clsx';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
@@ -11,10 +11,10 @@ import { Slot } from '@radix-ui/react-slot';
|
|
|
11
11
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
12
12
|
import { usePlatformFromUrl } from '@opensite/hooks/usePlatformFromUrl';
|
|
13
13
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
14
|
+
import { Form, useForm, Field } from '@page-speed/forms';
|
|
15
|
+
import { useFileUpload, useContactForm, DynamicFormField, submitPageSpeedForm, PageSpeedFormSubmissionError, isValidEmail, getColumnSpanClass } from '@page-speed/forms/integration';
|
|
14
16
|
import { AnimatePresence, motion, useMotionValue, useMotionTemplate, useSpring, useTransform, useInView, useScroll, useMotionValueEvent } from 'framer-motion';
|
|
15
|
-
import { useForm, Form, Field } from '@page-speed/forms';
|
|
16
17
|
import { TextInput as TextInput$1 } from '@page-speed/forms/inputs';
|
|
17
|
-
import { submitPageSpeedForm, PageSpeedFormSubmissionError, isValidEmail, useContactForm, getColumnSpanClass, DynamicFormField, useFileUpload } from '@page-speed/forms/integration';
|
|
18
18
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
19
19
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
20
20
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
@@ -140,7 +140,7 @@ var maxWidthStyles = {
|
|
|
140
140
|
"4xl": "max-w-[1536px]",
|
|
141
141
|
full: "max-w-full"
|
|
142
142
|
};
|
|
143
|
-
var Container =
|
|
143
|
+
var Container = React23__default.forwardRef(
|
|
144
144
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
145
145
|
const Component = as;
|
|
146
146
|
return /* @__PURE__ */ jsx(
|
|
@@ -445,7 +445,7 @@ var spacingStyles = {
|
|
|
445
445
|
};
|
|
446
446
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl"];
|
|
447
447
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
448
|
-
var Section =
|
|
448
|
+
var Section = React23__default.forwardRef(
|
|
449
449
|
({
|
|
450
450
|
id,
|
|
451
451
|
title,
|
|
@@ -1035,7 +1035,7 @@ function useNavigation({
|
|
|
1035
1035
|
href,
|
|
1036
1036
|
onClick
|
|
1037
1037
|
} = {}) {
|
|
1038
|
-
const linkType =
|
|
1038
|
+
const linkType = React23.useMemo(() => {
|
|
1039
1039
|
if (!href || href.trim() === "") {
|
|
1040
1040
|
return onClick ? "none" : "none";
|
|
1041
1041
|
}
|
|
@@ -1056,7 +1056,7 @@ function useNavigation({
|
|
|
1056
1056
|
return "internal";
|
|
1057
1057
|
}
|
|
1058
1058
|
}, [href, onClick]);
|
|
1059
|
-
const normalizedHref =
|
|
1059
|
+
const normalizedHref = React23.useMemo(() => {
|
|
1060
1060
|
if (!href || href.trim() === "") {
|
|
1061
1061
|
return void 0;
|
|
1062
1062
|
}
|
|
@@ -1074,7 +1074,7 @@ function useNavigation({
|
|
|
1074
1074
|
return trimmed;
|
|
1075
1075
|
}
|
|
1076
1076
|
}, [href, linkType]);
|
|
1077
|
-
const target =
|
|
1077
|
+
const target = React23.useMemo(() => {
|
|
1078
1078
|
switch (linkType) {
|
|
1079
1079
|
case "external":
|
|
1080
1080
|
return "_blank";
|
|
@@ -1087,7 +1087,7 @@ function useNavigation({
|
|
|
1087
1087
|
return void 0;
|
|
1088
1088
|
}
|
|
1089
1089
|
}, [linkType]);
|
|
1090
|
-
const rel =
|
|
1090
|
+
const rel = React23.useMemo(() => {
|
|
1091
1091
|
if (linkType === "external") {
|
|
1092
1092
|
return "noopener noreferrer";
|
|
1093
1093
|
}
|
|
@@ -1096,7 +1096,7 @@ function useNavigation({
|
|
|
1096
1096
|
const isExternal = linkType === "external";
|
|
1097
1097
|
const isInternal = linkType === "internal";
|
|
1098
1098
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
1099
|
-
const handleClick =
|
|
1099
|
+
const handleClick = React23.useCallback(
|
|
1100
1100
|
(event) => {
|
|
1101
1101
|
if (onClick) {
|
|
1102
1102
|
try {
|
|
@@ -1280,7 +1280,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
1280
1280
|
size: "default"
|
|
1281
1281
|
}
|
|
1282
1282
|
});
|
|
1283
|
-
var Pressable =
|
|
1283
|
+
var Pressable = React23.forwardRef(
|
|
1284
1284
|
({
|
|
1285
1285
|
children,
|
|
1286
1286
|
className,
|
|
@@ -2328,10 +2328,10 @@ var ImageSlider = ({
|
|
|
2328
2328
|
optixFlowConfig
|
|
2329
2329
|
}) => {
|
|
2330
2330
|
const hasImages = images.length > 0;
|
|
2331
|
-
const [currentIndex, setCurrentIndex] =
|
|
2331
|
+
const [currentIndex, setCurrentIndex] = React23.useState(
|
|
2332
2332
|
() => normalizeIndex(startIndex, images.length)
|
|
2333
2333
|
);
|
|
2334
|
-
const handleNext =
|
|
2334
|
+
const handleNext = React23.useCallback(() => {
|
|
2335
2335
|
if (!hasImages) return;
|
|
2336
2336
|
setCurrentIndex((prevIndex) => {
|
|
2337
2337
|
const nextIndex = prevIndex + 1 >= images.length ? 0 : prevIndex + 1;
|
|
@@ -2339,7 +2339,7 @@ var ImageSlider = ({
|
|
|
2339
2339
|
return nextIndex;
|
|
2340
2340
|
});
|
|
2341
2341
|
}, [hasImages, images.length, onSlideChange]);
|
|
2342
|
-
const handlePrevious =
|
|
2342
|
+
const handlePrevious = React23.useCallback(() => {
|
|
2343
2343
|
if (!hasImages) return;
|
|
2344
2344
|
setCurrentIndex((prevIndex) => {
|
|
2345
2345
|
const nextIndex = prevIndex - 1 < 0 ? images.length - 1 : prevIndex - 1;
|
|
@@ -2347,11 +2347,11 @@ var ImageSlider = ({
|
|
|
2347
2347
|
return nextIndex;
|
|
2348
2348
|
});
|
|
2349
2349
|
}, [hasImages, images.length, onSlideChange]);
|
|
2350
|
-
|
|
2350
|
+
React23.useEffect(() => {
|
|
2351
2351
|
if (!hasImages) return;
|
|
2352
2352
|
setCurrentIndex(normalizeIndex(startIndex, images.length));
|
|
2353
2353
|
}, [startIndex, images.length, hasImages]);
|
|
2354
|
-
|
|
2354
|
+
React23.useEffect(() => {
|
|
2355
2355
|
if (!enableKeyboard || !hasImages) return;
|
|
2356
2356
|
const handleKeyDown = (event) => {
|
|
2357
2357
|
if (event.key === "ArrowRight") {
|
|
@@ -2365,7 +2365,7 @@ var ImageSlider = ({
|
|
|
2365
2365
|
window.removeEventListener("keydown", handleKeyDown);
|
|
2366
2366
|
};
|
|
2367
2367
|
}, [enableKeyboard, handleNext, handlePrevious, hasImages]);
|
|
2368
|
-
|
|
2368
|
+
React23.useEffect(() => {
|
|
2369
2369
|
if (!autoplay || images.length < 2) return;
|
|
2370
2370
|
const interval = window.setInterval(handleNext, autoplayIntervalMs);
|
|
2371
2371
|
return () => window.clearInterval(interval);
|
|
@@ -2650,7 +2650,7 @@ var platformIconMap = {
|
|
|
2650
2650
|
dribbble: "cib/dribbble",
|
|
2651
2651
|
unknown: "icon-park-solid/circular-connection"
|
|
2652
2652
|
};
|
|
2653
|
-
var SocialLinkIcon =
|
|
2653
|
+
var SocialLinkIcon = React23.forwardRef(
|
|
2654
2654
|
({
|
|
2655
2655
|
platformName,
|
|
2656
2656
|
label,
|
|
@@ -2663,13 +2663,13 @@ var SocialLinkIcon = React22.forwardRef(
|
|
|
2663
2663
|
...pressableProps
|
|
2664
2664
|
}, ref) => {
|
|
2665
2665
|
const platform = usePlatformFromUrl(href);
|
|
2666
|
-
const smartPlatformName =
|
|
2666
|
+
const smartPlatformName = React23.useMemo(() => {
|
|
2667
2667
|
return platform || platformName;
|
|
2668
2668
|
}, [platform, platformName]);
|
|
2669
|
-
const iconName =
|
|
2669
|
+
const iconName = React23.useMemo(() => {
|
|
2670
2670
|
return iconNameOverride || platformIconMap[smartPlatformName];
|
|
2671
2671
|
}, [iconNameOverride, smartPlatformName]);
|
|
2672
|
-
const accessibleLabel =
|
|
2672
|
+
const accessibleLabel = React23.useMemo(() => {
|
|
2673
2673
|
return label || platformName;
|
|
2674
2674
|
}, [label, platformName]);
|
|
2675
2675
|
return /* @__PURE__ */ jsx(
|
|
@@ -3094,7 +3094,7 @@ function AboutExpandableValues({
|
|
|
3094
3094
|
pattern,
|
|
3095
3095
|
patternOpacity
|
|
3096
3096
|
}) {
|
|
3097
|
-
const [expandedValue, setExpandedValue] =
|
|
3097
|
+
const [expandedValue, setExpandedValue] = React23.useState(null);
|
|
3098
3098
|
const toggleExpand = useCallback((id) => {
|
|
3099
3099
|
setExpandedValue((prev) => prev === id ? null : id);
|
|
3100
3100
|
}, []);
|
|
@@ -3348,7 +3348,7 @@ function CommunityInitiatives({
|
|
|
3348
3348
|
pattern,
|
|
3349
3349
|
patternOpacity
|
|
3350
3350
|
}) {
|
|
3351
|
-
const [activeCategory, setActiveCategory] =
|
|
3351
|
+
const [activeCategory, setActiveCategory] = React23.useState(
|
|
3352
3352
|
categories?.[0]?.id || ""
|
|
3353
3353
|
);
|
|
3354
3354
|
const currentCategory = categories?.find((category) => category.id === activeCategory) || categories?.[0];
|
|
@@ -3621,7 +3621,7 @@ function AboutCultureTabs({
|
|
|
3621
3621
|
patternOpacity
|
|
3622
3622
|
}) {
|
|
3623
3623
|
const resolvedAspects = aspects ?? [];
|
|
3624
|
-
const [activeTab, setActiveTab] =
|
|
3624
|
+
const [activeTab, setActiveTab] = React23.useState(resolvedAspects[0]?.id || "");
|
|
3625
3625
|
const actionsContent = useMemo(() => {
|
|
3626
3626
|
if (actionsSlot) return actionsSlot;
|
|
3627
3627
|
if (!actions || actions.length === 0) return null;
|
|
@@ -4434,8 +4434,8 @@ var BrandAttribution = ({
|
|
|
4434
4434
|
}
|
|
4435
4435
|
const { prefix = "", anchorText, href, suffix = "" } = options[optionIndex];
|
|
4436
4436
|
const ContainerEl = variant;
|
|
4437
|
-
const [trackedHref, setTrackedHref] =
|
|
4438
|
-
|
|
4437
|
+
const [trackedHref, setTrackedHref] = React23.useState(href);
|
|
4438
|
+
React23.useEffect(() => {
|
|
4439
4439
|
setTrackedHref(buildTrackedHref(href));
|
|
4440
4440
|
}, [href]);
|
|
4441
4441
|
return /* @__PURE__ */ jsxs(ContainerEl, { className: containerClassName, children: [
|
|
@@ -4513,16 +4513,20 @@ function FooterLinksGrid({
|
|
|
4513
4513
|
}
|
|
4514
4514
|
);
|
|
4515
4515
|
}
|
|
4516
|
+
var DEFAULT_FORM_FIELDS = [
|
|
4517
|
+
{
|
|
4518
|
+
name: "email",
|
|
4519
|
+
type: "email",
|
|
4520
|
+
label: "Email Address",
|
|
4521
|
+
placeholder: "Enter your email",
|
|
4522
|
+
required: true,
|
|
4523
|
+
columnSpan: 12
|
|
4524
|
+
}
|
|
4525
|
+
];
|
|
4516
4526
|
function FooterSocialNewsletter({
|
|
4517
4527
|
logo,
|
|
4518
4528
|
sections,
|
|
4519
4529
|
socialLinks,
|
|
4520
|
-
newsletterLabel,
|
|
4521
|
-
newsletterPlaceholder,
|
|
4522
|
-
newsletterButtonText,
|
|
4523
|
-
privacyLinkText,
|
|
4524
|
-
privacyLinkUrl,
|
|
4525
|
-
privacyConsentText,
|
|
4526
4530
|
copyright,
|
|
4527
4531
|
className,
|
|
4528
4532
|
contentClassName,
|
|
@@ -4536,9 +4540,15 @@ function FooterSocialNewsletter({
|
|
|
4536
4540
|
socialColumnClassName,
|
|
4537
4541
|
socialLinksClassName,
|
|
4538
4542
|
socialLinkClassName,
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4543
|
+
formFields = DEFAULT_FORM_FIELDS,
|
|
4544
|
+
formConfig,
|
|
4545
|
+
onSubmit,
|
|
4546
|
+
onSuccess,
|
|
4547
|
+
onError,
|
|
4548
|
+
successMessage,
|
|
4549
|
+
buttonAction,
|
|
4550
|
+
helperText,
|
|
4551
|
+
formSlot,
|
|
4542
4552
|
privacyClassName,
|
|
4543
4553
|
bottomClassName,
|
|
4544
4554
|
copyrightClassName,
|
|
@@ -4549,6 +4559,104 @@ function FooterSocialNewsletter({
|
|
|
4549
4559
|
patternOpacity,
|
|
4550
4560
|
optixFlowConfig
|
|
4551
4561
|
}) {
|
|
4562
|
+
const {
|
|
4563
|
+
uploadTokens,
|
|
4564
|
+
uploadProgress,
|
|
4565
|
+
isUploading,
|
|
4566
|
+
uploadFiles,
|
|
4567
|
+
removeFile,
|
|
4568
|
+
resetUpload
|
|
4569
|
+
} = useFileUpload({ onError });
|
|
4570
|
+
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
4571
|
+
formFields,
|
|
4572
|
+
formConfig,
|
|
4573
|
+
onSubmit,
|
|
4574
|
+
onSuccess: (data) => {
|
|
4575
|
+
resetUpload();
|
|
4576
|
+
onSuccess?.(data);
|
|
4577
|
+
},
|
|
4578
|
+
onError,
|
|
4579
|
+
uploadTokens
|
|
4580
|
+
});
|
|
4581
|
+
const renderForm = React23.useMemo(() => {
|
|
4582
|
+
if (formSlot) return formSlot;
|
|
4583
|
+
const defaultButtonAction = {
|
|
4584
|
+
label: "Subscribe",
|
|
4585
|
+
variant: "default",
|
|
4586
|
+
className: "h-12"
|
|
4587
|
+
};
|
|
4588
|
+
const action = buttonAction || defaultButtonAction;
|
|
4589
|
+
return /* @__PURE__ */ jsxs(
|
|
4590
|
+
Form,
|
|
4591
|
+
{
|
|
4592
|
+
form,
|
|
4593
|
+
fields: formFields,
|
|
4594
|
+
notificationConfig: {
|
|
4595
|
+
submissionError,
|
|
4596
|
+
successMessage
|
|
4597
|
+
},
|
|
4598
|
+
formConfig: {
|
|
4599
|
+
endpoint: formConfig?.endpoint,
|
|
4600
|
+
method: formMethod,
|
|
4601
|
+
submissionConfig: formConfig?.submissionConfig,
|
|
4602
|
+
formLayout: "button-group",
|
|
4603
|
+
buttonGroupSize: "sm",
|
|
4604
|
+
submitLabel: action.label,
|
|
4605
|
+
submitVariant: action.variant || "default",
|
|
4606
|
+
submitIconComponent: action.icon || /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/send" })
|
|
4607
|
+
},
|
|
4608
|
+
onNewSubmission: () => {
|
|
4609
|
+
resetUpload();
|
|
4610
|
+
resetSubmissionState();
|
|
4611
|
+
},
|
|
4612
|
+
children: [
|
|
4613
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 sm:flex-row", children: [
|
|
4614
|
+
formFields.map((field) => /* @__PURE__ */ jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsx(
|
|
4615
|
+
DynamicFormField,
|
|
4616
|
+
{
|
|
4617
|
+
field,
|
|
4618
|
+
uploadProgress,
|
|
4619
|
+
onFileUpload: uploadFiles,
|
|
4620
|
+
onFileRemove: removeFile,
|
|
4621
|
+
isUploading
|
|
4622
|
+
}
|
|
4623
|
+
) }, field.name)),
|
|
4624
|
+
/* @__PURE__ */ jsxs(
|
|
4625
|
+
Pressable,
|
|
4626
|
+
{
|
|
4627
|
+
onClick: form.handleSubmit,
|
|
4628
|
+
asButton: true,
|
|
4629
|
+
variant: action.variant,
|
|
4630
|
+
className: cn("h-12", action.className),
|
|
4631
|
+
disabled: form.isSubmitting,
|
|
4632
|
+
children: [
|
|
4633
|
+
action.label,
|
|
4634
|
+
action.iconAfter
|
|
4635
|
+
]
|
|
4636
|
+
}
|
|
4637
|
+
)
|
|
4638
|
+
] }),
|
|
4639
|
+
helperText && (typeof helperText === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-sm mt-2"), children: helperText }) : helperText)
|
|
4640
|
+
]
|
|
4641
|
+
}
|
|
4642
|
+
);
|
|
4643
|
+
}, [
|
|
4644
|
+
formSlot,
|
|
4645
|
+
formFields,
|
|
4646
|
+
form,
|
|
4647
|
+
formConfig,
|
|
4648
|
+
formMethod,
|
|
4649
|
+
buttonAction,
|
|
4650
|
+
uploadProgress,
|
|
4651
|
+
uploadFiles,
|
|
4652
|
+
removeFile,
|
|
4653
|
+
isUploading,
|
|
4654
|
+
submissionError,
|
|
4655
|
+
successMessage,
|
|
4656
|
+
helperText,
|
|
4657
|
+
resetUpload,
|
|
4658
|
+
resetSubmissionState
|
|
4659
|
+
]);
|
|
4552
4660
|
return /* @__PURE__ */ jsx(
|
|
4553
4661
|
Section,
|
|
4554
4662
|
{
|
|
@@ -4644,58 +4752,7 @@ function FooterSocialNewsletter({
|
|
|
4644
4752
|
]
|
|
4645
4753
|
}
|
|
4646
4754
|
),
|
|
4647
|
-
|
|
4648
|
-
"div",
|
|
4649
|
-
{
|
|
4650
|
-
className: cn(
|
|
4651
|
-
"flex w-full flex-col gap-2 lg:w-auto lg:max-w-md",
|
|
4652
|
-
newsletterClassName
|
|
4653
|
-
),
|
|
4654
|
-
children: [
|
|
4655
|
-
/* @__PURE__ */ jsxs("div", { className: "flex w-full flex-row items-stretch", children: [
|
|
4656
|
-
/* @__PURE__ */ jsx(
|
|
4657
|
-
"input",
|
|
4658
|
-
{
|
|
4659
|
-
type: "email",
|
|
4660
|
-
id: "newsletter-email",
|
|
4661
|
-
placeholder: newsletterPlaceholder || "Enter your email",
|
|
4662
|
-
className: cn(
|
|
4663
|
-
"flex h-10 w-full rounded-l-md rounded-r-none border border-r-0 border-input px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:w-64",
|
|
4664
|
-
newsletterInputClassName
|
|
4665
|
-
)
|
|
4666
|
-
}
|
|
4667
|
-
),
|
|
4668
|
-
newsletterButtonText && /* @__PURE__ */ jsx(
|
|
4669
|
-
Pressable,
|
|
4670
|
-
{
|
|
4671
|
-
onClick: (e) => {
|
|
4672
|
-
e.preventDefault();
|
|
4673
|
-
},
|
|
4674
|
-
variant: "default",
|
|
4675
|
-
size: "icon",
|
|
4676
|
-
asButton: true,
|
|
4677
|
-
className: cn(
|
|
4678
|
-
"rounded-l-none rounded-r-md shrink-0 h-10",
|
|
4679
|
-
newsletterButtonClassName
|
|
4680
|
-
),
|
|
4681
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "feather/send" })
|
|
4682
|
-
}
|
|
4683
|
-
)
|
|
4684
|
-
] }),
|
|
4685
|
-
(privacyConsentText || privacyLinkText) && /* @__PURE__ */ jsxs("p", { className: cn("text-xs opacity-70", privacyClassName), children: [
|
|
4686
|
-
privacyConsentText,
|
|
4687
|
-
privacyLinkText && /* @__PURE__ */ jsx(
|
|
4688
|
-
Pressable,
|
|
4689
|
-
{
|
|
4690
|
-
href: privacyLinkUrl || "#",
|
|
4691
|
-
className: "ml-1 underline hover:opacity-100",
|
|
4692
|
-
children: privacyLinkText
|
|
4693
|
-
}
|
|
4694
|
-
)
|
|
4695
|
-
] })
|
|
4696
|
-
]
|
|
4697
|
-
}
|
|
4698
|
-
)
|
|
4755
|
+
renderForm
|
|
4699
4756
|
]
|
|
4700
4757
|
}
|
|
4701
4758
|
)
|
|
@@ -4855,7 +4912,7 @@ function FooterSimpleCentered({
|
|
|
4855
4912
|
]);
|
|
4856
4913
|
const bottomLinksContent = useMemo(() => {
|
|
4857
4914
|
if (!bottomLinks || bottomLinks.length === 0) return null;
|
|
4858
|
-
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(
|
|
4915
|
+
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(React23.Fragment, { children: /* @__PURE__ */ jsx(
|
|
4859
4916
|
Pressable,
|
|
4860
4917
|
{
|
|
4861
4918
|
href: link.href,
|
|
@@ -7480,7 +7537,7 @@ function AboutInteractiveTabs({
|
|
|
7480
7537
|
pattern,
|
|
7481
7538
|
patternOpacity
|
|
7482
7539
|
}) {
|
|
7483
|
-
const [activeTab, setActiveTab] =
|
|
7540
|
+
const [activeTab, setActiveTab] = React23.useState(tabs?.[0]?.id ?? "");
|
|
7484
7541
|
const activeContent = useMemo(() => {
|
|
7485
7542
|
return tabs?.find((tab) => tab.id === activeTab)?.content;
|
|
7486
7543
|
}, [tabs, activeTab]);
|
|
@@ -11505,7 +11562,7 @@ function CtaVideoBackgroundHero({
|
|
|
11505
11562
|
pattern,
|
|
11506
11563
|
patternOpacity
|
|
11507
11564
|
}) {
|
|
11508
|
-
const [isModalOpen, setIsModalOpen] =
|
|
11565
|
+
const [isModalOpen, setIsModalOpen] = React23.useState(false);
|
|
11509
11566
|
const handleOpenModal = () => {
|
|
11510
11567
|
setIsModalOpen(true);
|
|
11511
11568
|
onModalOpen?.();
|
|
@@ -11693,7 +11750,7 @@ function CtaWorkflowTabs({
|
|
|
11693
11750
|
patternOpacity,
|
|
11694
11751
|
optixFlowConfig
|
|
11695
11752
|
}) {
|
|
11696
|
-
const [activeTab, setActiveTab] =
|
|
11753
|
+
const [activeTab, setActiveTab] = React23.useState(tabs?.[0]?.id || "");
|
|
11697
11754
|
const activeTabData = tabs?.find((tab) => tab.id === activeTab) || tabs?.[0];
|
|
11698
11755
|
const actionsContent = useMemo(() => {
|
|
11699
11756
|
if (actionsSlot) return actionsSlot;
|
|
@@ -12306,7 +12363,7 @@ function ContactFloatingBanner({
|
|
|
12306
12363
|
pattern,
|
|
12307
12364
|
patternOpacity
|
|
12308
12365
|
}) {
|
|
12309
|
-
const actionsContent =
|
|
12366
|
+
const actionsContent = React23.useMemo(() => {
|
|
12310
12367
|
if (actionsSlot) return actionsSlot;
|
|
12311
12368
|
if (actions && actions.length > 0) {
|
|
12312
12369
|
return actions.map((action, index) => {
|
|
@@ -12404,7 +12461,7 @@ function ContactFloatingBanner({
|
|
|
12404
12461
|
}
|
|
12405
12462
|
);
|
|
12406
12463
|
}
|
|
12407
|
-
var
|
|
12464
|
+
var DEFAULT_FORM_FIELDS2 = [
|
|
12408
12465
|
{
|
|
12409
12466
|
name: "name",
|
|
12410
12467
|
type: "text",
|
|
@@ -12537,7 +12594,7 @@ function ContactCallback({
|
|
|
12537
12594
|
onSuccess,
|
|
12538
12595
|
onError
|
|
12539
12596
|
}) {
|
|
12540
|
-
const fields = useMemo(() => formFields ||
|
|
12597
|
+
const fields = useMemo(() => formFields || DEFAULT_FORM_FIELDS2, [formFields]);
|
|
12541
12598
|
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
12542
12599
|
formFields: fields,
|
|
12543
12600
|
formConfig,
|
|
@@ -12665,7 +12722,7 @@ function ContactCallback({
|
|
|
12665
12722
|
}
|
|
12666
12723
|
);
|
|
12667
12724
|
}
|
|
12668
|
-
var
|
|
12725
|
+
var DEFAULT_FORM_FIELDS3 = [
|
|
12669
12726
|
{
|
|
12670
12727
|
name: "firstName",
|
|
12671
12728
|
type: "text",
|
|
@@ -12740,7 +12797,7 @@ function ContactCard({
|
|
|
12740
12797
|
onSuccess,
|
|
12741
12798
|
onError
|
|
12742
12799
|
}) {
|
|
12743
|
-
const fields = useMemo(() => formFields ||
|
|
12800
|
+
const fields = useMemo(() => formFields || DEFAULT_FORM_FIELDS3, [formFields]);
|
|
12744
12801
|
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
12745
12802
|
formFields: fields,
|
|
12746
12803
|
formConfig,
|
|
@@ -12748,7 +12805,7 @@ function ContactCard({
|
|
|
12748
12805
|
onSuccess,
|
|
12749
12806
|
onError
|
|
12750
12807
|
});
|
|
12751
|
-
const actionsContent =
|
|
12808
|
+
const actionsContent = React23.useMemo(() => {
|
|
12752
12809
|
if (actionsSlot) return actionsSlot;
|
|
12753
12810
|
if (actions && actions.length > 0) {
|
|
12754
12811
|
return actions.map((action, index) => {
|
|
@@ -12876,7 +12933,7 @@ function ContactCard({
|
|
|
12876
12933
|
}
|
|
12877
12934
|
);
|
|
12878
12935
|
}
|
|
12879
|
-
var
|
|
12936
|
+
var DEFAULT_FORM_FIELDS4 = [
|
|
12880
12937
|
{
|
|
12881
12938
|
name: "position",
|
|
12882
12939
|
type: "select",
|
|
@@ -13004,7 +13061,7 @@ function ContactCareers({
|
|
|
13004
13061
|
onSuccess,
|
|
13005
13062
|
onError
|
|
13006
13063
|
}) {
|
|
13007
|
-
const fields = useMemo(() => formFields ||
|
|
13064
|
+
const fields = useMemo(() => formFields || DEFAULT_FORM_FIELDS4, [formFields]);
|
|
13008
13065
|
const {
|
|
13009
13066
|
uploadTokens,
|
|
13010
13067
|
uploadProgress,
|
|
@@ -13194,7 +13251,7 @@ var BUDGET_RANGES = [
|
|
|
13194
13251
|
{ value: "100-150", label: "$100-150 / person" },
|
|
13195
13252
|
{ value: "150+", label: "$150+ / person" }
|
|
13196
13253
|
];
|
|
13197
|
-
var
|
|
13254
|
+
var DEFAULT_FORM_FIELDS5 = [
|
|
13198
13255
|
{
|
|
13199
13256
|
name: "eventType",
|
|
13200
13257
|
type: "select",
|
|
@@ -13332,7 +13389,7 @@ function ContactCatering({
|
|
|
13332
13389
|
onSuccess,
|
|
13333
13390
|
onError
|
|
13334
13391
|
}) {
|
|
13335
|
-
const fields = useMemo(() => formFields ||
|
|
13392
|
+
const fields = useMemo(() => formFields || DEFAULT_FORM_FIELDS5, [formFields]);
|
|
13336
13393
|
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
13337
13394
|
formFields: fields,
|
|
13338
13395
|
formConfig,
|
|
@@ -13340,7 +13397,7 @@ function ContactCatering({
|
|
|
13340
13397
|
onSuccess,
|
|
13341
13398
|
onError
|
|
13342
13399
|
});
|
|
13343
|
-
const actionsContent =
|
|
13400
|
+
const actionsContent = React23.useMemo(() => {
|
|
13344
13401
|
if (actionsSlot) return actionsSlot;
|
|
13345
13402
|
if (actions && actions.length > 0) {
|
|
13346
13403
|
return actions.map((action, index) => {
|
|
@@ -13466,7 +13523,7 @@ var BUDGETS = [
|
|
|
13466
13523
|
{ value: "25k-50k", label: "$25,000 - $50,000" },
|
|
13467
13524
|
{ value: "50k-plus", label: "$50,000+" }
|
|
13468
13525
|
];
|
|
13469
|
-
var
|
|
13526
|
+
var DEFAULT_FORM_FIELDS6 = [
|
|
13470
13527
|
{
|
|
13471
13528
|
name: "service",
|
|
13472
13529
|
type: "select",
|
|
@@ -13574,7 +13631,7 @@ function ContactConsultation({
|
|
|
13574
13631
|
onError
|
|
13575
13632
|
}) {
|
|
13576
13633
|
const fields = useMemo(
|
|
13577
|
-
() => formFields ||
|
|
13634
|
+
() => formFields || DEFAULT_FORM_FIELDS6,
|
|
13578
13635
|
[formFields]
|
|
13579
13636
|
);
|
|
13580
13637
|
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
@@ -13584,7 +13641,7 @@ function ContactConsultation({
|
|
|
13584
13641
|
onSuccess,
|
|
13585
13642
|
onError
|
|
13586
13643
|
});
|
|
13587
|
-
const actionsContent =
|
|
13644
|
+
const actionsContent = React23.useMemo(() => {
|
|
13588
13645
|
if (actionsSlot) return actionsSlot;
|
|
13589
13646
|
if (actions && actions.length > 0) {
|
|
13590
13647
|
return actions.map((action, index) => {
|
|
@@ -13689,7 +13746,7 @@ function ContactConsultation({
|
|
|
13689
13746
|
}
|
|
13690
13747
|
);
|
|
13691
13748
|
}
|
|
13692
|
-
var
|
|
13749
|
+
var DEFAULT_FORM_FIELDS7 = [
|
|
13693
13750
|
{
|
|
13694
13751
|
name: "firstName",
|
|
13695
13752
|
type: "text",
|
|
@@ -13737,7 +13794,7 @@ function ContactDark({
|
|
|
13737
13794
|
contactOptionsSlot,
|
|
13738
13795
|
socialLinks,
|
|
13739
13796
|
socialLinksSlot,
|
|
13740
|
-
formFields =
|
|
13797
|
+
formFields = DEFAULT_FORM_FIELDS7,
|
|
13741
13798
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
13742
13799
|
className,
|
|
13743
13800
|
headerClassName,
|
|
@@ -13782,7 +13839,7 @@ function ContactDark({
|
|
|
13782
13839
|
resetOnSuccess: formConfig?.resetOnSuccess !== false,
|
|
13783
13840
|
uploadTokens
|
|
13784
13841
|
});
|
|
13785
|
-
const actionsContent =
|
|
13842
|
+
const actionsContent = React23.useMemo(() => {
|
|
13786
13843
|
if (actionsSlot) return actionsSlot;
|
|
13787
13844
|
if (actions && actions.length > 0) {
|
|
13788
13845
|
return actions.map((action, index) => {
|
|
@@ -13812,7 +13869,7 @@ function ContactDark({
|
|
|
13812
13869
|
}
|
|
13813
13870
|
return null;
|
|
13814
13871
|
}, [actionsSlot, actions]);
|
|
13815
|
-
const contactOptionsContent =
|
|
13872
|
+
const contactOptionsContent = React23.useMemo(() => {
|
|
13816
13873
|
if (contactOptionsSlot) return contactOptionsSlot;
|
|
13817
13874
|
if (contactOptions && contactOptions.length > 0) {
|
|
13818
13875
|
return contactOptions.map((option, key) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -13836,7 +13893,7 @@ function ContactDark({
|
|
|
13836
13893
|
}
|
|
13837
13894
|
return null;
|
|
13838
13895
|
}, [contactOptionsSlot, contactOptions]);
|
|
13839
|
-
const socialLinksContent =
|
|
13896
|
+
const socialLinksContent = React23.useMemo(() => {
|
|
13840
13897
|
if (socialLinksSlot) return socialLinksSlot;
|
|
13841
13898
|
if (socialLinks && socialLinks.length > 0) {
|
|
13842
13899
|
return socialLinks.map((social, key) => /* @__PURE__ */ jsx(
|
|
@@ -13987,7 +14044,7 @@ function ContactDark({
|
|
|
13987
14044
|
}
|
|
13988
14045
|
);
|
|
13989
14046
|
}
|
|
13990
|
-
var
|
|
14047
|
+
var DEFAULT_FORM_FIELDS8 = [
|
|
13991
14048
|
{
|
|
13992
14049
|
name: "first_name",
|
|
13993
14050
|
type: "text",
|
|
@@ -14037,7 +14094,7 @@ function ContactDemo({
|
|
|
14037
14094
|
buttonIcon,
|
|
14038
14095
|
actions,
|
|
14039
14096
|
actionsSlot,
|
|
14040
|
-
formFields =
|
|
14097
|
+
formFields = DEFAULT_FORM_FIELDS8,
|
|
14041
14098
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
14042
14099
|
className,
|
|
14043
14100
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -14223,7 +14280,7 @@ var PRIORITIES = [
|
|
|
14223
14280
|
response: "24 hours"
|
|
14224
14281
|
}
|
|
14225
14282
|
];
|
|
14226
|
-
var
|
|
14283
|
+
var DEFAULT_FORM_FIELDS9 = [
|
|
14227
14284
|
{
|
|
14228
14285
|
name: "priority",
|
|
14229
14286
|
type: "radio",
|
|
@@ -14281,7 +14338,7 @@ function ContactEmergency({
|
|
|
14281
14338
|
buttonIcon,
|
|
14282
14339
|
actions,
|
|
14283
14340
|
actionsSlot,
|
|
14284
|
-
formFields =
|
|
14341
|
+
formFields = DEFAULT_FORM_FIELDS9,
|
|
14285
14342
|
successMessage = "Thank you! Your emergency request has been received.",
|
|
14286
14343
|
className,
|
|
14287
14344
|
headerClassName,
|
|
@@ -14514,7 +14571,7 @@ function ContactEmergency({
|
|
|
14514
14571
|
}
|
|
14515
14572
|
);
|
|
14516
14573
|
}
|
|
14517
|
-
var
|
|
14574
|
+
var DEFAULT_FORM_FIELDS10 = [
|
|
14518
14575
|
{
|
|
14519
14576
|
name: "first_name",
|
|
14520
14577
|
type: "text",
|
|
@@ -14564,7 +14621,7 @@ function ContactEvent({
|
|
|
14564
14621
|
buttonIcon,
|
|
14565
14622
|
actions,
|
|
14566
14623
|
actionsSlot,
|
|
14567
|
-
formFields =
|
|
14624
|
+
formFields = DEFAULT_FORM_FIELDS10,
|
|
14568
14625
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
14569
14626
|
className,
|
|
14570
14627
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -14790,7 +14847,7 @@ function AccordionContent({
|
|
|
14790
14847
|
}
|
|
14791
14848
|
);
|
|
14792
14849
|
}
|
|
14793
|
-
var
|
|
14850
|
+
var DEFAULT_FORM_FIELDS11 = [
|
|
14794
14851
|
{
|
|
14795
14852
|
name: "name",
|
|
14796
14853
|
type: "text",
|
|
@@ -14836,7 +14893,7 @@ function ContactFaq({
|
|
|
14836
14893
|
items,
|
|
14837
14894
|
itemsSlot,
|
|
14838
14895
|
faqHeading,
|
|
14839
|
-
formFields =
|
|
14896
|
+
formFields = DEFAULT_FORM_FIELDS11,
|
|
14840
14897
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
14841
14898
|
className,
|
|
14842
14899
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -15089,7 +15146,7 @@ function ContactFaq({
|
|
|
15089
15146
|
}
|
|
15090
15147
|
);
|
|
15091
15148
|
}
|
|
15092
|
-
var
|
|
15149
|
+
var DEFAULT_FORM_FIELDS12 = [
|
|
15093
15150
|
{
|
|
15094
15151
|
name: "first_name",
|
|
15095
15152
|
type: "text",
|
|
@@ -15139,7 +15196,7 @@ function ContactFeedback({
|
|
|
15139
15196
|
buttonIcon,
|
|
15140
15197
|
actions,
|
|
15141
15198
|
actionsSlot,
|
|
15142
|
-
formFields =
|
|
15199
|
+
formFields = DEFAULT_FORM_FIELDS12,
|
|
15143
15200
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
15144
15201
|
className,
|
|
15145
15202
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -15305,7 +15362,7 @@ function ContactFeedback({
|
|
|
15305
15362
|
}
|
|
15306
15363
|
);
|
|
15307
15364
|
}
|
|
15308
|
-
var
|
|
15365
|
+
var DEFAULT_FORM_FIELDS13 = [
|
|
15309
15366
|
{
|
|
15310
15367
|
name: "first_name",
|
|
15311
15368
|
type: "text",
|
|
@@ -15355,7 +15412,7 @@ function ContactFitness({
|
|
|
15355
15412
|
buttonIcon,
|
|
15356
15413
|
actions,
|
|
15357
15414
|
actionsSlot,
|
|
15358
|
-
formFields =
|
|
15415
|
+
formFields = DEFAULT_FORM_FIELDS13,
|
|
15359
15416
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
15360
15417
|
className,
|
|
15361
15418
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -15521,7 +15578,7 @@ function ContactFitness({
|
|
|
15521
15578
|
}
|
|
15522
15579
|
);
|
|
15523
15580
|
}
|
|
15524
|
-
var
|
|
15581
|
+
var DEFAULT_FORM_FIELDS14 = [
|
|
15525
15582
|
{
|
|
15526
15583
|
name: "first_name",
|
|
15527
15584
|
type: "text",
|
|
@@ -15571,7 +15628,7 @@ function ContactGuest({
|
|
|
15571
15628
|
buttonIcon,
|
|
15572
15629
|
actions,
|
|
15573
15630
|
actionsSlot,
|
|
15574
|
-
formFields =
|
|
15631
|
+
formFields = DEFAULT_FORM_FIELDS14,
|
|
15575
15632
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
15576
15633
|
className,
|
|
15577
15634
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -15737,7 +15794,7 @@ function ContactGuest({
|
|
|
15737
15794
|
}
|
|
15738
15795
|
);
|
|
15739
15796
|
}
|
|
15740
|
-
var
|
|
15797
|
+
var DEFAULT_FORM_FIELDS15 = [
|
|
15741
15798
|
{
|
|
15742
15799
|
name: "first_name",
|
|
15743
15800
|
type: "text",
|
|
@@ -15787,7 +15844,7 @@ function ContactImage({
|
|
|
15787
15844
|
buttonIcon,
|
|
15788
15845
|
actions,
|
|
15789
15846
|
actionsSlot,
|
|
15790
|
-
formFields =
|
|
15847
|
+
formFields = DEFAULT_FORM_FIELDS15,
|
|
15791
15848
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
15792
15849
|
className,
|
|
15793
15850
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -15953,7 +16010,7 @@ function ContactImage({
|
|
|
15953
16010
|
}
|
|
15954
16011
|
);
|
|
15955
16012
|
}
|
|
15956
|
-
var
|
|
16013
|
+
var DEFAULT_FORM_FIELDS16 = [
|
|
15957
16014
|
{
|
|
15958
16015
|
name: "first_name",
|
|
15959
16016
|
type: "text",
|
|
@@ -16003,7 +16060,7 @@ function ContactInsurance({
|
|
|
16003
16060
|
buttonIcon,
|
|
16004
16061
|
actions,
|
|
16005
16062
|
actionsSlot,
|
|
16006
|
-
formFields =
|
|
16063
|
+
formFields = DEFAULT_FORM_FIELDS16,
|
|
16007
16064
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
16008
16065
|
className,
|
|
16009
16066
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -16169,7 +16226,7 @@ function ContactInsurance({
|
|
|
16169
16226
|
}
|
|
16170
16227
|
);
|
|
16171
16228
|
}
|
|
16172
|
-
var
|
|
16229
|
+
var DEFAULT_FORM_FIELDS17 = [
|
|
16173
16230
|
{
|
|
16174
16231
|
name: "first_name",
|
|
16175
16232
|
type: "text",
|
|
@@ -16219,7 +16276,7 @@ function ContactInterview({
|
|
|
16219
16276
|
buttonIcon,
|
|
16220
16277
|
actions,
|
|
16221
16278
|
actionsSlot,
|
|
16222
|
-
formFields =
|
|
16279
|
+
formFields = DEFAULT_FORM_FIELDS17,
|
|
16223
16280
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
16224
16281
|
className,
|
|
16225
16282
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -16385,7 +16442,7 @@ function ContactInterview({
|
|
|
16385
16442
|
}
|
|
16386
16443
|
);
|
|
16387
16444
|
}
|
|
16388
|
-
var
|
|
16445
|
+
var DEFAULT_FORM_FIELDS18 = [
|
|
16389
16446
|
{
|
|
16390
16447
|
name: "first_name",
|
|
16391
16448
|
type: "text",
|
|
@@ -16435,7 +16492,7 @@ function ContactLocations({
|
|
|
16435
16492
|
buttonIcon,
|
|
16436
16493
|
actions,
|
|
16437
16494
|
actionsSlot,
|
|
16438
|
-
formFields =
|
|
16495
|
+
formFields = DEFAULT_FORM_FIELDS18,
|
|
16439
16496
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
16440
16497
|
className,
|
|
16441
16498
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -16601,7 +16658,7 @@ function ContactLocations({
|
|
|
16601
16658
|
}
|
|
16602
16659
|
);
|
|
16603
16660
|
}
|
|
16604
|
-
var
|
|
16661
|
+
var DEFAULT_FORM_FIELDS19 = [
|
|
16605
16662
|
{
|
|
16606
16663
|
name: "first_name",
|
|
16607
16664
|
type: "text",
|
|
@@ -16651,7 +16708,7 @@ function ContactMaintenance({
|
|
|
16651
16708
|
buttonIcon,
|
|
16652
16709
|
actions,
|
|
16653
16710
|
actionsSlot,
|
|
16654
|
-
formFields =
|
|
16711
|
+
formFields = DEFAULT_FORM_FIELDS19,
|
|
16655
16712
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
16656
16713
|
className,
|
|
16657
16714
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -16817,7 +16874,7 @@ function ContactMaintenance({
|
|
|
16817
16874
|
}
|
|
16818
16875
|
);
|
|
16819
16876
|
}
|
|
16820
|
-
var
|
|
16877
|
+
var DEFAULT_FORM_FIELDS20 = [
|
|
16821
16878
|
{
|
|
16822
16879
|
name: "first_name",
|
|
16823
16880
|
type: "text",
|
|
@@ -16867,7 +16924,7 @@ function ContactMap({
|
|
|
16867
16924
|
buttonIcon,
|
|
16868
16925
|
actions,
|
|
16869
16926
|
actionsSlot,
|
|
16870
|
-
formFields =
|
|
16927
|
+
formFields = DEFAULT_FORM_FIELDS20,
|
|
16871
16928
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
16872
16929
|
className,
|
|
16873
16930
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -17033,7 +17090,7 @@ function ContactMap({
|
|
|
17033
17090
|
}
|
|
17034
17091
|
);
|
|
17035
17092
|
}
|
|
17036
|
-
var
|
|
17093
|
+
var DEFAULT_FORM_FIELDS21 = [
|
|
17037
17094
|
{
|
|
17038
17095
|
name: "first_name",
|
|
17039
17096
|
type: "text",
|
|
@@ -17083,7 +17140,7 @@ function ContactMinimal({
|
|
|
17083
17140
|
buttonIcon,
|
|
17084
17141
|
actions,
|
|
17085
17142
|
actionsSlot,
|
|
17086
|
-
formFields =
|
|
17143
|
+
formFields = DEFAULT_FORM_FIELDS21,
|
|
17087
17144
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
17088
17145
|
className,
|
|
17089
17146
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -17249,7 +17306,7 @@ function ContactMinimal({
|
|
|
17249
17306
|
}
|
|
17250
17307
|
);
|
|
17251
17308
|
}
|
|
17252
|
-
var
|
|
17309
|
+
var DEFAULT_FORM_FIELDS22 = [
|
|
17253
17310
|
{
|
|
17254
17311
|
name: "first_name",
|
|
17255
17312
|
type: "text",
|
|
@@ -17299,7 +17356,7 @@ function ContactMoving({
|
|
|
17299
17356
|
buttonIcon,
|
|
17300
17357
|
actions,
|
|
17301
17358
|
actionsSlot,
|
|
17302
|
-
formFields =
|
|
17359
|
+
formFields = DEFAULT_FORM_FIELDS22,
|
|
17303
17360
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
17304
17361
|
className,
|
|
17305
17362
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -17465,7 +17522,7 @@ function ContactMoving({
|
|
|
17465
17522
|
}
|
|
17466
17523
|
);
|
|
17467
17524
|
}
|
|
17468
|
-
var
|
|
17525
|
+
var DEFAULT_FORM_FIELDS23 = [
|
|
17469
17526
|
{
|
|
17470
17527
|
name: "first_name",
|
|
17471
17528
|
type: "text",
|
|
@@ -17515,7 +17572,7 @@ function ContactMultistep({
|
|
|
17515
17572
|
buttonIcon,
|
|
17516
17573
|
actions,
|
|
17517
17574
|
actionsSlot,
|
|
17518
|
-
formFields =
|
|
17575
|
+
formFields = DEFAULT_FORM_FIELDS23,
|
|
17519
17576
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
17520
17577
|
className,
|
|
17521
17578
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -17681,7 +17738,7 @@ function ContactMultistep({
|
|
|
17681
17738
|
}
|
|
17682
17739
|
);
|
|
17683
17740
|
}
|
|
17684
|
-
var
|
|
17741
|
+
var DEFAULT_FORM_FIELDS24 = [
|
|
17685
17742
|
{
|
|
17686
17743
|
name: "first_name",
|
|
17687
17744
|
type: "text",
|
|
@@ -17731,7 +17788,7 @@ function ContactPartnership({
|
|
|
17731
17788
|
buttonIcon,
|
|
17732
17789
|
actions,
|
|
17733
17790
|
actionsSlot,
|
|
17734
|
-
formFields =
|
|
17791
|
+
formFields = DEFAULT_FORM_FIELDS24,
|
|
17735
17792
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
17736
17793
|
className,
|
|
17737
17794
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -17897,7 +17954,7 @@ function ContactPartnership({
|
|
|
17897
17954
|
}
|
|
17898
17955
|
);
|
|
17899
17956
|
}
|
|
17900
|
-
var
|
|
17957
|
+
var DEFAULT_FORM_FIELDS25 = [
|
|
17901
17958
|
{
|
|
17902
17959
|
name: "first_name",
|
|
17903
17960
|
type: "text",
|
|
@@ -17947,7 +18004,7 @@ function ContactPhotography({
|
|
|
17947
18004
|
buttonIcon,
|
|
17948
18005
|
actions,
|
|
17949
18006
|
actionsSlot,
|
|
17950
|
-
formFields =
|
|
18007
|
+
formFields = DEFAULT_FORM_FIELDS25,
|
|
17951
18008
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
17952
18009
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
17953
18010
|
className,
|
|
@@ -18138,7 +18195,7 @@ function ContactPhotography({
|
|
|
18138
18195
|
}
|
|
18139
18196
|
);
|
|
18140
18197
|
}
|
|
18141
|
-
var
|
|
18198
|
+
var DEFAULT_FORM_FIELDS26 = [
|
|
18142
18199
|
{
|
|
18143
18200
|
name: "first_name",
|
|
18144
18201
|
type: "text",
|
|
@@ -18188,7 +18245,7 @@ function ContactPress({
|
|
|
18188
18245
|
buttonIcon,
|
|
18189
18246
|
actions,
|
|
18190
18247
|
actionsSlot,
|
|
18191
|
-
formFields =
|
|
18248
|
+
formFields = DEFAULT_FORM_FIELDS26,
|
|
18192
18249
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
18193
18250
|
className,
|
|
18194
18251
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -18354,7 +18411,7 @@ function ContactPress({
|
|
|
18354
18411
|
}
|
|
18355
18412
|
);
|
|
18356
18413
|
}
|
|
18357
|
-
var
|
|
18414
|
+
var DEFAULT_FORM_FIELDS27 = [
|
|
18358
18415
|
{
|
|
18359
18416
|
name: "first_name",
|
|
18360
18417
|
type: "text",
|
|
@@ -18404,7 +18461,7 @@ function ContactQuote({
|
|
|
18404
18461
|
buttonIcon,
|
|
18405
18462
|
actions,
|
|
18406
18463
|
actionsSlot,
|
|
18407
|
-
formFields =
|
|
18464
|
+
formFields = DEFAULT_FORM_FIELDS27,
|
|
18408
18465
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
18409
18466
|
className,
|
|
18410
18467
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -18570,7 +18627,7 @@ function ContactQuote({
|
|
|
18570
18627
|
}
|
|
18571
18628
|
);
|
|
18572
18629
|
}
|
|
18573
|
-
var
|
|
18630
|
+
var DEFAULT_FORM_FIELDS28 = [
|
|
18574
18631
|
{
|
|
18575
18632
|
name: "first_name",
|
|
18576
18633
|
type: "text",
|
|
@@ -18620,7 +18677,7 @@ function ContactReferral({
|
|
|
18620
18677
|
buttonIcon,
|
|
18621
18678
|
actions,
|
|
18622
18679
|
actionsSlot,
|
|
18623
|
-
formFields =
|
|
18680
|
+
formFields = DEFAULT_FORM_FIELDS28,
|
|
18624
18681
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
18625
18682
|
className,
|
|
18626
18683
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -18786,7 +18843,7 @@ function ContactReferral({
|
|
|
18786
18843
|
}
|
|
18787
18844
|
);
|
|
18788
18845
|
}
|
|
18789
|
-
var
|
|
18846
|
+
var DEFAULT_FORM_FIELDS29 = [
|
|
18790
18847
|
{
|
|
18791
18848
|
name: "first_name",
|
|
18792
18849
|
type: "text",
|
|
@@ -18836,7 +18893,7 @@ function ContactReport({
|
|
|
18836
18893
|
buttonIcon,
|
|
18837
18894
|
actions,
|
|
18838
18895
|
actionsSlot,
|
|
18839
|
-
formFields =
|
|
18896
|
+
formFields = DEFAULT_FORM_FIELDS29,
|
|
18840
18897
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
18841
18898
|
className,
|
|
18842
18899
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -19002,7 +19059,7 @@ function ContactReport({
|
|
|
19002
19059
|
}
|
|
19003
19060
|
);
|
|
19004
19061
|
}
|
|
19005
|
-
var
|
|
19062
|
+
var DEFAULT_FORM_FIELDS30 = [
|
|
19006
19063
|
{
|
|
19007
19064
|
name: "first_name",
|
|
19008
19065
|
type: "text",
|
|
@@ -19052,7 +19109,7 @@ function ContactReservation({
|
|
|
19052
19109
|
buttonIcon,
|
|
19053
19110
|
actions,
|
|
19054
19111
|
actionsSlot,
|
|
19055
|
-
formFields =
|
|
19112
|
+
formFields = DEFAULT_FORM_FIELDS30,
|
|
19056
19113
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
19057
19114
|
className,
|
|
19058
19115
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -19218,7 +19275,7 @@ function ContactReservation({
|
|
|
19218
19275
|
}
|
|
19219
19276
|
);
|
|
19220
19277
|
}
|
|
19221
|
-
var
|
|
19278
|
+
var DEFAULT_FORM_FIELDS31 = [
|
|
19222
19279
|
{
|
|
19223
19280
|
name: "first_name",
|
|
19224
19281
|
type: "text",
|
|
@@ -19268,7 +19325,7 @@ function ContactRetreat({
|
|
|
19268
19325
|
buttonIcon,
|
|
19269
19326
|
actions,
|
|
19270
19327
|
actionsSlot,
|
|
19271
|
-
formFields =
|
|
19328
|
+
formFields = DEFAULT_FORM_FIELDS31,
|
|
19272
19329
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
19273
19330
|
className,
|
|
19274
19331
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -19434,7 +19491,7 @@ function ContactRetreat({
|
|
|
19434
19491
|
}
|
|
19435
19492
|
);
|
|
19436
19493
|
}
|
|
19437
|
-
var
|
|
19494
|
+
var DEFAULT_FORM_FIELDS32 = [
|
|
19438
19495
|
{
|
|
19439
19496
|
name: "first_name",
|
|
19440
19497
|
type: "text",
|
|
@@ -19484,7 +19541,7 @@ function ContactRsvp({
|
|
|
19484
19541
|
buttonIcon,
|
|
19485
19542
|
actions,
|
|
19486
19543
|
actionsSlot,
|
|
19487
|
-
formFields =
|
|
19544
|
+
formFields = DEFAULT_FORM_FIELDS32,
|
|
19488
19545
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
19489
19546
|
className,
|
|
19490
19547
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -19650,7 +19707,7 @@ function ContactRsvp({
|
|
|
19650
19707
|
}
|
|
19651
19708
|
);
|
|
19652
19709
|
}
|
|
19653
|
-
var
|
|
19710
|
+
var DEFAULT_FORM_FIELDS33 = [
|
|
19654
19711
|
{
|
|
19655
19712
|
name: "first_name",
|
|
19656
19713
|
type: "text",
|
|
@@ -19700,7 +19757,7 @@ function ContactSales({
|
|
|
19700
19757
|
buttonIcon,
|
|
19701
19758
|
actions,
|
|
19702
19759
|
actionsSlot,
|
|
19703
|
-
formFields =
|
|
19760
|
+
formFields = DEFAULT_FORM_FIELDS33,
|
|
19704
19761
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
19705
19762
|
className,
|
|
19706
19763
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -19866,7 +19923,7 @@ function ContactSales({
|
|
|
19866
19923
|
}
|
|
19867
19924
|
);
|
|
19868
19925
|
}
|
|
19869
|
-
var
|
|
19926
|
+
var DEFAULT_FORM_FIELDS34 = [
|
|
19870
19927
|
{
|
|
19871
19928
|
name: "first_name",
|
|
19872
19929
|
type: "text",
|
|
@@ -19916,7 +19973,7 @@ function ContactSchedule({
|
|
|
19916
19973
|
buttonIcon,
|
|
19917
19974
|
actions,
|
|
19918
19975
|
actionsSlot,
|
|
19919
|
-
formFields =
|
|
19976
|
+
formFields = DEFAULT_FORM_FIELDS34,
|
|
19920
19977
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
19921
19978
|
className,
|
|
19922
19979
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -20082,7 +20139,7 @@ function ContactSchedule({
|
|
|
20082
20139
|
}
|
|
20083
20140
|
);
|
|
20084
20141
|
}
|
|
20085
|
-
var
|
|
20142
|
+
var DEFAULT_FORM_FIELDS35 = [
|
|
20086
20143
|
{
|
|
20087
20144
|
name: "first_name",
|
|
20088
20145
|
type: "text",
|
|
@@ -20132,7 +20189,7 @@ function ContactSponsorship({
|
|
|
20132
20189
|
buttonIcon,
|
|
20133
20190
|
actions,
|
|
20134
20191
|
actionsSlot,
|
|
20135
|
-
formFields =
|
|
20192
|
+
formFields = DEFAULT_FORM_FIELDS35,
|
|
20136
20193
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
20137
20194
|
className,
|
|
20138
20195
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -20298,7 +20355,7 @@ function ContactSponsorship({
|
|
|
20298
20355
|
}
|
|
20299
20356
|
);
|
|
20300
20357
|
}
|
|
20301
|
-
var
|
|
20358
|
+
var DEFAULT_FORM_FIELDS36 = [
|
|
20302
20359
|
{
|
|
20303
20360
|
name: "first_name",
|
|
20304
20361
|
type: "text",
|
|
@@ -20348,7 +20405,7 @@ function ContactSupport({
|
|
|
20348
20405
|
buttonIcon,
|
|
20349
20406
|
actions,
|
|
20350
20407
|
actionsSlot,
|
|
20351
|
-
formFields =
|
|
20408
|
+
formFields = DEFAULT_FORM_FIELDS36,
|
|
20352
20409
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
20353
20410
|
className,
|
|
20354
20411
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -20514,7 +20571,7 @@ function ContactSupport({
|
|
|
20514
20571
|
}
|
|
20515
20572
|
);
|
|
20516
20573
|
}
|
|
20517
|
-
var
|
|
20574
|
+
var DEFAULT_FORM_FIELDS37 = [
|
|
20518
20575
|
{
|
|
20519
20576
|
name: "first_name",
|
|
20520
20577
|
type: "text",
|
|
@@ -20564,7 +20621,7 @@ function ContactTenant({
|
|
|
20564
20621
|
buttonIcon,
|
|
20565
20622
|
actions,
|
|
20566
20623
|
actionsSlot,
|
|
20567
|
-
formFields =
|
|
20624
|
+
formFields = DEFAULT_FORM_FIELDS37,
|
|
20568
20625
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
20569
20626
|
className,
|
|
20570
20627
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -20730,7 +20787,7 @@ function ContactTenant({
|
|
|
20730
20787
|
}
|
|
20731
20788
|
);
|
|
20732
20789
|
}
|
|
20733
|
-
var
|
|
20790
|
+
var DEFAULT_FORM_FIELDS38 = [
|
|
20734
20791
|
{
|
|
20735
20792
|
name: "first_name",
|
|
20736
20793
|
type: "text",
|
|
@@ -20780,7 +20837,7 @@ function ContactVendor({
|
|
|
20780
20837
|
buttonIcon,
|
|
20781
20838
|
actions,
|
|
20782
20839
|
actionsSlot,
|
|
20783
|
-
formFields =
|
|
20840
|
+
formFields = DEFAULT_FORM_FIELDS38,
|
|
20784
20841
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
20785
20842
|
className,
|
|
20786
20843
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -20946,7 +21003,7 @@ function ContactVendor({
|
|
|
20946
21003
|
}
|
|
20947
21004
|
);
|
|
20948
21005
|
}
|
|
20949
|
-
var
|
|
21006
|
+
var DEFAULT_FORM_FIELDS39 = [
|
|
20950
21007
|
{
|
|
20951
21008
|
name: "first_name",
|
|
20952
21009
|
type: "text",
|
|
@@ -20996,7 +21053,7 @@ function ContactVolunteer({
|
|
|
20996
21053
|
buttonIcon,
|
|
20997
21054
|
actions,
|
|
20998
21055
|
actionsSlot,
|
|
20999
|
-
formFields =
|
|
21056
|
+
formFields = DEFAULT_FORM_FIELDS39,
|
|
21000
21057
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
21001
21058
|
className,
|
|
21002
21059
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -21162,7 +21219,7 @@ function ContactVolunteer({
|
|
|
21162
21219
|
}
|
|
21163
21220
|
);
|
|
21164
21221
|
}
|
|
21165
|
-
var
|
|
21222
|
+
var DEFAULT_FORM_FIELDS40 = [
|
|
21166
21223
|
{
|
|
21167
21224
|
name: "first_name",
|
|
21168
21225
|
type: "text",
|
|
@@ -21212,7 +21269,7 @@ function ContactWarranty({
|
|
|
21212
21269
|
buttonIcon,
|
|
21213
21270
|
actions,
|
|
21214
21271
|
actionsSlot,
|
|
21215
|
-
formFields =
|
|
21272
|
+
formFields = DEFAULT_FORM_FIELDS40,
|
|
21216
21273
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
21217
21274
|
className,
|
|
21218
21275
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -21378,7 +21435,7 @@ function ContactWarranty({
|
|
|
21378
21435
|
}
|
|
21379
21436
|
);
|
|
21380
21437
|
}
|
|
21381
|
-
var
|
|
21438
|
+
var DEFAULT_FORM_FIELDS41 = [
|
|
21382
21439
|
{
|
|
21383
21440
|
name: "first_name",
|
|
21384
21441
|
type: "text",
|
|
@@ -21428,7 +21485,7 @@ function ContactWedding({
|
|
|
21428
21485
|
buttonIcon,
|
|
21429
21486
|
actions,
|
|
21430
21487
|
actionsSlot,
|
|
21431
|
-
formFields =
|
|
21488
|
+
formFields = DEFAULT_FORM_FIELDS41,
|
|
21432
21489
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
21433
21490
|
className,
|
|
21434
21491
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -21708,16 +21765,16 @@ function CarouselAnimatedSections({
|
|
|
21708
21765
|
pattern = "diagonalCrossBasic",
|
|
21709
21766
|
patternOpacity = 0.033
|
|
21710
21767
|
}) {
|
|
21711
|
-
const [currentIndex, setCurrentIndex] =
|
|
21712
|
-
const [direction, setDirection] =
|
|
21713
|
-
const [isAnimating, setIsAnimating] =
|
|
21714
|
-
const goToNext =
|
|
21768
|
+
const [currentIndex, setCurrentIndex] = React23.useState(0);
|
|
21769
|
+
const [direction, setDirection] = React23.useState(0);
|
|
21770
|
+
const [isAnimating, setIsAnimating] = React23.useState(false);
|
|
21771
|
+
const goToNext = React23.useCallback(() => {
|
|
21715
21772
|
if (isAnimating || currentIndex >= (sections?.length ?? 0) - 1) return;
|
|
21716
21773
|
setIsAnimating(true);
|
|
21717
21774
|
setDirection(1);
|
|
21718
21775
|
setCurrentIndex((prev) => prev + 1);
|
|
21719
21776
|
}, [currentIndex, isAnimating, sections?.length]);
|
|
21720
|
-
const goToPrev =
|
|
21777
|
+
const goToPrev = React23.useCallback(() => {
|
|
21721
21778
|
if (isAnimating || currentIndex <= 0) return;
|
|
21722
21779
|
setIsAnimating(true);
|
|
21723
21780
|
setDirection(-1);
|
|
@@ -21729,7 +21786,7 @@ function CarouselAnimatedSections({
|
|
|
21729
21786
|
setDirection(index > currentIndex ? 1 : -1);
|
|
21730
21787
|
setCurrentIndex(index);
|
|
21731
21788
|
};
|
|
21732
|
-
|
|
21789
|
+
React23.useEffect(() => {
|
|
21733
21790
|
const handleKeyDown = (e) => {
|
|
21734
21791
|
if (e.key === "ArrowDown" || e.key === "ArrowRight") {
|
|
21735
21792
|
goToNext();
|
|
@@ -21755,7 +21812,7 @@ function CarouselAnimatedSections({
|
|
|
21755
21812
|
})
|
|
21756
21813
|
};
|
|
21757
21814
|
const currentSection = sections?.[currentIndex];
|
|
21758
|
-
const actionElements =
|
|
21815
|
+
const actionElements = React23.useMemo(() => {
|
|
21759
21816
|
if (actionsSlot) return actionsSlot;
|
|
21760
21817
|
if (actions && actions.length > 0) {
|
|
21761
21818
|
return actions.map((action, index) => /* @__PURE__ */ jsxs(
|
|
@@ -22003,11 +22060,11 @@ function CarouselAutoProgressSlides({
|
|
|
22003
22060
|
pattern,
|
|
22004
22061
|
patternOpacity
|
|
22005
22062
|
}) {
|
|
22006
|
-
const [currentIndex, setCurrentIndex] =
|
|
22063
|
+
const [currentIndex, setCurrentIndex] = React23.useState(0);
|
|
22007
22064
|
const progress = useMotionValue(100);
|
|
22008
|
-
const [direction, setDirection] =
|
|
22065
|
+
const [direction, setDirection] = React23.useState(1);
|
|
22009
22066
|
const clipPath = useMotionTemplate`inset(0 ${progress}% 0 0 round 10px)`;
|
|
22010
|
-
|
|
22067
|
+
React23.useEffect(() => {
|
|
22011
22068
|
const interval = setInterval(() => {
|
|
22012
22069
|
const currentProgress = progress.get();
|
|
22013
22070
|
if (currentProgress > 0) {
|
|
@@ -22186,22 +22243,22 @@ function CarouselAutoProgressSlides({
|
|
|
22186
22243
|
);
|
|
22187
22244
|
}
|
|
22188
22245
|
function useDotButton(emblaApi) {
|
|
22189
|
-
const [selectedIndex, setSelectedIndex] =
|
|
22190
|
-
const [scrollSnaps, setScrollSnaps] =
|
|
22191
|
-
const onDotButtonClick =
|
|
22246
|
+
const [selectedIndex, setSelectedIndex] = React23.useState(0);
|
|
22247
|
+
const [scrollSnaps, setScrollSnaps] = React23.useState([]);
|
|
22248
|
+
const onDotButtonClick = React23.useCallback(
|
|
22192
22249
|
(index) => {
|
|
22193
22250
|
if (!emblaApi) return;
|
|
22194
22251
|
emblaApi.scrollTo(index);
|
|
22195
22252
|
},
|
|
22196
22253
|
[emblaApi]
|
|
22197
22254
|
);
|
|
22198
|
-
const onInit =
|
|
22255
|
+
const onInit = React23.useCallback((api) => {
|
|
22199
22256
|
setScrollSnaps(api.scrollSnapList());
|
|
22200
22257
|
}, []);
|
|
22201
|
-
const onSelect =
|
|
22258
|
+
const onSelect = React23.useCallback((api) => {
|
|
22202
22259
|
setSelectedIndex(api.selectedScrollSnap());
|
|
22203
22260
|
}, []);
|
|
22204
|
-
|
|
22261
|
+
React23.useEffect(() => {
|
|
22205
22262
|
if (!emblaApi) return;
|
|
22206
22263
|
onInit(emblaApi);
|
|
22207
22264
|
onSelect(emblaApi);
|
|
@@ -22210,8 +22267,8 @@ function useDotButton(emblaApi) {
|
|
|
22210
22267
|
return { selectedIndex, scrollSnaps, onDotButtonClick };
|
|
22211
22268
|
}
|
|
22212
22269
|
function useAutoplay(emblaApi) {
|
|
22213
|
-
const [autoplayIsPlaying, setAutoplayIsPlaying] =
|
|
22214
|
-
const onAutoplayButtonClick =
|
|
22270
|
+
const [autoplayIsPlaying, setAutoplayIsPlaying] = React23.useState(false);
|
|
22271
|
+
const onAutoplayButtonClick = React23.useCallback(
|
|
22215
22272
|
(callback) => {
|
|
22216
22273
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
22217
22274
|
if (!autoplay) return;
|
|
@@ -22221,13 +22278,13 @@ function useAutoplay(emblaApi) {
|
|
|
22221
22278
|
},
|
|
22222
22279
|
[emblaApi]
|
|
22223
22280
|
);
|
|
22224
|
-
const toggleAutoplay =
|
|
22281
|
+
const toggleAutoplay = React23.useCallback(() => {
|
|
22225
22282
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
22226
22283
|
if (!autoplay) return;
|
|
22227
22284
|
const playOrStop = autoplay.isPlaying() ? autoplay.stop : autoplay.play;
|
|
22228
22285
|
playOrStop();
|
|
22229
22286
|
}, [emblaApi]);
|
|
22230
|
-
|
|
22287
|
+
React23.useEffect(() => {
|
|
22231
22288
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
22232
22289
|
if (!autoplay) return;
|
|
22233
22290
|
setAutoplayIsPlaying(autoplay.isPlaying());
|
|
@@ -22236,11 +22293,11 @@ function useAutoplay(emblaApi) {
|
|
|
22236
22293
|
return { autoplayIsPlaying, toggleAutoplay, onAutoplayButtonClick };
|
|
22237
22294
|
}
|
|
22238
22295
|
function useAutoplayProgress(emblaApi, progressNode) {
|
|
22239
|
-
const [showAutoplayProgress, setShowAutoplayProgress] =
|
|
22240
|
-
const animationName =
|
|
22241
|
-
const timeoutId =
|
|
22242
|
-
const rafId =
|
|
22243
|
-
const startProgress =
|
|
22296
|
+
const [showAutoplayProgress, setShowAutoplayProgress] = React23.useState(false);
|
|
22297
|
+
const animationName = React23.useRef("");
|
|
22298
|
+
const timeoutId = React23.useRef(0);
|
|
22299
|
+
const rafId = React23.useRef(0);
|
|
22300
|
+
const startProgress = React23.useCallback(
|
|
22244
22301
|
(timeUntilNext) => {
|
|
22245
22302
|
const node = progressNode.current;
|
|
22246
22303
|
if (!node || timeUntilNext === null) return;
|
|
@@ -22260,12 +22317,12 @@ function useAutoplayProgress(emblaApi, progressNode) {
|
|
|
22260
22317
|
},
|
|
22261
22318
|
[progressNode]
|
|
22262
22319
|
);
|
|
22263
|
-
|
|
22320
|
+
React23.useEffect(() => {
|
|
22264
22321
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
22265
22322
|
if (!autoplay) return;
|
|
22266
22323
|
emblaApi.on("autoplay:timerset", () => startProgress(autoplay.timeUntilNext())).on("autoplay:timerstopped", () => setShowAutoplayProgress(false));
|
|
22267
22324
|
}, [emblaApi, startProgress]);
|
|
22268
|
-
|
|
22325
|
+
React23.useEffect(() => {
|
|
22269
22326
|
return () => {
|
|
22270
22327
|
cancelAnimationFrame(rafId.current);
|
|
22271
22328
|
clearTimeout(timeoutId.current);
|
|
@@ -22292,7 +22349,7 @@ function CarouselAutoplayProgress({
|
|
|
22292
22349
|
pattern,
|
|
22293
22350
|
patternOpacity
|
|
22294
22351
|
}) {
|
|
22295
|
-
const progressNode =
|
|
22352
|
+
const progressNode = React23.useRef(null);
|
|
22296
22353
|
const [emblaRef, emblaApi] = useEmblaCarousel(options, [
|
|
22297
22354
|
Autoplay({ playOnInit: true, delay: autoplayDelay })
|
|
22298
22355
|
]);
|
|
@@ -22415,20 +22472,20 @@ function CarouselFeatureBadge({
|
|
|
22415
22472
|
containerMaxWidth = "2xl"
|
|
22416
22473
|
}) {
|
|
22417
22474
|
const [emblaRef, emblaApi] = useEmblaCarousel();
|
|
22418
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
22419
|
-
const [canScrollNext, setCanScrollNext] =
|
|
22420
|
-
const scrollPrev =
|
|
22475
|
+
const [canScrollPrev, setCanScrollPrev] = React23.useState(false);
|
|
22476
|
+
const [canScrollNext, setCanScrollNext] = React23.useState(false);
|
|
22477
|
+
const scrollPrev = React23.useCallback(() => {
|
|
22421
22478
|
emblaApi?.scrollPrev();
|
|
22422
22479
|
}, [emblaApi]);
|
|
22423
|
-
const scrollNext =
|
|
22480
|
+
const scrollNext = React23.useCallback(() => {
|
|
22424
22481
|
emblaApi?.scrollNext();
|
|
22425
22482
|
}, [emblaApi]);
|
|
22426
|
-
const onSelect =
|
|
22483
|
+
const onSelect = React23.useCallback(() => {
|
|
22427
22484
|
if (!emblaApi) return;
|
|
22428
22485
|
setCanScrollPrev(emblaApi.canScrollPrev());
|
|
22429
22486
|
setCanScrollNext(emblaApi.canScrollNext());
|
|
22430
22487
|
}, [emblaApi]);
|
|
22431
|
-
|
|
22488
|
+
React23.useEffect(() => {
|
|
22432
22489
|
if (!emblaApi) return;
|
|
22433
22490
|
onSelect();
|
|
22434
22491
|
emblaApi.on("reInit", onSelect);
|
|
@@ -22548,10 +22605,10 @@ function CarouselFullscreenScrollFx({
|
|
|
22548
22605
|
pattern = "diagonalCrossBasic",
|
|
22549
22606
|
patternOpacity = 0.033
|
|
22550
22607
|
}) {
|
|
22551
|
-
const containerRef =
|
|
22552
|
-
const scrollContainerRef =
|
|
22553
|
-
const [activeIndex, setActiveIndex] =
|
|
22554
|
-
|
|
22608
|
+
const containerRef = React23.useRef(null);
|
|
22609
|
+
const scrollContainerRef = React23.useRef(null);
|
|
22610
|
+
const [activeIndex, setActiveIndex] = React23.useState(0);
|
|
22611
|
+
React23.useEffect(() => {
|
|
22555
22612
|
const scrollContainer = scrollContainerRef.current;
|
|
22556
22613
|
if (!scrollContainer || !slides?.length) return;
|
|
22557
22614
|
const handleScroll = () => {
|
|
@@ -22563,7 +22620,7 @@ function CarouselFullscreenScrollFx({
|
|
|
22563
22620
|
scrollContainer.addEventListener("scroll", handleScroll);
|
|
22564
22621
|
return () => scrollContainer.removeEventListener("scroll", handleScroll);
|
|
22565
22622
|
}, [slides]);
|
|
22566
|
-
const scrollToSlide =
|
|
22623
|
+
const scrollToSlide = React23.useCallback((index) => {
|
|
22567
22624
|
const scrollContainer = scrollContainerRef.current;
|
|
22568
22625
|
if (!scrollContainer) return;
|
|
22569
22626
|
const slideHeight = scrollContainer.clientHeight;
|
|
@@ -22646,7 +22703,7 @@ function CarouselFullscreenScrollFx({
|
|
|
22646
22703
|
className: "flex h-screen flex-col snap-y snap-mandatory overflow-x-hidden overflow-y-auto scroll-smooth",
|
|
22647
22704
|
style: { scrollbarWidth: "none", msOverflowStyle: "none" },
|
|
22648
22705
|
children: slidesSlot ? slidesSlot : slides?.map((slide, index) => {
|
|
22649
|
-
const renderActions =
|
|
22706
|
+
const renderActions = React23.useMemo(() => {
|
|
22650
22707
|
if (!slide.actions || slide.actions.length === 0) return null;
|
|
22651
22708
|
return slide.actions.map((action, actionIndex) => {
|
|
22652
22709
|
const {
|
|
@@ -22779,25 +22836,25 @@ function CarouselGalleryThumbnails({
|
|
|
22779
22836
|
patternOpacity,
|
|
22780
22837
|
slideMediaBrightness = "100"
|
|
22781
22838
|
}) {
|
|
22782
|
-
const [currentIndex, setCurrentIndex] =
|
|
22783
|
-
const prevSlide =
|
|
22839
|
+
const [currentIndex, setCurrentIndex] = React23.useState(0);
|
|
22840
|
+
const prevSlide = React23.useCallback(() => {
|
|
22784
22841
|
setCurrentIndex(
|
|
22785
22842
|
(prev) => prev === 0 ? (images?.length ?? 0) - 1 : prev - 1
|
|
22786
22843
|
);
|
|
22787
22844
|
}, [images?.length]);
|
|
22788
|
-
const nextSlide =
|
|
22845
|
+
const nextSlide = React23.useCallback(() => {
|
|
22789
22846
|
setCurrentIndex(
|
|
22790
22847
|
(prev) => prev === (images?.length ?? 0) - 1 ? 0 : prev + 1
|
|
22791
22848
|
);
|
|
22792
22849
|
}, [images?.length]);
|
|
22793
|
-
|
|
22850
|
+
React23.useEffect(() => {
|
|
22794
22851
|
if (!autoPlay) return;
|
|
22795
22852
|
const interval = setInterval(() => {
|
|
22796
22853
|
nextSlide();
|
|
22797
22854
|
}, autoPlayInterval);
|
|
22798
22855
|
return () => clearInterval(interval);
|
|
22799
22856
|
}, [currentIndex, autoPlay, autoPlayInterval, nextSlide]);
|
|
22800
|
-
|
|
22857
|
+
React23.useEffect(() => {
|
|
22801
22858
|
const handleKeyDown = (e) => {
|
|
22802
22859
|
if (e.key === "ArrowRight") {
|
|
22803
22860
|
nextSlide();
|
|
@@ -22942,9 +22999,9 @@ function CarouselHorizontalCards({
|
|
|
22942
22999
|
pattern,
|
|
22943
23000
|
patternOpacity
|
|
22944
23001
|
}) {
|
|
22945
|
-
const carouselRef =
|
|
22946
|
-
const [isAtStart, setIsAtStart] =
|
|
22947
|
-
const [isAtEnd, setIsAtEnd] =
|
|
23002
|
+
const carouselRef = React23.useRef(null);
|
|
23003
|
+
const [isAtStart, setIsAtStart] = React23.useState(true);
|
|
23004
|
+
const [isAtEnd, setIsAtEnd] = React23.useState(false);
|
|
22948
23005
|
const scrollLeft = () => {
|
|
22949
23006
|
if (carouselRef.current) {
|
|
22950
23007
|
carouselRef.current.scrollBy({ left: -300, behavior: "smooth" });
|
|
@@ -22955,7 +23012,7 @@ function CarouselHorizontalCards({
|
|
|
22955
23012
|
carouselRef.current.scrollBy({ left: 300, behavior: "smooth" });
|
|
22956
23013
|
}
|
|
22957
23014
|
};
|
|
22958
|
-
|
|
23015
|
+
React23.useEffect(() => {
|
|
22959
23016
|
const checkScrollPosition = () => {
|
|
22960
23017
|
if (carouselRef.current) {
|
|
22961
23018
|
const { scrollLeft: scrollLeft2, scrollWidth, clientWidth } = carouselRef.current;
|
|
@@ -23155,22 +23212,22 @@ function CarouselImageHero({
|
|
|
23155
23212
|
pattern,
|
|
23156
23213
|
patternOpacity
|
|
23157
23214
|
}) {
|
|
23158
|
-
const [currentImageIndex, setCurrentImageIndex] =
|
|
23159
|
-
const intervalRef =
|
|
23160
|
-
const goToNext =
|
|
23215
|
+
const [currentImageIndex, setCurrentImageIndex] = React23.useState(0);
|
|
23216
|
+
const intervalRef = React23.useRef(null);
|
|
23217
|
+
const goToNext = React23.useCallback(() => {
|
|
23161
23218
|
setCurrentImageIndex((prevIndex) => (prevIndex + 1) % (images?.length ?? 1));
|
|
23162
23219
|
}, [images?.length]);
|
|
23163
|
-
const resetInterval =
|
|
23220
|
+
const resetInterval = React23.useCallback(() => {
|
|
23164
23221
|
if (intervalRef.current) {
|
|
23165
23222
|
clearInterval(intervalRef.current);
|
|
23166
23223
|
}
|
|
23167
23224
|
intervalRef.current = setInterval(goToNext, autoPlayInterval);
|
|
23168
23225
|
}, [goToNext, autoPlayInterval]);
|
|
23169
|
-
const goToSlide =
|
|
23226
|
+
const goToSlide = React23.useCallback((index) => {
|
|
23170
23227
|
setCurrentImageIndex(index);
|
|
23171
23228
|
resetInterval();
|
|
23172
23229
|
}, [resetInterval]);
|
|
23173
|
-
|
|
23230
|
+
React23.useEffect(() => {
|
|
23174
23231
|
resetInterval();
|
|
23175
23232
|
return () => {
|
|
23176
23233
|
if (intervalRef.current) {
|
|
@@ -23343,8 +23400,8 @@ function CarouselMultiStepShowcase({
|
|
|
23343
23400
|
pattern,
|
|
23344
23401
|
patternOpacity
|
|
23345
23402
|
}) {
|
|
23346
|
-
const [activeStep, setActiveStep] =
|
|
23347
|
-
const [direction, setDirection] =
|
|
23403
|
+
const [activeStep, setActiveStep] = React23.useState(0);
|
|
23404
|
+
const [direction, setDirection] = React23.useState(0);
|
|
23348
23405
|
const goToStep = (index) => {
|
|
23349
23406
|
setDirection(index > activeStep ? 1 : -1);
|
|
23350
23407
|
setActiveStep(index);
|
|
@@ -23636,9 +23693,9 @@ function CarouselPortfolioHero({
|
|
|
23636
23693
|
patternOpacity,
|
|
23637
23694
|
slideMediaBrightness = "50"
|
|
23638
23695
|
}) {
|
|
23639
|
-
const [currentIndex, setCurrentIndex] =
|
|
23640
|
-
const intervalRef =
|
|
23641
|
-
const resetInterval =
|
|
23696
|
+
const [currentIndex, setCurrentIndex] = React23.useState(0);
|
|
23697
|
+
const intervalRef = React23.useRef(null);
|
|
23698
|
+
const resetInterval = React23.useCallback(() => {
|
|
23642
23699
|
if (intervalRef.current) {
|
|
23643
23700
|
clearInterval(intervalRef.current);
|
|
23644
23701
|
}
|
|
@@ -23646,17 +23703,17 @@ function CarouselPortfolioHero({
|
|
|
23646
23703
|
setCurrentIndex((prevIndex) => (prevIndex + 1) % (slides?.length ?? 1));
|
|
23647
23704
|
}, autoPlayInterval);
|
|
23648
23705
|
}, [autoPlayInterval, slides?.length]);
|
|
23649
|
-
const goToNext =
|
|
23706
|
+
const goToNext = React23.useCallback(() => {
|
|
23650
23707
|
setCurrentIndex((prevIndex) => (prevIndex + 1) % (slides?.length ?? 1));
|
|
23651
23708
|
resetInterval();
|
|
23652
23709
|
}, [slides?.length, resetInterval]);
|
|
23653
|
-
const goToPrev =
|
|
23710
|
+
const goToPrev = React23.useCallback(() => {
|
|
23654
23711
|
setCurrentIndex(
|
|
23655
23712
|
(prevIndex) => (prevIndex - 1 + (slides?.length ?? 1)) % (slides?.length ?? 1)
|
|
23656
23713
|
);
|
|
23657
23714
|
resetInterval();
|
|
23658
23715
|
}, [slides?.length, resetInterval]);
|
|
23659
|
-
|
|
23716
|
+
React23.useEffect(() => {
|
|
23660
23717
|
resetInterval();
|
|
23661
23718
|
return () => {
|
|
23662
23719
|
if (intervalRef.current) {
|
|
@@ -23848,9 +23905,9 @@ function CarouselProductFeatureShowcase({
|
|
|
23848
23905
|
pattern,
|
|
23849
23906
|
patternOpacity
|
|
23850
23907
|
}) {
|
|
23851
|
-
const [activeIndex, setActiveIndex] =
|
|
23852
|
-
const [activeColorIndex, setActiveColorIndex] =
|
|
23853
|
-
const [direction, setDirection] =
|
|
23908
|
+
const [activeIndex, setActiveIndex] = React23.useState(0);
|
|
23909
|
+
const [activeColorIndex, setActiveColorIndex] = React23.useState(0);
|
|
23910
|
+
const [direction, setDirection] = React23.useState(0);
|
|
23854
23911
|
const activeFeature = features?.[activeIndex];
|
|
23855
23912
|
const goToNext = () => {
|
|
23856
23913
|
setDirection(1);
|
|
@@ -24070,9 +24127,9 @@ function CarouselProductFeatureShowcase({
|
|
|
24070
24127
|
}
|
|
24071
24128
|
);
|
|
24072
24129
|
}
|
|
24073
|
-
var ProgressSliderContext =
|
|
24130
|
+
var ProgressSliderContext = React23.createContext(void 0);
|
|
24074
24131
|
function useProgressSliderContext() {
|
|
24075
|
-
const context =
|
|
24132
|
+
const context = React23.useContext(ProgressSliderContext);
|
|
24076
24133
|
if (!context) {
|
|
24077
24134
|
throw new Error(
|
|
24078
24135
|
"useProgressSliderContext must be used within a ProgressSlider"
|
|
@@ -24158,19 +24215,19 @@ function CarouselProgressSlider({
|
|
|
24158
24215
|
pattern,
|
|
24159
24216
|
patternOpacity
|
|
24160
24217
|
}) {
|
|
24161
|
-
const [active, setActive] =
|
|
24162
|
-
const [progress, setProgress] =
|
|
24163
|
-
const [isFastForward, setIsFastForward] =
|
|
24164
|
-
const [isPaused, setIsPaused] =
|
|
24165
|
-
const frame =
|
|
24166
|
-
const firstFrameTime =
|
|
24167
|
-
const targetValue =
|
|
24168
|
-
const pausedProgress =
|
|
24169
|
-
const sliderValues =
|
|
24218
|
+
const [active, setActive] = React23.useState(slides?.[0]?.id ?? "");
|
|
24219
|
+
const [progress, setProgress] = React23.useState(0);
|
|
24220
|
+
const [isFastForward, setIsFastForward] = React23.useState(false);
|
|
24221
|
+
const [isPaused, setIsPaused] = React23.useState(false);
|
|
24222
|
+
const frame = React23.useRef(0);
|
|
24223
|
+
const firstFrameTime = React23.useRef(performance.now());
|
|
24224
|
+
const targetValue = React23.useRef(null);
|
|
24225
|
+
const pausedProgress = React23.useRef(0);
|
|
24226
|
+
const sliderValues = React23.useMemo(
|
|
24170
24227
|
() => slides?.map((slide) => slide.id),
|
|
24171
24228
|
[slides]
|
|
24172
24229
|
);
|
|
24173
|
-
|
|
24230
|
+
React23.useEffect(() => {
|
|
24174
24231
|
if ((sliderValues?.length ?? 0) > 0 && !isPaused) {
|
|
24175
24232
|
firstFrameTime.current = performance.now();
|
|
24176
24233
|
if (pausedProgress.current > 0) {
|
|
@@ -24335,11 +24392,11 @@ function CarouselScrollingFeatureShowcase({
|
|
|
24335
24392
|
pattern,
|
|
24336
24393
|
patternOpacity
|
|
24337
24394
|
}) {
|
|
24338
|
-
const [activeFeature, setActiveFeature] =
|
|
24395
|
+
const [activeFeature, setActiveFeature] = React23.useState(
|
|
24339
24396
|
features?.[0]?.id ?? ""
|
|
24340
24397
|
);
|
|
24341
|
-
const featureRefs =
|
|
24342
|
-
|
|
24398
|
+
const featureRefs = React23.useRef(/* @__PURE__ */ new Map());
|
|
24399
|
+
React23.useEffect(() => {
|
|
24343
24400
|
if (!features || features.length === 0) return;
|
|
24344
24401
|
const observerOptions = {
|
|
24345
24402
|
root: null,
|
|
@@ -25264,9 +25321,9 @@ function FeatureChecklistImage({
|
|
|
25264
25321
|
}
|
|
25265
25322
|
);
|
|
25266
25323
|
}
|
|
25267
|
-
var CarouselContext =
|
|
25324
|
+
var CarouselContext = React23.createContext(null);
|
|
25268
25325
|
function useCarousel() {
|
|
25269
|
-
const context =
|
|
25326
|
+
const context = React23.useContext(CarouselContext);
|
|
25270
25327
|
if (!context) {
|
|
25271
25328
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
25272
25329
|
}
|
|
@@ -25288,20 +25345,20 @@ function Carousel({
|
|
|
25288
25345
|
},
|
|
25289
25346
|
plugins
|
|
25290
25347
|
);
|
|
25291
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
25292
|
-
const [canScrollNext, setCanScrollNext] =
|
|
25293
|
-
const onSelect =
|
|
25348
|
+
const [canScrollPrev, setCanScrollPrev] = React23.useState(false);
|
|
25349
|
+
const [canScrollNext, setCanScrollNext] = React23.useState(false);
|
|
25350
|
+
const onSelect = React23.useCallback((api2) => {
|
|
25294
25351
|
if (!api2) return;
|
|
25295
25352
|
setCanScrollPrev(api2.canScrollPrev());
|
|
25296
25353
|
setCanScrollNext(api2.canScrollNext());
|
|
25297
25354
|
}, []);
|
|
25298
|
-
const scrollPrev =
|
|
25355
|
+
const scrollPrev = React23.useCallback(() => {
|
|
25299
25356
|
api?.scrollPrev();
|
|
25300
25357
|
}, [api]);
|
|
25301
|
-
const scrollNext =
|
|
25358
|
+
const scrollNext = React23.useCallback(() => {
|
|
25302
25359
|
api?.scrollNext();
|
|
25303
25360
|
}, [api]);
|
|
25304
|
-
const handleKeyDown =
|
|
25361
|
+
const handleKeyDown = React23.useCallback(
|
|
25305
25362
|
(event) => {
|
|
25306
25363
|
if (event.key === "ArrowLeft") {
|
|
25307
25364
|
event.preventDefault();
|
|
@@ -25313,11 +25370,11 @@ function Carousel({
|
|
|
25313
25370
|
},
|
|
25314
25371
|
[scrollPrev, scrollNext]
|
|
25315
25372
|
);
|
|
25316
|
-
|
|
25373
|
+
React23.useEffect(() => {
|
|
25317
25374
|
if (!api || !setApi) return;
|
|
25318
25375
|
setApi(api);
|
|
25319
25376
|
}, [api, setApi]);
|
|
25320
|
-
|
|
25377
|
+
React23.useEffect(() => {
|
|
25321
25378
|
if (!api) return;
|
|
25322
25379
|
onSelect(api);
|
|
25323
25380
|
api.on("reInit", onSelect);
|
|
@@ -26241,7 +26298,7 @@ function FeatureThreeColumnValues({
|
|
|
26241
26298
|
patternOpacity,
|
|
26242
26299
|
patternClassName
|
|
26243
26300
|
}) {
|
|
26244
|
-
const renderValueIcon =
|
|
26301
|
+
const renderValueIcon = React23.useCallback(
|
|
26245
26302
|
(value) => {
|
|
26246
26303
|
if (value.icon) return value.icon;
|
|
26247
26304
|
if (value.iconName)
|
|
@@ -26743,7 +26800,7 @@ function FeatureTabbedContentImage({
|
|
|
26743
26800
|
patternOpacity,
|
|
26744
26801
|
patternClassName
|
|
26745
26802
|
}) {
|
|
26746
|
-
const renderFeatures =
|
|
26803
|
+
const renderFeatures = React23.useCallback(
|
|
26747
26804
|
(slide) => {
|
|
26748
26805
|
if (slide.featuresSlot) return slide.featuresSlot;
|
|
26749
26806
|
if (!slide.features || slide.features.length === 0) return null;
|
|
@@ -26767,7 +26824,7 @@ function FeatureTabbedContentImage({
|
|
|
26767
26824
|
},
|
|
26768
26825
|
[]
|
|
26769
26826
|
);
|
|
26770
|
-
const renderActions =
|
|
26827
|
+
const renderActions = React23.useCallback(
|
|
26771
26828
|
(slide) => {
|
|
26772
26829
|
if (slide.actionsSlot) return slide.actionsSlot;
|
|
26773
26830
|
if (!slide.actions || slide.actions.length === 0) return null;
|
|
@@ -26810,7 +26867,7 @@ function FeatureTabbedContentImage({
|
|
|
26810
26867
|
},
|
|
26811
26868
|
[]
|
|
26812
26869
|
);
|
|
26813
|
-
const renderImage =
|
|
26870
|
+
const renderImage = React23.useCallback(
|
|
26814
26871
|
(slide) => {
|
|
26815
26872
|
if (slide.imageSlot) return slide.imageSlot;
|
|
26816
26873
|
if (!slide.image) return null;
|
|
@@ -27046,7 +27103,7 @@ function FeatureUtilityCardsGrid({
|
|
|
27046
27103
|
}
|
|
27047
27104
|
);
|
|
27048
27105
|
}, [learnMoreSlot, learnMoreAction, background]);
|
|
27049
|
-
const renderUtilityImage =
|
|
27106
|
+
const renderUtilityImage = React23.useCallback(
|
|
27050
27107
|
(utility) => {
|
|
27051
27108
|
if (utility.imageSlot) return utility.imageSlot;
|
|
27052
27109
|
if (utility.image) {
|
|
@@ -27224,7 +27281,7 @@ function FeatureBentoUtilities({
|
|
|
27224
27281
|
patternOpacity,
|
|
27225
27282
|
patternClassName
|
|
27226
27283
|
}) {
|
|
27227
|
-
const renderCard =
|
|
27284
|
+
const renderCard = React23.useCallback(
|
|
27228
27285
|
(card, index) => {
|
|
27229
27286
|
const hasImage = card.imageSrc || card.imageSlot;
|
|
27230
27287
|
const cardClasses = cn(
|
|
@@ -27280,7 +27337,7 @@ function FeatureBentoUtilities({
|
|
|
27280
27337
|
},
|
|
27281
27338
|
[optixFlowConfig]
|
|
27282
27339
|
);
|
|
27283
|
-
const renderColumn =
|
|
27340
|
+
const renderColumn = React23.useCallback(
|
|
27284
27341
|
(cards, slot) => {
|
|
27285
27342
|
if (slot) return slot;
|
|
27286
27343
|
if (!cards || cards.length === 0) return null;
|
|
@@ -28526,7 +28583,7 @@ function FeatureBentoImageGrid({
|
|
|
28526
28583
|
patternOpacity,
|
|
28527
28584
|
patternClassName
|
|
28528
28585
|
}) {
|
|
28529
|
-
const renderItemIcon =
|
|
28586
|
+
const renderItemIcon = React23.useCallback(
|
|
28530
28587
|
(item) => {
|
|
28531
28588
|
if (item.icon) return item.icon;
|
|
28532
28589
|
if (item.iconName) return /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 24 });
|
|
@@ -28534,7 +28591,7 @@ function FeatureBentoImageGrid({
|
|
|
28534
28591
|
},
|
|
28535
28592
|
[]
|
|
28536
28593
|
);
|
|
28537
|
-
const renderItemImage =
|
|
28594
|
+
const renderItemImage = React23.useCallback(
|
|
28538
28595
|
(item, imageClassName) => {
|
|
28539
28596
|
if (item.imageSlot) return item.imageSlot;
|
|
28540
28597
|
if (item.imageSrc) {
|
|
@@ -28553,7 +28610,7 @@ function FeatureBentoImageGrid({
|
|
|
28553
28610
|
},
|
|
28554
28611
|
[optixFlowConfig]
|
|
28555
28612
|
);
|
|
28556
|
-
const renderLargeCard =
|
|
28613
|
+
const renderLargeCard = React23.useCallback(
|
|
28557
28614
|
(item) => {
|
|
28558
28615
|
const iconContent = renderItemIcon(item);
|
|
28559
28616
|
const hasIconBadgeContent = iconContent || item.iconBadge;
|
|
@@ -28641,7 +28698,7 @@ function FeatureBentoImageGrid({
|
|
|
28641
28698
|
},
|
|
28642
28699
|
[largeCardClassName, renderItemImage, renderItemIcon]
|
|
28643
28700
|
);
|
|
28644
|
-
const renderSmallCard =
|
|
28701
|
+
const renderSmallCard = React23.useCallback(
|
|
28645
28702
|
(item, index) => {
|
|
28646
28703
|
const iconContent = renderItemIcon(item);
|
|
28647
28704
|
const hasIconBadgeContent = iconContent || item.iconBadge;
|
|
@@ -29256,7 +29313,7 @@ function FeatureAccordionImage({
|
|
|
29256
29313
|
patternOpacity,
|
|
29257
29314
|
patternClassName
|
|
29258
29315
|
}) {
|
|
29259
|
-
const [activeItem, setActiveItem] =
|
|
29316
|
+
const [activeItem, setActiveItem] = React23.useState(defaultValue || "item-0");
|
|
29260
29317
|
const activeIndex = parseInt(activeItem.replace("item-", ""), 10) || 0;
|
|
29261
29318
|
const currentImage = items?.[activeIndex] || items?.[0];
|
|
29262
29319
|
const accordionItemsContent = useMemo(() => {
|
|
@@ -29405,7 +29462,7 @@ function FeatureCapabilitiesGrid({
|
|
|
29405
29462
|
patternOpacity,
|
|
29406
29463
|
patternClassName
|
|
29407
29464
|
}) {
|
|
29408
|
-
const renderItemIcon =
|
|
29465
|
+
const renderItemIcon = React23.useCallback(
|
|
29409
29466
|
(item) => {
|
|
29410
29467
|
if (item.icon) return item.icon;
|
|
29411
29468
|
if (item.iconName) return /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 20 });
|
|
@@ -29557,7 +29614,7 @@ function FeatureCapabilitiesGrid({
|
|
|
29557
29614
|
}
|
|
29558
29615
|
);
|
|
29559
29616
|
}
|
|
29560
|
-
var TeamMemberBackgroundImageCard =
|
|
29617
|
+
var TeamMemberBackgroundImageCard = React23.forwardRef(
|
|
29561
29618
|
({ className, imageUrl, imageAlt, children, optixFlowConfig, background, ...props }, ref) => {
|
|
29562
29619
|
return /* @__PURE__ */ jsxs(
|
|
29563
29620
|
"div",
|
|
@@ -29605,7 +29662,7 @@ function TeamMediaShowcase({
|
|
|
29605
29662
|
actionClassName,
|
|
29606
29663
|
optixFlowConfig
|
|
29607
29664
|
}) {
|
|
29608
|
-
const renderItems =
|
|
29665
|
+
const renderItems = React23.useMemo(() => {
|
|
29609
29666
|
if (itemsSlot) return itemsSlot;
|
|
29610
29667
|
return items.map((member, idx) => {
|
|
29611
29668
|
const imageAlt = member.imageAlt || (member.name && typeof member.name === "string" && member.name.trim() !== "" ? member.name : `member-${idx}`);
|
|
@@ -29703,7 +29760,7 @@ function TeamSimpleGrid({
|
|
|
29703
29760
|
memberNameClassName,
|
|
29704
29761
|
memberRoleClassName
|
|
29705
29762
|
}) {
|
|
29706
|
-
const renderMembers =
|
|
29763
|
+
const renderMembers = React23.useMemo(() => {
|
|
29707
29764
|
if (membersSlot) return membersSlot;
|
|
29708
29765
|
if (!members || members.length === 0) return null;
|
|
29709
29766
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -29865,7 +29922,7 @@ function FooterBrandLinksContact({
|
|
|
29865
29922
|
linkListClassName,
|
|
29866
29923
|
linkItemClassName
|
|
29867
29924
|
]);
|
|
29868
|
-
const contactItemsContent =
|
|
29925
|
+
const contactItemsContent = React23.useMemo(() => {
|
|
29869
29926
|
if (!contactItems || contactItems.length === 0) return null;
|
|
29870
29927
|
return contactItems.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
29871
29928
|
"div",
|
|
@@ -30223,7 +30280,7 @@ function TeamSocialGrid({
|
|
|
30223
30280
|
memberRoleClassName,
|
|
30224
30281
|
socialLinksClassName
|
|
30225
30282
|
}) {
|
|
30226
|
-
const renderMembers =
|
|
30283
|
+
const renderMembers = React23.useMemo(() => {
|
|
30227
30284
|
if (membersSlot) return membersSlot;
|
|
30228
30285
|
if (!members || members.length === 0) return null;
|
|
30229
30286
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -30375,7 +30432,7 @@ function TeamGradientCards({
|
|
|
30375
30432
|
memberRoleClassName,
|
|
30376
30433
|
socialLinksClassName
|
|
30377
30434
|
}) {
|
|
30378
|
-
const renderMembers =
|
|
30435
|
+
const renderMembers = React23.useMemo(() => {
|
|
30379
30436
|
if (membersSlot) return membersSlot;
|
|
30380
30437
|
if (!members || members.length === 0) return null;
|
|
30381
30438
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -30531,7 +30588,7 @@ function TeamBioBadges({
|
|
|
30531
30588
|
memberBioClassName,
|
|
30532
30589
|
socialLinksClassName
|
|
30533
30590
|
}) {
|
|
30534
|
-
const renderMembers =
|
|
30591
|
+
const renderMembers = React23.useMemo(() => {
|
|
30535
30592
|
if (membersSlot) return membersSlot;
|
|
30536
30593
|
if (!members || members.length === 0) return null;
|
|
30537
30594
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -30708,7 +30765,7 @@ function TeamExpertiseCards({
|
|
|
30708
30765
|
ctaDescriptionClassName,
|
|
30709
30766
|
ctaButtonClassName
|
|
30710
30767
|
}) {
|
|
30711
|
-
const renderMembers =
|
|
30768
|
+
const renderMembers = React23.useMemo(() => {
|
|
30712
30769
|
if (membersSlot) return membersSlot;
|
|
30713
30770
|
if (!members || members.length === 0) return null;
|
|
30714
30771
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -30785,7 +30842,7 @@ function TeamExpertiseCards({
|
|
|
30785
30842
|
member.id
|
|
30786
30843
|
));
|
|
30787
30844
|
}, [membersSlot, members, background, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, departmentBadgeClassName, memberDescriptionClassName, expertiseClassName]);
|
|
30788
|
-
const renderCta =
|
|
30845
|
+
const renderCta = React23.useMemo(() => {
|
|
30789
30846
|
if (ctaSlot) return ctaSlot;
|
|
30790
30847
|
return /* @__PURE__ */ jsxs(
|
|
30791
30848
|
"div",
|
|
@@ -30901,7 +30958,7 @@ function TeamCompactGrid({
|
|
|
30901
30958
|
ctaDescriptionClassName,
|
|
30902
30959
|
ctaButtonClassName
|
|
30903
30960
|
}) {
|
|
30904
|
-
const renderMembers =
|
|
30961
|
+
const renderMembers = React23.useMemo(() => {
|
|
30905
30962
|
if (membersSlot) return membersSlot;
|
|
30906
30963
|
if (!members || members.length === 0) return null;
|
|
30907
30964
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -30956,7 +31013,7 @@ function TeamCompactGrid({
|
|
|
30956
31013
|
member.id
|
|
30957
31014
|
));
|
|
30958
31015
|
}, [membersSlot, members, background, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, departmentBadgeClassName]);
|
|
30959
|
-
const renderCta =
|
|
31016
|
+
const renderCta = React23.useMemo(() => {
|
|
30960
31017
|
if (ctaSlot) return ctaSlot;
|
|
30961
31018
|
return /* @__PURE__ */ jsxs(
|
|
30962
31019
|
"div",
|
|
@@ -31060,7 +31117,7 @@ function TeamInvestorShowcase({
|
|
|
31060
31117
|
investorCompanyClassName,
|
|
31061
31118
|
optixFlowConfig
|
|
31062
31119
|
}) {
|
|
31063
|
-
const renderInvestors =
|
|
31120
|
+
const renderInvestors = React23.useMemo(() => {
|
|
31064
31121
|
if (investorsSlot) return investorsSlot;
|
|
31065
31122
|
if (!investors || investors.length === 0) return null;
|
|
31066
31123
|
return investors.map((investor) => /* @__PURE__ */ jsxs("div", { className: investorCardClassName, children: [
|
|
@@ -31134,7 +31191,7 @@ function TeamCarouselExperience({
|
|
|
31134
31191
|
memberRoleClassName,
|
|
31135
31192
|
optixFlowConfig
|
|
31136
31193
|
}) {
|
|
31137
|
-
const renderMembers =
|
|
31194
|
+
const renderMembers = React23.useMemo(() => {
|
|
31138
31195
|
if (membersSlot) return membersSlot;
|
|
31139
31196
|
if (!members || members.length === 0) return null;
|
|
31140
31197
|
return members.map((member, idx) => /* @__PURE__ */ jsx(CarouselItem, { className: "max-w-72", children: /* @__PURE__ */ jsxs(
|
|
@@ -31284,20 +31341,20 @@ function TeamFilterableSearch({
|
|
|
31284
31341
|
emptyStateClassName,
|
|
31285
31342
|
emptyStateMessage
|
|
31286
31343
|
}) {
|
|
31287
|
-
const [searchQuery, setSearchQuery] =
|
|
31288
|
-
const [selectedDepartment, setSelectedDepartment] =
|
|
31289
|
-
const departments =
|
|
31344
|
+
const [searchQuery, setSearchQuery] = React23.useState("");
|
|
31345
|
+
const [selectedDepartment, setSelectedDepartment] = React23.useState("All");
|
|
31346
|
+
const departments = React23.useMemo(() => {
|
|
31290
31347
|
const depts = new Set(members.map((m) => m.department));
|
|
31291
31348
|
return ["All", ...Array.from(depts)];
|
|
31292
31349
|
}, [members]);
|
|
31293
|
-
const filteredMembers =
|
|
31350
|
+
const filteredMembers = React23.useMemo(() => {
|
|
31294
31351
|
return members.filter((member) => {
|
|
31295
31352
|
const matchesSearch = searchQuery === "" || member.name.toLowerCase().includes(searchQuery.toLowerCase()) || member.role.toLowerCase().includes(searchQuery.toLowerCase()) || member.description.toLowerCase().includes(searchQuery.toLowerCase());
|
|
31296
31353
|
const matchesDepartment = selectedDepartment === "All" || member.department === selectedDepartment;
|
|
31297
31354
|
return matchesSearch && matchesDepartment;
|
|
31298
31355
|
});
|
|
31299
31356
|
}, [members, searchQuery, selectedDepartment]);
|
|
31300
|
-
const renderFilters =
|
|
31357
|
+
const renderFilters = React23.useMemo(() => {
|
|
31301
31358
|
if (filtersSlot) return filtersSlot;
|
|
31302
31359
|
return /* @__PURE__ */ jsxs(
|
|
31303
31360
|
"div",
|
|
@@ -31352,7 +31409,7 @@ function TeamFilterableSearch({
|
|
|
31352
31409
|
selectedDepartment,
|
|
31353
31410
|
filterButtonClassName
|
|
31354
31411
|
]);
|
|
31355
|
-
const renderMembers =
|
|
31412
|
+
const renderMembers = React23.useMemo(() => {
|
|
31356
31413
|
if (membersSlot) return membersSlot;
|
|
31357
31414
|
return filteredMembers.map((member) => /* @__PURE__ */ jsx(
|
|
31358
31415
|
"div",
|
|
@@ -31539,7 +31596,7 @@ function TeamCompactCta({
|
|
|
31539
31596
|
memberRoleClassName,
|
|
31540
31597
|
ctaClassName
|
|
31541
31598
|
}) {
|
|
31542
|
-
const renderMembers =
|
|
31599
|
+
const renderMembers = React23.useMemo(() => {
|
|
31543
31600
|
if (membersSlot) return membersSlot;
|
|
31544
31601
|
if (!members || members.length === 0) return null;
|
|
31545
31602
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -31567,7 +31624,7 @@ function TeamCompactCta({
|
|
|
31567
31624
|
member.id
|
|
31568
31625
|
));
|
|
31569
31626
|
}, [membersSlot, members, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, background]);
|
|
31570
|
-
const renderCta =
|
|
31627
|
+
const renderCta = React23.useMemo(() => {
|
|
31571
31628
|
if (ctaSlot) return ctaSlot;
|
|
31572
31629
|
return /* @__PURE__ */ jsx(
|
|
31573
31630
|
Pressable,
|
|
@@ -31658,7 +31715,7 @@ function TeamHoverHighlight({
|
|
|
31658
31715
|
socialLinksClassName,
|
|
31659
31716
|
optixFlowConfig
|
|
31660
31717
|
}) {
|
|
31661
|
-
const renderMembers =
|
|
31718
|
+
const renderMembers = React23.useMemo(() => {
|
|
31662
31719
|
if (membersSlot) return membersSlot;
|
|
31663
31720
|
if (!members || members.length === 0) return null;
|
|
31664
31721
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -31807,7 +31864,7 @@ function TeamSocialCards({
|
|
|
31807
31864
|
socialLinksClassName,
|
|
31808
31865
|
optixFlowConfig
|
|
31809
31866
|
}) {
|
|
31810
|
-
const renderMembers =
|
|
31867
|
+
const renderMembers = React23.useMemo(() => {
|
|
31811
31868
|
if (membersSlot) return membersSlot;
|
|
31812
31869
|
if (!members || members.length === 0) return null;
|
|
31813
31870
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -31977,7 +32034,7 @@ function TeamGridAnimated({
|
|
|
31977
32034
|
"hsl(var(--muted))",
|
|
31978
32035
|
"hsl(var(--warning)/0.2)"
|
|
31979
32036
|
];
|
|
31980
|
-
const renderMembers =
|
|
32037
|
+
const renderMembers = React23.useMemo(() => {
|
|
31981
32038
|
if (membersSlot) return membersSlot;
|
|
31982
32039
|
if (!members || members.length === 0) return null;
|
|
31983
32040
|
return members.map((member, index) => /* @__PURE__ */ jsxs(
|
|
@@ -32077,7 +32134,7 @@ function TeamGridAnimated({
|
|
|
32077
32134
|
memberDesignationClassName,
|
|
32078
32135
|
socialLinksClassName
|
|
32079
32136
|
]);
|
|
32080
|
-
const renderSocialLinksMain =
|
|
32137
|
+
const renderSocialLinksMain = React23.useMemo(() => {
|
|
32081
32138
|
if (socialLinksMainSlot) return socialLinksMainSlot;
|
|
32082
32139
|
if (!socialLinksMain || socialLinksMain.length === 0) return null;
|
|
32083
32140
|
return /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-center gap-4 py-4 md:justify-center", children: [
|
|
@@ -32194,7 +32251,7 @@ function TeamDepartmentSections({
|
|
|
32194
32251
|
memberRoleClassName,
|
|
32195
32252
|
optixFlowConfig
|
|
32196
32253
|
}) {
|
|
32197
|
-
const renderDepartments =
|
|
32254
|
+
const renderDepartments = React23.useMemo(() => {
|
|
32198
32255
|
if (departmentsSlot) return departmentsSlot;
|
|
32199
32256
|
if (!departments || departments.length === 0) return null;
|
|
32200
32257
|
return departments.map((department, deptIndex) => /* @__PURE__ */ jsxs(
|
|
@@ -32298,7 +32355,7 @@ function TeamAlternatingBios({
|
|
|
32298
32355
|
socialLinksClassName,
|
|
32299
32356
|
optixFlowConfig
|
|
32300
32357
|
}) {
|
|
32301
|
-
const renderMembers =
|
|
32358
|
+
const renderMembers = React23.useMemo(() => {
|
|
32302
32359
|
if (membersSlot) return membersSlot;
|
|
32303
32360
|
if (!members || members.length === 0) return null;
|
|
32304
32361
|
return members.map((member, index) => /* @__PURE__ */ jsxs(
|
|
@@ -32480,7 +32537,7 @@ function TeamAvatarSocial({
|
|
|
32480
32537
|
memberRoleClassName,
|
|
32481
32538
|
socialLinksClassName
|
|
32482
32539
|
}) {
|
|
32483
|
-
const renderMembers =
|
|
32540
|
+
const renderMembers = React23.useMemo(() => {
|
|
32484
32541
|
if (membersSlot) return membersSlot;
|
|
32485
32542
|
if (!members || members.length === 0) return null;
|
|
32486
32543
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -32623,7 +32680,7 @@ function TeamHoverOverlay({
|
|
|
32623
32680
|
socialLinksClassName,
|
|
32624
32681
|
optixFlowConfig
|
|
32625
32682
|
}) {
|
|
32626
|
-
const renderMembers =
|
|
32683
|
+
const renderMembers = React23.useMemo(() => {
|
|
32627
32684
|
if (membersSlot) return membersSlot;
|
|
32628
32685
|
if (!members || members.length === 0) return null;
|
|
32629
32686
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -32799,14 +32856,14 @@ function TeamRoleFilter({
|
|
|
32799
32856
|
socialLinksClassName,
|
|
32800
32857
|
optixFlowConfig
|
|
32801
32858
|
}) {
|
|
32802
|
-
const [selectedRole, setSelectedRole] =
|
|
32803
|
-
const filteredMembers =
|
|
32859
|
+
const [selectedRole, setSelectedRole] = React23.useState("All");
|
|
32860
|
+
const filteredMembers = React23.useMemo(() => {
|
|
32804
32861
|
if (!members) return [];
|
|
32805
32862
|
return members.filter(
|
|
32806
32863
|
(member) => selectedRole === "All" ? true : member.role === selectedRole
|
|
32807
32864
|
);
|
|
32808
32865
|
}, [members, selectedRole]);
|
|
32809
|
-
const renderRoles =
|
|
32866
|
+
const renderRoles = React23.useMemo(() => {
|
|
32810
32867
|
if (rolesSlot) return rolesSlot;
|
|
32811
32868
|
if (!roles) return null;
|
|
32812
32869
|
return /* @__PURE__ */ jsx(
|
|
@@ -32830,7 +32887,7 @@ function TeamRoleFilter({
|
|
|
32830
32887
|
}
|
|
32831
32888
|
);
|
|
32832
32889
|
}, [rolesSlot, filtersClassName, roles, selectedRole, filterButtonClassName]);
|
|
32833
|
-
const renderMembers =
|
|
32890
|
+
const renderMembers = React23.useMemo(() => {
|
|
32834
32891
|
if (membersSlot) return membersSlot;
|
|
32835
32892
|
return filteredMembers.map((member) => /* @__PURE__ */ jsx(
|
|
32836
32893
|
Card,
|
|
@@ -32990,7 +33047,7 @@ function TeamContactCards({
|
|
|
32990
33047
|
socialLinksClassName,
|
|
32991
33048
|
optixFlowConfig
|
|
32992
33049
|
}) {
|
|
32993
|
-
const getStatusColor =
|
|
33050
|
+
const getStatusColor = React23.useCallback((status) => {
|
|
32994
33051
|
switch (status) {
|
|
32995
33052
|
case "active":
|
|
32996
33053
|
return "bg-success";
|
|
@@ -33000,7 +33057,7 @@ function TeamContactCards({
|
|
|
33000
33057
|
return getTextColor(background, "muted");
|
|
33001
33058
|
}
|
|
33002
33059
|
}, [background]);
|
|
33003
|
-
const renderMembers =
|
|
33060
|
+
const renderMembers = React23.useMemo(() => {
|
|
33004
33061
|
if (membersSlot) return membersSlot;
|
|
33005
33062
|
if (!members || members.length === 0) return null;
|
|
33006
33063
|
return members.map((member) => /* @__PURE__ */ jsx(Card, { className: cn("p-0", memberCardClassName), children: /* @__PURE__ */ jsxs(CardContent, { className: "p-6!", children: [
|
|
@@ -33207,7 +33264,7 @@ function TeamLargeImages({
|
|
|
33207
33264
|
socialLinksClassName,
|
|
33208
33265
|
optixFlowConfig
|
|
33209
33266
|
}) {
|
|
33210
|
-
const renderMembers =
|
|
33267
|
+
const renderMembers = React23.useMemo(() => {
|
|
33211
33268
|
if (membersSlot) return membersSlot;
|
|
33212
33269
|
if (!members || members.length === 0) return null;
|
|
33213
33270
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -33382,7 +33439,7 @@ function TeamSkillBadges({
|
|
|
33382
33439
|
socialLinksClassName,
|
|
33383
33440
|
optixFlowConfig
|
|
33384
33441
|
}) {
|
|
33385
|
-
const renderMembers =
|
|
33442
|
+
const renderMembers = React23.useMemo(() => {
|
|
33386
33443
|
if (membersSlot) return membersSlot;
|
|
33387
33444
|
if (!members || members.length === 0) return null;
|
|
33388
33445
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -33572,7 +33629,7 @@ function TeamTestimonialStats({
|
|
|
33572
33629
|
socialLinksClassName,
|
|
33573
33630
|
optixFlowConfig
|
|
33574
33631
|
}) {
|
|
33575
|
-
const renderMembers =
|
|
33632
|
+
const renderMembers = React23.useMemo(() => {
|
|
33576
33633
|
if (membersSlot) return membersSlot;
|
|
33577
33634
|
if (!members || members.length === 0) return null;
|
|
33578
33635
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -37716,7 +37773,7 @@ function BlogGridAuthorCardsComponent({
|
|
|
37716
37773
|
pattern,
|
|
37717
37774
|
patternOpacity
|
|
37718
37775
|
}) {
|
|
37719
|
-
const viewAllActionContent =
|
|
37776
|
+
const viewAllActionContent = React23.useMemo(() => {
|
|
37720
37777
|
if (viewAllSlot) return viewAllSlot;
|
|
37721
37778
|
if (!viewAllAction) return null;
|
|
37722
37779
|
const {
|
|
@@ -37741,7 +37798,7 @@ function BlogGridAuthorCardsComponent({
|
|
|
37741
37798
|
}
|
|
37742
37799
|
);
|
|
37743
37800
|
}, [viewAllSlot, viewAllAction]);
|
|
37744
|
-
const postsContent =
|
|
37801
|
+
const postsContent = React23.useMemo(() => {
|
|
37745
37802
|
if (postsSlot) return postsSlot;
|
|
37746
37803
|
if (!posts || posts.length === 0) return null;
|
|
37747
37804
|
return posts.map((post) => {
|
|
@@ -37853,7 +37910,7 @@ function BlogCardsTaglineCta({
|
|
|
37853
37910
|
pattern,
|
|
37854
37911
|
patternOpacity
|
|
37855
37912
|
}) {
|
|
37856
|
-
const ctaActionContent =
|
|
37913
|
+
const ctaActionContent = React23.useMemo(() => {
|
|
37857
37914
|
if (ctaSlot) return ctaSlot;
|
|
37858
37915
|
if (!ctaAction) return null;
|
|
37859
37916
|
const {
|
|
@@ -37881,7 +37938,7 @@ function BlogCardsTaglineCta({
|
|
|
37881
37938
|
}
|
|
37882
37939
|
);
|
|
37883
37940
|
}, [ctaSlot, ctaAction, ctaClassName]);
|
|
37884
|
-
const postsContent =
|
|
37941
|
+
const postsContent = React23.useMemo(() => {
|
|
37885
37942
|
if (postsSlot) return postsSlot;
|
|
37886
37943
|
if (!posts || posts.length === 0) return null;
|
|
37887
37944
|
return posts.map((post) => {
|
|
@@ -38027,7 +38084,7 @@ function BlogCardsReadTime({
|
|
|
38027
38084
|
pattern,
|
|
38028
38085
|
patternOpacity
|
|
38029
38086
|
}) {
|
|
38030
|
-
const renderedViewAllAction =
|
|
38087
|
+
const renderedViewAllAction = React23.useMemo(() => {
|
|
38031
38088
|
if (viewAllSlot) return viewAllSlot;
|
|
38032
38089
|
if (!viewAllAction) return null;
|
|
38033
38090
|
const {
|
|
@@ -38044,7 +38101,7 @@ function BlogCardsReadTime({
|
|
|
38044
38101
|
iconAfter
|
|
38045
38102
|
] }) });
|
|
38046
38103
|
}, [viewAllSlot, viewAllAction]);
|
|
38047
|
-
const renderedPosts =
|
|
38104
|
+
const renderedPosts = React23.useMemo(() => {
|
|
38048
38105
|
if (postsSlot) return postsSlot;
|
|
38049
38106
|
if (!posts || posts.length === 0) return null;
|
|
38050
38107
|
return posts.map((post) => {
|
|
@@ -38181,7 +38238,7 @@ function BlogCategoryOverlay({
|
|
|
38181
38238
|
pattern,
|
|
38182
38239
|
patternOpacity
|
|
38183
38240
|
}) {
|
|
38184
|
-
const viewAllActionContent =
|
|
38241
|
+
const viewAllActionContent = React23.useMemo(() => {
|
|
38185
38242
|
if (viewAllSlot) return viewAllSlot;
|
|
38186
38243
|
if (!viewAllAction) return null;
|
|
38187
38244
|
const {
|
|
@@ -38209,7 +38266,7 @@ function BlogCategoryOverlay({
|
|
|
38209
38266
|
}
|
|
38210
38267
|
);
|
|
38211
38268
|
}, [viewAllSlot, viewAllAction, viewAllClassName]);
|
|
38212
|
-
const postsContent =
|
|
38269
|
+
const postsContent = React23.useMemo(() => {
|
|
38213
38270
|
if (postsSlot) return postsSlot;
|
|
38214
38271
|
if (!posts || posts.length === 0) return null;
|
|
38215
38272
|
return posts.map((post) => {
|
|
@@ -38357,7 +38414,7 @@ function BlogFeaturedPopular({
|
|
|
38357
38414
|
}) {
|
|
38358
38415
|
const featuredPost = posts?.[0];
|
|
38359
38416
|
const popularPosts = posts?.slice(1);
|
|
38360
|
-
const renderedFeaturedPost =
|
|
38417
|
+
const renderedFeaturedPost = React23.useMemo(() => {
|
|
38361
38418
|
if (featuredSlot) return featuredSlot;
|
|
38362
38419
|
if (!featuredPost) return null;
|
|
38363
38420
|
const postHref = featuredPost.href || featuredPost.url || featuredPost.link;
|
|
@@ -38409,7 +38466,7 @@ function BlogFeaturedPopular({
|
|
|
38409
38466
|
featuredContentClassName,
|
|
38410
38467
|
optixFlowConfig
|
|
38411
38468
|
]);
|
|
38412
|
-
const renderedPopularPosts =
|
|
38469
|
+
const renderedPopularPosts = React23.useMemo(() => {
|
|
38413
38470
|
if (postsSlot) return postsSlot;
|
|
38414
38471
|
if (!popularPosts || popularPosts.length === 0) return null;
|
|
38415
38472
|
return popularPosts.map((post) => {
|
|
@@ -38526,7 +38583,7 @@ function BlogRelatedArticles({
|
|
|
38526
38583
|
pattern,
|
|
38527
38584
|
patternOpacity
|
|
38528
38585
|
}) {
|
|
38529
|
-
const renderedSeeAllAction =
|
|
38586
|
+
const renderedSeeAllAction = React23.useMemo(() => {
|
|
38530
38587
|
if (seeAllSlot) return seeAllSlot;
|
|
38531
38588
|
if (!seeAllAction) return null;
|
|
38532
38589
|
const {
|
|
@@ -38555,7 +38612,7 @@ function BlogRelatedArticles({
|
|
|
38555
38612
|
}
|
|
38556
38613
|
);
|
|
38557
38614
|
}, [seeAllSlot, seeAllAction, seeAllClassName]);
|
|
38558
|
-
const renderedArticles =
|
|
38615
|
+
const renderedArticles = React23.useMemo(() => {
|
|
38559
38616
|
if (articlesSlot) return articlesSlot;
|
|
38560
38617
|
if (!articles || articles.length === 0) return null;
|
|
38561
38618
|
return articles.map((item) => {
|
|
@@ -38863,7 +38920,7 @@ function BlogHorizontalCards({
|
|
|
38863
38920
|
pattern,
|
|
38864
38921
|
patternOpacity
|
|
38865
38922
|
}) {
|
|
38866
|
-
const ctaContent =
|
|
38923
|
+
const ctaContent = React23.useMemo(() => {
|
|
38867
38924
|
if (ctaSlot) return ctaSlot;
|
|
38868
38925
|
if (!ctaAction) return null;
|
|
38869
38926
|
const {
|
|
@@ -38888,7 +38945,7 @@ function BlogHorizontalCards({
|
|
|
38888
38945
|
}
|
|
38889
38946
|
);
|
|
38890
38947
|
}, [ctaSlot, ctaAction]);
|
|
38891
|
-
const postsContent =
|
|
38948
|
+
const postsContent = React23.useMemo(() => {
|
|
38892
38949
|
if (postsSlot) return postsSlot;
|
|
38893
38950
|
if (!posts || posts.length === 0) return null;
|
|
38894
38951
|
return posts.map((post) => {
|
|
@@ -39110,7 +39167,7 @@ function Label({
|
|
|
39110
39167
|
);
|
|
39111
39168
|
}
|
|
39112
39169
|
var POSTS_PER_PAGE = 6;
|
|
39113
|
-
var BlogCard =
|
|
39170
|
+
var BlogCard = React23.memo(function BlogCard2({
|
|
39114
39171
|
post,
|
|
39115
39172
|
optixFlowConfig,
|
|
39116
39173
|
className
|
|
@@ -39149,7 +39206,7 @@ var BlogCard = React22.memo(function BlogCard2({
|
|
|
39149
39206
|
] })
|
|
39150
39207
|
] }) });
|
|
39151
39208
|
});
|
|
39152
|
-
var FilterForm =
|
|
39209
|
+
var FilterForm = React23.memo(function FilterForm2({
|
|
39153
39210
|
categories,
|
|
39154
39211
|
selectedCategories,
|
|
39155
39212
|
onCategoryChange,
|
|
@@ -39182,7 +39239,7 @@ var FilterForm = React22.memo(function FilterForm2({
|
|
|
39182
39239
|
}
|
|
39183
39240
|
);
|
|
39184
39241
|
});
|
|
39185
|
-
var BreadcrumbBlog =
|
|
39242
|
+
var BreadcrumbBlog = React23.memo(function BreadcrumbBlog2({
|
|
39186
39243
|
breadcrumb
|
|
39187
39244
|
}) {
|
|
39188
39245
|
return /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.map((item, i) => {
|
|
@@ -39264,12 +39321,12 @@ function BlogFilteredResultsComponent({
|
|
|
39264
39321
|
}, [posts, selectedCategories]);
|
|
39265
39322
|
const postsToDisplay = filteredPosts.length > 0 ? filteredPosts : posts || [];
|
|
39266
39323
|
const hasMore = visibleCount < postsToDisplay.length;
|
|
39267
|
-
const breadcrumbContent =
|
|
39324
|
+
const breadcrumbContent = React23.useMemo(() => {
|
|
39268
39325
|
if (breadcrumbSlot) return breadcrumbSlot;
|
|
39269
39326
|
if (!breadcrumb || breadcrumb.length === 0) return null;
|
|
39270
39327
|
return /* @__PURE__ */ jsx(BreadcrumbBlog, { breadcrumb });
|
|
39271
39328
|
}, [breadcrumbSlot, breadcrumb]);
|
|
39272
|
-
const primaryPostContent =
|
|
39329
|
+
const primaryPostContent = React23.useMemo(() => {
|
|
39273
39330
|
if (primaryPostSlot) return primaryPostSlot;
|
|
39274
39331
|
if (!primaryPost) return null;
|
|
39275
39332
|
return /* @__PURE__ */ jsx(
|
|
@@ -39281,7 +39338,7 @@ function BlogFilteredResultsComponent({
|
|
|
39281
39338
|
}
|
|
39282
39339
|
);
|
|
39283
39340
|
}, [primaryPostSlot, primaryPost, optixFlowConfig, postCardClassName]);
|
|
39284
|
-
const categoriesContent =
|
|
39341
|
+
const categoriesContent = React23.useMemo(() => {
|
|
39285
39342
|
if (categoriesSlot) return categoriesSlot;
|
|
39286
39343
|
if (!categories || categories.length === 0) return null;
|
|
39287
39344
|
return /* @__PURE__ */ jsx(
|
|
@@ -39300,7 +39357,7 @@ function BlogFilteredResultsComponent({
|
|
|
39300
39357
|
handleCategoryChange,
|
|
39301
39358
|
categoriesClassName
|
|
39302
39359
|
]);
|
|
39303
|
-
const postsContent =
|
|
39360
|
+
const postsContent = React23.useMemo(() => {
|
|
39304
39361
|
if (postsSlot) return postsSlot;
|
|
39305
39362
|
return postsToDisplay.slice(0, visibleCount).map((post) => {
|
|
39306
39363
|
const postKey = post.id || String(post.title) || Math.random().toString();
|
|
@@ -39321,7 +39378,7 @@ function BlogFilteredResultsComponent({
|
|
|
39321
39378
|
optixFlowConfig,
|
|
39322
39379
|
postCardClassName
|
|
39323
39380
|
]);
|
|
39324
|
-
const loadMoreContent =
|
|
39381
|
+
const loadMoreContent = React23.useMemo(() => {
|
|
39325
39382
|
if (loadMoreSlot) return loadMoreSlot;
|
|
39326
39383
|
if (!loadMoreAction || !hasMore) return null;
|
|
39327
39384
|
const {
|
|
@@ -39447,7 +39504,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
39447
39504
|
}) {
|
|
39448
39505
|
const featuredPost = posts?.[0];
|
|
39449
39506
|
const otherPosts = posts?.slice(1);
|
|
39450
|
-
const featuredPostContent =
|
|
39507
|
+
const featuredPostContent = React23.useMemo(() => {
|
|
39451
39508
|
if (featuredSlot) return featuredSlot;
|
|
39452
39509
|
if (!featuredPost) return null;
|
|
39453
39510
|
const postHref = featuredPost.href || featuredPost.url || featuredPost.link || "#";
|
|
@@ -39497,7 +39554,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
39497
39554
|
featuredImageClassName,
|
|
39498
39555
|
optixFlowConfig
|
|
39499
39556
|
]);
|
|
39500
|
-
const otherPostsContent =
|
|
39557
|
+
const otherPostsContent = React23.useMemo(() => {
|
|
39501
39558
|
if (postsSlot) return postsSlot;
|
|
39502
39559
|
if (!otherPosts || otherPosts.length === 0) return null;
|
|
39503
39560
|
return otherPosts.map((post) => {
|
|
@@ -39586,7 +39643,7 @@ function BlogHorizontalTimelineComponent({
|
|
|
39586
39643
|
pattern,
|
|
39587
39644
|
patternOpacity
|
|
39588
39645
|
}) {
|
|
39589
|
-
const renderPosts =
|
|
39646
|
+
const renderPosts = React23.useMemo(() => {
|
|
39590
39647
|
if (postsSlot) return postsSlot;
|
|
39591
39648
|
if (!posts || posts.length === 0) return null;
|
|
39592
39649
|
return posts.map((post, index) => {
|
|
@@ -39711,7 +39768,7 @@ function BlogGridNinePosts({
|
|
|
39711
39768
|
pattern,
|
|
39712
39769
|
patternOpacity
|
|
39713
39770
|
}) {
|
|
39714
|
-
const renderedCtaAction =
|
|
39771
|
+
const renderedCtaAction = React23.useMemo(() => {
|
|
39715
39772
|
if (ctaSlot) return ctaSlot;
|
|
39716
39773
|
if (!ctaAction) return null;
|
|
39717
39774
|
const {
|
|
@@ -39736,7 +39793,7 @@ function BlogGridNinePosts({
|
|
|
39736
39793
|
}
|
|
39737
39794
|
);
|
|
39738
39795
|
}, [ctaSlot, ctaAction]);
|
|
39739
|
-
const renderedPosts =
|
|
39796
|
+
const renderedPosts = React23.useMemo(() => {
|
|
39740
39797
|
if (postsSlot) return postsSlot;
|
|
39741
39798
|
if (!posts || posts.length === 0) return null;
|
|
39742
39799
|
return posts.map((post) => {
|
|
@@ -39834,9 +39891,9 @@ var AppleCarousel = ({
|
|
|
39834
39891
|
className,
|
|
39835
39892
|
containerClassName
|
|
39836
39893
|
}) => {
|
|
39837
|
-
const carouselRef =
|
|
39838
|
-
const [canScrollLeft, setCanScrollLeft] =
|
|
39839
|
-
const [canScrollRight, setCanScrollRight] =
|
|
39894
|
+
const carouselRef = React23__default.useRef(null);
|
|
39895
|
+
const [canScrollLeft, setCanScrollLeft] = React23__default.useState(false);
|
|
39896
|
+
const [canScrollRight, setCanScrollRight] = React23__default.useState(true);
|
|
39840
39897
|
const [currentIndex, setCurrentIndex] = useState(0);
|
|
39841
39898
|
useEffect(() => {
|
|
39842
39899
|
if (carouselRef.current) {
|
|
@@ -40073,7 +40130,7 @@ function BlogCarouselAppleComponent({
|
|
|
40073
40130
|
containerClassName,
|
|
40074
40131
|
cardClassName
|
|
40075
40132
|
}) {
|
|
40076
|
-
const carouselCards =
|
|
40133
|
+
const carouselCards = React23.useMemo(() => {
|
|
40077
40134
|
if (!posts || posts.length === 0) return [];
|
|
40078
40135
|
return posts.map(
|
|
40079
40136
|
(post, idx) => ({
|
|
@@ -40085,7 +40142,7 @@ function BlogCarouselAppleComponent({
|
|
|
40085
40142
|
})
|
|
40086
40143
|
);
|
|
40087
40144
|
}, [posts]);
|
|
40088
|
-
const cardElements =
|
|
40145
|
+
const cardElements = React23.useMemo(() => {
|
|
40089
40146
|
if (!posts || posts.length === 0) return [];
|
|
40090
40147
|
return carouselCards.map((card, index) => {
|
|
40091
40148
|
const post = posts[index];
|
|
@@ -40170,7 +40227,7 @@ function ArticleHeroProseComponent({
|
|
|
40170
40227
|
description,
|
|
40171
40228
|
authorImage
|
|
40172
40229
|
} = post ?? {};
|
|
40173
|
-
const authorContent =
|
|
40230
|
+
const authorContent = React23.useMemo(() => {
|
|
40174
40231
|
if (authorSlot) return authorSlot;
|
|
40175
40232
|
if (!authorName) return null;
|
|
40176
40233
|
return /* @__PURE__ */ jsxs(
|
|
@@ -40204,7 +40261,7 @@ function ArticleHeroProseComponent({
|
|
|
40204
40261
|
dateFormat,
|
|
40205
40262
|
authorClassName
|
|
40206
40263
|
]);
|
|
40207
|
-
const heroMediaContent =
|
|
40264
|
+
const heroMediaContent = React23.useMemo(() => {
|
|
40208
40265
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40209
40266
|
if (!image) return null;
|
|
40210
40267
|
return /* @__PURE__ */ jsx(
|
|
@@ -40305,7 +40362,7 @@ function ArticleSidebarStickyComponent({
|
|
|
40305
40362
|
pattern,
|
|
40306
40363
|
patternOpacity
|
|
40307
40364
|
}) {
|
|
40308
|
-
const backLinkContent =
|
|
40365
|
+
const backLinkContent = React23.useMemo(() => {
|
|
40309
40366
|
if (backLinkSlot) return backLinkSlot;
|
|
40310
40367
|
if (!backHref && !backText) return null;
|
|
40311
40368
|
return /* @__PURE__ */ jsxs(
|
|
@@ -40323,7 +40380,7 @@ function ArticleSidebarStickyComponent({
|
|
|
40323
40380
|
}
|
|
40324
40381
|
);
|
|
40325
40382
|
}, [backLinkSlot, backHref, backText, backIcon, backLinkClassName]);
|
|
40326
|
-
const renderAuthor =
|
|
40383
|
+
const renderAuthor = React23.useCallback(
|
|
40327
40384
|
(isMobile = false) => {
|
|
40328
40385
|
if (authorSlot) return authorSlot;
|
|
40329
40386
|
if (!authorName) return null;
|
|
@@ -40355,7 +40412,7 @@ function ArticleSidebarStickyComponent({
|
|
|
40355
40412
|
authorClassName
|
|
40356
40413
|
]
|
|
40357
40414
|
);
|
|
40358
|
-
const heroMediaContent =
|
|
40415
|
+
const heroMediaContent = React23.useMemo(() => {
|
|
40359
40416
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40360
40417
|
if (!heroImageSrc) return null;
|
|
40361
40418
|
return /* @__PURE__ */ jsx(
|
|
@@ -40462,10 +40519,10 @@ function ArticleTocSidebarComponent({
|
|
|
40462
40519
|
patternOpacity
|
|
40463
40520
|
}) {
|
|
40464
40521
|
const ctaActions = ctaActionsProp ?? (ctaButtonText ? [{ label: ctaButtonText, href: ctaButtonHref || "#", variant: "default", className: "w-full" }] : []);
|
|
40465
|
-
const [activeSection, setActiveSection] =
|
|
40522
|
+
const [activeSection, setActiveSection] = React23.useState(
|
|
40466
40523
|
sections?.[0]?.id || ""
|
|
40467
40524
|
);
|
|
40468
|
-
|
|
40525
|
+
React23.useEffect(() => {
|
|
40469
40526
|
if (!enableTocTracking || !sections || sections.length === 0) return;
|
|
40470
40527
|
const observer = new IntersectionObserver(
|
|
40471
40528
|
(entries) => {
|
|
@@ -40483,12 +40540,12 @@ function ArticleTocSidebarComponent({
|
|
|
40483
40540
|
});
|
|
40484
40541
|
return () => observer.disconnect();
|
|
40485
40542
|
}, [sections, enableTocTracking]);
|
|
40486
|
-
const categoryContent =
|
|
40543
|
+
const categoryContent = React23.useMemo(() => {
|
|
40487
40544
|
if (categorySlot) return categorySlot;
|
|
40488
40545
|
if (!category) return null;
|
|
40489
40546
|
return /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: category });
|
|
40490
40547
|
}, [categorySlot, category]);
|
|
40491
|
-
const authorContent =
|
|
40548
|
+
const authorContent = React23.useMemo(() => {
|
|
40492
40549
|
if (authorSlot) return authorSlot;
|
|
40493
40550
|
if (!authorName) return null;
|
|
40494
40551
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-4", authorClassName), children: [
|
|
@@ -40508,7 +40565,7 @@ function ArticleTocSidebarComponent({
|
|
|
40508
40565
|
] })
|
|
40509
40566
|
] });
|
|
40510
40567
|
}, [authorSlot, authorName, authorImage, authorHref, publishDate, readTime, authorClassName]);
|
|
40511
|
-
const heroMediaContent =
|
|
40568
|
+
const heroMediaContent = React23.useMemo(() => {
|
|
40512
40569
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40513
40570
|
if (!heroImageSrc) return null;
|
|
40514
40571
|
return /* @__PURE__ */ jsx(
|
|
@@ -40521,7 +40578,7 @@ function ArticleTocSidebarComponent({
|
|
|
40521
40578
|
}
|
|
40522
40579
|
);
|
|
40523
40580
|
}, [heroMediaSlot, heroImageSrc, heroImageAlt, heroImageClassName, optixFlowConfig]);
|
|
40524
|
-
const tocContent =
|
|
40581
|
+
const tocContent = React23.useMemo(() => {
|
|
40525
40582
|
if (tocSlot) return tocSlot;
|
|
40526
40583
|
if (!sections || sections.length === 0) return null;
|
|
40527
40584
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", tocClassName), children: [
|
|
@@ -40529,7 +40586,7 @@ function ArticleTocSidebarComponent({
|
|
|
40529
40586
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: sections.map((section) => {
|
|
40530
40587
|
const isActive = activeSection === section.id;
|
|
40531
40588
|
if (renderSectionLink) {
|
|
40532
|
-
return /* @__PURE__ */ jsx(
|
|
40589
|
+
return /* @__PURE__ */ jsx(React23.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
40533
40590
|
}
|
|
40534
40591
|
return /* @__PURE__ */ jsx(
|
|
40535
40592
|
Pressable,
|
|
@@ -40546,7 +40603,7 @@ function ArticleTocSidebarComponent({
|
|
|
40546
40603
|
}) })
|
|
40547
40604
|
] });
|
|
40548
40605
|
}, [tocSlot, sections, activeSection, renderSectionLink, tocClassName]);
|
|
40549
|
-
const ctaContent =
|
|
40606
|
+
const ctaContent = React23.useMemo(() => {
|
|
40550
40607
|
if (ctaSlot) return ctaSlot;
|
|
40551
40608
|
if (!ctaTitle && !ctaDescription && (!ctaActions || ctaActions.length === 0)) return null;
|
|
40552
40609
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", getNestedCardBg(background, "subtle"), getNestedCardTextColor(background), ctaClassName), children: [
|
|
@@ -40635,11 +40692,11 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40635
40692
|
patternOpacity
|
|
40636
40693
|
}) {
|
|
40637
40694
|
const author = authorProp ?? (authorName ? { name: authorName, image: authorImage, role: authorRole } : void 0);
|
|
40638
|
-
const [activeSection, setActiveSection] =
|
|
40695
|
+
const [activeSection, setActiveSection] = React23.useState(
|
|
40639
40696
|
sections?.[0]?.id || ""
|
|
40640
40697
|
);
|
|
40641
|
-
const [showBackToTop, setShowBackToTop] =
|
|
40642
|
-
|
|
40698
|
+
const [showBackToTop, setShowBackToTop] = React23.useState(false);
|
|
40699
|
+
React23.useEffect(() => {
|
|
40643
40700
|
if (!enableTocTracking || !sections || sections.length === 0) return;
|
|
40644
40701
|
const observer = new IntersectionObserver(
|
|
40645
40702
|
(entries) => {
|
|
@@ -40657,7 +40714,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40657
40714
|
});
|
|
40658
40715
|
return () => observer.disconnect();
|
|
40659
40716
|
}, [sections, enableTocTracking]);
|
|
40660
|
-
|
|
40717
|
+
React23.useEffect(() => {
|
|
40661
40718
|
if (!enableBackToTop) return;
|
|
40662
40719
|
const handleScroll = () => {
|
|
40663
40720
|
setShowBackToTop(window.scrollY > 400);
|
|
@@ -40665,15 +40722,15 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40665
40722
|
window.addEventListener("scroll", handleScroll);
|
|
40666
40723
|
return () => window.removeEventListener("scroll", handleScroll);
|
|
40667
40724
|
}, [enableBackToTop]);
|
|
40668
|
-
const scrollToTop =
|
|
40725
|
+
const scrollToTop = React23.useCallback(() => {
|
|
40669
40726
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
40670
40727
|
}, []);
|
|
40671
|
-
const breadcrumbsContent =
|
|
40728
|
+
const breadcrumbsContent = React23.useMemo(() => {
|
|
40672
40729
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
40673
40730
|
if (!breadcrumbs || breadcrumbs.length === 0) return null;
|
|
40674
40731
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-8", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
40675
40732
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
40676
|
-
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
40733
|
+
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
40677
40734
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
40678
40735
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
40679
40736
|
] }, index)),
|
|
@@ -40683,7 +40740,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40683
40740
|
] })
|
|
40684
40741
|
] }) });
|
|
40685
40742
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
40686
|
-
const authorContent =
|
|
40743
|
+
const authorContent = React23.useMemo(() => {
|
|
40687
40744
|
if (authorSlot) return authorSlot;
|
|
40688
40745
|
if (!author) return null;
|
|
40689
40746
|
return /* @__PURE__ */ jsxs(
|
|
@@ -40706,7 +40763,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40706
40763
|
}
|
|
40707
40764
|
);
|
|
40708
40765
|
}, [authorSlot, author, publishDate, readTime, authorClassName]);
|
|
40709
|
-
const heroMediaContent =
|
|
40766
|
+
const heroMediaContent = React23.useMemo(() => {
|
|
40710
40767
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40711
40768
|
if (!heroImageSrc) return null;
|
|
40712
40769
|
return /* @__PURE__ */ jsx(
|
|
@@ -40728,7 +40785,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40728
40785
|
heroImageClassName,
|
|
40729
40786
|
optixFlowConfig
|
|
40730
40787
|
]);
|
|
40731
|
-
const tocContent =
|
|
40788
|
+
const tocContent = React23.useMemo(() => {
|
|
40732
40789
|
if (tocSlot) return tocSlot;
|
|
40733
40790
|
if (!sections || sections.length === 0) return null;
|
|
40734
40791
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", tocClassName), children: [
|
|
@@ -40736,7 +40793,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40736
40793
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: sections.map((section) => {
|
|
40737
40794
|
const isActive = activeSection === section.id;
|
|
40738
40795
|
if (renderSectionLink) {
|
|
40739
|
-
return /* @__PURE__ */ jsx(
|
|
40796
|
+
return /* @__PURE__ */ jsx(React23.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
40740
40797
|
}
|
|
40741
40798
|
return /* @__PURE__ */ jsx(
|
|
40742
40799
|
Pressable,
|
|
@@ -40841,11 +40898,11 @@ function ArticleCompactTocComponent({
|
|
|
40841
40898
|
pattern,
|
|
40842
40899
|
patternOpacity
|
|
40843
40900
|
}) {
|
|
40844
|
-
const [activeSection, setActiveSection] =
|
|
40901
|
+
const [activeSection, setActiveSection] = React23.useState(
|
|
40845
40902
|
sections?.[0]?.id || ""
|
|
40846
40903
|
);
|
|
40847
|
-
const [isTocOpen, setIsTocOpen] =
|
|
40848
|
-
|
|
40904
|
+
const [isTocOpen, setIsTocOpen] = React23.useState(false);
|
|
40905
|
+
React23.useEffect(() => {
|
|
40849
40906
|
if (!enableTocTracking) return;
|
|
40850
40907
|
const observer = new IntersectionObserver(
|
|
40851
40908
|
(entries) => {
|
|
@@ -40863,12 +40920,12 @@ function ArticleCompactTocComponent({
|
|
|
40863
40920
|
});
|
|
40864
40921
|
return () => observer.disconnect();
|
|
40865
40922
|
}, [sections, enableTocTracking]);
|
|
40866
|
-
const breadcrumbsContent =
|
|
40923
|
+
const breadcrumbsContent = React23.useMemo(() => {
|
|
40867
40924
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
40868
40925
|
if (!breadcrumbs && !currentPage) return null;
|
|
40869
40926
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-6 md:mb-20", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
40870
40927
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
40871
|
-
breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
40928
|
+
breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
40872
40929
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
40873
40930
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
40874
40931
|
] }, index)),
|
|
@@ -40876,7 +40933,7 @@ function ArticleCompactTocComponent({
|
|
|
40876
40933
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: currentPage }) })
|
|
40877
40934
|
] }) });
|
|
40878
40935
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
40879
|
-
const shareContent =
|
|
40936
|
+
const shareContent = React23.useMemo(() => {
|
|
40880
40937
|
if (shareSlot) return shareSlot;
|
|
40881
40938
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
40882
40939
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-2", shareClassName), children: [
|
|
@@ -40893,13 +40950,13 @@ function ArticleCompactTocComponent({
|
|
|
40893
40950
|
))
|
|
40894
40951
|
] });
|
|
40895
40952
|
}, [shareSlot, socialLinks, shareClassName]);
|
|
40896
|
-
const renderTocLinks =
|
|
40953
|
+
const renderTocLinks = React23.useCallback(
|
|
40897
40954
|
(onLinkClick) => {
|
|
40898
40955
|
if (!sections) return null;
|
|
40899
40956
|
return sections.map((section) => {
|
|
40900
40957
|
const isActive = activeSection === section.id;
|
|
40901
40958
|
if (renderSectionLink) {
|
|
40902
|
-
return /* @__PURE__ */ jsx(
|
|
40959
|
+
return /* @__PURE__ */ jsx(React23.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
40903
40960
|
}
|
|
40904
40961
|
return /* @__PURE__ */ jsx(
|
|
40905
40962
|
Pressable,
|
|
@@ -40918,7 +40975,7 @@ function ArticleCompactTocComponent({
|
|
|
40918
40975
|
},
|
|
40919
40976
|
[sections, activeSection, renderSectionLink]
|
|
40920
40977
|
);
|
|
40921
|
-
const tocContent =
|
|
40978
|
+
const tocContent = React23.useMemo(() => {
|
|
40922
40979
|
if (tocSlot) return tocSlot;
|
|
40923
40980
|
if (!sections || sections.length === 0) return null;
|
|
40924
40981
|
return /* @__PURE__ */ jsx("div", { className: "mb-8 lg:hidden", children: /* @__PURE__ */ jsxs(Popover, { open: isTocOpen, onOpenChange: setIsTocOpen, children: [
|
|
@@ -40951,7 +41008,7 @@ function ArticleCompactTocComponent({
|
|
|
40951
41008
|
)
|
|
40952
41009
|
] }) });
|
|
40953
41010
|
}, [tocSlot, sections, isTocOpen, tocClassName, renderTocLinks]);
|
|
40954
|
-
const desktopTocContent =
|
|
41011
|
+
const desktopTocContent = React23.useMemo(() => {
|
|
40955
41012
|
if (tocSlot) return null;
|
|
40956
41013
|
if (!sections || sections.length === 0) return null;
|
|
40957
41014
|
return /* @__PURE__ */ jsx(
|
|
@@ -40968,7 +41025,7 @@ function ArticleCompactTocComponent({
|
|
|
40968
41025
|
}
|
|
40969
41026
|
);
|
|
40970
41027
|
}, [tocSlot, sections, tocClassName, renderTocLinks]);
|
|
40971
|
-
const heroMediaContent =
|
|
41028
|
+
const heroMediaContent = React23.useMemo(() => {
|
|
40972
41029
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40973
41030
|
if (!heroImageSrc) return null;
|
|
40974
41031
|
return /* @__PURE__ */ jsx(
|
|
@@ -41098,10 +41155,10 @@ function ArticleChaptersAuthorComponent({
|
|
|
41098
41155
|
variant: "default"
|
|
41099
41156
|
}
|
|
41100
41157
|
] : []);
|
|
41101
|
-
const [activeChapter, setActiveChapter] =
|
|
41158
|
+
const [activeChapter, setActiveChapter] = React23.useState(
|
|
41102
41159
|
chapters?.[0]?.id || ""
|
|
41103
41160
|
);
|
|
41104
|
-
|
|
41161
|
+
React23.useEffect(() => {
|
|
41105
41162
|
if (!enableChapterTracking || !chapters || chapters.length === 0) return;
|
|
41106
41163
|
const observer = new IntersectionObserver(
|
|
41107
41164
|
(entries) => {
|
|
@@ -41119,12 +41176,12 @@ function ArticleChaptersAuthorComponent({
|
|
|
41119
41176
|
});
|
|
41120
41177
|
return () => observer.disconnect();
|
|
41121
41178
|
}, [chapters, enableChapterTracking]);
|
|
41122
|
-
const breadcrumbsContent =
|
|
41179
|
+
const breadcrumbsContent = React23.useMemo(() => {
|
|
41123
41180
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
41124
41181
|
if (!breadcrumbs || breadcrumbs.length === 0) return null;
|
|
41125
41182
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-8 md:mb-20", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
41126
41183
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
41127
|
-
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
41184
|
+
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
41128
41185
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
41129
41186
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
41130
41187
|
] }, index)),
|
|
@@ -41132,7 +41189,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41132
41189
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: typeof currentPage === "string" ? currentPage : currentPage }) })
|
|
41133
41190
|
] }) });
|
|
41134
41191
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
41135
|
-
const chaptersNavContent =
|
|
41192
|
+
const chaptersNavContent = React23.useMemo(() => {
|
|
41136
41193
|
if (chaptersSlot) return chaptersSlot;
|
|
41137
41194
|
if (!chapters || chapters.length === 0) return null;
|
|
41138
41195
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", chaptersClassName), children: [
|
|
@@ -41140,7 +41197,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41140
41197
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: chapters.map((chapter) => {
|
|
41141
41198
|
const isActive = activeChapter === chapter.id;
|
|
41142
41199
|
if (renderChapterLink) {
|
|
41143
|
-
return /* @__PURE__ */ jsx(
|
|
41200
|
+
return /* @__PURE__ */ jsx(React23.Fragment, { children: renderChapterLink(chapter, isActive) }, chapter.id);
|
|
41144
41201
|
}
|
|
41145
41202
|
return /* @__PURE__ */ jsxs(
|
|
41146
41203
|
Pressable,
|
|
@@ -41166,7 +41223,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41166
41223
|
renderChapterLink,
|
|
41167
41224
|
chaptersClassName
|
|
41168
41225
|
]);
|
|
41169
|
-
const authorCardContent =
|
|
41226
|
+
const authorCardContent = React23.useMemo(() => {
|
|
41170
41227
|
if (authorSlot) return authorSlot;
|
|
41171
41228
|
if (!author) return null;
|
|
41172
41229
|
let socialLinksContent = null;
|
|
@@ -41227,7 +41284,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41227
41284
|
socialLinksContent
|
|
41228
41285
|
] });
|
|
41229
41286
|
}, [authorSlot, author, authorClassName]);
|
|
41230
|
-
const heroMediaContent =
|
|
41287
|
+
const heroMediaContent = React23.useMemo(() => {
|
|
41231
41288
|
if (heroMediaSlot) return heroMediaSlot;
|
|
41232
41289
|
if (!heroImageSrc) return null;
|
|
41233
41290
|
return /* @__PURE__ */ jsx(
|
|
@@ -41249,7 +41306,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41249
41306
|
heroImageClassName,
|
|
41250
41307
|
optixFlowConfig
|
|
41251
41308
|
]);
|
|
41252
|
-
const conclusionContent =
|
|
41309
|
+
const conclusionContent = React23.useMemo(() => {
|
|
41253
41310
|
if (conclusionSlot) return conclusionSlot;
|
|
41254
41311
|
if (!conclusionTitle && !conclusionDescription && (!conclusionActions || conclusionActions.length === 0))
|
|
41255
41312
|
return null;
|
|
@@ -41394,7 +41451,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41394
41451
|
}) {
|
|
41395
41452
|
const ctaActions = ctaActionsProp ?? (ctaText ? [{ label: ctaText, href: ctaHref || "#", variant: "default", size: "lg" }] : []);
|
|
41396
41453
|
const MotionWrapper = enableAnimations ? motion.div : "div";
|
|
41397
|
-
const categoryContent =
|
|
41454
|
+
const categoryContent = React23.useMemo(() => {
|
|
41398
41455
|
if (categorySlot) return categorySlot;
|
|
41399
41456
|
if (!category) return null;
|
|
41400
41457
|
return /* @__PURE__ */ jsx(
|
|
@@ -41409,7 +41466,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41409
41466
|
}
|
|
41410
41467
|
);
|
|
41411
41468
|
}, [categorySlot, category, categoryHref, categoryClassName]);
|
|
41412
|
-
const heroMediaContent =
|
|
41469
|
+
const heroMediaContent = React23.useMemo(() => {
|
|
41413
41470
|
if (heroMediaSlot) return heroMediaSlot;
|
|
41414
41471
|
if (!image) return null;
|
|
41415
41472
|
return /* @__PURE__ */ jsx(
|
|
@@ -41422,7 +41479,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41422
41479
|
}
|
|
41423
41480
|
);
|
|
41424
41481
|
}, [heroMediaSlot, image, imageAlt, title, optixFlowConfig]);
|
|
41425
|
-
const authorContent =
|
|
41482
|
+
const authorContent = React23.useMemo(() => {
|
|
41426
41483
|
if (authorSlot) return authorSlot;
|
|
41427
41484
|
if (!authorName) return null;
|
|
41428
41485
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-8 flex items-center gap-4", authorClassName), children: [
|
|
@@ -41436,7 +41493,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41436
41493
|
] })
|
|
41437
41494
|
] });
|
|
41438
41495
|
}, [authorSlot, authorName, authorImage, authorHref, authorRole, authorClassName]);
|
|
41439
|
-
const ctaContent =
|
|
41496
|
+
const ctaContent = React23.useMemo(() => {
|
|
41440
41497
|
if (ctaSlot) return ctaSlot;
|
|
41441
41498
|
if (!ctaActions || ctaActions.length === 0) return null;
|
|
41442
41499
|
return /* @__PURE__ */ jsx("div", { className: cn("mt-8 flex flex-wrap gap-3", ctaClassName), children: ctaActions.map((action, index) => {
|
|
@@ -42859,7 +42916,7 @@ function FaqSidebarNavigation({
|
|
|
42859
42916
|
accordionTriggerClassName,
|
|
42860
42917
|
accordionContentClassName
|
|
42861
42918
|
}) {
|
|
42862
|
-
const [activeCategory, setActiveCategory] =
|
|
42919
|
+
const [activeCategory, setActiveCategory] = React23.useState(
|
|
42863
42920
|
categories && categories.length > 1 ? "all" : categories?.[0]?.id || ""
|
|
42864
42921
|
);
|
|
42865
42922
|
const filteredCategories = useMemo(() => {
|
|
@@ -43748,7 +43805,7 @@ function FaqSplitHero({
|
|
|
43748
43805
|
imageArea
|
|
43749
43806
|
] }) });
|
|
43750
43807
|
}
|
|
43751
|
-
var Controls =
|
|
43808
|
+
var Controls = React23.memo(
|
|
43752
43809
|
({
|
|
43753
43810
|
handleNext,
|
|
43754
43811
|
handlePrevious,
|
|
@@ -43779,7 +43836,7 @@ var Controls = React22.memo(
|
|
|
43779
43836
|
] });
|
|
43780
43837
|
}
|
|
43781
43838
|
);
|
|
43782
|
-
var FeatureCard =
|
|
43839
|
+
var FeatureCard = React23.memo(
|
|
43783
43840
|
({ feature, isActive, onClick }) => {
|
|
43784
43841
|
const variants2 = useMemo(
|
|
43785
43842
|
() => ({
|
|
@@ -43887,7 +43944,7 @@ var FeatureCard = React22.memo(
|
|
|
43887
43944
|
) });
|
|
43888
43945
|
}
|
|
43889
43946
|
);
|
|
43890
|
-
var FeaturesDesktop =
|
|
43947
|
+
var FeaturesDesktop = React23.memo(
|
|
43891
43948
|
({
|
|
43892
43949
|
features,
|
|
43893
43950
|
handleNext,
|
|
@@ -43921,7 +43978,7 @@ var FeaturesDesktop = React22.memo(
|
|
|
43921
43978
|
] });
|
|
43922
43979
|
}
|
|
43923
43980
|
);
|
|
43924
|
-
var FeaturesMobile =
|
|
43981
|
+
var FeaturesMobile = React23.memo(
|
|
43925
43982
|
({
|
|
43926
43983
|
features,
|
|
43927
43984
|
handleNext,
|
|
@@ -44012,8 +44069,8 @@ function FeatureAnimatedCarousel({
|
|
|
44012
44069
|
spacing = "py-12 md:py-32",
|
|
44013
44070
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
|
|
44014
44071
|
}) {
|
|
44015
|
-
const [activeIndex, setActiveIndex] =
|
|
44016
|
-
const [direction, setDirection] =
|
|
44072
|
+
const [activeIndex, setActiveIndex] = React23.useState(0);
|
|
44073
|
+
const [direction, setDirection] = React23.useState(1);
|
|
44017
44074
|
const handleNext = useCallback(() => {
|
|
44018
44075
|
if (features && activeIndex < features.length - 1) {
|
|
44019
44076
|
setDirection(1);
|
|
@@ -44875,7 +44932,7 @@ function FooterInfoCardsAccordion({
|
|
|
44875
44932
|
patternOpacity,
|
|
44876
44933
|
optixFlowConfig
|
|
44877
44934
|
}) {
|
|
44878
|
-
const [email, setEmail] =
|
|
44935
|
+
const [email, setEmail] = React23.useState("");
|
|
44879
44936
|
(/* @__PURE__ */ new Date()).getFullYear();
|
|
44880
44937
|
const handleSubmit = (e) => {
|
|
44881
44938
|
e.preventDefault();
|
|
@@ -45180,13 +45237,13 @@ function CaseStudiesImageGrid({
|
|
|
45180
45237
|
patternOpacity,
|
|
45181
45238
|
optixFlowConfig
|
|
45182
45239
|
}) {
|
|
45183
|
-
const getGridClass =
|
|
45240
|
+
const getGridClass = React23.useCallback((index) => {
|
|
45184
45241
|
if (index === 0 || index === 4) {
|
|
45185
45242
|
return "row-span-2 aspect-square lg:aspect-auto";
|
|
45186
45243
|
}
|
|
45187
45244
|
return "aspect-3/2 md:aspect-2/1";
|
|
45188
45245
|
}, []);
|
|
45189
|
-
const renderedItems =
|
|
45246
|
+
const renderedItems = React23.useMemo(() => {
|
|
45190
45247
|
if (itemsSlot) return itemsSlot;
|
|
45191
45248
|
if (!items || items.length === 0) return null;
|
|
45192
45249
|
return items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
@@ -45272,7 +45329,7 @@ function CaseStudiesTestimonialStats({
|
|
|
45272
45329
|
patternOpacity,
|
|
45273
45330
|
optixFlowConfig
|
|
45274
45331
|
}) {
|
|
45275
|
-
const renderedTestimonials =
|
|
45332
|
+
const renderedTestimonials = React23.useMemo(() => {
|
|
45276
45333
|
if (testimonialsSlot) return testimonialsSlot;
|
|
45277
45334
|
if (!testimonials || testimonials.length === 0) return null;
|
|
45278
45335
|
return testimonials.map((testimonial, index) => /* @__PURE__ */ jsxs("div", { className: testimonialItemClassName, children: [
|
|
@@ -48745,7 +48802,7 @@ function CaseStudiesFeaturedBorder({
|
|
|
48745
48802
|
patternOpacity,
|
|
48746
48803
|
optixFlowConfig
|
|
48747
48804
|
}) {
|
|
48748
|
-
const renderedFeatured =
|
|
48805
|
+
const renderedFeatured = React23.useMemo(() => {
|
|
48749
48806
|
if (featuredSlot) return featuredSlot;
|
|
48750
48807
|
if (!featuredCaseStudy) return null;
|
|
48751
48808
|
return /* @__PURE__ */ jsxs(
|
|
@@ -48819,7 +48876,7 @@ function CaseStudiesFeaturedBorder({
|
|
|
48819
48876
|
featuredImageClassName,
|
|
48820
48877
|
optixFlowConfig
|
|
48821
48878
|
]);
|
|
48822
|
-
const renderedCaseStudies =
|
|
48879
|
+
const renderedCaseStudies = React23.useMemo(() => {
|
|
48823
48880
|
if (caseStudiesSlot) return caseStudiesSlot;
|
|
48824
48881
|
if (!caseStudies || caseStudies.length === 0) return null;
|
|
48825
48882
|
return caseStudies.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -48928,7 +48985,7 @@ function CaseStudiesStatsCard({
|
|
|
48928
48985
|
patternOpacity,
|
|
48929
48986
|
optixFlowConfig
|
|
48930
48987
|
}) {
|
|
48931
|
-
const renderedStats =
|
|
48988
|
+
const renderedStats = React23.useMemo(() => {
|
|
48932
48989
|
if (statsSlot) return statsSlot;
|
|
48933
48990
|
if (!stats || stats.length === 0) return null;
|
|
48934
48991
|
return /* @__PURE__ */ jsx("div", { className: cn("flex w-full flex-col gap-8 sm:flex-row", statsClassName), children: stats.map((item, i) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
@@ -48936,7 +48993,7 @@ function CaseStudiesStatsCard({
|
|
|
48936
48993
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-muted-foreground", children: item.text })
|
|
48937
48994
|
] }, `stats-${i}`)) });
|
|
48938
48995
|
}, [statsSlot, stats, statsClassName]);
|
|
48939
|
-
const renderedAuthor =
|
|
48996
|
+
const renderedAuthor = React23.useMemo(() => {
|
|
48940
48997
|
if (authorSlot) return authorSlot;
|
|
48941
48998
|
if (!author) return null;
|
|
48942
48999
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2.5", authorClassName), children: [
|
|
@@ -48950,7 +49007,7 @@ function CaseStudiesStatsCard({
|
|
|
48950
49007
|
] })
|
|
48951
49008
|
] });
|
|
48952
49009
|
}, [authorSlot, author, authorClassName]);
|
|
48953
|
-
const renderedActions =
|
|
49010
|
+
const renderedActions = React23.useMemo(() => {
|
|
48954
49011
|
if (actionsSlot) return actionsSlot;
|
|
48955
49012
|
if (!actions || actions.length === 0) return null;
|
|
48956
49013
|
return /* @__PURE__ */ jsx("div", { className: cn("shrink-0", actionsClassName), children: actions.map((action, index) => {
|
|
@@ -55936,7 +55993,7 @@ function HeroHiringAnimatedText({
|
|
|
55936
55993
|
}
|
|
55937
55994
|
);
|
|
55938
55995
|
}
|
|
55939
|
-
var
|
|
55996
|
+
var DEFAULT_FORM_FIELDS42 = [
|
|
55940
55997
|
{
|
|
55941
55998
|
name: "email",
|
|
55942
55999
|
type: "email",
|
|
@@ -55949,7 +56006,7 @@ var DEFAULT_FORM_FIELDS41 = [
|
|
|
55949
56006
|
function HeroSplitImageNewsletter({
|
|
55950
56007
|
heading,
|
|
55951
56008
|
description,
|
|
55952
|
-
formFields =
|
|
56009
|
+
formFields = DEFAULT_FORM_FIELDS42,
|
|
55953
56010
|
formConfig,
|
|
55954
56011
|
onSubmit,
|
|
55955
56012
|
onSuccess,
|
|
@@ -55991,8 +56048,9 @@ function HeroSplitImageNewsletter({
|
|
|
55991
56048
|
onError,
|
|
55992
56049
|
uploadTokens
|
|
55993
56050
|
});
|
|
55994
|
-
const renderForm =
|
|
56051
|
+
const renderForm = React23.useMemo(() => {
|
|
55995
56052
|
if (formSlot) return formSlot;
|
|
56053
|
+
if (!formFields || formFields.length === 0) return null;
|
|
55996
56054
|
const defaultButtonAction = {
|
|
55997
56055
|
label: "Subscribe",
|
|
55998
56056
|
variant: "default",
|
|
@@ -56069,7 +56127,7 @@ function HeroSplitImageNewsletter({
|
|
|
56069
56127
|
resetUpload,
|
|
56070
56128
|
resetSubmissionState
|
|
56071
56129
|
]);
|
|
56072
|
-
const renderImage =
|
|
56130
|
+
const renderImage = React23.useMemo(() => {
|
|
56073
56131
|
if (imageSlot) return imageSlot;
|
|
56074
56132
|
if (!image) return null;
|
|
56075
56133
|
return /* @__PURE__ */ jsx("div", { className: "relative lg:w-1/2", children: /* @__PURE__ */ jsx(
|
|
@@ -57439,7 +57497,7 @@ function HeroProductShowcaseFloating({
|
|
|
57439
57497
|
}
|
|
57440
57498
|
);
|
|
57441
57499
|
}
|
|
57442
|
-
var
|
|
57500
|
+
var DEFAULT_FORM_FIELDS43 = [
|
|
57443
57501
|
{
|
|
57444
57502
|
name: "email",
|
|
57445
57503
|
type: "email",
|
|
@@ -57455,7 +57513,7 @@ function HeroSaasDashboardPreview({
|
|
|
57455
57513
|
badgeSlot,
|
|
57456
57514
|
heading,
|
|
57457
57515
|
description,
|
|
57458
|
-
formFields =
|
|
57516
|
+
formFields = DEFAULT_FORM_FIELDS43,
|
|
57459
57517
|
formConfig,
|
|
57460
57518
|
onSubmit,
|
|
57461
57519
|
onSuccess,
|
|
@@ -57497,7 +57555,7 @@ function HeroSaasDashboardPreview({
|
|
|
57497
57555
|
onError,
|
|
57498
57556
|
uploadTokens
|
|
57499
57557
|
});
|
|
57500
|
-
const renderBadge =
|
|
57558
|
+
const renderBadge = React23.useMemo(() => {
|
|
57501
57559
|
if (badgeSlot) return badgeSlot;
|
|
57502
57560
|
return /* @__PURE__ */ jsxs(
|
|
57503
57561
|
"div",
|
|
@@ -57512,7 +57570,7 @@ function HeroSaasDashboardPreview({
|
|
|
57512
57570
|
}
|
|
57513
57571
|
);
|
|
57514
57572
|
}, [badgeSlot, badgeIcon, badgeText]);
|
|
57515
|
-
const renderForm =
|
|
57573
|
+
const renderForm = React23.useMemo(() => {
|
|
57516
57574
|
if (formSlot) return formSlot;
|
|
57517
57575
|
const defaultButtonAction = {
|
|
57518
57576
|
label: "Start Free Trial",
|
|
@@ -57587,7 +57645,7 @@ function HeroSaasDashboardPreview({
|
|
|
57587
57645
|
resetUpload,
|
|
57588
57646
|
resetSubmissionState
|
|
57589
57647
|
]);
|
|
57590
|
-
const renderBrowserPreview =
|
|
57648
|
+
const renderBrowserPreview = React23.useMemo(() => {
|
|
57591
57649
|
if (browserPreviewSlot) return browserPreviewSlot;
|
|
57592
57650
|
if (!browserPreview) return null;
|
|
57593
57651
|
return /* @__PURE__ */ jsxs("div", { className: cn("relative mt-20", previewClassName), children: [
|
|
@@ -59838,7 +59896,7 @@ function HeroEcommerceProductShowcase({
|
|
|
59838
59896
|
"flex flex-col md:flex-row items-center gap-4 md:gap-6 pt-8 md:pt-12",
|
|
59839
59897
|
statsClassName
|
|
59840
59898
|
),
|
|
59841
|
-
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(
|
|
59899
|
+
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
59842
59900
|
index > 0 && /* @__PURE__ */ jsx("div", { className: "h-12 w-px bg-border hidden md:flex" }),
|
|
59843
59901
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 justify-between flex-row md:flex-col text-left md:text-center w-full md:w-fit border md:border-none rounded-xl md:rounded-none p-4 md:p-0", children: [
|
|
59844
59902
|
/* @__PURE__ */ jsxs(
|
|
@@ -60244,7 +60302,7 @@ function HeroPricingComparison({
|
|
|
60244
60302
|
}
|
|
60245
60303
|
);
|
|
60246
60304
|
}
|
|
60247
|
-
var
|
|
60305
|
+
var DEFAULT_FORM_FIELDS44 = [
|
|
60248
60306
|
{
|
|
60249
60307
|
name: "email",
|
|
60250
60308
|
type: "email",
|
|
@@ -60257,7 +60315,7 @@ var DEFAULT_FORM_FIELDS43 = [
|
|
|
60257
60315
|
function HeroNewsletterMinimal({
|
|
60258
60316
|
heading,
|
|
60259
60317
|
description,
|
|
60260
|
-
formFields =
|
|
60318
|
+
formFields = DEFAULT_FORM_FIELDS44,
|
|
60261
60319
|
formConfig,
|
|
60262
60320
|
onSubmit,
|
|
60263
60321
|
onSuccess,
|
|
@@ -60301,7 +60359,7 @@ function HeroNewsletterMinimal({
|
|
|
60301
60359
|
onError,
|
|
60302
60360
|
uploadTokens
|
|
60303
60361
|
});
|
|
60304
|
-
const renderStats =
|
|
60362
|
+
const renderStats = React23.useMemo(() => {
|
|
60305
60363
|
if (statsSlot) return statsSlot;
|
|
60306
60364
|
if (!stats || stats.length === 0) return null;
|
|
60307
60365
|
return stats.map((stat, index) => /* @__PURE__ */ jsx("div", { className: cn("flex items-center", stat.className), children: /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
@@ -60327,7 +60385,7 @@ function HeroNewsletterMinimal({
|
|
|
60327
60385
|
/* @__PURE__ */ jsx("div", { className: cn("text-sm"), children: stat.label })
|
|
60328
60386
|
] }) }, index));
|
|
60329
60387
|
}, [statsSlot, stats]);
|
|
60330
|
-
const renderForm =
|
|
60388
|
+
const renderForm = React23.useMemo(() => {
|
|
60331
60389
|
if (formSlot) return formSlot;
|
|
60332
60390
|
const defaultButtonAction = {
|
|
60333
60391
|
label: "Subscribe",
|
|
@@ -60468,7 +60526,7 @@ function HeroNewsletterMinimal({
|
|
|
60468
60526
|
}
|
|
60469
60527
|
);
|
|
60470
60528
|
}
|
|
60471
|
-
var
|
|
60529
|
+
var DEFAULT_FORM_FIELDS45 = [
|
|
60472
60530
|
{
|
|
60473
60531
|
name: "email",
|
|
60474
60532
|
type: "email",
|
|
@@ -60523,7 +60581,7 @@ function HeroComingSoonCountdown({
|
|
|
60523
60581
|
description,
|
|
60524
60582
|
countdownDate,
|
|
60525
60583
|
countdownSlot,
|
|
60526
|
-
formFields =
|
|
60584
|
+
formFields = DEFAULT_FORM_FIELDS45,
|
|
60527
60585
|
formConfig,
|
|
60528
60586
|
onSubmit,
|
|
60529
60587
|
onSuccess,
|
|
@@ -60548,7 +60606,7 @@ function HeroComingSoonCountdown({
|
|
|
60548
60606
|
formClassName,
|
|
60549
60607
|
socialLinksClassName
|
|
60550
60608
|
}) {
|
|
60551
|
-
const [timeLeft, setTimeLeft] =
|
|
60609
|
+
const [timeLeft, setTimeLeft] = React23.useState(null);
|
|
60552
60610
|
const {
|
|
60553
60611
|
uploadTokens,
|
|
60554
60612
|
uploadProgress,
|
|
@@ -60568,7 +60626,7 @@ function HeroComingSoonCountdown({
|
|
|
60568
60626
|
onError,
|
|
60569
60627
|
uploadTokens
|
|
60570
60628
|
});
|
|
60571
|
-
const calculateTimeLeft =
|
|
60629
|
+
const calculateTimeLeft = React23.useCallback(() => {
|
|
60572
60630
|
if (!countdownDate) return null;
|
|
60573
60631
|
const now = Date.now();
|
|
60574
60632
|
const target = countdownDate.getTime();
|
|
@@ -60581,7 +60639,7 @@ function HeroComingSoonCountdown({
|
|
|
60581
60639
|
seconds: Math.floor(diff % (1e3 * 60) / 1e3)
|
|
60582
60640
|
};
|
|
60583
60641
|
}, [countdownDate]);
|
|
60584
|
-
|
|
60642
|
+
React23.useEffect(() => {
|
|
60585
60643
|
setTimeLeft(calculateTimeLeft());
|
|
60586
60644
|
if (!countdownDate) return;
|
|
60587
60645
|
const timer = setInterval(() => {
|
|
@@ -60592,7 +60650,7 @@ function HeroComingSoonCountdown({
|
|
|
60592
60650
|
return () => clearInterval(timer);
|
|
60593
60651
|
}, [countdownDate, calculateTimeLeft]);
|
|
60594
60652
|
const showCountdown = countdownSlot || timeLeft;
|
|
60595
|
-
const renderForm =
|
|
60653
|
+
const renderForm = React23.useMemo(() => {
|
|
60596
60654
|
if (formSlot) return formSlot;
|
|
60597
60655
|
const defaultButtonAction = {
|
|
60598
60656
|
label: "Notify Me",
|
|
@@ -60668,7 +60726,7 @@ function HeroComingSoonCountdown({
|
|
|
60668
60726
|
resetUpload,
|
|
60669
60727
|
resetSubmissionState
|
|
60670
60728
|
]);
|
|
60671
|
-
const renderSocialLinks =
|
|
60729
|
+
const renderSocialLinks = React23.useMemo(() => {
|
|
60672
60730
|
if (socialLinksSlot) return socialLinksSlot;
|
|
60673
60731
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
60674
60732
|
return socialLinks.map((link, index) => /* @__PURE__ */ jsx(
|
|
@@ -60800,7 +60858,7 @@ function HeroEventRegistration({
|
|
|
60800
60858
|
"flex flex-col md:flex-row items-center gap-4 md:gap-6 pt-8 md:pt-12 w-full md:w-fit",
|
|
60801
60859
|
statsClassName
|
|
60802
60860
|
),
|
|
60803
|
-
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(
|
|
60861
|
+
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
60804
60862
|
index > 0 && /* @__PURE__ */ jsx("div", { className: "h-12 w-px bg-border hidden md:flex" }),
|
|
60805
60863
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 justify-between flex-row md:flex-col text-left md:text-center w-full md:w-fit border md:border-none rounded-xl md:rounded-none p-4 md:p-0", children: [
|
|
60806
60864
|
/* @__PURE__ */ jsxs(
|
|
@@ -61140,7 +61198,7 @@ function ComparisonTableTwoColumn({
|
|
|
61140
61198
|
patternOpacity,
|
|
61141
61199
|
optixFlowConfig
|
|
61142
61200
|
}) {
|
|
61143
|
-
const tableContent =
|
|
61201
|
+
const tableContent = React23.useMemo(() => {
|
|
61144
61202
|
if (tableSlot) return tableSlot;
|
|
61145
61203
|
if (!rows || rows.length === 0) return null;
|
|
61146
61204
|
return /* @__PURE__ */ jsx("div", { className: cn("-mr-4 overflow-x-auto", tableWrapperClassName), children: /* @__PURE__ */ jsx("div", { className: "min-w-2xl overflow-hidden", children: /* @__PURE__ */ jsxs(
|
|
@@ -61170,7 +61228,7 @@ function ComparisonTableTwoColumn({
|
|
|
61170
61228
|
optixFlowConfig
|
|
61171
61229
|
}
|
|
61172
61230
|
) : optionBLabel && (typeof optionBLabel === "string" ? /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: optionBLabel }) : optionBLabel) }),
|
|
61173
|
-
rows.map((row, idx) => /* @__PURE__ */ jsxs(
|
|
61231
|
+
rows.map((row, idx) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
61174
61232
|
/* @__PURE__ */ jsx("div", { className: "flex items-center border-b p-3 text-base font-medium md:p-4 md:text-lg", children: row.label }),
|
|
61175
61233
|
/* @__PURE__ */ jsx("div", { className: cn("border-b bg-success/5 p-3 md:p-6", optionACellClassName), children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
61176
61234
|
row.hasIcon && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check-big", size: 20, className: "text-success" }),
|
|
@@ -61199,14 +61257,14 @@ function ComparisonTableTwoColumn({
|
|
|
61199
61257
|
optionBLabel,
|
|
61200
61258
|
optixFlowConfig
|
|
61201
61259
|
]);
|
|
61202
|
-
const headingContent =
|
|
61260
|
+
const headingContent = React23.useMemo(() => {
|
|
61203
61261
|
if (!heading) return null;
|
|
61204
61262
|
if (typeof heading === "string") {
|
|
61205
61263
|
return /* @__PURE__ */ jsx("h1", { className: cn("mb-8 text-3xl font-bold md:mb-12 md:text-5xl", headingClassName), children: heading });
|
|
61206
61264
|
}
|
|
61207
61265
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
61208
61266
|
}, [heading, headingClassName]);
|
|
61209
|
-
const descriptionContent =
|
|
61267
|
+
const descriptionContent = React23.useMemo(() => {
|
|
61210
61268
|
if (!description) return null;
|
|
61211
61269
|
if (typeof description === "string") {
|
|
61212
61270
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -61253,7 +61311,7 @@ function ComparisonFeatureCards({
|
|
|
61253
61311
|
patternOpacity,
|
|
61254
61312
|
optixFlowConfig
|
|
61255
61313
|
}) {
|
|
61256
|
-
const renderCard =
|
|
61314
|
+
const renderCard = React23.useCallback(
|
|
61257
61315
|
(product, isHighlighted) => /* @__PURE__ */ jsxs(
|
|
61258
61316
|
"div",
|
|
61259
61317
|
{
|
|
@@ -61309,7 +61367,7 @@ function ComparisonFeatureCards({
|
|
|
61309
61367
|
),
|
|
61310
61368
|
[cardClassName, optixFlowConfig]
|
|
61311
61369
|
);
|
|
61312
|
-
const cardsContent =
|
|
61370
|
+
const cardsContent = React23.useMemo(() => {
|
|
61313
61371
|
if (cardsSlot) return cardsSlot;
|
|
61314
61372
|
if (!productA || !productB) return null;
|
|
61315
61373
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -61317,28 +61375,28 @@ function ComparisonFeatureCards({
|
|
|
61317
61375
|
renderCard(productB, productB.highlighted ?? false)
|
|
61318
61376
|
] });
|
|
61319
61377
|
}, [cardsSlot, productA, productB, renderCard]);
|
|
61320
|
-
const headingContent =
|
|
61378
|
+
const headingContent = React23.useMemo(() => {
|
|
61321
61379
|
if (!heading) return null;
|
|
61322
61380
|
if (typeof heading === "string") {
|
|
61323
61381
|
return /* @__PURE__ */ jsx("h1", { className: cn("mb-6 text-4xl font-semibold md:text-7xl", headingClassName), children: heading });
|
|
61324
61382
|
}
|
|
61325
61383
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
61326
61384
|
}, [heading, headingClassName]);
|
|
61327
|
-
const descriptionContent =
|
|
61385
|
+
const descriptionContent = React23.useMemo(() => {
|
|
61328
61386
|
if (!description) return null;
|
|
61329
61387
|
if (typeof description === "string") {
|
|
61330
61388
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto max-w-4xl text-muted-foreground md:text-xl", descriptionClassName), children: description });
|
|
61331
61389
|
}
|
|
61332
61390
|
return /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description });
|
|
61333
61391
|
}, [description, descriptionClassName]);
|
|
61334
|
-
const suitabilityContent =
|
|
61392
|
+
const suitabilityContent = React23.useMemo(() => {
|
|
61335
61393
|
if (!suitabilityTitle && !suitabilityDescription) return null;
|
|
61336
61394
|
return /* @__PURE__ */ jsxs("div", { className: suitabilityClassName, children: [
|
|
61337
61395
|
suitabilityTitle && (typeof suitabilityTitle === "string" ? /* @__PURE__ */ jsx("h2", { className: "mb-4 text-3xl font-semibold", children: suitabilityTitle }) : suitabilityTitle),
|
|
61338
61396
|
suitabilityDescription && (typeof suitabilityDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "leading-6 text-muted-foreground md:text-lg", children: suitabilityDescription }) : suitabilityDescription)
|
|
61339
61397
|
] });
|
|
61340
61398
|
}, [suitabilityTitle, suitabilityDescription, suitabilityClassName]);
|
|
61341
|
-
const differencesContent =
|
|
61399
|
+
const differencesContent = React23.useMemo(() => {
|
|
61342
61400
|
if (!differencesTitle && !differencesDescription) return null;
|
|
61343
61401
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-16", differencesClassName), children: [
|
|
61344
61402
|
differencesTitle && (typeof differencesTitle === "string" ? /* @__PURE__ */ jsx("h2", { className: "mb-4 text-3xl font-semibold", children: differencesTitle }) : differencesTitle),
|
|
@@ -61386,7 +61444,7 @@ function ComparisonGridBadges({
|
|
|
61386
61444
|
pattern,
|
|
61387
61445
|
patternOpacity
|
|
61388
61446
|
}) {
|
|
61389
|
-
const featuresContent =
|
|
61447
|
+
const featuresContent = React23.useMemo(() => {
|
|
61390
61448
|
if (featuresSlot) return featuresSlot;
|
|
61391
61449
|
if (!features || features.length === 0) return null;
|
|
61392
61450
|
return features.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -61433,14 +61491,14 @@ function ComparisonGridBadges({
|
|
|
61433
61491
|
idx
|
|
61434
61492
|
));
|
|
61435
61493
|
}, [featuresSlot, features, featureCardClassName, badgeClassName, optionALabel, optionBLabel]);
|
|
61436
|
-
const headingContent =
|
|
61494
|
+
const headingContent = React23.useMemo(() => {
|
|
61437
61495
|
if (!heading) return null;
|
|
61438
61496
|
if (typeof heading === "string") {
|
|
61439
61497
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-3xl font-bold md:text-5xl", headingClassName), children: heading });
|
|
61440
61498
|
}
|
|
61441
61499
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
61442
61500
|
}, [heading, headingClassName]);
|
|
61443
|
-
const descriptionContent =
|
|
61501
|
+
const descriptionContent = React23.useMemo(() => {
|
|
61444
61502
|
if (!description) return null;
|
|
61445
61503
|
if (typeof description === "string") {
|
|
61446
61504
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto max-w-2xl text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -61488,7 +61546,7 @@ function ComparisonMetricsRows({
|
|
|
61488
61546
|
pattern,
|
|
61489
61547
|
patternOpacity
|
|
61490
61548
|
}) {
|
|
61491
|
-
const metricsContent =
|
|
61549
|
+
const metricsContent = React23.useMemo(() => {
|
|
61492
61550
|
if (metricsSlot) return metricsSlot;
|
|
61493
61551
|
if (!metrics || metrics.length === 0) return null;
|
|
61494
61552
|
return /* @__PURE__ */ jsx(
|
|
@@ -61528,7 +61586,7 @@ function ComparisonMetricsRows({
|
|
|
61528
61586
|
}
|
|
61529
61587
|
);
|
|
61530
61588
|
}, [metricsSlot, metrics, metricsClassName, metricRowClassName]);
|
|
61531
|
-
const actionsContent =
|
|
61589
|
+
const actionsContent = React23.useMemo(() => {
|
|
61532
61590
|
if (actionsSlot) return actionsSlot;
|
|
61533
61591
|
if (!actions || actions.length === 0) return null;
|
|
61534
61592
|
return /* @__PURE__ */ jsx("div", { className: cn("flex justify-end", actionsClassName), children: actions.map((action, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -61549,7 +61607,7 @@ function ComparisonMetricsRows({
|
|
|
61549
61607
|
idx
|
|
61550
61608
|
)) });
|
|
61551
61609
|
}, [actionsSlot, actions, actionsClassName]);
|
|
61552
|
-
const headingContent =
|
|
61610
|
+
const headingContent = React23.useMemo(() => {
|
|
61553
61611
|
if (!heading) return null;
|
|
61554
61612
|
if (typeof heading === "string") {
|
|
61555
61613
|
return /* @__PURE__ */ jsx(
|
|
@@ -61565,7 +61623,7 @@ function ComparisonMetricsRows({
|
|
|
61565
61623
|
}
|
|
61566
61624
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
61567
61625
|
}, [heading, headingClassName]);
|
|
61568
|
-
const descriptionContent =
|
|
61626
|
+
const descriptionContent = React23.useMemo(() => {
|
|
61569
61627
|
if (!description) return null;
|
|
61570
61628
|
if (typeof description === "string") {
|
|
61571
61629
|
return /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -61628,7 +61686,7 @@ function ComparisonImageCards({
|
|
|
61628
61686
|
patternOpacity,
|
|
61629
61687
|
optixFlowConfig
|
|
61630
61688
|
}) {
|
|
61631
|
-
const renderCard =
|
|
61689
|
+
const renderCard = React23.useCallback(
|
|
61632
61690
|
(option) => /* @__PURE__ */ jsx("div", { className: cn("relative h-full", cardClassName), children: /* @__PURE__ */ jsxs("div", { className: cn(
|
|
61633
61691
|
"relative aspect-4/5 min-h-[400px] overflow-hidden rounded-2xl sm:aspect-[0.9] sm:min-h-[480px] sm:rounded-3xl md:min-h-[520px]",
|
|
61634
61692
|
getNestedCardBg(background, "accent"),
|
|
@@ -61652,7 +61710,7 @@ function ComparisonImageCards({
|
|
|
61652
61710
|
] }) }),
|
|
61653
61711
|
[cardClassName, optixFlowConfig]
|
|
61654
61712
|
);
|
|
61655
|
-
const cardsContent =
|
|
61713
|
+
const cardsContent = React23.useMemo(() => {
|
|
61656
61714
|
if (cardsSlot) return cardsSlot;
|
|
61657
61715
|
if (!optionA || !optionB) return null;
|
|
61658
61716
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -61670,14 +61728,14 @@ function ComparisonImageCards({
|
|
|
61670
61728
|
)
|
|
61671
61729
|
] });
|
|
61672
61730
|
}, [cardsSlot, optionA, optionB, dividerText, dividerClassName, renderCard]);
|
|
61673
|
-
const headingContent =
|
|
61731
|
+
const headingContent = React23.useMemo(() => {
|
|
61674
61732
|
if (!heading) return null;
|
|
61675
61733
|
if (typeof heading === "string") {
|
|
61676
61734
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-medium sm:text-4xl md:text-5xl lg:text-6xl", headingClassName), children: heading });
|
|
61677
61735
|
}
|
|
61678
61736
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
61679
61737
|
}, [heading, headingClassName]);
|
|
61680
|
-
const descriptionContent =
|
|
61738
|
+
const descriptionContent = React23.useMemo(() => {
|
|
61681
61739
|
if (!description) return null;
|
|
61682
61740
|
if (typeof description === "string") {
|
|
61683
61741
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto mt-4 max-w-3xl text-lg text-muted-foreground sm:mt-6 sm:text-xl", descriptionClassName), children: description });
|
|
@@ -61807,7 +61865,7 @@ function ComparisonTableTabs({
|
|
|
61807
61865
|
patternOpacity
|
|
61808
61866
|
}) {
|
|
61809
61867
|
const [selectedTab, setSelectedTab] = useState(models?.[0]?.name || "");
|
|
61810
|
-
const renderStatusIcon =
|
|
61868
|
+
const renderStatusIcon = React23.useCallback((status) => {
|
|
61811
61869
|
if (status === "positive") {
|
|
61812
61870
|
return /* @__PURE__ */ jsx("span", { className: "flex size-8 items-center justify-center rounded-full border bg-success/10", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check", size: 16, className: "text-success" }) });
|
|
61813
61871
|
}
|
|
@@ -61816,7 +61874,7 @@ function ComparisonTableTabs({
|
|
|
61816
61874
|
}
|
|
61817
61875
|
return /* @__PURE__ */ jsx("span", { className: "flex size-8 items-center justify-center rounded-full border bg-accent/10", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-minus", size: 16, className: "text-accent" }) });
|
|
61818
61876
|
}, []);
|
|
61819
|
-
const tableContent =
|
|
61877
|
+
const tableContent = React23.useMemo(() => {
|
|
61820
61878
|
if (tableSlot) return tableSlot;
|
|
61821
61879
|
if (!models || models.length === 0 || !features || features.length === 0) return null;
|
|
61822
61880
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -61875,14 +61933,14 @@ function ComparisonTableTabs({
|
|
|
61875
61933
|
] }) })
|
|
61876
61934
|
] });
|
|
61877
61935
|
}, [tableSlot, models, features, tabsClassName, tableClassName, tableHeaderClassName, tableCellClassName, selectedTab, renderStatusIcon]);
|
|
61878
|
-
const headingContent =
|
|
61936
|
+
const headingContent = React23.useMemo(() => {
|
|
61879
61937
|
if (!heading) return null;
|
|
61880
61938
|
if (typeof heading === "string") {
|
|
61881
61939
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold md:text-4xl lg:text-5xl", headingClassName), children: heading });
|
|
61882
61940
|
}
|
|
61883
61941
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
61884
61942
|
}, [heading, headingClassName]);
|
|
61885
|
-
const descriptionContent =
|
|
61943
|
+
const descriptionContent = React23.useMemo(() => {
|
|
61886
61944
|
if (!description) return null;
|
|
61887
61945
|
if (typeof description === "string") {
|
|
61888
61946
|
return /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -61973,7 +62031,7 @@ function ComparisonTableTooltips({
|
|
|
61973
62031
|
pattern,
|
|
61974
62032
|
patternOpacity
|
|
61975
62033
|
}) {
|
|
61976
|
-
const renderCellContent =
|
|
62034
|
+
const renderCellContent = React23.useCallback(
|
|
61977
62035
|
(cell, isHighlighted) => {
|
|
61978
62036
|
if (typeof cell === "string") {
|
|
61979
62037
|
return cell;
|
|
@@ -62000,7 +62058,7 @@ function ComparisonTableTooltips({
|
|
|
62000
62058
|
},
|
|
62001
62059
|
[]
|
|
62002
62060
|
);
|
|
62003
|
-
const tableContent =
|
|
62061
|
+
const tableContent = React23.useMemo(() => {
|
|
62004
62062
|
if (tableSlot) return tableSlot;
|
|
62005
62063
|
if (!rows || rows.length === 0) return null;
|
|
62006
62064
|
return /* @__PURE__ */ jsxs(Table, { className: cn("rounded border text-left shadow-lg", tableClassName), children: [
|
|
@@ -62026,14 +62084,14 @@ function ComparisonTableTooltips({
|
|
|
62026
62084
|
] }, idx)) })
|
|
62027
62085
|
] });
|
|
62028
62086
|
}, [tableSlot, rows, tableClassName, tableHeaderClassName, tableCellClassName, optionALabel, optionBLabel, renderCellContent]);
|
|
62029
|
-
const headingContent =
|
|
62087
|
+
const headingContent = React23.useMemo(() => {
|
|
62030
62088
|
if (!heading) return null;
|
|
62031
62089
|
if (typeof heading === "string") {
|
|
62032
62090
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-center text-4xl font-semibold", headingClassName), children: heading });
|
|
62033
62091
|
}
|
|
62034
62092
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
62035
62093
|
}, [heading, headingClassName]);
|
|
62036
|
-
const descriptionContent =
|
|
62094
|
+
const descriptionContent = React23.useMemo(() => {
|
|
62037
62095
|
if (!description) return null;
|
|
62038
62096
|
if (typeof description === "string") {
|
|
62039
62097
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-center text-muted-foreground", descriptionClassName), children: description });
|
|
@@ -62075,7 +62133,7 @@ function ComparisonFeatureGrid({
|
|
|
62075
62133
|
pattern,
|
|
62076
62134
|
patternOpacity
|
|
62077
62135
|
}) {
|
|
62078
|
-
const renderStatusIcon =
|
|
62136
|
+
const renderStatusIcon = React23.useCallback((status) => {
|
|
62079
62137
|
if (status === true) {
|
|
62080
62138
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/check", size: 20, className: "text-success" });
|
|
62081
62139
|
}
|
|
@@ -62084,7 +62142,7 @@ function ComparisonFeatureGrid({
|
|
|
62084
62142
|
}
|
|
62085
62143
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 20, className: "text-destructive" });
|
|
62086
62144
|
}, []);
|
|
62087
|
-
const gridContent =
|
|
62145
|
+
const gridContent = React23.useMemo(() => {
|
|
62088
62146
|
if (gridSlot) return gridSlot;
|
|
62089
62147
|
if (!features || features.length === 0) return null;
|
|
62090
62148
|
return /* @__PURE__ */ jsxs(
|
|
@@ -62150,14 +62208,14 @@ function ComparisonFeatureGrid({
|
|
|
62150
62208
|
optionBLabel,
|
|
62151
62209
|
renderStatusIcon
|
|
62152
62210
|
]);
|
|
62153
|
-
const headingContent =
|
|
62211
|
+
const headingContent = React23.useMemo(() => {
|
|
62154
62212
|
if (!heading) return null;
|
|
62155
62213
|
if (typeof heading === "string") {
|
|
62156
62214
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-center text-4xl font-semibold", headingClassName), children: heading });
|
|
62157
62215
|
}
|
|
62158
62216
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
62159
62217
|
}, [heading, headingClassName]);
|
|
62160
|
-
const descriptionContent =
|
|
62218
|
+
const descriptionContent = React23.useMemo(() => {
|
|
62161
62219
|
if (!description) return null;
|
|
62162
62220
|
if (typeof description === "string") {
|
|
62163
62221
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-center text-muted-foreground", descriptionClassName), children: description });
|
|
@@ -62201,7 +62259,7 @@ function ComparisonAiModels({
|
|
|
62201
62259
|
optixFlowConfig
|
|
62202
62260
|
}) {
|
|
62203
62261
|
const [hoveredModel, setHoveredModel] = useState(null);
|
|
62204
|
-
const renderStatusIcon =
|
|
62262
|
+
const renderStatusIcon = React23.useCallback((status) => {
|
|
62205
62263
|
if (status === "best") {
|
|
62206
62264
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check", size: 16, className: "text-success" });
|
|
62207
62265
|
}
|
|
@@ -62210,7 +62268,7 @@ function ComparisonAiModels({
|
|
|
62210
62268
|
}
|
|
62211
62269
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/minus", size: 16, className: "text-muted-foreground" });
|
|
62212
62270
|
}, []);
|
|
62213
|
-
const getCellClassName =
|
|
62271
|
+
const getCellClassName = React23.useCallback(
|
|
62214
62272
|
(status, modelKey) => {
|
|
62215
62273
|
const baseClass = "cursor-pointer py-4 text-center font-medium transition-all duration-300";
|
|
62216
62274
|
let statusClass = "";
|
|
@@ -62231,7 +62289,7 @@ function ComparisonAiModels({
|
|
|
62231
62289
|
},
|
|
62232
62290
|
[hoveredModel]
|
|
62233
62291
|
);
|
|
62234
|
-
const getSummaryCardClassName =
|
|
62292
|
+
const getSummaryCardClassName = React23.useCallback(
|
|
62235
62293
|
(modelKey) => {
|
|
62236
62294
|
const baseClass = "rounded border border-border/30 bg-background/50 p-3 transition-all duration-300";
|
|
62237
62295
|
if (hoveredModel === modelKey) {
|
|
@@ -62246,7 +62304,7 @@ function ComparisonAiModels({
|
|
|
62246
62304
|
},
|
|
62247
62305
|
[hoveredModel]
|
|
62248
62306
|
);
|
|
62249
|
-
const tableContent =
|
|
62307
|
+
const tableContent = React23.useMemo(() => {
|
|
62250
62308
|
if (tableSlot) return tableSlot;
|
|
62251
62309
|
if (!models || !comparisonData || comparisonData.length === 0) return null;
|
|
62252
62310
|
return /* @__PURE__ */ jsx(
|
|
@@ -62324,7 +62382,7 @@ function ComparisonAiModels({
|
|
|
62324
62382
|
getCellClassName,
|
|
62325
62383
|
renderStatusIcon
|
|
62326
62384
|
]);
|
|
62327
|
-
const analysisContent =
|
|
62385
|
+
const analysisContent = React23.useMemo(() => {
|
|
62328
62386
|
if (analysisSlot) return analysisSlot;
|
|
62329
62387
|
if (!models) return null;
|
|
62330
62388
|
return /* @__PURE__ */ jsx("div", { className: cn(
|
|
@@ -62365,14 +62423,14 @@ function ComparisonAiModels({
|
|
|
62365
62423
|
] })
|
|
62366
62424
|
] }) });
|
|
62367
62425
|
}, [analysisSlot, models, analysisClassName, getSummaryCardClassName]);
|
|
62368
|
-
const headingContent =
|
|
62426
|
+
const headingContent = React23.useMemo(() => {
|
|
62369
62427
|
if (!heading) return null;
|
|
62370
62428
|
if (typeof heading === "string") {
|
|
62371
62429
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold md:text-4xl lg:text-5xl", headingClassName), children: heading });
|
|
62372
62430
|
}
|
|
62373
62431
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
62374
62432
|
}, [heading, headingClassName]);
|
|
62375
|
-
const descriptionContent =
|
|
62433
|
+
const descriptionContent = React23.useMemo(() => {
|
|
62376
62434
|
if (!description) return null;
|
|
62377
62435
|
if (typeof description === "string") {
|
|
62378
62436
|
return /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -62422,7 +62480,7 @@ function ComparisonLegacyModern({
|
|
|
62422
62480
|
pattern,
|
|
62423
62481
|
patternOpacity
|
|
62424
62482
|
}) {
|
|
62425
|
-
const columnsContent =
|
|
62483
|
+
const columnsContent = React23.useMemo(() => {
|
|
62426
62484
|
if (columnsSlot) return columnsSlot;
|
|
62427
62485
|
if (!legacyFeatures || legacyFeatures.length === 0 || !modernFeatures || modernFeatures.length === 0)
|
|
62428
62486
|
return null;
|
|
@@ -62434,7 +62492,7 @@ function ComparisonLegacyModern({
|
|
|
62434
62492
|
legacyColumnClassName
|
|
62435
62493
|
), children: [
|
|
62436
62494
|
legacyTitle && (typeof legacyTitle === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-medium", children: legacyTitle }) : legacyTitle),
|
|
62437
|
-
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: legacyFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
62495
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: legacyFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
62438
62496
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
62439
62497
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16, className: "my-1.5 shrink-0 text-muted-foreground" }),
|
|
62440
62498
|
/* @__PURE__ */ jsx("li", { className: "text-sm", children: feature.text })
|
|
@@ -62451,7 +62509,7 @@ function ComparisonLegacyModern({
|
|
|
62451
62509
|
),
|
|
62452
62510
|
children: [
|
|
62453
62511
|
modernTitle && (typeof modernTitle === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-medium", children: modernTitle }) : modernTitle),
|
|
62454
|
-
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: modernFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
62512
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: modernFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
62455
62513
|
/* @__PURE__ */ jsxs("li", { className: "flex items-center gap-2 text-sm", children: [
|
|
62456
62514
|
/* @__PURE__ */ jsx("span", { className: "text-lg", children: feature.emoji }),
|
|
62457
62515
|
feature.text
|
|
@@ -62463,7 +62521,7 @@ function ComparisonLegacyModern({
|
|
|
62463
62521
|
)
|
|
62464
62522
|
] });
|
|
62465
62523
|
}, [columnsSlot, legacyFeatures, modernFeatures, legacyTitle, modernTitle, legacyColumnClassName, modernColumnClassName]);
|
|
62466
|
-
const headingContent =
|
|
62524
|
+
const headingContent = React23.useMemo(() => {
|
|
62467
62525
|
if (!heading && !headingHighlight) return null;
|
|
62468
62526
|
return /* @__PURE__ */ jsxs("h2", { className: cn("text-4xl font-medium md:text-5xl lg:text-7xl", headingClassName), children: [
|
|
62469
62527
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
@@ -62476,7 +62534,7 @@ function ComparisonLegacyModern({
|
|
|
62476
62534
|
] }) : headingHighlight)
|
|
62477
62535
|
] });
|
|
62478
62536
|
}, [heading, headingHighlight, headingClassName, headingHighlightClassName]);
|
|
62479
|
-
const descriptionContent =
|
|
62537
|
+
const descriptionContent = React23.useMemo(() => {
|
|
62480
62538
|
if (!description) return null;
|
|
62481
62539
|
if (typeof description === "string") {
|
|
62482
62540
|
return /* @__PURE__ */ jsx("p", { className: cn("text-lg", descriptionClassName), children: description });
|
|
@@ -62649,7 +62707,7 @@ var NavbarMobileMenu = ({
|
|
|
62649
62707
|
closeIconClassName,
|
|
62650
62708
|
title = "Mobile Navigation"
|
|
62651
62709
|
}) => {
|
|
62652
|
-
|
|
62710
|
+
React23.useEffect(() => {
|
|
62653
62711
|
if (open) {
|
|
62654
62712
|
const originalOverflow = document.body.style.overflow;
|
|
62655
62713
|
document.body.style.overflow = "hidden";
|
|
@@ -62878,7 +62936,7 @@ var NavbarDropdownMenu = ({
|
|
|
62878
62936
|
patternOpacity,
|
|
62879
62937
|
optixFlowConfig
|
|
62880
62938
|
}) => {
|
|
62881
|
-
const [open, setOpen] =
|
|
62939
|
+
const [open, setOpen] = React23.useState(false);
|
|
62882
62940
|
const renderAuthActions = useMemo(() => {
|
|
62883
62941
|
if (authActionsSlot) return authActionsSlot;
|
|
62884
62942
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -63104,7 +63162,7 @@ var NavbarCenteredMenu = ({
|
|
|
63104
63162
|
patternOpacity,
|
|
63105
63163
|
optixFlowConfig
|
|
63106
63164
|
}) => {
|
|
63107
|
-
const [open, setOpen] =
|
|
63165
|
+
const [open, setOpen] = React23.useState(false);
|
|
63108
63166
|
const renderAuthActions = useMemo(() => {
|
|
63109
63167
|
if (authActionsSlot) return authActionsSlot;
|
|
63110
63168
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -63244,7 +63302,7 @@ var DesktopMenuItem = ({
|
|
|
63244
63302
|
index,
|
|
63245
63303
|
optixFlowConfig
|
|
63246
63304
|
}) => {
|
|
63247
|
-
const imagesRef =
|
|
63305
|
+
const imagesRef = React23.useRef([]);
|
|
63248
63306
|
const layout = link.layout || "simple-grid";
|
|
63249
63307
|
const handleMouseEnter = (event) => {
|
|
63250
63308
|
const index2 = Number(event.currentTarget.getAttribute("data-index"));
|
|
@@ -64479,7 +64537,7 @@ var NavbarFeatureGrid = ({
|
|
|
64479
64537
|
patternOpacity,
|
|
64480
64538
|
optixFlowConfig
|
|
64481
64539
|
}) => {
|
|
64482
|
-
const [open, setOpen] =
|
|
64540
|
+
const [open, setOpen] = React23.useState(false);
|
|
64483
64541
|
const renderAuthActions = useMemo(() => {
|
|
64484
64542
|
if (authActionsSlot) return authActionsSlot;
|
|
64485
64543
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -67689,7 +67747,7 @@ var DesktopMenuItem7 = ({
|
|
|
67689
67747
|
if (item.groups && item.groups.length > 0) {
|
|
67690
67748
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
67691
67749
|
/* @__PURE__ */ jsx(NavigationMenuTrigger, { children: item.label }),
|
|
67692
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "p-0", children: /* @__PURE__ */ jsx("div", { className: "flex", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxs(
|
|
67750
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "p-0", children: /* @__PURE__ */ jsx("div", { className: "flex", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
67693
67751
|
groupIndex > 0 && /* @__PURE__ */ jsx(
|
|
67694
67752
|
Separator,
|
|
67695
67753
|
{
|
|
@@ -68441,7 +68499,7 @@ var NavbarSimpleLinks = ({
|
|
|
68441
68499
|
const renderNavItems = useMemo(() => {
|
|
68442
68500
|
if (navItemsSlot) return navItemsSlot;
|
|
68443
68501
|
if (!navItems || navItems.length === 0) return null;
|
|
68444
|
-
return navItems.map((item) => /* @__PURE__ */ jsx(
|
|
68502
|
+
return navItems.map((item) => /* @__PURE__ */ jsx(React23.Fragment, { children: /* @__PURE__ */ jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsx(
|
|
68445
68503
|
NavigationMenuLink,
|
|
68446
68504
|
{
|
|
68447
68505
|
"data-nav-item": item.name,
|
|
@@ -73470,7 +73528,7 @@ function PricingFullComparison({
|
|
|
73470
73528
|
resolvedPlanIds[index]
|
|
73471
73529
|
))
|
|
73472
73530
|
] }) }),
|
|
73473
|
-
/* @__PURE__ */ jsx("tbody", { children: categories.map((category) => /* @__PURE__ */ jsxs(
|
|
73531
|
+
/* @__PURE__ */ jsx("tbody", { children: categories.map((category) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
73474
73532
|
/* @__PURE__ */ jsx("tr", { className: cn(getNestedCardBg(background), getNestedCardTextColor(background), categoryRowClassName), children: /* @__PURE__ */ jsx(
|
|
73475
73533
|
"td",
|
|
73476
73534
|
{
|
|
@@ -78071,9 +78129,9 @@ function ProcessStickySteps({
|
|
|
78071
78129
|
);
|
|
78072
78130
|
}
|
|
78073
78131
|
var usePrevious = (value) => {
|
|
78074
|
-
const [prev, setPrev] =
|
|
78075
|
-
const ref =
|
|
78076
|
-
|
|
78132
|
+
const [prev, setPrev] = React23.useState(void 0);
|
|
78133
|
+
const ref = React23.useRef(value);
|
|
78134
|
+
React23.useEffect(() => {
|
|
78077
78135
|
setPrev(ref.current);
|
|
78078
78136
|
ref.current = value;
|
|
78079
78137
|
}, [value]);
|
|
@@ -78086,12 +78144,12 @@ var ProcessCard = ({
|
|
|
78086
78144
|
itemClassName,
|
|
78087
78145
|
background
|
|
78088
78146
|
}) => {
|
|
78089
|
-
const ref =
|
|
78147
|
+
const ref = React23.useRef(null);
|
|
78090
78148
|
const itemInView = useInView(ref, {
|
|
78091
78149
|
amount: 0,
|
|
78092
78150
|
margin: "0px 0px -60% 0px"
|
|
78093
78151
|
});
|
|
78094
|
-
|
|
78152
|
+
React23.useEffect(() => {
|
|
78095
78153
|
if (itemInView) {
|
|
78096
78154
|
setActive(index);
|
|
78097
78155
|
}
|
|
@@ -78141,7 +78199,7 @@ function ProcessScrollImage({
|
|
|
78141
78199
|
ctaText,
|
|
78142
78200
|
ctaUrl
|
|
78143
78201
|
}) {
|
|
78144
|
-
const [active, setActive] =
|
|
78202
|
+
const [active, setActive] = React23.useState(0);
|
|
78145
78203
|
const previousActive = usePrevious(active);
|
|
78146
78204
|
const resolvedHeading = title ?? heading;
|
|
78147
78205
|
const resolvedActions = actions ?? (ctaText && ctaUrl ? [
|
|
@@ -78325,7 +78383,7 @@ var ProcessCard2 = ({
|
|
|
78325
78383
|
hoverImageClassName,
|
|
78326
78384
|
background
|
|
78327
78385
|
}) => {
|
|
78328
|
-
const [isHovered, setIsHovered] =
|
|
78386
|
+
const [isHovered, setIsHovered] = React23.useState(false);
|
|
78329
78387
|
const titleText = typeof step.title === "string" ? step.title : `Step ${index + 1}`;
|
|
78330
78388
|
return /* @__PURE__ */ jsxs(
|
|
78331
78389
|
"li",
|
|
@@ -78649,7 +78707,7 @@ function ProcessExpandableTimeline({
|
|
|
78649
78707
|
// Backwards compatibility
|
|
78650
78708
|
title
|
|
78651
78709
|
}) {
|
|
78652
|
-
const [expandedIndex, setExpandedIndex] =
|
|
78710
|
+
const [expandedIndex, setExpandedIndex] = React23.useState(null);
|
|
78653
78711
|
const resolvedHeading = title ?? heading;
|
|
78654
78712
|
const toggleExpand = (index) => {
|
|
78655
78713
|
setExpandedIndex(expandedIndex === index ? null : index);
|
|
@@ -83420,7 +83478,7 @@ function ListAchievementsShowcase({
|
|
|
83420
83478
|
if (!items || items.length === 0) return null;
|
|
83421
83479
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col", itemsClassName), children: [
|
|
83422
83480
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
83423
|
-
items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
83481
|
+
items.map((item, index) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
83424
83482
|
/* @__PURE__ */ jsxs(
|
|
83425
83483
|
"div",
|
|
83426
83484
|
{
|
|
@@ -83540,7 +83598,7 @@ function ListCareerTimeline({
|
|
|
83540
83598
|
const renderExperiences = useMemo(() => {
|
|
83541
83599
|
if (experiencesSlot) return experiencesSlot;
|
|
83542
83600
|
if (!experiences || experiences.length === 0) return null;
|
|
83543
|
-
return /* @__PURE__ */ jsx("div", { className: experiencesClassName, children: experiences.map((experience, idx) => /* @__PURE__ */ jsxs(
|
|
83601
|
+
return /* @__PURE__ */ jsx("div", { className: experiencesClassName, children: experiences.map((experience, idx) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
83544
83602
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
83545
83603
|
/* @__PURE__ */ jsxs(
|
|
83546
83604
|
"div",
|
|
@@ -83561,7 +83619,7 @@ function ListCareerTimeline({
|
|
|
83561
83619
|
const renderAwards = useMemo(() => {
|
|
83562
83620
|
if (awardsSlot) return awardsSlot;
|
|
83563
83621
|
if (!awards || awards.length === 0) return null;
|
|
83564
|
-
return /* @__PURE__ */ jsx("div", { className: awardsClassName, children: awards.map((award, idx) => /* @__PURE__ */ jsxs(
|
|
83622
|
+
return /* @__PURE__ */ jsx("div", { className: awardsClassName, children: awards.map((award, idx) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
83565
83623
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
83566
83624
|
/* @__PURE__ */ jsxs(
|
|
83567
83625
|
"div",
|
|
@@ -83696,7 +83754,7 @@ function ListMetricsDashboard({
|
|
|
83696
83754
|
activeCategory: controlledActiveCategory,
|
|
83697
83755
|
onActiveCategoryChange
|
|
83698
83756
|
}) {
|
|
83699
|
-
const [internalActiveTab, setInternalActiveTab] =
|
|
83757
|
+
const [internalActiveTab, setInternalActiveTab] = React23.useState("all");
|
|
83700
83758
|
const activeTab = controlledActiveCategory ?? internalActiveTab;
|
|
83701
83759
|
const handleTabChange = (value) => {
|
|
83702
83760
|
if (onActiveCategoryChange) {
|
|
@@ -84180,7 +84238,7 @@ function ListSearchableGrid({
|
|
|
84180
84238
|
searchTerm: controlledSearchTerm,
|
|
84181
84239
|
onSearchTermChange
|
|
84182
84240
|
}) {
|
|
84183
|
-
const [internalSearchTerm, setInternalSearchTerm] =
|
|
84241
|
+
const [internalSearchTerm, setInternalSearchTerm] = React23.useState("");
|
|
84184
84242
|
const searchTerm = controlledSearchTerm ?? internalSearchTerm;
|
|
84185
84243
|
const handleSearchChange = (value) => {
|
|
84186
84244
|
if (onSearchTermChange) {
|
|
@@ -84189,7 +84247,7 @@ function ListSearchableGrid({
|
|
|
84189
84247
|
setInternalSearchTerm(value);
|
|
84190
84248
|
}
|
|
84191
84249
|
};
|
|
84192
|
-
const filteredItems =
|
|
84250
|
+
const filteredItems = React23.useMemo(() => {
|
|
84193
84251
|
if (!searchTerm) {
|
|
84194
84252
|
return items ?? [];
|
|
84195
84253
|
}
|
|
@@ -84352,7 +84410,7 @@ function ListSearchableGrid({
|
|
|
84352
84410
|
}
|
|
84353
84411
|
);
|
|
84354
84412
|
}
|
|
84355
|
-
var { useMemo:
|
|
84413
|
+
var { useMemo: useMemo432 } = React23;
|
|
84356
84414
|
function OfferModalNewsletterDiscount({
|
|
84357
84415
|
title,
|
|
84358
84416
|
emailPlaceholder,
|
|
@@ -84420,7 +84478,7 @@ function OfferModalNewsletterDiscount({
|
|
|
84420
84478
|
});
|
|
84421
84479
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
84422
84480
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
84423
|
-
const renderCloseButton =
|
|
84481
|
+
const renderCloseButton = useMemo432(() => {
|
|
84424
84482
|
if (closeButtonSlot) return closeButtonSlot;
|
|
84425
84483
|
if (!closeButtonText) return null;
|
|
84426
84484
|
return /* @__PURE__ */ jsx("div", { className: "absolute end-1.5 top-1.5", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
@@ -84434,12 +84492,12 @@ function OfferModalNewsletterDiscount({
|
|
|
84434
84492
|
}
|
|
84435
84493
|
) }) });
|
|
84436
84494
|
}, [closeButtonSlot, closeButtonText, closeClassName]);
|
|
84437
|
-
const renderHeader =
|
|
84495
|
+
const renderHeader = useMemo432(() => {
|
|
84438
84496
|
if (headerSlot) return headerSlot;
|
|
84439
84497
|
if (!title) return null;
|
|
84440
84498
|
return /* @__PURE__ */ jsx(DialogHeader, { className: headerClassName, children: typeof title === "string" ? /* @__PURE__ */ jsx(DialogTitle, { className: cn("text-start font-serif text-2xl font-normal leading-snug", titleClassName), children: title }) : /* @__PURE__ */ jsx(DialogTitle, { className: cn("text-start font-serif text-2xl font-normal leading-snug", titleClassName), children: title }) });
|
|
84441
84499
|
}, [headerSlot, title, headerClassName, titleClassName]);
|
|
84442
|
-
const renderForm =
|
|
84500
|
+
const renderForm = useMemo432(() => {
|
|
84443
84501
|
if (formSlot) return formSlot;
|
|
84444
84502
|
return /* @__PURE__ */ jsxs(
|
|
84445
84503
|
Form,
|
|
@@ -84501,7 +84559,7 @@ function OfferModalNewsletterDiscount({
|
|
|
84501
84559
|
}
|
|
84502
84560
|
) });
|
|
84503
84561
|
}
|
|
84504
|
-
var { useMemo:
|
|
84562
|
+
var { useMemo: useMemo433 } = React23;
|
|
84505
84563
|
function OfferModalMembershipImage({
|
|
84506
84564
|
overline,
|
|
84507
84565
|
title,
|
|
@@ -84578,7 +84636,7 @@ function OfferModalMembershipImage({
|
|
|
84578
84636
|
});
|
|
84579
84637
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
84580
84638
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
84581
|
-
const renderImage =
|
|
84639
|
+
const renderImage = useMemo433(() => {
|
|
84582
84640
|
if (imageSlot) return imageSlot;
|
|
84583
84641
|
if (!image) return null;
|
|
84584
84642
|
return /* @__PURE__ */ jsx("div", { className: cn("max-h-[290px] h-full overflow-hidden max-lg:hidden", imageWrapperClassName), children: /* @__PURE__ */ jsx(
|
|
@@ -84591,7 +84649,7 @@ function OfferModalMembershipImage({
|
|
|
84591
84649
|
}
|
|
84592
84650
|
) });
|
|
84593
84651
|
}, [imageSlot, image, imageWrapperClassName, imageClassName, optixFlowConfig]);
|
|
84594
|
-
const renderCloseButton =
|
|
84652
|
+
const renderCloseButton = useMemo433(() => {
|
|
84595
84653
|
if (closeButtonSlot) return closeButtonSlot;
|
|
84596
84654
|
return /* @__PURE__ */ jsx("div", { className: "absolute -end-px -top-px z-10", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
84597
84655
|
Pressable,
|
|
@@ -84607,7 +84665,7 @@ function OfferModalMembershipImage({
|
|
|
84607
84665
|
}
|
|
84608
84666
|
) }) });
|
|
84609
84667
|
}, [closeButtonSlot, closeClassName]);
|
|
84610
|
-
const renderForm =
|
|
84668
|
+
const renderForm = useMemo433(() => {
|
|
84611
84669
|
if (formSlot) return formSlot;
|
|
84612
84670
|
return /* @__PURE__ */ jsxs(
|
|
84613
84671
|
Form,
|
|
@@ -84670,7 +84728,7 @@ function OfferModalMembershipImage({
|
|
|
84670
84728
|
}
|
|
84671
84729
|
);
|
|
84672
84730
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
84673
|
-
const renderFooter =
|
|
84731
|
+
const renderFooter = useMemo433(() => {
|
|
84674
84732
|
if (footerSlot) return footerSlot;
|
|
84675
84733
|
if (!description) return null;
|
|
84676
84734
|
return /* @__PURE__ */ jsx(DialogFooter, { className: footerClassName, children: /* @__PURE__ */ jsx(DialogDescription, { className: cn("text-muted-foreground text-center text-xs leading-relaxed", descriptionClassName), children: description }) });
|
|
@@ -84790,7 +84848,7 @@ function SheetDescription({
|
|
|
84790
84848
|
}
|
|
84791
84849
|
);
|
|
84792
84850
|
}
|
|
84793
|
-
var { useMemo:
|
|
84851
|
+
var { useMemo: useMemo434 } = React23;
|
|
84794
84852
|
function OfferModalSheetNewsletter({
|
|
84795
84853
|
logo,
|
|
84796
84854
|
logoSlot,
|
|
@@ -84873,7 +84931,7 @@ function OfferModalSheetNewsletter({
|
|
|
84873
84931
|
});
|
|
84874
84932
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
84875
84933
|
const sheetProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
84876
|
-
const renderLogo =
|
|
84934
|
+
const renderLogo = useMemo434(() => {
|
|
84877
84935
|
if (logoSlot) return logoSlot;
|
|
84878
84936
|
if (!logo) return null;
|
|
84879
84937
|
const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
@@ -84887,7 +84945,7 @@ function OfferModalSheetNewsletter({
|
|
|
84887
84945
|
}
|
|
84888
84946
|
);
|
|
84889
84947
|
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
84890
|
-
const renderHeader =
|
|
84948
|
+
const renderHeader = useMemo434(() => {
|
|
84891
84949
|
if (headerSlot) return headerSlot;
|
|
84892
84950
|
return /* @__PURE__ */ jsxs(SheetHeader, { className: cn("gap-8 p-0", headerClassName), children: [
|
|
84893
84951
|
renderLogo,
|
|
@@ -84897,7 +84955,7 @@ function OfferModalSheetNewsletter({
|
|
|
84897
84955
|
] })
|
|
84898
84956
|
] });
|
|
84899
84957
|
}, [headerSlot, renderLogo, headerClassName, title, titleClassName, description, descriptionClassName]);
|
|
84900
|
-
const renderForm =
|
|
84958
|
+
const renderForm = useMemo434(() => {
|
|
84901
84959
|
if (formSlot) return formSlot;
|
|
84902
84960
|
return /* @__PURE__ */ jsx(
|
|
84903
84961
|
Form,
|
|
@@ -84945,7 +85003,7 @@ function OfferModalSheetNewsletter({
|
|
|
84945
85003
|
}
|
|
84946
85004
|
);
|
|
84947
85005
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
84948
|
-
const renderLegal =
|
|
85006
|
+
const renderLegal = useMemo434(() => {
|
|
84949
85007
|
if (legalSlot) return legalSlot;
|
|
84950
85008
|
if (!termsUrl || !termsText || !privacyUrl || !privacyText) return null;
|
|
84951
85009
|
return /* @__PURE__ */ jsxs("p", { className: cn("text-muted-foreground text-xs", legalClassName), children: [
|
|
@@ -84959,7 +85017,7 @@ function OfferModalSheetNewsletter({
|
|
|
84959
85017
|
"."
|
|
84960
85018
|
] });
|
|
84961
85019
|
}, [legalSlot, termsUrl, termsText, privacyUrl, privacyText, legalClassName]);
|
|
84962
|
-
const renderImage =
|
|
85020
|
+
const renderImage = useMemo434(() => {
|
|
84963
85021
|
if (imageSlot) return imageSlot;
|
|
84964
85022
|
if (!image) return null;
|
|
84965
85023
|
return /* @__PURE__ */ jsx("div", { className: cn("h-1/2 basis-1/2", imageWrapperClassName), children: /* @__PURE__ */ jsx(AspectRatio, { ratio: 1, className: "overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
@@ -85539,10 +85597,10 @@ function ProjectDetailSidebarNavigation(props) {
|
|
|
85539
85597
|
heroImageClassName,
|
|
85540
85598
|
metadataClassName
|
|
85541
85599
|
} = props;
|
|
85542
|
-
const [activeSection, setActiveSection] =
|
|
85600
|
+
const [activeSection, setActiveSection] = React23.useState(
|
|
85543
85601
|
sections?.[0]?.id || ""
|
|
85544
85602
|
);
|
|
85545
|
-
|
|
85603
|
+
React23.useEffect(() => {
|
|
85546
85604
|
const handleScroll = () => {
|
|
85547
85605
|
const sectionElements = sections?.map(
|
|
85548
85606
|
(section) => document.getElementById(section.id)
|
|
@@ -88402,7 +88460,7 @@ function ProjectDetailTabbedCaseStudy(props) {
|
|
|
88402
88460
|
testimonialClassName,
|
|
88403
88461
|
toolsClassName
|
|
88404
88462
|
} = props;
|
|
88405
|
-
const [activeTab, setActiveTab] =
|
|
88463
|
+
const [activeTab, setActiveTab] = React23.useState(tabs?.[0]?.id || "");
|
|
88406
88464
|
const renderedBackAction = useMemo(() => {
|
|
88407
88465
|
if (backActionSlot) return backActionSlot;
|
|
88408
88466
|
if (!backAction) return null;
|
|
@@ -88790,7 +88848,7 @@ function RevealImage({
|
|
|
88790
88848
|
index,
|
|
88791
88849
|
optixFlowConfig
|
|
88792
88850
|
}) {
|
|
88793
|
-
const ref =
|
|
88851
|
+
const ref = React23.useRef(null);
|
|
88794
88852
|
const { scrollYProgress } = useScroll({
|
|
88795
88853
|
target: ref,
|
|
88796
88854
|
offset: ["start end", "end start"]
|
|
@@ -88985,7 +89043,7 @@ function ParallaxSection({
|
|
|
88985
89043
|
index,
|
|
88986
89044
|
optixFlowConfig
|
|
88987
89045
|
}) {
|
|
88988
|
-
const ref =
|
|
89046
|
+
const ref = React23.useRef(null);
|
|
88989
89047
|
const { scrollYProgress } = useScroll({
|
|
88990
89048
|
target: ref,
|
|
88991
89049
|
offset: ["start end", "end start"]
|
|
@@ -89058,7 +89116,7 @@ function ProjectDetailParallaxScroll(props) {
|
|
|
89058
89116
|
heroImageClassName,
|
|
89059
89117
|
sectionsClassName
|
|
89060
89118
|
} = props;
|
|
89061
|
-
const heroRef =
|
|
89119
|
+
const heroRef = React23.useRef(null);
|
|
89062
89120
|
const { scrollYProgress } = useScroll({
|
|
89063
89121
|
target: heroRef,
|
|
89064
89122
|
offset: ["start start", "end start"]
|
|
@@ -89388,7 +89446,7 @@ function BannerDeliveryCountdown({
|
|
|
89388
89446
|
}, [prefixText, timerContent, middleText, deliveryDateContent]);
|
|
89389
89447
|
return /* @__PURE__ */ jsx(Section, { background, spacing: "none", className: cn("bg-accent text-accent-foreground", className), children: /* @__PURE__ */ jsx("div", { className: cn("container py-2.5", containerClassName), children: /* @__PURE__ */ jsx("div", { className: cn("flex flex-wrap items-center justify-center gap-3 text-sm", contentClassName), children: /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2", messageClassName), children: [
|
|
89390
89448
|
iconContent,
|
|
89391
|
-
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(
|
|
89449
|
+
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
89392
89450
|
index > 0 ? " " : null,
|
|
89393
89451
|
part
|
|
89394
89452
|
] }, index)) })
|
|
@@ -90524,7 +90582,7 @@ function IndustriesExpandableShowcase({
|
|
|
90524
90582
|
patternClassName,
|
|
90525
90583
|
optixFlowConfig
|
|
90526
90584
|
}) {
|
|
90527
|
-
const [activeContractor, setActiveContractor] =
|
|
90585
|
+
const [activeContractor, setActiveContractor] = React23.useState(
|
|
90528
90586
|
contractors?.[0]?.id || ""
|
|
90529
90587
|
);
|
|
90530
90588
|
const handleContractorHover = (contractorId) => {
|
|
@@ -91177,7 +91235,7 @@ function ResourceDetailDocumentSidebar({
|
|
|
91177
91235
|
}) {
|
|
91178
91236
|
const renderedBreadcrumbs = useMemo(() => {
|
|
91179
91237
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
91180
|
-
return /* @__PURE__ */ jsx(Breadcrumb, { className: breadcrumbsClassName, children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
91238
|
+
return /* @__PURE__ */ jsx(Breadcrumb, { className: breadcrumbsClassName, children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
91181
91239
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: !crumb.href ? /* @__PURE__ */ jsx(BreadcrumbPage, { children: typeof crumb.label === "string" ? crumb.label : crumb.label }) : /* @__PURE__ */ jsx(BreadcrumbLink, { href: crumb.href, children: index === 0 ? /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) : typeof crumb.label === "string" ? crumb.label : crumb.label }) }),
|
|
91182
91240
|
index < (breadcrumbs?.length || 0) - 1 && /* @__PURE__ */ jsx(BreadcrumbSeparator, {})
|
|
91183
91241
|
] }, index)) }) });
|
|
@@ -94578,8 +94636,8 @@ function ServicesListTableHover({
|
|
|
94578
94636
|
patternOpacity,
|
|
94579
94637
|
optixFlowConfig
|
|
94580
94638
|
}) {
|
|
94581
|
-
const [hoveredIndex, setHoveredIndex] =
|
|
94582
|
-
const [mousePosition, setMousePosition] =
|
|
94639
|
+
const [hoveredIndex, setHoveredIndex] = React23.useState(null);
|
|
94640
|
+
const [mousePosition, setMousePosition] = React23.useState({ x: 0, y: 0 });
|
|
94583
94641
|
const handleMouseMove = (e) => {
|
|
94584
94642
|
setMousePosition({ x: e.clientX, y: e.clientY });
|
|
94585
94643
|
};
|
|
@@ -94829,7 +94887,7 @@ function ServicesListStickyImage({
|
|
|
94829
94887
|
patternOpacity,
|
|
94830
94888
|
optixFlowConfig
|
|
94831
94889
|
}) {
|
|
94832
|
-
const [activeIndex, setActiveIndex] =
|
|
94890
|
+
const [activeIndex, setActiveIndex] = React23.useState(0);
|
|
94833
94891
|
const renderServices = () => {
|
|
94834
94892
|
if (servicesSlot) return servicesSlot;
|
|
94835
94893
|
if (!services || services.length === 0) return null;
|
|
@@ -95081,8 +95139,8 @@ function ServicesListVideoShowcase({
|
|
|
95081
95139
|
patternOpacity,
|
|
95082
95140
|
optixFlowConfig
|
|
95083
95141
|
}) {
|
|
95084
|
-
const [playingIndex, setPlayingIndex] =
|
|
95085
|
-
const videoRefs =
|
|
95142
|
+
const [playingIndex, setPlayingIndex] = React23.useState(null);
|
|
95143
|
+
const videoRefs = React23.useRef([]);
|
|
95086
95144
|
const handleMouseEnter = (index) => {
|
|
95087
95145
|
setPlayingIndex(index);
|
|
95088
95146
|
videoRefs.current[index]?.play();
|
|
@@ -98375,7 +98433,7 @@ function StatsCircularProgress({
|
|
|
98375
98433
|
statInfoClassName
|
|
98376
98434
|
}) {
|
|
98377
98435
|
const effectiveDefaultCategory = defaultCategory || (categories && categories.length > 0 ? categories[0].id : "");
|
|
98378
|
-
const [category, setCategory] =
|
|
98436
|
+
const [category, setCategory] = React23.useState(effectiveDefaultCategory);
|
|
98379
98437
|
const badgeContent = useMemo(() => {
|
|
98380
98438
|
if (badgeSlot) return badgeSlot;
|
|
98381
98439
|
if (!badge) return null;
|
|
@@ -98668,8 +98726,8 @@ function StatsCardGroup({
|
|
|
98668
98726
|
);
|
|
98669
98727
|
}
|
|
98670
98728
|
function useAnimatedCounter(endValue, duration = 2e3, isVisible) {
|
|
98671
|
-
const [count, setCount] =
|
|
98672
|
-
|
|
98729
|
+
const [count, setCount] = React23.useState(0);
|
|
98730
|
+
React23.useEffect(() => {
|
|
98673
98731
|
if (!isVisible) return;
|
|
98674
98732
|
let startTime = null;
|
|
98675
98733
|
let animationFrame;
|
|
@@ -98757,9 +98815,9 @@ function StatsAnimatedCounter({
|
|
|
98757
98815
|
statLabelClassName,
|
|
98758
98816
|
statIconClassName
|
|
98759
98817
|
}) {
|
|
98760
|
-
const [isVisible, setIsVisible] =
|
|
98761
|
-
const sectionRef =
|
|
98762
|
-
|
|
98818
|
+
const [isVisible, setIsVisible] = React23.useState(false);
|
|
98819
|
+
const sectionRef = React23.useRef(null);
|
|
98820
|
+
React23.useEffect(() => {
|
|
98763
98821
|
const observer = new IntersectionObserver(
|
|
98764
98822
|
([entry]) => {
|
|
98765
98823
|
if (entry.isIntersecting) {
|
|
@@ -98847,8 +98905,8 @@ function StatsAnimatedCounter({
|
|
|
98847
98905
|
);
|
|
98848
98906
|
}
|
|
98849
98907
|
function useNumberTicker(endValue, duration = 2500, isVisible, decimals = 0) {
|
|
98850
|
-
const [displayValue, setDisplayValue] =
|
|
98851
|
-
|
|
98908
|
+
const [displayValue, setDisplayValue] = React23.useState("0");
|
|
98909
|
+
React23.useEffect(() => {
|
|
98852
98910
|
if (!isVisible) return;
|
|
98853
98911
|
let startTime = null;
|
|
98854
98912
|
let animationFrame;
|
|
@@ -98963,9 +99021,9 @@ function StatsNumberTicker({
|
|
|
98963
99021
|
statLabelClassName,
|
|
98964
99022
|
statDescriptionClassName
|
|
98965
99023
|
}) {
|
|
98966
|
-
const [isVisible, setIsVisible] =
|
|
98967
|
-
const sectionRef =
|
|
98968
|
-
|
|
99024
|
+
const [isVisible, setIsVisible] = React23.useState(false);
|
|
99025
|
+
const sectionRef = React23.useRef(null);
|
|
99026
|
+
React23.useEffect(() => {
|
|
98969
99027
|
const observer = new IntersectionObserver(
|
|
98970
99028
|
([entry]) => {
|
|
98971
99029
|
if (entry.isIntersecting) {
|
|
@@ -99224,9 +99282,9 @@ function StatsBarComparison({
|
|
|
99224
99282
|
barValueClassName,
|
|
99225
99283
|
barTrackClassName
|
|
99226
99284
|
}) {
|
|
99227
|
-
const [isVisible, setIsVisible] =
|
|
99228
|
-
const sectionRef =
|
|
99229
|
-
|
|
99285
|
+
const [isVisible, setIsVisible] = React23.useState(!animate);
|
|
99286
|
+
const sectionRef = React23.useRef(null);
|
|
99287
|
+
React23.useEffect(() => {
|
|
99230
99288
|
if (!animate) return;
|
|
99231
99289
|
const observer = new IntersectionObserver(
|
|
99232
99290
|
([entry]) => {
|
|
@@ -99404,7 +99462,7 @@ function TimelineVerticalIconDashed({
|
|
|
99404
99462
|
"mx-auto flex flex-col items-center justify-center text-center sm:max-w-xl",
|
|
99405
99463
|
stepsClassName
|
|
99406
99464
|
),
|
|
99407
|
-
children: steps.map((step, index) => /* @__PURE__ */ jsxs(
|
|
99465
|
+
children: steps.map((step, index) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
99408
99466
|
/* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center", stepClassName), children: [
|
|
99409
99467
|
/* @__PURE__ */ jsx(
|
|
99410
99468
|
"span",
|
|
@@ -99671,7 +99729,7 @@ function TimelineTwoColumnFeatured({
|
|
|
99671
99729
|
style,
|
|
99672
99730
|
optixFlowConfig
|
|
99673
99731
|
}) {
|
|
99674
|
-
const renderActions =
|
|
99732
|
+
const renderActions = React23.useMemo(() => {
|
|
99675
99733
|
if (actionsSlot) {
|
|
99676
99734
|
return actionsSlot;
|
|
99677
99735
|
}
|
|
@@ -99799,7 +99857,7 @@ function TimelineTwoColumnFeatured({
|
|
|
99799
99857
|
}
|
|
99800
99858
|
);
|
|
99801
99859
|
}
|
|
99802
|
-
var DiagonalPattern =
|
|
99860
|
+
var DiagonalPattern = React23.memo(({
|
|
99803
99861
|
className,
|
|
99804
99862
|
patternOpacity = 0.15
|
|
99805
99863
|
}) => {
|
|
@@ -99838,7 +99896,7 @@ function TimelineAlternatingDiagonal({
|
|
|
99838
99896
|
style,
|
|
99839
99897
|
optixFlowConfig
|
|
99840
99898
|
}) {
|
|
99841
|
-
const renderedBadge =
|
|
99899
|
+
const renderedBadge = React23.useMemo(() => {
|
|
99842
99900
|
if (badgeSlot) {
|
|
99843
99901
|
return badgeSlot;
|
|
99844
99902
|
}
|
|
@@ -100216,7 +100274,7 @@ function TimelineProductivityList({
|
|
|
100216
100274
|
}
|
|
100217
100275
|
);
|
|
100218
100276
|
}
|
|
100219
|
-
var ProcessBar =
|
|
100277
|
+
var ProcessBar = React23.memo(({ currentStep, steps }) => /* @__PURE__ */ jsx("div", { className: "relative w-full scale-75", children: /* @__PURE__ */ jsx("div", { className: "flex items-center justify-between", children: steps.map((step, index) => /* @__PURE__ */ jsxs(React23.Fragment, { children: [
|
|
100220
100278
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsx(
|
|
100221
100279
|
motion.div,
|
|
100222
100280
|
{
|
|
@@ -100243,7 +100301,7 @@ var ProcessBar = React22.memo(({ currentStep, steps }) => /* @__PURE__ */ jsx("d
|
|
|
100243
100301
|
)
|
|
100244
100302
|
] })
|
|
100245
100303
|
] }, index)) }) }));
|
|
100246
|
-
var StepperContent =
|
|
100304
|
+
var StepperContent = React23.memo(({ step, optixFlowConfig, imageClassName, descriptionClassName, background }) => {
|
|
100247
100305
|
return /* @__PURE__ */ jsxs("div", { className: cn("my-4 flex min-h-[400px] w-full flex-col items-center justify-center overflow-hidden rounded-2xl p-6 text-center", getNestedCardBg(background), getNestedCardTextColor(background)), children: [
|
|
100248
100306
|
/* @__PURE__ */ jsx(
|
|
100249
100307
|
motion.div,
|
|
@@ -100276,7 +100334,7 @@ var StepperContent = React22.memo(({ step, optixFlowConfig, imageClassName, desc
|
|
|
100276
100334
|
)
|
|
100277
100335
|
] });
|
|
100278
100336
|
});
|
|
100279
|
-
var NavButtons =
|
|
100337
|
+
var NavButtons = React23.memo(({ handlePrev, handleNext }) => /* @__PURE__ */ jsxs("div", { className: "flex w-full justify-end gap-3 tracking-tight", children: [
|
|
100280
100338
|
/* @__PURE__ */ jsxs(
|
|
100281
100339
|
Pressable,
|
|
100282
100340
|
{
|
|
@@ -100327,10 +100385,10 @@ function TimelineStepperAnimated({
|
|
|
100327
100385
|
}) {
|
|
100328
100386
|
const safeInitialStep = (steps?.length ?? 0) > 0 ? Math.max(0, Math.min(initialStep ?? 0, (steps?.length ?? 1) - 1)) : 0;
|
|
100329
100387
|
const [currentStep, setCurrentStep] = useState(safeInitialStep);
|
|
100330
|
-
const handleNext =
|
|
100388
|
+
const handleNext = React23.useCallback(() => {
|
|
100331
100389
|
setCurrentStep((prev) => Math.min(prev + 1, (steps?.length ?? 1) - 1));
|
|
100332
100390
|
}, [steps?.length]);
|
|
100333
|
-
const handlePrev =
|
|
100391
|
+
const handlePrev = React23.useCallback(() => {
|
|
100334
100392
|
setCurrentStep((prev) => Math.max(prev - 1, 0));
|
|
100335
100393
|
}, []);
|
|
100336
100394
|
const safeCurrentStep = (steps?.length ?? 0) > 0 ? Math.max(0, Math.min(currentStep, (steps?.length ?? 1) - 1)) : 0;
|
|
@@ -101039,7 +101097,7 @@ function TimelineTabbedPhases({
|
|
|
101039
101097
|
style,
|
|
101040
101098
|
optixFlowConfig
|
|
101041
101099
|
}) {
|
|
101042
|
-
const renderDownloadButton =
|
|
101100
|
+
const renderDownloadButton = React23.useMemo(() => {
|
|
101043
101101
|
if (downloadSlot) {
|
|
101044
101102
|
return downloadSlot;
|
|
101045
101103
|
}
|
|
@@ -101259,7 +101317,7 @@ function TimelineProductLaunch({
|
|
|
101259
101317
|
id,
|
|
101260
101318
|
style
|
|
101261
101319
|
}) {
|
|
101262
|
-
const renderCta =
|
|
101320
|
+
const renderCta = React23.useMemo(() => {
|
|
101263
101321
|
if (ctaSlot) {
|
|
101264
101322
|
return ctaSlot;
|
|
101265
101323
|
}
|
|
@@ -101724,9 +101782,9 @@ function LinkTreeBlock({
|
|
|
101724
101782
|
}) {
|
|
101725
101783
|
const resolvedBackground = background;
|
|
101726
101784
|
const resolvedPattern = pattern ?? backgroundPattern;
|
|
101727
|
-
const [lightboxOpen, setLightboxOpen] =
|
|
101728
|
-
const [lightboxIndex, setLightboxIndex] =
|
|
101729
|
-
const lightboxItems =
|
|
101785
|
+
const [lightboxOpen, setLightboxOpen] = React23.useState(false);
|
|
101786
|
+
const [lightboxIndex, setLightboxIndex] = React23.useState(0);
|
|
101787
|
+
const lightboxItems = React23.useMemo(() => {
|
|
101730
101788
|
if (!mediaGallery || mediaGallery.length === 0) return [];
|
|
101731
101789
|
return mediaGallery.slice(0, mediaGalleryLimit).map((item, index) => ({
|
|
101732
101790
|
id: item.id ?? `media-${index}`,
|
|
@@ -101738,11 +101796,11 @@ function LinkTreeBlock({
|
|
|
101738
101796
|
share: true
|
|
101739
101797
|
}));
|
|
101740
101798
|
}, [mediaGallery, mediaGalleryLimit]);
|
|
101741
|
-
const handleMediaClick =
|
|
101799
|
+
const handleMediaClick = React23.useCallback((index) => {
|
|
101742
101800
|
setLightboxIndex(index);
|
|
101743
101801
|
setLightboxOpen(true);
|
|
101744
101802
|
}, []);
|
|
101745
|
-
const handleLightboxClose =
|
|
101803
|
+
const handleLightboxClose = React23.useCallback(() => {
|
|
101746
101804
|
setLightboxOpen(false);
|
|
101747
101805
|
}, []);
|
|
101748
101806
|
const resolveImage = (value, fallbackAlt) => {
|
|
@@ -101754,7 +101812,7 @@ function LinkTreeBlock({
|
|
|
101754
101812
|
};
|
|
101755
101813
|
const nameForAlt = typeof brandName === "string" ? brandName : "Brand avatar";
|
|
101756
101814
|
const resolvedAvatar = resolveImage(brandAvatar || brandLogo, nameForAlt) || resolveImage(blockBrandedIconsAndPlaceholders.avatar1, nameForAlt);
|
|
101757
|
-
const renderBrandHeader =
|
|
101815
|
+
const renderBrandHeader = React23.useMemo(() => {
|
|
101758
101816
|
if (brandSlot) return brandSlot;
|
|
101759
101817
|
return /* @__PURE__ */ jsxs(
|
|
101760
101818
|
"div",
|
|
@@ -101841,7 +101899,7 @@ function LinkTreeBlock({
|
|
|
101841
101899
|
brandTagline,
|
|
101842
101900
|
taglineClassName
|
|
101843
101901
|
]);
|
|
101844
|
-
const renderLinks =
|
|
101902
|
+
const renderLinks = React23.useMemo(() => {
|
|
101845
101903
|
if (linksSlot) return linksSlot;
|
|
101846
101904
|
if (!links || links.length === 0) return null;
|
|
101847
101905
|
return /* @__PURE__ */ jsx("div", { className: cn("space-y-3", linksClassName), children: links.map((link, index) => {
|
|
@@ -101958,7 +102016,7 @@ function LinkTreeBlock({
|
|
|
101958
102016
|
linkBadgeClassName,
|
|
101959
102017
|
linkChevronClassName
|
|
101960
102018
|
]);
|
|
101961
|
-
const renderMediaGallery =
|
|
102019
|
+
const renderMediaGallery = React23.useMemo(() => {
|
|
101962
102020
|
if (mediaGallerySlot) return mediaGallerySlot;
|
|
101963
102021
|
if (!mediaGallery || mediaGallery.length === 0) return null;
|
|
101964
102022
|
const items = mediaGallery.slice(0, mediaGalleryLimit);
|
|
@@ -102072,7 +102130,7 @@ function LinkTreeBlock({
|
|
|
102072
102130
|
mediaGalleryOverlayClassName,
|
|
102073
102131
|
mediaGalleryPlayIconClassName
|
|
102074
102132
|
]);
|
|
102075
|
-
const renderSocialLinks =
|
|
102133
|
+
const renderSocialLinks = React23.useMemo(() => {
|
|
102076
102134
|
if (socialLinksSlot) return socialLinksSlot;
|
|
102077
102135
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
102078
102136
|
return /* @__PURE__ */ jsx(
|
|
@@ -102118,7 +102176,7 @@ function LinkTreeBlock({
|
|
|
102118
102176
|
socialIconClassName,
|
|
102119
102177
|
socialLinkClassName
|
|
102120
102178
|
]);
|
|
102121
|
-
const renderFooter =
|
|
102179
|
+
const renderFooter = React23.useMemo(() => {
|
|
102122
102180
|
if (footerSlot) return footerSlot;
|
|
102123
102181
|
if (!footerAction) return null;
|
|
102124
102182
|
const resolvedFooterAction = footerAction;
|