@opensite/ui 1.7.3 → 1.7.4
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.d.cts +3 -3
- package/dist/components.d.ts +3 -3
- 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.cjs +17 -8
- package/dist/contact-dark.d.cts +3 -3
- package/dist/contact-dark.d.ts +3 -3
- package/dist/contact-dark.js +17 -8
- 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.cjs +359 -89
- package/dist/contact-faq.d.cts +48 -6
- package/dist/contact-faq.d.ts +48 -6
- package/dist/contact-faq.js +359 -90
- 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.cjs +159 -232
- package/dist/contact-photography.d.cts +39 -26
- package/dist/contact-photography.d.ts +39 -26
- package/dist/contact-photography.js +160 -233
- 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.d.cts +3 -3
- package/dist/footer-social-newsletter.d.ts +3 -3
- 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 +3 -3
- package/dist/hero-creative-studio-stacked.d.ts +3 -3
- 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.d.cts +3 -3
- package/dist/hero-split-image-newsletter.d.ts +3 -3
- 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.d.cts +3 -3
- package/dist/hero-video-dialog-gradient.d.ts +3 -3
- 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.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- 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 +2098 -1974
- package/dist/registry.js +841 -717
- 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 +1 -1
package/dist/registry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as React51 from 'react';
|
|
2
|
+
import React51__default, { Fragment, createContext, useMemo, forwardRef, useState, useCallback, 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';
|
|
@@ -14,6 +14,7 @@ import { Slot } from '@radix-ui/react-slot';
|
|
|
14
14
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
15
15
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
16
16
|
import { useFileUpload } from '@page-speed/forms/upload';
|
|
17
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
17
18
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
18
19
|
import Autoplay from 'embla-carousel-autoplay';
|
|
19
20
|
import { motion as motion$1, AnimatePresence as AnimatePresence$1 } from 'motion/react';
|
|
@@ -22,7 +23,6 @@ import { usePlatformFromUrl } from '@opensite/hooks/usePlatformFromUrl';
|
|
|
22
23
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
23
24
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
24
25
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
25
|
-
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
26
26
|
import AutoScroll3 from 'embla-carousel-auto-scroll';
|
|
27
27
|
import { Lightbox } from '@page-speed/lightbox';
|
|
28
28
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
@@ -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 = React51__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 = React51__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 = React51.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 = React51.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 = React51.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 = React51.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 = React51.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 = React51.forwardRef(
|
|
1284
1284
|
({
|
|
1285
1285
|
children,
|
|
1286
1286
|
className,
|
|
@@ -1811,10 +1811,10 @@ function DynamicIcon({
|
|
|
1811
1811
|
className,
|
|
1812
1812
|
alt
|
|
1813
1813
|
}) {
|
|
1814
|
-
const [svgContent, setSvgContent] =
|
|
1815
|
-
const [isLoading, setIsLoading] =
|
|
1816
|
-
const [error, setError] =
|
|
1817
|
-
const { url, iconName } =
|
|
1814
|
+
const [svgContent, setSvgContent] = React51.useState(null);
|
|
1815
|
+
const [isLoading, setIsLoading] = React51.useState(true);
|
|
1816
|
+
const [error, setError] = React51.useState(null);
|
|
1817
|
+
const { url, iconName } = React51.useMemo(() => {
|
|
1818
1818
|
const separator = name.includes("/") ? "/" : ":";
|
|
1819
1819
|
const [prefix, iconName2] = name.split(separator);
|
|
1820
1820
|
const baseUrl = `https://icons.opensite.ai/api/icon/${prefix}/${iconName2}?format=svg&width=${size}&height=${size}&key=au382bi7fsh96w9h9xlrnat2jglx`;
|
|
@@ -1823,7 +1823,7 @@ function DynamicIcon({
|
|
|
1823
1823
|
iconName: iconName2
|
|
1824
1824
|
};
|
|
1825
1825
|
}, [name, size]);
|
|
1826
|
-
|
|
1826
|
+
React51.useEffect(() => {
|
|
1827
1827
|
let isMounted = true;
|
|
1828
1828
|
const fetchSvg = async () => {
|
|
1829
1829
|
const cached = svgCache.get(url);
|
|
@@ -3035,7 +3035,7 @@ function AboutInteractiveTabs({
|
|
|
3035
3035
|
pattern,
|
|
3036
3036
|
patternOpacity
|
|
3037
3037
|
}) {
|
|
3038
|
-
const [activeTab, setActiveTab] =
|
|
3038
|
+
const [activeTab, setActiveTab] = React51.useState(tabs?.[0]?.id ?? "");
|
|
3039
3039
|
const activeContent = useMemo(() => {
|
|
3040
3040
|
return tabs?.find((tab) => tab.id === activeTab)?.content;
|
|
3041
3041
|
}, [tabs, activeTab]);
|
|
@@ -7363,7 +7363,7 @@ function CtaVideoBackgroundHero({
|
|
|
7363
7363
|
pattern,
|
|
7364
7364
|
patternOpacity
|
|
7365
7365
|
}) {
|
|
7366
|
-
const [isModalOpen, setIsModalOpen] =
|
|
7366
|
+
const [isModalOpen, setIsModalOpen] = React51.useState(false);
|
|
7367
7367
|
const handleOpenModal = () => {
|
|
7368
7368
|
setIsModalOpen(true);
|
|
7369
7369
|
onModalOpen?.();
|
|
@@ -7551,7 +7551,7 @@ function CtaWorkflowTabs({
|
|
|
7551
7551
|
patternOpacity,
|
|
7552
7552
|
optixFlowConfig
|
|
7553
7553
|
}) {
|
|
7554
|
-
const [activeTab, setActiveTab] =
|
|
7554
|
+
const [activeTab, setActiveTab] = React51.useState(tabs?.[0]?.id || "");
|
|
7555
7555
|
const activeTabData = tabs?.find((tab) => tab.id === activeTab) || tabs?.[0];
|
|
7556
7556
|
const actionsContent = useMemo(() => {
|
|
7557
7557
|
if (actionsSlot) return actionsSlot;
|
|
@@ -8160,7 +8160,7 @@ function ContactFloatingBanner({
|
|
|
8160
8160
|
badgeClassName,
|
|
8161
8161
|
background = "default"
|
|
8162
8162
|
}) {
|
|
8163
|
-
const actionsContent =
|
|
8163
|
+
const actionsContent = React51.useMemo(() => {
|
|
8164
8164
|
if (actionsSlot) return actionsSlot;
|
|
8165
8165
|
if (actions && actions.length > 0) {
|
|
8166
8166
|
return actions.map((action, index) => {
|
|
@@ -8335,7 +8335,7 @@ function ContactCallback({
|
|
|
8335
8335
|
}
|
|
8336
8336
|
});
|
|
8337
8337
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
8338
|
-
const actionsContent =
|
|
8338
|
+
const actionsContent = React51.useMemo(() => {
|
|
8339
8339
|
if (actionsSlot) return actionsSlot;
|
|
8340
8340
|
if (actions && actions.length > 0) {
|
|
8341
8341
|
return actions.map((action, index) => {
|
|
@@ -8358,7 +8358,7 @@ function ContactCallback({
|
|
|
8358
8358
|
}
|
|
8359
8359
|
return null;
|
|
8360
8360
|
}, [actionsSlot, actions]);
|
|
8361
|
-
const footerContent =
|
|
8361
|
+
const footerContent = React51.useMemo(() => {
|
|
8362
8362
|
if (footerSlot) return footerSlot;
|
|
8363
8363
|
if (footer) {
|
|
8364
8364
|
return typeof footer === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-6 text-center text-sm text-muted-foreground", footerClassName), children: footer }) : /* @__PURE__ */ jsx("div", { className: cn("mt-6 text-center text-sm text-muted-foreground", footerClassName), children: footer });
|
|
@@ -8679,7 +8679,7 @@ function ContactCard({
|
|
|
8679
8679
|
}
|
|
8680
8680
|
});
|
|
8681
8681
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
8682
|
-
const actionsContent =
|
|
8682
|
+
const actionsContent = React51.useMemo(() => {
|
|
8683
8683
|
if (actionsSlot) return actionsSlot;
|
|
8684
8684
|
if (actions && actions.length > 0) {
|
|
8685
8685
|
return actions.map((action, index) => {
|
|
@@ -8702,7 +8702,7 @@ function ContactCard({
|
|
|
8702
8702
|
}
|
|
8703
8703
|
return null;
|
|
8704
8704
|
}, [actionsSlot, actions]);
|
|
8705
|
-
const contactOptionsContent =
|
|
8705
|
+
const contactOptionsContent = React51.useMemo(() => {
|
|
8706
8706
|
if (contactOptionsSlot) return contactOptionsSlot;
|
|
8707
8707
|
if (contactOptions && contactOptions.length > 0) {
|
|
8708
8708
|
return contactOptions.map((option, key) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
|
|
@@ -8989,7 +8989,7 @@ function ContactCareers({
|
|
|
8989
8989
|
form.setFieldValue("contact_form_upload_tokens", []);
|
|
8990
8990
|
};
|
|
8991
8991
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
8992
|
-
const actionsContent =
|
|
8992
|
+
const actionsContent = React51.useMemo(() => {
|
|
8993
8993
|
if (actionsSlot) return actionsSlot;
|
|
8994
8994
|
if (actions && actions.length > 0) {
|
|
8995
8995
|
return actions.map((action, index) => {
|
|
@@ -9428,7 +9428,7 @@ function ContactCatering({
|
|
|
9428
9428
|
const updated = current.includes(value) ? current.filter((v) => v !== value) : [...current, value];
|
|
9429
9429
|
form.setFieldValue("dietaryAccommodations", updated);
|
|
9430
9430
|
};
|
|
9431
|
-
const actionsContent =
|
|
9431
|
+
const actionsContent = React51.useMemo(() => {
|
|
9432
9432
|
if (actionsSlot) return actionsSlot;
|
|
9433
9433
|
if (actions && actions.length > 0) {
|
|
9434
9434
|
return actions.map((action, index) => {
|
|
@@ -9848,7 +9848,7 @@ function ContactConsultation({
|
|
|
9848
9848
|
}
|
|
9849
9849
|
});
|
|
9850
9850
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
9851
|
-
const actionsContent =
|
|
9851
|
+
const actionsContent = React51.useMemo(() => {
|
|
9852
9852
|
if (actionsSlot) return actionsSlot;
|
|
9853
9853
|
if (actions && actions.length > 0) {
|
|
9854
9854
|
return actions.map((action, index) => {
|
|
@@ -10147,7 +10147,7 @@ function ContactDark({
|
|
|
10147
10147
|
}
|
|
10148
10148
|
});
|
|
10149
10149
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
10150
|
-
const actionsContent =
|
|
10150
|
+
const actionsContent = React51.useMemo(() => {
|
|
10151
10151
|
if (actionsSlot) return actionsSlot;
|
|
10152
10152
|
if (actions && actions.length > 0) {
|
|
10153
10153
|
return actions.map((action, index) => {
|
|
@@ -10177,7 +10177,7 @@ function ContactDark({
|
|
|
10177
10177
|
}
|
|
10178
10178
|
return null;
|
|
10179
10179
|
}, [actionsSlot, actions]);
|
|
10180
|
-
const contactOptionsContent =
|
|
10180
|
+
const contactOptionsContent = React51.useMemo(() => {
|
|
10181
10181
|
if (contactOptionsSlot) return contactOptionsSlot;
|
|
10182
10182
|
if (contactOptions && contactOptions.length > 0) {
|
|
10183
10183
|
return contactOptions.map((option, key) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -10201,7 +10201,7 @@ function ContactDark({
|
|
|
10201
10201
|
}
|
|
10202
10202
|
return null;
|
|
10203
10203
|
}, [contactOptionsSlot, contactOptions]);
|
|
10204
|
-
const socialLinksContent =
|
|
10204
|
+
const socialLinksContent = React51.useMemo(() => {
|
|
10205
10205
|
if (socialLinksSlot) return socialLinksSlot;
|
|
10206
10206
|
if (socialLinks && socialLinks.length > 0) {
|
|
10207
10207
|
return socialLinks.map((social, key) => /* @__PURE__ */ jsx(
|
|
@@ -10232,23 +10232,32 @@ function ContactDark({
|
|
|
10232
10232
|
"h2",
|
|
10233
10233
|
{
|
|
10234
10234
|
className: cn(
|
|
10235
|
-
"mb-3 text-3xl font-bold tracking-tight",
|
|
10235
|
+
"mb-3 text-3xl font-bold tracking-tight text-balance",
|
|
10236
10236
|
headingClassName
|
|
10237
10237
|
),
|
|
10238
10238
|
children: heading
|
|
10239
10239
|
}
|
|
10240
10240
|
) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
|
|
10241
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
10241
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
10242
|
+
"p",
|
|
10243
|
+
{
|
|
10244
|
+
className: cn(
|
|
10245
|
+
"leading-relaxed text-balance",
|
|
10246
|
+
descriptionClassName
|
|
10247
|
+
),
|
|
10248
|
+
children: description
|
|
10249
|
+
}
|
|
10250
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
10242
10251
|
] }),
|
|
10243
10252
|
/* @__PURE__ */ jsxs(
|
|
10244
10253
|
Card,
|
|
10245
10254
|
{
|
|
10246
10255
|
className: cn(
|
|
10247
|
-
"grid gap-0 overflow-hidden lg:grid-cols-2",
|
|
10256
|
+
"grid gap-0 overflow-hidden grid-cols-1 lg:grid-cols-2 pt-0 pb-0",
|
|
10248
10257
|
cardClassName
|
|
10249
10258
|
),
|
|
10250
10259
|
children: [
|
|
10251
|
-
/* @__PURE__ */ jsx("div", { className: cn("p-6 lg:p-
|
|
10260
|
+
/* @__PURE__ */ jsx("div", { className: cn("p-6 lg:p-12", formPanelClassName), children: /* @__PURE__ */ jsxs(
|
|
10252
10261
|
Form,
|
|
10253
10262
|
{
|
|
10254
10263
|
form,
|
|
@@ -10264,7 +10273,7 @@ function ContactDark({
|
|
|
10264
10273
|
{
|
|
10265
10274
|
...field,
|
|
10266
10275
|
id: "first-name",
|
|
10267
|
-
placeholder: "
|
|
10276
|
+
placeholder: "First name",
|
|
10268
10277
|
error: meta.touched && !!meta.error,
|
|
10269
10278
|
"aria-label": "First Name"
|
|
10270
10279
|
}
|
|
@@ -10277,7 +10286,7 @@ function ContactDark({
|
|
|
10277
10286
|
{
|
|
10278
10287
|
...field,
|
|
10279
10288
|
id: "last-name",
|
|
10280
|
-
placeholder: "
|
|
10289
|
+
placeholder: "Last name",
|
|
10281
10290
|
error: meta.touched && !!meta.error,
|
|
10282
10291
|
"aria-label": "Last Name"
|
|
10283
10292
|
}
|
|
@@ -10292,7 +10301,7 @@ function ContactDark({
|
|
|
10292
10301
|
...field,
|
|
10293
10302
|
id: "email",
|
|
10294
10303
|
type: "email",
|
|
10295
|
-
placeholder: "
|
|
10304
|
+
placeholder: "Your email",
|
|
10296
10305
|
error: meta.touched && !!meta.error,
|
|
10297
10306
|
"aria-label": "Email Address"
|
|
10298
10307
|
}
|
|
@@ -10305,7 +10314,7 @@ function ContactDark({
|
|
|
10305
10314
|
{
|
|
10306
10315
|
...field,
|
|
10307
10316
|
id: "message",
|
|
10308
|
-
placeholder: "
|
|
10317
|
+
placeholder: "Your message...",
|
|
10309
10318
|
rows: 4,
|
|
10310
10319
|
error: meta.touched && !!meta.error,
|
|
10311
10320
|
"aria-label": "Message"
|
|
@@ -10460,7 +10469,7 @@ function ContactDemo({
|
|
|
10460
10469
|
}
|
|
10461
10470
|
});
|
|
10462
10471
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
10463
|
-
const actionsContent =
|
|
10472
|
+
const actionsContent = React51.useMemo(() => {
|
|
10464
10473
|
if (actionsSlot) return actionsSlot;
|
|
10465
10474
|
if (actions && actions.length > 0) {
|
|
10466
10475
|
return actions.map((action, index) => {
|
|
@@ -10767,7 +10776,7 @@ function ContactEmergency({
|
|
|
10767
10776
|
const selectedPriority = PRIORITIES.find(
|
|
10768
10777
|
(p) => p.value === form.values.priority
|
|
10769
10778
|
);
|
|
10770
|
-
const actionsContent =
|
|
10779
|
+
const actionsContent = React51.useMemo(() => {
|
|
10771
10780
|
if (actionsSlot) return actionsSlot;
|
|
10772
10781
|
if (actions && actions.length > 0) {
|
|
10773
10782
|
return actions.map((action, index) => {
|
|
@@ -11070,7 +11079,7 @@ function ContactEvent({
|
|
|
11070
11079
|
}
|
|
11071
11080
|
});
|
|
11072
11081
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
11073
|
-
const actionsContent =
|
|
11082
|
+
const actionsContent = React51.useMemo(() => {
|
|
11074
11083
|
if (actionsSlot) return actionsSlot;
|
|
11075
11084
|
if (actions && actions.length > 0) {
|
|
11076
11085
|
return actions.map((action, index) => {
|
|
@@ -11206,6 +11215,66 @@ function ContactEvent({
|
|
|
11206
11215
|
}
|
|
11207
11216
|
);
|
|
11208
11217
|
}
|
|
11218
|
+
function Accordion({
|
|
11219
|
+
...props
|
|
11220
|
+
}) {
|
|
11221
|
+
return /* @__PURE__ */ jsx(AccordionPrimitive.Root, { "data-slot": "accordion", ...props });
|
|
11222
|
+
}
|
|
11223
|
+
function AccordionItem({
|
|
11224
|
+
className,
|
|
11225
|
+
...props
|
|
11226
|
+
}) {
|
|
11227
|
+
return /* @__PURE__ */ jsx(
|
|
11228
|
+
AccordionPrimitive.Item,
|
|
11229
|
+
{
|
|
11230
|
+
"data-slot": "accordion-item",
|
|
11231
|
+
className: cn("border-b ", className),
|
|
11232
|
+
...props
|
|
11233
|
+
}
|
|
11234
|
+
);
|
|
11235
|
+
}
|
|
11236
|
+
function AccordionTrigger({
|
|
11237
|
+
className,
|
|
11238
|
+
children,
|
|
11239
|
+
...props
|
|
11240
|
+
}) {
|
|
11241
|
+
return /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
|
|
11242
|
+
AccordionPrimitive.Trigger,
|
|
11243
|
+
{
|
|
11244
|
+
"data-slot": "accordion-trigger",
|
|
11245
|
+
className: cn(
|
|
11246
|
+
"focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-center justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
|
|
11247
|
+
className
|
|
11248
|
+
),
|
|
11249
|
+
...props,
|
|
11250
|
+
children: [
|
|
11251
|
+
children,
|
|
11252
|
+
/* @__PURE__ */ jsx(
|
|
11253
|
+
DynamicIcon,
|
|
11254
|
+
{
|
|
11255
|
+
name: "lucide/chevron-down",
|
|
11256
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
11257
|
+
}
|
|
11258
|
+
)
|
|
11259
|
+
]
|
|
11260
|
+
}
|
|
11261
|
+
) });
|
|
11262
|
+
}
|
|
11263
|
+
function AccordionContent({
|
|
11264
|
+
className,
|
|
11265
|
+
children,
|
|
11266
|
+
...props
|
|
11267
|
+
}) {
|
|
11268
|
+
return /* @__PURE__ */ jsx(
|
|
11269
|
+
AccordionPrimitive.Content,
|
|
11270
|
+
{
|
|
11271
|
+
"data-slot": "accordion-content",
|
|
11272
|
+
className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
|
|
11273
|
+
...props,
|
|
11274
|
+
children: /* @__PURE__ */ jsx("div", { className: cn("pt-0 pb-4", className), children })
|
|
11275
|
+
}
|
|
11276
|
+
);
|
|
11277
|
+
}
|
|
11209
11278
|
function ContactFaq({
|
|
11210
11279
|
heading,
|
|
11211
11280
|
description,
|
|
@@ -11214,6 +11283,9 @@ function ContactFaq({
|
|
|
11214
11283
|
buttonIcon,
|
|
11215
11284
|
actions,
|
|
11216
11285
|
actionsSlot,
|
|
11286
|
+
items,
|
|
11287
|
+
itemsSlot,
|
|
11288
|
+
faqHeading,
|
|
11217
11289
|
className,
|
|
11218
11290
|
headerClassName,
|
|
11219
11291
|
headingClassName,
|
|
@@ -11223,6 +11295,12 @@ function ContactFaq({
|
|
|
11223
11295
|
formHeadingClassName,
|
|
11224
11296
|
formClassName,
|
|
11225
11297
|
submitClassName,
|
|
11298
|
+
faqHeadingClassName,
|
|
11299
|
+
accordionClassName,
|
|
11300
|
+
accordionItemClassName,
|
|
11301
|
+
accordionTriggerClassName,
|
|
11302
|
+
accordionContentClassName,
|
|
11303
|
+
gridClassName,
|
|
11226
11304
|
background,
|
|
11227
11305
|
spacing = "py-8 md:py-32",
|
|
11228
11306
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -11280,7 +11358,7 @@ function ContactFaq({
|
|
|
11280
11358
|
}
|
|
11281
11359
|
});
|
|
11282
11360
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
11283
|
-
const actionsContent =
|
|
11361
|
+
const actionsContent = React51.useMemo(() => {
|
|
11284
11362
|
if (actionsSlot) return actionsSlot;
|
|
11285
11363
|
if (actions && actions.length > 0) {
|
|
11286
11364
|
return actions.map((action, index) => {
|
|
@@ -11310,6 +11388,49 @@ function ContactFaq({
|
|
|
11310
11388
|
}
|
|
11311
11389
|
return null;
|
|
11312
11390
|
}, [actionsSlot, actions]);
|
|
11391
|
+
const hasFaqItems = itemsSlot || items && items.length > 0;
|
|
11392
|
+
const faqContent = useMemo(() => {
|
|
11393
|
+
if (itemsSlot) return itemsSlot;
|
|
11394
|
+
if (!items || items.length === 0) return null;
|
|
11395
|
+
return /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: items.map((item) => /* @__PURE__ */ jsxs(
|
|
11396
|
+
AccordionItem,
|
|
11397
|
+
{
|
|
11398
|
+
value: item.id,
|
|
11399
|
+
className: accordionItemClassName,
|
|
11400
|
+
children: [
|
|
11401
|
+
/* @__PURE__ */ jsx(
|
|
11402
|
+
AccordionTrigger,
|
|
11403
|
+
{
|
|
11404
|
+
className: cn(
|
|
11405
|
+
"font-semibold hover:no-underline",
|
|
11406
|
+
accordionTriggerClassName
|
|
11407
|
+
),
|
|
11408
|
+
children: item.question
|
|
11409
|
+
}
|
|
11410
|
+
),
|
|
11411
|
+
/* @__PURE__ */ jsx(
|
|
11412
|
+
AccordionContent,
|
|
11413
|
+
{
|
|
11414
|
+
className: cn(
|
|
11415
|
+
getTextColor(background, "muted"),
|
|
11416
|
+
accordionContentClassName
|
|
11417
|
+
),
|
|
11418
|
+
children: item.answer
|
|
11419
|
+
}
|
|
11420
|
+
)
|
|
11421
|
+
]
|
|
11422
|
+
},
|
|
11423
|
+
item.id
|
|
11424
|
+
)) });
|
|
11425
|
+
}, [
|
|
11426
|
+
itemsSlot,
|
|
11427
|
+
items,
|
|
11428
|
+
accordionClassName,
|
|
11429
|
+
accordionItemClassName,
|
|
11430
|
+
accordionTriggerClassName,
|
|
11431
|
+
accordionContentClassName,
|
|
11432
|
+
background
|
|
11433
|
+
]);
|
|
11313
11434
|
return /* @__PURE__ */ jsx(
|
|
11314
11435
|
Section,
|
|
11315
11436
|
{
|
|
@@ -11342,100 +11463,125 @@ function ContactFaq({
|
|
|
11342
11463
|
}
|
|
11343
11464
|
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
11344
11465
|
] }),
|
|
11345
|
-
/* @__PURE__ */
|
|
11346
|
-
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
Form,
|
|
11358
|
-
{
|
|
11359
|
-
form,
|
|
11360
|
-
action: formConfig?.endpoint,
|
|
11361
|
-
method: formMethod,
|
|
11362
|
-
className: cn("space-y-4", formClassName),
|
|
11363
|
-
children: [
|
|
11364
|
-
/* @__PURE__ */ jsxs("div", { className: "grid gap-4 sm:grid-cols-2", children: [
|
|
11365
|
-
/* @__PURE__ */ jsx(Field, { name: "name", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11366
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "name", children: "Name" }),
|
|
11367
|
-
/* @__PURE__ */ jsx(
|
|
11368
|
-
TextInput$1,
|
|
11369
|
-
{
|
|
11370
|
-
...field,
|
|
11371
|
-
id: "name",
|
|
11372
|
-
placeholder: "John Doe",
|
|
11373
|
-
error: meta.touched && !!meta.error,
|
|
11374
|
-
"aria-label": "Name"
|
|
11375
|
-
}
|
|
11376
|
-
)
|
|
11377
|
-
] }) }),
|
|
11378
|
-
/* @__PURE__ */ jsx(Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11379
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "email", children: "Email" }),
|
|
11380
|
-
/* @__PURE__ */ jsx(
|
|
11381
|
-
TextInput$1,
|
|
11382
|
-
{
|
|
11383
|
-
...field,
|
|
11384
|
-
id: "email",
|
|
11385
|
-
type: "email",
|
|
11386
|
-
placeholder: "john@example.com",
|
|
11387
|
-
error: meta.touched && !!meta.error,
|
|
11388
|
-
"aria-label": "Email"
|
|
11389
|
-
}
|
|
11390
|
-
)
|
|
11391
|
-
] }) })
|
|
11392
|
-
] }),
|
|
11393
|
-
/* @__PURE__ */ jsx(Field, { name: "subject", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11394
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "subject", children: "Subject" }),
|
|
11395
|
-
/* @__PURE__ */ jsx(
|
|
11396
|
-
TextInput$1,
|
|
11397
|
-
{
|
|
11398
|
-
...field,
|
|
11399
|
-
id: "subject",
|
|
11400
|
-
placeholder: "What is this regarding?",
|
|
11401
|
-
error: meta.touched && !!meta.error,
|
|
11402
|
-
"aria-label": "Subject"
|
|
11403
|
-
}
|
|
11404
|
-
)
|
|
11405
|
-
] }) }),
|
|
11406
|
-
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11407
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
11408
|
-
/* @__PURE__ */ jsx(
|
|
11409
|
-
TextArea$1,
|
|
11410
|
-
{
|
|
11411
|
-
...field,
|
|
11412
|
-
id: "message",
|
|
11413
|
-
placeholder: "Your question...",
|
|
11414
|
-
rows: 4,
|
|
11415
|
-
error: meta.touched && !!meta.error,
|
|
11416
|
-
"aria-label": "Message"
|
|
11417
|
-
}
|
|
11418
|
-
)
|
|
11419
|
-
] }) }),
|
|
11420
|
-
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxs(
|
|
11421
|
-
Pressable,
|
|
11466
|
+
/* @__PURE__ */ jsxs(
|
|
11467
|
+
"div",
|
|
11468
|
+
{
|
|
11469
|
+
className: cn(
|
|
11470
|
+
"mx-auto grid gap-10",
|
|
11471
|
+
hasFaqItems ? "max-w-5xl lg:grid-cols-2" : "max-w-xl lg:grid-cols-1",
|
|
11472
|
+
gridClassName
|
|
11473
|
+
),
|
|
11474
|
+
children: [
|
|
11475
|
+
hasFaqItems && /* @__PURE__ */ jsxs("div", { children: [
|
|
11476
|
+
faqHeading && (typeof faqHeading === "string" ? /* @__PURE__ */ jsx(
|
|
11477
|
+
"h3",
|
|
11422
11478
|
{
|
|
11423
|
-
|
|
11424
|
-
|
|
11425
|
-
|
|
11426
|
-
|
|
11427
|
-
|
|
11428
|
-
|
|
11479
|
+
className: cn(
|
|
11480
|
+
"mb-6 text-xl font-semibold",
|
|
11481
|
+
faqHeadingClassName
|
|
11482
|
+
),
|
|
11483
|
+
children: faqHeading
|
|
11484
|
+
}
|
|
11485
|
+
) : /* @__PURE__ */ jsx("div", { className: faqHeadingClassName, children: faqHeading })),
|
|
11486
|
+
faqContent
|
|
11487
|
+
] }),
|
|
11488
|
+
/* @__PURE__ */ jsx(Card, { className: cn(hasFaqItems ? "" : "mx-auto max-w-xl w-full", cardClassName), children: /* @__PURE__ */ jsxs(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: [
|
|
11489
|
+
formHeading && (typeof formHeading === "string" ? /* @__PURE__ */ jsx(
|
|
11490
|
+
"h3",
|
|
11491
|
+
{
|
|
11492
|
+
className: cn(
|
|
11493
|
+
"mb-6 text-xl font-semibold",
|
|
11494
|
+
formHeadingClassName
|
|
11495
|
+
),
|
|
11496
|
+
children: formHeading
|
|
11497
|
+
}
|
|
11498
|
+
) : /* @__PURE__ */ jsx("div", { className: formHeadingClassName, children: formHeading })),
|
|
11499
|
+
/* @__PURE__ */ jsxs(
|
|
11500
|
+
Form,
|
|
11501
|
+
{
|
|
11502
|
+
form,
|
|
11503
|
+
action: formConfig?.endpoint,
|
|
11504
|
+
method: formMethod,
|
|
11505
|
+
className: cn("space-y-4", formClassName),
|
|
11429
11506
|
children: [
|
|
11430
|
-
|
|
11431
|
-
|
|
11507
|
+
/* @__PURE__ */ jsxs("div", { className: "grid gap-4 sm:grid-cols-2", children: [
|
|
11508
|
+
/* @__PURE__ */ jsx(Field, { name: "name", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11509
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "name", children: "Name" }),
|
|
11510
|
+
/* @__PURE__ */ jsx(
|
|
11511
|
+
TextInput$1,
|
|
11512
|
+
{
|
|
11513
|
+
...field,
|
|
11514
|
+
id: "name",
|
|
11515
|
+
placeholder: "John Doe",
|
|
11516
|
+
error: meta.touched && !!meta.error,
|
|
11517
|
+
"aria-label": "Name"
|
|
11518
|
+
}
|
|
11519
|
+
)
|
|
11520
|
+
] }) }),
|
|
11521
|
+
/* @__PURE__ */ jsx(Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11522
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "email", children: "Email" }),
|
|
11523
|
+
/* @__PURE__ */ jsx(
|
|
11524
|
+
TextInput$1,
|
|
11525
|
+
{
|
|
11526
|
+
...field,
|
|
11527
|
+
id: "email",
|
|
11528
|
+
type: "email",
|
|
11529
|
+
placeholder: "john@example.com",
|
|
11530
|
+
error: meta.touched && !!meta.error,
|
|
11531
|
+
"aria-label": "Email"
|
|
11532
|
+
}
|
|
11533
|
+
)
|
|
11534
|
+
] }) })
|
|
11535
|
+
] }),
|
|
11536
|
+
/* @__PURE__ */ jsx(Field, { name: "subject", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11537
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "subject", children: "Subject" }),
|
|
11538
|
+
/* @__PURE__ */ jsx(
|
|
11539
|
+
TextInput$1,
|
|
11540
|
+
{
|
|
11541
|
+
...field,
|
|
11542
|
+
id: "subject",
|
|
11543
|
+
placeholder: "What is this regarding?",
|
|
11544
|
+
error: meta.touched && !!meta.error,
|
|
11545
|
+
"aria-label": "Subject"
|
|
11546
|
+
}
|
|
11547
|
+
)
|
|
11548
|
+
] }) }),
|
|
11549
|
+
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11550
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
11551
|
+
/* @__PURE__ */ jsx(
|
|
11552
|
+
TextArea$1,
|
|
11553
|
+
{
|
|
11554
|
+
...field,
|
|
11555
|
+
id: "message",
|
|
11556
|
+
placeholder: "Your question...",
|
|
11557
|
+
rows: 4,
|
|
11558
|
+
error: meta.touched && !!meta.error,
|
|
11559
|
+
"aria-label": "Message"
|
|
11560
|
+
}
|
|
11561
|
+
)
|
|
11562
|
+
] }) }),
|
|
11563
|
+
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxs(
|
|
11564
|
+
Pressable,
|
|
11565
|
+
{
|
|
11566
|
+
componentType: "button",
|
|
11567
|
+
type: "submit",
|
|
11568
|
+
className: cn("w-full", submitClassName),
|
|
11569
|
+
size: "lg",
|
|
11570
|
+
asButton: true,
|
|
11571
|
+
disabled: form.isSubmitting,
|
|
11572
|
+
children: [
|
|
11573
|
+
buttonIcon,
|
|
11574
|
+
buttonText
|
|
11575
|
+
]
|
|
11576
|
+
}
|
|
11577
|
+
)
|
|
11432
11578
|
]
|
|
11433
11579
|
}
|
|
11434
11580
|
)
|
|
11435
|
-
]
|
|
11436
|
-
|
|
11437
|
-
|
|
11438
|
-
|
|
11581
|
+
] }) })
|
|
11582
|
+
]
|
|
11583
|
+
}
|
|
11584
|
+
)
|
|
11439
11585
|
] })
|
|
11440
11586
|
}
|
|
11441
11587
|
);
|
|
@@ -11508,7 +11654,7 @@ function ContactFeedback({
|
|
|
11508
11654
|
}
|
|
11509
11655
|
});
|
|
11510
11656
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
11511
|
-
const actionsContent =
|
|
11657
|
+
const actionsContent = React51.useMemo(() => {
|
|
11512
11658
|
if (actionsSlot) return actionsSlot;
|
|
11513
11659
|
if (actions && actions.length > 0) {
|
|
11514
11660
|
return actions.map((action, index) => {
|
|
@@ -11676,7 +11822,7 @@ function ContactFitness({
|
|
|
11676
11822
|
}
|
|
11677
11823
|
});
|
|
11678
11824
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
11679
|
-
const actionsContent =
|
|
11825
|
+
const actionsContent = React51.useMemo(() => {
|
|
11680
11826
|
if (actionsSlot) return actionsSlot;
|
|
11681
11827
|
if (actions && actions.length > 0) {
|
|
11682
11828
|
return actions.map((action, index) => {
|
|
@@ -11886,7 +12032,7 @@ function ContactGuest({
|
|
|
11886
12032
|
}
|
|
11887
12033
|
});
|
|
11888
12034
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
11889
|
-
const actionsContent =
|
|
12035
|
+
const actionsContent = React51.useMemo(() => {
|
|
11890
12036
|
if (actionsSlot) return actionsSlot;
|
|
11891
12037
|
if (actions && actions.length > 0) {
|
|
11892
12038
|
return actions.map((action, index) => {
|
|
@@ -12096,7 +12242,7 @@ function ContactImage({
|
|
|
12096
12242
|
}
|
|
12097
12243
|
});
|
|
12098
12244
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
12099
|
-
const actionsContent =
|
|
12245
|
+
const actionsContent = React51.useMemo(() => {
|
|
12100
12246
|
if (actionsSlot) return actionsSlot;
|
|
12101
12247
|
if (actions && actions.length > 0) {
|
|
12102
12248
|
return actions.map((action, index) => {
|
|
@@ -12306,7 +12452,7 @@ function ContactInsurance({
|
|
|
12306
12452
|
}
|
|
12307
12453
|
});
|
|
12308
12454
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
12309
|
-
const actionsContent =
|
|
12455
|
+
const actionsContent = React51.useMemo(() => {
|
|
12310
12456
|
if (actionsSlot) return actionsSlot;
|
|
12311
12457
|
if (actions && actions.length > 0) {
|
|
12312
12458
|
return actions.map((action, index) => {
|
|
@@ -12516,7 +12662,7 @@ function ContactInterview({
|
|
|
12516
12662
|
}
|
|
12517
12663
|
});
|
|
12518
12664
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
12519
|
-
const actionsContent =
|
|
12665
|
+
const actionsContent = React51.useMemo(() => {
|
|
12520
12666
|
if (actionsSlot) return actionsSlot;
|
|
12521
12667
|
if (actions && actions.length > 0) {
|
|
12522
12668
|
return actions.map((action, index) => {
|
|
@@ -12717,7 +12863,7 @@ function ContactLocations({
|
|
|
12717
12863
|
}
|
|
12718
12864
|
});
|
|
12719
12865
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
12720
|
-
const actionsContent =
|
|
12866
|
+
const actionsContent = React51.useMemo(() => {
|
|
12721
12867
|
if (actionsSlot) return actionsSlot;
|
|
12722
12868
|
if (actions && actions.length > 0) {
|
|
12723
12869
|
return actions.map((action, index) => {
|
|
@@ -12918,7 +13064,7 @@ function ContactMaintenance({
|
|
|
12918
13064
|
}
|
|
12919
13065
|
});
|
|
12920
13066
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
12921
|
-
const actionsContent =
|
|
13067
|
+
const actionsContent = React51.useMemo(() => {
|
|
12922
13068
|
if (actionsSlot) return actionsSlot;
|
|
12923
13069
|
if (actions && actions.length > 0) {
|
|
12924
13070
|
return actions.map((action, index) => {
|
|
@@ -13119,7 +13265,7 @@ function ContactMap({
|
|
|
13119
13265
|
}
|
|
13120
13266
|
});
|
|
13121
13267
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
13122
|
-
const actionsContent =
|
|
13268
|
+
const actionsContent = React51.useMemo(() => {
|
|
13123
13269
|
if (actionsSlot) return actionsSlot;
|
|
13124
13270
|
if (actions && actions.length > 0) {
|
|
13125
13271
|
return actions.map((action, index) => {
|
|
@@ -13317,7 +13463,7 @@ function ContactMinimal({
|
|
|
13317
13463
|
}
|
|
13318
13464
|
});
|
|
13319
13465
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
13320
|
-
const actionsContent =
|
|
13466
|
+
const actionsContent = React51.useMemo(() => {
|
|
13321
13467
|
if (actionsSlot) return actionsSlot;
|
|
13322
13468
|
if (actions && actions.length > 0) {
|
|
13323
13469
|
return actions.map((action, index) => {
|
|
@@ -13340,7 +13486,7 @@ function ContactMinimal({
|
|
|
13340
13486
|
}
|
|
13341
13487
|
return null;
|
|
13342
13488
|
}, [actionsSlot, actions]);
|
|
13343
|
-
const footerContent =
|
|
13489
|
+
const footerContent = React51.useMemo(() => {
|
|
13344
13490
|
if (footerSlot) return footerSlot;
|
|
13345
13491
|
if (footer) {
|
|
13346
13492
|
return typeof footer === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-6 text-center text-sm text-muted-foreground", footerClassName), children: footer }) : /* @__PURE__ */ jsx("div", { className: cn("mt-6 text-center text-sm text-muted-foreground", footerClassName), children: footer });
|
|
@@ -13506,7 +13652,7 @@ function ContactMoving({
|
|
|
13506
13652
|
}
|
|
13507
13653
|
});
|
|
13508
13654
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
13509
|
-
const actionsContent =
|
|
13655
|
+
const actionsContent = React51.useMemo(() => {
|
|
13510
13656
|
if (actionsSlot) return actionsSlot;
|
|
13511
13657
|
if (actions && actions.length > 0) {
|
|
13512
13658
|
return actions.map((action, index) => {
|
|
@@ -13707,7 +13853,7 @@ function ContactMultistep({
|
|
|
13707
13853
|
}
|
|
13708
13854
|
});
|
|
13709
13855
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
13710
|
-
const actionsContent =
|
|
13856
|
+
const actionsContent = React51.useMemo(() => {
|
|
13711
13857
|
if (actionsSlot) return actionsSlot;
|
|
13712
13858
|
if (actions && actions.length > 0) {
|
|
13713
13859
|
return actions.map((action, index) => {
|
|
@@ -13908,7 +14054,7 @@ function ContactPartnership({
|
|
|
13908
14054
|
}
|
|
13909
14055
|
});
|
|
13910
14056
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
13911
|
-
const actionsContent =
|
|
14057
|
+
const actionsContent = React51.useMemo(() => {
|
|
13912
14058
|
if (actionsSlot) return actionsSlot;
|
|
13913
14059
|
if (actions && actions.length > 0) {
|
|
13914
14060
|
return actions.map((action, index) => {
|
|
@@ -14043,18 +14189,19 @@ function ContactPhotography({
|
|
|
14043
14189
|
actions,
|
|
14044
14190
|
actionsSlot,
|
|
14045
14191
|
className,
|
|
14046
|
-
headerClassName,
|
|
14047
14192
|
headingClassName,
|
|
14048
14193
|
descriptionClassName,
|
|
14049
|
-
|
|
14050
|
-
cardContentClassName,
|
|
14194
|
+
contentClassName,
|
|
14051
14195
|
formClassName,
|
|
14052
14196
|
submitClassName,
|
|
14053
|
-
background,
|
|
14054
|
-
spacing = "py-8 md:py-32",
|
|
14055
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
14197
|
+
background = "dark",
|
|
14056
14198
|
pattern,
|
|
14057
14199
|
patternOpacity,
|
|
14200
|
+
imageSrc,
|
|
14201
|
+
imageAlt,
|
|
14202
|
+
imageClassName,
|
|
14203
|
+
optixFlowConfig,
|
|
14204
|
+
directionConfig = { desktop: "mediaRight", mobile: "mediaTop" },
|
|
14058
14205
|
formConfig,
|
|
14059
14206
|
onSubmit,
|
|
14060
14207
|
onSuccess,
|
|
@@ -14109,7 +14256,7 @@ function ContactPhotography({
|
|
|
14109
14256
|
}
|
|
14110
14257
|
});
|
|
14111
14258
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
14112
|
-
const actionsContent =
|
|
14259
|
+
const actionsContent = useMemo(() => {
|
|
14113
14260
|
if (actionsSlot) return actionsSlot;
|
|
14114
14261
|
if (actions && actions.length > 0) {
|
|
14115
14262
|
return actions.map((action, index) => {
|
|
@@ -14139,22 +14286,36 @@ function ContactPhotography({
|
|
|
14139
14286
|
}
|
|
14140
14287
|
return null;
|
|
14141
14288
|
}, [actionsSlot, actions]);
|
|
14142
|
-
|
|
14143
|
-
|
|
14289
|
+
const bgColorClass = useMemo(() => {
|
|
14290
|
+
switch (background) {
|
|
14291
|
+
case "dark":
|
|
14292
|
+
return "bg-foreground text-background";
|
|
14293
|
+
case "gray":
|
|
14294
|
+
return cn(getNestedCardBg(background), getNestedCardTextColor(background));
|
|
14295
|
+
case "white":
|
|
14296
|
+
return "bg-background";
|
|
14297
|
+
default:
|
|
14298
|
+
return "bg-background";
|
|
14299
|
+
}
|
|
14300
|
+
}, [background]);
|
|
14301
|
+
const desktopOrder = directionConfig.desktop === "mediaRight" ? "lg:flex-row" : "lg:flex-row-reverse";
|
|
14302
|
+
const mobileOrder = directionConfig.mobile === "mediaTop" ? "flex-col" : "flex-col-reverse";
|
|
14303
|
+
const contentArea = /* @__PURE__ */ jsxs(
|
|
14304
|
+
"div",
|
|
14144
14305
|
{
|
|
14145
|
-
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
|
|
14149
|
-
|
|
14150
|
-
|
|
14151
|
-
|
|
14152
|
-
/* @__PURE__ */
|
|
14306
|
+
className: cn(
|
|
14307
|
+
"relative flex w-full items-center lg:w-1/2",
|
|
14308
|
+
bgColorClass,
|
|
14309
|
+
contentClassName
|
|
14310
|
+
),
|
|
14311
|
+
children: [
|
|
14312
|
+
pattern && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 overflow-hidden", children: /* @__PURE__ */ jsx(PatternBackground, { pattern, opacity: patternOpacity }) }),
|
|
14313
|
+
/* @__PURE__ */ jsx("div", { className: "relative z-10 w-full px-8 py-16 sm:px-12 sm:py-20 lg:px-16 lg:py-24 xl:px-24", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-xl space-y-8", children: [
|
|
14153
14314
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
14154
14315
|
"h2",
|
|
14155
14316
|
{
|
|
14156
14317
|
className: cn(
|
|
14157
|
-
"
|
|
14318
|
+
"text-3xl font-bold leading-tight tracking-tight sm:text-4xl lg:text-5xl",
|
|
14158
14319
|
headingClassName
|
|
14159
14320
|
),
|
|
14160
14321
|
children: heading
|
|
@@ -14164,112 +14325,125 @@ function ContactPhotography({
|
|
|
14164
14325
|
"p",
|
|
14165
14326
|
{
|
|
14166
14327
|
className: cn(
|
|
14167
|
-
"leading-relaxed text-
|
|
14328
|
+
"text-base leading-relaxed opacity-90 sm:text-lg",
|
|
14168
14329
|
descriptionClassName
|
|
14169
14330
|
),
|
|
14170
14331
|
children: description
|
|
14171
14332
|
}
|
|
14172
|
-
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14178
|
-
|
|
14179
|
-
|
|
14180
|
-
|
|
14181
|
-
|
|
14182
|
-
|
|
14183
|
-
|
|
14184
|
-
|
|
14333
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
|
|
14334
|
+
/* @__PURE__ */ jsxs(
|
|
14335
|
+
Form,
|
|
14336
|
+
{
|
|
14337
|
+
form,
|
|
14338
|
+
action: formConfig?.endpoint,
|
|
14339
|
+
method: formMethod,
|
|
14340
|
+
className: cn("space-y-4", formClassName),
|
|
14341
|
+
children: [
|
|
14342
|
+
/* @__PURE__ */ jsxs("div", { className: "grid gap-4 sm:grid-cols-2", children: [
|
|
14343
|
+
/* @__PURE__ */ jsx(Field, { name: "first_name", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14344
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "first-name", children: "First Name" }),
|
|
14345
|
+
/* @__PURE__ */ jsx(
|
|
14346
|
+
TextInput$1,
|
|
14347
|
+
{
|
|
14348
|
+
...field,
|
|
14349
|
+
id: "first-name",
|
|
14350
|
+
placeholder: "John",
|
|
14351
|
+
error: meta.touched && !!meta.error,
|
|
14352
|
+
"aria-label": "First Name"
|
|
14353
|
+
}
|
|
14354
|
+
)
|
|
14355
|
+
] }) }),
|
|
14356
|
+
/* @__PURE__ */ jsx(Field, { name: "last_name", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14357
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "last-name", children: "Last Name" }),
|
|
14358
|
+
/* @__PURE__ */ jsx(
|
|
14359
|
+
TextInput$1,
|
|
14360
|
+
{
|
|
14361
|
+
...field,
|
|
14362
|
+
id: "last-name",
|
|
14363
|
+
placeholder: "Doe",
|
|
14364
|
+
error: meta.touched && !!meta.error,
|
|
14365
|
+
"aria-label": "Last Name"
|
|
14366
|
+
}
|
|
14367
|
+
)
|
|
14368
|
+
] }) })
|
|
14369
|
+
] }),
|
|
14370
|
+
/* @__PURE__ */ jsx(Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14371
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "email", children: "Email" }),
|
|
14185
14372
|
/* @__PURE__ */ jsx(
|
|
14186
14373
|
TextInput$1,
|
|
14187
14374
|
{
|
|
14188
14375
|
...field,
|
|
14189
|
-
id: "
|
|
14190
|
-
|
|
14376
|
+
id: "email",
|
|
14377
|
+
type: "email",
|
|
14378
|
+
placeholder: "john@example.com",
|
|
14191
14379
|
error: meta.touched && !!meta.error,
|
|
14192
|
-
"aria-label": "
|
|
14380
|
+
"aria-label": "Email"
|
|
14193
14381
|
}
|
|
14194
14382
|
)
|
|
14195
14383
|
] }) }),
|
|
14196
|
-
/* @__PURE__ */ jsx(Field, { name: "
|
|
14197
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "
|
|
14384
|
+
/* @__PURE__ */ jsx(Field, { name: "phone", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14385
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "phone", children: "Phone" }),
|
|
14198
14386
|
/* @__PURE__ */ jsx(
|
|
14199
14387
|
TextInput$1,
|
|
14200
14388
|
{
|
|
14201
14389
|
...field,
|
|
14202
|
-
id: "
|
|
14203
|
-
|
|
14390
|
+
id: "phone",
|
|
14391
|
+
type: "tel",
|
|
14392
|
+
placeholder: "+1 (555) 000-0000",
|
|
14204
14393
|
error: meta.touched && !!meta.error,
|
|
14205
|
-
"aria-label": "
|
|
14394
|
+
"aria-label": "Phone"
|
|
14206
14395
|
}
|
|
14207
14396
|
)
|
|
14208
|
-
] }) })
|
|
14209
|
-
|
|
14210
|
-
|
|
14211
|
-
|
|
14212
|
-
|
|
14213
|
-
|
|
14214
|
-
|
|
14215
|
-
|
|
14216
|
-
|
|
14217
|
-
|
|
14218
|
-
|
|
14219
|
-
|
|
14220
|
-
|
|
14221
|
-
|
|
14222
|
-
)
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "phone", children: "Phone" }),
|
|
14226
|
-
/* @__PURE__ */ jsx(
|
|
14227
|
-
TextInput$1,
|
|
14228
|
-
{
|
|
14229
|
-
...field,
|
|
14230
|
-
id: "phone",
|
|
14231
|
-
type: "tel",
|
|
14232
|
-
placeholder: "+1 (555) 000-0000",
|
|
14233
|
-
error: meta.touched && !!meta.error,
|
|
14234
|
-
"aria-label": "Phone"
|
|
14235
|
-
}
|
|
14236
|
-
)
|
|
14237
|
-
] }) }),
|
|
14238
|
-
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14239
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
14240
|
-
/* @__PURE__ */ jsx(
|
|
14241
|
-
TextArea$1,
|
|
14397
|
+
] }) }),
|
|
14398
|
+
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14399
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
14400
|
+
/* @__PURE__ */ jsx(
|
|
14401
|
+
TextArea$1,
|
|
14402
|
+
{
|
|
14403
|
+
...field,
|
|
14404
|
+
id: "message",
|
|
14405
|
+
placeholder: "Your message...",
|
|
14406
|
+
rows: 4,
|
|
14407
|
+
error: meta.touched && !!meta.error,
|
|
14408
|
+
"aria-label": "Message"
|
|
14409
|
+
}
|
|
14410
|
+
)
|
|
14411
|
+
] }) }),
|
|
14412
|
+
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxs(
|
|
14413
|
+
Pressable,
|
|
14242
14414
|
{
|
|
14243
|
-
|
|
14244
|
-
|
|
14245
|
-
|
|
14246
|
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14415
|
+
componentType: "button",
|
|
14416
|
+
type: "submit",
|
|
14417
|
+
className: cn("w-full", submitClassName),
|
|
14418
|
+
size: "lg",
|
|
14419
|
+
asButton: true,
|
|
14420
|
+
disabled: form.isSubmitting,
|
|
14421
|
+
children: [
|
|
14422
|
+
buttonIcon,
|
|
14423
|
+
buttonText
|
|
14424
|
+
]
|
|
14249
14425
|
}
|
|
14250
14426
|
)
|
|
14251
|
-
]
|
|
14252
|
-
|
|
14253
|
-
|
|
14254
|
-
|
|
14255
|
-
|
|
14256
|
-
type: "submit",
|
|
14257
|
-
className: cn("w-full", submitClassName),
|
|
14258
|
-
size: "lg",
|
|
14259
|
-
asButton: true,
|
|
14260
|
-
disabled: form.isSubmitting,
|
|
14261
|
-
children: [
|
|
14262
|
-
buttonIcon,
|
|
14263
|
-
buttonText
|
|
14264
|
-
]
|
|
14265
|
-
}
|
|
14266
|
-
)
|
|
14267
|
-
]
|
|
14268
|
-
}
|
|
14269
|
-
) }) })
|
|
14270
|
-
] })
|
|
14427
|
+
]
|
|
14428
|
+
}
|
|
14429
|
+
)
|
|
14430
|
+
] }) })
|
|
14431
|
+
]
|
|
14271
14432
|
}
|
|
14272
14433
|
);
|
|
14434
|
+
const imageArea = imageSrc ? /* @__PURE__ */ jsx("div", { className: "relative h-64 w-full sm:h-96 lg:h-auto lg:w-1/2", children: /* @__PURE__ */ jsx(
|
|
14435
|
+
Img,
|
|
14436
|
+
{
|
|
14437
|
+
src: imageSrc,
|
|
14438
|
+
alt: imageAlt || "",
|
|
14439
|
+
className: cn("h-full w-full object-cover", imageClassName),
|
|
14440
|
+
optixFlowConfig
|
|
14441
|
+
}
|
|
14442
|
+
) }) : null;
|
|
14443
|
+
return /* @__PURE__ */ jsx("section", { className: cn("relative w-full overflow-hidden", className), children: /* @__PURE__ */ jsxs("div", { className: cn("flex min-h-screen", mobileOrder, desktopOrder), children: [
|
|
14444
|
+
contentArea,
|
|
14445
|
+
imageArea
|
|
14446
|
+
] }) });
|
|
14273
14447
|
}
|
|
14274
14448
|
function ContactPress({
|
|
14275
14449
|
heading,
|
|
@@ -14345,7 +14519,7 @@ function ContactPress({
|
|
|
14345
14519
|
}
|
|
14346
14520
|
});
|
|
14347
14521
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
14348
|
-
const actionsContent =
|
|
14522
|
+
const actionsContent = React51.useMemo(() => {
|
|
14349
14523
|
if (actionsSlot) return actionsSlot;
|
|
14350
14524
|
if (actions && actions.length > 0) {
|
|
14351
14525
|
return actions.map((action, index) => {
|
|
@@ -14546,7 +14720,7 @@ function ContactQuote({
|
|
|
14546
14720
|
}
|
|
14547
14721
|
});
|
|
14548
14722
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
14549
|
-
const actionsContent =
|
|
14723
|
+
const actionsContent = React51.useMemo(() => {
|
|
14550
14724
|
if (actionsSlot) return actionsSlot;
|
|
14551
14725
|
if (actions && actions.length > 0) {
|
|
14552
14726
|
return actions.map((action, index) => {
|
|
@@ -14747,7 +14921,7 @@ function ContactReferral({
|
|
|
14747
14921
|
}
|
|
14748
14922
|
});
|
|
14749
14923
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
14750
|
-
const actionsContent =
|
|
14924
|
+
const actionsContent = React51.useMemo(() => {
|
|
14751
14925
|
if (actionsSlot) return actionsSlot;
|
|
14752
14926
|
if (actions && actions.length > 0) {
|
|
14753
14927
|
return actions.map((action, index) => {
|
|
@@ -14948,7 +15122,7 @@ function ContactReport({
|
|
|
14948
15122
|
}
|
|
14949
15123
|
});
|
|
14950
15124
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
14951
|
-
const actionsContent =
|
|
15125
|
+
const actionsContent = React51.useMemo(() => {
|
|
14952
15126
|
if (actionsSlot) return actionsSlot;
|
|
14953
15127
|
if (actions && actions.length > 0) {
|
|
14954
15128
|
return actions.map((action, index) => {
|
|
@@ -15149,7 +15323,7 @@ function ContactReservation({
|
|
|
15149
15323
|
}
|
|
15150
15324
|
});
|
|
15151
15325
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
15152
|
-
const actionsContent =
|
|
15326
|
+
const actionsContent = React51.useMemo(() => {
|
|
15153
15327
|
if (actionsSlot) return actionsSlot;
|
|
15154
15328
|
if (actions && actions.length > 0) {
|
|
15155
15329
|
return actions.map((action, index) => {
|
|
@@ -15350,7 +15524,7 @@ function ContactRetreat({
|
|
|
15350
15524
|
}
|
|
15351
15525
|
});
|
|
15352
15526
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
15353
|
-
const actionsContent =
|
|
15527
|
+
const actionsContent = React51.useMemo(() => {
|
|
15354
15528
|
if (actionsSlot) return actionsSlot;
|
|
15355
15529
|
if (actions && actions.length > 0) {
|
|
15356
15530
|
return actions.map((action, index) => {
|
|
@@ -15551,7 +15725,7 @@ function ContactRsvp({
|
|
|
15551
15725
|
}
|
|
15552
15726
|
});
|
|
15553
15727
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
15554
|
-
const actionsContent =
|
|
15728
|
+
const actionsContent = React51.useMemo(() => {
|
|
15555
15729
|
if (actionsSlot) return actionsSlot;
|
|
15556
15730
|
if (actions && actions.length > 0) {
|
|
15557
15731
|
return actions.map((action, index) => {
|
|
@@ -15752,7 +15926,7 @@ function ContactSales({
|
|
|
15752
15926
|
}
|
|
15753
15927
|
});
|
|
15754
15928
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
15755
|
-
const actionsContent =
|
|
15929
|
+
const actionsContent = React51.useMemo(() => {
|
|
15756
15930
|
if (actionsSlot) return actionsSlot;
|
|
15757
15931
|
if (actions && actions.length > 0) {
|
|
15758
15932
|
return actions.map((action, index) => {
|
|
@@ -15962,7 +16136,7 @@ function ContactSchedule({
|
|
|
15962
16136
|
}
|
|
15963
16137
|
});
|
|
15964
16138
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
15965
|
-
const actionsContent =
|
|
16139
|
+
const actionsContent = React51.useMemo(() => {
|
|
15966
16140
|
if (actionsSlot) return actionsSlot;
|
|
15967
16141
|
if (actions && actions.length > 0) {
|
|
15968
16142
|
return actions.map((action, index) => {
|
|
@@ -16163,7 +16337,7 @@ function ContactSponsorship({
|
|
|
16163
16337
|
}
|
|
16164
16338
|
});
|
|
16165
16339
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
16166
|
-
const actionsContent =
|
|
16340
|
+
const actionsContent = React51.useMemo(() => {
|
|
16167
16341
|
if (actionsSlot) return actionsSlot;
|
|
16168
16342
|
if (actions && actions.length > 0) {
|
|
16169
16343
|
return actions.map((action, index) => {
|
|
@@ -16360,7 +16534,7 @@ function ContactSupport({
|
|
|
16360
16534
|
}
|
|
16361
16535
|
});
|
|
16362
16536
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
16363
|
-
const actionsContent =
|
|
16537
|
+
const actionsContent = React51.useMemo(() => {
|
|
16364
16538
|
if (actionsSlot) return actionsSlot;
|
|
16365
16539
|
if (actions && actions.length > 0) {
|
|
16366
16540
|
return actions.map((action, index) => {
|
|
@@ -16532,7 +16706,7 @@ function ContactTenant({
|
|
|
16532
16706
|
}
|
|
16533
16707
|
});
|
|
16534
16708
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
16535
|
-
const actionsContent =
|
|
16709
|
+
const actionsContent = React51.useMemo(() => {
|
|
16536
16710
|
if (actionsSlot) return actionsSlot;
|
|
16537
16711
|
if (actions && actions.length > 0) {
|
|
16538
16712
|
return actions.map((action, index) => {
|
|
@@ -16733,7 +16907,7 @@ function ContactVendor({
|
|
|
16733
16907
|
}
|
|
16734
16908
|
});
|
|
16735
16909
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
16736
|
-
const actionsContent =
|
|
16910
|
+
const actionsContent = React51.useMemo(() => {
|
|
16737
16911
|
if (actionsSlot) return actionsSlot;
|
|
16738
16912
|
if (actions && actions.length > 0) {
|
|
16739
16913
|
return actions.map((action, index) => {
|
|
@@ -16934,7 +17108,7 @@ function ContactVolunteer({
|
|
|
16934
17108
|
}
|
|
16935
17109
|
});
|
|
16936
17110
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
16937
|
-
const actionsContent =
|
|
17111
|
+
const actionsContent = React51.useMemo(() => {
|
|
16938
17112
|
if (actionsSlot) return actionsSlot;
|
|
16939
17113
|
if (actions && actions.length > 0) {
|
|
16940
17114
|
return actions.map((action, index) => {
|
|
@@ -17135,7 +17309,7 @@ function ContactWarranty({
|
|
|
17135
17309
|
}
|
|
17136
17310
|
});
|
|
17137
17311
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
17138
|
-
const actionsContent =
|
|
17312
|
+
const actionsContent = React51.useMemo(() => {
|
|
17139
17313
|
if (actionsSlot) return actionsSlot;
|
|
17140
17314
|
if (actions && actions.length > 0) {
|
|
17141
17315
|
return actions.map((action, index) => {
|
|
@@ -17336,7 +17510,7 @@ function ContactWedding({
|
|
|
17336
17510
|
}
|
|
17337
17511
|
});
|
|
17338
17512
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
17339
|
-
const actionsContent =
|
|
17513
|
+
const actionsContent = React51.useMemo(() => {
|
|
17340
17514
|
if (actionsSlot) return actionsSlot;
|
|
17341
17515
|
if (actions && actions.length > 0) {
|
|
17342
17516
|
return actions.map((action, index) => {
|
|
@@ -17603,16 +17777,16 @@ function CarouselAnimatedSections({
|
|
|
17603
17777
|
pattern = "diagonalCrossBasic",
|
|
17604
17778
|
patternOpacity = 0.033
|
|
17605
17779
|
}) {
|
|
17606
|
-
const [currentIndex, setCurrentIndex] =
|
|
17607
|
-
const [direction, setDirection] =
|
|
17608
|
-
const [isAnimating, setIsAnimating] =
|
|
17609
|
-
const goToNext =
|
|
17780
|
+
const [currentIndex, setCurrentIndex] = React51.useState(0);
|
|
17781
|
+
const [direction, setDirection] = React51.useState(0);
|
|
17782
|
+
const [isAnimating, setIsAnimating] = React51.useState(false);
|
|
17783
|
+
const goToNext = React51.useCallback(() => {
|
|
17610
17784
|
if (isAnimating || currentIndex >= (sections?.length ?? 0) - 1) return;
|
|
17611
17785
|
setIsAnimating(true);
|
|
17612
17786
|
setDirection(1);
|
|
17613
17787
|
setCurrentIndex((prev) => prev + 1);
|
|
17614
17788
|
}, [currentIndex, isAnimating, sections?.length]);
|
|
17615
|
-
const goToPrev =
|
|
17789
|
+
const goToPrev = React51.useCallback(() => {
|
|
17616
17790
|
if (isAnimating || currentIndex <= 0) return;
|
|
17617
17791
|
setIsAnimating(true);
|
|
17618
17792
|
setDirection(-1);
|
|
@@ -17624,7 +17798,7 @@ function CarouselAnimatedSections({
|
|
|
17624
17798
|
setDirection(index > currentIndex ? 1 : -1);
|
|
17625
17799
|
setCurrentIndex(index);
|
|
17626
17800
|
};
|
|
17627
|
-
|
|
17801
|
+
React51.useEffect(() => {
|
|
17628
17802
|
const handleKeyDown = (e) => {
|
|
17629
17803
|
if (e.key === "ArrowDown" || e.key === "ArrowRight") {
|
|
17630
17804
|
goToNext();
|
|
@@ -17650,7 +17824,7 @@ function CarouselAnimatedSections({
|
|
|
17650
17824
|
})
|
|
17651
17825
|
};
|
|
17652
17826
|
const currentSection = sections?.[currentIndex];
|
|
17653
|
-
const actionElements =
|
|
17827
|
+
const actionElements = React51.useMemo(() => {
|
|
17654
17828
|
if (actionsSlot) return actionsSlot;
|
|
17655
17829
|
if (actions && actions.length > 0) {
|
|
17656
17830
|
return actions.map((action, index) => /* @__PURE__ */ jsxs(
|
|
@@ -17898,11 +18072,11 @@ function CarouselAutoProgressSlides({
|
|
|
17898
18072
|
pattern,
|
|
17899
18073
|
patternOpacity
|
|
17900
18074
|
}) {
|
|
17901
|
-
const [currentIndex, setCurrentIndex] =
|
|
18075
|
+
const [currentIndex, setCurrentIndex] = React51.useState(0);
|
|
17902
18076
|
const progress = useMotionValue(100);
|
|
17903
|
-
const [direction, setDirection] =
|
|
18077
|
+
const [direction, setDirection] = React51.useState(1);
|
|
17904
18078
|
const clipPath = useMotionTemplate`inset(0 ${progress}% 0 0 round 10px)`;
|
|
17905
|
-
|
|
18079
|
+
React51.useEffect(() => {
|
|
17906
18080
|
const interval = setInterval(() => {
|
|
17907
18081
|
const currentProgress = progress.get();
|
|
17908
18082
|
if (currentProgress > 0) {
|
|
@@ -18081,22 +18255,22 @@ function CarouselAutoProgressSlides({
|
|
|
18081
18255
|
);
|
|
18082
18256
|
}
|
|
18083
18257
|
function useDotButton(emblaApi) {
|
|
18084
|
-
const [selectedIndex, setSelectedIndex] =
|
|
18085
|
-
const [scrollSnaps, setScrollSnaps] =
|
|
18086
|
-
const onDotButtonClick =
|
|
18258
|
+
const [selectedIndex, setSelectedIndex] = React51.useState(0);
|
|
18259
|
+
const [scrollSnaps, setScrollSnaps] = React51.useState([]);
|
|
18260
|
+
const onDotButtonClick = React51.useCallback(
|
|
18087
18261
|
(index) => {
|
|
18088
18262
|
if (!emblaApi) return;
|
|
18089
18263
|
emblaApi.scrollTo(index);
|
|
18090
18264
|
},
|
|
18091
18265
|
[emblaApi]
|
|
18092
18266
|
);
|
|
18093
|
-
const onInit =
|
|
18267
|
+
const onInit = React51.useCallback((api) => {
|
|
18094
18268
|
setScrollSnaps(api.scrollSnapList());
|
|
18095
18269
|
}, []);
|
|
18096
|
-
const onSelect =
|
|
18270
|
+
const onSelect = React51.useCallback((api) => {
|
|
18097
18271
|
setSelectedIndex(api.selectedScrollSnap());
|
|
18098
18272
|
}, []);
|
|
18099
|
-
|
|
18273
|
+
React51.useEffect(() => {
|
|
18100
18274
|
if (!emblaApi) return;
|
|
18101
18275
|
onInit(emblaApi);
|
|
18102
18276
|
onSelect(emblaApi);
|
|
@@ -18105,8 +18279,8 @@ function useDotButton(emblaApi) {
|
|
|
18105
18279
|
return { selectedIndex, scrollSnaps, onDotButtonClick };
|
|
18106
18280
|
}
|
|
18107
18281
|
function useAutoplay(emblaApi) {
|
|
18108
|
-
const [autoplayIsPlaying, setAutoplayIsPlaying] =
|
|
18109
|
-
const onAutoplayButtonClick =
|
|
18282
|
+
const [autoplayIsPlaying, setAutoplayIsPlaying] = React51.useState(false);
|
|
18283
|
+
const onAutoplayButtonClick = React51.useCallback(
|
|
18110
18284
|
(callback) => {
|
|
18111
18285
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
18112
18286
|
if (!autoplay) return;
|
|
@@ -18116,13 +18290,13 @@ function useAutoplay(emblaApi) {
|
|
|
18116
18290
|
},
|
|
18117
18291
|
[emblaApi]
|
|
18118
18292
|
);
|
|
18119
|
-
const toggleAutoplay =
|
|
18293
|
+
const toggleAutoplay = React51.useCallback(() => {
|
|
18120
18294
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
18121
18295
|
if (!autoplay) return;
|
|
18122
18296
|
const playOrStop = autoplay.isPlaying() ? autoplay.stop : autoplay.play;
|
|
18123
18297
|
playOrStop();
|
|
18124
18298
|
}, [emblaApi]);
|
|
18125
|
-
|
|
18299
|
+
React51.useEffect(() => {
|
|
18126
18300
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
18127
18301
|
if (!autoplay) return;
|
|
18128
18302
|
setAutoplayIsPlaying(autoplay.isPlaying());
|
|
@@ -18131,11 +18305,11 @@ function useAutoplay(emblaApi) {
|
|
|
18131
18305
|
return { autoplayIsPlaying, toggleAutoplay, onAutoplayButtonClick };
|
|
18132
18306
|
}
|
|
18133
18307
|
function useAutoplayProgress(emblaApi, progressNode) {
|
|
18134
|
-
const [showAutoplayProgress, setShowAutoplayProgress] =
|
|
18135
|
-
const animationName =
|
|
18136
|
-
const timeoutId =
|
|
18137
|
-
const rafId =
|
|
18138
|
-
const startProgress =
|
|
18308
|
+
const [showAutoplayProgress, setShowAutoplayProgress] = React51.useState(false);
|
|
18309
|
+
const animationName = React51.useRef("");
|
|
18310
|
+
const timeoutId = React51.useRef(0);
|
|
18311
|
+
const rafId = React51.useRef(0);
|
|
18312
|
+
const startProgress = React51.useCallback(
|
|
18139
18313
|
(timeUntilNext) => {
|
|
18140
18314
|
const node = progressNode.current;
|
|
18141
18315
|
if (!node || timeUntilNext === null) return;
|
|
@@ -18155,12 +18329,12 @@ function useAutoplayProgress(emblaApi, progressNode) {
|
|
|
18155
18329
|
},
|
|
18156
18330
|
[progressNode]
|
|
18157
18331
|
);
|
|
18158
|
-
|
|
18332
|
+
React51.useEffect(() => {
|
|
18159
18333
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
18160
18334
|
if (!autoplay) return;
|
|
18161
18335
|
emblaApi.on("autoplay:timerset", () => startProgress(autoplay.timeUntilNext())).on("autoplay:timerstopped", () => setShowAutoplayProgress(false));
|
|
18162
18336
|
}, [emblaApi, startProgress]);
|
|
18163
|
-
|
|
18337
|
+
React51.useEffect(() => {
|
|
18164
18338
|
return () => {
|
|
18165
18339
|
cancelAnimationFrame(rafId.current);
|
|
18166
18340
|
clearTimeout(timeoutId.current);
|
|
@@ -18187,7 +18361,7 @@ function CarouselAutoplayProgress({
|
|
|
18187
18361
|
pattern,
|
|
18188
18362
|
patternOpacity
|
|
18189
18363
|
}) {
|
|
18190
|
-
const progressNode =
|
|
18364
|
+
const progressNode = React51.useRef(null);
|
|
18191
18365
|
const [emblaRef, emblaApi] = useEmblaCarousel(options, [
|
|
18192
18366
|
Autoplay({ playOnInit: true, delay: autoplayDelay })
|
|
18193
18367
|
]);
|
|
@@ -18368,20 +18542,20 @@ function CarouselFeatureBadge({
|
|
|
18368
18542
|
containerMaxWidth = "2xl"
|
|
18369
18543
|
}) {
|
|
18370
18544
|
const [emblaRef, emblaApi] = useEmblaCarousel();
|
|
18371
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
18372
|
-
const [canScrollNext, setCanScrollNext] =
|
|
18373
|
-
const scrollPrev =
|
|
18545
|
+
const [canScrollPrev, setCanScrollPrev] = React51.useState(false);
|
|
18546
|
+
const [canScrollNext, setCanScrollNext] = React51.useState(false);
|
|
18547
|
+
const scrollPrev = React51.useCallback(() => {
|
|
18374
18548
|
emblaApi?.scrollPrev();
|
|
18375
18549
|
}, [emblaApi]);
|
|
18376
|
-
const scrollNext =
|
|
18550
|
+
const scrollNext = React51.useCallback(() => {
|
|
18377
18551
|
emblaApi?.scrollNext();
|
|
18378
18552
|
}, [emblaApi]);
|
|
18379
|
-
const onSelect =
|
|
18553
|
+
const onSelect = React51.useCallback(() => {
|
|
18380
18554
|
if (!emblaApi) return;
|
|
18381
18555
|
setCanScrollPrev(emblaApi.canScrollPrev());
|
|
18382
18556
|
setCanScrollNext(emblaApi.canScrollNext());
|
|
18383
18557
|
}, [emblaApi]);
|
|
18384
|
-
|
|
18558
|
+
React51.useEffect(() => {
|
|
18385
18559
|
if (!emblaApi) return;
|
|
18386
18560
|
onSelect();
|
|
18387
18561
|
emblaApi.on("reInit", onSelect);
|
|
@@ -18501,10 +18675,10 @@ function CarouselFullscreenScrollFx({
|
|
|
18501
18675
|
pattern = "diagonalCrossBasic",
|
|
18502
18676
|
patternOpacity = 0.033
|
|
18503
18677
|
}) {
|
|
18504
|
-
const containerRef =
|
|
18505
|
-
const scrollContainerRef =
|
|
18506
|
-
const [activeIndex, setActiveIndex] =
|
|
18507
|
-
|
|
18678
|
+
const containerRef = React51.useRef(null);
|
|
18679
|
+
const scrollContainerRef = React51.useRef(null);
|
|
18680
|
+
const [activeIndex, setActiveIndex] = React51.useState(0);
|
|
18681
|
+
React51.useEffect(() => {
|
|
18508
18682
|
const scrollContainer = scrollContainerRef.current;
|
|
18509
18683
|
if (!scrollContainer || !slides?.length) return;
|
|
18510
18684
|
const handleScroll = () => {
|
|
@@ -18516,7 +18690,7 @@ function CarouselFullscreenScrollFx({
|
|
|
18516
18690
|
scrollContainer.addEventListener("scroll", handleScroll);
|
|
18517
18691
|
return () => scrollContainer.removeEventListener("scroll", handleScroll);
|
|
18518
18692
|
}, [slides]);
|
|
18519
|
-
const scrollToSlide =
|
|
18693
|
+
const scrollToSlide = React51.useCallback((index) => {
|
|
18520
18694
|
const scrollContainer = scrollContainerRef.current;
|
|
18521
18695
|
if (!scrollContainer) return;
|
|
18522
18696
|
const slideHeight = scrollContainer.clientHeight;
|
|
@@ -18599,7 +18773,7 @@ function CarouselFullscreenScrollFx({
|
|
|
18599
18773
|
className: "flex h-screen flex-col snap-y snap-mandatory overflow-x-hidden overflow-y-auto scroll-smooth",
|
|
18600
18774
|
style: { scrollbarWidth: "none", msOverflowStyle: "none" },
|
|
18601
18775
|
children: slidesSlot ? slidesSlot : slides?.map((slide, index) => {
|
|
18602
|
-
const renderActions =
|
|
18776
|
+
const renderActions = React51.useMemo(() => {
|
|
18603
18777
|
if (!slide.actions || slide.actions.length === 0) return null;
|
|
18604
18778
|
return slide.actions.map((action, actionIndex) => {
|
|
18605
18779
|
const {
|
|
@@ -18732,25 +18906,25 @@ function CarouselGalleryThumbnails({
|
|
|
18732
18906
|
patternOpacity,
|
|
18733
18907
|
slideMediaBrightness = "100"
|
|
18734
18908
|
}) {
|
|
18735
|
-
const [currentIndex, setCurrentIndex] =
|
|
18736
|
-
const prevSlide =
|
|
18909
|
+
const [currentIndex, setCurrentIndex] = React51.useState(0);
|
|
18910
|
+
const prevSlide = React51.useCallback(() => {
|
|
18737
18911
|
setCurrentIndex(
|
|
18738
18912
|
(prev) => prev === 0 ? (images?.length ?? 0) - 1 : prev - 1
|
|
18739
18913
|
);
|
|
18740
18914
|
}, [images?.length]);
|
|
18741
|
-
const nextSlide =
|
|
18915
|
+
const nextSlide = React51.useCallback(() => {
|
|
18742
18916
|
setCurrentIndex(
|
|
18743
18917
|
(prev) => prev === (images?.length ?? 0) - 1 ? 0 : prev + 1
|
|
18744
18918
|
);
|
|
18745
18919
|
}, [images?.length]);
|
|
18746
|
-
|
|
18920
|
+
React51.useEffect(() => {
|
|
18747
18921
|
if (!autoPlay) return;
|
|
18748
18922
|
const interval = setInterval(() => {
|
|
18749
18923
|
nextSlide();
|
|
18750
18924
|
}, autoPlayInterval);
|
|
18751
18925
|
return () => clearInterval(interval);
|
|
18752
18926
|
}, [currentIndex, autoPlay, autoPlayInterval, nextSlide]);
|
|
18753
|
-
|
|
18927
|
+
React51.useEffect(() => {
|
|
18754
18928
|
const handleKeyDown = (e) => {
|
|
18755
18929
|
if (e.key === "ArrowRight") {
|
|
18756
18930
|
nextSlide();
|
|
@@ -18895,9 +19069,9 @@ function CarouselHorizontalCards({
|
|
|
18895
19069
|
pattern,
|
|
18896
19070
|
patternOpacity
|
|
18897
19071
|
}) {
|
|
18898
|
-
const carouselRef =
|
|
18899
|
-
const [isAtStart, setIsAtStart] =
|
|
18900
|
-
const [isAtEnd, setIsAtEnd] =
|
|
19072
|
+
const carouselRef = React51.useRef(null);
|
|
19073
|
+
const [isAtStart, setIsAtStart] = React51.useState(true);
|
|
19074
|
+
const [isAtEnd, setIsAtEnd] = React51.useState(false);
|
|
18901
19075
|
const scrollLeft = () => {
|
|
18902
19076
|
if (carouselRef.current) {
|
|
18903
19077
|
carouselRef.current.scrollBy({ left: -300, behavior: "smooth" });
|
|
@@ -18908,7 +19082,7 @@ function CarouselHorizontalCards({
|
|
|
18908
19082
|
carouselRef.current.scrollBy({ left: 300, behavior: "smooth" });
|
|
18909
19083
|
}
|
|
18910
19084
|
};
|
|
18911
|
-
|
|
19085
|
+
React51.useEffect(() => {
|
|
18912
19086
|
const checkScrollPosition = () => {
|
|
18913
19087
|
if (carouselRef.current) {
|
|
18914
19088
|
const { scrollLeft: scrollLeft2, scrollWidth, clientWidth } = carouselRef.current;
|
|
@@ -19108,22 +19282,22 @@ function CarouselImageHero({
|
|
|
19108
19282
|
pattern,
|
|
19109
19283
|
patternOpacity
|
|
19110
19284
|
}) {
|
|
19111
|
-
const [currentImageIndex, setCurrentImageIndex] =
|
|
19112
|
-
const intervalRef =
|
|
19113
|
-
const goToNext =
|
|
19285
|
+
const [currentImageIndex, setCurrentImageIndex] = React51.useState(0);
|
|
19286
|
+
const intervalRef = React51.useRef(null);
|
|
19287
|
+
const goToNext = React51.useCallback(() => {
|
|
19114
19288
|
setCurrentImageIndex((prevIndex) => (prevIndex + 1) % (images?.length ?? 1));
|
|
19115
19289
|
}, [images?.length]);
|
|
19116
|
-
const resetInterval =
|
|
19290
|
+
const resetInterval = React51.useCallback(() => {
|
|
19117
19291
|
if (intervalRef.current) {
|
|
19118
19292
|
clearInterval(intervalRef.current);
|
|
19119
19293
|
}
|
|
19120
19294
|
intervalRef.current = setInterval(goToNext, autoPlayInterval);
|
|
19121
19295
|
}, [goToNext, autoPlayInterval]);
|
|
19122
|
-
const goToSlide =
|
|
19296
|
+
const goToSlide = React51.useCallback((index) => {
|
|
19123
19297
|
setCurrentImageIndex(index);
|
|
19124
19298
|
resetInterval();
|
|
19125
19299
|
}, [resetInterval]);
|
|
19126
|
-
|
|
19300
|
+
React51.useEffect(() => {
|
|
19127
19301
|
resetInterval();
|
|
19128
19302
|
return () => {
|
|
19129
19303
|
if (intervalRef.current) {
|
|
@@ -19296,8 +19470,8 @@ function CarouselMultiStepShowcase({
|
|
|
19296
19470
|
pattern,
|
|
19297
19471
|
patternOpacity
|
|
19298
19472
|
}) {
|
|
19299
|
-
const [activeStep, setActiveStep] =
|
|
19300
|
-
const [direction, setDirection] =
|
|
19473
|
+
const [activeStep, setActiveStep] = React51.useState(0);
|
|
19474
|
+
const [direction, setDirection] = React51.useState(0);
|
|
19301
19475
|
const goToStep = (index) => {
|
|
19302
19476
|
setDirection(index > activeStep ? 1 : -1);
|
|
19303
19477
|
setActiveStep(index);
|
|
@@ -19589,9 +19763,9 @@ function CarouselPortfolioHero({
|
|
|
19589
19763
|
patternOpacity,
|
|
19590
19764
|
slideMediaBrightness = "50"
|
|
19591
19765
|
}) {
|
|
19592
|
-
const [currentIndex, setCurrentIndex] =
|
|
19593
|
-
const intervalRef =
|
|
19594
|
-
const resetInterval =
|
|
19766
|
+
const [currentIndex, setCurrentIndex] = React51.useState(0);
|
|
19767
|
+
const intervalRef = React51.useRef(null);
|
|
19768
|
+
const resetInterval = React51.useCallback(() => {
|
|
19595
19769
|
if (intervalRef.current) {
|
|
19596
19770
|
clearInterval(intervalRef.current);
|
|
19597
19771
|
}
|
|
@@ -19599,17 +19773,17 @@ function CarouselPortfolioHero({
|
|
|
19599
19773
|
setCurrentIndex((prevIndex) => (prevIndex + 1) % (slides?.length ?? 1));
|
|
19600
19774
|
}, autoPlayInterval);
|
|
19601
19775
|
}, [autoPlayInterval, slides?.length]);
|
|
19602
|
-
const goToNext =
|
|
19776
|
+
const goToNext = React51.useCallback(() => {
|
|
19603
19777
|
setCurrentIndex((prevIndex) => (prevIndex + 1) % (slides?.length ?? 1));
|
|
19604
19778
|
resetInterval();
|
|
19605
19779
|
}, [slides?.length, resetInterval]);
|
|
19606
|
-
const goToPrev =
|
|
19780
|
+
const goToPrev = React51.useCallback(() => {
|
|
19607
19781
|
setCurrentIndex(
|
|
19608
19782
|
(prevIndex) => (prevIndex - 1 + (slides?.length ?? 1)) % (slides?.length ?? 1)
|
|
19609
19783
|
);
|
|
19610
19784
|
resetInterval();
|
|
19611
19785
|
}, [slides?.length, resetInterval]);
|
|
19612
|
-
|
|
19786
|
+
React51.useEffect(() => {
|
|
19613
19787
|
resetInterval();
|
|
19614
19788
|
return () => {
|
|
19615
19789
|
if (intervalRef.current) {
|
|
@@ -19801,9 +19975,9 @@ function CarouselProductFeatureShowcase({
|
|
|
19801
19975
|
pattern,
|
|
19802
19976
|
patternOpacity
|
|
19803
19977
|
}) {
|
|
19804
|
-
const [activeIndex, setActiveIndex] =
|
|
19805
|
-
const [activeColorIndex, setActiveColorIndex] =
|
|
19806
|
-
const [direction, setDirection] =
|
|
19978
|
+
const [activeIndex, setActiveIndex] = React51.useState(0);
|
|
19979
|
+
const [activeColorIndex, setActiveColorIndex] = React51.useState(0);
|
|
19980
|
+
const [direction, setDirection] = React51.useState(0);
|
|
19807
19981
|
const activeFeature = features?.[activeIndex];
|
|
19808
19982
|
const goToNext = () => {
|
|
19809
19983
|
setDirection(1);
|
|
@@ -20023,9 +20197,9 @@ function CarouselProductFeatureShowcase({
|
|
|
20023
20197
|
}
|
|
20024
20198
|
);
|
|
20025
20199
|
}
|
|
20026
|
-
var ProgressSliderContext =
|
|
20200
|
+
var ProgressSliderContext = React51.createContext(void 0);
|
|
20027
20201
|
function useProgressSliderContext() {
|
|
20028
|
-
const context =
|
|
20202
|
+
const context = React51.useContext(ProgressSliderContext);
|
|
20029
20203
|
if (!context) {
|
|
20030
20204
|
throw new Error(
|
|
20031
20205
|
"useProgressSliderContext must be used within a ProgressSlider"
|
|
@@ -20111,19 +20285,19 @@ function CarouselProgressSlider({
|
|
|
20111
20285
|
pattern,
|
|
20112
20286
|
patternOpacity
|
|
20113
20287
|
}) {
|
|
20114
|
-
const [active, setActive] =
|
|
20115
|
-
const [progress, setProgress] =
|
|
20116
|
-
const [isFastForward, setIsFastForward] =
|
|
20117
|
-
const [isPaused, setIsPaused] =
|
|
20118
|
-
const frame =
|
|
20119
|
-
const firstFrameTime =
|
|
20120
|
-
const targetValue =
|
|
20121
|
-
const pausedProgress =
|
|
20122
|
-
const sliderValues =
|
|
20288
|
+
const [active, setActive] = React51.useState(slides?.[0]?.id ?? "");
|
|
20289
|
+
const [progress, setProgress] = React51.useState(0);
|
|
20290
|
+
const [isFastForward, setIsFastForward] = React51.useState(false);
|
|
20291
|
+
const [isPaused, setIsPaused] = React51.useState(false);
|
|
20292
|
+
const frame = React51.useRef(0);
|
|
20293
|
+
const firstFrameTime = React51.useRef(performance.now());
|
|
20294
|
+
const targetValue = React51.useRef(null);
|
|
20295
|
+
const pausedProgress = React51.useRef(0);
|
|
20296
|
+
const sliderValues = React51.useMemo(
|
|
20123
20297
|
() => slides?.map((slide) => slide.id),
|
|
20124
20298
|
[slides]
|
|
20125
20299
|
);
|
|
20126
|
-
|
|
20300
|
+
React51.useEffect(() => {
|
|
20127
20301
|
if ((sliderValues?.length ?? 0) > 0 && !isPaused) {
|
|
20128
20302
|
firstFrameTime.current = performance.now();
|
|
20129
20303
|
if (pausedProgress.current > 0) {
|
|
@@ -20288,11 +20462,11 @@ function CarouselScrollingFeatureShowcase({
|
|
|
20288
20462
|
pattern,
|
|
20289
20463
|
patternOpacity
|
|
20290
20464
|
}) {
|
|
20291
|
-
const [activeFeature, setActiveFeature] =
|
|
20465
|
+
const [activeFeature, setActiveFeature] = React51.useState(
|
|
20292
20466
|
features?.[0]?.id ?? ""
|
|
20293
20467
|
);
|
|
20294
|
-
const featureRefs =
|
|
20295
|
-
|
|
20468
|
+
const featureRefs = React51.useRef(/* @__PURE__ */ new Map());
|
|
20469
|
+
React51.useEffect(() => {
|
|
20296
20470
|
if (!features || features.length === 0) return;
|
|
20297
20471
|
const observerOptions = {
|
|
20298
20472
|
root: null,
|
|
@@ -20958,10 +21132,10 @@ var ImageSlider = ({
|
|
|
20958
21132
|
optixFlowConfig
|
|
20959
21133
|
}) => {
|
|
20960
21134
|
const hasImages = images.length > 0;
|
|
20961
|
-
const [currentIndex, setCurrentIndex] =
|
|
21135
|
+
const [currentIndex, setCurrentIndex] = React51.useState(
|
|
20962
21136
|
() => normalizeIndex(startIndex, images.length)
|
|
20963
21137
|
);
|
|
20964
|
-
const handleNext =
|
|
21138
|
+
const handleNext = React51.useCallback(() => {
|
|
20965
21139
|
if (!hasImages) return;
|
|
20966
21140
|
setCurrentIndex((prevIndex) => {
|
|
20967
21141
|
const nextIndex = prevIndex + 1 >= images.length ? 0 : prevIndex + 1;
|
|
@@ -20969,7 +21143,7 @@ var ImageSlider = ({
|
|
|
20969
21143
|
return nextIndex;
|
|
20970
21144
|
});
|
|
20971
21145
|
}, [hasImages, images.length, onSlideChange]);
|
|
20972
|
-
const handlePrevious =
|
|
21146
|
+
const handlePrevious = React51.useCallback(() => {
|
|
20973
21147
|
if (!hasImages) return;
|
|
20974
21148
|
setCurrentIndex((prevIndex) => {
|
|
20975
21149
|
const nextIndex = prevIndex - 1 < 0 ? images.length - 1 : prevIndex - 1;
|
|
@@ -20977,11 +21151,11 @@ var ImageSlider = ({
|
|
|
20977
21151
|
return nextIndex;
|
|
20978
21152
|
});
|
|
20979
21153
|
}, [hasImages, images.length, onSlideChange]);
|
|
20980
|
-
|
|
21154
|
+
React51.useEffect(() => {
|
|
20981
21155
|
if (!hasImages) return;
|
|
20982
21156
|
setCurrentIndex(normalizeIndex(startIndex, images.length));
|
|
20983
21157
|
}, [startIndex, images.length, hasImages]);
|
|
20984
|
-
|
|
21158
|
+
React51.useEffect(() => {
|
|
20985
21159
|
if (!enableKeyboard || !hasImages) return;
|
|
20986
21160
|
const handleKeyDown = (event) => {
|
|
20987
21161
|
if (event.key === "ArrowRight") {
|
|
@@ -20995,7 +21169,7 @@ var ImageSlider = ({
|
|
|
20995
21169
|
window.removeEventListener("keydown", handleKeyDown);
|
|
20996
21170
|
};
|
|
20997
21171
|
}, [enableKeyboard, handleNext, handlePrevious, hasImages]);
|
|
20998
|
-
|
|
21172
|
+
React51.useEffect(() => {
|
|
20999
21173
|
if (!autoplay || images.length < 2) return;
|
|
21000
21174
|
const interval = window.setInterval(handleNext, autoplayIntervalMs);
|
|
21001
21175
|
return () => window.clearInterval(interval);
|
|
@@ -21124,7 +21298,7 @@ var platformIconMap = {
|
|
|
21124
21298
|
dribbble: "cib/dribbble",
|
|
21125
21299
|
unknown: "icon-park-solid/circular-connection"
|
|
21126
21300
|
};
|
|
21127
|
-
var SocialLinkIcon =
|
|
21301
|
+
var SocialLinkIcon = React51.forwardRef(
|
|
21128
21302
|
({
|
|
21129
21303
|
platformName,
|
|
21130
21304
|
label,
|
|
@@ -21137,13 +21311,13 @@ var SocialLinkIcon = React52.forwardRef(
|
|
|
21137
21311
|
...pressableProps
|
|
21138
21312
|
}, ref) => {
|
|
21139
21313
|
const platform = usePlatformFromUrl(href);
|
|
21140
|
-
const smartPlatformName =
|
|
21314
|
+
const smartPlatformName = React51.useMemo(() => {
|
|
21141
21315
|
return platform || platformName;
|
|
21142
21316
|
}, [platform, platformName]);
|
|
21143
|
-
const iconName =
|
|
21317
|
+
const iconName = React51.useMemo(() => {
|
|
21144
21318
|
return iconNameOverride || platformIconMap[smartPlatformName];
|
|
21145
21319
|
}, [iconNameOverride, smartPlatformName]);
|
|
21146
|
-
const accessibleLabel =
|
|
21320
|
+
const accessibleLabel = React51.useMemo(() => {
|
|
21147
21321
|
return label || platformName;
|
|
21148
21322
|
}, [label, platformName]);
|
|
21149
21323
|
return /* @__PURE__ */ jsx(
|
|
@@ -21568,7 +21742,7 @@ function AboutExpandableValues({
|
|
|
21568
21742
|
pattern,
|
|
21569
21743
|
patternOpacity
|
|
21570
21744
|
}) {
|
|
21571
|
-
const [expandedValue, setExpandedValue] =
|
|
21745
|
+
const [expandedValue, setExpandedValue] = React51.useState(null);
|
|
21572
21746
|
const toggleExpand = useCallback((id) => {
|
|
21573
21747
|
setExpandedValue((prev) => prev === id ? null : id);
|
|
21574
21748
|
}, []);
|
|
@@ -21822,7 +21996,7 @@ function CommunityInitiatives({
|
|
|
21822
21996
|
pattern,
|
|
21823
21997
|
patternOpacity
|
|
21824
21998
|
}) {
|
|
21825
|
-
const [activeCategory, setActiveCategory] =
|
|
21999
|
+
const [activeCategory, setActiveCategory] = React51.useState(
|
|
21826
22000
|
categories?.[0]?.id || ""
|
|
21827
22001
|
);
|
|
21828
22002
|
const currentCategory = categories?.find((category) => category.id === activeCategory) || categories?.[0];
|
|
@@ -22095,7 +22269,7 @@ function AboutCultureTabs({
|
|
|
22095
22269
|
patternOpacity
|
|
22096
22270
|
}) {
|
|
22097
22271
|
const resolvedAspects = aspects ?? [];
|
|
22098
|
-
const [activeTab, setActiveTab] =
|
|
22272
|
+
const [activeTab, setActiveTab] = React51.useState(resolvedAspects[0]?.id || "");
|
|
22099
22273
|
const actionsContent = useMemo(() => {
|
|
22100
22274
|
if (actionsSlot) return actionsSlot;
|
|
22101
22275
|
if (!actions || actions.length === 0) return null;
|
|
@@ -22823,8 +22997,8 @@ var BrandAttribution = ({
|
|
|
22823
22997
|
}
|
|
22824
22998
|
const { prefix = "", anchorText, href, suffix = "" } = options[optionIndex];
|
|
22825
22999
|
const ContainerEl = variant;
|
|
22826
|
-
const [trackedHref, setTrackedHref] =
|
|
22827
|
-
|
|
23000
|
+
const [trackedHref, setTrackedHref] = React51.useState(href);
|
|
23001
|
+
React51.useEffect(() => {
|
|
22828
23002
|
setTrackedHref(buildTrackedHref(href));
|
|
22829
23003
|
}, [href]);
|
|
22830
23004
|
return /* @__PURE__ */ jsxs(ContainerEl, { className: containerClassName, children: [
|
|
@@ -23244,7 +23418,7 @@ function FooterSimpleCentered({
|
|
|
23244
23418
|
]);
|
|
23245
23419
|
const bottomLinksContent = useMemo(() => {
|
|
23246
23420
|
if (!bottomLinks || bottomLinks.length === 0) return null;
|
|
23247
|
-
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(
|
|
23421
|
+
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(React51.Fragment, { children: /* @__PURE__ */ jsx(
|
|
23248
23422
|
Pressable,
|
|
23249
23423
|
{
|
|
23250
23424
|
href: link.href,
|
|
@@ -25484,9 +25658,9 @@ function FeatureChecklistImage({
|
|
|
25484
25658
|
}
|
|
25485
25659
|
);
|
|
25486
25660
|
}
|
|
25487
|
-
var CarouselContext =
|
|
25661
|
+
var CarouselContext = React51.createContext(null);
|
|
25488
25662
|
function useCarousel() {
|
|
25489
|
-
const context =
|
|
25663
|
+
const context = React51.useContext(CarouselContext);
|
|
25490
25664
|
if (!context) {
|
|
25491
25665
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
25492
25666
|
}
|
|
@@ -25508,20 +25682,20 @@ function Carousel({
|
|
|
25508
25682
|
},
|
|
25509
25683
|
plugins
|
|
25510
25684
|
);
|
|
25511
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
25512
|
-
const [canScrollNext, setCanScrollNext] =
|
|
25513
|
-
const onSelect =
|
|
25685
|
+
const [canScrollPrev, setCanScrollPrev] = React51.useState(false);
|
|
25686
|
+
const [canScrollNext, setCanScrollNext] = React51.useState(false);
|
|
25687
|
+
const onSelect = React51.useCallback((api2) => {
|
|
25514
25688
|
if (!api2) return;
|
|
25515
25689
|
setCanScrollPrev(api2.canScrollPrev());
|
|
25516
25690
|
setCanScrollNext(api2.canScrollNext());
|
|
25517
25691
|
}, []);
|
|
25518
|
-
const scrollPrev =
|
|
25692
|
+
const scrollPrev = React51.useCallback(() => {
|
|
25519
25693
|
api?.scrollPrev();
|
|
25520
25694
|
}, [api]);
|
|
25521
|
-
const scrollNext =
|
|
25695
|
+
const scrollNext = React51.useCallback(() => {
|
|
25522
25696
|
api?.scrollNext();
|
|
25523
25697
|
}, [api]);
|
|
25524
|
-
const handleKeyDown =
|
|
25698
|
+
const handleKeyDown = React51.useCallback(
|
|
25525
25699
|
(event) => {
|
|
25526
25700
|
if (event.key === "ArrowLeft") {
|
|
25527
25701
|
event.preventDefault();
|
|
@@ -25533,11 +25707,11 @@ function Carousel({
|
|
|
25533
25707
|
},
|
|
25534
25708
|
[scrollPrev, scrollNext]
|
|
25535
25709
|
);
|
|
25536
|
-
|
|
25710
|
+
React51.useEffect(() => {
|
|
25537
25711
|
if (!api || !setApi) return;
|
|
25538
25712
|
setApi(api);
|
|
25539
25713
|
}, [api, setApi]);
|
|
25540
|
-
|
|
25714
|
+
React51.useEffect(() => {
|
|
25541
25715
|
if (!api) return;
|
|
25542
25716
|
onSelect(api);
|
|
25543
25717
|
api.on("reInit", onSelect);
|
|
@@ -26461,7 +26635,7 @@ function FeatureThreeColumnValues({
|
|
|
26461
26635
|
patternOpacity,
|
|
26462
26636
|
patternClassName
|
|
26463
26637
|
}) {
|
|
26464
|
-
const renderValueIcon =
|
|
26638
|
+
const renderValueIcon = React51.useCallback(
|
|
26465
26639
|
(value) => {
|
|
26466
26640
|
if (value.icon) return value.icon;
|
|
26467
26641
|
if (value.iconName)
|
|
@@ -26963,7 +27137,7 @@ function FeatureTabbedContentImage({
|
|
|
26963
27137
|
patternOpacity,
|
|
26964
27138
|
patternClassName
|
|
26965
27139
|
}) {
|
|
26966
|
-
const renderFeatures =
|
|
27140
|
+
const renderFeatures = React51.useCallback(
|
|
26967
27141
|
(slide) => {
|
|
26968
27142
|
if (slide.featuresSlot) return slide.featuresSlot;
|
|
26969
27143
|
if (!slide.features || slide.features.length === 0) return null;
|
|
@@ -26987,7 +27161,7 @@ function FeatureTabbedContentImage({
|
|
|
26987
27161
|
},
|
|
26988
27162
|
[]
|
|
26989
27163
|
);
|
|
26990
|
-
const renderActions =
|
|
27164
|
+
const renderActions = React51.useCallback(
|
|
26991
27165
|
(slide) => {
|
|
26992
27166
|
if (slide.actionsSlot) return slide.actionsSlot;
|
|
26993
27167
|
if (!slide.actions || slide.actions.length === 0) return null;
|
|
@@ -27030,7 +27204,7 @@ function FeatureTabbedContentImage({
|
|
|
27030
27204
|
},
|
|
27031
27205
|
[]
|
|
27032
27206
|
);
|
|
27033
|
-
const renderImage =
|
|
27207
|
+
const renderImage = React51.useCallback(
|
|
27034
27208
|
(slide) => {
|
|
27035
27209
|
if (slide.imageSlot) return slide.imageSlot;
|
|
27036
27210
|
if (!slide.image) return null;
|
|
@@ -27266,7 +27440,7 @@ function FeatureUtilityCardsGrid({
|
|
|
27266
27440
|
}
|
|
27267
27441
|
);
|
|
27268
27442
|
}, [learnMoreSlot, learnMoreAction, background]);
|
|
27269
|
-
const renderUtilityImage =
|
|
27443
|
+
const renderUtilityImage = React51.useCallback(
|
|
27270
27444
|
(utility) => {
|
|
27271
27445
|
if (utility.imageSlot) return utility.imageSlot;
|
|
27272
27446
|
if (utility.image) {
|
|
@@ -27444,7 +27618,7 @@ function FeatureBentoUtilities({
|
|
|
27444
27618
|
patternOpacity,
|
|
27445
27619
|
patternClassName
|
|
27446
27620
|
}) {
|
|
27447
|
-
const renderCard =
|
|
27621
|
+
const renderCard = React51.useCallback(
|
|
27448
27622
|
(card, index) => {
|
|
27449
27623
|
const hasImage = card.imageSrc || card.imageSlot;
|
|
27450
27624
|
const cardClasses = cn(
|
|
@@ -27500,7 +27674,7 @@ function FeatureBentoUtilities({
|
|
|
27500
27674
|
},
|
|
27501
27675
|
[optixFlowConfig]
|
|
27502
27676
|
);
|
|
27503
|
-
const renderColumn =
|
|
27677
|
+
const renderColumn = React51.useCallback(
|
|
27504
27678
|
(cards, slot) => {
|
|
27505
27679
|
if (slot) return slot;
|
|
27506
27680
|
if (!cards || cards.length === 0) return null;
|
|
@@ -28746,7 +28920,7 @@ function FeatureBentoImageGrid({
|
|
|
28746
28920
|
patternOpacity,
|
|
28747
28921
|
patternClassName
|
|
28748
28922
|
}) {
|
|
28749
|
-
const renderItemIcon =
|
|
28923
|
+
const renderItemIcon = React51.useCallback(
|
|
28750
28924
|
(item) => {
|
|
28751
28925
|
if (item.icon) return item.icon;
|
|
28752
28926
|
if (item.iconName) return /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 24 });
|
|
@@ -28754,7 +28928,7 @@ function FeatureBentoImageGrid({
|
|
|
28754
28928
|
},
|
|
28755
28929
|
[]
|
|
28756
28930
|
);
|
|
28757
|
-
const renderItemImage =
|
|
28931
|
+
const renderItemImage = React51.useCallback(
|
|
28758
28932
|
(item, imageClassName) => {
|
|
28759
28933
|
if (item.imageSlot) return item.imageSlot;
|
|
28760
28934
|
if (item.imageSrc) {
|
|
@@ -28773,7 +28947,7 @@ function FeatureBentoImageGrid({
|
|
|
28773
28947
|
},
|
|
28774
28948
|
[optixFlowConfig]
|
|
28775
28949
|
);
|
|
28776
|
-
const renderLargeCard =
|
|
28950
|
+
const renderLargeCard = React51.useCallback(
|
|
28777
28951
|
(item) => {
|
|
28778
28952
|
const iconContent = renderItemIcon(item);
|
|
28779
28953
|
const hasIconBadgeContent = iconContent || item.iconBadge;
|
|
@@ -28861,7 +29035,7 @@ function FeatureBentoImageGrid({
|
|
|
28861
29035
|
},
|
|
28862
29036
|
[largeCardClassName, renderItemImage, renderItemIcon]
|
|
28863
29037
|
);
|
|
28864
|
-
const renderSmallCard =
|
|
29038
|
+
const renderSmallCard = React51.useCallback(
|
|
28865
29039
|
(item, index) => {
|
|
28866
29040
|
const iconContent = renderItemIcon(item);
|
|
28867
29041
|
const hasIconBadgeContent = iconContent || item.iconBadge;
|
|
@@ -29454,66 +29628,6 @@ function FeatureStatsHighlight({
|
|
|
29454
29628
|
}
|
|
29455
29629
|
);
|
|
29456
29630
|
}
|
|
29457
|
-
function Accordion({
|
|
29458
|
-
...props
|
|
29459
|
-
}) {
|
|
29460
|
-
return /* @__PURE__ */ jsx(AccordionPrimitive.Root, { "data-slot": "accordion", ...props });
|
|
29461
|
-
}
|
|
29462
|
-
function AccordionItem({
|
|
29463
|
-
className,
|
|
29464
|
-
...props
|
|
29465
|
-
}) {
|
|
29466
|
-
return /* @__PURE__ */ jsx(
|
|
29467
|
-
AccordionPrimitive.Item,
|
|
29468
|
-
{
|
|
29469
|
-
"data-slot": "accordion-item",
|
|
29470
|
-
className: cn("border-b ", className),
|
|
29471
|
-
...props
|
|
29472
|
-
}
|
|
29473
|
-
);
|
|
29474
|
-
}
|
|
29475
|
-
function AccordionTrigger({
|
|
29476
|
-
className,
|
|
29477
|
-
children,
|
|
29478
|
-
...props
|
|
29479
|
-
}) {
|
|
29480
|
-
return /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
|
|
29481
|
-
AccordionPrimitive.Trigger,
|
|
29482
|
-
{
|
|
29483
|
-
"data-slot": "accordion-trigger",
|
|
29484
|
-
className: cn(
|
|
29485
|
-
"focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-center justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
|
|
29486
|
-
className
|
|
29487
|
-
),
|
|
29488
|
-
...props,
|
|
29489
|
-
children: [
|
|
29490
|
-
children,
|
|
29491
|
-
/* @__PURE__ */ jsx(
|
|
29492
|
-
DynamicIcon,
|
|
29493
|
-
{
|
|
29494
|
-
name: "lucide/chevron-down",
|
|
29495
|
-
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
29496
|
-
}
|
|
29497
|
-
)
|
|
29498
|
-
]
|
|
29499
|
-
}
|
|
29500
|
-
) });
|
|
29501
|
-
}
|
|
29502
|
-
function AccordionContent({
|
|
29503
|
-
className,
|
|
29504
|
-
children,
|
|
29505
|
-
...props
|
|
29506
|
-
}) {
|
|
29507
|
-
return /* @__PURE__ */ jsx(
|
|
29508
|
-
AccordionPrimitive.Content,
|
|
29509
|
-
{
|
|
29510
|
-
"data-slot": "accordion-content",
|
|
29511
|
-
className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
|
|
29512
|
-
...props,
|
|
29513
|
-
children: /* @__PURE__ */ jsx("div", { className: cn("pt-0 pb-4", className), children })
|
|
29514
|
-
}
|
|
29515
|
-
);
|
|
29516
|
-
}
|
|
29517
29631
|
function FeatureAccordionImage({
|
|
29518
29632
|
title,
|
|
29519
29633
|
description,
|
|
@@ -29536,7 +29650,7 @@ function FeatureAccordionImage({
|
|
|
29536
29650
|
patternOpacity,
|
|
29537
29651
|
patternClassName
|
|
29538
29652
|
}) {
|
|
29539
|
-
const [activeItem, setActiveItem] =
|
|
29653
|
+
const [activeItem, setActiveItem] = React51.useState(defaultValue || "item-0");
|
|
29540
29654
|
const activeIndex = parseInt(activeItem.replace("item-", ""), 10) || 0;
|
|
29541
29655
|
const currentImage = items?.[activeIndex] || items?.[0];
|
|
29542
29656
|
const accordionItemsContent = useMemo(() => {
|
|
@@ -29685,7 +29799,7 @@ function FeatureCapabilitiesGrid({
|
|
|
29685
29799
|
patternOpacity,
|
|
29686
29800
|
patternClassName
|
|
29687
29801
|
}) {
|
|
29688
|
-
const renderItemIcon =
|
|
29802
|
+
const renderItemIcon = React51.useCallback(
|
|
29689
29803
|
(item) => {
|
|
29690
29804
|
if (item.icon) return item.icon;
|
|
29691
29805
|
if (item.iconName) return /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 20 });
|
|
@@ -29837,7 +29951,7 @@ function FeatureCapabilitiesGrid({
|
|
|
29837
29951
|
}
|
|
29838
29952
|
);
|
|
29839
29953
|
}
|
|
29840
|
-
var TeamMemberBackgroundImageCard =
|
|
29954
|
+
var TeamMemberBackgroundImageCard = React51.forwardRef(
|
|
29841
29955
|
({ className, imageUrl, imageAlt, children, optixFlowConfig, background, ...props }, ref) => {
|
|
29842
29956
|
return /* @__PURE__ */ jsxs(
|
|
29843
29957
|
"div",
|
|
@@ -29885,7 +29999,7 @@ function TeamMediaShowcase({
|
|
|
29885
29999
|
actionClassName,
|
|
29886
30000
|
optixFlowConfig
|
|
29887
30001
|
}) {
|
|
29888
|
-
const renderItems =
|
|
30002
|
+
const renderItems = React51.useMemo(() => {
|
|
29889
30003
|
if (itemsSlot) return itemsSlot;
|
|
29890
30004
|
return items.map((member, idx) => {
|
|
29891
30005
|
const imageAlt = member.imageAlt || (member.name && typeof member.name === "string" && member.name.trim() !== "" ? member.name : `member-${idx}`);
|
|
@@ -29983,7 +30097,7 @@ function TeamSimpleGrid({
|
|
|
29983
30097
|
memberNameClassName,
|
|
29984
30098
|
memberRoleClassName
|
|
29985
30099
|
}) {
|
|
29986
|
-
const renderMembers =
|
|
30100
|
+
const renderMembers = React51.useMemo(() => {
|
|
29987
30101
|
if (membersSlot) return membersSlot;
|
|
29988
30102
|
if (!members || members.length === 0) return null;
|
|
29989
30103
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -30145,7 +30259,7 @@ function FooterBrandLinksContact({
|
|
|
30145
30259
|
linkListClassName,
|
|
30146
30260
|
linkItemClassName
|
|
30147
30261
|
]);
|
|
30148
|
-
const contactItemsContent =
|
|
30262
|
+
const contactItemsContent = React51.useMemo(() => {
|
|
30149
30263
|
if (!contactItems || contactItems.length === 0) return null;
|
|
30150
30264
|
return contactItems.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
30151
30265
|
"div",
|
|
@@ -30503,7 +30617,7 @@ function TeamSocialGrid({
|
|
|
30503
30617
|
memberRoleClassName,
|
|
30504
30618
|
socialLinksClassName
|
|
30505
30619
|
}) {
|
|
30506
|
-
const renderMembers =
|
|
30620
|
+
const renderMembers = React51.useMemo(() => {
|
|
30507
30621
|
if (membersSlot) return membersSlot;
|
|
30508
30622
|
if (!members || members.length === 0) return null;
|
|
30509
30623
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -30655,7 +30769,7 @@ function TeamGradientCards({
|
|
|
30655
30769
|
memberRoleClassName,
|
|
30656
30770
|
socialLinksClassName
|
|
30657
30771
|
}) {
|
|
30658
|
-
const renderMembers =
|
|
30772
|
+
const renderMembers = React51.useMemo(() => {
|
|
30659
30773
|
if (membersSlot) return membersSlot;
|
|
30660
30774
|
if (!members || members.length === 0) return null;
|
|
30661
30775
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -30811,7 +30925,7 @@ function TeamBioBadges({
|
|
|
30811
30925
|
memberBioClassName,
|
|
30812
30926
|
socialLinksClassName
|
|
30813
30927
|
}) {
|
|
30814
|
-
const renderMembers =
|
|
30928
|
+
const renderMembers = React51.useMemo(() => {
|
|
30815
30929
|
if (membersSlot) return membersSlot;
|
|
30816
30930
|
if (!members || members.length === 0) return null;
|
|
30817
30931
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -30988,7 +31102,7 @@ function TeamExpertiseCards({
|
|
|
30988
31102
|
ctaDescriptionClassName,
|
|
30989
31103
|
ctaButtonClassName
|
|
30990
31104
|
}) {
|
|
30991
|
-
const renderMembers =
|
|
31105
|
+
const renderMembers = React51.useMemo(() => {
|
|
30992
31106
|
if (membersSlot) return membersSlot;
|
|
30993
31107
|
if (!members || members.length === 0) return null;
|
|
30994
31108
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -31065,7 +31179,7 @@ function TeamExpertiseCards({
|
|
|
31065
31179
|
member.id
|
|
31066
31180
|
));
|
|
31067
31181
|
}, [membersSlot, members, background, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, departmentBadgeClassName, memberDescriptionClassName, expertiseClassName]);
|
|
31068
|
-
const renderCta =
|
|
31182
|
+
const renderCta = React51.useMemo(() => {
|
|
31069
31183
|
if (ctaSlot) return ctaSlot;
|
|
31070
31184
|
return /* @__PURE__ */ jsxs(
|
|
31071
31185
|
"div",
|
|
@@ -31181,7 +31295,7 @@ function TeamCompactGrid({
|
|
|
31181
31295
|
ctaDescriptionClassName,
|
|
31182
31296
|
ctaButtonClassName
|
|
31183
31297
|
}) {
|
|
31184
|
-
const renderMembers =
|
|
31298
|
+
const renderMembers = React51.useMemo(() => {
|
|
31185
31299
|
if (membersSlot) return membersSlot;
|
|
31186
31300
|
if (!members || members.length === 0) return null;
|
|
31187
31301
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -31236,7 +31350,7 @@ function TeamCompactGrid({
|
|
|
31236
31350
|
member.id
|
|
31237
31351
|
));
|
|
31238
31352
|
}, [membersSlot, members, background, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, departmentBadgeClassName]);
|
|
31239
|
-
const renderCta =
|
|
31353
|
+
const renderCta = React51.useMemo(() => {
|
|
31240
31354
|
if (ctaSlot) return ctaSlot;
|
|
31241
31355
|
return /* @__PURE__ */ jsxs(
|
|
31242
31356
|
"div",
|
|
@@ -31340,7 +31454,7 @@ function TeamInvestorShowcase({
|
|
|
31340
31454
|
investorCompanyClassName,
|
|
31341
31455
|
optixFlowConfig
|
|
31342
31456
|
}) {
|
|
31343
|
-
const renderInvestors =
|
|
31457
|
+
const renderInvestors = React51.useMemo(() => {
|
|
31344
31458
|
if (investorsSlot) return investorsSlot;
|
|
31345
31459
|
if (!investors || investors.length === 0) return null;
|
|
31346
31460
|
return investors.map((investor) => /* @__PURE__ */ jsxs("div", { className: investorCardClassName, children: [
|
|
@@ -31414,7 +31528,7 @@ function TeamCarouselExperience({
|
|
|
31414
31528
|
memberRoleClassName,
|
|
31415
31529
|
optixFlowConfig
|
|
31416
31530
|
}) {
|
|
31417
|
-
const renderMembers =
|
|
31531
|
+
const renderMembers = React51.useMemo(() => {
|
|
31418
31532
|
if (membersSlot) return membersSlot;
|
|
31419
31533
|
if (!members || members.length === 0) return null;
|
|
31420
31534
|
return members.map((member, idx) => /* @__PURE__ */ jsx(CarouselItem, { className: "max-w-72", children: /* @__PURE__ */ jsxs(
|
|
@@ -31548,20 +31662,20 @@ function TeamFilterableSearch({
|
|
|
31548
31662
|
emptyStateClassName,
|
|
31549
31663
|
emptyStateMessage
|
|
31550
31664
|
}) {
|
|
31551
|
-
const [searchQuery, setSearchQuery] =
|
|
31552
|
-
const [selectedDepartment, setSelectedDepartment] =
|
|
31553
|
-
const departments =
|
|
31665
|
+
const [searchQuery, setSearchQuery] = React51.useState("");
|
|
31666
|
+
const [selectedDepartment, setSelectedDepartment] = React51.useState("All");
|
|
31667
|
+
const departments = React51.useMemo(() => {
|
|
31554
31668
|
const depts = new Set(members.map((m) => m.department));
|
|
31555
31669
|
return ["All", ...Array.from(depts)];
|
|
31556
31670
|
}, [members]);
|
|
31557
|
-
const filteredMembers =
|
|
31671
|
+
const filteredMembers = React51.useMemo(() => {
|
|
31558
31672
|
return members.filter((member) => {
|
|
31559
31673
|
const matchesSearch = searchQuery === "" || member.name.toLowerCase().includes(searchQuery.toLowerCase()) || member.role.toLowerCase().includes(searchQuery.toLowerCase()) || member.description.toLowerCase().includes(searchQuery.toLowerCase());
|
|
31560
31674
|
const matchesDepartment = selectedDepartment === "All" || member.department === selectedDepartment;
|
|
31561
31675
|
return matchesSearch && matchesDepartment;
|
|
31562
31676
|
});
|
|
31563
31677
|
}, [members, searchQuery, selectedDepartment]);
|
|
31564
|
-
const renderFilters =
|
|
31678
|
+
const renderFilters = React51.useMemo(() => {
|
|
31565
31679
|
if (filtersSlot) return filtersSlot;
|
|
31566
31680
|
return /* @__PURE__ */ jsxs(
|
|
31567
31681
|
"div",
|
|
@@ -31616,7 +31730,7 @@ function TeamFilterableSearch({
|
|
|
31616
31730
|
selectedDepartment,
|
|
31617
31731
|
filterButtonClassName
|
|
31618
31732
|
]);
|
|
31619
|
-
const renderMembers =
|
|
31733
|
+
const renderMembers = React51.useMemo(() => {
|
|
31620
31734
|
if (membersSlot) return membersSlot;
|
|
31621
31735
|
return filteredMembers.map((member) => /* @__PURE__ */ jsx(
|
|
31622
31736
|
"div",
|
|
@@ -31803,7 +31917,7 @@ function TeamCompactCta({
|
|
|
31803
31917
|
memberRoleClassName,
|
|
31804
31918
|
ctaClassName
|
|
31805
31919
|
}) {
|
|
31806
|
-
const renderMembers =
|
|
31920
|
+
const renderMembers = React51.useMemo(() => {
|
|
31807
31921
|
if (membersSlot) return membersSlot;
|
|
31808
31922
|
if (!members || members.length === 0) return null;
|
|
31809
31923
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -31831,7 +31945,7 @@ function TeamCompactCta({
|
|
|
31831
31945
|
member.id
|
|
31832
31946
|
));
|
|
31833
31947
|
}, [membersSlot, members, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, background]);
|
|
31834
|
-
const renderCta =
|
|
31948
|
+
const renderCta = React51.useMemo(() => {
|
|
31835
31949
|
if (ctaSlot) return ctaSlot;
|
|
31836
31950
|
return /* @__PURE__ */ jsx(
|
|
31837
31951
|
Pressable,
|
|
@@ -31922,7 +32036,7 @@ function TeamHoverHighlight({
|
|
|
31922
32036
|
socialLinksClassName,
|
|
31923
32037
|
optixFlowConfig
|
|
31924
32038
|
}) {
|
|
31925
|
-
const renderMembers =
|
|
32039
|
+
const renderMembers = React51.useMemo(() => {
|
|
31926
32040
|
if (membersSlot) return membersSlot;
|
|
31927
32041
|
if (!members || members.length === 0) return null;
|
|
31928
32042
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -32071,7 +32185,7 @@ function TeamSocialCards({
|
|
|
32071
32185
|
socialLinksClassName,
|
|
32072
32186
|
optixFlowConfig
|
|
32073
32187
|
}) {
|
|
32074
|
-
const renderMembers =
|
|
32188
|
+
const renderMembers = React51.useMemo(() => {
|
|
32075
32189
|
if (membersSlot) return membersSlot;
|
|
32076
32190
|
if (!members || members.length === 0) return null;
|
|
32077
32191
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -32241,7 +32355,7 @@ function TeamGridAnimated({
|
|
|
32241
32355
|
"hsl(var(--muted))",
|
|
32242
32356
|
"hsl(var(--warning)/0.2)"
|
|
32243
32357
|
];
|
|
32244
|
-
const renderMembers =
|
|
32358
|
+
const renderMembers = React51.useMemo(() => {
|
|
32245
32359
|
if (membersSlot) return membersSlot;
|
|
32246
32360
|
if (!members || members.length === 0) return null;
|
|
32247
32361
|
return members.map((member, index) => /* @__PURE__ */ jsxs(
|
|
@@ -32341,7 +32455,7 @@ function TeamGridAnimated({
|
|
|
32341
32455
|
memberDesignationClassName,
|
|
32342
32456
|
socialLinksClassName
|
|
32343
32457
|
]);
|
|
32344
|
-
const renderSocialLinksMain =
|
|
32458
|
+
const renderSocialLinksMain = React51.useMemo(() => {
|
|
32345
32459
|
if (socialLinksMainSlot) return socialLinksMainSlot;
|
|
32346
32460
|
if (!socialLinksMain || socialLinksMain.length === 0) return null;
|
|
32347
32461
|
return /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-center gap-4 py-4 md:justify-center", children: [
|
|
@@ -32458,7 +32572,7 @@ function TeamDepartmentSections({
|
|
|
32458
32572
|
memberRoleClassName,
|
|
32459
32573
|
optixFlowConfig
|
|
32460
32574
|
}) {
|
|
32461
|
-
const renderDepartments =
|
|
32575
|
+
const renderDepartments = React51.useMemo(() => {
|
|
32462
32576
|
if (departmentsSlot) return departmentsSlot;
|
|
32463
32577
|
if (!departments || departments.length === 0) return null;
|
|
32464
32578
|
return departments.map((department, deptIndex) => /* @__PURE__ */ jsxs(
|
|
@@ -32562,7 +32676,7 @@ function TeamAlternatingBios({
|
|
|
32562
32676
|
socialLinksClassName,
|
|
32563
32677
|
optixFlowConfig
|
|
32564
32678
|
}) {
|
|
32565
|
-
const renderMembers =
|
|
32679
|
+
const renderMembers = React51.useMemo(() => {
|
|
32566
32680
|
if (membersSlot) return membersSlot;
|
|
32567
32681
|
if (!members || members.length === 0) return null;
|
|
32568
32682
|
return members.map((member, index) => /* @__PURE__ */ jsxs(
|
|
@@ -32744,7 +32858,7 @@ function TeamAvatarSocial({
|
|
|
32744
32858
|
memberRoleClassName,
|
|
32745
32859
|
socialLinksClassName
|
|
32746
32860
|
}) {
|
|
32747
|
-
const renderMembers =
|
|
32861
|
+
const renderMembers = React51.useMemo(() => {
|
|
32748
32862
|
if (membersSlot) return membersSlot;
|
|
32749
32863
|
if (!members || members.length === 0) return null;
|
|
32750
32864
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -32887,7 +33001,7 @@ function TeamHoverOverlay({
|
|
|
32887
33001
|
socialLinksClassName,
|
|
32888
33002
|
optixFlowConfig
|
|
32889
33003
|
}) {
|
|
32890
|
-
const renderMembers =
|
|
33004
|
+
const renderMembers = React51.useMemo(() => {
|
|
32891
33005
|
if (membersSlot) return membersSlot;
|
|
32892
33006
|
if (!members || members.length === 0) return null;
|
|
32893
33007
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -33063,14 +33177,14 @@ function TeamRoleFilter({
|
|
|
33063
33177
|
socialLinksClassName,
|
|
33064
33178
|
optixFlowConfig
|
|
33065
33179
|
}) {
|
|
33066
|
-
const [selectedRole, setSelectedRole] =
|
|
33067
|
-
const filteredMembers =
|
|
33180
|
+
const [selectedRole, setSelectedRole] = React51.useState("All");
|
|
33181
|
+
const filteredMembers = React51.useMemo(() => {
|
|
33068
33182
|
if (!members) return [];
|
|
33069
33183
|
return members.filter(
|
|
33070
33184
|
(member) => selectedRole === "All" ? true : member.role === selectedRole
|
|
33071
33185
|
);
|
|
33072
33186
|
}, [members, selectedRole]);
|
|
33073
|
-
const renderRoles =
|
|
33187
|
+
const renderRoles = React51.useMemo(() => {
|
|
33074
33188
|
if (rolesSlot) return rolesSlot;
|
|
33075
33189
|
if (!roles) return null;
|
|
33076
33190
|
return /* @__PURE__ */ jsx(
|
|
@@ -33094,7 +33208,7 @@ function TeamRoleFilter({
|
|
|
33094
33208
|
}
|
|
33095
33209
|
);
|
|
33096
33210
|
}, [rolesSlot, filtersClassName, roles, selectedRole, filterButtonClassName]);
|
|
33097
|
-
const renderMembers =
|
|
33211
|
+
const renderMembers = React51.useMemo(() => {
|
|
33098
33212
|
if (membersSlot) return membersSlot;
|
|
33099
33213
|
return filteredMembers.map((member) => /* @__PURE__ */ jsx(
|
|
33100
33214
|
Card,
|
|
@@ -33254,7 +33368,7 @@ function TeamContactCards({
|
|
|
33254
33368
|
socialLinksClassName,
|
|
33255
33369
|
optixFlowConfig
|
|
33256
33370
|
}) {
|
|
33257
|
-
const getStatusColor =
|
|
33371
|
+
const getStatusColor = React51.useCallback((status) => {
|
|
33258
33372
|
switch (status) {
|
|
33259
33373
|
case "active":
|
|
33260
33374
|
return "bg-success";
|
|
@@ -33264,7 +33378,7 @@ function TeamContactCards({
|
|
|
33264
33378
|
return getTextColor(background, "muted");
|
|
33265
33379
|
}
|
|
33266
33380
|
}, [background]);
|
|
33267
|
-
const renderMembers =
|
|
33381
|
+
const renderMembers = React51.useMemo(() => {
|
|
33268
33382
|
if (membersSlot) return membersSlot;
|
|
33269
33383
|
if (!members || members.length === 0) return null;
|
|
33270
33384
|
return members.map((member) => /* @__PURE__ */ jsx(Card, { className: cn("p-0", memberCardClassName), children: /* @__PURE__ */ jsxs(CardContent, { className: "p-6!", children: [
|
|
@@ -33471,7 +33585,7 @@ function TeamLargeImages({
|
|
|
33471
33585
|
socialLinksClassName,
|
|
33472
33586
|
optixFlowConfig
|
|
33473
33587
|
}) {
|
|
33474
|
-
const renderMembers =
|
|
33588
|
+
const renderMembers = React51.useMemo(() => {
|
|
33475
33589
|
if (membersSlot) return membersSlot;
|
|
33476
33590
|
if (!members || members.length === 0) return null;
|
|
33477
33591
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -33646,7 +33760,7 @@ function TeamSkillBadges({
|
|
|
33646
33760
|
socialLinksClassName,
|
|
33647
33761
|
optixFlowConfig
|
|
33648
33762
|
}) {
|
|
33649
|
-
const renderMembers =
|
|
33763
|
+
const renderMembers = React51.useMemo(() => {
|
|
33650
33764
|
if (membersSlot) return membersSlot;
|
|
33651
33765
|
if (!members || members.length === 0) return null;
|
|
33652
33766
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -33836,7 +33950,7 @@ function TeamTestimonialStats({
|
|
|
33836
33950
|
socialLinksClassName,
|
|
33837
33951
|
optixFlowConfig
|
|
33838
33952
|
}) {
|
|
33839
|
-
const renderMembers =
|
|
33953
|
+
const renderMembers = React51.useMemo(() => {
|
|
33840
33954
|
if (membersSlot) return membersSlot;
|
|
33841
33955
|
if (!members || members.length === 0) return null;
|
|
33842
33956
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -37980,7 +38094,7 @@ function BlogGridAuthorCardsComponent({
|
|
|
37980
38094
|
pattern,
|
|
37981
38095
|
patternOpacity
|
|
37982
38096
|
}) {
|
|
37983
|
-
const viewAllActionContent =
|
|
38097
|
+
const viewAllActionContent = React51.useMemo(() => {
|
|
37984
38098
|
if (viewAllSlot) return viewAllSlot;
|
|
37985
38099
|
if (!viewAllAction) return null;
|
|
37986
38100
|
const {
|
|
@@ -38005,7 +38119,7 @@ function BlogGridAuthorCardsComponent({
|
|
|
38005
38119
|
}
|
|
38006
38120
|
);
|
|
38007
38121
|
}, [viewAllSlot, viewAllAction]);
|
|
38008
|
-
const postsContent =
|
|
38122
|
+
const postsContent = React51.useMemo(() => {
|
|
38009
38123
|
if (postsSlot) return postsSlot;
|
|
38010
38124
|
if (!posts || posts.length === 0) return null;
|
|
38011
38125
|
return posts.map((post) => {
|
|
@@ -38117,7 +38231,7 @@ function BlogCardsTaglineCta({
|
|
|
38117
38231
|
pattern,
|
|
38118
38232
|
patternOpacity
|
|
38119
38233
|
}) {
|
|
38120
|
-
const ctaActionContent =
|
|
38234
|
+
const ctaActionContent = React51.useMemo(() => {
|
|
38121
38235
|
if (ctaSlot) return ctaSlot;
|
|
38122
38236
|
if (!ctaAction) return null;
|
|
38123
38237
|
const {
|
|
@@ -38145,7 +38259,7 @@ function BlogCardsTaglineCta({
|
|
|
38145
38259
|
}
|
|
38146
38260
|
);
|
|
38147
38261
|
}, [ctaSlot, ctaAction, ctaClassName]);
|
|
38148
|
-
const postsContent =
|
|
38262
|
+
const postsContent = React51.useMemo(() => {
|
|
38149
38263
|
if (postsSlot) return postsSlot;
|
|
38150
38264
|
if (!posts || posts.length === 0) return null;
|
|
38151
38265
|
return posts.map((post) => {
|
|
@@ -38291,7 +38405,7 @@ function BlogCardsReadTime({
|
|
|
38291
38405
|
pattern,
|
|
38292
38406
|
patternOpacity
|
|
38293
38407
|
}) {
|
|
38294
|
-
const renderedViewAllAction =
|
|
38408
|
+
const renderedViewAllAction = React51.useMemo(() => {
|
|
38295
38409
|
if (viewAllSlot) return viewAllSlot;
|
|
38296
38410
|
if (!viewAllAction) return null;
|
|
38297
38411
|
const {
|
|
@@ -38308,7 +38422,7 @@ function BlogCardsReadTime({
|
|
|
38308
38422
|
iconAfter
|
|
38309
38423
|
] }) });
|
|
38310
38424
|
}, [viewAllSlot, viewAllAction]);
|
|
38311
|
-
const renderedPosts =
|
|
38425
|
+
const renderedPosts = React51.useMemo(() => {
|
|
38312
38426
|
if (postsSlot) return postsSlot;
|
|
38313
38427
|
if (!posts || posts.length === 0) return null;
|
|
38314
38428
|
return posts.map((post) => {
|
|
@@ -38445,7 +38559,7 @@ function BlogCategoryOverlay({
|
|
|
38445
38559
|
pattern,
|
|
38446
38560
|
patternOpacity
|
|
38447
38561
|
}) {
|
|
38448
|
-
const viewAllActionContent =
|
|
38562
|
+
const viewAllActionContent = React51.useMemo(() => {
|
|
38449
38563
|
if (viewAllSlot) return viewAllSlot;
|
|
38450
38564
|
if (!viewAllAction) return null;
|
|
38451
38565
|
const {
|
|
@@ -38473,7 +38587,7 @@ function BlogCategoryOverlay({
|
|
|
38473
38587
|
}
|
|
38474
38588
|
);
|
|
38475
38589
|
}, [viewAllSlot, viewAllAction, viewAllClassName]);
|
|
38476
|
-
const postsContent =
|
|
38590
|
+
const postsContent = React51.useMemo(() => {
|
|
38477
38591
|
if (postsSlot) return postsSlot;
|
|
38478
38592
|
if (!posts || posts.length === 0) return null;
|
|
38479
38593
|
return posts.map((post) => {
|
|
@@ -38621,7 +38735,7 @@ function BlogFeaturedPopular({
|
|
|
38621
38735
|
}) {
|
|
38622
38736
|
const featuredPost = posts?.[0];
|
|
38623
38737
|
const popularPosts = posts?.slice(1);
|
|
38624
|
-
const renderedFeaturedPost =
|
|
38738
|
+
const renderedFeaturedPost = React51.useMemo(() => {
|
|
38625
38739
|
if (featuredSlot) return featuredSlot;
|
|
38626
38740
|
if (!featuredPost) return null;
|
|
38627
38741
|
const postHref = featuredPost.href || featuredPost.url || featuredPost.link;
|
|
@@ -38673,7 +38787,7 @@ function BlogFeaturedPopular({
|
|
|
38673
38787
|
featuredContentClassName,
|
|
38674
38788
|
optixFlowConfig
|
|
38675
38789
|
]);
|
|
38676
|
-
const renderedPopularPosts =
|
|
38790
|
+
const renderedPopularPosts = React51.useMemo(() => {
|
|
38677
38791
|
if (postsSlot) return postsSlot;
|
|
38678
38792
|
if (!popularPosts || popularPosts.length === 0) return null;
|
|
38679
38793
|
return popularPosts.map((post) => {
|
|
@@ -38790,7 +38904,7 @@ function BlogRelatedArticles({
|
|
|
38790
38904
|
pattern,
|
|
38791
38905
|
patternOpacity
|
|
38792
38906
|
}) {
|
|
38793
|
-
const renderedSeeAllAction =
|
|
38907
|
+
const renderedSeeAllAction = React51.useMemo(() => {
|
|
38794
38908
|
if (seeAllSlot) return seeAllSlot;
|
|
38795
38909
|
if (!seeAllAction) return null;
|
|
38796
38910
|
const {
|
|
@@ -38819,7 +38933,7 @@ function BlogRelatedArticles({
|
|
|
38819
38933
|
}
|
|
38820
38934
|
);
|
|
38821
38935
|
}, [seeAllSlot, seeAllAction, seeAllClassName]);
|
|
38822
|
-
const renderedArticles =
|
|
38936
|
+
const renderedArticles = React51.useMemo(() => {
|
|
38823
38937
|
if (articlesSlot) return articlesSlot;
|
|
38824
38938
|
if (!articles || articles.length === 0) return null;
|
|
38825
38939
|
return articles.map((item) => {
|
|
@@ -39127,7 +39241,7 @@ function BlogHorizontalCards({
|
|
|
39127
39241
|
pattern,
|
|
39128
39242
|
patternOpacity
|
|
39129
39243
|
}) {
|
|
39130
|
-
const ctaContent =
|
|
39244
|
+
const ctaContent = React51.useMemo(() => {
|
|
39131
39245
|
if (ctaSlot) return ctaSlot;
|
|
39132
39246
|
if (!ctaAction) return null;
|
|
39133
39247
|
const {
|
|
@@ -39152,7 +39266,7 @@ function BlogHorizontalCards({
|
|
|
39152
39266
|
}
|
|
39153
39267
|
);
|
|
39154
39268
|
}, [ctaSlot, ctaAction]);
|
|
39155
|
-
const postsContent =
|
|
39269
|
+
const postsContent = React51.useMemo(() => {
|
|
39156
39270
|
if (postsSlot) return postsSlot;
|
|
39157
39271
|
if (!posts || posts.length === 0) return null;
|
|
39158
39272
|
return posts.map((post) => {
|
|
@@ -39334,7 +39448,7 @@ function BreadcrumbSeparator({
|
|
|
39334
39448
|
);
|
|
39335
39449
|
}
|
|
39336
39450
|
var POSTS_PER_PAGE = 6;
|
|
39337
|
-
var BlogCard =
|
|
39451
|
+
var BlogCard = React51.memo(function BlogCard2({
|
|
39338
39452
|
post,
|
|
39339
39453
|
optixFlowConfig,
|
|
39340
39454
|
className
|
|
@@ -39373,7 +39487,7 @@ var BlogCard = React52.memo(function BlogCard2({
|
|
|
39373
39487
|
] })
|
|
39374
39488
|
] }) });
|
|
39375
39489
|
});
|
|
39376
|
-
var FilterForm =
|
|
39490
|
+
var FilterForm = React51.memo(function FilterForm2({
|
|
39377
39491
|
categories,
|
|
39378
39492
|
selectedCategories,
|
|
39379
39493
|
onCategoryChange,
|
|
@@ -39406,7 +39520,7 @@ var FilterForm = React52.memo(function FilterForm2({
|
|
|
39406
39520
|
}
|
|
39407
39521
|
);
|
|
39408
39522
|
});
|
|
39409
|
-
var BreadcrumbBlog =
|
|
39523
|
+
var BreadcrumbBlog = React51.memo(function BreadcrumbBlog2({
|
|
39410
39524
|
breadcrumb
|
|
39411
39525
|
}) {
|
|
39412
39526
|
return /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.map((item, i) => {
|
|
@@ -39488,12 +39602,12 @@ function BlogFilteredResultsComponent({
|
|
|
39488
39602
|
}, [posts, selectedCategories]);
|
|
39489
39603
|
const postsToDisplay = filteredPosts.length > 0 ? filteredPosts : posts || [];
|
|
39490
39604
|
const hasMore = visibleCount < postsToDisplay.length;
|
|
39491
|
-
const breadcrumbContent =
|
|
39605
|
+
const breadcrumbContent = React51.useMemo(() => {
|
|
39492
39606
|
if (breadcrumbSlot) return breadcrumbSlot;
|
|
39493
39607
|
if (!breadcrumb || breadcrumb.length === 0) return null;
|
|
39494
39608
|
return /* @__PURE__ */ jsx(BreadcrumbBlog, { breadcrumb });
|
|
39495
39609
|
}, [breadcrumbSlot, breadcrumb]);
|
|
39496
|
-
const primaryPostContent =
|
|
39610
|
+
const primaryPostContent = React51.useMemo(() => {
|
|
39497
39611
|
if (primaryPostSlot) return primaryPostSlot;
|
|
39498
39612
|
if (!primaryPost) return null;
|
|
39499
39613
|
return /* @__PURE__ */ jsx(
|
|
@@ -39505,7 +39619,7 @@ function BlogFilteredResultsComponent({
|
|
|
39505
39619
|
}
|
|
39506
39620
|
);
|
|
39507
39621
|
}, [primaryPostSlot, primaryPost, optixFlowConfig, postCardClassName]);
|
|
39508
|
-
const categoriesContent =
|
|
39622
|
+
const categoriesContent = React51.useMemo(() => {
|
|
39509
39623
|
if (categoriesSlot) return categoriesSlot;
|
|
39510
39624
|
if (!categories || categories.length === 0) return null;
|
|
39511
39625
|
return /* @__PURE__ */ jsx(
|
|
@@ -39524,7 +39638,7 @@ function BlogFilteredResultsComponent({
|
|
|
39524
39638
|
handleCategoryChange,
|
|
39525
39639
|
categoriesClassName
|
|
39526
39640
|
]);
|
|
39527
|
-
const postsContent =
|
|
39641
|
+
const postsContent = React51.useMemo(() => {
|
|
39528
39642
|
if (postsSlot) return postsSlot;
|
|
39529
39643
|
return postsToDisplay.slice(0, visibleCount).map((post) => {
|
|
39530
39644
|
const postKey = post.id || String(post.title) || Math.random().toString();
|
|
@@ -39545,7 +39659,7 @@ function BlogFilteredResultsComponent({
|
|
|
39545
39659
|
optixFlowConfig,
|
|
39546
39660
|
postCardClassName
|
|
39547
39661
|
]);
|
|
39548
|
-
const loadMoreContent =
|
|
39662
|
+
const loadMoreContent = React51.useMemo(() => {
|
|
39549
39663
|
if (loadMoreSlot) return loadMoreSlot;
|
|
39550
39664
|
if (!loadMoreAction || !hasMore) return null;
|
|
39551
39665
|
const {
|
|
@@ -39671,7 +39785,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
39671
39785
|
}) {
|
|
39672
39786
|
const featuredPost = posts?.[0];
|
|
39673
39787
|
const otherPosts = posts?.slice(1);
|
|
39674
|
-
const featuredPostContent =
|
|
39788
|
+
const featuredPostContent = React51.useMemo(() => {
|
|
39675
39789
|
if (featuredSlot) return featuredSlot;
|
|
39676
39790
|
if (!featuredPost) return null;
|
|
39677
39791
|
const postHref = featuredPost.href || featuredPost.url || featuredPost.link || "#";
|
|
@@ -39721,7 +39835,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
39721
39835
|
featuredImageClassName,
|
|
39722
39836
|
optixFlowConfig
|
|
39723
39837
|
]);
|
|
39724
|
-
const otherPostsContent =
|
|
39838
|
+
const otherPostsContent = React51.useMemo(() => {
|
|
39725
39839
|
if (postsSlot) return postsSlot;
|
|
39726
39840
|
if (!otherPosts || otherPosts.length === 0) return null;
|
|
39727
39841
|
return otherPosts.map((post) => {
|
|
@@ -39810,7 +39924,7 @@ function BlogHorizontalTimelineComponent({
|
|
|
39810
39924
|
pattern,
|
|
39811
39925
|
patternOpacity
|
|
39812
39926
|
}) {
|
|
39813
|
-
const renderPosts =
|
|
39927
|
+
const renderPosts = React51.useMemo(() => {
|
|
39814
39928
|
if (postsSlot) return postsSlot;
|
|
39815
39929
|
if (!posts || posts.length === 0) return null;
|
|
39816
39930
|
return posts.map((post, index) => {
|
|
@@ -39935,7 +40049,7 @@ function BlogGridNinePosts({
|
|
|
39935
40049
|
pattern,
|
|
39936
40050
|
patternOpacity
|
|
39937
40051
|
}) {
|
|
39938
|
-
const renderedCtaAction =
|
|
40052
|
+
const renderedCtaAction = React51.useMemo(() => {
|
|
39939
40053
|
if (ctaSlot) return ctaSlot;
|
|
39940
40054
|
if (!ctaAction) return null;
|
|
39941
40055
|
const {
|
|
@@ -39960,7 +40074,7 @@ function BlogGridNinePosts({
|
|
|
39960
40074
|
}
|
|
39961
40075
|
);
|
|
39962
40076
|
}, [ctaSlot, ctaAction]);
|
|
39963
|
-
const renderedPosts =
|
|
40077
|
+
const renderedPosts = React51.useMemo(() => {
|
|
39964
40078
|
if (postsSlot) return postsSlot;
|
|
39965
40079
|
if (!posts || posts.length === 0) return null;
|
|
39966
40080
|
return posts.map((post) => {
|
|
@@ -40058,9 +40172,9 @@ var AppleCarousel = ({
|
|
|
40058
40172
|
className,
|
|
40059
40173
|
containerClassName
|
|
40060
40174
|
}) => {
|
|
40061
|
-
const carouselRef =
|
|
40062
|
-
const [canScrollLeft, setCanScrollLeft] =
|
|
40063
|
-
const [canScrollRight, setCanScrollRight] =
|
|
40175
|
+
const carouselRef = React51__default.useRef(null);
|
|
40176
|
+
const [canScrollLeft, setCanScrollLeft] = React51__default.useState(false);
|
|
40177
|
+
const [canScrollRight, setCanScrollRight] = React51__default.useState(true);
|
|
40064
40178
|
const [currentIndex, setCurrentIndex] = useState(0);
|
|
40065
40179
|
useEffect(() => {
|
|
40066
40180
|
if (carouselRef.current) {
|
|
@@ -40297,7 +40411,7 @@ function BlogCarouselAppleComponent({
|
|
|
40297
40411
|
containerClassName,
|
|
40298
40412
|
cardClassName
|
|
40299
40413
|
}) {
|
|
40300
|
-
const carouselCards =
|
|
40414
|
+
const carouselCards = React51.useMemo(() => {
|
|
40301
40415
|
if (!posts || posts.length === 0) return [];
|
|
40302
40416
|
return posts.map(
|
|
40303
40417
|
(post, idx) => ({
|
|
@@ -40309,7 +40423,7 @@ function BlogCarouselAppleComponent({
|
|
|
40309
40423
|
})
|
|
40310
40424
|
);
|
|
40311
40425
|
}, [posts]);
|
|
40312
|
-
const cardElements =
|
|
40426
|
+
const cardElements = React51.useMemo(() => {
|
|
40313
40427
|
if (!posts || posts.length === 0) return [];
|
|
40314
40428
|
return carouselCards.map((card, index) => {
|
|
40315
40429
|
const post = posts[index];
|
|
@@ -40394,7 +40508,7 @@ function ArticleHeroProseComponent({
|
|
|
40394
40508
|
description,
|
|
40395
40509
|
authorImage
|
|
40396
40510
|
} = post ?? {};
|
|
40397
|
-
const authorContent =
|
|
40511
|
+
const authorContent = React51.useMemo(() => {
|
|
40398
40512
|
if (authorSlot) return authorSlot;
|
|
40399
40513
|
if (!authorName) return null;
|
|
40400
40514
|
return /* @__PURE__ */ jsxs(
|
|
@@ -40428,7 +40542,7 @@ function ArticleHeroProseComponent({
|
|
|
40428
40542
|
dateFormat,
|
|
40429
40543
|
authorClassName
|
|
40430
40544
|
]);
|
|
40431
|
-
const heroMediaContent =
|
|
40545
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
40432
40546
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40433
40547
|
if (!image) return null;
|
|
40434
40548
|
return /* @__PURE__ */ jsx(
|
|
@@ -40529,7 +40643,7 @@ function ArticleSidebarStickyComponent({
|
|
|
40529
40643
|
pattern,
|
|
40530
40644
|
patternOpacity
|
|
40531
40645
|
}) {
|
|
40532
|
-
const backLinkContent =
|
|
40646
|
+
const backLinkContent = React51.useMemo(() => {
|
|
40533
40647
|
if (backLinkSlot) return backLinkSlot;
|
|
40534
40648
|
if (!backHref && !backText) return null;
|
|
40535
40649
|
return /* @__PURE__ */ jsxs(
|
|
@@ -40547,7 +40661,7 @@ function ArticleSidebarStickyComponent({
|
|
|
40547
40661
|
}
|
|
40548
40662
|
);
|
|
40549
40663
|
}, [backLinkSlot, backHref, backText, backIcon, backLinkClassName]);
|
|
40550
|
-
const renderAuthor =
|
|
40664
|
+
const renderAuthor = React51.useCallback(
|
|
40551
40665
|
(isMobile = false) => {
|
|
40552
40666
|
if (authorSlot) return authorSlot;
|
|
40553
40667
|
if (!authorName) return null;
|
|
@@ -40579,7 +40693,7 @@ function ArticleSidebarStickyComponent({
|
|
|
40579
40693
|
authorClassName
|
|
40580
40694
|
]
|
|
40581
40695
|
);
|
|
40582
|
-
const heroMediaContent =
|
|
40696
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
40583
40697
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40584
40698
|
if (!heroImageSrc) return null;
|
|
40585
40699
|
return /* @__PURE__ */ jsx(
|
|
@@ -40686,10 +40800,10 @@ function ArticleTocSidebarComponent({
|
|
|
40686
40800
|
patternOpacity
|
|
40687
40801
|
}) {
|
|
40688
40802
|
const ctaActions = ctaActionsProp ?? (ctaButtonText ? [{ label: ctaButtonText, href: ctaButtonHref || "#", variant: "default", className: "w-full" }] : []);
|
|
40689
|
-
const [activeSection, setActiveSection] =
|
|
40803
|
+
const [activeSection, setActiveSection] = React51.useState(
|
|
40690
40804
|
sections?.[0]?.id || ""
|
|
40691
40805
|
);
|
|
40692
|
-
|
|
40806
|
+
React51.useEffect(() => {
|
|
40693
40807
|
if (!enableTocTracking || !sections || sections.length === 0) return;
|
|
40694
40808
|
const observer = new IntersectionObserver(
|
|
40695
40809
|
(entries) => {
|
|
@@ -40707,12 +40821,12 @@ function ArticleTocSidebarComponent({
|
|
|
40707
40821
|
});
|
|
40708
40822
|
return () => observer.disconnect();
|
|
40709
40823
|
}, [sections, enableTocTracking]);
|
|
40710
|
-
const categoryContent =
|
|
40824
|
+
const categoryContent = React51.useMemo(() => {
|
|
40711
40825
|
if (categorySlot) return categorySlot;
|
|
40712
40826
|
if (!category) return null;
|
|
40713
40827
|
return /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: category });
|
|
40714
40828
|
}, [categorySlot, category]);
|
|
40715
|
-
const authorContent =
|
|
40829
|
+
const authorContent = React51.useMemo(() => {
|
|
40716
40830
|
if (authorSlot) return authorSlot;
|
|
40717
40831
|
if (!authorName) return null;
|
|
40718
40832
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-4", authorClassName), children: [
|
|
@@ -40732,7 +40846,7 @@ function ArticleTocSidebarComponent({
|
|
|
40732
40846
|
] })
|
|
40733
40847
|
] });
|
|
40734
40848
|
}, [authorSlot, authorName, authorImage, authorHref, publishDate, readTime, authorClassName]);
|
|
40735
|
-
const heroMediaContent =
|
|
40849
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
40736
40850
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40737
40851
|
if (!heroImageSrc) return null;
|
|
40738
40852
|
return /* @__PURE__ */ jsx(
|
|
@@ -40745,7 +40859,7 @@ function ArticleTocSidebarComponent({
|
|
|
40745
40859
|
}
|
|
40746
40860
|
);
|
|
40747
40861
|
}, [heroMediaSlot, heroImageSrc, heroImageAlt, heroImageClassName, optixFlowConfig]);
|
|
40748
|
-
const tocContent =
|
|
40862
|
+
const tocContent = React51.useMemo(() => {
|
|
40749
40863
|
if (tocSlot) return tocSlot;
|
|
40750
40864
|
if (!sections || sections.length === 0) return null;
|
|
40751
40865
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", tocClassName), children: [
|
|
@@ -40753,7 +40867,7 @@ function ArticleTocSidebarComponent({
|
|
|
40753
40867
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: sections.map((section) => {
|
|
40754
40868
|
const isActive = activeSection === section.id;
|
|
40755
40869
|
if (renderSectionLink) {
|
|
40756
|
-
return /* @__PURE__ */ jsx(
|
|
40870
|
+
return /* @__PURE__ */ jsx(React51.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
40757
40871
|
}
|
|
40758
40872
|
return /* @__PURE__ */ jsx(
|
|
40759
40873
|
Pressable,
|
|
@@ -40770,7 +40884,7 @@ function ArticleTocSidebarComponent({
|
|
|
40770
40884
|
}) })
|
|
40771
40885
|
] });
|
|
40772
40886
|
}, [tocSlot, sections, activeSection, renderSectionLink, tocClassName]);
|
|
40773
|
-
const ctaContent =
|
|
40887
|
+
const ctaContent = React51.useMemo(() => {
|
|
40774
40888
|
if (ctaSlot) return ctaSlot;
|
|
40775
40889
|
if (!ctaTitle && !ctaDescription && (!ctaActions || ctaActions.length === 0)) return null;
|
|
40776
40890
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", getNestedCardBg(background, "subtle"), getNestedCardTextColor(background), ctaClassName), children: [
|
|
@@ -40859,11 +40973,11 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40859
40973
|
patternOpacity
|
|
40860
40974
|
}) {
|
|
40861
40975
|
const author = authorProp ?? (authorName ? { name: authorName, image: authorImage, role: authorRole } : void 0);
|
|
40862
|
-
const [activeSection, setActiveSection] =
|
|
40976
|
+
const [activeSection, setActiveSection] = React51.useState(
|
|
40863
40977
|
sections?.[0]?.id || ""
|
|
40864
40978
|
);
|
|
40865
|
-
const [showBackToTop, setShowBackToTop] =
|
|
40866
|
-
|
|
40979
|
+
const [showBackToTop, setShowBackToTop] = React51.useState(false);
|
|
40980
|
+
React51.useEffect(() => {
|
|
40867
40981
|
if (!enableTocTracking || !sections || sections.length === 0) return;
|
|
40868
40982
|
const observer = new IntersectionObserver(
|
|
40869
40983
|
(entries) => {
|
|
@@ -40881,7 +40995,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40881
40995
|
});
|
|
40882
40996
|
return () => observer.disconnect();
|
|
40883
40997
|
}, [sections, enableTocTracking]);
|
|
40884
|
-
|
|
40998
|
+
React51.useEffect(() => {
|
|
40885
40999
|
if (!enableBackToTop) return;
|
|
40886
41000
|
const handleScroll = () => {
|
|
40887
41001
|
setShowBackToTop(window.scrollY > 400);
|
|
@@ -40889,15 +41003,15 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40889
41003
|
window.addEventListener("scroll", handleScroll);
|
|
40890
41004
|
return () => window.removeEventListener("scroll", handleScroll);
|
|
40891
41005
|
}, [enableBackToTop]);
|
|
40892
|
-
const scrollToTop =
|
|
41006
|
+
const scrollToTop = React51.useCallback(() => {
|
|
40893
41007
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
40894
41008
|
}, []);
|
|
40895
|
-
const breadcrumbsContent =
|
|
41009
|
+
const breadcrumbsContent = React51.useMemo(() => {
|
|
40896
41010
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
40897
41011
|
if (!breadcrumbs || breadcrumbs.length === 0) return null;
|
|
40898
41012
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-8", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
40899
41013
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
40900
|
-
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
41014
|
+
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
40901
41015
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
40902
41016
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
40903
41017
|
] }, index)),
|
|
@@ -40907,7 +41021,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40907
41021
|
] })
|
|
40908
41022
|
] }) });
|
|
40909
41023
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
40910
|
-
const authorContent =
|
|
41024
|
+
const authorContent = React51.useMemo(() => {
|
|
40911
41025
|
if (authorSlot) return authorSlot;
|
|
40912
41026
|
if (!author) return null;
|
|
40913
41027
|
return /* @__PURE__ */ jsxs(
|
|
@@ -40930,7 +41044,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40930
41044
|
}
|
|
40931
41045
|
);
|
|
40932
41046
|
}, [authorSlot, author, publishDate, readTime, authorClassName]);
|
|
40933
|
-
const heroMediaContent =
|
|
41047
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
40934
41048
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40935
41049
|
if (!heroImageSrc) return null;
|
|
40936
41050
|
return /* @__PURE__ */ jsx(
|
|
@@ -40952,7 +41066,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40952
41066
|
heroImageClassName,
|
|
40953
41067
|
optixFlowConfig
|
|
40954
41068
|
]);
|
|
40955
|
-
const tocContent =
|
|
41069
|
+
const tocContent = React51.useMemo(() => {
|
|
40956
41070
|
if (tocSlot) return tocSlot;
|
|
40957
41071
|
if (!sections || sections.length === 0) return null;
|
|
40958
41072
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", tocClassName), children: [
|
|
@@ -40960,7 +41074,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40960
41074
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: sections.map((section) => {
|
|
40961
41075
|
const isActive = activeSection === section.id;
|
|
40962
41076
|
if (renderSectionLink) {
|
|
40963
|
-
return /* @__PURE__ */ jsx(
|
|
41077
|
+
return /* @__PURE__ */ jsx(React51.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
40964
41078
|
}
|
|
40965
41079
|
return /* @__PURE__ */ jsx(
|
|
40966
41080
|
Pressable,
|
|
@@ -41065,11 +41179,11 @@ function ArticleCompactTocComponent({
|
|
|
41065
41179
|
pattern,
|
|
41066
41180
|
patternOpacity
|
|
41067
41181
|
}) {
|
|
41068
|
-
const [activeSection, setActiveSection] =
|
|
41182
|
+
const [activeSection, setActiveSection] = React51.useState(
|
|
41069
41183
|
sections?.[0]?.id || ""
|
|
41070
41184
|
);
|
|
41071
|
-
const [isTocOpen, setIsTocOpen] =
|
|
41072
|
-
|
|
41185
|
+
const [isTocOpen, setIsTocOpen] = React51.useState(false);
|
|
41186
|
+
React51.useEffect(() => {
|
|
41073
41187
|
if (!enableTocTracking) return;
|
|
41074
41188
|
const observer = new IntersectionObserver(
|
|
41075
41189
|
(entries) => {
|
|
@@ -41087,12 +41201,12 @@ function ArticleCompactTocComponent({
|
|
|
41087
41201
|
});
|
|
41088
41202
|
return () => observer.disconnect();
|
|
41089
41203
|
}, [sections, enableTocTracking]);
|
|
41090
|
-
const breadcrumbsContent =
|
|
41204
|
+
const breadcrumbsContent = React51.useMemo(() => {
|
|
41091
41205
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
41092
41206
|
if (!breadcrumbs && !currentPage) return null;
|
|
41093
41207
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-6 md:mb-20", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
41094
41208
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
41095
|
-
breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
41209
|
+
breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
41096
41210
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
41097
41211
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
41098
41212
|
] }, index)),
|
|
@@ -41100,7 +41214,7 @@ function ArticleCompactTocComponent({
|
|
|
41100
41214
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: currentPage }) })
|
|
41101
41215
|
] }) });
|
|
41102
41216
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
41103
|
-
const shareContent =
|
|
41217
|
+
const shareContent = React51.useMemo(() => {
|
|
41104
41218
|
if (shareSlot) return shareSlot;
|
|
41105
41219
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
41106
41220
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-2", shareClassName), children: [
|
|
@@ -41117,13 +41231,13 @@ function ArticleCompactTocComponent({
|
|
|
41117
41231
|
))
|
|
41118
41232
|
] });
|
|
41119
41233
|
}, [shareSlot, socialLinks, shareClassName]);
|
|
41120
|
-
const renderTocLinks =
|
|
41234
|
+
const renderTocLinks = React51.useCallback(
|
|
41121
41235
|
(onLinkClick) => {
|
|
41122
41236
|
if (!sections) return null;
|
|
41123
41237
|
return sections.map((section) => {
|
|
41124
41238
|
const isActive = activeSection === section.id;
|
|
41125
41239
|
if (renderSectionLink) {
|
|
41126
|
-
return /* @__PURE__ */ jsx(
|
|
41240
|
+
return /* @__PURE__ */ jsx(React51.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
41127
41241
|
}
|
|
41128
41242
|
return /* @__PURE__ */ jsx(
|
|
41129
41243
|
Pressable,
|
|
@@ -41142,7 +41256,7 @@ function ArticleCompactTocComponent({
|
|
|
41142
41256
|
},
|
|
41143
41257
|
[sections, activeSection, renderSectionLink]
|
|
41144
41258
|
);
|
|
41145
|
-
const tocContent =
|
|
41259
|
+
const tocContent = React51.useMemo(() => {
|
|
41146
41260
|
if (tocSlot) return tocSlot;
|
|
41147
41261
|
if (!sections || sections.length === 0) return null;
|
|
41148
41262
|
return /* @__PURE__ */ jsx("div", { className: "mb-8 lg:hidden", children: /* @__PURE__ */ jsxs(Popover, { open: isTocOpen, onOpenChange: setIsTocOpen, children: [
|
|
@@ -41175,7 +41289,7 @@ function ArticleCompactTocComponent({
|
|
|
41175
41289
|
)
|
|
41176
41290
|
] }) });
|
|
41177
41291
|
}, [tocSlot, sections, isTocOpen, tocClassName, renderTocLinks]);
|
|
41178
|
-
const desktopTocContent =
|
|
41292
|
+
const desktopTocContent = React51.useMemo(() => {
|
|
41179
41293
|
if (tocSlot) return null;
|
|
41180
41294
|
if (!sections || sections.length === 0) return null;
|
|
41181
41295
|
return /* @__PURE__ */ jsx(
|
|
@@ -41192,7 +41306,7 @@ function ArticleCompactTocComponent({
|
|
|
41192
41306
|
}
|
|
41193
41307
|
);
|
|
41194
41308
|
}, [tocSlot, sections, tocClassName, renderTocLinks]);
|
|
41195
|
-
const heroMediaContent =
|
|
41309
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
41196
41310
|
if (heroMediaSlot) return heroMediaSlot;
|
|
41197
41311
|
if (!heroImageSrc) return null;
|
|
41198
41312
|
return /* @__PURE__ */ jsx(
|
|
@@ -41322,10 +41436,10 @@ function ArticleChaptersAuthorComponent({
|
|
|
41322
41436
|
variant: "default"
|
|
41323
41437
|
}
|
|
41324
41438
|
] : []);
|
|
41325
|
-
const [activeChapter, setActiveChapter] =
|
|
41439
|
+
const [activeChapter, setActiveChapter] = React51.useState(
|
|
41326
41440
|
chapters?.[0]?.id || ""
|
|
41327
41441
|
);
|
|
41328
|
-
|
|
41442
|
+
React51.useEffect(() => {
|
|
41329
41443
|
if (!enableChapterTracking || !chapters || chapters.length === 0) return;
|
|
41330
41444
|
const observer = new IntersectionObserver(
|
|
41331
41445
|
(entries) => {
|
|
@@ -41343,12 +41457,12 @@ function ArticleChaptersAuthorComponent({
|
|
|
41343
41457
|
});
|
|
41344
41458
|
return () => observer.disconnect();
|
|
41345
41459
|
}, [chapters, enableChapterTracking]);
|
|
41346
|
-
const breadcrumbsContent =
|
|
41460
|
+
const breadcrumbsContent = React51.useMemo(() => {
|
|
41347
41461
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
41348
41462
|
if (!breadcrumbs || breadcrumbs.length === 0) return null;
|
|
41349
41463
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-8 md:mb-20", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
41350
41464
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
41351
|
-
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
41465
|
+
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
41352
41466
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
41353
41467
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
41354
41468
|
] }, index)),
|
|
@@ -41356,7 +41470,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41356
41470
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: typeof currentPage === "string" ? currentPage : currentPage }) })
|
|
41357
41471
|
] }) });
|
|
41358
41472
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
41359
|
-
const chaptersNavContent =
|
|
41473
|
+
const chaptersNavContent = React51.useMemo(() => {
|
|
41360
41474
|
if (chaptersSlot) return chaptersSlot;
|
|
41361
41475
|
if (!chapters || chapters.length === 0) return null;
|
|
41362
41476
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", chaptersClassName), children: [
|
|
@@ -41364,7 +41478,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41364
41478
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: chapters.map((chapter) => {
|
|
41365
41479
|
const isActive = activeChapter === chapter.id;
|
|
41366
41480
|
if (renderChapterLink) {
|
|
41367
|
-
return /* @__PURE__ */ jsx(
|
|
41481
|
+
return /* @__PURE__ */ jsx(React51.Fragment, { children: renderChapterLink(chapter, isActive) }, chapter.id);
|
|
41368
41482
|
}
|
|
41369
41483
|
return /* @__PURE__ */ jsxs(
|
|
41370
41484
|
Pressable,
|
|
@@ -41390,7 +41504,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41390
41504
|
renderChapterLink,
|
|
41391
41505
|
chaptersClassName
|
|
41392
41506
|
]);
|
|
41393
|
-
const authorCardContent =
|
|
41507
|
+
const authorCardContent = React51.useMemo(() => {
|
|
41394
41508
|
if (authorSlot) return authorSlot;
|
|
41395
41509
|
if (!author) return null;
|
|
41396
41510
|
let socialLinksContent = null;
|
|
@@ -41451,7 +41565,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41451
41565
|
socialLinksContent
|
|
41452
41566
|
] });
|
|
41453
41567
|
}, [authorSlot, author, authorClassName]);
|
|
41454
|
-
const heroMediaContent =
|
|
41568
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
41455
41569
|
if (heroMediaSlot) return heroMediaSlot;
|
|
41456
41570
|
if (!heroImageSrc) return null;
|
|
41457
41571
|
return /* @__PURE__ */ jsx(
|
|
@@ -41473,7 +41587,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41473
41587
|
heroImageClassName,
|
|
41474
41588
|
optixFlowConfig
|
|
41475
41589
|
]);
|
|
41476
|
-
const conclusionContent =
|
|
41590
|
+
const conclusionContent = React51.useMemo(() => {
|
|
41477
41591
|
if (conclusionSlot) return conclusionSlot;
|
|
41478
41592
|
if (!conclusionTitle && !conclusionDescription && (!conclusionActions || conclusionActions.length === 0))
|
|
41479
41593
|
return null;
|
|
@@ -41618,7 +41732,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41618
41732
|
}) {
|
|
41619
41733
|
const ctaActions = ctaActionsProp ?? (ctaText ? [{ label: ctaText, href: ctaHref || "#", variant: "default", size: "lg" }] : []);
|
|
41620
41734
|
const MotionWrapper = enableAnimations ? motion.div : "div";
|
|
41621
|
-
const categoryContent =
|
|
41735
|
+
const categoryContent = React51.useMemo(() => {
|
|
41622
41736
|
if (categorySlot) return categorySlot;
|
|
41623
41737
|
if (!category) return null;
|
|
41624
41738
|
return /* @__PURE__ */ jsx(
|
|
@@ -41633,7 +41747,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41633
41747
|
}
|
|
41634
41748
|
);
|
|
41635
41749
|
}, [categorySlot, category, categoryHref, categoryClassName]);
|
|
41636
|
-
const heroMediaContent =
|
|
41750
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
41637
41751
|
if (heroMediaSlot) return heroMediaSlot;
|
|
41638
41752
|
if (!image) return null;
|
|
41639
41753
|
return /* @__PURE__ */ jsx(
|
|
@@ -41646,7 +41760,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41646
41760
|
}
|
|
41647
41761
|
);
|
|
41648
41762
|
}, [heroMediaSlot, image, imageAlt, title, optixFlowConfig]);
|
|
41649
|
-
const authorContent =
|
|
41763
|
+
const authorContent = React51.useMemo(() => {
|
|
41650
41764
|
if (authorSlot) return authorSlot;
|
|
41651
41765
|
if (!authorName) return null;
|
|
41652
41766
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-8 flex items-center gap-4", authorClassName), children: [
|
|
@@ -41660,7 +41774,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41660
41774
|
] })
|
|
41661
41775
|
] });
|
|
41662
41776
|
}, [authorSlot, authorName, authorImage, authorHref, authorRole, authorClassName]);
|
|
41663
|
-
const ctaContent =
|
|
41777
|
+
const ctaContent = React51.useMemo(() => {
|
|
41664
41778
|
if (ctaSlot) return ctaSlot;
|
|
41665
41779
|
if (!ctaActions || ctaActions.length === 0) return null;
|
|
41666
41780
|
return /* @__PURE__ */ jsx("div", { className: cn("mt-8 flex flex-wrap gap-3", ctaClassName), children: ctaActions.map((action, index) => {
|
|
@@ -43083,7 +43197,7 @@ function FaqSidebarNavigation({
|
|
|
43083
43197
|
accordionTriggerClassName,
|
|
43084
43198
|
accordionContentClassName
|
|
43085
43199
|
}) {
|
|
43086
|
-
const [activeCategory, setActiveCategory] =
|
|
43200
|
+
const [activeCategory, setActiveCategory] = React51.useState(
|
|
43087
43201
|
categories && categories.length > 1 ? "all" : categories?.[0]?.id || ""
|
|
43088
43202
|
);
|
|
43089
43203
|
const filteredCategories = useMemo(() => {
|
|
@@ -43972,7 +44086,7 @@ function FaqSplitHero({
|
|
|
43972
44086
|
imageArea
|
|
43973
44087
|
] }) });
|
|
43974
44088
|
}
|
|
43975
|
-
var Controls =
|
|
44089
|
+
var Controls = React51.memo(
|
|
43976
44090
|
({
|
|
43977
44091
|
handleNext,
|
|
43978
44092
|
handlePrevious,
|
|
@@ -44003,7 +44117,7 @@ var Controls = React52.memo(
|
|
|
44003
44117
|
] });
|
|
44004
44118
|
}
|
|
44005
44119
|
);
|
|
44006
|
-
var FeatureCard =
|
|
44120
|
+
var FeatureCard = React51.memo(
|
|
44007
44121
|
({ feature, isActive, onClick }) => {
|
|
44008
44122
|
const variants2 = useMemo(
|
|
44009
44123
|
() => ({
|
|
@@ -44111,7 +44225,7 @@ var FeatureCard = React52.memo(
|
|
|
44111
44225
|
) });
|
|
44112
44226
|
}
|
|
44113
44227
|
);
|
|
44114
|
-
var FeaturesDesktop =
|
|
44228
|
+
var FeaturesDesktop = React51.memo(
|
|
44115
44229
|
({
|
|
44116
44230
|
features,
|
|
44117
44231
|
handleNext,
|
|
@@ -44145,7 +44259,7 @@ var FeaturesDesktop = React52.memo(
|
|
|
44145
44259
|
] });
|
|
44146
44260
|
}
|
|
44147
44261
|
);
|
|
44148
|
-
var FeaturesMobile =
|
|
44262
|
+
var FeaturesMobile = React51.memo(
|
|
44149
44263
|
({
|
|
44150
44264
|
features,
|
|
44151
44265
|
handleNext,
|
|
@@ -44236,8 +44350,8 @@ function FeatureAnimatedCarousel({
|
|
|
44236
44350
|
spacing = "py-12 md:py-32",
|
|
44237
44351
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
|
|
44238
44352
|
}) {
|
|
44239
|
-
const [activeIndex, setActiveIndex] =
|
|
44240
|
-
const [direction, setDirection] =
|
|
44353
|
+
const [activeIndex, setActiveIndex] = React51.useState(0);
|
|
44354
|
+
const [direction, setDirection] = React51.useState(1);
|
|
44241
44355
|
const handleNext = useCallback(() => {
|
|
44242
44356
|
if (features && activeIndex < features.length - 1) {
|
|
44243
44357
|
setDirection(1);
|
|
@@ -45099,7 +45213,7 @@ function FooterInfoCardsAccordion({
|
|
|
45099
45213
|
patternOpacity,
|
|
45100
45214
|
optixFlowConfig
|
|
45101
45215
|
}) {
|
|
45102
|
-
const [email, setEmail] =
|
|
45216
|
+
const [email, setEmail] = React51.useState("");
|
|
45103
45217
|
(/* @__PURE__ */ new Date()).getFullYear();
|
|
45104
45218
|
const handleSubmit = (e) => {
|
|
45105
45219
|
e.preventDefault();
|
|
@@ -45404,13 +45518,13 @@ function CaseStudiesImageGrid({
|
|
|
45404
45518
|
patternOpacity,
|
|
45405
45519
|
optixFlowConfig
|
|
45406
45520
|
}) {
|
|
45407
|
-
const getGridClass =
|
|
45521
|
+
const getGridClass = React51.useCallback((index) => {
|
|
45408
45522
|
if (index === 0 || index === 4) {
|
|
45409
45523
|
return "row-span-2 aspect-square lg:aspect-auto";
|
|
45410
45524
|
}
|
|
45411
45525
|
return "aspect-3/2 md:aspect-2/1";
|
|
45412
45526
|
}, []);
|
|
45413
|
-
const renderedItems =
|
|
45527
|
+
const renderedItems = React51.useMemo(() => {
|
|
45414
45528
|
if (itemsSlot) return itemsSlot;
|
|
45415
45529
|
if (!items || items.length === 0) return null;
|
|
45416
45530
|
return items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
@@ -45496,7 +45610,7 @@ function CaseStudiesTestimonialStats({
|
|
|
45496
45610
|
patternOpacity,
|
|
45497
45611
|
optixFlowConfig
|
|
45498
45612
|
}) {
|
|
45499
|
-
const renderedTestimonials =
|
|
45613
|
+
const renderedTestimonials = React51.useMemo(() => {
|
|
45500
45614
|
if (testimonialsSlot) return testimonialsSlot;
|
|
45501
45615
|
if (!testimonials || testimonials.length === 0) return null;
|
|
45502
45616
|
return testimonials.map((testimonial, index) => /* @__PURE__ */ jsxs("div", { className: testimonialItemClassName, children: [
|
|
@@ -48969,7 +49083,7 @@ function CaseStudiesFeaturedBorder({
|
|
|
48969
49083
|
patternOpacity,
|
|
48970
49084
|
optixFlowConfig
|
|
48971
49085
|
}) {
|
|
48972
|
-
const renderedFeatured =
|
|
49086
|
+
const renderedFeatured = React51.useMemo(() => {
|
|
48973
49087
|
if (featuredSlot) return featuredSlot;
|
|
48974
49088
|
if (!featuredCaseStudy) return null;
|
|
48975
49089
|
return /* @__PURE__ */ jsxs(
|
|
@@ -49043,7 +49157,7 @@ function CaseStudiesFeaturedBorder({
|
|
|
49043
49157
|
featuredImageClassName,
|
|
49044
49158
|
optixFlowConfig
|
|
49045
49159
|
]);
|
|
49046
|
-
const renderedCaseStudies =
|
|
49160
|
+
const renderedCaseStudies = React51.useMemo(() => {
|
|
49047
49161
|
if (caseStudiesSlot) return caseStudiesSlot;
|
|
49048
49162
|
if (!caseStudies || caseStudies.length === 0) return null;
|
|
49049
49163
|
return caseStudies.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -49152,7 +49266,7 @@ function CaseStudiesStatsCard({
|
|
|
49152
49266
|
patternOpacity,
|
|
49153
49267
|
optixFlowConfig
|
|
49154
49268
|
}) {
|
|
49155
|
-
const renderedStats =
|
|
49269
|
+
const renderedStats = React51.useMemo(() => {
|
|
49156
49270
|
if (statsSlot) return statsSlot;
|
|
49157
49271
|
if (!stats || stats.length === 0) return null;
|
|
49158
49272
|
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: [
|
|
@@ -49160,7 +49274,7 @@ function CaseStudiesStatsCard({
|
|
|
49160
49274
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-muted-foreground", children: item.text })
|
|
49161
49275
|
] }, `stats-${i}`)) });
|
|
49162
49276
|
}, [statsSlot, stats, statsClassName]);
|
|
49163
|
-
const renderedAuthor =
|
|
49277
|
+
const renderedAuthor = React51.useMemo(() => {
|
|
49164
49278
|
if (authorSlot) return authorSlot;
|
|
49165
49279
|
if (!author) return null;
|
|
49166
49280
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2.5", authorClassName), children: [
|
|
@@ -49174,7 +49288,7 @@ function CaseStudiesStatsCard({
|
|
|
49174
49288
|
] })
|
|
49175
49289
|
] });
|
|
49176
49290
|
}, [authorSlot, author, authorClassName]);
|
|
49177
|
-
const renderedActions =
|
|
49291
|
+
const renderedActions = React51.useMemo(() => {
|
|
49178
49292
|
if (actionsSlot) return actionsSlot;
|
|
49179
49293
|
if (!actions || actions.length === 0) return null;
|
|
49180
49294
|
return /* @__PURE__ */ jsx("div", { className: cn("shrink-0", actionsClassName), children: actions.map((action, index) => {
|
|
@@ -50662,7 +50776,7 @@ function HeroCenteredImageGrid({
|
|
|
50662
50776
|
return logos.map((logo, index) => {
|
|
50663
50777
|
const src = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
50664
50778
|
typeof logo.src === "string" ? logo.src : logo.src.dark;
|
|
50665
|
-
return /* @__PURE__ */ jsx(
|
|
50779
|
+
return /* @__PURE__ */ jsx(React51.Fragment, { children: /* @__PURE__ */ jsx(
|
|
50666
50780
|
Img,
|
|
50667
50781
|
{
|
|
50668
50782
|
src,
|
|
@@ -58896,7 +59010,7 @@ function HeroEcommerceProductShowcase({
|
|
|
58896
59010
|
const renderStats = useMemo(() => {
|
|
58897
59011
|
if (statsSlot) return statsSlot;
|
|
58898
59012
|
if (!stats || stats.length === 0) return null;
|
|
58899
|
-
return /* @__PURE__ */ jsx("div", { className: cn("flex items-center gap-6 pt-4", statsClassName), children: stats.map((stat, index) => /* @__PURE__ */ jsxs(
|
|
59013
|
+
return /* @__PURE__ */ jsx("div", { className: cn("flex items-center gap-6 pt-4", statsClassName), children: stats.map((stat, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
58900
59014
|
index > 0 && /* @__PURE__ */ jsx("div", { className: "h-12 w-px bg-border" }),
|
|
58901
59015
|
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
58902
59016
|
/* @__PURE__ */ jsx("div", { className: "text-2xl font-bold ", children: stat.value }),
|
|
@@ -59792,7 +59906,7 @@ function ComparisonTableTwoColumn({
|
|
|
59792
59906
|
patternOpacity,
|
|
59793
59907
|
optixFlowConfig
|
|
59794
59908
|
}) {
|
|
59795
|
-
const tableContent =
|
|
59909
|
+
const tableContent = React51.useMemo(() => {
|
|
59796
59910
|
if (tableSlot) return tableSlot;
|
|
59797
59911
|
if (!rows || rows.length === 0) return null;
|
|
59798
59912
|
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(
|
|
@@ -59822,7 +59936,7 @@ function ComparisonTableTwoColumn({
|
|
|
59822
59936
|
optixFlowConfig
|
|
59823
59937
|
}
|
|
59824
59938
|
) : optionBLabel && (typeof optionBLabel === "string" ? /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: optionBLabel }) : optionBLabel) }),
|
|
59825
|
-
rows.map((row, idx) => /* @__PURE__ */ jsxs(
|
|
59939
|
+
rows.map((row, idx) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
59826
59940
|
/* @__PURE__ */ jsx("div", { className: "flex items-center border-b p-3 text-base font-medium md:p-4 md:text-lg", children: row.label }),
|
|
59827
59941
|
/* @__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: [
|
|
59828
59942
|
row.hasIcon && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check-big", size: 20, className: "text-success" }),
|
|
@@ -59851,14 +59965,14 @@ function ComparisonTableTwoColumn({
|
|
|
59851
59965
|
optionBLabel,
|
|
59852
59966
|
optixFlowConfig
|
|
59853
59967
|
]);
|
|
59854
|
-
const headingContent =
|
|
59968
|
+
const headingContent = React51.useMemo(() => {
|
|
59855
59969
|
if (!heading) return null;
|
|
59856
59970
|
if (typeof heading === "string") {
|
|
59857
59971
|
return /* @__PURE__ */ jsx("h1", { className: cn("mb-8 text-3xl font-bold md:mb-12 md:text-5xl", headingClassName), children: heading });
|
|
59858
59972
|
}
|
|
59859
59973
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
59860
59974
|
}, [heading, headingClassName]);
|
|
59861
|
-
const descriptionContent =
|
|
59975
|
+
const descriptionContent = React51.useMemo(() => {
|
|
59862
59976
|
if (!description) return null;
|
|
59863
59977
|
if (typeof description === "string") {
|
|
59864
59978
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -59905,7 +60019,7 @@ function ComparisonFeatureCards({
|
|
|
59905
60019
|
patternOpacity,
|
|
59906
60020
|
optixFlowConfig
|
|
59907
60021
|
}) {
|
|
59908
|
-
const renderCard =
|
|
60022
|
+
const renderCard = React51.useCallback(
|
|
59909
60023
|
(product, isHighlighted) => /* @__PURE__ */ jsxs(
|
|
59910
60024
|
"div",
|
|
59911
60025
|
{
|
|
@@ -59961,7 +60075,7 @@ function ComparisonFeatureCards({
|
|
|
59961
60075
|
),
|
|
59962
60076
|
[cardClassName, optixFlowConfig]
|
|
59963
60077
|
);
|
|
59964
|
-
const cardsContent =
|
|
60078
|
+
const cardsContent = React51.useMemo(() => {
|
|
59965
60079
|
if (cardsSlot) return cardsSlot;
|
|
59966
60080
|
if (!productA || !productB) return null;
|
|
59967
60081
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -59969,28 +60083,28 @@ function ComparisonFeatureCards({
|
|
|
59969
60083
|
renderCard(productB, productB.highlighted ?? false)
|
|
59970
60084
|
] });
|
|
59971
60085
|
}, [cardsSlot, productA, productB, renderCard]);
|
|
59972
|
-
const headingContent =
|
|
60086
|
+
const headingContent = React51.useMemo(() => {
|
|
59973
60087
|
if (!heading) return null;
|
|
59974
60088
|
if (typeof heading === "string") {
|
|
59975
60089
|
return /* @__PURE__ */ jsx("h1", { className: cn("mb-6 text-4xl font-semibold md:text-7xl", headingClassName), children: heading });
|
|
59976
60090
|
}
|
|
59977
60091
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
59978
60092
|
}, [heading, headingClassName]);
|
|
59979
|
-
const descriptionContent =
|
|
60093
|
+
const descriptionContent = React51.useMemo(() => {
|
|
59980
60094
|
if (!description) return null;
|
|
59981
60095
|
if (typeof description === "string") {
|
|
59982
60096
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto max-w-4xl text-muted-foreground md:text-xl", descriptionClassName), children: description });
|
|
59983
60097
|
}
|
|
59984
60098
|
return /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description });
|
|
59985
60099
|
}, [description, descriptionClassName]);
|
|
59986
|
-
const suitabilityContent =
|
|
60100
|
+
const suitabilityContent = React51.useMemo(() => {
|
|
59987
60101
|
if (!suitabilityTitle && !suitabilityDescription) return null;
|
|
59988
60102
|
return /* @__PURE__ */ jsxs("div", { className: suitabilityClassName, children: [
|
|
59989
60103
|
suitabilityTitle && (typeof suitabilityTitle === "string" ? /* @__PURE__ */ jsx("h2", { className: "mb-4 text-3xl font-semibold", children: suitabilityTitle }) : suitabilityTitle),
|
|
59990
60104
|
suitabilityDescription && (typeof suitabilityDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "leading-6 text-muted-foreground md:text-lg", children: suitabilityDescription }) : suitabilityDescription)
|
|
59991
60105
|
] });
|
|
59992
60106
|
}, [suitabilityTitle, suitabilityDescription, suitabilityClassName]);
|
|
59993
|
-
const differencesContent =
|
|
60107
|
+
const differencesContent = React51.useMemo(() => {
|
|
59994
60108
|
if (!differencesTitle && !differencesDescription) return null;
|
|
59995
60109
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-16", differencesClassName), children: [
|
|
59996
60110
|
differencesTitle && (typeof differencesTitle === "string" ? /* @__PURE__ */ jsx("h2", { className: "mb-4 text-3xl font-semibold", children: differencesTitle }) : differencesTitle),
|
|
@@ -60038,7 +60152,7 @@ function ComparisonGridBadges({
|
|
|
60038
60152
|
pattern,
|
|
60039
60153
|
patternOpacity
|
|
60040
60154
|
}) {
|
|
60041
|
-
const featuresContent =
|
|
60155
|
+
const featuresContent = React51.useMemo(() => {
|
|
60042
60156
|
if (featuresSlot) return featuresSlot;
|
|
60043
60157
|
if (!features || features.length === 0) return null;
|
|
60044
60158
|
return features.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -60085,14 +60199,14 @@ function ComparisonGridBadges({
|
|
|
60085
60199
|
idx
|
|
60086
60200
|
));
|
|
60087
60201
|
}, [featuresSlot, features, featureCardClassName, badgeClassName, optionALabel, optionBLabel]);
|
|
60088
|
-
const headingContent =
|
|
60202
|
+
const headingContent = React51.useMemo(() => {
|
|
60089
60203
|
if (!heading) return null;
|
|
60090
60204
|
if (typeof heading === "string") {
|
|
60091
60205
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-3xl font-bold md:text-5xl", headingClassName), children: heading });
|
|
60092
60206
|
}
|
|
60093
60207
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60094
60208
|
}, [heading, headingClassName]);
|
|
60095
|
-
const descriptionContent =
|
|
60209
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60096
60210
|
if (!description) return null;
|
|
60097
60211
|
if (typeof description === "string") {
|
|
60098
60212
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto max-w-2xl text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -60140,7 +60254,7 @@ function ComparisonMetricsRows({
|
|
|
60140
60254
|
pattern,
|
|
60141
60255
|
patternOpacity
|
|
60142
60256
|
}) {
|
|
60143
|
-
const metricsContent =
|
|
60257
|
+
const metricsContent = React51.useMemo(() => {
|
|
60144
60258
|
if (metricsSlot) return metricsSlot;
|
|
60145
60259
|
if (!metrics || metrics.length === 0) return null;
|
|
60146
60260
|
return /* @__PURE__ */ jsx(
|
|
@@ -60180,7 +60294,7 @@ function ComparisonMetricsRows({
|
|
|
60180
60294
|
}
|
|
60181
60295
|
);
|
|
60182
60296
|
}, [metricsSlot, metrics, metricsClassName, metricRowClassName]);
|
|
60183
|
-
const actionsContent =
|
|
60297
|
+
const actionsContent = React51.useMemo(() => {
|
|
60184
60298
|
if (actionsSlot) return actionsSlot;
|
|
60185
60299
|
if (!actions || actions.length === 0) return null;
|
|
60186
60300
|
return /* @__PURE__ */ jsx("div", { className: cn("flex justify-end", actionsClassName), children: actions.map((action, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -60201,7 +60315,7 @@ function ComparisonMetricsRows({
|
|
|
60201
60315
|
idx
|
|
60202
60316
|
)) });
|
|
60203
60317
|
}, [actionsSlot, actions, actionsClassName]);
|
|
60204
|
-
const headingContent =
|
|
60318
|
+
const headingContent = React51.useMemo(() => {
|
|
60205
60319
|
if (!heading) return null;
|
|
60206
60320
|
if (typeof heading === "string") {
|
|
60207
60321
|
return /* @__PURE__ */ jsx(
|
|
@@ -60217,7 +60331,7 @@ function ComparisonMetricsRows({
|
|
|
60217
60331
|
}
|
|
60218
60332
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60219
60333
|
}, [heading, headingClassName]);
|
|
60220
|
-
const descriptionContent =
|
|
60334
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60221
60335
|
if (!description) return null;
|
|
60222
60336
|
if (typeof description === "string") {
|
|
60223
60337
|
return /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -60280,7 +60394,7 @@ function ComparisonImageCards({
|
|
|
60280
60394
|
patternOpacity,
|
|
60281
60395
|
optixFlowConfig
|
|
60282
60396
|
}) {
|
|
60283
|
-
const renderCard =
|
|
60397
|
+
const renderCard = React51.useCallback(
|
|
60284
60398
|
(option) => /* @__PURE__ */ jsx("div", { className: cn("relative h-full", cardClassName), children: /* @__PURE__ */ jsxs("div", { className: cn(
|
|
60285
60399
|
"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]",
|
|
60286
60400
|
getNestedCardBg(background, "accent"),
|
|
@@ -60304,7 +60418,7 @@ function ComparisonImageCards({
|
|
|
60304
60418
|
] }) }),
|
|
60305
60419
|
[cardClassName, optixFlowConfig]
|
|
60306
60420
|
);
|
|
60307
|
-
const cardsContent =
|
|
60421
|
+
const cardsContent = React51.useMemo(() => {
|
|
60308
60422
|
if (cardsSlot) return cardsSlot;
|
|
60309
60423
|
if (!optionA || !optionB) return null;
|
|
60310
60424
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -60322,14 +60436,14 @@ function ComparisonImageCards({
|
|
|
60322
60436
|
)
|
|
60323
60437
|
] });
|
|
60324
60438
|
}, [cardsSlot, optionA, optionB, dividerText, dividerClassName, renderCard]);
|
|
60325
|
-
const headingContent =
|
|
60439
|
+
const headingContent = React51.useMemo(() => {
|
|
60326
60440
|
if (!heading) return null;
|
|
60327
60441
|
if (typeof heading === "string") {
|
|
60328
60442
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-medium sm:text-4xl md:text-5xl lg:text-6xl", headingClassName), children: heading });
|
|
60329
60443
|
}
|
|
60330
60444
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60331
60445
|
}, [heading, headingClassName]);
|
|
60332
|
-
const descriptionContent =
|
|
60446
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60333
60447
|
if (!description) return null;
|
|
60334
60448
|
if (typeof description === "string") {
|
|
60335
60449
|
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 });
|
|
@@ -60459,7 +60573,7 @@ function ComparisonTableTabs({
|
|
|
60459
60573
|
patternOpacity
|
|
60460
60574
|
}) {
|
|
60461
60575
|
const [selectedTab, setSelectedTab] = useState(models?.[0]?.name || "");
|
|
60462
|
-
const renderStatusIcon =
|
|
60576
|
+
const renderStatusIcon = React51.useCallback((status) => {
|
|
60463
60577
|
if (status === "positive") {
|
|
60464
60578
|
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" }) });
|
|
60465
60579
|
}
|
|
@@ -60468,7 +60582,7 @@ function ComparisonTableTabs({
|
|
|
60468
60582
|
}
|
|
60469
60583
|
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" }) });
|
|
60470
60584
|
}, []);
|
|
60471
|
-
const tableContent =
|
|
60585
|
+
const tableContent = React51.useMemo(() => {
|
|
60472
60586
|
if (tableSlot) return tableSlot;
|
|
60473
60587
|
if (!models || models.length === 0 || !features || features.length === 0) return null;
|
|
60474
60588
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -60527,14 +60641,14 @@ function ComparisonTableTabs({
|
|
|
60527
60641
|
] }) })
|
|
60528
60642
|
] });
|
|
60529
60643
|
}, [tableSlot, models, features, tabsClassName, tableClassName, tableHeaderClassName, tableCellClassName, selectedTab, renderStatusIcon]);
|
|
60530
|
-
const headingContent =
|
|
60644
|
+
const headingContent = React51.useMemo(() => {
|
|
60531
60645
|
if (!heading) return null;
|
|
60532
60646
|
if (typeof heading === "string") {
|
|
60533
60647
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold md:text-4xl lg:text-5xl", headingClassName), children: heading });
|
|
60534
60648
|
}
|
|
60535
60649
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60536
60650
|
}, [heading, headingClassName]);
|
|
60537
|
-
const descriptionContent =
|
|
60651
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60538
60652
|
if (!description) return null;
|
|
60539
60653
|
if (typeof description === "string") {
|
|
60540
60654
|
return /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -60625,7 +60739,7 @@ function ComparisonTableTooltips({
|
|
|
60625
60739
|
pattern,
|
|
60626
60740
|
patternOpacity
|
|
60627
60741
|
}) {
|
|
60628
|
-
const renderCellContent =
|
|
60742
|
+
const renderCellContent = React51.useCallback(
|
|
60629
60743
|
(cell, isHighlighted) => {
|
|
60630
60744
|
if (typeof cell === "string") {
|
|
60631
60745
|
return cell;
|
|
@@ -60652,7 +60766,7 @@ function ComparisonTableTooltips({
|
|
|
60652
60766
|
},
|
|
60653
60767
|
[]
|
|
60654
60768
|
);
|
|
60655
|
-
const tableContent =
|
|
60769
|
+
const tableContent = React51.useMemo(() => {
|
|
60656
60770
|
if (tableSlot) return tableSlot;
|
|
60657
60771
|
if (!rows || rows.length === 0) return null;
|
|
60658
60772
|
return /* @__PURE__ */ jsxs(Table, { className: cn("rounded border text-left shadow-lg", tableClassName), children: [
|
|
@@ -60678,14 +60792,14 @@ function ComparisonTableTooltips({
|
|
|
60678
60792
|
] }, idx)) })
|
|
60679
60793
|
] });
|
|
60680
60794
|
}, [tableSlot, rows, tableClassName, tableHeaderClassName, tableCellClassName, optionALabel, optionBLabel, renderCellContent]);
|
|
60681
|
-
const headingContent =
|
|
60795
|
+
const headingContent = React51.useMemo(() => {
|
|
60682
60796
|
if (!heading) return null;
|
|
60683
60797
|
if (typeof heading === "string") {
|
|
60684
60798
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-center text-4xl font-semibold", headingClassName), children: heading });
|
|
60685
60799
|
}
|
|
60686
60800
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60687
60801
|
}, [heading, headingClassName]);
|
|
60688
|
-
const descriptionContent =
|
|
60802
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60689
60803
|
if (!description) return null;
|
|
60690
60804
|
if (typeof description === "string") {
|
|
60691
60805
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-center text-muted-foreground", descriptionClassName), children: description });
|
|
@@ -60727,7 +60841,7 @@ function ComparisonFeatureGrid({
|
|
|
60727
60841
|
pattern,
|
|
60728
60842
|
patternOpacity
|
|
60729
60843
|
}) {
|
|
60730
|
-
const renderStatusIcon =
|
|
60844
|
+
const renderStatusIcon = React51.useCallback((status) => {
|
|
60731
60845
|
if (status === true) {
|
|
60732
60846
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/check", size: 20, className: "text-success" });
|
|
60733
60847
|
}
|
|
@@ -60736,7 +60850,7 @@ function ComparisonFeatureGrid({
|
|
|
60736
60850
|
}
|
|
60737
60851
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 20, className: "text-destructive" });
|
|
60738
60852
|
}, []);
|
|
60739
|
-
const gridContent =
|
|
60853
|
+
const gridContent = React51.useMemo(() => {
|
|
60740
60854
|
if (gridSlot) return gridSlot;
|
|
60741
60855
|
if (!features || features.length === 0) return null;
|
|
60742
60856
|
return /* @__PURE__ */ jsxs(
|
|
@@ -60802,14 +60916,14 @@ function ComparisonFeatureGrid({
|
|
|
60802
60916
|
optionBLabel,
|
|
60803
60917
|
renderStatusIcon
|
|
60804
60918
|
]);
|
|
60805
|
-
const headingContent =
|
|
60919
|
+
const headingContent = React51.useMemo(() => {
|
|
60806
60920
|
if (!heading) return null;
|
|
60807
60921
|
if (typeof heading === "string") {
|
|
60808
60922
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-center text-4xl font-semibold", headingClassName), children: heading });
|
|
60809
60923
|
}
|
|
60810
60924
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60811
60925
|
}, [heading, headingClassName]);
|
|
60812
|
-
const descriptionContent =
|
|
60926
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60813
60927
|
if (!description) return null;
|
|
60814
60928
|
if (typeof description === "string") {
|
|
60815
60929
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-center text-muted-foreground", descriptionClassName), children: description });
|
|
@@ -60853,7 +60967,7 @@ function ComparisonAiModels({
|
|
|
60853
60967
|
optixFlowConfig
|
|
60854
60968
|
}) {
|
|
60855
60969
|
const [hoveredModel, setHoveredModel] = useState(null);
|
|
60856
|
-
const renderStatusIcon =
|
|
60970
|
+
const renderStatusIcon = React51.useCallback((status) => {
|
|
60857
60971
|
if (status === "best") {
|
|
60858
60972
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check", size: 16, className: "text-success" });
|
|
60859
60973
|
}
|
|
@@ -60862,7 +60976,7 @@ function ComparisonAiModels({
|
|
|
60862
60976
|
}
|
|
60863
60977
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/minus", size: 16, className: "text-muted-foreground" });
|
|
60864
60978
|
}, []);
|
|
60865
|
-
const getCellClassName =
|
|
60979
|
+
const getCellClassName = React51.useCallback(
|
|
60866
60980
|
(status, modelKey) => {
|
|
60867
60981
|
const baseClass = "cursor-pointer py-4 text-center font-medium transition-all duration-300";
|
|
60868
60982
|
let statusClass = "";
|
|
@@ -60883,7 +60997,7 @@ function ComparisonAiModels({
|
|
|
60883
60997
|
},
|
|
60884
60998
|
[hoveredModel]
|
|
60885
60999
|
);
|
|
60886
|
-
const getSummaryCardClassName =
|
|
61000
|
+
const getSummaryCardClassName = React51.useCallback(
|
|
60887
61001
|
(modelKey) => {
|
|
60888
61002
|
const baseClass = "rounded border border-border/30 bg-background/50 p-3 transition-all duration-300";
|
|
60889
61003
|
if (hoveredModel === modelKey) {
|
|
@@ -60898,7 +61012,7 @@ function ComparisonAiModels({
|
|
|
60898
61012
|
},
|
|
60899
61013
|
[hoveredModel]
|
|
60900
61014
|
);
|
|
60901
|
-
const tableContent =
|
|
61015
|
+
const tableContent = React51.useMemo(() => {
|
|
60902
61016
|
if (tableSlot) return tableSlot;
|
|
60903
61017
|
if (!models || !comparisonData || comparisonData.length === 0) return null;
|
|
60904
61018
|
return /* @__PURE__ */ jsx(
|
|
@@ -60976,7 +61090,7 @@ function ComparisonAiModels({
|
|
|
60976
61090
|
getCellClassName,
|
|
60977
61091
|
renderStatusIcon
|
|
60978
61092
|
]);
|
|
60979
|
-
const analysisContent =
|
|
61093
|
+
const analysisContent = React51.useMemo(() => {
|
|
60980
61094
|
if (analysisSlot) return analysisSlot;
|
|
60981
61095
|
if (!models) return null;
|
|
60982
61096
|
return /* @__PURE__ */ jsx("div", { className: cn(
|
|
@@ -61017,14 +61131,14 @@ function ComparisonAiModels({
|
|
|
61017
61131
|
] })
|
|
61018
61132
|
] }) });
|
|
61019
61133
|
}, [analysisSlot, models, analysisClassName, getSummaryCardClassName]);
|
|
61020
|
-
const headingContent =
|
|
61134
|
+
const headingContent = React51.useMemo(() => {
|
|
61021
61135
|
if (!heading) return null;
|
|
61022
61136
|
if (typeof heading === "string") {
|
|
61023
61137
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold md:text-4xl lg:text-5xl", headingClassName), children: heading });
|
|
61024
61138
|
}
|
|
61025
61139
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
61026
61140
|
}, [heading, headingClassName]);
|
|
61027
|
-
const descriptionContent =
|
|
61141
|
+
const descriptionContent = React51.useMemo(() => {
|
|
61028
61142
|
if (!description) return null;
|
|
61029
61143
|
if (typeof description === "string") {
|
|
61030
61144
|
return /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -61074,7 +61188,7 @@ function ComparisonLegacyModern({
|
|
|
61074
61188
|
pattern,
|
|
61075
61189
|
patternOpacity
|
|
61076
61190
|
}) {
|
|
61077
|
-
const columnsContent =
|
|
61191
|
+
const columnsContent = React51.useMemo(() => {
|
|
61078
61192
|
if (columnsSlot) return columnsSlot;
|
|
61079
61193
|
if (!legacyFeatures || legacyFeatures.length === 0 || !modernFeatures || modernFeatures.length === 0)
|
|
61080
61194
|
return null;
|
|
@@ -61086,7 +61200,7 @@ function ComparisonLegacyModern({
|
|
|
61086
61200
|
legacyColumnClassName
|
|
61087
61201
|
), children: [
|
|
61088
61202
|
legacyTitle && (typeof legacyTitle === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-medium", children: legacyTitle }) : legacyTitle),
|
|
61089
|
-
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: legacyFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
61203
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: legacyFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
61090
61204
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
61091
61205
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16, className: "my-1.5 shrink-0 text-muted-foreground" }),
|
|
61092
61206
|
/* @__PURE__ */ jsx("li", { className: "text-sm", children: feature.text })
|
|
@@ -61103,7 +61217,7 @@ function ComparisonLegacyModern({
|
|
|
61103
61217
|
),
|
|
61104
61218
|
children: [
|
|
61105
61219
|
modernTitle && (typeof modernTitle === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-medium", children: modernTitle }) : modernTitle),
|
|
61106
|
-
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: modernFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
61220
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: modernFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
61107
61221
|
/* @__PURE__ */ jsxs("li", { className: "flex items-center gap-2 text-sm", children: [
|
|
61108
61222
|
/* @__PURE__ */ jsx("span", { className: "text-lg", children: feature.emoji }),
|
|
61109
61223
|
feature.text
|
|
@@ -61115,7 +61229,7 @@ function ComparisonLegacyModern({
|
|
|
61115
61229
|
)
|
|
61116
61230
|
] });
|
|
61117
61231
|
}, [columnsSlot, legacyFeatures, modernFeatures, legacyTitle, modernTitle, legacyColumnClassName, modernColumnClassName]);
|
|
61118
|
-
const headingContent =
|
|
61232
|
+
const headingContent = React51.useMemo(() => {
|
|
61119
61233
|
if (!heading && !headingHighlight) return null;
|
|
61120
61234
|
return /* @__PURE__ */ jsxs("h2", { className: cn("text-4xl font-medium md:text-5xl lg:text-7xl", headingClassName), children: [
|
|
61121
61235
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
@@ -61128,7 +61242,7 @@ function ComparisonLegacyModern({
|
|
|
61128
61242
|
] }) : headingHighlight)
|
|
61129
61243
|
] });
|
|
61130
61244
|
}, [heading, headingHighlight, headingClassName, headingHighlightClassName]);
|
|
61131
|
-
const descriptionContent =
|
|
61245
|
+
const descriptionContent = React51.useMemo(() => {
|
|
61132
61246
|
if (!description) return null;
|
|
61133
61247
|
if (typeof description === "string") {
|
|
61134
61248
|
return /* @__PURE__ */ jsx("p", { className: cn("text-lg", descriptionClassName), children: description });
|
|
@@ -61301,7 +61415,7 @@ var NavbarMobileMenu = ({
|
|
|
61301
61415
|
closeIconClassName,
|
|
61302
61416
|
title = "Mobile Navigation"
|
|
61303
61417
|
}) => {
|
|
61304
|
-
|
|
61418
|
+
React51.useEffect(() => {
|
|
61305
61419
|
if (open) {
|
|
61306
61420
|
const originalOverflow = document.body.style.overflow;
|
|
61307
61421
|
document.body.style.overflow = "hidden";
|
|
@@ -61530,7 +61644,7 @@ var NavbarDropdownMenu = ({
|
|
|
61530
61644
|
patternOpacity,
|
|
61531
61645
|
optixFlowConfig
|
|
61532
61646
|
}) => {
|
|
61533
|
-
const [open, setOpen] =
|
|
61647
|
+
const [open, setOpen] = React51.useState(false);
|
|
61534
61648
|
const renderAuthActions = useMemo(() => {
|
|
61535
61649
|
if (authActionsSlot) return authActionsSlot;
|
|
61536
61650
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -61756,7 +61870,7 @@ var NavbarCenteredMenu = ({
|
|
|
61756
61870
|
patternOpacity,
|
|
61757
61871
|
optixFlowConfig
|
|
61758
61872
|
}) => {
|
|
61759
|
-
const [open, setOpen] =
|
|
61873
|
+
const [open, setOpen] = React51.useState(false);
|
|
61760
61874
|
const renderAuthActions = useMemo(() => {
|
|
61761
61875
|
if (authActionsSlot) return authActionsSlot;
|
|
61762
61876
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -61896,7 +62010,7 @@ var DesktopMenuItem = ({
|
|
|
61896
62010
|
index,
|
|
61897
62011
|
optixFlowConfig
|
|
61898
62012
|
}) => {
|
|
61899
|
-
const imagesRef =
|
|
62013
|
+
const imagesRef = React51.useRef([]);
|
|
61900
62014
|
const layout = link.layout || "simple-grid";
|
|
61901
62015
|
const handleMouseEnter = (event) => {
|
|
61902
62016
|
const index2 = Number(event.currentTarget.getAttribute("data-index"));
|
|
@@ -63131,7 +63245,7 @@ var NavbarFeatureGrid = ({
|
|
|
63131
63245
|
patternOpacity,
|
|
63132
63246
|
optixFlowConfig
|
|
63133
63247
|
}) => {
|
|
63134
|
-
const [open, setOpen] =
|
|
63248
|
+
const [open, setOpen] = React51.useState(false);
|
|
63135
63249
|
const renderAuthActions = useMemo(() => {
|
|
63136
63250
|
if (authActionsSlot) return authActionsSlot;
|
|
63137
63251
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -66341,7 +66455,7 @@ var DesktopMenuItem7 = ({
|
|
|
66341
66455
|
if (item.groups && item.groups.length > 0) {
|
|
66342
66456
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
66343
66457
|
/* @__PURE__ */ jsx(NavigationMenuTrigger, { children: item.label }),
|
|
66344
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "p-0", children: /* @__PURE__ */ jsx("div", { className: "flex", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxs(
|
|
66458
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "p-0", children: /* @__PURE__ */ jsx("div", { className: "flex", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
66345
66459
|
groupIndex > 0 && /* @__PURE__ */ jsx(
|
|
66346
66460
|
Separator,
|
|
66347
66461
|
{
|
|
@@ -67093,7 +67207,7 @@ var NavbarSimpleLinks = ({
|
|
|
67093
67207
|
const renderNavItems = useMemo(() => {
|
|
67094
67208
|
if (navItemsSlot) return navItemsSlot;
|
|
67095
67209
|
if (!navItems || navItems.length === 0) return null;
|
|
67096
|
-
return navItems.map((item) => /* @__PURE__ */ jsx(
|
|
67210
|
+
return navItems.map((item) => /* @__PURE__ */ jsx(React51.Fragment, { children: /* @__PURE__ */ jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsx(
|
|
67097
67211
|
NavigationMenuLink,
|
|
67098
67212
|
{
|
|
67099
67213
|
"data-nav-item": item.name,
|
|
@@ -72122,7 +72236,7 @@ function PricingFullComparison({
|
|
|
72122
72236
|
resolvedPlanIds[index]
|
|
72123
72237
|
))
|
|
72124
72238
|
] }) }),
|
|
72125
|
-
/* @__PURE__ */ jsx("tbody", { children: categories.map((category) => /* @__PURE__ */ jsxs(
|
|
72239
|
+
/* @__PURE__ */ jsx("tbody", { children: categories.map((category) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
72126
72240
|
/* @__PURE__ */ jsx("tr", { className: cn(getNestedCardBg(background), getNestedCardTextColor(background), categoryRowClassName), children: /* @__PURE__ */ jsx(
|
|
72127
72241
|
"td",
|
|
72128
72242
|
{
|
|
@@ -76723,9 +76837,9 @@ function ProcessStickySteps({
|
|
|
76723
76837
|
);
|
|
76724
76838
|
}
|
|
76725
76839
|
var usePrevious = (value) => {
|
|
76726
|
-
const [prev, setPrev] =
|
|
76727
|
-
const ref =
|
|
76728
|
-
|
|
76840
|
+
const [prev, setPrev] = React51.useState(void 0);
|
|
76841
|
+
const ref = React51.useRef(value);
|
|
76842
|
+
React51.useEffect(() => {
|
|
76729
76843
|
setPrev(ref.current);
|
|
76730
76844
|
ref.current = value;
|
|
76731
76845
|
}, [value]);
|
|
@@ -76738,12 +76852,12 @@ var ProcessCard = ({
|
|
|
76738
76852
|
itemClassName,
|
|
76739
76853
|
background
|
|
76740
76854
|
}) => {
|
|
76741
|
-
const ref =
|
|
76855
|
+
const ref = React51.useRef(null);
|
|
76742
76856
|
const itemInView = useInView(ref, {
|
|
76743
76857
|
amount: 0,
|
|
76744
76858
|
margin: "0px 0px -60% 0px"
|
|
76745
76859
|
});
|
|
76746
|
-
|
|
76860
|
+
React51.useEffect(() => {
|
|
76747
76861
|
if (itemInView) {
|
|
76748
76862
|
setActive(index);
|
|
76749
76863
|
}
|
|
@@ -76793,7 +76907,7 @@ function ProcessScrollImage({
|
|
|
76793
76907
|
ctaText,
|
|
76794
76908
|
ctaUrl
|
|
76795
76909
|
}) {
|
|
76796
|
-
const [active, setActive] =
|
|
76910
|
+
const [active, setActive] = React51.useState(0);
|
|
76797
76911
|
const previousActive = usePrevious(active);
|
|
76798
76912
|
const resolvedHeading = title ?? heading;
|
|
76799
76913
|
const resolvedActions = actions ?? (ctaText && ctaUrl ? [
|
|
@@ -76977,7 +77091,7 @@ var ProcessCard2 = ({
|
|
|
76977
77091
|
hoverImageClassName,
|
|
76978
77092
|
background
|
|
76979
77093
|
}) => {
|
|
76980
|
-
const [isHovered, setIsHovered] =
|
|
77094
|
+
const [isHovered, setIsHovered] = React51.useState(false);
|
|
76981
77095
|
const titleText = typeof step.title === "string" ? step.title : `Step ${index + 1}`;
|
|
76982
77096
|
return /* @__PURE__ */ jsxs(
|
|
76983
77097
|
"li",
|
|
@@ -77301,7 +77415,7 @@ function ProcessExpandableTimeline({
|
|
|
77301
77415
|
// Backwards compatibility
|
|
77302
77416
|
title
|
|
77303
77417
|
}) {
|
|
77304
|
-
const [expandedIndex, setExpandedIndex] =
|
|
77418
|
+
const [expandedIndex, setExpandedIndex] = React51.useState(null);
|
|
77305
77419
|
const resolvedHeading = title ?? heading;
|
|
77306
77420
|
const toggleExpand = (index) => {
|
|
77307
77421
|
setExpandedIndex(expandedIndex === index ? null : index);
|
|
@@ -82072,7 +82186,7 @@ function ListAchievementsShowcase({
|
|
|
82072
82186
|
if (!items || items.length === 0) return null;
|
|
82073
82187
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col", itemsClassName), children: [
|
|
82074
82188
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
82075
|
-
items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
82189
|
+
items.map((item, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
82076
82190
|
/* @__PURE__ */ jsxs(
|
|
82077
82191
|
"div",
|
|
82078
82192
|
{
|
|
@@ -82192,7 +82306,7 @@ function ListCareerTimeline({
|
|
|
82192
82306
|
const renderExperiences = useMemo(() => {
|
|
82193
82307
|
if (experiencesSlot) return experiencesSlot;
|
|
82194
82308
|
if (!experiences || experiences.length === 0) return null;
|
|
82195
|
-
return /* @__PURE__ */ jsx("div", { className: experiencesClassName, children: experiences.map((experience, idx) => /* @__PURE__ */ jsxs(
|
|
82309
|
+
return /* @__PURE__ */ jsx("div", { className: experiencesClassName, children: experiences.map((experience, idx) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
82196
82310
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
82197
82311
|
/* @__PURE__ */ jsxs(
|
|
82198
82312
|
"div",
|
|
@@ -82213,7 +82327,7 @@ function ListCareerTimeline({
|
|
|
82213
82327
|
const renderAwards = useMemo(() => {
|
|
82214
82328
|
if (awardsSlot) return awardsSlot;
|
|
82215
82329
|
if (!awards || awards.length === 0) return null;
|
|
82216
|
-
return /* @__PURE__ */ jsx("div", { className: awardsClassName, children: awards.map((award, idx) => /* @__PURE__ */ jsxs(
|
|
82330
|
+
return /* @__PURE__ */ jsx("div", { className: awardsClassName, children: awards.map((award, idx) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
82217
82331
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
82218
82332
|
/* @__PURE__ */ jsxs(
|
|
82219
82333
|
"div",
|
|
@@ -82348,7 +82462,7 @@ function ListMetricsDashboard({
|
|
|
82348
82462
|
activeCategory: controlledActiveCategory,
|
|
82349
82463
|
onActiveCategoryChange
|
|
82350
82464
|
}) {
|
|
82351
|
-
const [internalActiveTab, setInternalActiveTab] =
|
|
82465
|
+
const [internalActiveTab, setInternalActiveTab] = React51.useState("all");
|
|
82352
82466
|
const activeTab = controlledActiveCategory ?? internalActiveTab;
|
|
82353
82467
|
const handleTabChange = (value) => {
|
|
82354
82468
|
if (onActiveCategoryChange) {
|
|
@@ -82832,7 +82946,7 @@ function ListSearchableGrid({
|
|
|
82832
82946
|
searchTerm: controlledSearchTerm,
|
|
82833
82947
|
onSearchTermChange
|
|
82834
82948
|
}) {
|
|
82835
|
-
const [internalSearchTerm, setInternalSearchTerm] =
|
|
82949
|
+
const [internalSearchTerm, setInternalSearchTerm] = React51.useState("");
|
|
82836
82950
|
const searchTerm = controlledSearchTerm ?? internalSearchTerm;
|
|
82837
82951
|
const handleSearchChange = (value) => {
|
|
82838
82952
|
if (onSearchTermChange) {
|
|
@@ -82841,7 +82955,7 @@ function ListSearchableGrid({
|
|
|
82841
82955
|
setInternalSearchTerm(value);
|
|
82842
82956
|
}
|
|
82843
82957
|
};
|
|
82844
|
-
const filteredItems =
|
|
82958
|
+
const filteredItems = React51.useMemo(() => {
|
|
82845
82959
|
if (!searchTerm) {
|
|
82846
82960
|
return items ?? [];
|
|
82847
82961
|
}
|
|
@@ -83004,7 +83118,7 @@ function ListSearchableGrid({
|
|
|
83004
83118
|
}
|
|
83005
83119
|
);
|
|
83006
83120
|
}
|
|
83007
|
-
var { useMemo:
|
|
83121
|
+
var { useMemo: useMemo439 } = React51;
|
|
83008
83122
|
function OfferModalNewsletterDiscount({
|
|
83009
83123
|
title,
|
|
83010
83124
|
emailPlaceholder,
|
|
@@ -83072,7 +83186,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83072
83186
|
});
|
|
83073
83187
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
83074
83188
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83075
|
-
const renderCloseButton =
|
|
83189
|
+
const renderCloseButton = useMemo439(() => {
|
|
83076
83190
|
if (closeButtonSlot) return closeButtonSlot;
|
|
83077
83191
|
if (!closeButtonText) return null;
|
|
83078
83192
|
return /* @__PURE__ */ jsx("div", { className: "absolute end-1.5 top-1.5", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
@@ -83086,12 +83200,12 @@ function OfferModalNewsletterDiscount({
|
|
|
83086
83200
|
}
|
|
83087
83201
|
) }) });
|
|
83088
83202
|
}, [closeButtonSlot, closeButtonText, closeClassName]);
|
|
83089
|
-
const renderHeader =
|
|
83203
|
+
const renderHeader = useMemo439(() => {
|
|
83090
83204
|
if (headerSlot) return headerSlot;
|
|
83091
83205
|
if (!title) return null;
|
|
83092
83206
|
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 }) });
|
|
83093
83207
|
}, [headerSlot, title, headerClassName, titleClassName]);
|
|
83094
|
-
const renderForm =
|
|
83208
|
+
const renderForm = useMemo439(() => {
|
|
83095
83209
|
if (formSlot) return formSlot;
|
|
83096
83210
|
return /* @__PURE__ */ jsxs(
|
|
83097
83211
|
Form,
|
|
@@ -83153,7 +83267,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83153
83267
|
}
|
|
83154
83268
|
) });
|
|
83155
83269
|
}
|
|
83156
|
-
var { useMemo:
|
|
83270
|
+
var { useMemo: useMemo440 } = React51;
|
|
83157
83271
|
function OfferModalMembershipImage({
|
|
83158
83272
|
overline,
|
|
83159
83273
|
title,
|
|
@@ -83230,7 +83344,7 @@ function OfferModalMembershipImage({
|
|
|
83230
83344
|
});
|
|
83231
83345
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
83232
83346
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83233
|
-
const renderImage =
|
|
83347
|
+
const renderImage = useMemo440(() => {
|
|
83234
83348
|
if (imageSlot) return imageSlot;
|
|
83235
83349
|
if (!image) return null;
|
|
83236
83350
|
return /* @__PURE__ */ jsx("div", { className: cn("max-h-[290px] h-full overflow-hidden max-lg:hidden", imageWrapperClassName), children: /* @__PURE__ */ jsx(
|
|
@@ -83243,7 +83357,7 @@ function OfferModalMembershipImage({
|
|
|
83243
83357
|
}
|
|
83244
83358
|
) });
|
|
83245
83359
|
}, [imageSlot, image, imageWrapperClassName, imageClassName, optixFlowConfig]);
|
|
83246
|
-
const renderCloseButton =
|
|
83360
|
+
const renderCloseButton = useMemo440(() => {
|
|
83247
83361
|
if (closeButtonSlot) return closeButtonSlot;
|
|
83248
83362
|
return /* @__PURE__ */ jsx("div", { className: "absolute -end-px -top-px z-10", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
83249
83363
|
Pressable,
|
|
@@ -83259,7 +83373,7 @@ function OfferModalMembershipImage({
|
|
|
83259
83373
|
}
|
|
83260
83374
|
) }) });
|
|
83261
83375
|
}, [closeButtonSlot, closeClassName]);
|
|
83262
|
-
const renderForm =
|
|
83376
|
+
const renderForm = useMemo440(() => {
|
|
83263
83377
|
if (formSlot) return formSlot;
|
|
83264
83378
|
return /* @__PURE__ */ jsxs(
|
|
83265
83379
|
Form,
|
|
@@ -83322,7 +83436,7 @@ function OfferModalMembershipImage({
|
|
|
83322
83436
|
}
|
|
83323
83437
|
);
|
|
83324
83438
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
83325
|
-
const renderFooter =
|
|
83439
|
+
const renderFooter = useMemo440(() => {
|
|
83326
83440
|
if (footerSlot) return footerSlot;
|
|
83327
83441
|
if (!description) return null;
|
|
83328
83442
|
return /* @__PURE__ */ jsx(DialogFooter, { className: footerClassName, children: /* @__PURE__ */ jsx(DialogDescription, { className: cn("text-muted-foreground text-center text-xs leading-relaxed", descriptionClassName), children: description }) });
|
|
@@ -83442,7 +83556,7 @@ function SheetDescription({
|
|
|
83442
83556
|
}
|
|
83443
83557
|
);
|
|
83444
83558
|
}
|
|
83445
|
-
var { useMemo:
|
|
83559
|
+
var { useMemo: useMemo441 } = React51;
|
|
83446
83560
|
function OfferModalSheetNewsletter({
|
|
83447
83561
|
logo,
|
|
83448
83562
|
logoSlot,
|
|
@@ -83525,7 +83639,7 @@ function OfferModalSheetNewsletter({
|
|
|
83525
83639
|
});
|
|
83526
83640
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
83527
83641
|
const sheetProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83528
|
-
const renderLogo =
|
|
83642
|
+
const renderLogo = useMemo441(() => {
|
|
83529
83643
|
if (logoSlot) return logoSlot;
|
|
83530
83644
|
if (!logo) return null;
|
|
83531
83645
|
const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
@@ -83539,7 +83653,7 @@ function OfferModalSheetNewsletter({
|
|
|
83539
83653
|
}
|
|
83540
83654
|
);
|
|
83541
83655
|
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
83542
|
-
const renderHeader =
|
|
83656
|
+
const renderHeader = useMemo441(() => {
|
|
83543
83657
|
if (headerSlot) return headerSlot;
|
|
83544
83658
|
return /* @__PURE__ */ jsxs(SheetHeader, { className: cn("gap-8 p-0", headerClassName), children: [
|
|
83545
83659
|
renderLogo,
|
|
@@ -83549,7 +83663,7 @@ function OfferModalSheetNewsletter({
|
|
|
83549
83663
|
] })
|
|
83550
83664
|
] });
|
|
83551
83665
|
}, [headerSlot, renderLogo, headerClassName, title, titleClassName, description, descriptionClassName]);
|
|
83552
|
-
const renderForm =
|
|
83666
|
+
const renderForm = useMemo441(() => {
|
|
83553
83667
|
if (formSlot) return formSlot;
|
|
83554
83668
|
return /* @__PURE__ */ jsx(
|
|
83555
83669
|
Form,
|
|
@@ -83597,7 +83711,7 @@ function OfferModalSheetNewsletter({
|
|
|
83597
83711
|
}
|
|
83598
83712
|
);
|
|
83599
83713
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
83600
|
-
const renderLegal =
|
|
83714
|
+
const renderLegal = useMemo441(() => {
|
|
83601
83715
|
if (legalSlot) return legalSlot;
|
|
83602
83716
|
if (!termsUrl || !termsText || !privacyUrl || !privacyText) return null;
|
|
83603
83717
|
return /* @__PURE__ */ jsxs("p", { className: cn("text-muted-foreground text-xs", legalClassName), children: [
|
|
@@ -83611,7 +83725,7 @@ function OfferModalSheetNewsletter({
|
|
|
83611
83725
|
"."
|
|
83612
83726
|
] });
|
|
83613
83727
|
}, [legalSlot, termsUrl, termsText, privacyUrl, privacyText, legalClassName]);
|
|
83614
|
-
const renderImage =
|
|
83728
|
+
const renderImage = useMemo441(() => {
|
|
83615
83729
|
if (imageSlot) return imageSlot;
|
|
83616
83730
|
if (!image) return null;
|
|
83617
83731
|
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(
|
|
@@ -84191,10 +84305,10 @@ function ProjectDetailSidebarNavigation(props) {
|
|
|
84191
84305
|
heroImageClassName,
|
|
84192
84306
|
metadataClassName
|
|
84193
84307
|
} = props;
|
|
84194
|
-
const [activeSection, setActiveSection] =
|
|
84308
|
+
const [activeSection, setActiveSection] = React51.useState(
|
|
84195
84309
|
sections?.[0]?.id || ""
|
|
84196
84310
|
);
|
|
84197
|
-
|
|
84311
|
+
React51.useEffect(() => {
|
|
84198
84312
|
const handleScroll = () => {
|
|
84199
84313
|
const sectionElements = sections?.map(
|
|
84200
84314
|
(section) => document.getElementById(section.id)
|
|
@@ -87054,7 +87168,7 @@ function ProjectDetailTabbedCaseStudy(props) {
|
|
|
87054
87168
|
testimonialClassName,
|
|
87055
87169
|
toolsClassName
|
|
87056
87170
|
} = props;
|
|
87057
|
-
const [activeTab, setActiveTab] =
|
|
87171
|
+
const [activeTab, setActiveTab] = React51.useState(tabs?.[0]?.id || "");
|
|
87058
87172
|
const renderedBackAction = useMemo(() => {
|
|
87059
87173
|
if (backActionSlot) return backActionSlot;
|
|
87060
87174
|
if (!backAction) return null;
|
|
@@ -87442,7 +87556,7 @@ function RevealImage({
|
|
|
87442
87556
|
index,
|
|
87443
87557
|
optixFlowConfig
|
|
87444
87558
|
}) {
|
|
87445
|
-
const ref =
|
|
87559
|
+
const ref = React51.useRef(null);
|
|
87446
87560
|
const { scrollYProgress } = useScroll({
|
|
87447
87561
|
target: ref,
|
|
87448
87562
|
offset: ["start end", "end start"]
|
|
@@ -87637,7 +87751,7 @@ function ParallaxSection({
|
|
|
87637
87751
|
index,
|
|
87638
87752
|
optixFlowConfig
|
|
87639
87753
|
}) {
|
|
87640
|
-
const ref =
|
|
87754
|
+
const ref = React51.useRef(null);
|
|
87641
87755
|
const { scrollYProgress } = useScroll({
|
|
87642
87756
|
target: ref,
|
|
87643
87757
|
offset: ["start end", "end start"]
|
|
@@ -87710,7 +87824,7 @@ function ProjectDetailParallaxScroll(props) {
|
|
|
87710
87824
|
heroImageClassName,
|
|
87711
87825
|
sectionsClassName
|
|
87712
87826
|
} = props;
|
|
87713
|
-
const heroRef =
|
|
87827
|
+
const heroRef = React51.useRef(null);
|
|
87714
87828
|
const { scrollYProgress } = useScroll({
|
|
87715
87829
|
target: heroRef,
|
|
87716
87830
|
offset: ["start start", "end start"]
|
|
@@ -88040,7 +88154,7 @@ function BannerDeliveryCountdown({
|
|
|
88040
88154
|
}, [prefixText, timerContent, middleText, deliveryDateContent]);
|
|
88041
88155
|
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: [
|
|
88042
88156
|
iconContent,
|
|
88043
|
-
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(
|
|
88157
|
+
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
88044
88158
|
index > 0 ? " " : null,
|
|
88045
88159
|
part
|
|
88046
88160
|
] }, index)) })
|
|
@@ -89176,7 +89290,7 @@ function IndustriesExpandableShowcase({
|
|
|
89176
89290
|
patternClassName,
|
|
89177
89291
|
optixFlowConfig
|
|
89178
89292
|
}) {
|
|
89179
|
-
const [activeContractor, setActiveContractor] =
|
|
89293
|
+
const [activeContractor, setActiveContractor] = React51.useState(
|
|
89180
89294
|
contractors?.[0]?.id || ""
|
|
89181
89295
|
);
|
|
89182
89296
|
const handleContractorHover = (contractorId) => {
|
|
@@ -89829,7 +89943,7 @@ function ResourceDetailDocumentSidebar({
|
|
|
89829
89943
|
}) {
|
|
89830
89944
|
const renderedBreadcrumbs = useMemo(() => {
|
|
89831
89945
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
89832
|
-
return /* @__PURE__ */ jsx(Breadcrumb, { className: breadcrumbsClassName, children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
89946
|
+
return /* @__PURE__ */ jsx(Breadcrumb, { className: breadcrumbsClassName, children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
89833
89947
|
/* @__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 }) }),
|
|
89834
89948
|
index < (breadcrumbs?.length || 0) - 1 && /* @__PURE__ */ jsx(BreadcrumbSeparator, {})
|
|
89835
89949
|
] }, index)) }) });
|
|
@@ -93230,8 +93344,8 @@ function ServicesListTableHover({
|
|
|
93230
93344
|
patternOpacity,
|
|
93231
93345
|
optixFlowConfig
|
|
93232
93346
|
}) {
|
|
93233
|
-
const [hoveredIndex, setHoveredIndex] =
|
|
93234
|
-
const [mousePosition, setMousePosition] =
|
|
93347
|
+
const [hoveredIndex, setHoveredIndex] = React51.useState(null);
|
|
93348
|
+
const [mousePosition, setMousePosition] = React51.useState({ x: 0, y: 0 });
|
|
93235
93349
|
const handleMouseMove = (e) => {
|
|
93236
93350
|
setMousePosition({ x: e.clientX, y: e.clientY });
|
|
93237
93351
|
};
|
|
@@ -93481,7 +93595,7 @@ function ServicesListStickyImage({
|
|
|
93481
93595
|
patternOpacity,
|
|
93482
93596
|
optixFlowConfig
|
|
93483
93597
|
}) {
|
|
93484
|
-
const [activeIndex, setActiveIndex] =
|
|
93598
|
+
const [activeIndex, setActiveIndex] = React51.useState(0);
|
|
93485
93599
|
const renderServices = () => {
|
|
93486
93600
|
if (servicesSlot) return servicesSlot;
|
|
93487
93601
|
if (!services || services.length === 0) return null;
|
|
@@ -93733,8 +93847,8 @@ function ServicesListVideoShowcase({
|
|
|
93733
93847
|
patternOpacity,
|
|
93734
93848
|
optixFlowConfig
|
|
93735
93849
|
}) {
|
|
93736
|
-
const [playingIndex, setPlayingIndex] =
|
|
93737
|
-
const videoRefs =
|
|
93850
|
+
const [playingIndex, setPlayingIndex] = React51.useState(null);
|
|
93851
|
+
const videoRefs = React51.useRef([]);
|
|
93738
93852
|
const handleMouseEnter = (index) => {
|
|
93739
93853
|
setPlayingIndex(index);
|
|
93740
93854
|
videoRefs.current[index]?.play();
|
|
@@ -97027,7 +97141,7 @@ function StatsCircularProgress({
|
|
|
97027
97141
|
statInfoClassName
|
|
97028
97142
|
}) {
|
|
97029
97143
|
const effectiveDefaultCategory = defaultCategory || (categories && categories.length > 0 ? categories[0].id : "");
|
|
97030
|
-
const [category, setCategory] =
|
|
97144
|
+
const [category, setCategory] = React51.useState(effectiveDefaultCategory);
|
|
97031
97145
|
const badgeContent = useMemo(() => {
|
|
97032
97146
|
if (badgeSlot) return badgeSlot;
|
|
97033
97147
|
if (!badge) return null;
|
|
@@ -97320,8 +97434,8 @@ function StatsCardGroup({
|
|
|
97320
97434
|
);
|
|
97321
97435
|
}
|
|
97322
97436
|
function useAnimatedCounter(endValue, duration = 2e3, isVisible) {
|
|
97323
|
-
const [count, setCount] =
|
|
97324
|
-
|
|
97437
|
+
const [count, setCount] = React51.useState(0);
|
|
97438
|
+
React51.useEffect(() => {
|
|
97325
97439
|
if (!isVisible) return;
|
|
97326
97440
|
let startTime = null;
|
|
97327
97441
|
let animationFrame;
|
|
@@ -97409,9 +97523,9 @@ function StatsAnimatedCounter({
|
|
|
97409
97523
|
statLabelClassName,
|
|
97410
97524
|
statIconClassName
|
|
97411
97525
|
}) {
|
|
97412
|
-
const [isVisible, setIsVisible] =
|
|
97413
|
-
const sectionRef =
|
|
97414
|
-
|
|
97526
|
+
const [isVisible, setIsVisible] = React51.useState(false);
|
|
97527
|
+
const sectionRef = React51.useRef(null);
|
|
97528
|
+
React51.useEffect(() => {
|
|
97415
97529
|
const observer = new IntersectionObserver(
|
|
97416
97530
|
([entry]) => {
|
|
97417
97531
|
if (entry.isIntersecting) {
|
|
@@ -97499,8 +97613,8 @@ function StatsAnimatedCounter({
|
|
|
97499
97613
|
);
|
|
97500
97614
|
}
|
|
97501
97615
|
function useNumberTicker(endValue, duration = 2500, isVisible, decimals = 0) {
|
|
97502
|
-
const [displayValue, setDisplayValue] =
|
|
97503
|
-
|
|
97616
|
+
const [displayValue, setDisplayValue] = React51.useState("0");
|
|
97617
|
+
React51.useEffect(() => {
|
|
97504
97618
|
if (!isVisible) return;
|
|
97505
97619
|
let startTime = null;
|
|
97506
97620
|
let animationFrame;
|
|
@@ -97615,9 +97729,9 @@ function StatsNumberTicker({
|
|
|
97615
97729
|
statLabelClassName,
|
|
97616
97730
|
statDescriptionClassName
|
|
97617
97731
|
}) {
|
|
97618
|
-
const [isVisible, setIsVisible] =
|
|
97619
|
-
const sectionRef =
|
|
97620
|
-
|
|
97732
|
+
const [isVisible, setIsVisible] = React51.useState(false);
|
|
97733
|
+
const sectionRef = React51.useRef(null);
|
|
97734
|
+
React51.useEffect(() => {
|
|
97621
97735
|
const observer = new IntersectionObserver(
|
|
97622
97736
|
([entry]) => {
|
|
97623
97737
|
if (entry.isIntersecting) {
|
|
@@ -97876,9 +97990,9 @@ function StatsBarComparison({
|
|
|
97876
97990
|
barValueClassName,
|
|
97877
97991
|
barTrackClassName
|
|
97878
97992
|
}) {
|
|
97879
|
-
const [isVisible, setIsVisible] =
|
|
97880
|
-
const sectionRef =
|
|
97881
|
-
|
|
97993
|
+
const [isVisible, setIsVisible] = React51.useState(!animate);
|
|
97994
|
+
const sectionRef = React51.useRef(null);
|
|
97995
|
+
React51.useEffect(() => {
|
|
97882
97996
|
if (!animate) return;
|
|
97883
97997
|
const observer = new IntersectionObserver(
|
|
97884
97998
|
([entry]) => {
|
|
@@ -98056,7 +98170,7 @@ function TimelineVerticalIconDashed({
|
|
|
98056
98170
|
"mx-auto flex flex-col items-center justify-center text-center sm:max-w-xl",
|
|
98057
98171
|
stepsClassName
|
|
98058
98172
|
),
|
|
98059
|
-
children: steps.map((step, index) => /* @__PURE__ */ jsxs(
|
|
98173
|
+
children: steps.map((step, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
98060
98174
|
/* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center", stepClassName), children: [
|
|
98061
98175
|
/* @__PURE__ */ jsx(
|
|
98062
98176
|
"span",
|
|
@@ -98323,7 +98437,7 @@ function TimelineTwoColumnFeatured({
|
|
|
98323
98437
|
style,
|
|
98324
98438
|
optixFlowConfig
|
|
98325
98439
|
}) {
|
|
98326
|
-
const renderActions =
|
|
98440
|
+
const renderActions = React51.useMemo(() => {
|
|
98327
98441
|
if (actionsSlot) {
|
|
98328
98442
|
return actionsSlot;
|
|
98329
98443
|
}
|
|
@@ -98451,7 +98565,7 @@ function TimelineTwoColumnFeatured({
|
|
|
98451
98565
|
}
|
|
98452
98566
|
);
|
|
98453
98567
|
}
|
|
98454
|
-
var DiagonalPattern =
|
|
98568
|
+
var DiagonalPattern = React51.memo(({
|
|
98455
98569
|
className,
|
|
98456
98570
|
patternOpacity = 0.15
|
|
98457
98571
|
}) => {
|
|
@@ -98490,7 +98604,7 @@ function TimelineAlternatingDiagonal({
|
|
|
98490
98604
|
style,
|
|
98491
98605
|
optixFlowConfig
|
|
98492
98606
|
}) {
|
|
98493
|
-
const renderedBadge =
|
|
98607
|
+
const renderedBadge = React51.useMemo(() => {
|
|
98494
98608
|
if (badgeSlot) {
|
|
98495
98609
|
return badgeSlot;
|
|
98496
98610
|
}
|
|
@@ -98868,7 +98982,7 @@ function TimelineProductivityList({
|
|
|
98868
98982
|
}
|
|
98869
98983
|
);
|
|
98870
98984
|
}
|
|
98871
|
-
var ProcessBar =
|
|
98985
|
+
var ProcessBar = React51.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(React51.Fragment, { children: [
|
|
98872
98986
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsx(
|
|
98873
98987
|
motion.div,
|
|
98874
98988
|
{
|
|
@@ -98895,7 +99009,7 @@ var ProcessBar = React52.memo(({ currentStep, steps }) => /* @__PURE__ */ jsx("d
|
|
|
98895
99009
|
)
|
|
98896
99010
|
] })
|
|
98897
99011
|
] }, index)) }) }));
|
|
98898
|
-
var StepperContent =
|
|
99012
|
+
var StepperContent = React51.memo(({ step, optixFlowConfig, imageClassName, descriptionClassName, background }) => {
|
|
98899
99013
|
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: [
|
|
98900
99014
|
/* @__PURE__ */ jsx(
|
|
98901
99015
|
motion.div,
|
|
@@ -98928,7 +99042,7 @@ var StepperContent = React52.memo(({ step, optixFlowConfig, imageClassName, desc
|
|
|
98928
99042
|
)
|
|
98929
99043
|
] });
|
|
98930
99044
|
});
|
|
98931
|
-
var NavButtons =
|
|
99045
|
+
var NavButtons = React51.memo(({ handlePrev, handleNext }) => /* @__PURE__ */ jsxs("div", { className: "flex w-full justify-end gap-3 tracking-tight", children: [
|
|
98932
99046
|
/* @__PURE__ */ jsxs(
|
|
98933
99047
|
Pressable,
|
|
98934
99048
|
{
|
|
@@ -98979,10 +99093,10 @@ function TimelineStepperAnimated({
|
|
|
98979
99093
|
}) {
|
|
98980
99094
|
const safeInitialStep = (steps?.length ?? 0) > 0 ? Math.max(0, Math.min(initialStep ?? 0, (steps?.length ?? 1) - 1)) : 0;
|
|
98981
99095
|
const [currentStep, setCurrentStep] = useState(safeInitialStep);
|
|
98982
|
-
const handleNext =
|
|
99096
|
+
const handleNext = React51.useCallback(() => {
|
|
98983
99097
|
setCurrentStep((prev) => Math.min(prev + 1, (steps?.length ?? 1) - 1));
|
|
98984
99098
|
}, [steps?.length]);
|
|
98985
|
-
const handlePrev =
|
|
99099
|
+
const handlePrev = React51.useCallback(() => {
|
|
98986
99100
|
setCurrentStep((prev) => Math.max(prev - 1, 0));
|
|
98987
99101
|
}, []);
|
|
98988
99102
|
const safeCurrentStep = (steps?.length ?? 0) > 0 ? Math.max(0, Math.min(currentStep, (steps?.length ?? 1) - 1)) : 0;
|
|
@@ -99691,7 +99805,7 @@ function TimelineTabbedPhases({
|
|
|
99691
99805
|
style,
|
|
99692
99806
|
optixFlowConfig
|
|
99693
99807
|
}) {
|
|
99694
|
-
const renderDownloadButton =
|
|
99808
|
+
const renderDownloadButton = React51.useMemo(() => {
|
|
99695
99809
|
if (downloadSlot) {
|
|
99696
99810
|
return downloadSlot;
|
|
99697
99811
|
}
|
|
@@ -99911,7 +100025,7 @@ function TimelineProductLaunch({
|
|
|
99911
100025
|
id,
|
|
99912
100026
|
style
|
|
99913
100027
|
}) {
|
|
99914
|
-
const renderCta =
|
|
100028
|
+
const renderCta = React51.useMemo(() => {
|
|
99915
100029
|
if (ctaSlot) {
|
|
99916
100030
|
return ctaSlot;
|
|
99917
100031
|
}
|
|
@@ -100376,9 +100490,9 @@ function LinkTreeBlock({
|
|
|
100376
100490
|
}) {
|
|
100377
100491
|
const resolvedBackground = background;
|
|
100378
100492
|
const resolvedPattern = pattern ?? backgroundPattern;
|
|
100379
|
-
const [lightboxOpen, setLightboxOpen] =
|
|
100380
|
-
const [lightboxIndex, setLightboxIndex] =
|
|
100381
|
-
const lightboxItems =
|
|
100493
|
+
const [lightboxOpen, setLightboxOpen] = React51.useState(false);
|
|
100494
|
+
const [lightboxIndex, setLightboxIndex] = React51.useState(0);
|
|
100495
|
+
const lightboxItems = React51.useMemo(() => {
|
|
100382
100496
|
if (!mediaGallery || mediaGallery.length === 0) return [];
|
|
100383
100497
|
return mediaGallery.slice(0, mediaGalleryLimit).map((item, index) => ({
|
|
100384
100498
|
id: item.id ?? `media-${index}`,
|
|
@@ -100390,11 +100504,11 @@ function LinkTreeBlock({
|
|
|
100390
100504
|
share: true
|
|
100391
100505
|
}));
|
|
100392
100506
|
}, [mediaGallery, mediaGalleryLimit]);
|
|
100393
|
-
const handleMediaClick =
|
|
100507
|
+
const handleMediaClick = React51.useCallback((index) => {
|
|
100394
100508
|
setLightboxIndex(index);
|
|
100395
100509
|
setLightboxOpen(true);
|
|
100396
100510
|
}, []);
|
|
100397
|
-
const handleLightboxClose =
|
|
100511
|
+
const handleLightboxClose = React51.useCallback(() => {
|
|
100398
100512
|
setLightboxOpen(false);
|
|
100399
100513
|
}, []);
|
|
100400
100514
|
const resolveImage = (value, fallbackAlt) => {
|
|
@@ -100406,7 +100520,7 @@ function LinkTreeBlock({
|
|
|
100406
100520
|
};
|
|
100407
100521
|
const nameForAlt = typeof brandName === "string" ? brandName : "Brand avatar";
|
|
100408
100522
|
const resolvedAvatar = resolveImage(brandAvatar || brandLogo, nameForAlt) || resolveImage(blockBrandedIconsAndPlaceholders.avatar1, nameForAlt);
|
|
100409
|
-
const renderBrandHeader =
|
|
100523
|
+
const renderBrandHeader = React51.useMemo(() => {
|
|
100410
100524
|
if (brandSlot) return brandSlot;
|
|
100411
100525
|
return /* @__PURE__ */ jsxs(
|
|
100412
100526
|
"div",
|
|
@@ -100493,7 +100607,7 @@ function LinkTreeBlock({
|
|
|
100493
100607
|
brandTagline,
|
|
100494
100608
|
taglineClassName
|
|
100495
100609
|
]);
|
|
100496
|
-
const renderLinks =
|
|
100610
|
+
const renderLinks = React51.useMemo(() => {
|
|
100497
100611
|
if (linksSlot) return linksSlot;
|
|
100498
100612
|
if (!links || links.length === 0) return null;
|
|
100499
100613
|
return /* @__PURE__ */ jsx("div", { className: cn("space-y-3", linksClassName), children: links.map((link, index) => {
|
|
@@ -100610,7 +100724,7 @@ function LinkTreeBlock({
|
|
|
100610
100724
|
linkBadgeClassName,
|
|
100611
100725
|
linkChevronClassName
|
|
100612
100726
|
]);
|
|
100613
|
-
const renderMediaGallery =
|
|
100727
|
+
const renderMediaGallery = React51.useMemo(() => {
|
|
100614
100728
|
if (mediaGallerySlot) return mediaGallerySlot;
|
|
100615
100729
|
if (!mediaGallery || mediaGallery.length === 0) return null;
|
|
100616
100730
|
const items = mediaGallery.slice(0, mediaGalleryLimit);
|
|
@@ -100724,7 +100838,7 @@ function LinkTreeBlock({
|
|
|
100724
100838
|
mediaGalleryOverlayClassName,
|
|
100725
100839
|
mediaGalleryPlayIconClassName
|
|
100726
100840
|
]);
|
|
100727
|
-
const renderSocialLinks =
|
|
100841
|
+
const renderSocialLinks = React51.useMemo(() => {
|
|
100728
100842
|
if (socialLinksSlot) return socialLinksSlot;
|
|
100729
100843
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
100730
100844
|
return /* @__PURE__ */ jsx(
|
|
@@ -100770,7 +100884,7 @@ function LinkTreeBlock({
|
|
|
100770
100884
|
socialIconClassName,
|
|
100771
100885
|
socialLinkClassName
|
|
100772
100886
|
]);
|
|
100773
|
-
const renderFooter =
|
|
100887
|
+
const renderFooter = React51.useMemo(() => {
|
|
100774
100888
|
if (footerSlot) return footerSlot;
|
|
100775
100889
|
if (!footerAction) return null;
|
|
100776
100890
|
const resolvedFooterAction = footerAction;
|
|
@@ -103856,15 +103970,21 @@ var BLOCK_REGISTRY = {
|
|
|
103856
103970
|
"contact-faq": {
|
|
103857
103971
|
id: "contact-faq",
|
|
103858
103972
|
name: "Contact FAQ",
|
|
103859
|
-
description: "A contact form
|
|
103860
|
-
semanticTags: ["contact", "faq", "questions", "inquiry", "form", "support"],
|
|
103973
|
+
description: "A two-column contact form with an FAQ accordion sidebar. Displays frequently asked questions alongside a contact form so visitors can find answers before submitting inquiries. Falls back to a single-column centered layout when no FAQ items are provided.",
|
|
103974
|
+
semanticTags: ["contact", "faq", "questions", "inquiry", "form", "support", "accordion", "two-column"],
|
|
103861
103975
|
category: "contact",
|
|
103862
103976
|
component: ContactFaq,
|
|
103863
103977
|
props: "ContactFaqProps",
|
|
103864
103978
|
exampleUsage: `
|
|
103865
103979
|
<ContactFaq
|
|
103866
103980
|
heading="Have a Question?"
|
|
103867
|
-
description="
|
|
103981
|
+
description="Check our FAQs or send us a message"
|
|
103982
|
+
faqHeading="Frequently Asked Questions"
|
|
103983
|
+
items={[
|
|
103984
|
+
{ id: "1", question: "What are your hours?", answer: "We are open Monday to Friday, 9am to 5pm." },
|
|
103985
|
+
{ id: "2", question: "How do I reset my password?", answer: "Click the forgot password link on the login page." },
|
|
103986
|
+
]}
|
|
103987
|
+
formHeading="Still need help?"
|
|
103868
103988
|
buttonText="Send Question"
|
|
103869
103989
|
formConfig={{ endpoint: "/api/faq", format: "json" }}
|
|
103870
103990
|
/>
|
|
@@ -104156,14 +104276,15 @@ var BLOCK_REGISTRY = {
|
|
|
104156
104276
|
"contact-photography": {
|
|
104157
104277
|
id: "contact-photography",
|
|
104158
104278
|
name: "Contact Photography Services",
|
|
104159
|
-
description: "
|
|
104279
|
+
description: "Full-width split-screen contact form with edge-to-edge design, featuring heading, description and form on one side and a large full-height image on the other. Pattern background support, configurable media placement. Perfect for photographers, studios, and creative services.",
|
|
104160
104280
|
semanticTags: [
|
|
104161
104281
|
"contact",
|
|
104162
104282
|
"photography",
|
|
104163
|
-
"
|
|
104283
|
+
"split-screen",
|
|
104164
104284
|
"form",
|
|
104165
|
-
"
|
|
104166
|
-
"creative"
|
|
104285
|
+
"image",
|
|
104286
|
+
"creative",
|
|
104287
|
+
"edge-to-edge"
|
|
104167
104288
|
],
|
|
104168
104289
|
category: "contact",
|
|
104169
104290
|
component: ContactPhotography,
|
|
@@ -104171,8 +104292,11 @@ var BLOCK_REGISTRY = {
|
|
|
104171
104292
|
exampleUsage: `
|
|
104172
104293
|
<ContactPhotography
|
|
104173
104294
|
heading="Photography Services"
|
|
104174
|
-
description="Book a photography session"
|
|
104175
|
-
buttonText="
|
|
104295
|
+
description="Book a photography session with us"
|
|
104296
|
+
buttonText="Send Message"
|
|
104297
|
+
imageSrc="/studio.jpg"
|
|
104298
|
+
background="dark"
|
|
104299
|
+
pattern="grid"
|
|
104176
104300
|
formConfig={{ endpoint: "/api/photography", format: "json" }}
|
|
104177
104301
|
/>
|
|
104178
104302
|
`.trim()
|