@opensite/ui 2.7.9 → 2.8.1
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.cjs +25 -21
- package/dist/about-culture-tabs.d.cts +3 -3
- package/dist/about-culture-tabs.d.ts +3 -3
- package/dist/about-culture-tabs.js +23 -19
- package/dist/about-developer-profile.cjs +9 -5
- package/dist/about-developer-profile.d.cts +3 -3
- package/dist/about-developer-profile.d.ts +3 -3
- package/dist/about-developer-profile.js +9 -5
- package/dist/about-developer-story.d.cts +3 -3
- package/dist/about-developer-story.d.ts +3 -3
- package/dist/about-expandable-values.cjs +6 -2
- package/dist/about-expandable-values.d.cts +3 -3
- package/dist/about-expandable-values.d.ts +3 -3
- package/dist/about-expandable-values.js +6 -2
- package/dist/about-interactive-tabs.d.cts +3 -3
- package/dist/about-interactive-tabs.d.ts +3 -3
- package/dist/about-location-info-hero.cjs +6 -2
- package/dist/about-location-info-hero.d.cts +3 -3
- package/dist/about-location-info-hero.d.ts +3 -3
- package/dist/about-location-info-hero.js +6 -2
- 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.cjs +6 -2
- package/dist/about-mission-principles.d.cts +3 -3
- package/dist/about-mission-principles.d.ts +3 -3
- package/dist/about-mission-principles.js +6 -2
- package/dist/about-network-spotlight.cjs +18 -14
- package/dist/about-network-spotlight.d.cts +3 -3
- package/dist/about-network-spotlight.d.ts +3 -3
- package/dist/about-network-spotlight.js +16 -12
- package/dist/about-split-hero.cjs +6 -2
- package/dist/about-split-hero.d.cts +3 -3
- package/dist/about-split-hero.d.ts +3 -3
- package/dist/about-split-hero.js +6 -2
- package/dist/about-startup-team.cjs +6 -2
- package/dist/about-startup-team.d.cts +3 -3
- package/dist/about-startup-team.d.ts +3 -3
- package/dist/about-startup-team.js +6 -2
- 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.cjs +27 -23
- package/dist/article-breadcrumb-social.d.cts +3 -3
- package/dist/article-breadcrumb-social.d.ts +3 -3
- package/dist/article-breadcrumb-social.js +27 -23
- package/dist/article-chapters-author.cjs +29 -25
- package/dist/article-chapters-author.d.cts +3 -3
- package/dist/article-chapters-author.d.ts +3 -3
- package/dist/article-chapters-author.js +29 -25
- package/dist/article-compact-toc.cjs +26 -22
- package/dist/article-compact-toc.d.cts +3 -3
- package/dist/article-compact-toc.d.ts +3 -3
- package/dist/article-compact-toc.js +26 -22
- package/dist/article-hero-prose.d.cts +3 -3
- package/dist/article-hero-prose.d.ts +3 -3
- package/dist/article-sidebar-sticky.cjs +6 -2
- package/dist/article-sidebar-sticky.d.cts +3 -3
- package/dist/article-sidebar-sticky.d.ts +3 -3
- package/dist/article-sidebar-sticky.js +6 -2
- 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.cjs +28 -24
- package/dist/auto-scroll-carousel.d.cts +3 -3
- package/dist/auto-scroll-carousel.d.ts +3 -3
- package/dist/auto-scroll-carousel.js +26 -22
- package/dist/badge.d.cts +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/banner-announcement-dismissible.cjs +6 -2
- package/dist/banner-announcement-dismissible.d.cts +3 -3
- package/dist/banner-announcement-dismissible.d.ts +3 -3
- package/dist/banner-announcement-dismissible.js +6 -2
- package/dist/banner-countdown-sale.d.cts +3 -3
- package/dist/banner-countdown-sale.d.ts +3 -3
- package/dist/banner-delivery-countdown.cjs +6 -2
- package/dist/banner-delivery-countdown.d.cts +3 -3
- package/dist/banner-delivery-countdown.d.ts +3 -3
- package/dist/banner-delivery-countdown.js +6 -2
- package/dist/banner-event-promo.d.cts +3 -3
- package/dist/banner-event-promo.d.ts +3 -3
- package/dist/banner-floating-offer.cjs +6 -2
- package/dist/banner-floating-offer.d.cts +3 -3
- package/dist/banner-floating-offer.d.ts +3 -3
- package/dist/banner-floating-offer.js +6 -2
- package/dist/banner-gdpr-rights.cjs +6 -2
- package/dist/banner-gdpr-rights.d.cts +3 -3
- package/dist/banner-gdpr-rights.d.ts +3 -3
- package/dist/banner-gdpr-rights.js +6 -2
- package/dist/banner-privacy-notice.cjs +6 -2
- package/dist/banner-privacy-notice.d.cts +3 -3
- package/dist/banner-privacy-notice.d.ts +3 -3
- package/dist/banner-privacy-notice.js +6 -2
- package/dist/banner-promo-cta.d.cts +3 -3
- package/dist/banner-promo-cta.d.ts +3 -3
- package/dist/banner-social-follow.cjs +6 -2
- package/dist/banner-social-follow.d.cts +3 -3
- package/dist/banner-social-follow.d.ts +3 -3
- package/dist/banner-social-follow.js +6 -2
- package/dist/banner-survey-incentive.cjs +6 -2
- package/dist/banner-survey-incentive.d.cts +3 -3
- package/dist/banner-survey-incentive.d.ts +3 -3
- package/dist/banner-survey-incentive.js +6 -2
- package/dist/{blocks-DmMuCMEh.d.ts → blocks-BTy27FOO.d.ts} +1 -1
- package/dist/{blocks-U7wOoE0O.d.cts → blocks-CrqLti5l.d.cts} +1 -1
- package/dist/blog-cards-read-time.cjs +6 -2
- package/dist/blog-cards-read-time.d.cts +3 -3
- package/dist/blog-cards-read-time.d.ts +3 -3
- package/dist/blog-cards-read-time.js +6 -2
- package/dist/blog-cards-tagline-cta.cjs +6 -2
- package/dist/blog-cards-tagline-cta.d.cts +3 -3
- package/dist/blog-cards-tagline-cta.d.ts +3 -3
- package/dist/blog-cards-tagline-cta.js +6 -2
- package/dist/blog-carousel-apple.cjs +25 -21
- package/dist/blog-carousel-apple.d.cts +3 -3
- package/dist/blog-carousel-apple.d.ts +3 -3
- package/dist/blog-carousel-apple.js +21 -17
- package/dist/blog-category-overlay.cjs +6 -2
- package/dist/blog-category-overlay.d.cts +3 -3
- package/dist/blog-category-overlay.d.ts +3 -3
- package/dist/blog-category-overlay.js +6 -2
- package/dist/blog-featured-popular.d.cts +3 -3
- package/dist/blog-featured-popular.d.ts +3 -3
- package/dist/blog-filtered-results.cjs +30 -26
- package/dist/blog-filtered-results.d.cts +3 -3
- package/dist/blog-filtered-results.d.ts +3 -3
- package/dist/blog-filtered-results.js +24 -20
- 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.cjs +6 -2
- package/dist/blog-horizontal-cards.d.cts +3 -3
- package/dist/blog-horizontal-cards.d.ts +3 -3
- package/dist/blog-horizontal-cards.js +6 -2
- package/dist/blog-horizontal-timeline.cjs +6 -2
- package/dist/blog-horizontal-timeline.d.cts +3 -3
- package/dist/blog-horizontal-timeline.d.ts +3 -3
- package/dist/blog-horizontal-timeline.js +6 -2
- 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-lRElsmTc.d.cts} +1 -1
- package/dist/{button-variants-8mtEHxev.d.ts → button-variants-lRElsmTc.d.ts} +1 -1
- package/dist/button.d.cts +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/carousel-animated-sections.cjs +23 -19
- package/dist/carousel-animated-sections.d.cts +3 -3
- package/dist/carousel-animated-sections.d.ts +3 -3
- package/dist/carousel-animated-sections.js +23 -19
- package/dist/carousel-auto-progress-slides.cjs +6 -2
- package/dist/carousel-auto-progress-slides.d.cts +3 -3
- package/dist/carousel-auto-progress-slides.d.ts +3 -3
- package/dist/carousel-auto-progress-slides.js +6 -2
- package/dist/carousel-autoplay-progress.cjs +34 -30
- package/dist/carousel-autoplay-progress.d.cts +3 -3
- package/dist/carousel-autoplay-progress.d.ts +3 -3
- package/dist/carousel-autoplay-progress.js +34 -30
- package/dist/carousel-badge-cards.cjs +31 -27
- package/dist/carousel-badge-cards.d.cts +3 -3
- package/dist/carousel-badge-cards.d.ts +3 -3
- package/dist/carousel-badge-cards.js +26 -22
- package/dist/carousel-demo-link.cjs +32 -28
- package/dist/carousel-demo-link.d.cts +3 -3
- package/dist/carousel-demo-link.d.ts +3 -3
- package/dist/carousel-demo-link.js +26 -22
- package/dist/carousel-feature-badge.cjs +22 -18
- package/dist/carousel-feature-badge.d.cts +3 -3
- package/dist/carousel-feature-badge.d.ts +3 -3
- package/dist/carousel-feature-badge.js +22 -18
- 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.cjs +6 -2
- package/dist/carousel-gallery-thumbnails.d.cts +3 -3
- package/dist/carousel-gallery-thumbnails.d.ts +3 -3
- package/dist/carousel-gallery-thumbnails.js +6 -2
- package/dist/carousel-gradient-overlay.cjs +32 -28
- package/dist/carousel-gradient-overlay.d.cts +3 -3
- package/dist/carousel-gradient-overlay.d.ts +3 -3
- package/dist/carousel-gradient-overlay.js +26 -22
- package/dist/carousel-gradient-text.cjs +32 -28
- package/dist/carousel-gradient-text.d.cts +3 -3
- package/dist/carousel-gradient-text.d.ts +3 -3
- package/dist/carousel-gradient-text.js +26 -22
- package/dist/carousel-horizontal-cards.cjs +20 -16
- package/dist/carousel-horizontal-cards.d.cts +3 -3
- package/dist/carousel-horizontal-cards.d.ts +3 -3
- package/dist/carousel-horizontal-cards.js +20 -16
- package/dist/carousel-icon-sidebar.cjs +38 -34
- package/dist/carousel-icon-sidebar.d.cts +3 -3
- package/dist/carousel-icon-sidebar.d.ts +3 -3
- package/dist/carousel-icon-sidebar.js +26 -22
- package/dist/carousel-icon-tabs.cjs +39 -35
- package/dist/carousel-icon-tabs.d.cts +3 -3
- package/dist/carousel-icon-tabs.d.ts +3 -3
- package/dist/carousel-icon-tabs.js +26 -22
- package/dist/carousel-image-hero.cjs +22 -18
- package/dist/carousel-image-hero.d.cts +3 -3
- package/dist/carousel-image-hero.d.ts +3 -3
- package/dist/carousel-image-hero.js +22 -18
- package/dist/carousel-multi-step-showcase.cjs +6 -2
- package/dist/carousel-multi-step-showcase.d.cts +3 -3
- package/dist/carousel-multi-step-showcase.d.ts +3 -3
- package/dist/carousel-multi-step-showcase.js +6 -2
- package/dist/carousel-pagination.cjs +6 -2
- package/dist/carousel-pagination.js +6 -2
- package/dist/carousel-portfolio-hero.cjs +22 -18
- package/dist/carousel-portfolio-hero.d.cts +3 -3
- package/dist/carousel-portfolio-hero.d.ts +3 -3
- package/dist/carousel-portfolio-hero.js +22 -18
- package/dist/carousel-product-feature-showcase.cjs +6 -2
- package/dist/carousel-product-feature-showcase.d.cts +3 -3
- package/dist/carousel-product-feature-showcase.d.ts +3 -3
- package/dist/carousel-product-feature-showcase.js +6 -2
- package/dist/carousel-progress-slider.cjs +28 -24
- package/dist/carousel-progress-slider.d.cts +3 -3
- package/dist/carousel-progress-slider.d.ts +3 -3
- package/dist/carousel-progress-slider.js +28 -24
- package/dist/carousel-scale-focus.cjs +41 -37
- package/dist/carousel-scale-focus.d.cts +3 -3
- package/dist/carousel-scale-focus.d.ts +3 -3
- package/dist/carousel-scale-focus.js +26 -22
- 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.cjs +34 -30
- package/dist/carousel-sidebar-resources.d.cts +3 -3
- package/dist/carousel-sidebar-resources.d.ts +3 -3
- package/dist/carousel-sidebar-resources.js +26 -22
- package/dist/carousel-tabs-content.cjs +39 -35
- package/dist/carousel-tabs-content.d.cts +3 -3
- package/dist/carousel-tabs-content.d.ts +3 -3
- package/dist/carousel-tabs-content.js +26 -22
- package/dist/case-studies-featured-border.cjs +6 -2
- package/dist/case-studies-featured-border.d.cts +3 -3
- package/dist/case-studies-featured-border.d.ts +3 -3
- package/dist/case-studies-featured-border.js +6 -2
- 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.cjs +6 -2
- package/dist/case-study-stats-metrics.d.cts +3 -3
- package/dist/case-study-stats-metrics.d.ts +3 -3
- package/dist/case-study-stats-metrics.js +6 -2
- package/dist/case-study-toc-social-sidebar.cjs +6 -2
- package/dist/case-study-toc-social-sidebar.d.cts +3 -3
- package/dist/case-study-toc-social-sidebar.d.ts +3 -3
- package/dist/case-study-toc-social-sidebar.js +6 -2
- package/dist/{community-initiatives-64wrtPed.d.ts → community-initiatives-CdK9AUiW.d.ts} +1 -1
- package/dist/{community-initiatives-DM27LAzE.d.cts → community-initiatives-DTNjmUnl.d.cts} +1 -1
- package/dist/community-initiatives.cjs +19 -15
- package/dist/community-initiatives.d.cts +3 -3
- package/dist/community-initiatives.d.ts +3 -3
- package/dist/community-initiatives.js +17 -13
- package/dist/comparison-ai-models.cjs +18 -14
- package/dist/comparison-ai-models.d.cts +3 -3
- package/dist/comparison-ai-models.d.ts +3 -3
- package/dist/comparison-ai-models.js +17 -13
- package/dist/comparison-feature-cards.cjs +16 -12
- package/dist/comparison-feature-cards.d.cts +3 -3
- package/dist/comparison-feature-cards.d.ts +3 -3
- package/dist/comparison-feature-cards.js +16 -12
- package/dist/comparison-feature-grid.cjs +14 -10
- package/dist/comparison-feature-grid.d.cts +3 -3
- package/dist/comparison-feature-grid.d.ts +3 -3
- package/dist/comparison-feature-grid.js +14 -10
- package/dist/comparison-grid-badges.cjs +13 -9
- package/dist/comparison-grid-badges.d.cts +3 -3
- package/dist/comparison-grid-badges.d.ts +3 -3
- package/dist/comparison-grid-badges.js +13 -9
- package/dist/comparison-image-cards.d.cts +3 -3
- package/dist/comparison-image-cards.d.ts +3 -3
- package/dist/comparison-legacy-modern.cjs +15 -11
- package/dist/comparison-legacy-modern.d.cts +3 -3
- package/dist/comparison-legacy-modern.d.ts +3 -3
- package/dist/comparison-legacy-modern.js +15 -11
- package/dist/comparison-metrics-rows.d.cts +3 -3
- package/dist/comparison-metrics-rows.d.ts +3 -3
- package/dist/comparison-table-tabs.cjs +15 -11
- package/dist/comparison-table-tabs.d.cts +3 -3
- package/dist/comparison-table-tabs.d.ts +3 -3
- package/dist/comparison-table-tabs.js +14 -10
- package/dist/comparison-table-tooltips.d.cts +3 -3
- package/dist/comparison-table-tooltips.d.ts +3 -3
- package/dist/comparison-table-two-column.cjs +14 -10
- package/dist/comparison-table-two-column.d.cts +3 -3
- package/dist/comparison-table-two-column.d.ts +3 -3
- package/dist/comparison-table-two-column.js +14 -10
- package/dist/components.cjs +279 -208
- package/dist/components.d.cts +3 -3
- package/dist/components.d.ts +3 -3
- package/dist/components.js +184 -113
- package/dist/contact-callback.cjs +27 -7
- package/dist/contact-callback.d.cts +3 -3
- package/dist/contact-callback.d.ts +3 -3
- package/dist/contact-callback.js +10 -5
- package/dist/contact-card.cjs +6 -2
- package/dist/contact-card.d.cts +4 -4
- package/dist/contact-card.d.ts +4 -4
- package/dist/contact-card.js +6 -2
- package/dist/contact-careers.cjs +18 -14
- package/dist/contact-careers.d.cts +3 -3
- package/dist/contact-careers.d.ts +3 -3
- package/dist/contact-careers.js +16 -12
- 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-DlV3Sdwd.d.cts → contact-dark-cVBNKm0E.d.cts} +1 -1
- package/dist/{contact-dark-CECEnR7C.d.ts → contact-dark-sqdhY1C8.d.ts} +1 -1
- package/dist/contact-dark.cjs +6 -2
- package/dist/contact-dark.d.cts +4 -4
- package/dist/contact-dark.d.ts +4 -4
- package/dist/contact-dark.js +6 -2
- package/dist/contact-demo.d.cts +3 -3
- package/dist/contact-demo.d.ts +3 -3
- package/dist/contact-emergency.cjs +6 -2
- package/dist/contact-emergency.d.cts +3 -3
- package/dist/contact-emergency.d.ts +3 -3
- package/dist/contact-emergency.js +6 -2
- package/dist/contact-event.d.cts +3 -3
- package/dist/contact-event.d.ts +3 -3
- package/dist/contact-faq.cjs +9 -7
- package/dist/contact-faq.d.cts +3 -3
- package/dist/contact-faq.d.ts +3 -3
- package/dist/contact-faq.js +10 -5
- 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.cjs +6 -2
- package/dist/contact-floating-banner.d.cts +3 -3
- package/dist/contact-floating-banner.d.ts +3 -3
- package/dist/contact-floating-banner.js +6 -2
- package/dist/contact-guest.d.cts +3 -3
- package/dist/contact-guest.d.ts +3 -3
- package/dist/contact-help-center.cjs +16 -12
- package/dist/contact-help-center.d.cts +3 -3
- package/dist/contact-help-center.d.ts +3 -3
- package/dist/contact-help-center.js +16 -12
- package/dist/contact-image.cjs +18 -14
- package/dist/contact-image.d.cts +3 -3
- package/dist/contact-image.d.ts +3 -3
- package/dist/contact-image.js +17 -13
- 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.cjs +165 -86
- package/dist/contact-map.d.cts +9 -5
- package/dist/contact-map.d.ts +9 -5
- package/dist/contact-map.js +165 -86
- package/dist/contact-minimal.d.cts +3 -3
- package/dist/contact-minimal.d.ts +3 -3
- package/dist/contact-moving.d.cts +3 -3
- package/dist/contact-moving.d.ts +3 -3
- package/dist/contact-multistep.d.cts +3 -3
- package/dist/contact-multistep.d.ts +3 -3
- package/dist/contact-partnership.d.cts +3 -3
- package/dist/contact-partnership.d.ts +3 -3
- package/dist/contact-photography.d.cts +3 -3
- package/dist/contact-photography.d.ts +3 -3
- package/dist/contact-press.d.cts +3 -3
- package/dist/contact-press.d.ts +3 -3
- package/dist/contact-quote.d.cts +3 -3
- package/dist/contact-quote.d.ts +3 -3
- package/dist/contact-referral.d.cts +3 -3
- package/dist/contact-referral.d.ts +3 -3
- package/dist/contact-report.d.cts +3 -3
- package/dist/contact-report.d.ts +3 -3
- package/dist/contact-reservation.d.cts +3 -3
- package/dist/contact-reservation.d.ts +3 -3
- package/dist/contact-retreat.d.cts +3 -3
- package/dist/contact-retreat.d.ts +3 -3
- package/dist/contact-rsvp.d.cts +3 -3
- package/dist/contact-rsvp.d.ts +3 -3
- package/dist/contact-sales.d.cts +3 -3
- package/dist/contact-sales.d.ts +3 -3
- package/dist/contact-schedule.d.cts +3 -3
- package/dist/contact-schedule.d.ts +3 -3
- package/dist/contact-sponsorship.d.cts +3 -3
- package/dist/contact-sponsorship.d.ts +3 -3
- package/dist/contact-support.d.cts +3 -3
- package/dist/contact-support.d.ts +3 -3
- package/dist/contact-tenant.d.cts +3 -3
- package/dist/contact-tenant.d.ts +3 -3
- package/dist/contact-vendor.d.cts +3 -3
- package/dist/contact-vendor.d.ts +3 -3
- package/dist/contact-volunteer.d.cts +3 -3
- package/dist/contact-volunteer.d.ts +3 -3
- package/dist/contact-warranty.d.cts +3 -3
- package/dist/contact-warranty.d.ts +3 -3
- package/dist/contact-wedding.d.cts +3 -3
- package/dist/contact-wedding.d.ts +3 -3
- package/dist/container.d.cts +3 -3
- package/dist/container.d.ts +3 -3
- package/dist/cta-accent-background.d.cts +3 -3
- package/dist/cta-accent-background.d.ts +3 -3
- package/dist/cta-app-download-newsletter.cjs +6 -2
- package/dist/cta-app-download-newsletter.d.cts +3 -3
- package/dist/cta-app-download-newsletter.d.ts +3 -3
- package/dist/cta-app-download-newsletter.js +6 -2
- package/dist/cta-background-icon-badge.cjs +6 -2
- package/dist/cta-background-icon-badge.d.cts +3 -3
- package/dist/cta-background-icon-badge.d.ts +3 -3
- package/dist/cta-background-icon-badge.js +6 -2
- package/dist/cta-case-study-testimonial.cjs +6 -2
- package/dist/cta-case-study-testimonial.d.cts +3 -3
- package/dist/cta-case-study-testimonial.d.ts +3 -3
- package/dist/cta-case-study-testimonial.js +6 -2
- package/dist/cta-documentation-links.cjs +6 -2
- package/dist/cta-documentation-links.d.cts +3 -3
- package/dist/cta-documentation-links.d.ts +3 -3
- package/dist/cta-documentation-links.js +6 -2
- package/dist/cta-enterprise-dark-features.cjs +6 -2
- package/dist/cta-enterprise-dark-features.d.cts +3 -3
- package/dist/cta-enterprise-dark-features.d.ts +3 -3
- package/dist/cta-enterprise-dark-features.js +6 -2
- package/dist/cta-enterprise-split.cjs +6 -2
- package/dist/cta-enterprise-split.d.cts +3 -3
- package/dist/cta-enterprise-split.d.ts +3 -3
- package/dist/cta-enterprise-split.js +6 -2
- package/dist/cta-feature-cards-grid.cjs +6 -2
- package/dist/cta-feature-cards-grid.d.cts +3 -3
- package/dist/cta-feature-cards-grid.d.ts +3 -3
- package/dist/cta-feature-cards-grid.js +6 -2
- package/dist/cta-feature-checklist.cjs +17 -13
- package/dist/cta-feature-checklist.d.cts +3 -3
- package/dist/cta-feature-checklist.d.ts +3 -3
- package/dist/cta-feature-checklist.js +16 -12
- package/dist/cta-feature-list.cjs +6 -2
- package/dist/cta-feature-list.d.cts +3 -3
- package/dist/cta-feature-list.d.ts +3 -3
- package/dist/cta-feature-list.js +6 -2
- package/dist/cta-fullwidth-background.d.cts +3 -3
- package/dist/cta-fullwidth-background.d.ts +3 -3
- package/dist/cta-gradient-logos-floating.cjs +6 -2
- package/dist/cta-gradient-logos-floating.d.cts +3 -3
- package/dist/cta-gradient-logos-floating.d.ts +3 -3
- package/dist/cta-gradient-logos-floating.js +6 -2
- package/dist/cta-gradient-stats-hero.cjs +6 -2
- package/dist/cta-gradient-stats-hero.d.cts +3 -3
- package/dist/cta-gradient-stats-hero.d.ts +3 -3
- package/dist/cta-gradient-stats-hero.js +6 -2
- package/dist/cta-hero-feature-cards.cjs +6 -2
- package/dist/cta-hero-feature-cards.d.cts +3 -3
- package/dist/cta-hero-feature-cards.d.ts +3 -3
- package/dist/cta-hero-feature-cards.js +6 -2
- package/dist/cta-image-overlay-arrow.cjs +6 -2
- 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-arrow.js +6 -2
- 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.cjs +12 -8
- package/dist/cta-newsletter-features.d.cts +3 -3
- package/dist/cta-newsletter-features.d.ts +3 -3
- package/dist/cta-newsletter-features.js +12 -8
- package/dist/cta-pattern-background.d.cts +3 -3
- package/dist/cta-pattern-background.d.ts +3 -3
- package/dist/cta-platform-demo.cjs +6 -2
- package/dist/cta-platform-demo.d.cts +3 -3
- package/dist/cta-platform-demo.d.ts +3 -3
- package/dist/cta-platform-demo.js +6 -2
- package/dist/cta-simple-centered.cjs +6 -2
- package/dist/cta-simple-centered.d.cts +3 -3
- package/dist/cta-simple-centered.d.ts +3 -3
- package/dist/cta-simple-centered.js +6 -2
- 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.cjs +6 -2
- 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-logos.js +6 -2
- 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.cjs +6 -2
- package/dist/cta-video-background-hero.d.cts +3 -3
- package/dist/cta-video-background-hero.d.ts +3 -3
- package/dist/cta-video-background-hero.js +6 -2
- package/dist/cta-workflow-tabs.cjs +6 -2
- package/dist/cta-workflow-tabs.d.cts +3 -3
- package/dist/cta-workflow-tabs.d.ts +3 -3
- package/dist/cta-workflow-tabs.js +6 -2
- package/dist/dynamic-icon.cjs +27 -2
- package/dist/dynamic-icon.d.cts +2 -2
- package/dist/dynamic-icon.d.ts +2 -2
- package/dist/dynamic-icon.js +7 -2
- package/dist/expandable-case-study-cards.cjs +26 -6
- package/dist/expandable-case-study-cards.d.cts +3 -3
- package/dist/expandable-case-study-cards.d.ts +3 -3
- package/dist/expandable-case-study-cards.js +10 -5
- package/dist/faq-badge-support.cjs +25 -21
- package/dist/faq-badge-support.d.cts +3 -3
- package/dist/faq-badge-support.d.ts +3 -3
- package/dist/faq-badge-support.js +22 -18
- package/dist/faq-bordered-badge.cjs +9 -7
- package/dist/faq-bordered-badge.d.cts +3 -3
- package/dist/faq-bordered-badge.d.ts +3 -3
- package/dist/faq-bordered-badge.js +10 -5
- package/dist/faq-card-categories.cjs +23 -16
- package/dist/faq-card-categories.d.cts +3 -3
- package/dist/faq-card-categories.d.ts +3 -3
- package/dist/faq-card-categories.js +21 -14
- package/dist/faq-categorized-sections.cjs +9 -7
- package/dist/faq-categorized-sections.d.cts +3 -3
- package/dist/faq-categorized-sections.d.ts +3 -3
- package/dist/faq-categorized-sections.js +10 -5
- package/dist/faq-centered-accordion.cjs +9 -7
- package/dist/faq-centered-accordion.d.cts +3 -3
- package/dist/faq-centered-accordion.d.ts +3 -3
- package/dist/faq-centered-accordion.js +10 -5
- package/dist/faq-gradient-categories.cjs +18 -14
- package/dist/faq-gradient-categories.d.cts +3 -3
- package/dist/faq-gradient-categories.d.ts +3 -3
- package/dist/faq-gradient-categories.js +16 -12
- package/dist/faq-icon-benefits.cjs +18 -14
- package/dist/faq-icon-benefits.d.cts +3 -3
- package/dist/faq-icon-benefits.d.ts +3 -3
- package/dist/faq-icon-benefits.js +16 -12
- package/dist/faq-muted-cards.cjs +18 -14
- package/dist/faq-muted-cards.d.cts +3 -3
- package/dist/faq-muted-cards.d.ts +3 -3
- package/dist/faq-muted-cards.js +16 -12
- 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.cjs +25 -21
- package/dist/faq-profile-sidebar.d.cts +3 -3
- package/dist/faq-profile-sidebar.d.ts +3 -3
- package/dist/faq-profile-sidebar.js +22 -18
- package/dist/faq-rounded-cards.cjs +18 -14
- package/dist/faq-rounded-cards.d.cts +3 -3
- package/dist/faq-rounded-cards.d.ts +3 -3
- package/dist/faq-rounded-cards.js +16 -12
- package/dist/faq-sidebar-navigation.cjs +21 -17
- package/dist/faq-sidebar-navigation.d.cts +3 -3
- package/dist/faq-sidebar-navigation.d.ts +3 -3
- package/dist/faq-sidebar-navigation.js +18 -14
- package/dist/faq-simple-accordion.cjs +18 -14
- package/dist/faq-simple-accordion.d.cts +3 -3
- package/dist/faq-simple-accordion.d.ts +3 -3
- package/dist/faq-simple-accordion.js +16 -12
- package/dist/faq-split-help.cjs +25 -21
- package/dist/faq-split-help.d.cts +3 -3
- package/dist/faq-split-help.d.ts +3 -3
- package/dist/faq-split-help.js +22 -18
- package/dist/faq-split-hero.cjs +9 -7
- package/dist/faq-split-hero.d.cts +3 -3
- package/dist/faq-split-hero.d.ts +3 -3
- package/dist/faq-split-hero.js +10 -5
- package/dist/faq-static-list.d.cts +3 -3
- package/dist/faq-static-list.d.ts +3 -3
- package/dist/feature-accordion-image.cjs +20 -16
- package/dist/feature-accordion-image.d.cts +3 -3
- package/dist/feature-accordion-image.d.ts +3 -3
- package/dist/feature-accordion-image.js +17 -13
- package/dist/feature-animated-carousel.cjs +35 -31
- package/dist/feature-animated-carousel.d.cts +3 -3
- package/dist/feature-animated-carousel.d.ts +3 -3
- package/dist/feature-animated-carousel.js +28 -24
- package/dist/feature-badge-grid-six.cjs +20 -16
- package/dist/feature-badge-grid-six.d.cts +3 -3
- package/dist/feature-badge-grid-six.d.ts +3 -3
- package/dist/feature-badge-grid-six.js +16 -12
- package/dist/feature-bento-image-grid.cjs +21 -17
- package/dist/feature-bento-image-grid.d.cts +3 -3
- package/dist/feature-bento-image-grid.d.ts +3 -3
- package/dist/feature-bento-image-grid.js +20 -16
- package/dist/feature-bento-utilities.cjs +19 -15
- package/dist/feature-bento-utilities.d.cts +3 -3
- package/dist/feature-bento-utilities.d.ts +3 -3
- package/dist/feature-bento-utilities.js +18 -14
- package/dist/feature-capabilities-grid.cjs +18 -14
- package/dist/feature-capabilities-grid.d.cts +3 -3
- package/dist/feature-capabilities-grid.d.ts +3 -3
- package/dist/feature-capabilities-grid.js +17 -13
- 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.cjs +31 -27
- package/dist/feature-carousel-progress.d.cts +3 -3
- package/dist/feature-carousel-progress.d.ts +3 -3
- package/dist/feature-carousel-progress.js +26 -22
- 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.cjs +6 -2
- package/dist/feature-checklist-image.d.cts +3 -3
- package/dist/feature-checklist-image.d.ts +3 -3
- package/dist/feature-checklist-image.js +6 -2
- package/dist/feature-checklist-three-column.cjs +22 -18
- package/dist/feature-checklist-three-column.d.cts +3 -3
- package/dist/feature-checklist-three-column.d.ts +3 -3
- package/dist/feature-checklist-three-column.js +16 -12
- package/dist/feature-icon-grid-accent.cjs +26 -6
- 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-accent.js +10 -5
- package/dist/feature-icon-grid-bordered.cjs +18 -14
- 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-bordered.js +16 -12
- package/dist/feature-icon-grid-muted.cjs +18 -14
- package/dist/feature-icon-grid-muted.d.cts +3 -3
- package/dist/feature-icon-grid-muted.d.ts +3 -3
- package/dist/feature-icon-grid-muted.js +16 -12
- package/dist/feature-icon-tabs-content.cjs +20 -16
- package/dist/feature-icon-tabs-content.d.cts +3 -3
- package/dist/feature-icon-tabs-content.d.ts +3 -3
- package/dist/feature-icon-tabs-content.js +16 -12
- package/dist/feature-image-cards-three-column.cjs +29 -25
- 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-cards-three-column.js +22 -18
- package/dist/feature-image-overlay-badge.cjs +18 -14
- package/dist/feature-image-overlay-badge.d.cts +3 -3
- package/dist/feature-image-overlay-badge.d.ts +3 -3
- package/dist/feature-image-overlay-badge.js +16 -12
- package/dist/feature-integration-cards.d.cts +3 -3
- package/dist/feature-integration-cards.d.ts +3 -3
- package/dist/feature-numbered-cards.cjs +20 -16
- package/dist/feature-numbered-cards.d.cts +3 -3
- package/dist/feature-numbered-cards.d.ts +3 -3
- package/dist/feature-numbered-cards.js +16 -12
- package/dist/feature-pattern-grid-links.cjs +19 -15
- package/dist/feature-pattern-grid-links.d.cts +3 -3
- package/dist/feature-pattern-grid-links.d.ts +3 -3
- package/dist/feature-pattern-grid-links.js +16 -12
- package/dist/feature-showcase.cjs +6 -2
- package/dist/feature-showcase.d.cts +4 -4
- package/dist/feature-showcase.d.ts +4 -4
- package/dist/feature-showcase.js +6 -2
- 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.cjs +21 -17
- package/dist/feature-tabbed-content-image.d.cts +3 -3
- package/dist/feature-tabbed-content-image.d.ts +3 -3
- package/dist/feature-tabbed-content-image.js +19 -15
- package/dist/feature-three-column-values.cjs +18 -14
- package/dist/feature-three-column-values.d.cts +3 -3
- package/dist/feature-three-column-values.d.ts +3 -3
- package/dist/feature-three-column-values.js +17 -13
- package/dist/feature-utility-cards-grid.cjs +20 -16
- package/dist/feature-utility-cards-grid.d.cts +3 -3
- package/dist/feature-utility-cards-grid.d.ts +3 -3
- package/dist/feature-utility-cards-grid.js +17 -13
- package/dist/footer-accordion-social.cjs +6 -2
- package/dist/footer-accordion-social.d.cts +3 -3
- package/dist/footer-accordion-social.d.ts +3 -3
- package/dist/footer-accordion-social.js +6 -2
- package/dist/footer-animated-social.cjs +6 -2
- package/dist/footer-animated-social.d.cts +3 -3
- package/dist/footer-animated-social.d.ts +3 -3
- package/dist/footer-animated-social.js +6 -2
- package/dist/footer-background-card.cjs +6 -2
- package/dist/footer-background-card.d.cts +3 -3
- package/dist/footer-background-card.d.ts +3 -3
- package/dist/footer-background-card.js +6 -2
- package/dist/footer-brand-description.cjs +6 -2
- package/dist/footer-brand-description.d.cts +3 -3
- package/dist/footer-brand-description.d.ts +3 -3
- package/dist/footer-brand-description.js +6 -2
- package/dist/footer-brand-links-contact.cjs +6 -2
- package/dist/footer-brand-links-contact.d.cts +3 -3
- package/dist/footer-brand-links-contact.d.ts +3 -3
- package/dist/footer-brand-links-contact.js +6 -2
- package/dist/footer-comprehensive-links.cjs +6 -2
- package/dist/footer-comprehensive-links.d.cts +3 -3
- package/dist/footer-comprehensive-links.d.ts +3 -3
- package/dist/footer-comprehensive-links.js +6 -2
- package/dist/footer-contact-card.cjs +6 -2
- package/dist/footer-contact-card.d.cts +3 -3
- package/dist/footer-contact-card.d.ts +3 -3
- package/dist/footer-contact-card.js +6 -2
- package/dist/footer-cta-banner.cjs +6 -2
- package/dist/footer-cta-banner.d.cts +3 -3
- package/dist/footer-cta-banner.d.ts +3 -3
- package/dist/footer-cta-banner.js +6 -2
- package/dist/footer-cta-social.cjs +24 -20
- package/dist/footer-cta-social.d.cts +3 -3
- package/dist/footer-cta-social.d.ts +3 -3
- package/dist/footer-cta-social.js +22 -18
- package/dist/footer-info-cards-accordion.cjs +24 -20
- package/dist/footer-info-cards-accordion.d.cts +3 -3
- package/dist/footer-info-cards-accordion.d.ts +3 -3
- package/dist/footer-info-cards-accordion.js +23 -19
- package/dist/footer-links-grid.d.cts +3 -3
- package/dist/footer-links-grid.d.ts +3 -3
- package/dist/footer-nav-social.cjs +6 -2
- package/dist/footer-nav-social.d.cts +3 -3
- package/dist/footer-nav-social.d.ts +3 -3
- package/dist/footer-nav-social.js +6 -2
- package/dist/footer-newsletter-contact.cjs +6 -2
- package/dist/footer-newsletter-contact.d.cts +3 -3
- package/dist/footer-newsletter-contact.d.ts +3 -3
- package/dist/footer-newsletter-contact.js +6 -2
- package/dist/footer-newsletter-grid.cjs +6 -2
- package/dist/footer-newsletter-grid.d.cts +3 -3
- package/dist/footer-newsletter-grid.d.ts +3 -3
- package/dist/footer-newsletter-grid.js +6 -2
- package/dist/footer-newsletter-minimal.cjs +27 -23
- package/dist/footer-newsletter-minimal.d.cts +3 -3
- package/dist/footer-newsletter-minimal.d.ts +3 -3
- package/dist/footer-newsletter-minimal.js +26 -22
- package/dist/footer-simple-centered.d.cts +3 -3
- package/dist/footer-simple-centered.d.ts +3 -3
- package/dist/footer-social-apps.cjs +26 -22
- package/dist/footer-social-apps.d.cts +3 -3
- package/dist/footer-social-apps.d.ts +3 -3
- package/dist/footer-social-apps.js +22 -18
- package/dist/footer-social-newsletter.cjs +6 -2
- package/dist/footer-social-newsletter.d.cts +3 -3
- package/dist/footer-social-newsletter.d.ts +3 -3
- package/dist/footer-social-newsletter.js +6 -2
- package/dist/footer-split-image-accordion.cjs +24 -20
- package/dist/footer-split-image-accordion.d.cts +3 -3
- package/dist/footer-split-image-accordion.d.ts +3 -3
- package/dist/footer-split-image-accordion.js +23 -19
- package/dist/geo-map.cjs +154 -77
- package/dist/geo-map.d.cts +5 -3
- package/dist/geo-map.d.ts +5 -3
- package/dist/geo-map.js +153 -76
- 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.cjs +6 -2
- package/dist/hero-badge-shadow-overlay.d.cts +3 -3
- package/dist/hero-badge-shadow-overlay.d.ts +3 -3
- package/dist/hero-badge-shadow-overlay.js +6 -2
- 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.cjs +6 -2
- package/dist/hero-coming-soon-countdown.d.cts +3 -3
- package/dist/hero-coming-soon-countdown.d.ts +3 -3
- package/dist/hero-coming-soon-countdown.js +6 -2
- 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.cjs +29 -25
- package/dist/hero-conversion-video-play.d.cts +3 -3
- package/dist/hero-conversion-video-play.d.ts +3 -3
- package/dist/hero-conversion-video-play.js +26 -22
- package/dist/hero-creative-studio-stacked.cjs +19 -15
- package/dist/hero-creative-studio-stacked.d.cts +4 -4
- package/dist/hero-creative-studio-stacked.d.ts +4 -4
- package/dist/hero-creative-studio-stacked.js +16 -12
- 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.cjs +6 -2
- package/dist/hero-dashed-border-features.d.cts +3 -3
- package/dist/hero-dashed-border-features.d.ts +3 -3
- package/dist/hero-dashed-border-features.js +6 -2
- package/dist/hero-design-carousel-portfolio.cjs +29 -25
- package/dist/hero-design-carousel-portfolio.d.cts +3 -3
- package/dist/hero-design-carousel-portfolio.d.ts +3 -3
- package/dist/hero-design-carousel-portfolio.js +26 -22
- 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.cjs +18 -14
- package/dist/hero-design-system-3d.d.cts +3 -3
- package/dist/hero-design-system-3d.d.ts +3 -3
- package/dist/hero-design-system-3d.js +16 -12
- package/dist/hero-developer-tools-code.cjs +18 -14
- package/dist/hero-developer-tools-code.d.cts +3 -3
- package/dist/hero-developer-tools-code.d.ts +3 -3
- package/dist/hero-developer-tools-code.js +16 -12
- 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.cjs +20 -16
- package/dist/hero-ecommerce-product-showcase.d.cts +3 -3
- package/dist/hero-ecommerce-product-showcase.d.ts +3 -3
- package/dist/hero-ecommerce-product-showcase.js +17 -13
- package/dist/hero-enterprise-security.cjs +6 -2
- package/dist/hero-enterprise-security.d.cts +3 -3
- package/dist/hero-enterprise-security.d.ts +3 -3
- package/dist/hero-enterprise-security.js +6 -2
- package/dist/hero-event-registration.cjs +21 -17
- package/dist/hero-event-registration.d.cts +3 -3
- package/dist/hero-event-registration.d.ts +3 -3
- package/dist/hero-event-registration.js +17 -13
- package/dist/hero-feature-cards-grid.cjs +6 -2
- package/dist/hero-feature-cards-grid.d.cts +3 -3
- package/dist/hero-feature-cards-grid.d.ts +3 -3
- package/dist/hero-feature-cards-grid.js +6 -2
- package/dist/hero-floating-images.cjs +26 -6
- package/dist/hero-floating-images.d.cts +3 -3
- package/dist/hero-floating-images.d.ts +3 -3
- package/dist/hero-floating-images.js +10 -5
- 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.cjs +19 -15
- package/dist/hero-gradient-avatars-rating.d.cts +3 -3
- package/dist/hero-gradient-avatars-rating.d.ts +3 -3
- package/dist/hero-gradient-avatars-rating.js +16 -12
- 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.cjs +6 -2
- package/dist/hero-grid-pattern-solutions.d.cts +3 -3
- package/dist/hero-grid-pattern-solutions.d.ts +3 -3
- package/dist/hero-grid-pattern-solutions.js +6 -2
- 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.cjs +6 -2
- package/dist/hero-marketplace-scattered-images.d.cts +3 -3
- package/dist/hero-marketplace-scattered-images.d.ts +3 -3
- package/dist/hero-marketplace-scattered-images.js +6 -2
- 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.cjs +6 -2
- package/dist/hero-mentorship-video-split.d.cts +3 -3
- package/dist/hero-mentorship-video-split.d.ts +3 -3
- package/dist/hero-mentorship-video-split.js +6 -2
- 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.cjs +6 -2
- package/dist/hero-mobile-app-download.d.cts +3 -3
- package/dist/hero-mobile-app-download.d.ts +3 -3
- package/dist/hero-mobile-app-download.js +6 -2
- package/dist/hero-newsletter-minimal.d.cts +3 -3
- package/dist/hero-newsletter-minimal.d.ts +3 -3
- package/dist/hero-overlay-cta-grid.cjs +20 -16
- package/dist/hero-overlay-cta-grid.d.cts +3 -3
- package/dist/hero-overlay-cta-grid.d.ts +3 -3
- package/dist/hero-overlay-cta-grid.js +16 -12
- 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.cjs +6 -2
- package/dist/hero-platform-features-grid.d.cts +3 -3
- package/dist/hero-platform-features-grid.d.ts +3 -3
- package/dist/hero-platform-features-grid.js +6 -2
- package/dist/hero-portfolio-creative.cjs +6 -2
- package/dist/hero-portfolio-creative.d.cts +3 -3
- package/dist/hero-portfolio-creative.d.ts +3 -3
- package/dist/hero-portfolio-creative.js +6 -2
- 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.cjs +6 -2
- package/dist/hero-pricing-comparison.d.cts +3 -3
- package/dist/hero-pricing-comparison.d.ts +3 -3
- package/dist/hero-pricing-comparison.js +6 -2
- package/dist/hero-product-showcase-floating.cjs +27 -23
- package/dist/hero-product-showcase-floating.d.cts +3 -3
- package/dist/hero-product-showcase-floating.d.ts +3 -3
- package/dist/hero-product-showcase-floating.js +22 -18
- 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.cjs +6 -2
- package/dist/hero-saas-dashboard-preview.d.cts +3 -3
- package/dist/hero-saas-dashboard-preview.d.ts +3 -3
- package/dist/hero-saas-dashboard-preview.js +6 -2
- 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.cjs +19 -15
- 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-software-growth-video-dialog.js +16 -12
- 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.cjs +18 -14
- package/dist/hero-split-icon-cards.d.cts +3 -3
- package/dist/hero-split-icon-cards.d.ts +3 -3
- package/dist/hero-split-icon-cards.js +16 -12
- 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-DykMOpK9.d.cts → hero-video-dialog-gradient-D9I6gdu0.d.cts} +2 -2
- package/dist/{hero-video-dialog-gradient-C7o05nWW.d.ts → hero-video-dialog-gradient-DCBmtytL.d.ts} +2 -2
- package/dist/hero-video-dialog-gradient.cjs +19 -15
- package/dist/hero-video-dialog-gradient.d.cts +4 -4
- package/dist/hero-video-dialog-gradient.d.ts +4 -4
- package/dist/hero-video-dialog-gradient.js +16 -12
- package/dist/hero-video-overlay-stars.cjs +18 -14
- package/dist/hero-video-overlay-stars.d.cts +3 -3
- package/dist/hero-video-overlay-stars.d.ts +3 -3
- package/dist/hero-video-overlay-stars.js +16 -12
- package/dist/hero-welcome-asymmetric-images.d.cts +3 -3
- package/dist/hero-welcome-asymmetric-images.d.ts +3 -3
- package/dist/hooks.d.cts +2 -2
- package/dist/hooks.d.ts +2 -2
- package/dist/image-slider.d.cts +2 -2
- package/dist/image-slider.d.ts +2 -2
- package/dist/index.cjs +280 -209
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +184 -113
- 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.cjs +6 -2
- package/dist/industries-expandable-showcase.d.cts +3 -3
- package/dist/industries-expandable-showcase.d.ts +3 -3
- package/dist/industries-expandable-showcase.js +6 -2
- package/dist/industries-hover-reveal-grid.cjs +6 -2
- package/dist/industries-hover-reveal-grid.d.cts +3 -3
- package/dist/industries-hover-reveal-grid.d.ts +3 -3
- package/dist/industries-hover-reveal-grid.js +6 -2
- package/dist/industries-timeline-table.cjs +6 -2
- package/dist/industries-timeline-table.d.cts +3 -3
- package/dist/industries-timeline-table.d.ts +3 -3
- package/dist/industries-timeline-table.js +6 -2
- package/dist/interior-carousel.cjs +33 -29
- package/dist/interior-carousel.d.cts +3 -3
- package/dist/interior-carousel.d.ts +3 -3
- package/dist/interior-carousel.js +26 -22
- package/dist/link-page-bento-layout.cjs +6 -2
- package/dist/link-page-bento-layout.d.cts +3 -3
- package/dist/link-page-bento-layout.d.ts +3 -3
- package/dist/link-page-bento-layout.js +6 -2
- package/dist/link-page-grid-cards.cjs +6 -2
- package/dist/link-page-grid-cards.d.cts +3 -3
- package/dist/link-page-grid-cards.d.ts +3 -3
- package/dist/link-page-grid-cards.js +6 -2
- package/dist/link-page-minimal-profile.cjs +6 -2
- package/dist/link-page-minimal-profile.d.cts +3 -3
- package/dist/link-page-minimal-profile.d.ts +3 -3
- package/dist/link-page-minimal-profile.js +6 -2
- package/dist/link-page-newsletter-social.cjs +6 -2
- package/dist/link-page-newsletter-social.d.cts +3 -3
- package/dist/link-page-newsletter-social.d.ts +3 -3
- package/dist/link-page-newsletter-social.js +6 -2
- package/dist/link-tree-block.cjs +30 -26
- package/dist/link-tree-block.d.cts +3 -3
- package/dist/link-tree-block.d.ts +3 -3
- package/dist/link-tree-block.js +30 -26
- package/dist/list-achievements-showcase.cjs +6 -2
- package/dist/list-achievements-showcase.d.cts +3 -3
- package/dist/list-achievements-showcase.d.ts +3 -3
- package/dist/list-achievements-showcase.js +6 -2
- package/dist/list-career-timeline.d.cts +3 -3
- package/dist/list-career-timeline.d.ts +3 -3
- package/dist/list-feature-comparison.cjs +6 -2
- package/dist/list-feature-comparison.d.cts +3 -3
- package/dist/list-feature-comparison.d.ts +3 -3
- package/dist/list-feature-comparison.js +6 -2
- package/dist/list-metrics-dashboard.cjs +6 -2
- package/dist/list-metrics-dashboard.d.cts +3 -3
- package/dist/list-metrics-dashboard.d.ts +3 -3
- package/dist/list-metrics-dashboard.js +6 -2
- package/dist/list-searchable-grid.cjs +19 -15
- package/dist/list-searchable-grid.d.cts +3 -3
- package/dist/list-searchable-grid.d.ts +3 -3
- package/dist/list-searchable-grid.js +18 -14
- package/dist/list-service-category-table.cjs +26 -6
- package/dist/list-service-category-table.d.cts +3 -3
- package/dist/list-service-category-table.d.ts +3 -3
- package/dist/list-service-category-table.js +10 -5
- 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.cjs +6 -2
- package/dist/navbar-animated-preview.d.cts +3 -3
- package/dist/navbar-animated-preview.d.ts +3 -3
- package/dist/navbar-animated-preview.js +6 -2
- package/dist/navbar-centered-menu.cjs +6 -2
- package/dist/navbar-centered-menu.d.cts +3 -3
- package/dist/navbar-centered-menu.d.ts +3 -3
- package/dist/navbar-centered-menu.js +6 -2
- package/dist/navbar-dark-icons.cjs +6 -2
- package/dist/navbar-dark-icons.d.cts +3 -3
- package/dist/navbar-dark-icons.d.ts +3 -3
- package/dist/navbar-dark-icons.js +6 -2
- package/dist/navbar-dropdown-menu.cjs +6 -2
- package/dist/navbar-dropdown-menu.d.cts +3 -3
- package/dist/navbar-dropdown-menu.d.ts +3 -3
- package/dist/navbar-dropdown-menu.js +6 -2
- package/dist/navbar-education-platform.cjs +6 -2
- package/dist/navbar-education-platform.d.cts +3 -3
- package/dist/navbar-education-platform.d.ts +3 -3
- package/dist/navbar-education-platform.js +6 -2
- package/dist/navbar-enterprise-mega.cjs +6 -2
- package/dist/navbar-enterprise-mega.d.cts +3 -3
- package/dist/navbar-enterprise-mega.d.ts +3 -3
- package/dist/navbar-enterprise-mega.js +6 -2
- package/dist/navbar-feature-grid.cjs +6 -2
- package/dist/navbar-feature-grid.d.cts +3 -3
- package/dist/navbar-feature-grid.d.ts +3 -3
- package/dist/navbar-feature-grid.js +6 -2
- package/dist/navbar-floating-pill.cjs +6 -2
- package/dist/navbar-floating-pill.d.cts +3 -3
- package/dist/navbar-floating-pill.d.ts +3 -3
- package/dist/navbar-floating-pill.js +6 -2
- package/dist/navbar-fullscreen-menu.cjs +6 -2
- package/dist/navbar-fullscreen-menu.d.cts +3 -3
- package/dist/navbar-fullscreen-menu.d.ts +3 -3
- package/dist/navbar-fullscreen-menu.js +6 -2
- package/dist/navbar-icon-links.cjs +6 -2
- package/dist/navbar-icon-links.d.cts +3 -3
- package/dist/navbar-icon-links.d.ts +3 -3
- package/dist/navbar-icon-links.js +6 -2
- package/dist/navbar-image-preview.cjs +6 -2
- package/dist/navbar-image-preview.d.cts +3 -3
- package/dist/navbar-image-preview.d.ts +3 -3
- package/dist/navbar-image-preview.js +6 -2
- package/dist/navbar-mega-menu.cjs +6 -2
- package/dist/navbar-mega-menu.d.cts +3 -3
- package/dist/navbar-mega-menu.d.ts +3 -3
- package/dist/navbar-mega-menu.js +6 -2
- package/dist/navbar-multi-column-groups.cjs +6 -2
- package/dist/navbar-multi-column-groups.d.cts +3 -3
- package/dist/navbar-multi-column-groups.d.ts +3 -3
- package/dist/navbar-multi-column-groups.js +6 -2
- package/dist/navbar-platform-resources.cjs +6 -2
- package/dist/navbar-platform-resources.d.cts +3 -3
- package/dist/navbar-platform-resources.d.ts +3 -3
- package/dist/navbar-platform-resources.js +6 -2
- package/dist/navbar-search-focused.cjs +6 -2
- package/dist/navbar-search-focused.d.cts +3 -3
- package/dist/navbar-search-focused.d.ts +3 -3
- package/dist/navbar-search-focused.js +6 -2
- package/dist/navbar-sidebar-mobile.cjs +6 -2
- package/dist/navbar-sidebar-mobile.d.cts +3 -3
- package/dist/navbar-sidebar-mobile.d.ts +3 -3
- package/dist/navbar-sidebar-mobile.js +6 -2
- package/dist/navbar-simple-links.cjs +6 -2
- package/dist/navbar-simple-links.d.cts +3 -3
- package/dist/navbar-simple-links.d.ts +3 -3
- package/dist/navbar-simple-links.js +6 -2
- package/dist/navbar-split-cta.cjs +6 -2
- package/dist/navbar-split-cta.d.cts +3 -3
- package/dist/navbar-split-cta.d.ts +3 -3
- package/dist/navbar-split-cta.js +6 -2
- package/dist/navbar-sticky-compact.cjs +6 -2
- package/dist/navbar-sticky-compact.d.cts +3 -3
- package/dist/navbar-sticky-compact.d.ts +3 -3
- package/dist/navbar-sticky-compact.js +6 -2
- package/dist/navbar-tabbed-sections.cjs +6 -2
- package/dist/navbar-tabbed-sections.d.cts +3 -3
- package/dist/navbar-tabbed-sections.d.ts +3 -3
- package/dist/navbar-tabbed-sections.js +6 -2
- package/dist/navbar-transparent-overlay.cjs +6 -2
- package/dist/navbar-transparent-overlay.d.cts +3 -3
- package/dist/navbar-transparent-overlay.d.ts +3 -3
- package/dist/navbar-transparent-overlay.js +6 -2
- package/dist/offer-modal-membership-image.cjs +6 -2
- package/dist/offer-modal-membership-image.d.cts +3 -3
- package/dist/offer-modal-membership-image.d.ts +3 -3
- package/dist/offer-modal-membership-image.js +6 -2
- package/dist/offer-modal-newsletter-discount.cjs +6 -2
- package/dist/offer-modal-newsletter-discount.d.cts +3 -3
- package/dist/offer-modal-newsletter-discount.d.ts +3 -3
- package/dist/offer-modal-newsletter-discount.js +6 -2
- package/dist/offer-modal-sheet-newsletter.cjs +6 -2
- package/dist/offer-modal-sheet-newsletter.d.cts +3 -3
- package/dist/offer-modal-sheet-newsletter.d.ts +3 -3
- package/dist/offer-modal-sheet-newsletter.js +6 -2
- package/dist/page-hero-banner.d.cts +3 -3
- package/dist/page-hero-banner.d.ts +3 -3
- package/dist/payment-platform-icon.cjs +27 -2
- package/dist/payment-platform-icon.js +7 -2
- package/dist/pressable.d.cts +2 -2
- package/dist/pressable.d.ts +2 -2
- package/dist/pricing-addons-cards.cjs +19 -15
- package/dist/pricing-addons-cards.d.cts +3 -3
- package/dist/pricing-addons-cards.d.ts +3 -3
- package/dist/pricing-addons-cards.js +16 -12
- package/dist/pricing-addons-featured.cjs +20 -16
- package/dist/pricing-addons-featured.d.cts +3 -3
- package/dist/pricing-addons-featured.d.ts +3 -3
- package/dist/pricing-addons-featured.js +16 -12
- package/dist/pricing-collapsible-plans.cjs +19 -15
- package/dist/pricing-collapsible-plans.d.cts +3 -3
- package/dist/pricing-collapsible-plans.d.ts +3 -3
- package/dist/pricing-collapsible-plans.js +16 -12
- package/dist/pricing-columns-toggle.cjs +20 -16
- package/dist/pricing-columns-toggle.d.cts +3 -3
- package/dist/pricing-columns-toggle.d.ts +3 -3
- package/dist/pricing-columns-toggle.js +16 -12
- package/dist/pricing-comparison-headers.cjs +21 -17
- package/dist/pricing-comparison-headers.d.cts +3 -3
- package/dist/pricing-comparison-headers.d.ts +3 -3
- package/dist/pricing-comparison-headers.js +16 -12
- package/dist/pricing-comparison-table.cjs +21 -17
- package/dist/pricing-comparison-table.d.cts +3 -3
- package/dist/pricing-comparison-table.d.ts +3 -3
- package/dist/pricing-comparison-table.js +16 -12
- package/dist/pricing-discount-card.cjs +18 -14
- package/dist/pricing-discount-card.d.cts +3 -3
- package/dist/pricing-discount-card.d.ts +3 -3
- package/dist/pricing-discount-card.js +16 -12
- package/dist/pricing-enterprise-contact.cjs +18 -14
- package/dist/pricing-enterprise-contact.d.cts +3 -3
- package/dist/pricing-enterprise-contact.d.ts +3 -3
- package/dist/pricing-enterprise-contact.js +16 -12
- package/dist/pricing-feature-matrix.cjs +19 -15
- package/dist/pricing-feature-matrix.d.cts +3 -3
- package/dist/pricing-feature-matrix.d.ts +3 -3
- package/dist/pricing-feature-matrix.js +16 -12
- package/dist/pricing-four-tier-toggle.cjs +20 -16
- package/dist/pricing-four-tier-toggle.d.cts +3 -3
- package/dist/pricing-four-tier-toggle.d.ts +3 -3
- package/dist/pricing-four-tier-toggle.js +16 -12
- package/dist/pricing-full-comparison.cjs +19 -15
- package/dist/pricing-full-comparison.d.cts +3 -3
- package/dist/pricing-full-comparison.d.ts +3 -3
- package/dist/pricing-full-comparison.js +17 -13
- package/dist/pricing-gradient-cards.cjs +20 -16
- package/dist/pricing-gradient-cards.d.cts +3 -3
- package/dist/pricing-gradient-cards.d.ts +3 -3
- package/dist/pricing-gradient-cards.js +16 -12
- package/dist/pricing-icon-headers.cjs +19 -15
- package/dist/pricing-icon-headers.d.cts +3 -3
- package/dist/pricing-icon-headers.d.ts +3 -3
- package/dist/pricing-icon-headers.js +16 -12
- package/dist/pricing-minimal-cards.cjs +19 -15
- package/dist/pricing-minimal-cards.d.cts +3 -3
- package/dist/pricing-minimal-cards.d.ts +3 -3
- package/dist/pricing-minimal-cards.js +16 -12
- package/dist/pricing-packages-radio.cjs +18 -14
- package/dist/pricing-packages-radio.d.cts +3 -3
- package/dist/pricing-packages-radio.d.ts +3 -3
- package/dist/pricing-packages-radio.js +16 -12
- package/dist/pricing-popular-highlight.cjs +20 -16
- package/dist/pricing-popular-highlight.d.cts +3 -3
- package/dist/pricing-popular-highlight.d.ts +3 -3
- package/dist/pricing-popular-highlight.js +16 -12
- package/dist/pricing-radio-toggle.cjs +20 -16
- package/dist/pricing-radio-toggle.d.cts +3 -3
- package/dist/pricing-radio-toggle.d.ts +3 -3
- package/dist/pricing-radio-toggle.js +16 -12
- package/dist/pricing-responsive-table.cjs +18 -14
- package/dist/pricing-responsive-table.d.cts +3 -3
- package/dist/pricing-responsive-table.d.ts +3 -3
- package/dist/pricing-responsive-table.js +16 -12
- package/dist/pricing-services-cards.cjs +19 -15
- package/dist/pricing-services-cards.d.cts +3 -3
- package/dist/pricing-services-cards.d.ts +3 -3
- package/dist/pricing-services-cards.js +16 -12
- package/dist/pricing-simple-card.cjs +18 -14
- package/dist/pricing-simple-card.d.cts +3 -3
- package/dist/pricing-simple-card.d.ts +3 -3
- package/dist/pricing-simple-card.js +16 -12
- package/dist/pricing-single-card.cjs +19 -15
- package/dist/pricing-single-card.d.cts +3 -3
- package/dist/pricing-single-card.d.ts +3 -3
- package/dist/pricing-single-card.js +16 -12
- package/dist/pricing-split-layout.cjs +16 -12
- package/dist/pricing-split-layout.d.cts +3 -3
- package/dist/pricing-split-layout.d.ts +3 -3
- package/dist/pricing-split-layout.js +16 -12
- package/dist/pricing-spotlight-card.cjs +18 -14
- package/dist/pricing-spotlight-card.d.cts +3 -3
- package/dist/pricing-spotlight-card.d.ts +3 -3
- package/dist/pricing-spotlight-card.js +16 -12
- package/dist/pricing-switch-cards.cjs +20 -16
- package/dist/pricing-switch-cards.d.cts +3 -3
- package/dist/pricing-switch-cards.d.ts +3 -3
- package/dist/pricing-switch-cards.js +16 -12
- package/dist/pricing-tabs-toggle.cjs +20 -16
- package/dist/pricing-tabs-toggle.d.cts +3 -3
- package/dist/pricing-tabs-toggle.d.ts +3 -3
- package/dist/pricing-tabs-toggle.js +16 -12
- package/dist/pricing-tier-grid.cjs +19 -15
- package/dist/pricing-tier-grid.d.cts +3 -3
- package/dist/pricing-tier-grid.d.ts +3 -3
- package/dist/pricing-tier-grid.js +16 -12
- package/dist/pricing-toggle-cards.cjs +20 -16
- package/dist/pricing-toggle-cards.d.cts +3 -3
- package/dist/pricing-toggle-cards.d.ts +3 -3
- package/dist/pricing-toggle-cards.js +16 -12
- package/dist/pricing-toggle-period.cjs +18 -14
- package/dist/pricing-toggle-period.d.cts +3 -3
- package/dist/pricing-toggle-period.d.ts +3 -3
- package/dist/pricing-toggle-period.js +16 -12
- package/dist/pricing-two-column-basic.cjs +20 -16
- package/dist/pricing-two-column-basic.d.cts +3 -3
- package/dist/pricing-two-column-basic.d.ts +3 -3
- package/dist/pricing-two-column-basic.js +16 -12
- package/dist/process-expandable-timeline.cjs +6 -2
- package/dist/process-expandable-timeline.d.cts +3 -3
- package/dist/process-expandable-timeline.d.ts +3 -3
- package/dist/process-expandable-timeline.js +6 -2
- package/dist/process-hover-cards.d.cts +3 -3
- package/dist/process-hover-cards.d.ts +3 -3
- package/dist/process-icon-timeline.cjs +26 -6
- package/dist/process-icon-timeline.d.cts +3 -3
- package/dist/process-icon-timeline.d.ts +3 -3
- package/dist/process-icon-timeline.js +10 -5
- package/dist/process-mission-principles.d.cts +3 -3
- package/dist/process-mission-principles.d.ts +3 -3
- package/dist/process-numbered-services.cjs +6 -2
- package/dist/process-numbered-services.d.cts +3 -3
- package/dist/process-numbered-services.d.ts +3 -3
- package/dist/process-numbered-services.js +6 -2
- package/dist/process-roadmap-timeline.cjs +26 -6
- package/dist/process-roadmap-timeline.d.cts +3 -3
- package/dist/process-roadmap-timeline.d.ts +3 -3
- package/dist/process-roadmap-timeline.js +10 -5
- package/dist/process-scroll-image.cjs +24 -20
- package/dist/process-scroll-image.d.cts +3 -3
- package/dist/process-scroll-image.d.ts +3 -3
- package/dist/process-scroll-image.js +22 -18
- package/dist/process-steps-grid.cjs +26 -6
- package/dist/process-steps-grid.d.cts +3 -3
- package/dist/process-steps-grid.d.ts +3 -3
- package/dist/process-steps-grid.js +10 -5
- package/dist/process-sticky-steps.cjs +6 -2
- package/dist/process-sticky-steps.d.cts +3 -3
- package/dist/process-sticky-steps.d.ts +3 -3
- package/dist/process-sticky-steps.js +6 -2
- package/dist/project-alternating-motion.d.cts +3 -3
- package/dist/project-alternating-motion.d.ts +3 -3
- package/dist/project-background-reveal.cjs +17 -13
- package/dist/project-background-reveal.d.cts +3 -3
- package/dist/project-background-reveal.d.ts +3 -3
- package/dist/project-background-reveal.js +16 -12
- package/dist/project-card-overlay.cjs +26 -6
- package/dist/project-card-overlay.d.cts +3 -3
- package/dist/project-card-overlay.d.ts +3 -3
- package/dist/project-card-overlay.js +10 -5
- package/dist/project-carousel-cinematic.cjs +31 -27
- package/dist/project-carousel-cinematic.d.cts +3 -3
- package/dist/project-carousel-cinematic.d.ts +3 -3
- package/dist/project-carousel-cinematic.js +26 -22
- package/dist/project-carousel-detail-cards.cjs +31 -27
- package/dist/project-carousel-detail-cards.d.cts +3 -3
- package/dist/project-carousel-detail-cards.d.ts +3 -3
- package/dist/project-carousel-detail-cards.js +26 -22
- package/dist/project-carousel-minimal.cjs +31 -27
- package/dist/project-carousel-minimal.d.cts +3 -3
- package/dist/project-carousel-minimal.d.ts +3 -3
- package/dist/project-carousel-minimal.js +26 -22
- package/dist/project-detail-architecture-carousel.cjs +6 -2
- package/dist/project-detail-architecture-carousel.d.cts +3 -3
- package/dist/project-detail-architecture-carousel.d.ts +3 -3
- package/dist/project-detail-architecture-carousel.js +6 -2
- 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.cjs +6 -2
- package/dist/project-detail-list-related.d.cts +3 -3
- package/dist/project-detail-list-related.d.ts +3 -3
- package/dist/project-detail-list-related.js +6 -2
- 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.cjs +6 -2
- package/dist/project-detail-photography-breadcrumb.d.cts +3 -3
- package/dist/project-detail-photography-breadcrumb.d.ts +3 -3
- package/dist/project-detail-photography-breadcrumb.js +6 -2
- 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.cjs +6 -2
- 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-detail-tabbed-case-study.js +6 -2
- package/dist/project-experience-quote.cjs +17 -13
- package/dist/project-experience-quote.d.cts +3 -3
- package/dist/project-experience-quote.d.ts +3 -3
- package/dist/project-experience-quote.js +16 -12
- package/dist/project-featured-carousel.cjs +27 -23
- package/dist/project-featured-carousel.d.cts +3 -3
- package/dist/project-featured-carousel.d.ts +3 -3
- package/dist/project-featured-carousel.js +26 -22
- 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.cjs +17 -13
- package/dist/project-horizontal-cards.d.cts +3 -3
- package/dist/project-horizontal-cards.d.ts +3 -3
- package/dist/project-horizontal-cards.js +16 -12
- 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.cjs +18 -14
- package/dist/project-interactive-hover-reveal.d.cts +3 -3
- package/dist/project-interactive-hover-reveal.d.ts +3 -3
- package/dist/project-interactive-hover-reveal.js +16 -12
- 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.cjs +26 -6
- package/dist/project-scroll-reveal.d.cts +3 -3
- package/dist/project-scroll-reveal.d.ts +3 -3
- package/dist/project-scroll-reveal.js +10 -5
- 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.cjs +31 -27
- package/dist/project-video-carousel.d.cts +3 -3
- package/dist/project-video-carousel.d.ts +3 -3
- package/dist/project-video-carousel.js +26 -22
- package/dist/project-video-hover-bento.cjs +26 -6
- 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-bento.js +10 -5
- package/dist/project-video-hover-grid.cjs +26 -6
- 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-grid.js +10 -5
- package/dist/project-video-hover-rounded.cjs +26 -6
- 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-rounded.js +10 -5
- package/dist/project-video-hover-stack.cjs +26 -6
- 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-stack.js +10 -5
- package/dist/project-video-hover-two-by-two.cjs +26 -6
- 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-video-hover-two-by-two.js +10 -5
- package/dist/project-work-showcase.cjs +17 -13
- package/dist/project-work-showcase.d.cts +3 -3
- package/dist/project-work-showcase.d.ts +3 -3
- package/dist/project-work-showcase.js +16 -12
- package/dist/project-zigzag-layout.cjs +16 -12
- package/dist/project-zigzag-layout.d.cts +3 -3
- package/dist/project-zigzag-layout.d.ts +3 -3
- package/dist/project-zigzag-layout.js +16 -12
- package/dist/registry.cjs +1848 -1756
- package/dist/registry.js +618 -526
- 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.cjs +6 -2
- package/dist/resource-detail-document-sidebar.d.cts +3 -3
- package/dist/resource-detail-document-sidebar.d.ts +3 -3
- package/dist/resource-detail-document-sidebar.js +6 -2
- package/dist/resource-detail-whitepaper-sidebar.cjs +6 -2
- package/dist/resource-detail-whitepaper-sidebar.d.cts +3 -3
- package/dist/resource-detail-whitepaper-sidebar.d.ts +3 -3
- package/dist/resource-detail-whitepaper-sidebar.js +6 -2
- package/dist/resource-list-course-cards.cjs +6 -2
- package/dist/resource-list-course-cards.d.cts +3 -3
- package/dist/resource-list-course-cards.d.ts +3 -3
- package/dist/resource-list-course-cards.js +6 -2
- package/dist/resource-list-featured-articles.cjs +6 -2
- 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-articles.js +6 -2
- package/dist/resource-list-featured-grid.cjs +6 -2
- package/dist/resource-list-featured-grid.d.cts +3 -3
- package/dist/resource-list-featured-grid.d.ts +3 -3
- package/dist/resource-list-featured-grid.js +6 -2
- package/dist/resource-list-hero-filter.cjs +6 -2
- package/dist/resource-list-hero-filter.d.cts +2 -2
- package/dist/resource-list-hero-filter.d.ts +2 -2
- package/dist/resource-list-hero-filter.js +6 -2
- package/dist/resource-list-news-updates.cjs +6 -2
- package/dist/resource-list-news-updates.d.cts +3 -3
- package/dist/resource-list-news-updates.d.ts +3 -3
- package/dist/resource-list-news-updates.js +6 -2
- package/dist/section.d.cts +3 -3
- package/dist/section.d.ts +3 -3
- package/dist/service-detail-centered-expertise.cjs +16 -12
- package/dist/service-detail-centered-expertise.d.cts +3 -3
- package/dist/service-detail-centered-expertise.d.ts +3 -3
- package/dist/service-detail-centered-expertise.js +16 -12
- package/dist/service-detail-compact-cards.cjs +16 -12
- package/dist/service-detail-compact-cards.d.cts +3 -3
- package/dist/service-detail-compact-cards.d.ts +3 -3
- package/dist/service-detail-compact-cards.js +16 -12
- 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.cjs +16 -12
- 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-related.js +16 -12
- package/dist/service-detail-sidebar-stats.cjs +27 -7
- package/dist/service-detail-sidebar-stats.d.cts +3 -3
- package/dist/service-detail-sidebar-stats.d.ts +3 -3
- package/dist/service-detail-sidebar-stats.js +10 -5
- 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.cjs +38 -34
- package/dist/service-hover-carousel.d.cts +3 -3
- package/dist/service-hover-carousel.d.ts +3 -3
- package/dist/service-hover-carousel.js +26 -22
- package/dist/services-list-accordion-benefits.cjs +16 -12
- 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-benefits.js +16 -12
- package/dist/services-list-accordion.cjs +10 -8
- package/dist/services-list-accordion.d.cts +3 -3
- package/dist/services-list-accordion.d.ts +3 -3
- package/dist/services-list-accordion.js +10 -5
- package/dist/services-list-cards-hover.cjs +16 -12
- package/dist/services-list-cards-hover.d.cts +3 -3
- package/dist/services-list-cards-hover.d.ts +3 -3
- package/dist/services-list-cards-hover.js +16 -12
- package/dist/services-list-category-accordion.cjs +10 -8
- package/dist/services-list-category-accordion.d.cts +3 -3
- package/dist/services-list-category-accordion.d.ts +3 -3
- package/dist/services-list-category-accordion.js +10 -5
- package/dist/services-list-centered-icons.cjs +27 -7
- package/dist/services-list-centered-icons.d.cts +3 -3
- package/dist/services-list-centered-icons.d.ts +3 -3
- package/dist/services-list-centered-icons.js +10 -5
- package/dist/services-list-culture-tabs.cjs +16 -12
- package/dist/services-list-culture-tabs.d.cts +3 -3
- package/dist/services-list-culture-tabs.d.ts +3 -3
- package/dist/services-list-culture-tabs.js +16 -12
- 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.cjs +27 -7
- package/dist/services-list-feature-spotlight.d.cts +3 -3
- package/dist/services-list-feature-spotlight.d.ts +3 -3
- package/dist/services-list-feature-spotlight.js +10 -5
- package/dist/services-list-featured-highlight.cjs +16 -12
- package/dist/services-list-featured-highlight.d.cts +3 -3
- package/dist/services-list-featured-highlight.d.ts +3 -3
- package/dist/services-list-featured-highlight.js +16 -12
- package/dist/services-list-hero-cards.cjs +6 -2
- package/dist/services-list-hero-cards.d.cts +3 -3
- package/dist/services-list-hero-cards.d.ts +3 -3
- package/dist/services-list-hero-cards.js +6 -2
- package/dist/services-list-icon-grid.cjs +27 -7
- package/dist/services-list-icon-grid.d.cts +3 -3
- package/dist/services-list-icon-grid.d.ts +3 -3
- package/dist/services-list-icon-grid.js +10 -5
- package/dist/services-list-image-cards.cjs +6 -2
- 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-cards.js +6 -2
- package/dist/services-list-image-overlay-grid.cjs +6 -2
- 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-image-overlay-grid.js +6 -2
- package/dist/services-list-masonry.cjs +16 -12
- package/dist/services-list-masonry.d.cts +3 -3
- package/dist/services-list-masonry.d.ts +3 -3
- package/dist/services-list-masonry.js +16 -12
- package/dist/services-list-methodology-steps.cjs +16 -12
- package/dist/services-list-methodology-steps.d.cts +3 -3
- package/dist/services-list-methodology-steps.d.ts +3 -3
- package/dist/services-list-methodology-steps.js +16 -12
- package/dist/services-list-minimal-grid.cjs +16 -12
- package/dist/services-list-minimal-grid.d.cts +3 -3
- package/dist/services-list-minimal-grid.d.ts +3 -3
- package/dist/services-list-minimal-grid.js +16 -12
- package/dist/services-list-muted-cards.cjs +27 -7
- package/dist/services-list-muted-cards.d.cts +3 -3
- package/dist/services-list-muted-cards.d.ts +3 -3
- package/dist/services-list-muted-cards.js +10 -5
- package/dist/services-list-numbered-steps.cjs +16 -12
- package/dist/services-list-numbered-steps.d.cts +3 -3
- package/dist/services-list-numbered-steps.d.ts +3 -3
- package/dist/services-list-numbered-steps.js +16 -12
- package/dist/services-list-pricing-grid.cjs +16 -12
- package/dist/services-list-pricing-grid.d.cts +3 -3
- package/dist/services-list-pricing-grid.d.ts +3 -3
- package/dist/services-list-pricing-grid.js +16 -12
- package/dist/services-list-progress-sidebar.cjs +16 -12
- package/dist/services-list-progress-sidebar.d.cts +3 -3
- package/dist/services-list-progress-sidebar.d.ts +3 -3
- package/dist/services-list-progress-sidebar.js +16 -12
- package/dist/services-list-split-checklist.cjs +16 -12
- package/dist/services-list-split-checklist.d.cts +3 -3
- package/dist/services-list-split-checklist.d.ts +3 -3
- package/dist/services-list-split-checklist.js +16 -12
- package/dist/services-list-sticky-image.cjs +6 -2
- package/dist/services-list-sticky-image.d.cts +3 -3
- package/dist/services-list-sticky-image.d.ts +3 -3
- package/dist/services-list-sticky-image.js +6 -2
- package/dist/services-list-table-hover.cjs +6 -2
- package/dist/services-list-table-hover.d.cts +3 -3
- package/dist/services-list-table-hover.d.ts +3 -3
- package/dist/services-list-table-hover.js +6 -2
- package/dist/services-list-tabs-features.cjs +10 -8
- package/dist/services-list-tabs-features.d.cts +3 -3
- package/dist/services-list-tabs-features.d.ts +3 -3
- package/dist/services-list-tabs-features.js +10 -5
- package/dist/services-list-timeline.cjs +16 -12
- package/dist/services-list-timeline.d.cts +3 -3
- package/dist/services-list-timeline.d.ts +3 -3
- package/dist/services-list-timeline.js +16 -12
- package/dist/services-list-two-column-grid.cjs +16 -12
- 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-two-column-grid.js +16 -12
- package/dist/services-list-vertical-tags.cjs +27 -7
- package/dist/services-list-vertical-tags.d.cts +3 -3
- package/dist/services-list-vertical-tags.d.ts +3 -3
- package/dist/services-list-vertical-tags.js +10 -5
- package/dist/services-list-video-showcase.cjs +18 -14
- package/dist/services-list-video-showcase.d.cts +3 -3
- package/dist/services-list-video-showcase.d.ts +3 -3
- package/dist/services-list-video-showcase.js +18 -14
- package/dist/social-link-icon.cjs +6 -2
- package/dist/social-link-icon.d.cts +2 -2
- package/dist/social-link-icon.d.ts +2 -2
- package/dist/social-link-icon.js +6 -2
- package/dist/stats-animated-counter.cjs +17 -13
- package/dist/stats-animated-counter.d.cts +3 -3
- package/dist/stats-animated-counter.d.ts +3 -3
- package/dist/stats-animated-counter.js +15 -11
- package/dist/stats-bar-comparison.d.cts +3 -3
- package/dist/stats-bar-comparison.d.ts +3 -3
- package/dist/stats-card-group.cjs +26 -6
- package/dist/stats-card-group.d.cts +3 -3
- package/dist/stats-card-group.d.ts +3 -3
- package/dist/stats-card-group.js +10 -5
- package/dist/stats-circular-progress.d.cts +3 -3
- package/dist/stats-circular-progress.d.ts +3 -3
- package/dist/stats-growth-timeline.cjs +22 -18
- package/dist/stats-growth-timeline.d.cts +3 -3
- package/dist/stats-growth-timeline.d.ts +3 -3
- package/dist/stats-growth-timeline.js +16 -12
- package/dist/stats-icon-cards.cjs +26 -6
- package/dist/stats-icon-cards.d.cts +3 -3
- package/dist/stats-icon-cards.d.ts +3 -3
- package/dist/stats-icon-cards.js +10 -5
- package/dist/stats-impact-grid.cjs +23 -19
- package/dist/stats-impact-grid.d.cts +3 -3
- package/dist/stats-impact-grid.d.ts +3 -3
- package/dist/stats-impact-grid.js +16 -12
- 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.cjs +26 -6
- package/dist/stats-primary-secondary.d.cts +3 -3
- package/dist/stats-primary-secondary.d.ts +3 -3
- package/dist/stats-primary-secondary.js +10 -5
- package/dist/stats-simple-grid.d.cts +3 -3
- package/dist/stats-simple-grid.d.ts +3 -3
- package/dist/stats-timeline-tabs.cjs +9 -7
- package/dist/stats-timeline-tabs.d.cts +3 -3
- package/dist/stats-timeline-tabs.d.ts +3 -3
- package/dist/stats-timeline-tabs.js +10 -5
- package/dist/team-alternating-bios.cjs +17 -13
- package/dist/team-alternating-bios.d.cts +3 -3
- package/dist/team-alternating-bios.d.ts +3 -3
- package/dist/team-alternating-bios.js +17 -13
- package/dist/team-avatar-social.cjs +17 -13
- package/dist/team-avatar-social.d.cts +3 -3
- package/dist/team-avatar-social.d.ts +3 -3
- package/dist/team-avatar-social.js +17 -13
- package/dist/team-bio-badges.cjs +17 -13
- package/dist/team-bio-badges.d.cts +3 -3
- package/dist/team-bio-badges.d.ts +3 -3
- package/dist/team-bio-badges.js +17 -13
- package/dist/team-carousel-experience.cjs +27 -23
- package/dist/team-carousel-experience.d.cts +3 -3
- package/dist/team-carousel-experience.d.ts +3 -3
- package/dist/team-carousel-experience.js +27 -23
- 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.cjs +18 -14
- package/dist/team-contact-cards.d.cts +3 -3
- package/dist/team-contact-cards.d.ts +3 -3
- package/dist/team-contact-cards.js +18 -14
- 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.cjs +22 -18
- package/dist/team-filterable-search.d.cts +3 -3
- package/dist/team-filterable-search.d.ts +3 -3
- package/dist/team-filterable-search.js +22 -18
- package/dist/team-gradient-cards.cjs +17 -13
- package/dist/team-gradient-cards.d.cts +3 -3
- package/dist/team-gradient-cards.d.ts +3 -3
- package/dist/team-gradient-cards.js +17 -13
- package/dist/team-grid-animated.cjs +18 -14
- package/dist/team-grid-animated.d.cts +3 -3
- package/dist/team-grid-animated.d.ts +3 -3
- package/dist/team-grid-animated.js +18 -14
- package/dist/team-hover-highlight.cjs +17 -13
- package/dist/team-hover-highlight.d.cts +3 -3
- package/dist/team-hover-highlight.d.ts +3 -3
- package/dist/team-hover-highlight.js +17 -13
- package/dist/team-hover-overlay.cjs +17 -13
- package/dist/team-hover-overlay.d.cts +3 -3
- package/dist/team-hover-overlay.d.ts +3 -3
- package/dist/team-hover-overlay.js +17 -13
- package/dist/team-investor-showcase.d.cts +3 -3
- package/dist/team-investor-showcase.d.ts +3 -3
- package/dist/team-large-images.cjs +17 -13
- package/dist/team-large-images.d.cts +3 -3
- package/dist/team-large-images.d.ts +3 -3
- package/dist/team-large-images.js +17 -13
- package/dist/team-media-showcase.d.cts +3 -3
- package/dist/team-media-showcase.d.ts +3 -3
- package/dist/team-role-filter.cjs +20 -16
- package/dist/team-role-filter.d.cts +3 -3
- package/dist/team-role-filter.d.ts +3 -3
- package/dist/team-role-filter.js +20 -16
- package/dist/team-simple-grid.d.cts +3 -3
- package/dist/team-simple-grid.d.ts +3 -3
- package/dist/team-skill-badges.cjs +17 -13
- package/dist/team-skill-badges.d.cts +3 -3
- package/dist/team-skill-badges.d.ts +3 -3
- package/dist/team-skill-badges.js +17 -13
- package/dist/team-social-cards.cjs +17 -13
- package/dist/team-social-cards.d.cts +3 -3
- package/dist/team-social-cards.d.ts +3 -3
- package/dist/team-social-cards.js +17 -13
- package/dist/team-social-grid.cjs +17 -13
- package/dist/team-social-grid.d.cts +3 -3
- package/dist/team-social-grid.d.ts +3 -3
- package/dist/team-social-grid.js +17 -13
- package/dist/team-testimonial-stats.cjs +17 -13
- package/dist/team-testimonial-stats.d.cts +3 -3
- package/dist/team-testimonial-stats.d.ts +3 -3
- package/dist/team-testimonial-stats.js +17 -13
- package/dist/testimonial-carousel-cards.cjs +33 -29
- package/dist/testimonial-carousel-cards.d.cts +3 -3
- package/dist/testimonial-carousel-cards.d.ts +3 -3
- package/dist/testimonial-carousel-cards.js +26 -22
- package/dist/testimonials-animated-split.cjs +9 -7
- package/dist/testimonials-animated-split.d.cts +3 -3
- package/dist/testimonials-animated-split.d.ts +3 -3
- package/dist/testimonials-animated-split.js +10 -5
- package/dist/testimonials-bento-grid.cjs +9 -7
- package/dist/testimonials-bento-grid.d.cts +3 -3
- package/dist/testimonials-bento-grid.d.ts +3 -3
- package/dist/testimonials-bento-grid.js +10 -5
- package/dist/testimonials-carousel-image.cjs +18 -14
- package/dist/testimonials-carousel-image.d.cts +3 -3
- package/dist/testimonials-carousel-image.d.ts +3 -3
- package/dist/testimonials-carousel-image.js +13 -9
- package/dist/testimonials-centered-avatars.d.cts +3 -3
- package/dist/testimonials-centered-avatars.d.ts +3 -3
- package/dist/testimonials-company-logo.cjs +26 -6
- package/dist/testimonials-company-logo.d.cts +3 -3
- package/dist/testimonials-company-logo.d.ts +3 -3
- package/dist/testimonials-company-logo.js +10 -5
- package/dist/testimonials-grid-add-review.cjs +9 -7
- package/dist/testimonials-grid-add-review.d.cts +3 -3
- package/dist/testimonials-grid-add-review.d.ts +3 -3
- package/dist/testimonials-grid-add-review.js +10 -5
- package/dist/testimonials-images-helpful.cjs +21 -17
- package/dist/testimonials-images-helpful.d.cts +3 -3
- package/dist/testimonials-images-helpful.d.ts +3 -3
- package/dist/testimonials-images-helpful.js +16 -12
- package/dist/testimonials-large-quote.cjs +9 -7
- package/dist/testimonials-large-quote.d.cts +3 -3
- package/dist/testimonials-large-quote.d.ts +3 -3
- package/dist/testimonials-large-quote.js +10 -5
- package/dist/testimonials-list-verified.cjs +9 -7
- package/dist/testimonials-list-verified.d.cts +3 -3
- package/dist/testimonials-list-verified.d.ts +3 -3
- package/dist/testimonials-list-verified.js +10 -5
- 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.cjs +9 -7
- package/dist/testimonials-mini-dividers.d.cts +3 -3
- package/dist/testimonials-mini-dividers.d.ts +3 -3
- package/dist/testimonials-mini-dividers.js +10 -5
- package/dist/testimonials-minimal-numbered.cjs +9 -7
- package/dist/testimonials-minimal-numbered.d.cts +3 -3
- package/dist/testimonials-minimal-numbered.d.ts +3 -3
- package/dist/testimonials-minimal-numbered.js +10 -5
- package/dist/testimonials-parallax-number.d.cts +3 -3
- package/dist/testimonials-parallax-number.d.ts +3 -3
- package/dist/testimonials-quote-carousel.cjs +31 -27
- package/dist/testimonials-quote-carousel.d.cts +3 -3
- package/dist/testimonials-quote-carousel.d.ts +3 -3
- package/dist/testimonials-quote-carousel.js +26 -22
- package/dist/testimonials-scrolling-columns.cjs +26 -6
- package/dist/testimonials-scrolling-columns.d.cts +3 -3
- package/dist/testimonials-scrolling-columns.d.ts +3 -3
- package/dist/testimonials-scrolling-columns.js +10 -5
- 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.cjs +9 -7
- package/dist/testimonials-split-image.d.cts +3 -3
- package/dist/testimonials-split-image.d.ts +3 -3
- package/dist/testimonials-split-image.js +10 -5
- package/dist/testimonials-stats-header.cjs +9 -7
- package/dist/testimonials-stats-header.d.cts +3 -3
- package/dist/testimonials-stats-header.d.ts +3 -3
- package/dist/testimonials-stats-header.js +10 -5
- package/dist/testimonials-twitter-cards.cjs +19 -15
- package/dist/testimonials-twitter-cards.d.cts +3 -3
- package/dist/testimonials-twitter-cards.d.ts +3 -3
- package/dist/testimonials-twitter-cards.js +16 -12
- package/dist/testimonials-wall-compact.d.cts +3 -3
- package/dist/testimonials-wall-compact.d.ts +3 -3
- package/dist/timeline-ai-workflow-cards.cjs +27 -7
- package/dist/timeline-ai-workflow-cards.d.cts +3 -3
- package/dist/timeline-ai-workflow-cards.d.ts +3 -3
- package/dist/timeline-ai-workflow-cards.js +10 -5
- package/dist/timeline-alternating-diagonal.cjs +12 -8
- package/dist/timeline-alternating-diagonal.d.cts +3 -3
- package/dist/timeline-alternating-diagonal.d.ts +3 -3
- package/dist/timeline-alternating-diagonal.js +12 -8
- 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.cjs +10 -8
- package/dist/timeline-horizontal-icons.d.cts +3 -3
- package/dist/timeline-horizontal-icons.d.ts +3 -3
- package/dist/timeline-horizontal-icons.js +10 -5
- 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.cjs +27 -7
- package/dist/timeline-productivity-list.d.cts +3 -3
- package/dist/timeline-productivity-list.d.ts +3 -3
- package/dist/timeline-productivity-list.js +10 -5
- 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.cjs +22 -18
- package/dist/timeline-stepper-animated.d.cts +3 -3
- package/dist/timeline-stepper-animated.d.ts +3 -3
- package/dist/timeline-stepper-animated.js +21 -17
- package/dist/timeline-tabbed-phases.cjs +6 -2
- package/dist/timeline-tabbed-phases.d.cts +3 -3
- package/dist/timeline-tabbed-phases.d.ts +3 -3
- package/dist/timeline-tabbed-phases.js +6 -2
- 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.cjs +6 -2
- package/dist/timeline-vertical-icon-dashed.d.cts +3 -3
- package/dist/timeline-vertical-icon-dashed.d.ts +3 -3
- package/dist/timeline-vertical-icon-dashed.js +6 -2
- package/dist/types.d.cts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/use-responsive-layout.d.cts +2 -2
- package/dist/use-responsive-layout.d.ts +2 -2
- package/dist/utils.d.cts +3 -3
- package/dist/utils.d.ts +3 -3
- package/package.json +3 -3
package/dist/registry.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as React8 from 'react';
|
|
2
|
+
import React8__default, { Fragment, createContext, useMemo, forwardRef, useCallback, useState, useEffect, useRef, 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';
|
|
6
6
|
import { Img } from '@page-speed/img';
|
|
7
7
|
import { MapLibre } from '@page-speed/maps';
|
|
8
8
|
import { cva } from 'class-variance-authority';
|
|
9
|
+
import { Icon } from '@page-speed/icon';
|
|
9
10
|
import { motion as motion$1, AnimatePresence as AnimatePresence$1 } from 'motion/react';
|
|
10
11
|
import { Slot } from '@radix-ui/react-slot';
|
|
11
12
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
12
|
-
import { Icon } from '@page-speed/icon';
|
|
13
13
|
import { usePlatformFromUrl } from '@opensite/hooks/usePlatformFromUrl';
|
|
14
14
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
15
15
|
import { FormEngine, useFileUpload, useContactForm, DynamicFormField, submitPageSpeedForm, PageSpeedFormSubmissionError, isValidEmail } from '@page-speed/forms/integration';
|
|
@@ -148,7 +148,7 @@ var maxWidthStyles = {
|
|
|
148
148
|
"4xl": "max-w-[1536px]",
|
|
149
149
|
full: "max-w-full"
|
|
150
150
|
};
|
|
151
|
-
var Container =
|
|
151
|
+
var Container = React8__default.forwardRef(
|
|
152
152
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
153
153
|
const Component = as;
|
|
154
154
|
return /* @__PURE__ */ jsx(
|
|
@@ -454,7 +454,7 @@ var spacingStyles = {
|
|
|
454
454
|
};
|
|
455
455
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
456
456
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
457
|
-
var Section =
|
|
457
|
+
var Section = React8__default.forwardRef(
|
|
458
458
|
({
|
|
459
459
|
id,
|
|
460
460
|
title,
|
|
@@ -519,12 +519,12 @@ function TextInner({ as, className, children, ...props }, ref) {
|
|
|
519
519
|
const Component = as || "span";
|
|
520
520
|
return /* @__PURE__ */ jsx(Component, { ref, className: cn(className), ...props, children });
|
|
521
521
|
}
|
|
522
|
-
var Text =
|
|
522
|
+
var Text = React8.forwardRef(TextInner);
|
|
523
523
|
Text.displayName = "Text";
|
|
524
524
|
function isContentTextItem(item) {
|
|
525
|
-
return item !== null && typeof item === "object" && !
|
|
525
|
+
return item !== null && typeof item === "object" && !React8.isValidElement(item) && "_type" in item && item._type === "text";
|
|
526
526
|
}
|
|
527
|
-
var ContentGroup =
|
|
527
|
+
var ContentGroup = React8.forwardRef(
|
|
528
528
|
({ items, className, children, ...props }, ref) => {
|
|
529
529
|
const hasContent = items && items.length > 0;
|
|
530
530
|
if (!hasContent) {
|
|
@@ -537,10 +537,10 @@ var ContentGroup = React32.forwardRef(
|
|
|
537
537
|
return /* @__PURE__ */ jsx(Text, { ...textProps }, idx);
|
|
538
538
|
}
|
|
539
539
|
const reactNode = item;
|
|
540
|
-
if (
|
|
541
|
-
return
|
|
540
|
+
if (React8.isValidElement(reactNode)) {
|
|
541
|
+
return React8.cloneElement(reactNode, { key: reactNode.key ?? idx });
|
|
542
542
|
}
|
|
543
|
-
return /* @__PURE__ */ jsx(
|
|
543
|
+
return /* @__PURE__ */ jsx(React8.Fragment, { children: reactNode }, idx);
|
|
544
544
|
}),
|
|
545
545
|
children
|
|
546
546
|
] });
|
|
@@ -729,7 +729,7 @@ function useNavigation({
|
|
|
729
729
|
href,
|
|
730
730
|
onClick
|
|
731
731
|
} = {}) {
|
|
732
|
-
const linkType =
|
|
732
|
+
const linkType = React8.useMemo(() => {
|
|
733
733
|
if (!href || href.trim() === "") {
|
|
734
734
|
return onClick ? "none" : "none";
|
|
735
735
|
}
|
|
@@ -750,7 +750,7 @@ function useNavigation({
|
|
|
750
750
|
return "internal";
|
|
751
751
|
}
|
|
752
752
|
}, [href, onClick]);
|
|
753
|
-
const normalizedHref =
|
|
753
|
+
const normalizedHref = React8.useMemo(() => {
|
|
754
754
|
if (!href || href.trim() === "") {
|
|
755
755
|
return void 0;
|
|
756
756
|
}
|
|
@@ -768,7 +768,7 @@ function useNavigation({
|
|
|
768
768
|
return trimmed;
|
|
769
769
|
}
|
|
770
770
|
}, [href, linkType]);
|
|
771
|
-
const target =
|
|
771
|
+
const target = React8.useMemo(() => {
|
|
772
772
|
switch (linkType) {
|
|
773
773
|
case "external":
|
|
774
774
|
return "_blank";
|
|
@@ -781,7 +781,7 @@ function useNavigation({
|
|
|
781
781
|
return void 0;
|
|
782
782
|
}
|
|
783
783
|
}, [linkType]);
|
|
784
|
-
const rel =
|
|
784
|
+
const rel = React8.useMemo(() => {
|
|
785
785
|
if (linkType === "external") {
|
|
786
786
|
return "noopener noreferrer";
|
|
787
787
|
}
|
|
@@ -790,7 +790,7 @@ function useNavigation({
|
|
|
790
790
|
const isExternal = linkType === "external";
|
|
791
791
|
const isInternal = linkType === "internal";
|
|
792
792
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
793
|
-
const handleClick =
|
|
793
|
+
const handleClick = React8.useCallback(
|
|
794
794
|
(event) => {
|
|
795
795
|
if (onClick) {
|
|
796
796
|
try {
|
|
@@ -974,7 +974,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
974
974
|
size: "default"
|
|
975
975
|
}
|
|
976
976
|
});
|
|
977
|
-
var Pressable =
|
|
977
|
+
var Pressable = React8.forwardRef(
|
|
978
978
|
({
|
|
979
979
|
children,
|
|
980
980
|
className,
|
|
@@ -1072,6 +1072,14 @@ var Pressable = React32.forwardRef(
|
|
|
1072
1072
|
}
|
|
1073
1073
|
);
|
|
1074
1074
|
Pressable.displayName = "Pressable";
|
|
1075
|
+
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
1076
|
+
var DynamicIcon = React8.memo(function DynamicIcon2({
|
|
1077
|
+
apiKey,
|
|
1078
|
+
...props
|
|
1079
|
+
}) {
|
|
1080
|
+
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
1081
|
+
});
|
|
1082
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
1075
1083
|
var PANEL_POSITION_CLASS = {
|
|
1076
1084
|
"top-left": "left-4 top-4",
|
|
1077
1085
|
"top-right": "right-4 top-4",
|
|
@@ -1159,13 +1167,24 @@ function MarkerActions({ actions }) {
|
|
|
1159
1167
|
);
|
|
1160
1168
|
}) });
|
|
1161
1169
|
}
|
|
1162
|
-
function MarkerMediaCarousel({
|
|
1163
|
-
|
|
1170
|
+
function MarkerMediaCarousel({
|
|
1171
|
+
mediaItems,
|
|
1172
|
+
optixFlowConfig
|
|
1173
|
+
}) {
|
|
1174
|
+
const [activeIndex, setActiveIndex] = React8.useState(0);
|
|
1164
1175
|
const totalItems = mediaItems.length;
|
|
1165
|
-
|
|
1176
|
+
const mediaResetKey = React8.useMemo(
|
|
1177
|
+
() => mediaItems.map((item, index) => {
|
|
1178
|
+
const itemId = normalizeId(item.id, `media-${index}`);
|
|
1179
|
+
return `${itemId}:${item.src}:${item.type ?? ""}:${item.poster ?? ""}`;
|
|
1180
|
+
}).join("|"),
|
|
1181
|
+
[mediaItems]
|
|
1182
|
+
);
|
|
1183
|
+
const activeItemIndex = Math.min(activeIndex, Math.max(0, totalItems - 1));
|
|
1184
|
+
React8.useEffect(() => {
|
|
1166
1185
|
setActiveIndex(0);
|
|
1167
|
-
}, [
|
|
1168
|
-
const activeMediaItem = mediaItems[
|
|
1186
|
+
}, [mediaResetKey]);
|
|
1187
|
+
const activeMediaItem = mediaItems[activeItemIndex];
|
|
1169
1188
|
const mediaType = resolveMediaType(activeMediaItem);
|
|
1170
1189
|
return /* @__PURE__ */ jsxs("div", { className: "relative border-b border-border/60 bg-muted/40", children: [
|
|
1171
1190
|
/* @__PURE__ */ jsx("div", { className: "relative h-44 w-full overflow-hidden", children: mediaType === "video" ? /* @__PURE__ */ jsx(
|
|
@@ -1178,12 +1197,13 @@ function MarkerMediaCarousel({ mediaItems }) {
|
|
|
1178
1197
|
children: /* @__PURE__ */ jsx("source", { src: activeMediaItem.src })
|
|
1179
1198
|
}
|
|
1180
1199
|
) : /* @__PURE__ */ jsx(
|
|
1181
|
-
|
|
1200
|
+
Img,
|
|
1182
1201
|
{
|
|
1183
1202
|
src: activeMediaItem.src,
|
|
1184
1203
|
alt: activeMediaItem.alt ?? "Map marker media",
|
|
1185
1204
|
className: "h-full w-full object-cover",
|
|
1186
|
-
loading: "
|
|
1205
|
+
loading: "eager",
|
|
1206
|
+
optixFlowConfig
|
|
1187
1207
|
}
|
|
1188
1208
|
) }),
|
|
1189
1209
|
totalItems > 1 ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -1192,11 +1212,13 @@ function MarkerMediaCarousel({ mediaItems }) {
|
|
|
1192
1212
|
{
|
|
1193
1213
|
type: "button",
|
|
1194
1214
|
"aria-label": "Show previous media",
|
|
1195
|
-
className: "absolute left-2 top-1/2 inline-flex
|
|
1215
|
+
className: "absolute left-2 top-1/2 inline-flex size-8 -translate-y-1/2 items-center justify-center rounded-full bg-card text-card-foreground shadow-sm transition hover:bg-muted hover:text-muted-foreground",
|
|
1196
1216
|
onClick: () => {
|
|
1197
|
-
setActiveIndex(
|
|
1217
|
+
setActiveIndex(
|
|
1218
|
+
(current) => (current - 1 + totalItems) % totalItems
|
|
1219
|
+
);
|
|
1198
1220
|
},
|
|
1199
|
-
children: "
|
|
1221
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-left", size: 16 })
|
|
1200
1222
|
}
|
|
1201
1223
|
),
|
|
1202
1224
|
/* @__PURE__ */ jsx(
|
|
@@ -1204,11 +1226,11 @@ function MarkerMediaCarousel({ mediaItems }) {
|
|
|
1204
1226
|
{
|
|
1205
1227
|
type: "button",
|
|
1206
1228
|
"aria-label": "Show next media",
|
|
1207
|
-
className: "absolute right-2 top-1/2 inline-flex h-8 w-8 -translate-y-1/2 items-center justify-center rounded-full bg-
|
|
1229
|
+
className: "absolute right-2 top-1/2 inline-flex h-8 w-8 -translate-y-1/2 items-center justify-center rounded-full bg-card text-card-foreground shadow-sm transition hover:bg-muted hover:text-muted-foreground",
|
|
1208
1230
|
onClick: () => {
|
|
1209
1231
|
setActiveIndex((current) => (current + 1) % totalItems);
|
|
1210
1232
|
},
|
|
1211
|
-
children: "
|
|
1233
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16 })
|
|
1212
1234
|
}
|
|
1213
1235
|
),
|
|
1214
1236
|
/* @__PURE__ */ jsx("div", { className: "absolute bottom-2 left-1/2 flex -translate-x-1/2 items-center gap-1.5", children: mediaItems.map((item, index) => /* @__PURE__ */ jsx(
|
|
@@ -1218,7 +1240,7 @@ function MarkerMediaCarousel({ mediaItems }) {
|
|
|
1218
1240
|
"aria-label": `Show media item ${index + 1}`,
|
|
1219
1241
|
className: cn(
|
|
1220
1242
|
"h-2 rounded-full transition-all",
|
|
1221
|
-
index ===
|
|
1243
|
+
index === activeItemIndex ? "w-6 bg-card" : "w-2 bg-card opacity-50 hover:opacity-100"
|
|
1222
1244
|
),
|
|
1223
1245
|
onClick: () => setActiveIndex(index)
|
|
1224
1246
|
},
|
|
@@ -1264,16 +1286,17 @@ function GeoMap({
|
|
|
1264
1286
|
initialSelectedMarkerId,
|
|
1265
1287
|
onSelectionChange,
|
|
1266
1288
|
clearSelectionOnMapClick = true,
|
|
1267
|
-
mapChildren
|
|
1289
|
+
mapChildren,
|
|
1290
|
+
optixFlowConfig
|
|
1268
1291
|
}) {
|
|
1269
|
-
const normalizedStandaloneMarkers =
|
|
1292
|
+
const normalizedStandaloneMarkers = React8.useMemo(
|
|
1270
1293
|
() => markers.map((marker, index) => ({
|
|
1271
1294
|
...marker,
|
|
1272
1295
|
id: normalizeId(marker.id, `marker-${index}`)
|
|
1273
1296
|
})),
|
|
1274
1297
|
[markers]
|
|
1275
1298
|
);
|
|
1276
|
-
const normalizedClusters =
|
|
1299
|
+
const normalizedClusters = React8.useMemo(() => {
|
|
1277
1300
|
const results = [];
|
|
1278
1301
|
clusters.forEach((cluster, clusterIndex) => {
|
|
1279
1302
|
const clusterId = normalizeId(cluster.id, `cluster-${clusterIndex}`);
|
|
@@ -1298,7 +1321,7 @@ function GeoMap({
|
|
|
1298
1321
|
});
|
|
1299
1322
|
return results;
|
|
1300
1323
|
}, [clusters]);
|
|
1301
|
-
const markerLookup =
|
|
1324
|
+
const markerLookup = React8.useMemo(() => {
|
|
1302
1325
|
const lookup = /* @__PURE__ */ new Map();
|
|
1303
1326
|
normalizedStandaloneMarkers.forEach((marker) => {
|
|
1304
1327
|
lookup.set(marker.id, marker);
|
|
@@ -1310,14 +1333,14 @@ function GeoMap({
|
|
|
1310
1333
|
});
|
|
1311
1334
|
return lookup;
|
|
1312
1335
|
}, [normalizedClusters, normalizedStandaloneMarkers]);
|
|
1313
|
-
const clusterLookup =
|
|
1336
|
+
const clusterLookup = React8.useMemo(() => {
|
|
1314
1337
|
const lookup = /* @__PURE__ */ new Map();
|
|
1315
1338
|
normalizedClusters.forEach((cluster) => {
|
|
1316
1339
|
lookup.set(cluster.id, cluster);
|
|
1317
1340
|
});
|
|
1318
1341
|
return lookup;
|
|
1319
1342
|
}, [normalizedClusters]);
|
|
1320
|
-
const firstCoordinate =
|
|
1343
|
+
const firstCoordinate = React8.useMemo(() => {
|
|
1321
1344
|
if (normalizedStandaloneMarkers.length > 0) {
|
|
1322
1345
|
const firstStandaloneMarker = normalizedStandaloneMarkers[0];
|
|
1323
1346
|
return {
|
|
@@ -1337,23 +1360,27 @@ function GeoMap({
|
|
|
1337
1360
|
longitude: DEFAULT_VIEW_STATE.longitude
|
|
1338
1361
|
};
|
|
1339
1362
|
}, [normalizedClusters, normalizedStandaloneMarkers]);
|
|
1340
|
-
const [uncontrolledViewState, setUncontrolledViewState] =
|
|
1363
|
+
const [uncontrolledViewState, setUncontrolledViewState] = React8.useState({
|
|
1341
1364
|
latitude: defaultViewState?.latitude ?? firstCoordinate.latitude,
|
|
1342
1365
|
longitude: defaultViewState?.longitude ?? firstCoordinate.longitude,
|
|
1343
1366
|
zoom: defaultViewState?.zoom ?? DEFAULT_VIEW_STATE.zoom
|
|
1344
1367
|
});
|
|
1345
1368
|
const isControlledViewState = viewState !== void 0;
|
|
1346
1369
|
const resolvedViewState = isControlledViewState ? viewState : uncontrolledViewState;
|
|
1347
|
-
const applyViewState =
|
|
1370
|
+
const applyViewState = React8.useCallback(
|
|
1348
1371
|
(nextState) => {
|
|
1349
1372
|
if (!isControlledViewState) {
|
|
1350
|
-
setUncontrolledViewState((current) =>
|
|
1373
|
+
setUncontrolledViewState((current) => {
|
|
1374
|
+
const next = { ...current, ...nextState };
|
|
1375
|
+
const hasChanged = current.latitude !== next.latitude || current.longitude !== next.longitude || current.zoom !== next.zoom;
|
|
1376
|
+
return hasChanged ? next : current;
|
|
1377
|
+
});
|
|
1351
1378
|
}
|
|
1352
1379
|
onViewStateChange?.(nextState);
|
|
1353
1380
|
},
|
|
1354
1381
|
[isControlledViewState, onViewStateChange]
|
|
1355
1382
|
);
|
|
1356
|
-
const [selection, setSelection] =
|
|
1383
|
+
const [selection, setSelection] = React8.useState(() => {
|
|
1357
1384
|
if (initialSelectedMarkerId !== void 0 && initialSelectedMarkerId !== null) {
|
|
1358
1385
|
return {
|
|
1359
1386
|
type: "marker",
|
|
@@ -1362,7 +1389,7 @@ function GeoMap({
|
|
|
1362
1389
|
}
|
|
1363
1390
|
return { type: "none" };
|
|
1364
1391
|
});
|
|
1365
|
-
|
|
1392
|
+
React8.useEffect(() => {
|
|
1366
1393
|
if (selectedMarkerId === void 0 || selectedMarkerId === null) {
|
|
1367
1394
|
return;
|
|
1368
1395
|
}
|
|
@@ -1373,13 +1400,13 @@ function GeoMap({
|
|
|
1373
1400
|
}, [selectedMarkerId]);
|
|
1374
1401
|
const selectedMarker = selection.markerId ? markerLookup.get(selection.markerId) : void 0;
|
|
1375
1402
|
const selectedCluster = selection.clusterId ? clusterLookup.get(selection.clusterId) : void 0;
|
|
1376
|
-
|
|
1403
|
+
React8.useEffect(() => {
|
|
1377
1404
|
if (selection.type === "marker" && selection.markerId && !selectedMarker) {
|
|
1378
1405
|
setSelection({ type: "none" });
|
|
1379
1406
|
onSelectionChange?.({ type: "none" });
|
|
1380
1407
|
}
|
|
1381
1408
|
}, [onSelectionChange, selectedMarker, selection]);
|
|
1382
|
-
const emitSelectionChange =
|
|
1409
|
+
const emitSelectionChange = React8.useCallback(
|
|
1383
1410
|
(nextSelection) => {
|
|
1384
1411
|
if (nextSelection.type === "none") {
|
|
1385
1412
|
onSelectionChange?.({ type: "none" });
|
|
@@ -1401,7 +1428,7 @@ function GeoMap({
|
|
|
1401
1428
|
},
|
|
1402
1429
|
[clusterLookup, onSelectionChange]
|
|
1403
1430
|
);
|
|
1404
|
-
const selectMarker =
|
|
1431
|
+
const selectMarker = React8.useCallback(
|
|
1405
1432
|
(marker) => {
|
|
1406
1433
|
setSelection({
|
|
1407
1434
|
type: "marker",
|
|
@@ -1417,7 +1444,7 @@ function GeoMap({
|
|
|
1417
1444
|
},
|
|
1418
1445
|
[applyViewState, emitSelectionChange, markerFocusZoom]
|
|
1419
1446
|
);
|
|
1420
|
-
const selectCluster =
|
|
1447
|
+
const selectCluster = React8.useCallback(
|
|
1421
1448
|
(cluster) => {
|
|
1422
1449
|
setSelection({
|
|
1423
1450
|
type: "cluster",
|
|
@@ -1432,11 +1459,11 @@ function GeoMap({
|
|
|
1432
1459
|
},
|
|
1433
1460
|
[applyViewState, clusterFocusZoom, emitSelectionChange]
|
|
1434
1461
|
);
|
|
1435
|
-
const clearSelection =
|
|
1462
|
+
const clearSelection = React8.useCallback(() => {
|
|
1436
1463
|
setSelection({ type: "none" });
|
|
1437
1464
|
emitSelectionChange({ type: "none" });
|
|
1438
1465
|
}, [emitSelectionChange]);
|
|
1439
|
-
const mapMarkers =
|
|
1466
|
+
const mapMarkers = React8.useMemo(() => {
|
|
1440
1467
|
const resolvedMarkers = [];
|
|
1441
1468
|
normalizedClusters.forEach((cluster) => {
|
|
1442
1469
|
const isSelected = selection.type === "cluster" && selection.clusterId === cluster.id;
|
|
@@ -1520,7 +1547,13 @@ function GeoMap({
|
|
|
1520
1547
|
});
|
|
1521
1548
|
});
|
|
1522
1549
|
return resolvedMarkers;
|
|
1523
|
-
}, [
|
|
1550
|
+
}, [
|
|
1551
|
+
normalizedClusters,
|
|
1552
|
+
normalizedStandaloneMarkers,
|
|
1553
|
+
selectCluster,
|
|
1554
|
+
selectMarker,
|
|
1555
|
+
selection
|
|
1556
|
+
]);
|
|
1524
1557
|
const renderMarkerPanel = () => {
|
|
1525
1558
|
if (selectedMarker) {
|
|
1526
1559
|
const markerMediaItems = selectedMarker.mediaItems ?? [];
|
|
@@ -1528,32 +1561,67 @@ function GeoMap({
|
|
|
1528
1561
|
"div",
|
|
1529
1562
|
{
|
|
1530
1563
|
className: cn(
|
|
1531
|
-
"w-[min(24rem,calc(100vw-2rem))] overflow-hidden rounded-xl border border-border bg-
|
|
1564
|
+
"relative w-[min(24rem,calc(100vw-2rem))] overflow-hidden rounded-xl border border-border bg-card text-card-foreground shadow-2xl",
|
|
1532
1565
|
panelClassName
|
|
1533
1566
|
),
|
|
1534
1567
|
children: [
|
|
1535
|
-
|
|
1568
|
+
/* @__PURE__ */ jsx(
|
|
1569
|
+
"button",
|
|
1570
|
+
{
|
|
1571
|
+
type: "button",
|
|
1572
|
+
"aria-label": "Close marker details",
|
|
1573
|
+
className: "flex size-8 items-center justify-center rounded-full border border-border bg-card text-card-foreground transition hover:bg-muted hover:text-foreground absolute top-2 right-2 z-10",
|
|
1574
|
+
onClick: clearSelection,
|
|
1575
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
1576
|
+
}
|
|
1577
|
+
),
|
|
1578
|
+
markerMediaItems.length > 0 ? /* @__PURE__ */ jsx(
|
|
1579
|
+
MarkerMediaCarousel,
|
|
1580
|
+
{
|
|
1581
|
+
mediaItems: markerMediaItems,
|
|
1582
|
+
optixFlowConfig
|
|
1583
|
+
}
|
|
1584
|
+
) : null,
|
|
1536
1585
|
/* @__PURE__ */ jsxs("div", { className: "space-y-2 p-4", children: [
|
|
1537
|
-
/* @__PURE__ */
|
|
1538
|
-
/* @__PURE__ */
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1586
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-start justify-between gap-3", children: /* @__PURE__ */ jsxs("div", { className: "min-w-0 space-y-1", children: [
|
|
1587
|
+
selectedMarker.eyebrow ? /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold uppercase tracking-wide", children: selectedMarker.eyebrow }) : null,
|
|
1588
|
+
/* @__PURE__ */ jsx("div", { className: "text-base font-semibold leading-tight", children: selectedMarker.title ?? selectedMarker.label ?? "Location" })
|
|
1589
|
+
] }) }),
|
|
1590
|
+
selectedMarker.summary ? /* @__PURE__ */ jsx("div", { className: "text-sm leading-relaxed", children: selectedMarker.summary }) : null,
|
|
1591
|
+
selectedMarker.locationLine ? /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center justify-start text-sm gap-2", children: [
|
|
1542
1592
|
/* @__PURE__ */ jsx(
|
|
1543
|
-
|
|
1593
|
+
DynamicIcon,
|
|
1544
1594
|
{
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
onClick: clearSelection,
|
|
1549
|
-
children: "x"
|
|
1595
|
+
name: "lucide:map-pin",
|
|
1596
|
+
className: "opacity-50",
|
|
1597
|
+
size: 14
|
|
1550
1598
|
}
|
|
1551
|
-
)
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1599
|
+
),
|
|
1600
|
+
typeof selectedMarker.locationLine === "string" ? /* @__PURE__ */ jsx(
|
|
1601
|
+
Pressable,
|
|
1602
|
+
{
|
|
1603
|
+
href: selectedMarker.locationUrl,
|
|
1604
|
+
className: cn(
|
|
1605
|
+
"transition-all duration-500",
|
|
1606
|
+
"font-medium opacity-75 hover:opacity-100",
|
|
1607
|
+
selectedMarker.locationUrl ? "underline underline-offset-4" : ""
|
|
1608
|
+
),
|
|
1609
|
+
children: selectedMarker.locationLine
|
|
1610
|
+
}
|
|
1611
|
+
) : selectedMarker.locationLine
|
|
1612
|
+
] }) : null,
|
|
1613
|
+
selectedMarker.hoursLine ? /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center justify-start text-sm gap-2", children: [
|
|
1614
|
+
/* @__PURE__ */ jsx(
|
|
1615
|
+
DynamicIcon,
|
|
1616
|
+
{
|
|
1617
|
+
name: "lucide:clock",
|
|
1618
|
+
className: "opacity-50",
|
|
1619
|
+
size: 14
|
|
1620
|
+
}
|
|
1621
|
+
),
|
|
1622
|
+
typeof selectedMarker.hoursLine === "string" ? /* @__PURE__ */ jsx("div", { className: "font-medium", children: selectedMarker.hoursLine }) : selectedMarker.hoursLine
|
|
1623
|
+
] }) : null,
|
|
1624
|
+
selectedMarker.markerContentComponent ? /* @__PURE__ */ jsx("div", { className: "relative", children: selectedMarker.markerContentComponent }) : null,
|
|
1557
1625
|
/* @__PURE__ */ jsx(MarkerActions, { actions: selectedMarker.actions })
|
|
1558
1626
|
] })
|
|
1559
1627
|
]
|
|
@@ -1565,27 +1633,25 @@ function GeoMap({
|
|
|
1565
1633
|
"div",
|
|
1566
1634
|
{
|
|
1567
1635
|
className: cn(
|
|
1568
|
-
"w-[min(24rem,calc(100vw-2rem))] overflow-hidden rounded-xl border border-border bg-
|
|
1636
|
+
"relative w-[min(24rem,calc(100vw-2rem))] overflow-hidden rounded-xl border border-border bg-card text-card-foreground p-4 shadow-2xl",
|
|
1569
1637
|
panelClassName
|
|
1570
1638
|
),
|
|
1571
1639
|
children: [
|
|
1572
|
-
/* @__PURE__ */
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
"
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
)
|
|
1588
|
-
] }),
|
|
1640
|
+
/* @__PURE__ */ jsx(
|
|
1641
|
+
"button",
|
|
1642
|
+
{
|
|
1643
|
+
type: "button",
|
|
1644
|
+
"aria-label": "Close cluster details",
|
|
1645
|
+
className: "flex size-8 items-center justify-center rounded-full border border-border bg-card text-card-foreground transition hover:bg-muted hover:text-foreground absolute top-2 right-2 z-10",
|
|
1646
|
+
onClick: clearSelection,
|
|
1647
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
1648
|
+
}
|
|
1649
|
+
),
|
|
1650
|
+
/* @__PURE__ */ jsx("div", { className: "mb-3 flex items-start justify-between gap-3", children: /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
1651
|
+
selectedCluster.label ? /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: selectedCluster.label }) : null,
|
|
1652
|
+
/* @__PURE__ */ jsx("div", { className: "text-base font-semibold leading-tight text-foreground", children: selectedCluster.title ?? "Clustered Locations" }),
|
|
1653
|
+
/* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-muted-foreground", children: selectedCluster.summary ?? `${selectedCluster.markers.length} location${selectedCluster.markers.length === 1 ? "" : "s"} in this cluster.` })
|
|
1654
|
+
] }) }),
|
|
1589
1655
|
/* @__PURE__ */ jsx("div", { className: "max-h-56 space-y-2 overflow-y-auto pr-1", children: selectedCluster.markers.map((marker, markerIndex) => /* @__PURE__ */ jsxs(
|
|
1590
1656
|
"button",
|
|
1591
1657
|
{
|
|
@@ -1639,7 +1705,16 @@ function GeoMap({
|
|
|
1639
1705
|
children: mapChildren
|
|
1640
1706
|
}
|
|
1641
1707
|
) }),
|
|
1642
|
-
selection.type !== "none" ? /* @__PURE__ */ jsx(
|
|
1708
|
+
selection.type !== "none" ? /* @__PURE__ */ jsx(
|
|
1709
|
+
"div",
|
|
1710
|
+
{
|
|
1711
|
+
className: cn(
|
|
1712
|
+
"pointer-events-none absolute z-20",
|
|
1713
|
+
PANEL_POSITION_CLASS[panelPosition]
|
|
1714
|
+
),
|
|
1715
|
+
children: /* @__PURE__ */ jsx("div", { className: "pointer-events-auto", children: renderMarkerPanel() })
|
|
1716
|
+
}
|
|
1717
|
+
) : null
|
|
1643
1718
|
]
|
|
1644
1719
|
}
|
|
1645
1720
|
);
|
|
@@ -1717,10 +1792,10 @@ var ImageSlider = ({
|
|
|
1717
1792
|
optixFlowConfig
|
|
1718
1793
|
}) => {
|
|
1719
1794
|
const hasImages = images.length > 0;
|
|
1720
|
-
const [currentIndex, setCurrentIndex] =
|
|
1795
|
+
const [currentIndex, setCurrentIndex] = React8.useState(
|
|
1721
1796
|
() => normalizeIndex(startIndex, images.length)
|
|
1722
1797
|
);
|
|
1723
|
-
const handleNext =
|
|
1798
|
+
const handleNext = React8.useCallback(() => {
|
|
1724
1799
|
if (!hasImages) return;
|
|
1725
1800
|
setCurrentIndex((prevIndex) => {
|
|
1726
1801
|
const nextIndex = prevIndex + 1 >= images.length ? 0 : prevIndex + 1;
|
|
@@ -1728,7 +1803,7 @@ var ImageSlider = ({
|
|
|
1728
1803
|
return nextIndex;
|
|
1729
1804
|
});
|
|
1730
1805
|
}, [hasImages, images.length, onSlideChange]);
|
|
1731
|
-
const handlePrevious =
|
|
1806
|
+
const handlePrevious = React8.useCallback(() => {
|
|
1732
1807
|
if (!hasImages) return;
|
|
1733
1808
|
setCurrentIndex((prevIndex) => {
|
|
1734
1809
|
const nextIndex = prevIndex - 1 < 0 ? images.length - 1 : prevIndex - 1;
|
|
@@ -1736,11 +1811,11 @@ var ImageSlider = ({
|
|
|
1736
1811
|
return nextIndex;
|
|
1737
1812
|
});
|
|
1738
1813
|
}, [hasImages, images.length, onSlideChange]);
|
|
1739
|
-
|
|
1814
|
+
React8.useEffect(() => {
|
|
1740
1815
|
if (!hasImages) return;
|
|
1741
1816
|
setCurrentIndex(normalizeIndex(startIndex, images.length));
|
|
1742
1817
|
}, [startIndex, images.length, hasImages]);
|
|
1743
|
-
|
|
1818
|
+
React8.useEffect(() => {
|
|
1744
1819
|
if (!enableKeyboard || !hasImages) return;
|
|
1745
1820
|
const handleKeyDown = (event) => {
|
|
1746
1821
|
if (event.key === "ArrowRight") {
|
|
@@ -1754,7 +1829,7 @@ var ImageSlider = ({
|
|
|
1754
1829
|
window.removeEventListener("keydown", handleKeyDown);
|
|
1755
1830
|
};
|
|
1756
1831
|
}, [enableKeyboard, handleNext, handlePrevious, hasImages]);
|
|
1757
|
-
|
|
1832
|
+
React8.useEffect(() => {
|
|
1758
1833
|
if (!autoplay || images.length < 2) return;
|
|
1759
1834
|
const interval = window.setInterval(handleNext, autoplayIntervalMs);
|
|
1760
1835
|
return () => window.clearInterval(interval);
|
|
@@ -1955,10 +2030,6 @@ function PopoverContent({
|
|
|
1955
2030
|
}
|
|
1956
2031
|
) });
|
|
1957
2032
|
}
|
|
1958
|
-
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
1959
|
-
function DynamicIcon({ apiKey, ...props }) {
|
|
1960
|
-
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
1961
|
-
}
|
|
1962
2033
|
var BUTTON_SIZES = {
|
|
1963
2034
|
sm: { buttonSize: "size-8", iconSize: 16 },
|
|
1964
2035
|
md: { buttonSize: "size-10", iconSize: 20 },
|
|
@@ -2050,7 +2121,7 @@ var platformIconMap = {
|
|
|
2050
2121
|
dribbble: "cib/dribbble",
|
|
2051
2122
|
unknown: "icon-park-solid/circular-connection"
|
|
2052
2123
|
};
|
|
2053
|
-
var SocialLinkIcon =
|
|
2124
|
+
var SocialLinkIcon = React8.forwardRef(
|
|
2054
2125
|
({
|
|
2055
2126
|
platformName,
|
|
2056
2127
|
label,
|
|
@@ -2063,13 +2134,13 @@ var SocialLinkIcon = React32.forwardRef(
|
|
|
2063
2134
|
...pressableProps
|
|
2064
2135
|
}, ref) => {
|
|
2065
2136
|
const platform = usePlatformFromUrl(href);
|
|
2066
|
-
const smartPlatformName =
|
|
2137
|
+
const smartPlatformName = React8.useMemo(() => {
|
|
2067
2138
|
return platform || platformName;
|
|
2068
2139
|
}, [platform, platformName]);
|
|
2069
|
-
const iconName =
|
|
2140
|
+
const iconName = React8.useMemo(() => {
|
|
2070
2141
|
return iconNameOverride || platformIconMap[smartPlatformName];
|
|
2071
2142
|
}, [iconNameOverride, smartPlatformName]);
|
|
2072
|
-
const accessibleLabel =
|
|
2143
|
+
const accessibleLabel = React8.useMemo(() => {
|
|
2073
2144
|
return label || platformName;
|
|
2074
2145
|
}, [label, platformName]);
|
|
2075
2146
|
return /* @__PURE__ */ jsx(
|
|
@@ -2553,7 +2624,7 @@ function AboutExpandableValues({
|
|
|
2553
2624
|
pattern,
|
|
2554
2625
|
patternOpacity
|
|
2555
2626
|
}) {
|
|
2556
|
-
const [expandedValue, setExpandedValue] =
|
|
2627
|
+
const [expandedValue, setExpandedValue] = React8.useState(null);
|
|
2557
2628
|
const toggleExpand = useCallback((id) => {
|
|
2558
2629
|
setExpandedValue((prev) => prev === id ? null : id);
|
|
2559
2630
|
}, []);
|
|
@@ -2789,7 +2860,7 @@ function CommunityInitiatives({
|
|
|
2789
2860
|
pattern,
|
|
2790
2861
|
patternOpacity
|
|
2791
2862
|
}) {
|
|
2792
|
-
const [activeCategory, setActiveCategory] =
|
|
2863
|
+
const [activeCategory, setActiveCategory] = React8.useState(
|
|
2793
2864
|
categories?.[0]?.id || ""
|
|
2794
2865
|
);
|
|
2795
2866
|
const currentCategory = categories?.find((category) => category.id === activeCategory) || categories?.[0];
|
|
@@ -3053,7 +3124,7 @@ function AboutCultureTabs({
|
|
|
3053
3124
|
patternOpacity
|
|
3054
3125
|
}) {
|
|
3055
3126
|
const resolvedAspects = aspects ?? [];
|
|
3056
|
-
const [activeTab, setActiveTab] =
|
|
3127
|
+
const [activeTab, setActiveTab] = React8.useState(
|
|
3057
3128
|
resolvedAspects[0]?.id || ""
|
|
3058
3129
|
);
|
|
3059
3130
|
const headerItems = useMemo(() => {
|
|
@@ -3586,7 +3657,7 @@ function BannerDeliveryCountdown({
|
|
|
3586
3657
|
}, [prefixText, timerContent, middleText, deliveryDateContent]);
|
|
3587
3658
|
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: [
|
|
3588
3659
|
iconContent,
|
|
3589
|
-
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(
|
|
3660
|
+
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
3590
3661
|
index > 0 ? " " : null,
|
|
3591
3662
|
part
|
|
3592
3663
|
] }, index)) })
|
|
@@ -4857,8 +4928,8 @@ var BrandAttribution = ({
|
|
|
4857
4928
|
}
|
|
4858
4929
|
const { prefix = "", anchorText, href, suffix = "" } = options[optionIndex];
|
|
4859
4930
|
const ContainerEl = variant;
|
|
4860
|
-
const [trackedHref, setTrackedHref] =
|
|
4861
|
-
|
|
4931
|
+
const [trackedHref, setTrackedHref] = React8.useState(href);
|
|
4932
|
+
React8.useEffect(() => {
|
|
4862
4933
|
setTrackedHref(buildTrackedHref(href));
|
|
4863
4934
|
}, [href]);
|
|
4864
4935
|
return /* @__PURE__ */ jsxs(ContainerEl, { className: containerClassName, children: [
|
|
@@ -4978,7 +5049,7 @@ function FooterSocialNewsletter({
|
|
|
4978
5049
|
patternOpacity,
|
|
4979
5050
|
optixFlowConfig
|
|
4980
5051
|
}) {
|
|
4981
|
-
const renderForm =
|
|
5052
|
+
const renderForm = React8.useMemo(() => {
|
|
4982
5053
|
if (!formEngineSetup) return null;
|
|
4983
5054
|
const action = {
|
|
4984
5055
|
variant: "default",
|
|
@@ -5267,7 +5338,7 @@ function FooterSimpleCentered({
|
|
|
5267
5338
|
]);
|
|
5268
5339
|
const bottomLinksContent = useMemo(() => {
|
|
5269
5340
|
if (!bottomLinks || bottomLinks.length === 0) return null;
|
|
5270
|
-
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(
|
|
5341
|
+
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(React8.Fragment, { children: /* @__PURE__ */ jsx(
|
|
5271
5342
|
Pressable,
|
|
5272
5343
|
{
|
|
5273
5344
|
href: link.href,
|
|
@@ -6614,7 +6685,7 @@ function FooterNewsletterMinimal({
|
|
|
6614
6685
|
buttonAction,
|
|
6615
6686
|
formSlot
|
|
6616
6687
|
}) {
|
|
6617
|
-
const navLinksContent =
|
|
6688
|
+
const navLinksContent = React8.useMemo(() => {
|
|
6618
6689
|
if (!navLinks || navLinks.length === 0) return null;
|
|
6619
6690
|
return navLinks.map((item, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
6620
6691
|
Pressable,
|
|
@@ -6625,7 +6696,7 @@ function FooterNewsletterMinimal({
|
|
|
6625
6696
|
}
|
|
6626
6697
|
) }, idx));
|
|
6627
6698
|
}, [navLinks, navLinkClassName]);
|
|
6628
|
-
const socialLinksContent =
|
|
6699
|
+
const socialLinksContent = React8.useMemo(() => {
|
|
6629
6700
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
6630
6701
|
return socialLinks.map((item, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
6631
6702
|
SocialLinkIcon,
|
|
@@ -6641,7 +6712,7 @@ function FooterNewsletterMinimal({
|
|
|
6641
6712
|
}
|
|
6642
6713
|
) }, idx));
|
|
6643
6714
|
}, [socialLinks, socialLinkClassName]);
|
|
6644
|
-
const footerLinksContent =
|
|
6715
|
+
const footerLinksContent = React8.useMemo(() => {
|
|
6645
6716
|
if (!footerLinks || footerLinks.length === 0) return null;
|
|
6646
6717
|
return footerLinks.map((item) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
6647
6718
|
Pressable,
|
|
@@ -6655,7 +6726,7 @@ function FooterNewsletterMinimal({
|
|
|
6655
6726
|
}
|
|
6656
6727
|
) }, item.label));
|
|
6657
6728
|
}, [footerLinks, footerLinkClassName]);
|
|
6658
|
-
const renderForm =
|
|
6729
|
+
const renderForm = React8.useMemo(() => {
|
|
6659
6730
|
if (formSlot) return formSlot;
|
|
6660
6731
|
if (!formEngineSetup) return null;
|
|
6661
6732
|
const defaultButtonAction = {
|
|
@@ -9295,7 +9366,7 @@ function AboutInteractiveTabs({
|
|
|
9295
9366
|
pattern,
|
|
9296
9367
|
patternOpacity
|
|
9297
9368
|
}) {
|
|
9298
|
-
const [activeTab, setActiveTab] =
|
|
9369
|
+
const [activeTab, setActiveTab] = React8.useState(tabs?.[0]?.id ?? "");
|
|
9299
9370
|
const activeContent = useMemo(() => {
|
|
9300
9371
|
return tabs?.find((tab) => tab.id === activeTab)?.content;
|
|
9301
9372
|
}, [tabs, activeTab]);
|
|
@@ -9444,7 +9515,7 @@ function AboutMissionDualImage({
|
|
|
9444
9515
|
pattern,
|
|
9445
9516
|
patternOpacity
|
|
9446
9517
|
}) {
|
|
9447
|
-
const renderTextContent =
|
|
9518
|
+
const renderTextContent = React8.useCallback(
|
|
9448
9519
|
(primaryHeading, primaryClassName, secondaryContent, secondaryClassname) => {
|
|
9449
9520
|
if (!primaryHeading || !secondaryContent) {
|
|
9450
9521
|
return null;
|
|
@@ -12134,7 +12205,7 @@ function CtaAppDownloadNewsletter({
|
|
|
12134
12205
|
buttonAction,
|
|
12135
12206
|
formSlot
|
|
12136
12207
|
}) {
|
|
12137
|
-
const renderForm =
|
|
12208
|
+
const renderForm = React8.useMemo(() => {
|
|
12138
12209
|
if (formSlot) return formSlot;
|
|
12139
12210
|
if (!formEngineSetup) return null;
|
|
12140
12211
|
const defaultButtonAction = {
|
|
@@ -12167,7 +12238,7 @@ function CtaAppDownloadNewsletter({
|
|
|
12167
12238
|
}
|
|
12168
12239
|
);
|
|
12169
12240
|
}, [formSlot, formEngineSetup, buttonAction, formClassName]);
|
|
12170
|
-
const appActionsContent =
|
|
12241
|
+
const appActionsContent = React8.useMemo(() => {
|
|
12171
12242
|
if (appActionsSlot) return appActionsSlot;
|
|
12172
12243
|
if (!appActions || appActions.length === 0) return null;
|
|
12173
12244
|
return /* @__PURE__ */ jsx(
|
|
@@ -12308,7 +12379,7 @@ function CtaNewsletterFeatures({
|
|
|
12308
12379
|
formEngineSetup,
|
|
12309
12380
|
buttonAction
|
|
12310
12381
|
}) {
|
|
12311
|
-
const renderForm =
|
|
12382
|
+
const renderForm = React8.useMemo(() => {
|
|
12312
12383
|
if (formSlot) return formSlot;
|
|
12313
12384
|
if (!formEngineSetup) return null;
|
|
12314
12385
|
const defaultButtonAction = {
|
|
@@ -12341,7 +12412,7 @@ function CtaNewsletterFeatures({
|
|
|
12341
12412
|
}
|
|
12342
12413
|
);
|
|
12343
12414
|
}, [formSlot, formEngineSetup, buttonAction, formClassName]);
|
|
12344
|
-
const featuresContent =
|
|
12415
|
+
const featuresContent = React8.useMemo(() => {
|
|
12345
12416
|
if (featuresSlot) return featuresSlot;
|
|
12346
12417
|
if (!features || features.length === 0) return null;
|
|
12347
12418
|
return /* @__PURE__ */ jsx(
|
|
@@ -13113,7 +13184,7 @@ function CtaVideoBackgroundHero({
|
|
|
13113
13184
|
pattern,
|
|
13114
13185
|
patternOpacity
|
|
13115
13186
|
}) {
|
|
13116
|
-
const [isModalOpen, setIsModalOpen] =
|
|
13187
|
+
const [isModalOpen, setIsModalOpen] = React8.useState(false);
|
|
13117
13188
|
const handleOpenModal = () => {
|
|
13118
13189
|
setIsModalOpen(true);
|
|
13119
13190
|
onModalOpen?.();
|
|
@@ -13301,7 +13372,7 @@ function CtaWorkflowTabs({
|
|
|
13301
13372
|
patternOpacity,
|
|
13302
13373
|
optixFlowConfig
|
|
13303
13374
|
}) {
|
|
13304
|
-
const [activeTab, setActiveTab] =
|
|
13375
|
+
const [activeTab, setActiveTab] = React8.useState(tabs?.[0]?.id || "");
|
|
13305
13376
|
const activeTabData = tabs?.find((tab) => tab.id === activeTab) || tabs?.[0];
|
|
13306
13377
|
const actionsContent = useMemo(() => {
|
|
13307
13378
|
if (actionsSlot) return actionsSlot;
|
|
@@ -13909,7 +13980,7 @@ function ContactFloatingBanner({
|
|
|
13909
13980
|
pattern,
|
|
13910
13981
|
patternOpacity
|
|
13911
13982
|
}) {
|
|
13912
|
-
const actionsContent =
|
|
13983
|
+
const actionsContent = React8.useMemo(() => {
|
|
13913
13984
|
if (actionsSlot) return actionsSlot;
|
|
13914
13985
|
if (actions && actions.length > 0) {
|
|
13915
13986
|
return actions.map((action, index) => {
|
|
@@ -14253,7 +14324,7 @@ function ContactCard({
|
|
|
14253
14324
|
pattern,
|
|
14254
14325
|
patternOpacity
|
|
14255
14326
|
}) {
|
|
14256
|
-
const contactOptionsContent =
|
|
14327
|
+
const contactOptionsContent = React8.useMemo(() => {
|
|
14257
14328
|
if (contactOptionsSlot) return contactOptionsSlot;
|
|
14258
14329
|
if (contactOptions && contactOptions.length > 0) {
|
|
14259
14330
|
return contactOptions.map((option, key) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
|
|
@@ -14277,7 +14348,7 @@ function ContactCard({
|
|
|
14277
14348
|
}
|
|
14278
14349
|
return null;
|
|
14279
14350
|
}, [contactOptionsSlot, contactOptions]);
|
|
14280
|
-
const socialLinksContent =
|
|
14351
|
+
const socialLinksContent = React8.useMemo(() => {
|
|
14281
14352
|
if (socialLinksSlot) return socialLinksSlot;
|
|
14282
14353
|
if (socialLinks && socialLinks.length > 0) {
|
|
14283
14354
|
return socialLinks.map((social, key) => /* @__PURE__ */ jsx(
|
|
@@ -15184,7 +15255,7 @@ function ContactDark({
|
|
|
15184
15255
|
pattern,
|
|
15185
15256
|
patternOpacity
|
|
15186
15257
|
}) {
|
|
15187
|
-
const contactOptionsContent =
|
|
15258
|
+
const contactOptionsContent = React8.useMemo(() => {
|
|
15188
15259
|
if (contactOptionsSlot) return contactOptionsSlot;
|
|
15189
15260
|
if (contactOptions && contactOptions.length > 0) {
|
|
15190
15261
|
return contactOptions.map((option, key) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -15208,7 +15279,7 @@ function ContactDark({
|
|
|
15208
15279
|
}
|
|
15209
15280
|
return null;
|
|
15210
15281
|
}, [contactOptionsSlot, contactOptions]);
|
|
15211
|
-
const socialLinksContent =
|
|
15282
|
+
const socialLinksContent = React8.useMemo(() => {
|
|
15212
15283
|
if (socialLinksSlot) return socialLinksSlot;
|
|
15213
15284
|
if (socialLinks && socialLinks.length > 0) {
|
|
15214
15285
|
return socialLinks.map((social, key) => /* @__PURE__ */ jsx(
|
|
@@ -16503,7 +16574,7 @@ function ContactImage({
|
|
|
16503
16574
|
description,
|
|
16504
16575
|
descriptionClassName
|
|
16505
16576
|
]);
|
|
16506
|
-
const contactOverlaysContent =
|
|
16577
|
+
const contactOverlaysContent = React8.useMemo(() => {
|
|
16507
16578
|
if (contactOverlaysSlot) return contactOverlaysSlot;
|
|
16508
16579
|
if (!contactOverlays || contactOverlays.length === 0) return null;
|
|
16509
16580
|
return /* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-3", contactOverlaysClassName), children: contactOverlays.map((item, index) => {
|
|
@@ -17132,9 +17203,10 @@ function ContactMap({
|
|
|
17132
17203
|
spacing = "xl",
|
|
17133
17204
|
pattern,
|
|
17134
17205
|
patternOpacity,
|
|
17135
|
-
mapProps
|
|
17206
|
+
mapProps,
|
|
17207
|
+
optixFlowConfig
|
|
17136
17208
|
}) {
|
|
17137
|
-
const renderForm =
|
|
17209
|
+
const renderForm = React8.useMemo(() => {
|
|
17138
17210
|
if (!formEngineSetup) {
|
|
17139
17211
|
return null;
|
|
17140
17212
|
}
|
|
@@ -17147,14 +17219,15 @@ function ContactMap({
|
|
|
17147
17219
|
}
|
|
17148
17220
|
);
|
|
17149
17221
|
}, [formEngineSetup]);
|
|
17150
|
-
const resolvedMapProps =
|
|
17222
|
+
const resolvedMapProps = React8.useMemo(() => {
|
|
17151
17223
|
return {
|
|
17152
17224
|
mapWrapperClassName: "h-[420px] md:h-[520px]",
|
|
17153
17225
|
panelPosition: "top-left",
|
|
17154
17226
|
...mapProps,
|
|
17155
|
-
className: cn("h-full w-full", mapClassName, mapProps?.className)
|
|
17227
|
+
className: cn("h-full w-full", mapClassName, mapProps?.className),
|
|
17228
|
+
optixFlowConfig
|
|
17156
17229
|
};
|
|
17157
|
-
}, [mapClassName, mapProps]);
|
|
17230
|
+
}, [mapClassName, mapProps, optixFlowConfig]);
|
|
17158
17231
|
return /* @__PURE__ */ jsx(
|
|
17159
17232
|
Section,
|
|
17160
17233
|
{
|
|
@@ -17178,7 +17251,7 @@ function ContactMap({
|
|
|
17178
17251
|
"h2",
|
|
17179
17252
|
{
|
|
17180
17253
|
className: cn(
|
|
17181
|
-
"mb-3 text-
|
|
17254
|
+
"mb-3 text-2xl font-bold tracking-tight text-pretty md:text-4xl",
|
|
17182
17255
|
headingClassName
|
|
17183
17256
|
),
|
|
17184
17257
|
children: heading
|
|
@@ -17188,7 +17261,7 @@ function ContactMap({
|
|
|
17188
17261
|
"p",
|
|
17189
17262
|
{
|
|
17190
17263
|
className: cn(
|
|
17191
|
-
"leading-relaxed text-
|
|
17264
|
+
"leading-relaxed text-pretty",
|
|
17192
17265
|
descriptionClassName
|
|
17193
17266
|
),
|
|
17194
17267
|
children: description
|
|
@@ -17741,13 +17814,13 @@ function ContactPhotography({
|
|
|
17741
17814
|
}
|
|
17742
17815
|
return items;
|
|
17743
17816
|
}, [heading, headingClassName, description, descriptionClassName]);
|
|
17744
|
-
const desktopOrder =
|
|
17817
|
+
const desktopOrder = React8.useMemo(() => {
|
|
17745
17818
|
return directionConfig.desktop === "mediaRight" ? "lg:flex-row" : "lg:flex-row-reverse";
|
|
17746
17819
|
}, [directionConfig?.desktop]);
|
|
17747
|
-
const mobileOrder =
|
|
17820
|
+
const mobileOrder = React8.useMemo(() => {
|
|
17748
17821
|
return directionConfig?.mobile === "mediaTop" ? "flex-col" : "flex-col-reverse";
|
|
17749
17822
|
}, [directionConfig?.mobile]);
|
|
17750
|
-
const imageArea =
|
|
17823
|
+
const imageArea = React8.useMemo(() => {
|
|
17751
17824
|
if (!image?.src) {
|
|
17752
17825
|
return null;
|
|
17753
17826
|
}
|
|
@@ -19671,16 +19744,16 @@ function CarouselAnimatedSections({
|
|
|
19671
19744
|
pattern = "diagonalCrossBasic",
|
|
19672
19745
|
patternOpacity = 0.033
|
|
19673
19746
|
}) {
|
|
19674
|
-
const [currentIndex, setCurrentIndex] =
|
|
19675
|
-
const [direction, setDirection] =
|
|
19676
|
-
const [isAnimating, setIsAnimating] =
|
|
19677
|
-
const goToNext =
|
|
19747
|
+
const [currentIndex, setCurrentIndex] = React8.useState(0);
|
|
19748
|
+
const [direction, setDirection] = React8.useState(0);
|
|
19749
|
+
const [isAnimating, setIsAnimating] = React8.useState(false);
|
|
19750
|
+
const goToNext = React8.useCallback(() => {
|
|
19678
19751
|
if (isAnimating || currentIndex >= (sections?.length ?? 0) - 1) return;
|
|
19679
19752
|
setIsAnimating(true);
|
|
19680
19753
|
setDirection(1);
|
|
19681
19754
|
setCurrentIndex((prev) => prev + 1);
|
|
19682
19755
|
}, [currentIndex, isAnimating, sections?.length]);
|
|
19683
|
-
const goToPrev =
|
|
19756
|
+
const goToPrev = React8.useCallback(() => {
|
|
19684
19757
|
if (isAnimating || currentIndex <= 0) return;
|
|
19685
19758
|
setIsAnimating(true);
|
|
19686
19759
|
setDirection(-1);
|
|
@@ -19692,7 +19765,7 @@ function CarouselAnimatedSections({
|
|
|
19692
19765
|
setDirection(index > currentIndex ? 1 : -1);
|
|
19693
19766
|
setCurrentIndex(index);
|
|
19694
19767
|
};
|
|
19695
|
-
|
|
19768
|
+
React8.useEffect(() => {
|
|
19696
19769
|
const handleKeyDown = (e) => {
|
|
19697
19770
|
if (e.key === "ArrowDown" || e.key === "ArrowRight") {
|
|
19698
19771
|
goToNext();
|
|
@@ -19718,7 +19791,7 @@ function CarouselAnimatedSections({
|
|
|
19718
19791
|
})
|
|
19719
19792
|
};
|
|
19720
19793
|
const currentSection = sections?.[currentIndex];
|
|
19721
|
-
const actionElements =
|
|
19794
|
+
const actionElements = React8.useMemo(() => {
|
|
19722
19795
|
if (actionsSlot) return actionsSlot;
|
|
19723
19796
|
if (actions && actions.length > 0) {
|
|
19724
19797
|
return actions.map((action, index) => /* @__PURE__ */ jsxs(
|
|
@@ -19966,11 +20039,11 @@ function CarouselAutoProgressSlides({
|
|
|
19966
20039
|
pattern,
|
|
19967
20040
|
patternOpacity
|
|
19968
20041
|
}) {
|
|
19969
|
-
const [currentIndex, setCurrentIndex] =
|
|
20042
|
+
const [currentIndex, setCurrentIndex] = React8.useState(0);
|
|
19970
20043
|
const progress = useMotionValue(100);
|
|
19971
|
-
const [direction, setDirection] =
|
|
20044
|
+
const [direction, setDirection] = React8.useState(1);
|
|
19972
20045
|
const clipPath = useMotionTemplate`inset(0 ${progress}% 0 0 round 10px)`;
|
|
19973
|
-
|
|
20046
|
+
React8.useEffect(() => {
|
|
19974
20047
|
const interval = setInterval(() => {
|
|
19975
20048
|
const currentProgress = progress.get();
|
|
19976
20049
|
if (currentProgress > 0) {
|
|
@@ -20149,22 +20222,22 @@ function CarouselAutoProgressSlides({
|
|
|
20149
20222
|
);
|
|
20150
20223
|
}
|
|
20151
20224
|
function useDotButton(emblaApi) {
|
|
20152
|
-
const [selectedIndex, setSelectedIndex] =
|
|
20153
|
-
const [scrollSnaps, setScrollSnaps] =
|
|
20154
|
-
const onDotButtonClick =
|
|
20225
|
+
const [selectedIndex, setSelectedIndex] = React8.useState(0);
|
|
20226
|
+
const [scrollSnaps, setScrollSnaps] = React8.useState([]);
|
|
20227
|
+
const onDotButtonClick = React8.useCallback(
|
|
20155
20228
|
(index) => {
|
|
20156
20229
|
if (!emblaApi) return;
|
|
20157
20230
|
emblaApi.scrollTo(index);
|
|
20158
20231
|
},
|
|
20159
20232
|
[emblaApi]
|
|
20160
20233
|
);
|
|
20161
|
-
const onInit =
|
|
20234
|
+
const onInit = React8.useCallback((api) => {
|
|
20162
20235
|
setScrollSnaps(api.scrollSnapList());
|
|
20163
20236
|
}, []);
|
|
20164
|
-
const onSelect =
|
|
20237
|
+
const onSelect = React8.useCallback((api) => {
|
|
20165
20238
|
setSelectedIndex(api.selectedScrollSnap());
|
|
20166
20239
|
}, []);
|
|
20167
|
-
|
|
20240
|
+
React8.useEffect(() => {
|
|
20168
20241
|
if (!emblaApi) return;
|
|
20169
20242
|
onInit(emblaApi);
|
|
20170
20243
|
onSelect(emblaApi);
|
|
@@ -20173,8 +20246,8 @@ function useDotButton(emblaApi) {
|
|
|
20173
20246
|
return { selectedIndex, scrollSnaps, onDotButtonClick };
|
|
20174
20247
|
}
|
|
20175
20248
|
function useAutoplay(emblaApi) {
|
|
20176
|
-
const [autoplayIsPlaying, setAutoplayIsPlaying] =
|
|
20177
|
-
const onAutoplayButtonClick =
|
|
20249
|
+
const [autoplayIsPlaying, setAutoplayIsPlaying] = React8.useState(false);
|
|
20250
|
+
const onAutoplayButtonClick = React8.useCallback(
|
|
20178
20251
|
(callback) => {
|
|
20179
20252
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
20180
20253
|
if (!autoplay) return;
|
|
@@ -20184,13 +20257,13 @@ function useAutoplay(emblaApi) {
|
|
|
20184
20257
|
},
|
|
20185
20258
|
[emblaApi]
|
|
20186
20259
|
);
|
|
20187
|
-
const toggleAutoplay =
|
|
20260
|
+
const toggleAutoplay = React8.useCallback(() => {
|
|
20188
20261
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
20189
20262
|
if (!autoplay) return;
|
|
20190
20263
|
const playOrStop = autoplay.isPlaying() ? autoplay.stop : autoplay.play;
|
|
20191
20264
|
playOrStop();
|
|
20192
20265
|
}, [emblaApi]);
|
|
20193
|
-
|
|
20266
|
+
React8.useEffect(() => {
|
|
20194
20267
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
20195
20268
|
if (!autoplay) return;
|
|
20196
20269
|
setAutoplayIsPlaying(autoplay.isPlaying());
|
|
@@ -20199,11 +20272,11 @@ function useAutoplay(emblaApi) {
|
|
|
20199
20272
|
return { autoplayIsPlaying, toggleAutoplay, onAutoplayButtonClick };
|
|
20200
20273
|
}
|
|
20201
20274
|
function useAutoplayProgress(emblaApi, progressNode) {
|
|
20202
|
-
const [showAutoplayProgress, setShowAutoplayProgress] =
|
|
20203
|
-
const animationName =
|
|
20204
|
-
const timeoutId =
|
|
20205
|
-
const rafId =
|
|
20206
|
-
const startProgress =
|
|
20275
|
+
const [showAutoplayProgress, setShowAutoplayProgress] = React8.useState(false);
|
|
20276
|
+
const animationName = React8.useRef("");
|
|
20277
|
+
const timeoutId = React8.useRef(0);
|
|
20278
|
+
const rafId = React8.useRef(0);
|
|
20279
|
+
const startProgress = React8.useCallback(
|
|
20207
20280
|
(timeUntilNext) => {
|
|
20208
20281
|
const node = progressNode.current;
|
|
20209
20282
|
if (!node || timeUntilNext === null) return;
|
|
@@ -20223,12 +20296,12 @@ function useAutoplayProgress(emblaApi, progressNode) {
|
|
|
20223
20296
|
},
|
|
20224
20297
|
[progressNode]
|
|
20225
20298
|
);
|
|
20226
|
-
|
|
20299
|
+
React8.useEffect(() => {
|
|
20227
20300
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
20228
20301
|
if (!autoplay) return;
|
|
20229
20302
|
emblaApi.on("autoplay:timerset", () => startProgress(autoplay.timeUntilNext())).on("autoplay:timerstopped", () => setShowAutoplayProgress(false));
|
|
20230
20303
|
}, [emblaApi, startProgress]);
|
|
20231
|
-
|
|
20304
|
+
React8.useEffect(() => {
|
|
20232
20305
|
return () => {
|
|
20233
20306
|
cancelAnimationFrame(rafId.current);
|
|
20234
20307
|
clearTimeout(timeoutId.current);
|
|
@@ -20255,7 +20328,7 @@ function CarouselAutoplayProgress({
|
|
|
20255
20328
|
pattern,
|
|
20256
20329
|
patternOpacity
|
|
20257
20330
|
}) {
|
|
20258
|
-
const progressNode =
|
|
20331
|
+
const progressNode = React8.useRef(null);
|
|
20259
20332
|
const [emblaRef, emblaApi] = useEmblaCarousel(options, [
|
|
20260
20333
|
Autoplay({ playOnInit: true, delay: autoplayDelay })
|
|
20261
20334
|
]);
|
|
@@ -20378,20 +20451,20 @@ function CarouselFeatureBadge({
|
|
|
20378
20451
|
containerMaxWidth = "2xl"
|
|
20379
20452
|
}) {
|
|
20380
20453
|
const [emblaRef, emblaApi] = useEmblaCarousel();
|
|
20381
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
20382
|
-
const [canScrollNext, setCanScrollNext] =
|
|
20383
|
-
const scrollPrev =
|
|
20454
|
+
const [canScrollPrev, setCanScrollPrev] = React8.useState(false);
|
|
20455
|
+
const [canScrollNext, setCanScrollNext] = React8.useState(false);
|
|
20456
|
+
const scrollPrev = React8.useCallback(() => {
|
|
20384
20457
|
emblaApi?.scrollPrev();
|
|
20385
20458
|
}, [emblaApi]);
|
|
20386
|
-
const scrollNext =
|
|
20459
|
+
const scrollNext = React8.useCallback(() => {
|
|
20387
20460
|
emblaApi?.scrollNext();
|
|
20388
20461
|
}, [emblaApi]);
|
|
20389
|
-
const onSelect =
|
|
20462
|
+
const onSelect = React8.useCallback(() => {
|
|
20390
20463
|
if (!emblaApi) return;
|
|
20391
20464
|
setCanScrollPrev(emblaApi.canScrollPrev());
|
|
20392
20465
|
setCanScrollNext(emblaApi.canScrollNext());
|
|
20393
20466
|
}, [emblaApi]);
|
|
20394
|
-
|
|
20467
|
+
React8.useEffect(() => {
|
|
20395
20468
|
if (!emblaApi) return;
|
|
20396
20469
|
onSelect();
|
|
20397
20470
|
emblaApi.on("reInit", onSelect);
|
|
@@ -20511,10 +20584,10 @@ function CarouselFullscreenScrollFx({
|
|
|
20511
20584
|
pattern = "diagonalCrossBasic",
|
|
20512
20585
|
patternOpacity = 0.033
|
|
20513
20586
|
}) {
|
|
20514
|
-
const containerRef =
|
|
20515
|
-
const scrollContainerRef =
|
|
20516
|
-
const [activeIndex, setActiveIndex] =
|
|
20517
|
-
|
|
20587
|
+
const containerRef = React8.useRef(null);
|
|
20588
|
+
const scrollContainerRef = React8.useRef(null);
|
|
20589
|
+
const [activeIndex, setActiveIndex] = React8.useState(0);
|
|
20590
|
+
React8.useEffect(() => {
|
|
20518
20591
|
const scrollContainer = scrollContainerRef.current;
|
|
20519
20592
|
if (!scrollContainer || !slides?.length) return;
|
|
20520
20593
|
const handleScroll = () => {
|
|
@@ -20526,7 +20599,7 @@ function CarouselFullscreenScrollFx({
|
|
|
20526
20599
|
scrollContainer.addEventListener("scroll", handleScroll);
|
|
20527
20600
|
return () => scrollContainer.removeEventListener("scroll", handleScroll);
|
|
20528
20601
|
}, [slides]);
|
|
20529
|
-
const scrollToSlide =
|
|
20602
|
+
const scrollToSlide = React8.useCallback((index) => {
|
|
20530
20603
|
const scrollContainer = scrollContainerRef.current;
|
|
20531
20604
|
if (!scrollContainer) return;
|
|
20532
20605
|
const slideHeight = scrollContainer.clientHeight;
|
|
@@ -20609,7 +20682,7 @@ function CarouselFullscreenScrollFx({
|
|
|
20609
20682
|
className: "flex h-screen flex-col snap-y snap-mandatory overflow-x-hidden overflow-y-auto scroll-smooth",
|
|
20610
20683
|
style: { scrollbarWidth: "none", msOverflowStyle: "none" },
|
|
20611
20684
|
children: slidesSlot ? slidesSlot : slides?.map((slide, index) => {
|
|
20612
|
-
const renderActions =
|
|
20685
|
+
const renderActions = React8.useMemo(() => {
|
|
20613
20686
|
if (!slide.actions || slide.actions.length === 0) return null;
|
|
20614
20687
|
return slide.actions.map((action, actionIndex) => {
|
|
20615
20688
|
const {
|
|
@@ -20742,25 +20815,25 @@ function CarouselGalleryThumbnails({
|
|
|
20742
20815
|
patternOpacity,
|
|
20743
20816
|
slideMediaBrightness = "100"
|
|
20744
20817
|
}) {
|
|
20745
|
-
const [currentIndex, setCurrentIndex] =
|
|
20746
|
-
const prevSlide =
|
|
20818
|
+
const [currentIndex, setCurrentIndex] = React8.useState(0);
|
|
20819
|
+
const prevSlide = React8.useCallback(() => {
|
|
20747
20820
|
setCurrentIndex(
|
|
20748
20821
|
(prev) => prev === 0 ? (images?.length ?? 0) - 1 : prev - 1
|
|
20749
20822
|
);
|
|
20750
20823
|
}, [images?.length]);
|
|
20751
|
-
const nextSlide =
|
|
20824
|
+
const nextSlide = React8.useCallback(() => {
|
|
20752
20825
|
setCurrentIndex(
|
|
20753
20826
|
(prev) => prev === (images?.length ?? 0) - 1 ? 0 : prev + 1
|
|
20754
20827
|
);
|
|
20755
20828
|
}, [images?.length]);
|
|
20756
|
-
|
|
20829
|
+
React8.useEffect(() => {
|
|
20757
20830
|
if (!autoPlay) return;
|
|
20758
20831
|
const interval = setInterval(() => {
|
|
20759
20832
|
nextSlide();
|
|
20760
20833
|
}, autoPlayInterval);
|
|
20761
20834
|
return () => clearInterval(interval);
|
|
20762
20835
|
}, [currentIndex, autoPlay, autoPlayInterval, nextSlide]);
|
|
20763
|
-
|
|
20836
|
+
React8.useEffect(() => {
|
|
20764
20837
|
const handleKeyDown = (e) => {
|
|
20765
20838
|
if (e.key === "ArrowRight") {
|
|
20766
20839
|
nextSlide();
|
|
@@ -20905,9 +20978,9 @@ function CarouselHorizontalCards({
|
|
|
20905
20978
|
pattern,
|
|
20906
20979
|
patternOpacity
|
|
20907
20980
|
}) {
|
|
20908
|
-
const carouselRef =
|
|
20909
|
-
const [isAtStart, setIsAtStart] =
|
|
20910
|
-
const [isAtEnd, setIsAtEnd] =
|
|
20981
|
+
const carouselRef = React8.useRef(null);
|
|
20982
|
+
const [isAtStart, setIsAtStart] = React8.useState(true);
|
|
20983
|
+
const [isAtEnd, setIsAtEnd] = React8.useState(false);
|
|
20911
20984
|
const scrollLeft = () => {
|
|
20912
20985
|
if (carouselRef.current) {
|
|
20913
20986
|
carouselRef.current.scrollBy({ left: -300, behavior: "smooth" });
|
|
@@ -20918,7 +20991,7 @@ function CarouselHorizontalCards({
|
|
|
20918
20991
|
carouselRef.current.scrollBy({ left: 300, behavior: "smooth" });
|
|
20919
20992
|
}
|
|
20920
20993
|
};
|
|
20921
|
-
|
|
20994
|
+
React8.useEffect(() => {
|
|
20922
20995
|
const checkScrollPosition = () => {
|
|
20923
20996
|
if (carouselRef.current) {
|
|
20924
20997
|
const { scrollLeft: scrollLeft2, scrollWidth, clientWidth } = carouselRef.current;
|
|
@@ -21118,13 +21191,13 @@ function CarouselImageHero({
|
|
|
21118
21191
|
pattern,
|
|
21119
21192
|
patternOpacity
|
|
21120
21193
|
}) {
|
|
21121
|
-
const hasImages =
|
|
21194
|
+
const hasImages = React8.useMemo(() => {
|
|
21122
21195
|
return images && images?.length > 0;
|
|
21123
21196
|
}, [images]);
|
|
21124
|
-
const [currentImageIndex, setCurrentImageIndex] =
|
|
21197
|
+
const [currentImageIndex, setCurrentImageIndex] = React8.useState(0);
|
|
21125
21198
|
const progress = useMotionValue(100);
|
|
21126
21199
|
const clipPath = useMotionTemplate`inset(0 ${progress}% 0 0 round 10px)`;
|
|
21127
|
-
|
|
21200
|
+
React8.useEffect(() => {
|
|
21128
21201
|
if (!hasImages || (images?.length ?? 0) < 2) return;
|
|
21129
21202
|
const tickInterval = autoPlayInterval / 100;
|
|
21130
21203
|
const interval = setInterval(() => {
|
|
@@ -21146,19 +21219,19 @@ function CarouselImageHero({
|
|
|
21146
21219
|
autoPlayInterval,
|
|
21147
21220
|
hasImages
|
|
21148
21221
|
]);
|
|
21149
|
-
const handlePrev =
|
|
21222
|
+
const handlePrev = React8.useCallback(() => {
|
|
21150
21223
|
progress.set(100);
|
|
21151
21224
|
setCurrentImageIndex(
|
|
21152
21225
|
(prevIndex) => prevIndex > 0 ? prevIndex - 1 : (images?.length ?? 1) - 1
|
|
21153
21226
|
);
|
|
21154
21227
|
}, [images?.length, progress]);
|
|
21155
|
-
const handleNext =
|
|
21228
|
+
const handleNext = React8.useCallback(() => {
|
|
21156
21229
|
progress.set(100);
|
|
21157
21230
|
setCurrentImageIndex(
|
|
21158
21231
|
(prevIndex) => prevIndex < (images?.length ?? 0) - 1 ? prevIndex + 1 : 0
|
|
21159
21232
|
);
|
|
21160
21233
|
}, [images?.length, progress]);
|
|
21161
|
-
const handleDotClick =
|
|
21234
|
+
const handleDotClick = React8.useCallback(
|
|
21162
21235
|
(index) => {
|
|
21163
21236
|
progress.set(100);
|
|
21164
21237
|
setCurrentImageIndex(index);
|
|
@@ -21335,8 +21408,8 @@ function CarouselMultiStepShowcase({
|
|
|
21335
21408
|
pattern,
|
|
21336
21409
|
patternOpacity
|
|
21337
21410
|
}) {
|
|
21338
|
-
const [activeStep, setActiveStep] =
|
|
21339
|
-
const [direction, setDirection] =
|
|
21411
|
+
const [activeStep, setActiveStep] = React8.useState(0);
|
|
21412
|
+
const [direction, setDirection] = React8.useState(0);
|
|
21340
21413
|
const goToStep = (index) => {
|
|
21341
21414
|
setDirection(index > activeStep ? 1 : -1);
|
|
21342
21415
|
setActiveStep(index);
|
|
@@ -21628,9 +21701,9 @@ function CarouselPortfolioHero({
|
|
|
21628
21701
|
patternOpacity,
|
|
21629
21702
|
slideMediaBrightness = "50"
|
|
21630
21703
|
}) {
|
|
21631
|
-
const [currentIndex, setCurrentIndex] =
|
|
21632
|
-
const intervalRef =
|
|
21633
|
-
const resetInterval =
|
|
21704
|
+
const [currentIndex, setCurrentIndex] = React8.useState(0);
|
|
21705
|
+
const intervalRef = React8.useRef(null);
|
|
21706
|
+
const resetInterval = React8.useCallback(() => {
|
|
21634
21707
|
if (intervalRef.current) {
|
|
21635
21708
|
clearInterval(intervalRef.current);
|
|
21636
21709
|
}
|
|
@@ -21638,17 +21711,17 @@ function CarouselPortfolioHero({
|
|
|
21638
21711
|
setCurrentIndex((prevIndex) => (prevIndex + 1) % (slides?.length ?? 1));
|
|
21639
21712
|
}, autoPlayInterval);
|
|
21640
21713
|
}, [autoPlayInterval, slides?.length]);
|
|
21641
|
-
const goToNext =
|
|
21714
|
+
const goToNext = React8.useCallback(() => {
|
|
21642
21715
|
setCurrentIndex((prevIndex) => (prevIndex + 1) % (slides?.length ?? 1));
|
|
21643
21716
|
resetInterval();
|
|
21644
21717
|
}, [slides?.length, resetInterval]);
|
|
21645
|
-
const goToPrev =
|
|
21718
|
+
const goToPrev = React8.useCallback(() => {
|
|
21646
21719
|
setCurrentIndex(
|
|
21647
21720
|
(prevIndex) => (prevIndex - 1 + (slides?.length ?? 1)) % (slides?.length ?? 1)
|
|
21648
21721
|
);
|
|
21649
21722
|
resetInterval();
|
|
21650
21723
|
}, [slides?.length, resetInterval]);
|
|
21651
|
-
|
|
21724
|
+
React8.useEffect(() => {
|
|
21652
21725
|
resetInterval();
|
|
21653
21726
|
return () => {
|
|
21654
21727
|
if (intervalRef.current) {
|
|
@@ -21817,9 +21890,9 @@ function CarouselProductFeatureShowcase({
|
|
|
21817
21890
|
pattern,
|
|
21818
21891
|
patternOpacity
|
|
21819
21892
|
}) {
|
|
21820
|
-
const [activeIndex, setActiveIndex] =
|
|
21821
|
-
const [activeColorIndex, setActiveColorIndex] =
|
|
21822
|
-
const [direction, setDirection] =
|
|
21893
|
+
const [activeIndex, setActiveIndex] = React8.useState(0);
|
|
21894
|
+
const [activeColorIndex, setActiveColorIndex] = React8.useState(0);
|
|
21895
|
+
const [direction, setDirection] = React8.useState(0);
|
|
21823
21896
|
const activeFeature = features?.[activeIndex];
|
|
21824
21897
|
const goToNext = () => {
|
|
21825
21898
|
setDirection(1);
|
|
@@ -22039,9 +22112,9 @@ function CarouselProductFeatureShowcase({
|
|
|
22039
22112
|
}
|
|
22040
22113
|
);
|
|
22041
22114
|
}
|
|
22042
|
-
var ProgressSliderContext =
|
|
22115
|
+
var ProgressSliderContext = React8.createContext(void 0);
|
|
22043
22116
|
function useProgressSliderContext() {
|
|
22044
|
-
const context =
|
|
22117
|
+
const context = React8.useContext(ProgressSliderContext);
|
|
22045
22118
|
if (!context) {
|
|
22046
22119
|
throw new Error(
|
|
22047
22120
|
"useProgressSliderContext must be used within a ProgressSlider"
|
|
@@ -22127,19 +22200,19 @@ function CarouselProgressSlider({
|
|
|
22127
22200
|
pattern,
|
|
22128
22201
|
patternOpacity
|
|
22129
22202
|
}) {
|
|
22130
|
-
const [active, setActive] =
|
|
22131
|
-
const [progress, setProgress] =
|
|
22132
|
-
const [isFastForward, setIsFastForward] =
|
|
22133
|
-
const [isPaused, setIsPaused] =
|
|
22134
|
-
const frame =
|
|
22135
|
-
const firstFrameTime =
|
|
22136
|
-
const targetValue =
|
|
22137
|
-
const pausedProgress =
|
|
22138
|
-
const sliderValues =
|
|
22203
|
+
const [active, setActive] = React8.useState(slides?.[0]?.id ?? "");
|
|
22204
|
+
const [progress, setProgress] = React8.useState(0);
|
|
22205
|
+
const [isFastForward, setIsFastForward] = React8.useState(false);
|
|
22206
|
+
const [isPaused, setIsPaused] = React8.useState(false);
|
|
22207
|
+
const frame = React8.useRef(0);
|
|
22208
|
+
const firstFrameTime = React8.useRef(performance.now());
|
|
22209
|
+
const targetValue = React8.useRef(null);
|
|
22210
|
+
const pausedProgress = React8.useRef(0);
|
|
22211
|
+
const sliderValues = React8.useMemo(
|
|
22139
22212
|
() => slides?.map((slide) => slide.id),
|
|
22140
22213
|
[slides]
|
|
22141
22214
|
);
|
|
22142
|
-
|
|
22215
|
+
React8.useEffect(() => {
|
|
22143
22216
|
if ((sliderValues?.length ?? 0) > 0 && !isPaused) {
|
|
22144
22217
|
firstFrameTime.current = performance.now();
|
|
22145
22218
|
if (pausedProgress.current > 0) {
|
|
@@ -22305,11 +22378,11 @@ function CarouselScrollingFeatureShowcase({
|
|
|
22305
22378
|
patternOpacity,
|
|
22306
22379
|
patternClassName
|
|
22307
22380
|
}) {
|
|
22308
|
-
const [activeFeature, setActiveFeature] =
|
|
22381
|
+
const [activeFeature, setActiveFeature] = React8.useState(
|
|
22309
22382
|
features?.[0]?.id ?? ""
|
|
22310
22383
|
);
|
|
22311
|
-
const featureRefs =
|
|
22312
|
-
|
|
22384
|
+
const featureRefs = React8.useRef(/* @__PURE__ */ new Map());
|
|
22385
|
+
React8.useEffect(() => {
|
|
22313
22386
|
if (!features || features.length === 0) return;
|
|
22314
22387
|
const observerOptions = {
|
|
22315
22388
|
root: null,
|
|
@@ -23226,9 +23299,9 @@ function FeatureChecklistImage({
|
|
|
23226
23299
|
}
|
|
23227
23300
|
);
|
|
23228
23301
|
}
|
|
23229
|
-
var CarouselContext =
|
|
23302
|
+
var CarouselContext = React8.createContext(null);
|
|
23230
23303
|
function useCarousel() {
|
|
23231
|
-
const context =
|
|
23304
|
+
const context = React8.useContext(CarouselContext);
|
|
23232
23305
|
if (!context) {
|
|
23233
23306
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
23234
23307
|
}
|
|
@@ -23250,20 +23323,20 @@ function Carousel({
|
|
|
23250
23323
|
},
|
|
23251
23324
|
plugins
|
|
23252
23325
|
);
|
|
23253
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
23254
|
-
const [canScrollNext, setCanScrollNext] =
|
|
23255
|
-
const onSelect =
|
|
23326
|
+
const [canScrollPrev, setCanScrollPrev] = React8.useState(false);
|
|
23327
|
+
const [canScrollNext, setCanScrollNext] = React8.useState(false);
|
|
23328
|
+
const onSelect = React8.useCallback((api2) => {
|
|
23256
23329
|
if (!api2) return;
|
|
23257
23330
|
setCanScrollPrev(api2.canScrollPrev());
|
|
23258
23331
|
setCanScrollNext(api2.canScrollNext());
|
|
23259
23332
|
}, []);
|
|
23260
|
-
const scrollPrev =
|
|
23333
|
+
const scrollPrev = React8.useCallback(() => {
|
|
23261
23334
|
api?.scrollPrev();
|
|
23262
23335
|
}, [api]);
|
|
23263
|
-
const scrollNext =
|
|
23336
|
+
const scrollNext = React8.useCallback(() => {
|
|
23264
23337
|
api?.scrollNext();
|
|
23265
23338
|
}, [api]);
|
|
23266
|
-
const handleKeyDown =
|
|
23339
|
+
const handleKeyDown = React8.useCallback(
|
|
23267
23340
|
(event) => {
|
|
23268
23341
|
if (event.key === "ArrowLeft") {
|
|
23269
23342
|
event.preventDefault();
|
|
@@ -23275,11 +23348,11 @@ function Carousel({
|
|
|
23275
23348
|
},
|
|
23276
23349
|
[scrollPrev, scrollNext]
|
|
23277
23350
|
);
|
|
23278
|
-
|
|
23351
|
+
React8.useEffect(() => {
|
|
23279
23352
|
if (!api || !setApi) return;
|
|
23280
23353
|
setApi(api);
|
|
23281
23354
|
}, [api, setApi]);
|
|
23282
|
-
|
|
23355
|
+
React8.useEffect(() => {
|
|
23283
23356
|
if (!api) return;
|
|
23284
23357
|
onSelect(api);
|
|
23285
23358
|
api.on("reInit", onSelect);
|
|
@@ -24177,7 +24250,7 @@ function FeatureThreeColumnValues({
|
|
|
24177
24250
|
patternOpacity,
|
|
24178
24251
|
patternClassName
|
|
24179
24252
|
}) {
|
|
24180
|
-
const renderValueIcon =
|
|
24253
|
+
const renderValueIcon = React8.useCallback(
|
|
24181
24254
|
(value) => {
|
|
24182
24255
|
if (value.icon) return value.icon;
|
|
24183
24256
|
if (value.iconName)
|
|
@@ -24668,7 +24741,7 @@ function FeatureTabbedContentImage({
|
|
|
24668
24741
|
patternOpacity,
|
|
24669
24742
|
patternClassName
|
|
24670
24743
|
}) {
|
|
24671
|
-
const renderFeatures =
|
|
24744
|
+
const renderFeatures = React8.useCallback(
|
|
24672
24745
|
(slide) => {
|
|
24673
24746
|
if (slide.featuresSlot) return slide.featuresSlot;
|
|
24674
24747
|
if (!slide.features || slide.features.length === 0) return null;
|
|
@@ -24692,7 +24765,7 @@ function FeatureTabbedContentImage({
|
|
|
24692
24765
|
},
|
|
24693
24766
|
[]
|
|
24694
24767
|
);
|
|
24695
|
-
const renderActions =
|
|
24768
|
+
const renderActions = React8.useCallback(
|
|
24696
24769
|
(slide) => {
|
|
24697
24770
|
if (slide.actionsSlot) return slide.actionsSlot;
|
|
24698
24771
|
if (!slide.actions || slide.actions.length === 0) return null;
|
|
@@ -24735,7 +24808,7 @@ function FeatureTabbedContentImage({
|
|
|
24735
24808
|
},
|
|
24736
24809
|
[]
|
|
24737
24810
|
);
|
|
24738
|
-
const renderImage =
|
|
24811
|
+
const renderImage = React8.useCallback(
|
|
24739
24812
|
(slide) => {
|
|
24740
24813
|
if (slide.imageSlot) return slide.imageSlot;
|
|
24741
24814
|
if (!slide.image) return null;
|
|
@@ -24971,7 +25044,7 @@ function FeatureUtilityCardsGrid({
|
|
|
24971
25044
|
}
|
|
24972
25045
|
);
|
|
24973
25046
|
}, [learnMoreSlot, learnMoreAction, background]);
|
|
24974
|
-
const renderUtilityImage =
|
|
25047
|
+
const renderUtilityImage = React8.useCallback(
|
|
24975
25048
|
(utility) => {
|
|
24976
25049
|
if (utility.imageSlot) return utility.imageSlot;
|
|
24977
25050
|
if (utility.image) {
|
|
@@ -25149,7 +25222,7 @@ function FeatureBentoUtilities({
|
|
|
25149
25222
|
patternOpacity,
|
|
25150
25223
|
patternClassName
|
|
25151
25224
|
}) {
|
|
25152
|
-
const renderCard =
|
|
25225
|
+
const renderCard = React8.useCallback(
|
|
25153
25226
|
(card, index) => {
|
|
25154
25227
|
const hasImage = card.imageSrc || card.imageSlot;
|
|
25155
25228
|
const cardClasses = cn(
|
|
@@ -25205,7 +25278,7 @@ function FeatureBentoUtilities({
|
|
|
25205
25278
|
},
|
|
25206
25279
|
[optixFlowConfig]
|
|
25207
25280
|
);
|
|
25208
|
-
const renderColumn =
|
|
25281
|
+
const renderColumn = React8.useCallback(
|
|
25209
25282
|
(cards, slot) => {
|
|
25210
25283
|
if (slot) return slot;
|
|
25211
25284
|
if (!cards || cards.length === 0) return null;
|
|
@@ -26441,7 +26514,7 @@ function FeatureBentoImageGrid({
|
|
|
26441
26514
|
patternOpacity,
|
|
26442
26515
|
patternClassName
|
|
26443
26516
|
}) {
|
|
26444
|
-
const renderItemIcon =
|
|
26517
|
+
const renderItemIcon = React8.useCallback(
|
|
26445
26518
|
(item) => {
|
|
26446
26519
|
if (item.icon) return item.icon;
|
|
26447
26520
|
if (item.iconName) return /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 24 });
|
|
@@ -26449,7 +26522,7 @@ function FeatureBentoImageGrid({
|
|
|
26449
26522
|
},
|
|
26450
26523
|
[]
|
|
26451
26524
|
);
|
|
26452
|
-
const renderItemImage =
|
|
26525
|
+
const renderItemImage = React8.useCallback(
|
|
26453
26526
|
(item, imageClassName) => {
|
|
26454
26527
|
if (item.imageSlot) return item.imageSlot;
|
|
26455
26528
|
if (item.imageSrc) {
|
|
@@ -26468,7 +26541,7 @@ function FeatureBentoImageGrid({
|
|
|
26468
26541
|
},
|
|
26469
26542
|
[optixFlowConfig]
|
|
26470
26543
|
);
|
|
26471
|
-
const renderLargeCard =
|
|
26544
|
+
const renderLargeCard = React8.useCallback(
|
|
26472
26545
|
(item) => {
|
|
26473
26546
|
const iconContent = renderItemIcon(item);
|
|
26474
26547
|
const hasIconBadgeContent = iconContent || item.iconBadge;
|
|
@@ -26547,7 +26620,7 @@ function FeatureBentoImageGrid({
|
|
|
26547
26620
|
},
|
|
26548
26621
|
[largeCardClassName, renderItemImage, renderItemIcon]
|
|
26549
26622
|
);
|
|
26550
|
-
const renderSmallCard =
|
|
26623
|
+
const renderSmallCard = React8.useCallback(
|
|
26551
26624
|
(item, index) => {
|
|
26552
26625
|
const iconContent = renderItemIcon(item);
|
|
26553
26626
|
const hasIconBadgeContent = iconContent || item.iconBadge;
|
|
@@ -27197,7 +27270,7 @@ function FeatureAccordionImage({
|
|
|
27197
27270
|
patternOpacity,
|
|
27198
27271
|
patternClassName
|
|
27199
27272
|
}) {
|
|
27200
|
-
const [activeItem, setActiveItem] =
|
|
27273
|
+
const [activeItem, setActiveItem] = React8.useState(defaultValue || "item-0");
|
|
27201
27274
|
const activeIndex = parseInt(activeItem.replace("item-", ""), 10) || 0;
|
|
27202
27275
|
const accordionItemsContent = useMemo(() => {
|
|
27203
27276
|
if (itemsSlot) return itemsSlot;
|
|
@@ -27370,7 +27443,7 @@ function FeatureCapabilitiesGrid({
|
|
|
27370
27443
|
patternOpacity,
|
|
27371
27444
|
patternClassName
|
|
27372
27445
|
}) {
|
|
27373
|
-
const renderItemIcon =
|
|
27446
|
+
const renderItemIcon = React8.useCallback(
|
|
27374
27447
|
(item) => {
|
|
27375
27448
|
if (item.icon) return item.icon;
|
|
27376
27449
|
if (item.iconName) return /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 20 });
|
|
@@ -27522,7 +27595,7 @@ function FeatureCapabilitiesGrid({
|
|
|
27522
27595
|
}
|
|
27523
27596
|
);
|
|
27524
27597
|
}
|
|
27525
|
-
var TeamMemberBackgroundImageCard =
|
|
27598
|
+
var TeamMemberBackgroundImageCard = React8.forwardRef(
|
|
27526
27599
|
({ className, imageUrl, imageAlt, children, optixFlowConfig, background, ...props }, ref) => {
|
|
27527
27600
|
return /* @__PURE__ */ jsxs(
|
|
27528
27601
|
"div",
|
|
@@ -27570,7 +27643,7 @@ function TeamMediaShowcase({
|
|
|
27570
27643
|
actionClassName,
|
|
27571
27644
|
optixFlowConfig
|
|
27572
27645
|
}) {
|
|
27573
|
-
const renderItems =
|
|
27646
|
+
const renderItems = React8.useMemo(() => {
|
|
27574
27647
|
if (itemsSlot) return itemsSlot;
|
|
27575
27648
|
return items.map((member, idx) => {
|
|
27576
27649
|
const imageAlt = member.imageAlt || (member.name && typeof member.name === "string" && member.name.trim() !== "" ? member.name : `member-${idx}`);
|
|
@@ -27668,7 +27741,7 @@ function TeamSimpleGrid({
|
|
|
27668
27741
|
memberNameClassName,
|
|
27669
27742
|
memberRoleClassName
|
|
27670
27743
|
}) {
|
|
27671
|
-
const renderMembers =
|
|
27744
|
+
const renderMembers = React8.useMemo(() => {
|
|
27672
27745
|
if (membersSlot) return membersSlot;
|
|
27673
27746
|
if (!members || members.length === 0) return null;
|
|
27674
27747
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -27830,7 +27903,7 @@ function FooterBrandLinksContact({
|
|
|
27830
27903
|
linkListClassName,
|
|
27831
27904
|
linkItemClassName
|
|
27832
27905
|
]);
|
|
27833
|
-
const contactItemsContent =
|
|
27906
|
+
const contactItemsContent = React8.useMemo(() => {
|
|
27834
27907
|
if (!contactItems || contactItems.length === 0) return null;
|
|
27835
27908
|
return contactItems.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
27836
27909
|
"div",
|
|
@@ -28188,7 +28261,7 @@ function TeamSocialGrid({
|
|
|
28188
28261
|
memberRoleClassName,
|
|
28189
28262
|
socialLinksClassName
|
|
28190
28263
|
}) {
|
|
28191
|
-
const renderMembers =
|
|
28264
|
+
const renderMembers = React8.useMemo(() => {
|
|
28192
28265
|
if (membersSlot) return membersSlot;
|
|
28193
28266
|
if (!members || members.length === 0) return null;
|
|
28194
28267
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -28324,7 +28397,7 @@ function TeamGradientCards({
|
|
|
28324
28397
|
memberRoleClassName,
|
|
28325
28398
|
socialLinksClassName
|
|
28326
28399
|
}) {
|
|
28327
|
-
const renderMembers =
|
|
28400
|
+
const renderMembers = React8.useMemo(() => {
|
|
28328
28401
|
if (membersSlot) return membersSlot;
|
|
28329
28402
|
if (!members || members.length === 0) return null;
|
|
28330
28403
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -28480,7 +28553,7 @@ function TeamBioBadges({
|
|
|
28480
28553
|
memberBioClassName,
|
|
28481
28554
|
socialLinksClassName
|
|
28482
28555
|
}) {
|
|
28483
|
-
const renderMembers =
|
|
28556
|
+
const renderMembers = React8.useMemo(() => {
|
|
28484
28557
|
if (membersSlot) return membersSlot;
|
|
28485
28558
|
if (!members || members.length === 0) return null;
|
|
28486
28559
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -28657,7 +28730,7 @@ function TeamExpertiseCards({
|
|
|
28657
28730
|
ctaDescriptionClassName,
|
|
28658
28731
|
ctaButtonClassName
|
|
28659
28732
|
}) {
|
|
28660
|
-
const renderMembers =
|
|
28733
|
+
const renderMembers = React8.useMemo(() => {
|
|
28661
28734
|
if (membersSlot) return membersSlot;
|
|
28662
28735
|
if (!members || members.length === 0) return null;
|
|
28663
28736
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -28734,7 +28807,7 @@ function TeamExpertiseCards({
|
|
|
28734
28807
|
member.id
|
|
28735
28808
|
));
|
|
28736
28809
|
}, [membersSlot, members, background, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, departmentBadgeClassName, memberDescriptionClassName, expertiseClassName]);
|
|
28737
|
-
const renderCta =
|
|
28810
|
+
const renderCta = React8.useMemo(() => {
|
|
28738
28811
|
if (ctaSlot) return ctaSlot;
|
|
28739
28812
|
return /* @__PURE__ */ jsxs(
|
|
28740
28813
|
"div",
|
|
@@ -28850,7 +28923,7 @@ function TeamCompactGrid({
|
|
|
28850
28923
|
ctaDescriptionClassName,
|
|
28851
28924
|
ctaButtonClassName
|
|
28852
28925
|
}) {
|
|
28853
|
-
const renderMembers =
|
|
28926
|
+
const renderMembers = React8.useMemo(() => {
|
|
28854
28927
|
if (membersSlot) return membersSlot;
|
|
28855
28928
|
if (!members || members.length === 0) return null;
|
|
28856
28929
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -28905,7 +28978,7 @@ function TeamCompactGrid({
|
|
|
28905
28978
|
member.id
|
|
28906
28979
|
));
|
|
28907
28980
|
}, [membersSlot, members, background, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, departmentBadgeClassName]);
|
|
28908
|
-
const renderCta =
|
|
28981
|
+
const renderCta = React8.useMemo(() => {
|
|
28909
28982
|
if (ctaSlot) return ctaSlot;
|
|
28910
28983
|
return /* @__PURE__ */ jsxs(
|
|
28911
28984
|
"div",
|
|
@@ -29009,7 +29082,7 @@ function TeamInvestorShowcase({
|
|
|
29009
29082
|
investorCompanyClassName,
|
|
29010
29083
|
optixFlowConfig
|
|
29011
29084
|
}) {
|
|
29012
|
-
const renderInvestors =
|
|
29085
|
+
const renderInvestors = React8.useMemo(() => {
|
|
29013
29086
|
if (investorsSlot) return investorsSlot;
|
|
29014
29087
|
if (!investors || investors.length === 0) return null;
|
|
29015
29088
|
return investors.map((investor) => /* @__PURE__ */ jsxs("div", { className: investorCardClassName, children: [
|
|
@@ -29083,7 +29156,7 @@ function TeamCarouselExperience({
|
|
|
29083
29156
|
memberRoleClassName,
|
|
29084
29157
|
optixFlowConfig
|
|
29085
29158
|
}) {
|
|
29086
|
-
const renderMembers =
|
|
29159
|
+
const renderMembers = React8.useMemo(() => {
|
|
29087
29160
|
if (membersSlot) return membersSlot;
|
|
29088
29161
|
if (!members || members.length === 0) return null;
|
|
29089
29162
|
return members.map((member, idx) => /* @__PURE__ */ jsx(CarouselItem, { className: "max-w-72", children: /* @__PURE__ */ jsxs(
|
|
@@ -29233,20 +29306,20 @@ function TeamFilterableSearch({
|
|
|
29233
29306
|
emptyStateClassName,
|
|
29234
29307
|
emptyStateMessage
|
|
29235
29308
|
}) {
|
|
29236
|
-
const [searchQuery, setSearchQuery] =
|
|
29237
|
-
const [selectedDepartment, setSelectedDepartment] =
|
|
29238
|
-
const departments =
|
|
29309
|
+
const [searchQuery, setSearchQuery] = React8.useState("");
|
|
29310
|
+
const [selectedDepartment, setSelectedDepartment] = React8.useState("All");
|
|
29311
|
+
const departments = React8.useMemo(() => {
|
|
29239
29312
|
const depts = new Set(members.map((m) => m.department));
|
|
29240
29313
|
return ["All", ...Array.from(depts)];
|
|
29241
29314
|
}, [members]);
|
|
29242
|
-
const filteredMembers =
|
|
29315
|
+
const filteredMembers = React8.useMemo(() => {
|
|
29243
29316
|
return members.filter((member) => {
|
|
29244
29317
|
const matchesSearch = searchQuery === "" || member.name.toLowerCase().includes(searchQuery.toLowerCase()) || member.role.toLowerCase().includes(searchQuery.toLowerCase()) || member.description.toLowerCase().includes(searchQuery.toLowerCase());
|
|
29245
29318
|
const matchesDepartment = selectedDepartment === "All" || member.department === selectedDepartment;
|
|
29246
29319
|
return matchesSearch && matchesDepartment;
|
|
29247
29320
|
});
|
|
29248
29321
|
}, [members, searchQuery, selectedDepartment]);
|
|
29249
|
-
const renderFilters =
|
|
29322
|
+
const renderFilters = React8.useMemo(() => {
|
|
29250
29323
|
if (filtersSlot) return filtersSlot;
|
|
29251
29324
|
return /* @__PURE__ */ jsxs(
|
|
29252
29325
|
"div",
|
|
@@ -29301,7 +29374,7 @@ function TeamFilterableSearch({
|
|
|
29301
29374
|
selectedDepartment,
|
|
29302
29375
|
filterButtonClassName
|
|
29303
29376
|
]);
|
|
29304
|
-
const renderMembers =
|
|
29377
|
+
const renderMembers = React8.useMemo(() => {
|
|
29305
29378
|
if (membersSlot) return membersSlot;
|
|
29306
29379
|
return filteredMembers.map((member) => /* @__PURE__ */ jsx(
|
|
29307
29380
|
"div",
|
|
@@ -29488,7 +29561,7 @@ function TeamCompactCta({
|
|
|
29488
29561
|
memberRoleClassName,
|
|
29489
29562
|
ctaClassName
|
|
29490
29563
|
}) {
|
|
29491
|
-
const renderMembers =
|
|
29564
|
+
const renderMembers = React8.useMemo(() => {
|
|
29492
29565
|
if (membersSlot) return membersSlot;
|
|
29493
29566
|
if (!members || members.length === 0) return null;
|
|
29494
29567
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -29516,7 +29589,7 @@ function TeamCompactCta({
|
|
|
29516
29589
|
member.id
|
|
29517
29590
|
));
|
|
29518
29591
|
}, [membersSlot, members, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, background]);
|
|
29519
|
-
const renderCta =
|
|
29592
|
+
const renderCta = React8.useMemo(() => {
|
|
29520
29593
|
if (ctaSlot) return ctaSlot;
|
|
29521
29594
|
return /* @__PURE__ */ jsx(
|
|
29522
29595
|
Pressable,
|
|
@@ -29607,7 +29680,7 @@ function TeamHoverHighlight({
|
|
|
29607
29680
|
socialLinksClassName,
|
|
29608
29681
|
optixFlowConfig
|
|
29609
29682
|
}) {
|
|
29610
|
-
const renderMembers =
|
|
29683
|
+
const renderMembers = React8.useMemo(() => {
|
|
29611
29684
|
if (membersSlot) return membersSlot;
|
|
29612
29685
|
if (!members || members.length === 0) return null;
|
|
29613
29686
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -29756,7 +29829,7 @@ function TeamSocialCards({
|
|
|
29756
29829
|
socialLinksClassName,
|
|
29757
29830
|
optixFlowConfig
|
|
29758
29831
|
}) {
|
|
29759
|
-
const renderMembers =
|
|
29832
|
+
const renderMembers = React8.useMemo(() => {
|
|
29760
29833
|
if (membersSlot) return membersSlot;
|
|
29761
29834
|
if (!members || members.length === 0) return null;
|
|
29762
29835
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -29926,7 +29999,7 @@ function TeamGridAnimated({
|
|
|
29926
29999
|
"hsl(var(--muted))",
|
|
29927
30000
|
"hsl(var(--warning)/0.2)"
|
|
29928
30001
|
];
|
|
29929
|
-
const renderMembers =
|
|
30002
|
+
const renderMembers = React8.useMemo(() => {
|
|
29930
30003
|
if (membersSlot) return membersSlot;
|
|
29931
30004
|
if (!members || members.length === 0) return null;
|
|
29932
30005
|
return members.map((member, index) => /* @__PURE__ */ jsxs(
|
|
@@ -30026,7 +30099,7 @@ function TeamGridAnimated({
|
|
|
30026
30099
|
memberDesignationClassName,
|
|
30027
30100
|
socialLinksClassName
|
|
30028
30101
|
]);
|
|
30029
|
-
const renderSocialLinksMain =
|
|
30102
|
+
const renderSocialLinksMain = React8.useMemo(() => {
|
|
30030
30103
|
if (socialLinksMainSlot) return socialLinksMainSlot;
|
|
30031
30104
|
if (!socialLinksMain || socialLinksMain.length === 0) return null;
|
|
30032
30105
|
return /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-center gap-4 py-4 md:justify-center", children: [
|
|
@@ -30143,7 +30216,7 @@ function TeamDepartmentSections({
|
|
|
30143
30216
|
memberRoleClassName,
|
|
30144
30217
|
optixFlowConfig
|
|
30145
30218
|
}) {
|
|
30146
|
-
const renderDepartments =
|
|
30219
|
+
const renderDepartments = React8.useMemo(() => {
|
|
30147
30220
|
if (departmentsSlot) return departmentsSlot;
|
|
30148
30221
|
if (!departments || departments.length === 0) return null;
|
|
30149
30222
|
return departments.map((department, deptIndex) => /* @__PURE__ */ jsxs(
|
|
@@ -30247,7 +30320,7 @@ function TeamAlternatingBios({
|
|
|
30247
30320
|
socialLinksClassName,
|
|
30248
30321
|
optixFlowConfig
|
|
30249
30322
|
}) {
|
|
30250
|
-
const renderMembers =
|
|
30323
|
+
const renderMembers = React8.useMemo(() => {
|
|
30251
30324
|
if (membersSlot) return membersSlot;
|
|
30252
30325
|
if (!members || members.length === 0) return null;
|
|
30253
30326
|
return members.map((member, index) => /* @__PURE__ */ jsxs(
|
|
@@ -30429,7 +30502,7 @@ function TeamAvatarSocial({
|
|
|
30429
30502
|
memberRoleClassName,
|
|
30430
30503
|
socialLinksClassName
|
|
30431
30504
|
}) {
|
|
30432
|
-
const renderMembers =
|
|
30505
|
+
const renderMembers = React8.useMemo(() => {
|
|
30433
30506
|
if (membersSlot) return membersSlot;
|
|
30434
30507
|
if (!members || members.length === 0) return null;
|
|
30435
30508
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -30572,7 +30645,7 @@ function TeamHoverOverlay({
|
|
|
30572
30645
|
socialLinksClassName,
|
|
30573
30646
|
optixFlowConfig
|
|
30574
30647
|
}) {
|
|
30575
|
-
const renderMembers =
|
|
30648
|
+
const renderMembers = React8.useMemo(() => {
|
|
30576
30649
|
if (membersSlot) return membersSlot;
|
|
30577
30650
|
if (!members || members.length === 0) return null;
|
|
30578
30651
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -30748,14 +30821,14 @@ function TeamRoleFilter({
|
|
|
30748
30821
|
socialLinksClassName,
|
|
30749
30822
|
optixFlowConfig
|
|
30750
30823
|
}) {
|
|
30751
|
-
const [selectedRole, setSelectedRole] =
|
|
30752
|
-
const filteredMembers =
|
|
30824
|
+
const [selectedRole, setSelectedRole] = React8.useState("All");
|
|
30825
|
+
const filteredMembers = React8.useMemo(() => {
|
|
30753
30826
|
if (!members) return [];
|
|
30754
30827
|
return members.filter(
|
|
30755
30828
|
(member) => selectedRole === "All" ? true : member.role === selectedRole
|
|
30756
30829
|
);
|
|
30757
30830
|
}, [members, selectedRole]);
|
|
30758
|
-
const renderRoles =
|
|
30831
|
+
const renderRoles = React8.useMemo(() => {
|
|
30759
30832
|
if (rolesSlot) return rolesSlot;
|
|
30760
30833
|
if (!roles) return null;
|
|
30761
30834
|
return /* @__PURE__ */ jsx(
|
|
@@ -30779,7 +30852,7 @@ function TeamRoleFilter({
|
|
|
30779
30852
|
}
|
|
30780
30853
|
);
|
|
30781
30854
|
}, [rolesSlot, filtersClassName, roles, selectedRole, filterButtonClassName]);
|
|
30782
|
-
const renderMembers =
|
|
30855
|
+
const renderMembers = React8.useMemo(() => {
|
|
30783
30856
|
if (membersSlot) return membersSlot;
|
|
30784
30857
|
return filteredMembers.map((member) => /* @__PURE__ */ jsx(
|
|
30785
30858
|
Card,
|
|
@@ -30939,7 +31012,7 @@ function TeamContactCards({
|
|
|
30939
31012
|
socialLinksClassName,
|
|
30940
31013
|
optixFlowConfig
|
|
30941
31014
|
}) {
|
|
30942
|
-
const getStatusColor =
|
|
31015
|
+
const getStatusColor = React8.useCallback((status) => {
|
|
30943
31016
|
switch (status) {
|
|
30944
31017
|
case "active":
|
|
30945
31018
|
return "bg-success";
|
|
@@ -30949,7 +31022,7 @@ function TeamContactCards({
|
|
|
30949
31022
|
return getTextColor(background, "muted");
|
|
30950
31023
|
}
|
|
30951
31024
|
}, [background]);
|
|
30952
|
-
const renderMembers =
|
|
31025
|
+
const renderMembers = React8.useMemo(() => {
|
|
30953
31026
|
if (membersSlot) return membersSlot;
|
|
30954
31027
|
if (!members || members.length === 0) return null;
|
|
30955
31028
|
return members.map((member) => /* @__PURE__ */ jsx(Card, { className: cn("p-0", memberCardClassName), children: /* @__PURE__ */ jsxs(CardContent, { className: "p-6!", children: [
|
|
@@ -31156,7 +31229,7 @@ function TeamLargeImages({
|
|
|
31156
31229
|
socialLinksClassName,
|
|
31157
31230
|
optixFlowConfig
|
|
31158
31231
|
}) {
|
|
31159
|
-
const renderMembers =
|
|
31232
|
+
const renderMembers = React8.useMemo(() => {
|
|
31160
31233
|
if (membersSlot) return membersSlot;
|
|
31161
31234
|
if (!members || members.length === 0) return null;
|
|
31162
31235
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -31331,7 +31404,7 @@ function TeamSkillBadges({
|
|
|
31331
31404
|
socialLinksClassName,
|
|
31332
31405
|
optixFlowConfig
|
|
31333
31406
|
}) {
|
|
31334
|
-
const renderMembers =
|
|
31407
|
+
const renderMembers = React8.useMemo(() => {
|
|
31335
31408
|
if (membersSlot) return membersSlot;
|
|
31336
31409
|
if (!members || members.length === 0) return null;
|
|
31337
31410
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -31521,7 +31594,7 @@ function TeamTestimonialStats({
|
|
|
31521
31594
|
socialLinksClassName,
|
|
31522
31595
|
optixFlowConfig
|
|
31523
31596
|
}) {
|
|
31524
|
-
const renderMembers =
|
|
31597
|
+
const renderMembers = React8.useMemo(() => {
|
|
31525
31598
|
if (membersSlot) return membersSlot;
|
|
31526
31599
|
if (!members || members.length === 0) return null;
|
|
31527
31600
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -35665,7 +35738,7 @@ function BlogGridAuthorCardsComponent({
|
|
|
35665
35738
|
pattern,
|
|
35666
35739
|
patternOpacity
|
|
35667
35740
|
}) {
|
|
35668
|
-
const viewAllActionContent =
|
|
35741
|
+
const viewAllActionContent = React8.useMemo(() => {
|
|
35669
35742
|
if (viewAllSlot) return viewAllSlot;
|
|
35670
35743
|
if (!viewAllAction) return null;
|
|
35671
35744
|
const {
|
|
@@ -35690,7 +35763,7 @@ function BlogGridAuthorCardsComponent({
|
|
|
35690
35763
|
}
|
|
35691
35764
|
);
|
|
35692
35765
|
}, [viewAllSlot, viewAllAction]);
|
|
35693
|
-
const postsContent =
|
|
35766
|
+
const postsContent = React8.useMemo(() => {
|
|
35694
35767
|
if (postsSlot) return postsSlot;
|
|
35695
35768
|
if (!posts || posts.length === 0) return null;
|
|
35696
35769
|
return posts.map((post) => {
|
|
@@ -35802,7 +35875,7 @@ function BlogCardsTaglineCta({
|
|
|
35802
35875
|
pattern,
|
|
35803
35876
|
patternOpacity
|
|
35804
35877
|
}) {
|
|
35805
|
-
const ctaActionContent =
|
|
35878
|
+
const ctaActionContent = React8.useMemo(() => {
|
|
35806
35879
|
if (ctaSlot) return ctaSlot;
|
|
35807
35880
|
if (!ctaAction) return null;
|
|
35808
35881
|
const {
|
|
@@ -35830,7 +35903,7 @@ function BlogCardsTaglineCta({
|
|
|
35830
35903
|
}
|
|
35831
35904
|
);
|
|
35832
35905
|
}, [ctaSlot, ctaAction, ctaClassName]);
|
|
35833
|
-
const postsContent =
|
|
35906
|
+
const postsContent = React8.useMemo(() => {
|
|
35834
35907
|
if (postsSlot) return postsSlot;
|
|
35835
35908
|
if (!posts || posts.length === 0) return null;
|
|
35836
35909
|
return posts.map((post) => {
|
|
@@ -35976,7 +36049,7 @@ function BlogCardsReadTime({
|
|
|
35976
36049
|
pattern,
|
|
35977
36050
|
patternOpacity
|
|
35978
36051
|
}) {
|
|
35979
|
-
const renderedViewAllAction =
|
|
36052
|
+
const renderedViewAllAction = React8.useMemo(() => {
|
|
35980
36053
|
if (viewAllSlot) return viewAllSlot;
|
|
35981
36054
|
if (!viewAllAction) return null;
|
|
35982
36055
|
const {
|
|
@@ -35993,7 +36066,7 @@ function BlogCardsReadTime({
|
|
|
35993
36066
|
iconAfter
|
|
35994
36067
|
] }) });
|
|
35995
36068
|
}, [viewAllSlot, viewAllAction]);
|
|
35996
|
-
const renderedPosts =
|
|
36069
|
+
const renderedPosts = React8.useMemo(() => {
|
|
35997
36070
|
if (postsSlot) return postsSlot;
|
|
35998
36071
|
if (!posts || posts.length === 0) return null;
|
|
35999
36072
|
return posts.map((post) => {
|
|
@@ -36130,7 +36203,7 @@ function BlogCategoryOverlay({
|
|
|
36130
36203
|
pattern,
|
|
36131
36204
|
patternOpacity
|
|
36132
36205
|
}) {
|
|
36133
|
-
const viewAllActionContent =
|
|
36206
|
+
const viewAllActionContent = React8.useMemo(() => {
|
|
36134
36207
|
if (viewAllSlot) return viewAllSlot;
|
|
36135
36208
|
if (!viewAllAction) return null;
|
|
36136
36209
|
const {
|
|
@@ -36158,7 +36231,7 @@ function BlogCategoryOverlay({
|
|
|
36158
36231
|
}
|
|
36159
36232
|
);
|
|
36160
36233
|
}, [viewAllSlot, viewAllAction, viewAllClassName]);
|
|
36161
|
-
const postsContent =
|
|
36234
|
+
const postsContent = React8.useMemo(() => {
|
|
36162
36235
|
if (postsSlot) return postsSlot;
|
|
36163
36236
|
if (!posts || posts.length === 0) return null;
|
|
36164
36237
|
return posts.map((post) => {
|
|
@@ -36306,7 +36379,7 @@ function BlogFeaturedPopular({
|
|
|
36306
36379
|
}) {
|
|
36307
36380
|
const featuredPost = posts?.[0];
|
|
36308
36381
|
const popularPosts = posts?.slice(1);
|
|
36309
|
-
const renderedFeaturedPost =
|
|
36382
|
+
const renderedFeaturedPost = React8.useMemo(() => {
|
|
36310
36383
|
if (featuredSlot) return featuredSlot;
|
|
36311
36384
|
if (!featuredPost) return null;
|
|
36312
36385
|
const postHref = featuredPost.href || featuredPost.url || featuredPost.link;
|
|
@@ -36358,7 +36431,7 @@ function BlogFeaturedPopular({
|
|
|
36358
36431
|
featuredContentClassName,
|
|
36359
36432
|
optixFlowConfig
|
|
36360
36433
|
]);
|
|
36361
|
-
const renderedPopularPosts =
|
|
36434
|
+
const renderedPopularPosts = React8.useMemo(() => {
|
|
36362
36435
|
if (postsSlot) return postsSlot;
|
|
36363
36436
|
if (!popularPosts || popularPosts.length === 0) return null;
|
|
36364
36437
|
return popularPosts.map((post) => {
|
|
@@ -36475,7 +36548,7 @@ function BlogRelatedArticles({
|
|
|
36475
36548
|
pattern,
|
|
36476
36549
|
patternOpacity
|
|
36477
36550
|
}) {
|
|
36478
|
-
const renderedSeeAllAction =
|
|
36551
|
+
const renderedSeeAllAction = React8.useMemo(() => {
|
|
36479
36552
|
if (seeAllSlot) return seeAllSlot;
|
|
36480
36553
|
if (!seeAllAction) return null;
|
|
36481
36554
|
const {
|
|
@@ -36504,7 +36577,7 @@ function BlogRelatedArticles({
|
|
|
36504
36577
|
}
|
|
36505
36578
|
);
|
|
36506
36579
|
}, [seeAllSlot, seeAllAction, seeAllClassName]);
|
|
36507
|
-
const renderedArticles =
|
|
36580
|
+
const renderedArticles = React8.useMemo(() => {
|
|
36508
36581
|
if (articlesSlot) return articlesSlot;
|
|
36509
36582
|
if (!articles || articles.length === 0) return null;
|
|
36510
36583
|
return articles.map((item) => {
|
|
@@ -36797,7 +36870,7 @@ function BlogHorizontalCards({
|
|
|
36797
36870
|
pattern,
|
|
36798
36871
|
patternOpacity
|
|
36799
36872
|
}) {
|
|
36800
|
-
const ctaContent =
|
|
36873
|
+
const ctaContent = React8.useMemo(() => {
|
|
36801
36874
|
if (ctaSlot) return ctaSlot;
|
|
36802
36875
|
if (!ctaAction) return null;
|
|
36803
36876
|
const {
|
|
@@ -36822,7 +36895,7 @@ function BlogHorizontalCards({
|
|
|
36822
36895
|
}
|
|
36823
36896
|
);
|
|
36824
36897
|
}, [ctaSlot, ctaAction]);
|
|
36825
|
-
const postsContent =
|
|
36898
|
+
const postsContent = React8.useMemo(() => {
|
|
36826
36899
|
if (postsSlot) return postsSlot;
|
|
36827
36900
|
if (!posts || posts.length === 0) return null;
|
|
36828
36901
|
return posts.map((post) => {
|
|
@@ -37044,7 +37117,7 @@ function Label({
|
|
|
37044
37117
|
);
|
|
37045
37118
|
}
|
|
37046
37119
|
var POSTS_PER_PAGE = 6;
|
|
37047
|
-
var BlogCard =
|
|
37120
|
+
var BlogCard = React8.memo(function BlogCard2({
|
|
37048
37121
|
post,
|
|
37049
37122
|
optixFlowConfig,
|
|
37050
37123
|
className
|
|
@@ -37083,7 +37156,7 @@ var BlogCard = React32.memo(function BlogCard2({
|
|
|
37083
37156
|
] })
|
|
37084
37157
|
] }) });
|
|
37085
37158
|
});
|
|
37086
|
-
var FilterForm =
|
|
37159
|
+
var FilterForm = React8.memo(function FilterForm2({
|
|
37087
37160
|
categories,
|
|
37088
37161
|
selectedCategories,
|
|
37089
37162
|
onCategoryChange,
|
|
@@ -37116,7 +37189,7 @@ var FilterForm = React32.memo(function FilterForm2({
|
|
|
37116
37189
|
}
|
|
37117
37190
|
);
|
|
37118
37191
|
});
|
|
37119
|
-
var BreadcrumbBlog =
|
|
37192
|
+
var BreadcrumbBlog = React8.memo(function BreadcrumbBlog2({
|
|
37120
37193
|
breadcrumb
|
|
37121
37194
|
}) {
|
|
37122
37195
|
return /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.map((item, i) => {
|
|
@@ -37198,12 +37271,12 @@ function BlogFilteredResultsComponent({
|
|
|
37198
37271
|
}, [posts, selectedCategories]);
|
|
37199
37272
|
const postsToDisplay = filteredPosts.length > 0 ? filteredPosts : posts || [];
|
|
37200
37273
|
const hasMore = visibleCount < postsToDisplay.length;
|
|
37201
|
-
const breadcrumbContent =
|
|
37274
|
+
const breadcrumbContent = React8.useMemo(() => {
|
|
37202
37275
|
if (breadcrumbSlot) return breadcrumbSlot;
|
|
37203
37276
|
if (!breadcrumb || breadcrumb.length === 0) return null;
|
|
37204
37277
|
return /* @__PURE__ */ jsx(BreadcrumbBlog, { breadcrumb });
|
|
37205
37278
|
}, [breadcrumbSlot, breadcrumb]);
|
|
37206
|
-
const primaryPostContent =
|
|
37279
|
+
const primaryPostContent = React8.useMemo(() => {
|
|
37207
37280
|
if (primaryPostSlot) return primaryPostSlot;
|
|
37208
37281
|
if (!primaryPost) return null;
|
|
37209
37282
|
return /* @__PURE__ */ jsx(
|
|
@@ -37215,7 +37288,7 @@ function BlogFilteredResultsComponent({
|
|
|
37215
37288
|
}
|
|
37216
37289
|
);
|
|
37217
37290
|
}, [primaryPostSlot, primaryPost, optixFlowConfig, postCardClassName]);
|
|
37218
|
-
const categoriesContent =
|
|
37291
|
+
const categoriesContent = React8.useMemo(() => {
|
|
37219
37292
|
if (categoriesSlot) return categoriesSlot;
|
|
37220
37293
|
if (!categories || categories.length === 0) return null;
|
|
37221
37294
|
return /* @__PURE__ */ jsx(
|
|
@@ -37234,7 +37307,7 @@ function BlogFilteredResultsComponent({
|
|
|
37234
37307
|
handleCategoryChange,
|
|
37235
37308
|
categoriesClassName
|
|
37236
37309
|
]);
|
|
37237
|
-
const postsContent =
|
|
37310
|
+
const postsContent = React8.useMemo(() => {
|
|
37238
37311
|
if (postsSlot) return postsSlot;
|
|
37239
37312
|
return postsToDisplay.slice(0, visibleCount).map((post) => {
|
|
37240
37313
|
const postKey = post.id || String(post.title) || Math.random().toString();
|
|
@@ -37255,7 +37328,7 @@ function BlogFilteredResultsComponent({
|
|
|
37255
37328
|
optixFlowConfig,
|
|
37256
37329
|
postCardClassName
|
|
37257
37330
|
]);
|
|
37258
|
-
const loadMoreContent =
|
|
37331
|
+
const loadMoreContent = React8.useMemo(() => {
|
|
37259
37332
|
if (loadMoreSlot) return loadMoreSlot;
|
|
37260
37333
|
if (!loadMoreAction || !hasMore) return null;
|
|
37261
37334
|
const {
|
|
@@ -37382,7 +37455,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
37382
37455
|
}) {
|
|
37383
37456
|
const featuredPost = posts?.[0];
|
|
37384
37457
|
const otherPosts = posts?.slice(1);
|
|
37385
|
-
const featuredPostContent =
|
|
37458
|
+
const featuredPostContent = React8.useMemo(() => {
|
|
37386
37459
|
if (featuredSlot) return featuredSlot;
|
|
37387
37460
|
if (!featuredPost) return null;
|
|
37388
37461
|
const postHref = featuredPost.href || featuredPost.url || featuredPost.link;
|
|
@@ -37432,7 +37505,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
37432
37505
|
featuredImageClassName,
|
|
37433
37506
|
optixFlowConfig
|
|
37434
37507
|
]);
|
|
37435
|
-
const otherPostsContent =
|
|
37508
|
+
const otherPostsContent = React8.useMemo(() => {
|
|
37436
37509
|
if (postsSlot) return postsSlot;
|
|
37437
37510
|
if (!otherPosts || otherPosts.length === 0) return null;
|
|
37438
37511
|
return otherPosts.map((post) => {
|
|
@@ -37523,7 +37596,7 @@ function BlogHorizontalTimelineComponent({
|
|
|
37523
37596
|
pattern,
|
|
37524
37597
|
patternOpacity
|
|
37525
37598
|
}) {
|
|
37526
|
-
const renderPosts =
|
|
37599
|
+
const renderPosts = React8.useMemo(() => {
|
|
37527
37600
|
if (postsSlot) return postsSlot;
|
|
37528
37601
|
if (!posts || posts.length === 0) return null;
|
|
37529
37602
|
return posts.map((post, index) => {
|
|
@@ -37648,7 +37721,7 @@ function BlogGridNinePosts({
|
|
|
37648
37721
|
pattern,
|
|
37649
37722
|
patternOpacity
|
|
37650
37723
|
}) {
|
|
37651
|
-
const renderedCtaAction =
|
|
37724
|
+
const renderedCtaAction = React8.useMemo(() => {
|
|
37652
37725
|
if (ctaSlot) return ctaSlot;
|
|
37653
37726
|
if (!ctaAction) return null;
|
|
37654
37727
|
const {
|
|
@@ -37673,7 +37746,7 @@ function BlogGridNinePosts({
|
|
|
37673
37746
|
}
|
|
37674
37747
|
);
|
|
37675
37748
|
}, [ctaSlot, ctaAction]);
|
|
37676
|
-
const renderedPosts =
|
|
37749
|
+
const renderedPosts = React8.useMemo(() => {
|
|
37677
37750
|
if (postsSlot) return postsSlot;
|
|
37678
37751
|
if (!posts || posts.length === 0) return null;
|
|
37679
37752
|
return posts.map((post) => {
|
|
@@ -37771,9 +37844,9 @@ var AppleCarousel = ({
|
|
|
37771
37844
|
className,
|
|
37772
37845
|
containerClassName
|
|
37773
37846
|
}) => {
|
|
37774
|
-
const carouselRef =
|
|
37775
|
-
const [canScrollLeft, setCanScrollLeft] =
|
|
37776
|
-
const [canScrollRight, setCanScrollRight] =
|
|
37847
|
+
const carouselRef = React8__default.useRef(null);
|
|
37848
|
+
const [canScrollLeft, setCanScrollLeft] = React8__default.useState(false);
|
|
37849
|
+
const [canScrollRight, setCanScrollRight] = React8__default.useState(true);
|
|
37777
37850
|
const [currentIndex, setCurrentIndex] = useState(0);
|
|
37778
37851
|
useEffect(() => {
|
|
37779
37852
|
if (carouselRef.current) {
|
|
@@ -38013,7 +38086,7 @@ function BlogCarouselAppleComponent({
|
|
|
38013
38086
|
containerClassName,
|
|
38014
38087
|
cardClassName
|
|
38015
38088
|
}) {
|
|
38016
|
-
const carouselCards =
|
|
38089
|
+
const carouselCards = React8.useMemo(() => {
|
|
38017
38090
|
if (!posts || posts.length === 0) return [];
|
|
38018
38091
|
return posts.map(
|
|
38019
38092
|
(post, idx) => ({
|
|
@@ -38025,7 +38098,7 @@ function BlogCarouselAppleComponent({
|
|
|
38025
38098
|
})
|
|
38026
38099
|
);
|
|
38027
38100
|
}, [posts]);
|
|
38028
|
-
const cardElements =
|
|
38101
|
+
const cardElements = React8.useMemo(() => {
|
|
38029
38102
|
if (!posts || posts.length === 0) return [];
|
|
38030
38103
|
return carouselCards.map((card, index) => {
|
|
38031
38104
|
const post = posts[index];
|
|
@@ -38110,7 +38183,7 @@ function ArticleHeroProseComponent({
|
|
|
38110
38183
|
description,
|
|
38111
38184
|
authorImage
|
|
38112
38185
|
} = post ?? {};
|
|
38113
|
-
const authorContent =
|
|
38186
|
+
const authorContent = React8.useMemo(() => {
|
|
38114
38187
|
if (authorSlot) return authorSlot;
|
|
38115
38188
|
if (!authorName) return null;
|
|
38116
38189
|
return /* @__PURE__ */ jsxs(
|
|
@@ -38144,7 +38217,7 @@ function ArticleHeroProseComponent({
|
|
|
38144
38217
|
dateFormat,
|
|
38145
38218
|
authorClassName
|
|
38146
38219
|
]);
|
|
38147
|
-
const heroMediaContent =
|
|
38220
|
+
const heroMediaContent = React8.useMemo(() => {
|
|
38148
38221
|
if (heroMediaSlot) return heroMediaSlot;
|
|
38149
38222
|
if (!image) return null;
|
|
38150
38223
|
return /* @__PURE__ */ jsx(
|
|
@@ -38250,7 +38323,7 @@ function ArticleSidebarStickyComponent({
|
|
|
38250
38323
|
patternOpacity,
|
|
38251
38324
|
sidebarContent
|
|
38252
38325
|
}) {
|
|
38253
|
-
const backLinkContent =
|
|
38326
|
+
const backLinkContent = React8.useMemo(() => {
|
|
38254
38327
|
if (backLinkSlot) return backLinkSlot;
|
|
38255
38328
|
if (!backHref && !backText) return null;
|
|
38256
38329
|
return /* @__PURE__ */ jsxs(
|
|
@@ -38268,7 +38341,7 @@ function ArticleSidebarStickyComponent({
|
|
|
38268
38341
|
}
|
|
38269
38342
|
);
|
|
38270
38343
|
}, [backLinkSlot, backHref, backText, backIcon, backLinkClassName]);
|
|
38271
|
-
const renderAuthor =
|
|
38344
|
+
const renderAuthor = React8.useCallback(
|
|
38272
38345
|
(isMobile = false) => {
|
|
38273
38346
|
if (authorSlot) return authorSlot;
|
|
38274
38347
|
if (!authorName) return null;
|
|
@@ -38300,7 +38373,7 @@ function ArticleSidebarStickyComponent({
|
|
|
38300
38373
|
authorClassName
|
|
38301
38374
|
]
|
|
38302
38375
|
);
|
|
38303
|
-
const heroMediaContent =
|
|
38376
|
+
const heroMediaContent = React8.useMemo(() => {
|
|
38304
38377
|
if (heroMediaSlot) return heroMediaSlot;
|
|
38305
38378
|
if (!heroImageSrc) return null;
|
|
38306
38379
|
return /* @__PURE__ */ jsx(
|
|
@@ -38411,10 +38484,10 @@ function ArticleTocSidebarComponent({
|
|
|
38411
38484
|
patternOpacity,
|
|
38412
38485
|
patternClassName
|
|
38413
38486
|
}) {
|
|
38414
|
-
const [activeSection, setActiveSection] =
|
|
38487
|
+
const [activeSection, setActiveSection] = React8.useState(
|
|
38415
38488
|
sections?.[0]?.id || ""
|
|
38416
38489
|
);
|
|
38417
|
-
|
|
38490
|
+
React8.useEffect(() => {
|
|
38418
38491
|
if (!enableTocTracking || !sections || sections.length === 0) return;
|
|
38419
38492
|
const observer = new IntersectionObserver(
|
|
38420
38493
|
(entries) => {
|
|
@@ -38432,12 +38505,12 @@ function ArticleTocSidebarComponent({
|
|
|
38432
38505
|
});
|
|
38433
38506
|
return () => observer.disconnect();
|
|
38434
38507
|
}, [sections, enableTocTracking]);
|
|
38435
|
-
const categoryContent =
|
|
38508
|
+
const categoryContent = React8.useMemo(() => {
|
|
38436
38509
|
if (categorySlot) return categorySlot;
|
|
38437
38510
|
if (!category) return null;
|
|
38438
38511
|
return /* @__PURE__ */ jsx(Badge, { children: category });
|
|
38439
38512
|
}, [categorySlot, category]);
|
|
38440
|
-
const authorContent =
|
|
38513
|
+
const authorContent = React8.useMemo(() => {
|
|
38441
38514
|
if (authorSlot) return authorSlot;
|
|
38442
38515
|
if (!authorName) return null;
|
|
38443
38516
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-4", authorClassName), children: [
|
|
@@ -38472,7 +38545,7 @@ function ArticleTocSidebarComponent({
|
|
|
38472
38545
|
readTime,
|
|
38473
38546
|
authorClassName
|
|
38474
38547
|
]);
|
|
38475
|
-
const heroMediaContent =
|
|
38548
|
+
const heroMediaContent = React8.useMemo(() => {
|
|
38476
38549
|
if (heroMediaSlot) return heroMediaSlot;
|
|
38477
38550
|
if (!heroImageSrc) return null;
|
|
38478
38551
|
return /* @__PURE__ */ jsx(
|
|
@@ -38494,7 +38567,7 @@ function ArticleTocSidebarComponent({
|
|
|
38494
38567
|
heroImageClassName,
|
|
38495
38568
|
optixFlowConfig
|
|
38496
38569
|
]);
|
|
38497
|
-
const tocContent =
|
|
38570
|
+
const tocContent = React8.useMemo(() => {
|
|
38498
38571
|
if (tocSlot) return tocSlot;
|
|
38499
38572
|
if (!sections || sections.length === 0) return null;
|
|
38500
38573
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", tocClassName), children: [
|
|
@@ -38502,7 +38575,7 @@ function ArticleTocSidebarComponent({
|
|
|
38502
38575
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: sections.map((section) => {
|
|
38503
38576
|
const isActive = activeSection === section.id;
|
|
38504
38577
|
if (renderSectionLink) {
|
|
38505
|
-
return /* @__PURE__ */ jsx(
|
|
38578
|
+
return /* @__PURE__ */ jsx(React8.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
38506
38579
|
}
|
|
38507
38580
|
return /* @__PURE__ */ jsx(
|
|
38508
38581
|
Pressable,
|
|
@@ -38519,7 +38592,7 @@ function ArticleTocSidebarComponent({
|
|
|
38519
38592
|
}) })
|
|
38520
38593
|
] });
|
|
38521
38594
|
}, [tocSlot, sections, activeSection, renderSectionLink, tocClassName]);
|
|
38522
|
-
const ctaContent =
|
|
38595
|
+
const ctaContent = React8.useMemo(() => {
|
|
38523
38596
|
if (ctaSlot) return ctaSlot;
|
|
38524
38597
|
if (!ctaTitle && !ctaDescription && (!ctaActions || ctaActions.length === 0))
|
|
38525
38598
|
return null;
|
|
@@ -38633,11 +38706,11 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38633
38706
|
patternOpacity,
|
|
38634
38707
|
patternClassName
|
|
38635
38708
|
}) {
|
|
38636
|
-
const [activeSection, setActiveSection] =
|
|
38709
|
+
const [activeSection, setActiveSection] = React8.useState(
|
|
38637
38710
|
sections?.[0]?.id || ""
|
|
38638
38711
|
);
|
|
38639
|
-
const [showBackToTop, setShowBackToTop] =
|
|
38640
|
-
|
|
38712
|
+
const [showBackToTop, setShowBackToTop] = React8.useState(false);
|
|
38713
|
+
React8.useEffect(() => {
|
|
38641
38714
|
if (!enableTocTracking || !sections || sections.length === 0) return;
|
|
38642
38715
|
const observer = new IntersectionObserver(
|
|
38643
38716
|
(entries) => {
|
|
@@ -38655,7 +38728,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38655
38728
|
});
|
|
38656
38729
|
return () => observer.disconnect();
|
|
38657
38730
|
}, [sections, enableTocTracking]);
|
|
38658
|
-
|
|
38731
|
+
React8.useEffect(() => {
|
|
38659
38732
|
if (!enableBackToTop) return;
|
|
38660
38733
|
const handleScroll = () => {
|
|
38661
38734
|
setShowBackToTop(window.scrollY > 400);
|
|
@@ -38663,15 +38736,15 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38663
38736
|
window.addEventListener("scroll", handleScroll);
|
|
38664
38737
|
return () => window.removeEventListener("scroll", handleScroll);
|
|
38665
38738
|
}, [enableBackToTop]);
|
|
38666
|
-
const scrollToTop =
|
|
38739
|
+
const scrollToTop = React8.useCallback(() => {
|
|
38667
38740
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
38668
38741
|
}, []);
|
|
38669
|
-
const breadcrumbsContent =
|
|
38742
|
+
const breadcrumbsContent = React8.useMemo(() => {
|
|
38670
38743
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
38671
38744
|
if (!breadcrumbs || breadcrumbs.length === 0) return null;
|
|
38672
38745
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-8", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
38673
38746
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
38674
|
-
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
38747
|
+
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
38675
38748
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
38676
38749
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
38677
38750
|
] }, index)),
|
|
@@ -38681,7 +38754,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38681
38754
|
] })
|
|
38682
38755
|
] }) });
|
|
38683
38756
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
38684
|
-
const authorContent =
|
|
38757
|
+
const authorContent = React8.useMemo(() => {
|
|
38685
38758
|
if (authorSlot) return authorSlot;
|
|
38686
38759
|
if (!author) return null;
|
|
38687
38760
|
return /* @__PURE__ */ jsxs(
|
|
@@ -38704,7 +38777,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38704
38777
|
}
|
|
38705
38778
|
);
|
|
38706
38779
|
}, [authorSlot, author, publishDate, readTime, authorClassName]);
|
|
38707
|
-
const heroMediaContent =
|
|
38780
|
+
const heroMediaContent = React8.useMemo(() => {
|
|
38708
38781
|
if (heroMediaSlot) return heroMediaSlot;
|
|
38709
38782
|
if (!heroImageSrc) return null;
|
|
38710
38783
|
return /* @__PURE__ */ jsx(
|
|
@@ -38726,7 +38799,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38726
38799
|
heroImageClassName,
|
|
38727
38800
|
optixFlowConfig
|
|
38728
38801
|
]);
|
|
38729
|
-
const tocContent =
|
|
38802
|
+
const tocContent = React8.useMemo(() => {
|
|
38730
38803
|
if (tocSlot) return tocSlot;
|
|
38731
38804
|
if (!sections || sections.length === 0) return null;
|
|
38732
38805
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", tocClassName), children: [
|
|
@@ -38734,7 +38807,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38734
38807
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: sections.map((section) => {
|
|
38735
38808
|
const isActive = activeSection === section.id;
|
|
38736
38809
|
if (renderSectionLink) {
|
|
38737
|
-
return /* @__PURE__ */ jsx(
|
|
38810
|
+
return /* @__PURE__ */ jsx(React8.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
38738
38811
|
}
|
|
38739
38812
|
return /* @__PURE__ */ jsx(
|
|
38740
38813
|
Pressable,
|
|
@@ -38841,11 +38914,11 @@ function ArticleCompactTocComponent({
|
|
|
38841
38914
|
patternOpacity,
|
|
38842
38915
|
patternClassName
|
|
38843
38916
|
}) {
|
|
38844
|
-
const [activeSection, setActiveSection] =
|
|
38917
|
+
const [activeSection, setActiveSection] = React8.useState(
|
|
38845
38918
|
sections?.[0]?.id || ""
|
|
38846
38919
|
);
|
|
38847
|
-
const [isTocOpen, setIsTocOpen] =
|
|
38848
|
-
|
|
38920
|
+
const [isTocOpen, setIsTocOpen] = React8.useState(false);
|
|
38921
|
+
React8.useEffect(() => {
|
|
38849
38922
|
if (!enableTocTracking) return;
|
|
38850
38923
|
const observer = new IntersectionObserver(
|
|
38851
38924
|
(entries) => {
|
|
@@ -38863,12 +38936,12 @@ function ArticleCompactTocComponent({
|
|
|
38863
38936
|
});
|
|
38864
38937
|
return () => observer.disconnect();
|
|
38865
38938
|
}, [sections, enableTocTracking]);
|
|
38866
|
-
const breadcrumbsContent =
|
|
38939
|
+
const breadcrumbsContent = React8.useMemo(() => {
|
|
38867
38940
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
38868
38941
|
if (!breadcrumbs && !currentPage) return null;
|
|
38869
38942
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-6 md:mb-20", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
38870
38943
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
38871
|
-
breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
38944
|
+
breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
38872
38945
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
38873
38946
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
38874
38947
|
] }, index)),
|
|
@@ -38876,13 +38949,13 @@ function ArticleCompactTocComponent({
|
|
|
38876
38949
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: currentPage }) })
|
|
38877
38950
|
] }) });
|
|
38878
38951
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
38879
|
-
const renderTocLinks =
|
|
38952
|
+
const renderTocLinks = React8.useCallback(
|
|
38880
38953
|
(onLinkClick) => {
|
|
38881
38954
|
if (!sections) return null;
|
|
38882
38955
|
return sections.map((section) => {
|
|
38883
38956
|
const isActive = activeSection === section.id;
|
|
38884
38957
|
if (renderSectionLink) {
|
|
38885
|
-
return /* @__PURE__ */ jsx(
|
|
38958
|
+
return /* @__PURE__ */ jsx(React8.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
38886
38959
|
}
|
|
38887
38960
|
return /* @__PURE__ */ jsx(
|
|
38888
38961
|
Pressable,
|
|
@@ -38901,7 +38974,7 @@ function ArticleCompactTocComponent({
|
|
|
38901
38974
|
},
|
|
38902
38975
|
[sections, activeSection, renderSectionLink]
|
|
38903
38976
|
);
|
|
38904
|
-
const tocContent =
|
|
38977
|
+
const tocContent = React8.useMemo(() => {
|
|
38905
38978
|
if (tocSlot) return tocSlot;
|
|
38906
38979
|
if (!sections || sections.length === 0) return null;
|
|
38907
38980
|
return /* @__PURE__ */ jsx("div", { className: "mb-8 lg:hidden", children: /* @__PURE__ */ jsxs(Popover, { open: isTocOpen, onOpenChange: setIsTocOpen, children: [
|
|
@@ -38935,14 +39008,14 @@ function ArticleCompactTocComponent({
|
|
|
38935
39008
|
] }) });
|
|
38936
39009
|
}, [tocSlot, sections, isTocOpen, tocClassName, renderTocLinks]);
|
|
38937
39010
|
const hasDesktopToc = !tocSlot && sections && sections.length > 0;
|
|
38938
|
-
const desktopTocContent =
|
|
39011
|
+
const desktopTocContent = React8.useMemo(() => {
|
|
38939
39012
|
if (!hasDesktopToc) return null;
|
|
38940
39013
|
return /* @__PURE__ */ jsx("aside", { className: cn("hidden lg:block w-64 shrink-0", tocClassName), children: /* @__PURE__ */ jsxs("nav", { className: "sticky top-24 max-h-[calc(100vh-8rem)] overflow-y-auto space-y-2 rounded-lg border p-4", children: [
|
|
38941
39014
|
/* @__PURE__ */ jsx("span", { className: "mb-3 block text-sm font-semibold", children: "Table of Contents" }),
|
|
38942
39015
|
renderTocLinks()
|
|
38943
39016
|
] }) });
|
|
38944
39017
|
}, [hasDesktopToc, tocClassName, renderTocLinks]);
|
|
38945
|
-
const heroMediaContent =
|
|
39018
|
+
const heroMediaContent = React8.useMemo(() => {
|
|
38946
39019
|
if (heroMediaSlot) return heroMediaSlot;
|
|
38947
39020
|
if (!heroImageSrc) return null;
|
|
38948
39021
|
return /* @__PURE__ */ jsx(
|
|
@@ -39064,10 +39137,10 @@ function ArticleChaptersAuthorComponent({
|
|
|
39064
39137
|
pattern,
|
|
39065
39138
|
patternOpacity
|
|
39066
39139
|
}) {
|
|
39067
|
-
const [activeChapter, setActiveChapter] =
|
|
39140
|
+
const [activeChapter, setActiveChapter] = React8.useState(
|
|
39068
39141
|
chapters?.[0]?.id || ""
|
|
39069
39142
|
);
|
|
39070
|
-
|
|
39143
|
+
React8.useEffect(() => {
|
|
39071
39144
|
if (!enableChapterTracking || !chapters || chapters.length === 0) return;
|
|
39072
39145
|
const observer = new IntersectionObserver(
|
|
39073
39146
|
(entries) => {
|
|
@@ -39085,12 +39158,12 @@ function ArticleChaptersAuthorComponent({
|
|
|
39085
39158
|
});
|
|
39086
39159
|
return () => observer.disconnect();
|
|
39087
39160
|
}, [chapters, enableChapterTracking]);
|
|
39088
|
-
const breadcrumbsContent =
|
|
39161
|
+
const breadcrumbsContent = React8.useMemo(() => {
|
|
39089
39162
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
39090
39163
|
if (!breadcrumbs || breadcrumbs.length === 0) return null;
|
|
39091
39164
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-8 md:mb-20", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
39092
39165
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
39093
|
-
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
39166
|
+
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
39094
39167
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
39095
39168
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
39096
39169
|
] }, index)),
|
|
@@ -39098,7 +39171,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
39098
39171
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: typeof currentPage === "string" ? currentPage : currentPage }) })
|
|
39099
39172
|
] }) });
|
|
39100
39173
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
39101
|
-
const chaptersNavContent =
|
|
39174
|
+
const chaptersNavContent = React8.useMemo(() => {
|
|
39102
39175
|
if (chaptersSlot) return chaptersSlot;
|
|
39103
39176
|
if (!chapters || chapters.length === 0) return null;
|
|
39104
39177
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", chaptersClassName), children: [
|
|
@@ -39106,7 +39179,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
39106
39179
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: chapters.map((chapter) => {
|
|
39107
39180
|
const isActive = activeChapter === chapter.id;
|
|
39108
39181
|
if (renderChapterLink) {
|
|
39109
|
-
return /* @__PURE__ */ jsx(
|
|
39182
|
+
return /* @__PURE__ */ jsx(React8.Fragment, { children: renderChapterLink(chapter, isActive) }, chapter.id);
|
|
39110
39183
|
}
|
|
39111
39184
|
return /* @__PURE__ */ jsxs(
|
|
39112
39185
|
Pressable,
|
|
@@ -39140,7 +39213,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
39140
39213
|
renderChapterLink,
|
|
39141
39214
|
chaptersClassName
|
|
39142
39215
|
]);
|
|
39143
|
-
const authorCardContent =
|
|
39216
|
+
const authorCardContent = React8.useMemo(() => {
|
|
39144
39217
|
if (authorSlot) return authorSlot;
|
|
39145
39218
|
if (!author) return null;
|
|
39146
39219
|
let socialLinksContent = null;
|
|
@@ -39189,7 +39262,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
39189
39262
|
socialLinksContent
|
|
39190
39263
|
] });
|
|
39191
39264
|
}, [authorSlot, author, authorClassName]);
|
|
39192
|
-
const heroMediaContent =
|
|
39265
|
+
const heroMediaContent = React8.useMemo(() => {
|
|
39193
39266
|
if (heroMediaSlot) return heroMediaSlot;
|
|
39194
39267
|
if (!heroImageSrc) return null;
|
|
39195
39268
|
return /* @__PURE__ */ jsx(
|
|
@@ -39211,7 +39284,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
39211
39284
|
heroImageClassName,
|
|
39212
39285
|
optixFlowConfig
|
|
39213
39286
|
]);
|
|
39214
|
-
const conclusionContent =
|
|
39287
|
+
const conclusionContent = React8.useMemo(() => {
|
|
39215
39288
|
if (conclusionSlot) return conclusionSlot;
|
|
39216
39289
|
if (!conclusionTitle && !conclusionDescription && (!conclusionActions || conclusionActions.length === 0))
|
|
39217
39290
|
return null;
|
|
@@ -39353,7 +39426,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
39353
39426
|
spacing = "lg"
|
|
39354
39427
|
}) {
|
|
39355
39428
|
const MotionWrapper = enableAnimations ? motion.div : "div";
|
|
39356
|
-
const categoryContent =
|
|
39429
|
+
const categoryContent = React8.useMemo(() => {
|
|
39357
39430
|
if (categorySlot) return categorySlot;
|
|
39358
39431
|
if (!category) return null;
|
|
39359
39432
|
return /* @__PURE__ */ jsx(
|
|
@@ -39368,7 +39441,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
39368
39441
|
}
|
|
39369
39442
|
);
|
|
39370
39443
|
}, [categorySlot, category, categoryHref, categoryClassName]);
|
|
39371
|
-
const heroMediaContent =
|
|
39444
|
+
const heroMediaContent = React8.useMemo(() => {
|
|
39372
39445
|
if (heroMediaSlot) return heroMediaSlot;
|
|
39373
39446
|
if (!image) return null;
|
|
39374
39447
|
return /* @__PURE__ */ jsx(
|
|
@@ -39381,7 +39454,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
39381
39454
|
}
|
|
39382
39455
|
);
|
|
39383
39456
|
}, [heroMediaSlot, image, imageAlt, title, optixFlowConfig]);
|
|
39384
|
-
const authorContent =
|
|
39457
|
+
const authorContent = React8.useMemo(() => {
|
|
39385
39458
|
if (authorSlot) return authorSlot;
|
|
39386
39459
|
if (!authorName) return null;
|
|
39387
39460
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-8 flex items-center gap-4", authorClassName), children: [
|
|
@@ -39409,7 +39482,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
39409
39482
|
authorRole,
|
|
39410
39483
|
authorClassName
|
|
39411
39484
|
]);
|
|
39412
|
-
const ctaContent =
|
|
39485
|
+
const ctaContent = React8.useMemo(() => {
|
|
39413
39486
|
if (ctaSlot) return ctaSlot;
|
|
39414
39487
|
if (!ctaActions || ctaActions.length === 0) return null;
|
|
39415
39488
|
return /* @__PURE__ */ jsx("div", { className: cn("mt-8 flex flex-wrap gap-3", ctaClassName), children: ctaActions.map((action, index) => {
|
|
@@ -41075,7 +41148,7 @@ function FaqSidebarNavigation({
|
|
|
41075
41148
|
accordionTriggerClassName,
|
|
41076
41149
|
accordionContentClassName
|
|
41077
41150
|
}) {
|
|
41078
|
-
const [activeCategory, setActiveCategory] =
|
|
41151
|
+
const [activeCategory, setActiveCategory] = React8.useState(
|
|
41079
41152
|
categories && categories.length > 1 ? "all" : categories?.[0]?.id || ""
|
|
41080
41153
|
);
|
|
41081
41154
|
const filteredCategories = useMemo(() => {
|
|
@@ -41239,7 +41312,7 @@ function FaqSidebarNavigation({
|
|
|
41239
41312
|
onClick: () => setActiveCategory(category.id),
|
|
41240
41313
|
className: cn(
|
|
41241
41314
|
"cursor-pointer",
|
|
41242
|
-
"w-
|
|
41315
|
+
"w-fit lg:w-full",
|
|
41243
41316
|
"shrink-0 whitespace-nowrap",
|
|
41244
41317
|
"rounded-md px-4 py-2",
|
|
41245
41318
|
"text-left text-sm font-medium",
|
|
@@ -41316,11 +41389,14 @@ function FaqCardCategories({
|
|
|
41316
41389
|
type: "single",
|
|
41317
41390
|
collapsible: true,
|
|
41318
41391
|
className: accordionClassName,
|
|
41319
|
-
children: category.items?.map((item) => /* @__PURE__ */ jsxs(
|
|
41392
|
+
children: category.items?.map((item, index) => /* @__PURE__ */ jsxs(
|
|
41320
41393
|
AccordionItem,
|
|
41321
41394
|
{
|
|
41322
41395
|
value: item.id,
|
|
41323
|
-
className:
|
|
41396
|
+
className: cn(
|
|
41397
|
+
categories?.length === index + 1 && "border-b-0",
|
|
41398
|
+
accordionItemClassName
|
|
41399
|
+
),
|
|
41324
41400
|
children: [
|
|
41325
41401
|
/* @__PURE__ */ jsx(
|
|
41326
41402
|
AccordionTrigger,
|
|
@@ -42130,7 +42206,7 @@ function FaqSplitHero({
|
|
|
42130
42206
|
}
|
|
42131
42207
|
);
|
|
42132
42208
|
}
|
|
42133
|
-
var Controls =
|
|
42209
|
+
var Controls = React8.memo(
|
|
42134
42210
|
({
|
|
42135
42211
|
handleNext,
|
|
42136
42212
|
handlePrevious,
|
|
@@ -42161,7 +42237,7 @@ var Controls = React32.memo(
|
|
|
42161
42237
|
] });
|
|
42162
42238
|
}
|
|
42163
42239
|
);
|
|
42164
|
-
var FeatureCard =
|
|
42240
|
+
var FeatureCard = React8.memo(
|
|
42165
42241
|
({ feature, isActive, onClick }) => {
|
|
42166
42242
|
const variants2 = useMemo(
|
|
42167
42243
|
() => ({
|
|
@@ -42269,7 +42345,7 @@ var FeatureCard = React32.memo(
|
|
|
42269
42345
|
) });
|
|
42270
42346
|
}
|
|
42271
42347
|
);
|
|
42272
|
-
var FeaturesDesktop =
|
|
42348
|
+
var FeaturesDesktop = React8.memo(
|
|
42273
42349
|
({
|
|
42274
42350
|
features,
|
|
42275
42351
|
handleNext,
|
|
@@ -42303,7 +42379,7 @@ var FeaturesDesktop = React32.memo(
|
|
|
42303
42379
|
] });
|
|
42304
42380
|
}
|
|
42305
42381
|
);
|
|
42306
|
-
var FeaturesMobile =
|
|
42382
|
+
var FeaturesMobile = React8.memo(
|
|
42307
42383
|
({
|
|
42308
42384
|
features,
|
|
42309
42385
|
handleNext,
|
|
@@ -42394,8 +42470,8 @@ function FeatureAnimatedCarousel({
|
|
|
42394
42470
|
spacing = "py-12 md:py-32",
|
|
42395
42471
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
|
|
42396
42472
|
}) {
|
|
42397
|
-
const [activeIndex, setActiveIndex] =
|
|
42398
|
-
const [direction, setDirection] =
|
|
42473
|
+
const [activeIndex, setActiveIndex] = React8.useState(0);
|
|
42474
|
+
const [direction, setDirection] = React8.useState(1);
|
|
42399
42475
|
const handleNext = useCallback(() => {
|
|
42400
42476
|
if (features && activeIndex < features.length - 1) {
|
|
42401
42477
|
setDirection(1);
|
|
@@ -42623,7 +42699,7 @@ function FooterNewsletterContact({
|
|
|
42623
42699
|
formSlot,
|
|
42624
42700
|
newsletterFormClassName
|
|
42625
42701
|
}) {
|
|
42626
|
-
const linkSectionsContent =
|
|
42702
|
+
const linkSectionsContent = React8.useMemo(() => {
|
|
42627
42703
|
if (!footerLinks || footerLinks.length === 0) return null;
|
|
42628
42704
|
return footerLinks.map((section, idx) => /* @__PURE__ */ jsxs("div", { children: [
|
|
42629
42705
|
/* @__PURE__ */ jsx("h2", { className: "mb-6 text-sm font-medium uppercase leading-tight opacity-70", children: section.title }),
|
|
@@ -42637,7 +42713,7 @@ function FooterNewsletterContact({
|
|
|
42637
42713
|
) }, itemIdx)) })
|
|
42638
42714
|
] }, idx));
|
|
42639
42715
|
}, [footerLinks]);
|
|
42640
|
-
const contactDetailsContent =
|
|
42716
|
+
const contactDetailsContent = React8.useMemo(() => {
|
|
42641
42717
|
if (!contactDetails || contactDetails.length === 0) return null;
|
|
42642
42718
|
return contactDetails.map((item, idx) => /* @__PURE__ */ jsxs("li", { className: "flex items-start gap-3", children: [
|
|
42643
42719
|
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center shrink-0 mt-1", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 16 }) }),
|
|
@@ -42651,7 +42727,7 @@ function FooterNewsletterContact({
|
|
|
42651
42727
|
) })
|
|
42652
42728
|
] }, idx));
|
|
42653
42729
|
}, [contactDetails]);
|
|
42654
|
-
const socialLinksContent =
|
|
42730
|
+
const socialLinksContent = React8.useMemo(() => {
|
|
42655
42731
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
42656
42732
|
return socialLinks.map((social, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
42657
42733
|
SocialLinkIcon,
|
|
@@ -42665,7 +42741,7 @@ function FooterNewsletterContact({
|
|
|
42665
42741
|
}
|
|
42666
42742
|
) }, idx));
|
|
42667
42743
|
}, [socialLinks]);
|
|
42668
|
-
const renderForm =
|
|
42744
|
+
const renderForm = React8.useMemo(() => {
|
|
42669
42745
|
if (formSlot) return formSlot;
|
|
42670
42746
|
if (!formEngineSetup) return null;
|
|
42671
42747
|
const defaultButtonAction = {
|
|
@@ -42810,7 +42886,7 @@ function FooterSplitImageAccordion({
|
|
|
42810
42886
|
buttonAction,
|
|
42811
42887
|
formSlot
|
|
42812
42888
|
}) {
|
|
42813
|
-
const renderForm =
|
|
42889
|
+
const renderForm = React8.useMemo(() => {
|
|
42814
42890
|
if (formSlot) return formSlot;
|
|
42815
42891
|
if (!formEngineSetup) return null;
|
|
42816
42892
|
const defaultButtonAction = {
|
|
@@ -43071,7 +43147,7 @@ function FooterAccordionSocial({
|
|
|
43071
43147
|
patternClassName,
|
|
43072
43148
|
formEngineSetup
|
|
43073
43149
|
}) {
|
|
43074
|
-
const renderForm =
|
|
43150
|
+
const renderForm = React8.useMemo(() => {
|
|
43075
43151
|
if (!formEngineSetup) return null;
|
|
43076
43152
|
const action = {
|
|
43077
43153
|
label: "",
|
|
@@ -43215,7 +43291,7 @@ function FooterInfoCardsAccordion({
|
|
|
43215
43291
|
patternOpacity,
|
|
43216
43292
|
optixFlowConfig
|
|
43217
43293
|
}) {
|
|
43218
|
-
const [email, setEmail] =
|
|
43294
|
+
const [email, setEmail] = React8.useState("");
|
|
43219
43295
|
(/* @__PURE__ */ new Date()).getFullYear();
|
|
43220
43296
|
const handleSubmit = (e) => {
|
|
43221
43297
|
e.preventDefault();
|
|
@@ -43520,13 +43596,13 @@ function CaseStudiesImageGrid({
|
|
|
43520
43596
|
patternOpacity,
|
|
43521
43597
|
optixFlowConfig
|
|
43522
43598
|
}) {
|
|
43523
|
-
const getGridClass =
|
|
43599
|
+
const getGridClass = React8.useCallback((index) => {
|
|
43524
43600
|
if (index === 0 || index === 4) {
|
|
43525
43601
|
return "row-span-2 aspect-square lg:aspect-auto";
|
|
43526
43602
|
}
|
|
43527
43603
|
return "aspect-3/2 md:aspect-2/1";
|
|
43528
43604
|
}, []);
|
|
43529
|
-
const renderedItems =
|
|
43605
|
+
const renderedItems = React8.useMemo(() => {
|
|
43530
43606
|
if (itemsSlot) return itemsSlot;
|
|
43531
43607
|
if (!items || items.length === 0) return null;
|
|
43532
43608
|
return items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
@@ -43612,7 +43688,7 @@ function CaseStudiesTestimonialStats({
|
|
|
43612
43688
|
patternOpacity,
|
|
43613
43689
|
optixFlowConfig
|
|
43614
43690
|
}) {
|
|
43615
|
-
const renderedTestimonials =
|
|
43691
|
+
const renderedTestimonials = React8.useMemo(() => {
|
|
43616
43692
|
if (testimonialsSlot) return testimonialsSlot;
|
|
43617
43693
|
if (!testimonials || testimonials.length === 0) return null;
|
|
43618
43694
|
return testimonials.map((testimonial, index) => /* @__PURE__ */ jsxs("div", { className: testimonialItemClassName, children: [
|
|
@@ -47085,7 +47161,7 @@ function CaseStudiesFeaturedBorder({
|
|
|
47085
47161
|
patternOpacity,
|
|
47086
47162
|
optixFlowConfig
|
|
47087
47163
|
}) {
|
|
47088
|
-
const renderedFeatured =
|
|
47164
|
+
const renderedFeatured = React8.useMemo(() => {
|
|
47089
47165
|
if (featuredSlot) return featuredSlot;
|
|
47090
47166
|
if (!featuredCaseStudy) return null;
|
|
47091
47167
|
return /* @__PURE__ */ jsxs(
|
|
@@ -47159,7 +47235,7 @@ function CaseStudiesFeaturedBorder({
|
|
|
47159
47235
|
featuredImageClassName,
|
|
47160
47236
|
optixFlowConfig
|
|
47161
47237
|
]);
|
|
47162
|
-
const renderedCaseStudies =
|
|
47238
|
+
const renderedCaseStudies = React8.useMemo(() => {
|
|
47163
47239
|
if (caseStudiesSlot) return caseStudiesSlot;
|
|
47164
47240
|
if (!caseStudies || caseStudies.length === 0) return null;
|
|
47165
47241
|
return caseStudies.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -47268,7 +47344,7 @@ function CaseStudiesStatsCard({
|
|
|
47268
47344
|
patternOpacity,
|
|
47269
47345
|
optixFlowConfig
|
|
47270
47346
|
}) {
|
|
47271
|
-
const renderedStats =
|
|
47347
|
+
const renderedStats = React8.useMemo(() => {
|
|
47272
47348
|
if (statsSlot) return statsSlot;
|
|
47273
47349
|
if (!stats || stats.length === 0) return null;
|
|
47274
47350
|
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: [
|
|
@@ -47276,7 +47352,7 @@ function CaseStudiesStatsCard({
|
|
|
47276
47352
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-muted-foreground", children: item.text })
|
|
47277
47353
|
] }, `stats-${i}`)) });
|
|
47278
47354
|
}, [statsSlot, stats, statsClassName]);
|
|
47279
|
-
const renderedAuthor =
|
|
47355
|
+
const renderedAuthor = React8.useMemo(() => {
|
|
47280
47356
|
if (authorSlot) return authorSlot;
|
|
47281
47357
|
if (!author) return null;
|
|
47282
47358
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2.5", authorClassName), children: [
|
|
@@ -47290,7 +47366,7 @@ function CaseStudiesStatsCard({
|
|
|
47290
47366
|
] })
|
|
47291
47367
|
] });
|
|
47292
47368
|
}, [authorSlot, author, authorClassName]);
|
|
47293
|
-
const renderedActions =
|
|
47369
|
+
const renderedActions = React8.useMemo(() => {
|
|
47294
47370
|
if (actionsSlot) return actionsSlot;
|
|
47295
47371
|
if (!actions || actions.length === 0) return null;
|
|
47296
47372
|
return /* @__PURE__ */ jsx("div", { className: cn("shrink-0", actionsClassName), children: actions.map((action, index) => {
|
|
@@ -54702,7 +54778,7 @@ function HeroSplitImageNewsletter({
|
|
|
54702
54778
|
onError,
|
|
54703
54779
|
uploadTokens
|
|
54704
54780
|
});
|
|
54705
|
-
const renderForm =
|
|
54781
|
+
const renderForm = React8.useMemo(() => {
|
|
54706
54782
|
if (formSlot) return formSlot;
|
|
54707
54783
|
if (!formFields || formFields.length === 0) return null;
|
|
54708
54784
|
const defaultButtonAction = {
|
|
@@ -54781,7 +54857,7 @@ function HeroSplitImageNewsletter({
|
|
|
54781
54857
|
resetUpload,
|
|
54782
54858
|
resetSubmissionState
|
|
54783
54859
|
]);
|
|
54784
|
-
const renderImage =
|
|
54860
|
+
const renderImage = React8.useMemo(() => {
|
|
54785
54861
|
if (imageSlot) return imageSlot;
|
|
54786
54862
|
if (!image) return null;
|
|
54787
54863
|
return /* @__PURE__ */ jsx("div", { className: "relative lg:w-1/2", children: /* @__PURE__ */ jsx(
|
|
@@ -56214,7 +56290,7 @@ function HeroSaasDashboardPreview({
|
|
|
56214
56290
|
onError,
|
|
56215
56291
|
uploadTokens
|
|
56216
56292
|
});
|
|
56217
|
-
const renderBadge =
|
|
56293
|
+
const renderBadge = React8.useMemo(() => {
|
|
56218
56294
|
if (badgeSlot) return badgeSlot;
|
|
56219
56295
|
return /* @__PURE__ */ jsxs(
|
|
56220
56296
|
"div",
|
|
@@ -56229,7 +56305,7 @@ function HeroSaasDashboardPreview({
|
|
|
56229
56305
|
}
|
|
56230
56306
|
);
|
|
56231
56307
|
}, [badgeSlot, badgeIcon, badgeText]);
|
|
56232
|
-
const renderForm =
|
|
56308
|
+
const renderForm = React8.useMemo(() => {
|
|
56233
56309
|
if (formSlot) return formSlot;
|
|
56234
56310
|
const defaultButtonAction = {
|
|
56235
56311
|
label: "Start Free Trial",
|
|
@@ -56304,7 +56380,7 @@ function HeroSaasDashboardPreview({
|
|
|
56304
56380
|
resetUpload,
|
|
56305
56381
|
resetSubmissionState
|
|
56306
56382
|
]);
|
|
56307
|
-
const renderBrowserPreview =
|
|
56383
|
+
const renderBrowserPreview = React8.useMemo(() => {
|
|
56308
56384
|
if (browserPreviewSlot) return browserPreviewSlot;
|
|
56309
56385
|
if (!browserPreview) return null;
|
|
56310
56386
|
return /* @__PURE__ */ jsxs("div", { className: cn("relative mt-12 md:mt-20", previewClassName), children: [
|
|
@@ -58555,7 +58631,7 @@ function HeroEcommerceProductShowcase({
|
|
|
58555
58631
|
"flex flex-col md:flex-row items-center gap-4 md:gap-6 pt-8 md:pt-12",
|
|
58556
58632
|
statsClassName
|
|
58557
58633
|
),
|
|
58558
|
-
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(
|
|
58634
|
+
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
58559
58635
|
index > 0 && /* @__PURE__ */ jsx("div", { className: "h-12 w-px bg-border hidden md:flex" }),
|
|
58560
58636
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 justify-between flex-row md:flex-col text-left md:text-center w-full md:w-fit border md:border-none rounded-xl md:rounded-none p-4 md:p-0", children: [
|
|
58561
58637
|
/* @__PURE__ */ jsxs(
|
|
@@ -58999,7 +59075,7 @@ function HeroNewsletterMinimal({
|
|
|
58999
59075
|
disclaimerClassName,
|
|
59000
59076
|
statsClassName
|
|
59001
59077
|
}) {
|
|
59002
|
-
const renderStats =
|
|
59078
|
+
const renderStats = React8.useMemo(() => {
|
|
59003
59079
|
if (statsSlot) return statsSlot;
|
|
59004
59080
|
if (!stats || stats.length === 0) return null;
|
|
59005
59081
|
return stats.map((stat, index) => /* @__PURE__ */ jsx("div", { className: cn("flex items-center", stat.className), children: /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
@@ -59025,7 +59101,7 @@ function HeroNewsletterMinimal({
|
|
|
59025
59101
|
/* @__PURE__ */ jsx("div", { className: cn("text-sm"), children: stat.label })
|
|
59026
59102
|
] }) }, index));
|
|
59027
59103
|
}, [statsSlot, stats]);
|
|
59028
|
-
const renderForm =
|
|
59104
|
+
const renderForm = React8.useMemo(() => {
|
|
59029
59105
|
if (formSlot) return formSlot;
|
|
59030
59106
|
if (!formEngineSetup) return null;
|
|
59031
59107
|
const defaultButtonAction = {
|
|
@@ -59192,7 +59268,7 @@ function HeroComingSoonCountdown({
|
|
|
59192
59268
|
formClassName,
|
|
59193
59269
|
socialLinksClassName
|
|
59194
59270
|
}) {
|
|
59195
|
-
const [timeLeft, setTimeLeft] =
|
|
59271
|
+
const [timeLeft, setTimeLeft] = React8.useState(null);
|
|
59196
59272
|
const {
|
|
59197
59273
|
uploadTokens,
|
|
59198
59274
|
uploadProgress,
|
|
@@ -59212,7 +59288,7 @@ function HeroComingSoonCountdown({
|
|
|
59212
59288
|
onError,
|
|
59213
59289
|
uploadTokens
|
|
59214
59290
|
});
|
|
59215
|
-
const calculateTimeLeft =
|
|
59291
|
+
const calculateTimeLeft = React8.useCallback(() => {
|
|
59216
59292
|
if (!countdownDate) return null;
|
|
59217
59293
|
const now = Date.now();
|
|
59218
59294
|
const target = countdownDate.getTime();
|
|
@@ -59225,7 +59301,7 @@ function HeroComingSoonCountdown({
|
|
|
59225
59301
|
seconds: Math.floor(diff % (1e3 * 60) / 1e3)
|
|
59226
59302
|
};
|
|
59227
59303
|
}, [countdownDate]);
|
|
59228
|
-
|
|
59304
|
+
React8.useEffect(() => {
|
|
59229
59305
|
setTimeLeft(calculateTimeLeft());
|
|
59230
59306
|
if (!countdownDate) return;
|
|
59231
59307
|
const timer = setInterval(() => {
|
|
@@ -59236,7 +59312,7 @@ function HeroComingSoonCountdown({
|
|
|
59236
59312
|
return () => clearInterval(timer);
|
|
59237
59313
|
}, [countdownDate, calculateTimeLeft]);
|
|
59238
59314
|
const showCountdown = countdownSlot || timeLeft;
|
|
59239
|
-
const renderForm =
|
|
59315
|
+
const renderForm = React8.useMemo(() => {
|
|
59240
59316
|
if (formSlot) return formSlot;
|
|
59241
59317
|
const defaultButtonAction = {
|
|
59242
59318
|
label: "Notify Me",
|
|
@@ -59312,7 +59388,7 @@ function HeroComingSoonCountdown({
|
|
|
59312
59388
|
resetUpload,
|
|
59313
59389
|
resetSubmissionState
|
|
59314
59390
|
]);
|
|
59315
|
-
const renderSocialLinks =
|
|
59391
|
+
const renderSocialLinks = React8.useMemo(() => {
|
|
59316
59392
|
if (socialLinksSlot) return socialLinksSlot;
|
|
59317
59393
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
59318
59394
|
return socialLinks.map((link, index) => /* @__PURE__ */ jsx(
|
|
@@ -59446,7 +59522,7 @@ function HeroEventRegistration({
|
|
|
59446
59522
|
"flex flex-col md:flex-row items-center gap-4 md:gap-6 pt-8 md:pt-12 w-full md:w-fit",
|
|
59447
59523
|
statsClassName
|
|
59448
59524
|
),
|
|
59449
|
-
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(
|
|
59525
|
+
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
59450
59526
|
index > 0 && /* @__PURE__ */ jsx("div", { className: "h-12 w-px bg-border hidden md:flex" }),
|
|
59451
59527
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 justify-between flex-row md:flex-col text-left md:text-center w-full md:w-fit border md:border-none rounded-xl md:rounded-none p-4 md:p-0", children: [
|
|
59452
59528
|
/* @__PURE__ */ jsxs(
|
|
@@ -59849,7 +59925,7 @@ function ComparisonTableTwoColumn({
|
|
|
59849
59925
|
patternOpacity,
|
|
59850
59926
|
optixFlowConfig
|
|
59851
59927
|
}) {
|
|
59852
|
-
const tableContent =
|
|
59928
|
+
const tableContent = React8.useMemo(() => {
|
|
59853
59929
|
if (tableSlot) return tableSlot;
|
|
59854
59930
|
if (!rows || rows.length === 0) return null;
|
|
59855
59931
|
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(
|
|
@@ -59879,7 +59955,7 @@ function ComparisonTableTwoColumn({
|
|
|
59879
59955
|
optixFlowConfig
|
|
59880
59956
|
}
|
|
59881
59957
|
) : optionBLabel && (typeof optionBLabel === "string" ? /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: optionBLabel }) : optionBLabel) }),
|
|
59882
|
-
rows.map((row, idx) => /* @__PURE__ */ jsxs(
|
|
59958
|
+
rows.map((row, idx) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
59883
59959
|
/* @__PURE__ */ jsx("div", { className: "flex items-center border-b p-3 text-base font-medium md:p-4 md:text-lg", children: row.label }),
|
|
59884
59960
|
/* @__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: [
|
|
59885
59961
|
row.hasIcon && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check-big", size: 20, className: "text-success" }),
|
|
@@ -59908,14 +59984,14 @@ function ComparisonTableTwoColumn({
|
|
|
59908
59984
|
optionBLabel,
|
|
59909
59985
|
optixFlowConfig
|
|
59910
59986
|
]);
|
|
59911
|
-
const headingContent =
|
|
59987
|
+
const headingContent = React8.useMemo(() => {
|
|
59912
59988
|
if (!heading) return null;
|
|
59913
59989
|
if (typeof heading === "string") {
|
|
59914
59990
|
return /* @__PURE__ */ jsx("h1", { className: cn("mb-8 text-3xl font-bold md:mb-12 md:text-5xl", headingClassName), children: heading });
|
|
59915
59991
|
}
|
|
59916
59992
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
59917
59993
|
}, [heading, headingClassName]);
|
|
59918
|
-
const descriptionContent =
|
|
59994
|
+
const descriptionContent = React8.useMemo(() => {
|
|
59919
59995
|
if (!description) return null;
|
|
59920
59996
|
if (typeof description === "string") {
|
|
59921
59997
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -59962,7 +60038,7 @@ function ComparisonFeatureCards({
|
|
|
59962
60038
|
patternOpacity,
|
|
59963
60039
|
optixFlowConfig
|
|
59964
60040
|
}) {
|
|
59965
|
-
const renderCard =
|
|
60041
|
+
const renderCard = React8.useCallback(
|
|
59966
60042
|
(product, isHighlighted) => /* @__PURE__ */ jsxs(
|
|
59967
60043
|
"div",
|
|
59968
60044
|
{
|
|
@@ -60018,7 +60094,7 @@ function ComparisonFeatureCards({
|
|
|
60018
60094
|
),
|
|
60019
60095
|
[cardClassName, optixFlowConfig]
|
|
60020
60096
|
);
|
|
60021
|
-
const cardsContent =
|
|
60097
|
+
const cardsContent = React8.useMemo(() => {
|
|
60022
60098
|
if (cardsSlot) return cardsSlot;
|
|
60023
60099
|
if (!productA || !productB) return null;
|
|
60024
60100
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -60026,28 +60102,28 @@ function ComparisonFeatureCards({
|
|
|
60026
60102
|
renderCard(productB, productB.highlighted ?? false)
|
|
60027
60103
|
] });
|
|
60028
60104
|
}, [cardsSlot, productA, productB, renderCard]);
|
|
60029
|
-
const headingContent =
|
|
60105
|
+
const headingContent = React8.useMemo(() => {
|
|
60030
60106
|
if (!heading) return null;
|
|
60031
60107
|
if (typeof heading === "string") {
|
|
60032
60108
|
return /* @__PURE__ */ jsx("h1", { className: cn("mb-6 text-4xl font-semibold md:text-7xl", headingClassName), children: heading });
|
|
60033
60109
|
}
|
|
60034
60110
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60035
60111
|
}, [heading, headingClassName]);
|
|
60036
|
-
const descriptionContent =
|
|
60112
|
+
const descriptionContent = React8.useMemo(() => {
|
|
60037
60113
|
if (!description) return null;
|
|
60038
60114
|
if (typeof description === "string") {
|
|
60039
60115
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto max-w-4xl text-muted-foreground md:text-xl", descriptionClassName), children: description });
|
|
60040
60116
|
}
|
|
60041
60117
|
return /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description });
|
|
60042
60118
|
}, [description, descriptionClassName]);
|
|
60043
|
-
const suitabilityContent =
|
|
60119
|
+
const suitabilityContent = React8.useMemo(() => {
|
|
60044
60120
|
if (!suitabilityTitle && !suitabilityDescription) return null;
|
|
60045
60121
|
return /* @__PURE__ */ jsxs("div", { className: suitabilityClassName, children: [
|
|
60046
60122
|
suitabilityTitle && (typeof suitabilityTitle === "string" ? /* @__PURE__ */ jsx("h2", { className: "mb-4 text-3xl font-semibold", children: suitabilityTitle }) : suitabilityTitle),
|
|
60047
60123
|
suitabilityDescription && (typeof suitabilityDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "leading-6 text-muted-foreground md:text-lg", children: suitabilityDescription }) : suitabilityDescription)
|
|
60048
60124
|
] });
|
|
60049
60125
|
}, [suitabilityTitle, suitabilityDescription, suitabilityClassName]);
|
|
60050
|
-
const differencesContent =
|
|
60126
|
+
const differencesContent = React8.useMemo(() => {
|
|
60051
60127
|
if (!differencesTitle && !differencesDescription) return null;
|
|
60052
60128
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-16", differencesClassName), children: [
|
|
60053
60129
|
differencesTitle && (typeof differencesTitle === "string" ? /* @__PURE__ */ jsx("h2", { className: "mb-4 text-3xl font-semibold", children: differencesTitle }) : differencesTitle),
|
|
@@ -60095,7 +60171,7 @@ function ComparisonGridBadges({
|
|
|
60095
60171
|
pattern,
|
|
60096
60172
|
patternOpacity
|
|
60097
60173
|
}) {
|
|
60098
|
-
const featuresContent =
|
|
60174
|
+
const featuresContent = React8.useMemo(() => {
|
|
60099
60175
|
if (featuresSlot) return featuresSlot;
|
|
60100
60176
|
if (!features || features.length === 0) return null;
|
|
60101
60177
|
return features.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -60142,14 +60218,14 @@ function ComparisonGridBadges({
|
|
|
60142
60218
|
idx
|
|
60143
60219
|
));
|
|
60144
60220
|
}, [featuresSlot, features, featureCardClassName, badgeClassName, optionALabel, optionBLabel]);
|
|
60145
|
-
const headingContent =
|
|
60221
|
+
const headingContent = React8.useMemo(() => {
|
|
60146
60222
|
if (!heading) return null;
|
|
60147
60223
|
if (typeof heading === "string") {
|
|
60148
60224
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-3xl font-bold md:text-5xl", headingClassName), children: heading });
|
|
60149
60225
|
}
|
|
60150
60226
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60151
60227
|
}, [heading, headingClassName]);
|
|
60152
|
-
const descriptionContent =
|
|
60228
|
+
const descriptionContent = React8.useMemo(() => {
|
|
60153
60229
|
if (!description) return null;
|
|
60154
60230
|
if (typeof description === "string") {
|
|
60155
60231
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto max-w-2xl text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -60197,7 +60273,7 @@ function ComparisonMetricsRows({
|
|
|
60197
60273
|
pattern,
|
|
60198
60274
|
patternOpacity
|
|
60199
60275
|
}) {
|
|
60200
|
-
const metricsContent =
|
|
60276
|
+
const metricsContent = React8.useMemo(() => {
|
|
60201
60277
|
if (metricsSlot) return metricsSlot;
|
|
60202
60278
|
if (!metrics || metrics.length === 0) return null;
|
|
60203
60279
|
return /* @__PURE__ */ jsx(
|
|
@@ -60237,7 +60313,7 @@ function ComparisonMetricsRows({
|
|
|
60237
60313
|
}
|
|
60238
60314
|
);
|
|
60239
60315
|
}, [metricsSlot, metrics, metricsClassName, metricRowClassName]);
|
|
60240
|
-
const actionsContent =
|
|
60316
|
+
const actionsContent = React8.useMemo(() => {
|
|
60241
60317
|
if (actionsSlot) return actionsSlot;
|
|
60242
60318
|
if (!actions || actions.length === 0) return null;
|
|
60243
60319
|
return /* @__PURE__ */ jsx("div", { className: cn("flex justify-end", actionsClassName), children: actions.map((action, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -60258,7 +60334,7 @@ function ComparisonMetricsRows({
|
|
|
60258
60334
|
idx
|
|
60259
60335
|
)) });
|
|
60260
60336
|
}, [actionsSlot, actions, actionsClassName]);
|
|
60261
|
-
const headingContent =
|
|
60337
|
+
const headingContent = React8.useMemo(() => {
|
|
60262
60338
|
if (!heading) return null;
|
|
60263
60339
|
if (typeof heading === "string") {
|
|
60264
60340
|
return /* @__PURE__ */ jsx(
|
|
@@ -60274,7 +60350,7 @@ function ComparisonMetricsRows({
|
|
|
60274
60350
|
}
|
|
60275
60351
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60276
60352
|
}, [heading, headingClassName]);
|
|
60277
|
-
const descriptionContent =
|
|
60353
|
+
const descriptionContent = React8.useMemo(() => {
|
|
60278
60354
|
if (!description) return null;
|
|
60279
60355
|
if (typeof description === "string") {
|
|
60280
60356
|
return /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -60337,7 +60413,7 @@ function ComparisonImageCards({
|
|
|
60337
60413
|
patternOpacity,
|
|
60338
60414
|
optixFlowConfig
|
|
60339
60415
|
}) {
|
|
60340
|
-
const renderCard =
|
|
60416
|
+
const renderCard = React8.useCallback(
|
|
60341
60417
|
(option) => /* @__PURE__ */ jsx("div", { className: cn("relative h-full", cardClassName), children: /* @__PURE__ */ jsxs("div", { className: cn(
|
|
60342
60418
|
"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]",
|
|
60343
60419
|
getNestedCardBg(background, "accent"),
|
|
@@ -60361,7 +60437,7 @@ function ComparisonImageCards({
|
|
|
60361
60437
|
] }) }),
|
|
60362
60438
|
[cardClassName, optixFlowConfig]
|
|
60363
60439
|
);
|
|
60364
|
-
const cardsContent =
|
|
60440
|
+
const cardsContent = React8.useMemo(() => {
|
|
60365
60441
|
if (cardsSlot) return cardsSlot;
|
|
60366
60442
|
if (!optionA || !optionB) return null;
|
|
60367
60443
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -60379,14 +60455,14 @@ function ComparisonImageCards({
|
|
|
60379
60455
|
)
|
|
60380
60456
|
] });
|
|
60381
60457
|
}, [cardsSlot, optionA, optionB, dividerText, dividerClassName, renderCard]);
|
|
60382
|
-
const headingContent =
|
|
60458
|
+
const headingContent = React8.useMemo(() => {
|
|
60383
60459
|
if (!heading) return null;
|
|
60384
60460
|
if (typeof heading === "string") {
|
|
60385
60461
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-medium sm:text-4xl md:text-5xl lg:text-6xl", headingClassName), children: heading });
|
|
60386
60462
|
}
|
|
60387
60463
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60388
60464
|
}, [heading, headingClassName]);
|
|
60389
|
-
const descriptionContent =
|
|
60465
|
+
const descriptionContent = React8.useMemo(() => {
|
|
60390
60466
|
if (!description) return null;
|
|
60391
60467
|
if (typeof description === "string") {
|
|
60392
60468
|
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 });
|
|
@@ -60516,7 +60592,7 @@ function ComparisonTableTabs({
|
|
|
60516
60592
|
patternOpacity
|
|
60517
60593
|
}) {
|
|
60518
60594
|
const [selectedTab, setSelectedTab] = useState(models?.[0]?.name || "");
|
|
60519
|
-
const renderStatusIcon =
|
|
60595
|
+
const renderStatusIcon = React8.useCallback((status) => {
|
|
60520
60596
|
if (status === "positive") {
|
|
60521
60597
|
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" }) });
|
|
60522
60598
|
}
|
|
@@ -60525,7 +60601,7 @@ function ComparisonTableTabs({
|
|
|
60525
60601
|
}
|
|
60526
60602
|
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" }) });
|
|
60527
60603
|
}, []);
|
|
60528
|
-
const tableContent =
|
|
60604
|
+
const tableContent = React8.useMemo(() => {
|
|
60529
60605
|
if (tableSlot) return tableSlot;
|
|
60530
60606
|
if (!models || models.length === 0 || !features || features.length === 0) return null;
|
|
60531
60607
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -60584,14 +60660,14 @@ function ComparisonTableTabs({
|
|
|
60584
60660
|
] }) })
|
|
60585
60661
|
] });
|
|
60586
60662
|
}, [tableSlot, models, features, tabsClassName, tableClassName, tableHeaderClassName, tableCellClassName, selectedTab, renderStatusIcon]);
|
|
60587
|
-
const headingContent =
|
|
60663
|
+
const headingContent = React8.useMemo(() => {
|
|
60588
60664
|
if (!heading) return null;
|
|
60589
60665
|
if (typeof heading === "string") {
|
|
60590
60666
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold md:text-4xl lg:text-5xl", headingClassName), children: heading });
|
|
60591
60667
|
}
|
|
60592
60668
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60593
60669
|
}, [heading, headingClassName]);
|
|
60594
|
-
const descriptionContent =
|
|
60670
|
+
const descriptionContent = React8.useMemo(() => {
|
|
60595
60671
|
if (!description) return null;
|
|
60596
60672
|
if (typeof description === "string") {
|
|
60597
60673
|
return /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -60682,7 +60758,7 @@ function ComparisonTableTooltips({
|
|
|
60682
60758
|
pattern,
|
|
60683
60759
|
patternOpacity
|
|
60684
60760
|
}) {
|
|
60685
|
-
const renderCellContent =
|
|
60761
|
+
const renderCellContent = React8.useCallback(
|
|
60686
60762
|
(cell, isHighlighted) => {
|
|
60687
60763
|
if (typeof cell === "string") {
|
|
60688
60764
|
return cell;
|
|
@@ -60709,7 +60785,7 @@ function ComparisonTableTooltips({
|
|
|
60709
60785
|
},
|
|
60710
60786
|
[]
|
|
60711
60787
|
);
|
|
60712
|
-
const tableContent =
|
|
60788
|
+
const tableContent = React8.useMemo(() => {
|
|
60713
60789
|
if (tableSlot) return tableSlot;
|
|
60714
60790
|
if (!rows || rows.length === 0) return null;
|
|
60715
60791
|
return /* @__PURE__ */ jsxs(Table, { className: cn("rounded border text-left shadow-lg", tableClassName), children: [
|
|
@@ -60735,14 +60811,14 @@ function ComparisonTableTooltips({
|
|
|
60735
60811
|
] }, idx)) })
|
|
60736
60812
|
] });
|
|
60737
60813
|
}, [tableSlot, rows, tableClassName, tableHeaderClassName, tableCellClassName, optionALabel, optionBLabel, renderCellContent]);
|
|
60738
|
-
const headingContent =
|
|
60814
|
+
const headingContent = React8.useMemo(() => {
|
|
60739
60815
|
if (!heading) return null;
|
|
60740
60816
|
if (typeof heading === "string") {
|
|
60741
60817
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-center text-4xl font-semibold", headingClassName), children: heading });
|
|
60742
60818
|
}
|
|
60743
60819
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60744
60820
|
}, [heading, headingClassName]);
|
|
60745
|
-
const descriptionContent =
|
|
60821
|
+
const descriptionContent = React8.useMemo(() => {
|
|
60746
60822
|
if (!description) return null;
|
|
60747
60823
|
if (typeof description === "string") {
|
|
60748
60824
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-center text-muted-foreground", descriptionClassName), children: description });
|
|
@@ -60784,7 +60860,7 @@ function ComparisonFeatureGrid({
|
|
|
60784
60860
|
pattern,
|
|
60785
60861
|
patternOpacity
|
|
60786
60862
|
}) {
|
|
60787
|
-
const renderStatusIcon =
|
|
60863
|
+
const renderStatusIcon = React8.useCallback((status) => {
|
|
60788
60864
|
if (status === true) {
|
|
60789
60865
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/check", size: 20, className: "text-success" });
|
|
60790
60866
|
}
|
|
@@ -60793,7 +60869,7 @@ function ComparisonFeatureGrid({
|
|
|
60793
60869
|
}
|
|
60794
60870
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 20, className: "text-destructive" });
|
|
60795
60871
|
}, []);
|
|
60796
|
-
const gridContent =
|
|
60872
|
+
const gridContent = React8.useMemo(() => {
|
|
60797
60873
|
if (gridSlot) return gridSlot;
|
|
60798
60874
|
if (!features || features.length === 0) return null;
|
|
60799
60875
|
return /* @__PURE__ */ jsxs(
|
|
@@ -60859,14 +60935,14 @@ function ComparisonFeatureGrid({
|
|
|
60859
60935
|
optionBLabel,
|
|
60860
60936
|
renderStatusIcon
|
|
60861
60937
|
]);
|
|
60862
|
-
const headingContent =
|
|
60938
|
+
const headingContent = React8.useMemo(() => {
|
|
60863
60939
|
if (!heading) return null;
|
|
60864
60940
|
if (typeof heading === "string") {
|
|
60865
60941
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-center text-4xl font-semibold", headingClassName), children: heading });
|
|
60866
60942
|
}
|
|
60867
60943
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60868
60944
|
}, [heading, headingClassName]);
|
|
60869
|
-
const descriptionContent =
|
|
60945
|
+
const descriptionContent = React8.useMemo(() => {
|
|
60870
60946
|
if (!description) return null;
|
|
60871
60947
|
if (typeof description === "string") {
|
|
60872
60948
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-center text-muted-foreground", descriptionClassName), children: description });
|
|
@@ -60910,7 +60986,7 @@ function ComparisonAiModels({
|
|
|
60910
60986
|
optixFlowConfig
|
|
60911
60987
|
}) {
|
|
60912
60988
|
const [hoveredModel, setHoveredModel] = useState(null);
|
|
60913
|
-
const renderStatusIcon =
|
|
60989
|
+
const renderStatusIcon = React8.useCallback((status) => {
|
|
60914
60990
|
if (status === "best") {
|
|
60915
60991
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check", size: 16, className: "text-success" });
|
|
60916
60992
|
}
|
|
@@ -60919,7 +60995,7 @@ function ComparisonAiModels({
|
|
|
60919
60995
|
}
|
|
60920
60996
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/minus", size: 16, className: "text-muted-foreground" });
|
|
60921
60997
|
}, []);
|
|
60922
|
-
const getCellClassName =
|
|
60998
|
+
const getCellClassName = React8.useCallback(
|
|
60923
60999
|
(status, modelKey) => {
|
|
60924
61000
|
const baseClass = "cursor-pointer py-4 text-center font-medium transition-all duration-300";
|
|
60925
61001
|
let statusClass = "";
|
|
@@ -60940,7 +61016,7 @@ function ComparisonAiModels({
|
|
|
60940
61016
|
},
|
|
60941
61017
|
[hoveredModel]
|
|
60942
61018
|
);
|
|
60943
|
-
const getSummaryCardClassName =
|
|
61019
|
+
const getSummaryCardClassName = React8.useCallback(
|
|
60944
61020
|
(modelKey) => {
|
|
60945
61021
|
const baseClass = "rounded border border-border/30 bg-background/50 p-3 transition-all duration-300";
|
|
60946
61022
|
if (hoveredModel === modelKey) {
|
|
@@ -60955,7 +61031,7 @@ function ComparisonAiModels({
|
|
|
60955
61031
|
},
|
|
60956
61032
|
[hoveredModel]
|
|
60957
61033
|
);
|
|
60958
|
-
const tableContent =
|
|
61034
|
+
const tableContent = React8.useMemo(() => {
|
|
60959
61035
|
if (tableSlot) return tableSlot;
|
|
60960
61036
|
if (!models || !comparisonData || comparisonData.length === 0) return null;
|
|
60961
61037
|
return /* @__PURE__ */ jsx(
|
|
@@ -61033,7 +61109,7 @@ function ComparisonAiModels({
|
|
|
61033
61109
|
getCellClassName,
|
|
61034
61110
|
renderStatusIcon
|
|
61035
61111
|
]);
|
|
61036
|
-
const analysisContent =
|
|
61112
|
+
const analysisContent = React8.useMemo(() => {
|
|
61037
61113
|
if (analysisSlot) return analysisSlot;
|
|
61038
61114
|
if (!models) return null;
|
|
61039
61115
|
return /* @__PURE__ */ jsx("div", { className: cn(
|
|
@@ -61074,14 +61150,14 @@ function ComparisonAiModels({
|
|
|
61074
61150
|
] })
|
|
61075
61151
|
] }) });
|
|
61076
61152
|
}, [analysisSlot, models, analysisClassName, getSummaryCardClassName]);
|
|
61077
|
-
const headingContent =
|
|
61153
|
+
const headingContent = React8.useMemo(() => {
|
|
61078
61154
|
if (!heading) return null;
|
|
61079
61155
|
if (typeof heading === "string") {
|
|
61080
61156
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold md:text-4xl lg:text-5xl", headingClassName), children: heading });
|
|
61081
61157
|
}
|
|
61082
61158
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
61083
61159
|
}, [heading, headingClassName]);
|
|
61084
|
-
const descriptionContent =
|
|
61160
|
+
const descriptionContent = React8.useMemo(() => {
|
|
61085
61161
|
if (!description) return null;
|
|
61086
61162
|
if (typeof description === "string") {
|
|
61087
61163
|
return /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -61131,7 +61207,7 @@ function ComparisonLegacyModern({
|
|
|
61131
61207
|
pattern,
|
|
61132
61208
|
patternOpacity
|
|
61133
61209
|
}) {
|
|
61134
|
-
const columnsContent =
|
|
61210
|
+
const columnsContent = React8.useMemo(() => {
|
|
61135
61211
|
if (columnsSlot) return columnsSlot;
|
|
61136
61212
|
if (!legacyFeatures || legacyFeatures.length === 0 || !modernFeatures || modernFeatures.length === 0)
|
|
61137
61213
|
return null;
|
|
@@ -61143,7 +61219,7 @@ function ComparisonLegacyModern({
|
|
|
61143
61219
|
legacyColumnClassName
|
|
61144
61220
|
), children: [
|
|
61145
61221
|
legacyTitle && (typeof legacyTitle === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-medium", children: legacyTitle }) : legacyTitle),
|
|
61146
|
-
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: legacyFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
61222
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: legacyFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
61147
61223
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
61148
61224
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16, className: "my-1.5 shrink-0 text-muted-foreground" }),
|
|
61149
61225
|
/* @__PURE__ */ jsx("li", { className: "text-sm", children: feature.text })
|
|
@@ -61160,7 +61236,7 @@ function ComparisonLegacyModern({
|
|
|
61160
61236
|
),
|
|
61161
61237
|
children: [
|
|
61162
61238
|
modernTitle && (typeof modernTitle === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-medium", children: modernTitle }) : modernTitle),
|
|
61163
|
-
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: modernFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
61239
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: modernFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
61164
61240
|
/* @__PURE__ */ jsxs("li", { className: "flex items-center gap-2 text-sm", children: [
|
|
61165
61241
|
/* @__PURE__ */ jsx("span", { className: "text-lg", children: feature.emoji }),
|
|
61166
61242
|
feature.text
|
|
@@ -61172,7 +61248,7 @@ function ComparisonLegacyModern({
|
|
|
61172
61248
|
)
|
|
61173
61249
|
] });
|
|
61174
61250
|
}, [columnsSlot, legacyFeatures, modernFeatures, legacyTitle, modernTitle, legacyColumnClassName, modernColumnClassName]);
|
|
61175
|
-
const headingContent =
|
|
61251
|
+
const headingContent = React8.useMemo(() => {
|
|
61176
61252
|
if (!heading && !headingHighlight) return null;
|
|
61177
61253
|
return /* @__PURE__ */ jsxs("h2", { className: cn("text-4xl font-medium md:text-5xl lg:text-7xl", headingClassName), children: [
|
|
61178
61254
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
@@ -61185,7 +61261,7 @@ function ComparisonLegacyModern({
|
|
|
61185
61261
|
] }) : headingHighlight)
|
|
61186
61262
|
] });
|
|
61187
61263
|
}, [heading, headingHighlight, headingClassName, headingHighlightClassName]);
|
|
61188
|
-
const descriptionContent =
|
|
61264
|
+
const descriptionContent = React8.useMemo(() => {
|
|
61189
61265
|
if (!description) return null;
|
|
61190
61266
|
if (typeof description === "string") {
|
|
61191
61267
|
return /* @__PURE__ */ jsx("p", { className: cn("text-lg", descriptionClassName), children: description });
|
|
@@ -61358,7 +61434,7 @@ var NavbarMobileMenu = ({
|
|
|
61358
61434
|
closeIconClassName,
|
|
61359
61435
|
title = "Mobile Navigation"
|
|
61360
61436
|
}) => {
|
|
61361
|
-
|
|
61437
|
+
React8.useEffect(() => {
|
|
61362
61438
|
if (open) {
|
|
61363
61439
|
const originalOverflow = document.body.style.overflow;
|
|
61364
61440
|
document.body.style.overflow = "hidden";
|
|
@@ -61587,7 +61663,7 @@ var NavbarDropdownMenu = ({
|
|
|
61587
61663
|
patternOpacity,
|
|
61588
61664
|
optixFlowConfig
|
|
61589
61665
|
}) => {
|
|
61590
|
-
const [open, setOpen] =
|
|
61666
|
+
const [open, setOpen] = React8.useState(false);
|
|
61591
61667
|
const renderAuthActions = useMemo(() => {
|
|
61592
61668
|
if (authActionsSlot) return authActionsSlot;
|
|
61593
61669
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -61813,7 +61889,7 @@ var NavbarCenteredMenu = ({
|
|
|
61813
61889
|
patternOpacity,
|
|
61814
61890
|
optixFlowConfig
|
|
61815
61891
|
}) => {
|
|
61816
|
-
const [open, setOpen] =
|
|
61892
|
+
const [open, setOpen] = React8.useState(false);
|
|
61817
61893
|
const renderAuthActions = useMemo(() => {
|
|
61818
61894
|
if (authActionsSlot) return authActionsSlot;
|
|
61819
61895
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -61953,7 +62029,7 @@ var DesktopMenuItem = ({
|
|
|
61953
62029
|
index,
|
|
61954
62030
|
optixFlowConfig
|
|
61955
62031
|
}) => {
|
|
61956
|
-
const imagesRef =
|
|
62032
|
+
const imagesRef = React8.useRef([]);
|
|
61957
62033
|
const layout = link.layout || "simple-grid";
|
|
61958
62034
|
const handleMouseEnter = (event) => {
|
|
61959
62035
|
const index2 = Number(event.currentTarget.getAttribute("data-index"));
|
|
@@ -63188,7 +63264,7 @@ var NavbarFeatureGrid = ({
|
|
|
63188
63264
|
patternOpacity,
|
|
63189
63265
|
optixFlowConfig
|
|
63190
63266
|
}) => {
|
|
63191
|
-
const [open, setOpen] =
|
|
63267
|
+
const [open, setOpen] = React8.useState(false);
|
|
63192
63268
|
const renderAuthActions = useMemo(() => {
|
|
63193
63269
|
if (authActionsSlot) return authActionsSlot;
|
|
63194
63270
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -66398,7 +66474,7 @@ var DesktopMenuItem7 = ({
|
|
|
66398
66474
|
if (item.groups && item.groups.length > 0) {
|
|
66399
66475
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
66400
66476
|
/* @__PURE__ */ jsx(NavigationMenuTrigger, { children: item.label }),
|
|
66401
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "p-0", children: /* @__PURE__ */ jsx("div", { className: "flex", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxs(
|
|
66477
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "p-0", children: /* @__PURE__ */ jsx("div", { className: "flex", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
66402
66478
|
groupIndex > 0 && /* @__PURE__ */ jsx(
|
|
66403
66479
|
Separator,
|
|
66404
66480
|
{
|
|
@@ -67150,7 +67226,7 @@ var NavbarSimpleLinks = ({
|
|
|
67150
67226
|
const renderNavItems = useMemo(() => {
|
|
67151
67227
|
if (navItemsSlot) return navItemsSlot;
|
|
67152
67228
|
if (!navItems || navItems.length === 0) return null;
|
|
67153
|
-
return navItems.map((item) => /* @__PURE__ */ jsx(
|
|
67229
|
+
return navItems.map((item) => /* @__PURE__ */ jsx(React8.Fragment, { children: /* @__PURE__ */ jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsx(
|
|
67154
67230
|
NavigationMenuLink,
|
|
67155
67231
|
{
|
|
67156
67232
|
"data-nav-item": item.name,
|
|
@@ -72179,7 +72255,7 @@ function PricingFullComparison({
|
|
|
72179
72255
|
resolvedPlanIds[index]
|
|
72180
72256
|
))
|
|
72181
72257
|
] }) }),
|
|
72182
|
-
/* @__PURE__ */ jsx("tbody", { children: categories.map((category) => /* @__PURE__ */ jsxs(
|
|
72258
|
+
/* @__PURE__ */ jsx("tbody", { children: categories.map((category) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
72183
72259
|
/* @__PURE__ */ jsx("tr", { className: cn(getNestedCardBg(background), getNestedCardTextColor(background), categoryRowClassName), children: /* @__PURE__ */ jsx(
|
|
72184
72260
|
"td",
|
|
72185
72261
|
{
|
|
@@ -76780,9 +76856,9 @@ function ProcessStickySteps({
|
|
|
76780
76856
|
);
|
|
76781
76857
|
}
|
|
76782
76858
|
var usePrevious = (value) => {
|
|
76783
|
-
const [prev, setPrev] =
|
|
76784
|
-
const ref =
|
|
76785
|
-
|
|
76859
|
+
const [prev, setPrev] = React8.useState(void 0);
|
|
76860
|
+
const ref = React8.useRef(value);
|
|
76861
|
+
React8.useEffect(() => {
|
|
76786
76862
|
setPrev(ref.current);
|
|
76787
76863
|
ref.current = value;
|
|
76788
76864
|
}, [value]);
|
|
@@ -76795,12 +76871,12 @@ var ProcessCard = ({
|
|
|
76795
76871
|
itemClassName,
|
|
76796
76872
|
background
|
|
76797
76873
|
}) => {
|
|
76798
|
-
const ref =
|
|
76874
|
+
const ref = React8.useRef(null);
|
|
76799
76875
|
const itemInView = useInView(ref, {
|
|
76800
76876
|
amount: 0,
|
|
76801
76877
|
margin: "0px 0px -60% 0px"
|
|
76802
76878
|
});
|
|
76803
|
-
|
|
76879
|
+
React8.useEffect(() => {
|
|
76804
76880
|
if (itemInView) {
|
|
76805
76881
|
setActive(index);
|
|
76806
76882
|
}
|
|
@@ -76850,7 +76926,7 @@ function ProcessScrollImage({
|
|
|
76850
76926
|
ctaText,
|
|
76851
76927
|
ctaUrl
|
|
76852
76928
|
}) {
|
|
76853
|
-
const [active, setActive] =
|
|
76929
|
+
const [active, setActive] = React8.useState(0);
|
|
76854
76930
|
const previousActive = usePrevious(active);
|
|
76855
76931
|
const resolvedHeading = title ?? heading;
|
|
76856
76932
|
const resolvedActions = actions ?? (ctaText && ctaUrl ? [
|
|
@@ -77033,7 +77109,7 @@ var ProcessCard2 = ({
|
|
|
77033
77109
|
itemClassName,
|
|
77034
77110
|
hoverImageClassName
|
|
77035
77111
|
}) => {
|
|
77036
|
-
const [isHovered, setIsHovered] =
|
|
77112
|
+
const [isHovered, setIsHovered] = React8.useState(false);
|
|
77037
77113
|
const titleText = typeof step.title === "string" ? step.title : `Step ${index + 1}`;
|
|
77038
77114
|
return /* @__PURE__ */ jsxs(
|
|
77039
77115
|
"li",
|
|
@@ -77391,7 +77467,7 @@ function ProcessExpandableTimeline({
|
|
|
77391
77467
|
spacing = "xl",
|
|
77392
77468
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
|
|
77393
77469
|
}) {
|
|
77394
|
-
const [expandedIndex, setExpandedIndex] =
|
|
77470
|
+
const [expandedIndex, setExpandedIndex] = React8.useState(null);
|
|
77395
77471
|
const toggleExpand = (index) => {
|
|
77396
77472
|
setExpandedIndex(expandedIndex === index ? null : index);
|
|
77397
77473
|
};
|
|
@@ -82181,7 +82257,7 @@ function ListAchievementsShowcase({
|
|
|
82181
82257
|
if (!items || items.length === 0) return null;
|
|
82182
82258
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col", itemsClassName), children: [
|
|
82183
82259
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
82184
|
-
items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
82260
|
+
items.map((item, index) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
82185
82261
|
/* @__PURE__ */ jsxs(
|
|
82186
82262
|
"div",
|
|
82187
82263
|
{
|
|
@@ -82301,7 +82377,7 @@ function ListCareerTimeline({
|
|
|
82301
82377
|
const renderExperiences = useMemo(() => {
|
|
82302
82378
|
if (experiencesSlot) return experiencesSlot;
|
|
82303
82379
|
if (!experiences || experiences.length === 0) return null;
|
|
82304
|
-
return /* @__PURE__ */ jsx("div", { className: experiencesClassName, children: experiences.map((experience, idx) => /* @__PURE__ */ jsxs(
|
|
82380
|
+
return /* @__PURE__ */ jsx("div", { className: experiencesClassName, children: experiences.map((experience, idx) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
82305
82381
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
82306
82382
|
/* @__PURE__ */ jsxs(
|
|
82307
82383
|
"div",
|
|
@@ -82322,7 +82398,7 @@ function ListCareerTimeline({
|
|
|
82322
82398
|
const renderAwards = useMemo(() => {
|
|
82323
82399
|
if (awardsSlot) return awardsSlot;
|
|
82324
82400
|
if (!awards || awards.length === 0) return null;
|
|
82325
|
-
return /* @__PURE__ */ jsx("div", { className: awardsClassName, children: awards.map((award, idx) => /* @__PURE__ */ jsxs(
|
|
82401
|
+
return /* @__PURE__ */ jsx("div", { className: awardsClassName, children: awards.map((award, idx) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
82326
82402
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
82327
82403
|
/* @__PURE__ */ jsxs(
|
|
82328
82404
|
"div",
|
|
@@ -82457,7 +82533,7 @@ function ListMetricsDashboard({
|
|
|
82457
82533
|
activeCategory: controlledActiveCategory,
|
|
82458
82534
|
onActiveCategoryChange
|
|
82459
82535
|
}) {
|
|
82460
|
-
const [internalActiveTab, setInternalActiveTab] =
|
|
82536
|
+
const [internalActiveTab, setInternalActiveTab] = React8.useState("all");
|
|
82461
82537
|
const activeTab = controlledActiveCategory ?? internalActiveTab;
|
|
82462
82538
|
const handleTabChange = (value) => {
|
|
82463
82539
|
if (onActiveCategoryChange) {
|
|
@@ -82941,7 +83017,7 @@ function ListSearchableGrid({
|
|
|
82941
83017
|
searchTerm: controlledSearchTerm,
|
|
82942
83018
|
onSearchTermChange
|
|
82943
83019
|
}) {
|
|
82944
|
-
const [internalSearchTerm, setInternalSearchTerm] =
|
|
83020
|
+
const [internalSearchTerm, setInternalSearchTerm] = React8.useState("");
|
|
82945
83021
|
const searchTerm = controlledSearchTerm ?? internalSearchTerm;
|
|
82946
83022
|
const handleSearchChange = (value) => {
|
|
82947
83023
|
if (onSearchTermChange) {
|
|
@@ -82950,7 +83026,7 @@ function ListSearchableGrid({
|
|
|
82950
83026
|
setInternalSearchTerm(value);
|
|
82951
83027
|
}
|
|
82952
83028
|
};
|
|
82953
|
-
const filteredItems =
|
|
83029
|
+
const filteredItems = React8.useMemo(() => {
|
|
82954
83030
|
if (!searchTerm) {
|
|
82955
83031
|
return items ?? [];
|
|
82956
83032
|
}
|
|
@@ -83150,7 +83226,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83150
83226
|
buttonAction
|
|
83151
83227
|
}) {
|
|
83152
83228
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83153
|
-
const renderCloseButton =
|
|
83229
|
+
const renderCloseButton = React8.useMemo(() => {
|
|
83154
83230
|
if (closeButtonSlot) return closeButtonSlot;
|
|
83155
83231
|
if (!closeButtonText) return null;
|
|
83156
83232
|
return /* @__PURE__ */ jsx("div", { className: "absolute end-1.5 top-1.5", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
@@ -83167,7 +83243,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83167
83243
|
}
|
|
83168
83244
|
) }) });
|
|
83169
83245
|
}, [closeButtonSlot, closeButtonText, closeClassName]);
|
|
83170
|
-
const renderHeader =
|
|
83246
|
+
const renderHeader = React8.useMemo(() => {
|
|
83171
83247
|
if (headerSlot) return headerSlot;
|
|
83172
83248
|
if (!title) return null;
|
|
83173
83249
|
return /* @__PURE__ */ jsx(DialogHeader, { className: headerClassName, children: /* @__PURE__ */ jsx(
|
|
@@ -83181,7 +83257,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83181
83257
|
}
|
|
83182
83258
|
) });
|
|
83183
83259
|
}, [headerSlot, title, headerClassName, titleClassName]);
|
|
83184
|
-
const renderForm =
|
|
83260
|
+
const renderForm = React8.useMemo(() => {
|
|
83185
83261
|
if (formSlot) return formSlot;
|
|
83186
83262
|
if (!formEngineSetup) return null;
|
|
83187
83263
|
const defaultButtonAction = {
|
|
@@ -83279,7 +83355,7 @@ function OfferModalMembershipImage({
|
|
|
83279
83355
|
buttonAction
|
|
83280
83356
|
}) {
|
|
83281
83357
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83282
|
-
const renderImage =
|
|
83358
|
+
const renderImage = React8.useMemo(() => {
|
|
83283
83359
|
if (imageSlot) return imageSlot;
|
|
83284
83360
|
if (!image) return null;
|
|
83285
83361
|
return /* @__PURE__ */ jsx(
|
|
@@ -83310,7 +83386,7 @@ function OfferModalMembershipImage({
|
|
|
83310
83386
|
imageClassName,
|
|
83311
83387
|
optixFlowConfig
|
|
83312
83388
|
]);
|
|
83313
|
-
const renderCloseButton =
|
|
83389
|
+
const renderCloseButton = React8.useMemo(() => {
|
|
83314
83390
|
if (closeButtonSlot) return closeButtonSlot;
|
|
83315
83391
|
return /* @__PURE__ */ jsx("div", { className: "absolute -end-px -top-px z-10", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
83316
83392
|
Pressable,
|
|
@@ -83326,7 +83402,7 @@ function OfferModalMembershipImage({
|
|
|
83326
83402
|
}
|
|
83327
83403
|
) }) });
|
|
83328
83404
|
}, [closeButtonSlot, closeClassName]);
|
|
83329
|
-
const renderForm =
|
|
83405
|
+
const renderForm = React8.useMemo(() => {
|
|
83330
83406
|
if (formSlot) return formSlot;
|
|
83331
83407
|
if (!formEngineSetup) return null;
|
|
83332
83408
|
const defaultButtonAction = {
|
|
@@ -83359,7 +83435,7 @@ function OfferModalMembershipImage({
|
|
|
83359
83435
|
}
|
|
83360
83436
|
);
|
|
83361
83437
|
}, [formSlot, formEngineSetup, buttonAction, formClassName]);
|
|
83362
|
-
const renderFooter =
|
|
83438
|
+
const renderFooter = React8.useMemo(() => {
|
|
83363
83439
|
if (footerSlot) return footerSlot;
|
|
83364
83440
|
if (!description) return null;
|
|
83365
83441
|
return /* @__PURE__ */ jsx(DialogFooter, { className: footerClassName, children: /* @__PURE__ */ jsx(
|
|
@@ -83565,7 +83641,7 @@ function OfferModalSheetNewsletter({
|
|
|
83565
83641
|
buttonAction
|
|
83566
83642
|
}) {
|
|
83567
83643
|
const sheetProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83568
|
-
const renderLogo =
|
|
83644
|
+
const renderLogo = React8.useMemo(() => {
|
|
83569
83645
|
if (logoSlot) return logoSlot;
|
|
83570
83646
|
if (!logo) return null;
|
|
83571
83647
|
const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
@@ -83579,7 +83655,7 @@ function OfferModalSheetNewsletter({
|
|
|
83579
83655
|
}
|
|
83580
83656
|
);
|
|
83581
83657
|
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
83582
|
-
const renderHeader =
|
|
83658
|
+
const renderHeader = React8.useMemo(() => {
|
|
83583
83659
|
if (headerSlot) return headerSlot;
|
|
83584
83660
|
return /* @__PURE__ */ jsxs(SheetHeader, { className: cn("gap-8 p-0", headerClassName), children: [
|
|
83585
83661
|
renderLogo,
|
|
@@ -83612,7 +83688,7 @@ function OfferModalSheetNewsletter({
|
|
|
83612
83688
|
description,
|
|
83613
83689
|
descriptionClassName
|
|
83614
83690
|
]);
|
|
83615
|
-
const renderForm =
|
|
83691
|
+
const renderForm = React8.useMemo(() => {
|
|
83616
83692
|
if (formSlot) return formSlot;
|
|
83617
83693
|
if (!formEngineSetup) return null;
|
|
83618
83694
|
const defaultButtonAction = {
|
|
@@ -83645,7 +83721,7 @@ function OfferModalSheetNewsletter({
|
|
|
83645
83721
|
}
|
|
83646
83722
|
);
|
|
83647
83723
|
}, [formSlot, formEngineSetup, buttonAction, formClassName]);
|
|
83648
|
-
const renderLegal =
|
|
83724
|
+
const renderLegal = React8.useMemo(() => {
|
|
83649
83725
|
if (legalSlot) return legalSlot;
|
|
83650
83726
|
if (!termsUrl || !termsText || !privacyUrl || !privacyText) return null;
|
|
83651
83727
|
return /* @__PURE__ */ jsxs("p", { className: cn("text-muted-foreground text-xs", legalClassName), children: [
|
|
@@ -83659,7 +83735,7 @@ function OfferModalSheetNewsletter({
|
|
|
83659
83735
|
"."
|
|
83660
83736
|
] });
|
|
83661
83737
|
}, [legalSlot, termsUrl, termsText, privacyUrl, privacyText, legalClassName]);
|
|
83662
|
-
const renderImage =
|
|
83738
|
+
const renderImage = React8.useMemo(() => {
|
|
83663
83739
|
if (imageSlot) return imageSlot;
|
|
83664
83740
|
if (!image) return null;
|
|
83665
83741
|
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(
|
|
@@ -84246,10 +84322,10 @@ function ProjectDetailSidebarNavigation(props) {
|
|
|
84246
84322
|
heroImageClassName,
|
|
84247
84323
|
metadataClassName
|
|
84248
84324
|
} = props;
|
|
84249
|
-
const [activeSection, setActiveSection] =
|
|
84325
|
+
const [activeSection, setActiveSection] = React8.useState(
|
|
84250
84326
|
sections?.[0]?.id || ""
|
|
84251
84327
|
);
|
|
84252
|
-
|
|
84328
|
+
React8.useEffect(() => {
|
|
84253
84329
|
const handleScroll = () => {
|
|
84254
84330
|
const sectionElements = sections?.map(
|
|
84255
84331
|
(section) => document.getElementById(section.id)
|
|
@@ -87109,7 +87185,7 @@ function ProjectDetailTabbedCaseStudy(props) {
|
|
|
87109
87185
|
testimonialClassName,
|
|
87110
87186
|
toolsClassName
|
|
87111
87187
|
} = props;
|
|
87112
|
-
const [activeTab, setActiveTab] =
|
|
87188
|
+
const [activeTab, setActiveTab] = React8.useState(tabs?.[0]?.id || "");
|
|
87113
87189
|
const renderedBackAction = useMemo(() => {
|
|
87114
87190
|
if (backActionSlot) return backActionSlot;
|
|
87115
87191
|
if (!backAction) return null;
|
|
@@ -87497,7 +87573,7 @@ function RevealImage({
|
|
|
87497
87573
|
index,
|
|
87498
87574
|
optixFlowConfig
|
|
87499
87575
|
}) {
|
|
87500
|
-
const ref =
|
|
87576
|
+
const ref = React8.useRef(null);
|
|
87501
87577
|
const { scrollYProgress } = useScroll({
|
|
87502
87578
|
target: ref,
|
|
87503
87579
|
offset: ["start end", "end start"]
|
|
@@ -87692,7 +87768,7 @@ function ParallaxSection({
|
|
|
87692
87768
|
index,
|
|
87693
87769
|
optixFlowConfig
|
|
87694
87770
|
}) {
|
|
87695
|
-
const ref =
|
|
87771
|
+
const ref = React8.useRef(null);
|
|
87696
87772
|
const { scrollYProgress } = useScroll({
|
|
87697
87773
|
target: ref,
|
|
87698
87774
|
offset: ["start end", "end start"]
|
|
@@ -87765,7 +87841,7 @@ function ProjectDetailParallaxScroll(props) {
|
|
|
87765
87841
|
heroImageClassName,
|
|
87766
87842
|
sectionsClassName
|
|
87767
87843
|
} = props;
|
|
87768
|
-
const heroRef =
|
|
87844
|
+
const heroRef = React8.useRef(null);
|
|
87769
87845
|
const { scrollYProgress } = useScroll({
|
|
87770
87846
|
target: heroRef,
|
|
87771
87847
|
offset: ["start start", "end start"]
|
|
@@ -88303,7 +88379,7 @@ function IndustriesExpandableShowcase({
|
|
|
88303
88379
|
patternClassName,
|
|
88304
88380
|
optixFlowConfig
|
|
88305
88381
|
}) {
|
|
88306
|
-
const [activeContractor, setActiveContractor] =
|
|
88382
|
+
const [activeContractor, setActiveContractor] = React8.useState(
|
|
88307
88383
|
contractors?.[0]?.id || ""
|
|
88308
88384
|
);
|
|
88309
88385
|
const handleContractorHover = (contractorId) => {
|
|
@@ -88971,7 +89047,7 @@ function ResourceDetailDocumentSidebar({
|
|
|
88971
89047
|
}) {
|
|
88972
89048
|
const renderedBreadcrumbs = useMemo(() => {
|
|
88973
89049
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
88974
|
-
return /* @__PURE__ */ jsx(Breadcrumb, { className: breadcrumbsClassName, children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
89050
|
+
return /* @__PURE__ */ jsx(Breadcrumb, { className: breadcrumbsClassName, children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
88975
89051
|
/* @__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 }) }),
|
|
88976
89052
|
index < (breadcrumbs?.length || 0) - 1 && /* @__PURE__ */ jsx(BreadcrumbSeparator, {})
|
|
88977
89053
|
] }, index)) }) });
|
|
@@ -92379,8 +92455,8 @@ function ServicesListTableHover({
|
|
|
92379
92455
|
patternOpacity,
|
|
92380
92456
|
optixFlowConfig
|
|
92381
92457
|
}) {
|
|
92382
|
-
const [hoveredIndex, setHoveredIndex] =
|
|
92383
|
-
const [mousePosition, setMousePosition] =
|
|
92458
|
+
const [hoveredIndex, setHoveredIndex] = React8.useState(null);
|
|
92459
|
+
const [mousePosition, setMousePosition] = React8.useState({ x: 0, y: 0 });
|
|
92384
92460
|
const handleMouseMove = (e) => {
|
|
92385
92461
|
setMousePosition({ x: e.clientX, y: e.clientY });
|
|
92386
92462
|
};
|
|
@@ -92630,7 +92706,7 @@ function ServicesListStickyImage({
|
|
|
92630
92706
|
patternOpacity,
|
|
92631
92707
|
optixFlowConfig
|
|
92632
92708
|
}) {
|
|
92633
|
-
const [activeIndex, setActiveIndex] =
|
|
92709
|
+
const [activeIndex, setActiveIndex] = React8.useState(0);
|
|
92634
92710
|
const renderServices = () => {
|
|
92635
92711
|
if (servicesSlot) return servicesSlot;
|
|
92636
92712
|
if (!services || services.length === 0) return null;
|
|
@@ -92882,8 +92958,8 @@ function ServicesListVideoShowcase({
|
|
|
92882
92958
|
patternOpacity,
|
|
92883
92959
|
optixFlowConfig
|
|
92884
92960
|
}) {
|
|
92885
|
-
const [playingIndex, setPlayingIndex] =
|
|
92886
|
-
const videoRefs =
|
|
92961
|
+
const [playingIndex, setPlayingIndex] = React8.useState(null);
|
|
92962
|
+
const videoRefs = React8.useRef([]);
|
|
92887
92963
|
const handleMouseEnter = (index) => {
|
|
92888
92964
|
setPlayingIndex(index);
|
|
92889
92965
|
videoRefs.current[index]?.play();
|
|
@@ -96170,7 +96246,7 @@ function StatsCircularProgress({
|
|
|
96170
96246
|
statInfoClassName
|
|
96171
96247
|
}) {
|
|
96172
96248
|
const effectiveDefaultCategory = defaultCategory || (categories && categories.length > 0 ? categories[0].id : "");
|
|
96173
|
-
const [category, setCategory] =
|
|
96249
|
+
const [category, setCategory] = React8.useState(effectiveDefaultCategory);
|
|
96174
96250
|
const badgeContent = useMemo(() => {
|
|
96175
96251
|
if (badgeSlot) return badgeSlot;
|
|
96176
96252
|
if (!badge) return null;
|
|
@@ -96463,8 +96539,8 @@ function StatsCardGroup({
|
|
|
96463
96539
|
);
|
|
96464
96540
|
}
|
|
96465
96541
|
function useAnimatedCounter(endValue, duration = 2e3, isVisible) {
|
|
96466
|
-
const [count, setCount] =
|
|
96467
|
-
|
|
96542
|
+
const [count, setCount] = React8.useState(0);
|
|
96543
|
+
React8.useEffect(() => {
|
|
96468
96544
|
if (!isVisible) return;
|
|
96469
96545
|
let startTime = null;
|
|
96470
96546
|
let animationFrame;
|
|
@@ -96552,9 +96628,9 @@ function StatsAnimatedCounter({
|
|
|
96552
96628
|
statLabelClassName,
|
|
96553
96629
|
statIconClassName
|
|
96554
96630
|
}) {
|
|
96555
|
-
const [isVisible, setIsVisible] =
|
|
96556
|
-
const sectionRef =
|
|
96557
|
-
|
|
96631
|
+
const [isVisible, setIsVisible] = React8.useState(false);
|
|
96632
|
+
const sectionRef = React8.useRef(null);
|
|
96633
|
+
React8.useEffect(() => {
|
|
96558
96634
|
const observer = new IntersectionObserver(
|
|
96559
96635
|
([entry]) => {
|
|
96560
96636
|
if (entry.isIntersecting) {
|
|
@@ -96642,8 +96718,8 @@ function StatsAnimatedCounter({
|
|
|
96642
96718
|
);
|
|
96643
96719
|
}
|
|
96644
96720
|
function useNumberTicker(endValue, duration = 2500, isVisible, decimals = 0) {
|
|
96645
|
-
const [displayValue, setDisplayValue] =
|
|
96646
|
-
|
|
96721
|
+
const [displayValue, setDisplayValue] = React8.useState("0");
|
|
96722
|
+
React8.useEffect(() => {
|
|
96647
96723
|
if (!isVisible) return;
|
|
96648
96724
|
let startTime = null;
|
|
96649
96725
|
let animationFrame;
|
|
@@ -96758,9 +96834,9 @@ function StatsNumberTicker({
|
|
|
96758
96834
|
statLabelClassName,
|
|
96759
96835
|
statDescriptionClassName
|
|
96760
96836
|
}) {
|
|
96761
|
-
const [isVisible, setIsVisible] =
|
|
96762
|
-
const sectionRef =
|
|
96763
|
-
|
|
96837
|
+
const [isVisible, setIsVisible] = React8.useState(false);
|
|
96838
|
+
const sectionRef = React8.useRef(null);
|
|
96839
|
+
React8.useEffect(() => {
|
|
96764
96840
|
const observer = new IntersectionObserver(
|
|
96765
96841
|
([entry]) => {
|
|
96766
96842
|
if (entry.isIntersecting) {
|
|
@@ -97019,9 +97095,9 @@ function StatsBarComparison({
|
|
|
97019
97095
|
barValueClassName,
|
|
97020
97096
|
barTrackClassName
|
|
97021
97097
|
}) {
|
|
97022
|
-
const [isVisible, setIsVisible] =
|
|
97023
|
-
const sectionRef =
|
|
97024
|
-
|
|
97098
|
+
const [isVisible, setIsVisible] = React8.useState(!animate);
|
|
97099
|
+
const sectionRef = React8.useRef(null);
|
|
97100
|
+
React8.useEffect(() => {
|
|
97025
97101
|
if (!animate) return;
|
|
97026
97102
|
const observer = new IntersectionObserver(
|
|
97027
97103
|
([entry]) => {
|
|
@@ -97199,7 +97275,7 @@ function TimelineVerticalIconDashed({
|
|
|
97199
97275
|
"mx-auto flex flex-col items-center justify-center text-center sm:max-w-xl",
|
|
97200
97276
|
stepsClassName
|
|
97201
97277
|
),
|
|
97202
|
-
children: steps.map((step, index) => /* @__PURE__ */ jsxs(
|
|
97278
|
+
children: steps.map((step, index) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
|
|
97203
97279
|
/* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center", stepClassName), children: [
|
|
97204
97280
|
/* @__PURE__ */ jsx(
|
|
97205
97281
|
"span",
|
|
@@ -97466,7 +97542,7 @@ function TimelineTwoColumnFeatured({
|
|
|
97466
97542
|
style,
|
|
97467
97543
|
optixFlowConfig
|
|
97468
97544
|
}) {
|
|
97469
|
-
const renderActions =
|
|
97545
|
+
const renderActions = React8.useMemo(() => {
|
|
97470
97546
|
if (actionsSlot) {
|
|
97471
97547
|
return actionsSlot;
|
|
97472
97548
|
}
|
|
@@ -97594,7 +97670,7 @@ function TimelineTwoColumnFeatured({
|
|
|
97594
97670
|
}
|
|
97595
97671
|
);
|
|
97596
97672
|
}
|
|
97597
|
-
var DiagonalPattern =
|
|
97673
|
+
var DiagonalPattern = React8.memo(({
|
|
97598
97674
|
className,
|
|
97599
97675
|
patternOpacity = 0.15
|
|
97600
97676
|
}) => {
|
|
@@ -97633,7 +97709,7 @@ function TimelineAlternatingDiagonal({
|
|
|
97633
97709
|
style,
|
|
97634
97710
|
optixFlowConfig
|
|
97635
97711
|
}) {
|
|
97636
|
-
const renderedBadge =
|
|
97712
|
+
const renderedBadge = React8.useMemo(() => {
|
|
97637
97713
|
if (badgeSlot) {
|
|
97638
97714
|
return badgeSlot;
|
|
97639
97715
|
}
|
|
@@ -98011,7 +98087,7 @@ function TimelineProductivityList({
|
|
|
98011
98087
|
}
|
|
98012
98088
|
);
|
|
98013
98089
|
}
|
|
98014
|
-
var ProcessBar =
|
|
98090
|
+
var ProcessBar = React8.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(React8.Fragment, { children: [
|
|
98015
98091
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsx(
|
|
98016
98092
|
motion.div,
|
|
98017
98093
|
{
|
|
@@ -98038,7 +98114,7 @@ var ProcessBar = React32.memo(({ currentStep, steps }) => /* @__PURE__ */ jsx("d
|
|
|
98038
98114
|
)
|
|
98039
98115
|
] })
|
|
98040
98116
|
] }, index)) }) }));
|
|
98041
|
-
var StepperContent =
|
|
98117
|
+
var StepperContent = React8.memo(({ step, optixFlowConfig, imageClassName, descriptionClassName, background }) => {
|
|
98042
98118
|
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: [
|
|
98043
98119
|
/* @__PURE__ */ jsx(
|
|
98044
98120
|
motion.div,
|
|
@@ -98071,7 +98147,7 @@ var StepperContent = React32.memo(({ step, optixFlowConfig, imageClassName, desc
|
|
|
98071
98147
|
)
|
|
98072
98148
|
] });
|
|
98073
98149
|
});
|
|
98074
|
-
var NavButtons =
|
|
98150
|
+
var NavButtons = React8.memo(({ handlePrev, handleNext }) => /* @__PURE__ */ jsxs("div", { className: "flex w-full justify-end gap-3 tracking-tight", children: [
|
|
98075
98151
|
/* @__PURE__ */ jsxs(
|
|
98076
98152
|
Pressable,
|
|
98077
98153
|
{
|
|
@@ -98122,10 +98198,10 @@ function TimelineStepperAnimated({
|
|
|
98122
98198
|
}) {
|
|
98123
98199
|
const safeInitialStep = (steps?.length ?? 0) > 0 ? Math.max(0, Math.min(initialStep ?? 0, (steps?.length ?? 1) - 1)) : 0;
|
|
98124
98200
|
const [currentStep, setCurrentStep] = useState(safeInitialStep);
|
|
98125
|
-
const handleNext =
|
|
98201
|
+
const handleNext = React8.useCallback(() => {
|
|
98126
98202
|
setCurrentStep((prev) => Math.min(prev + 1, (steps?.length ?? 1) - 1));
|
|
98127
98203
|
}, [steps?.length]);
|
|
98128
|
-
const handlePrev =
|
|
98204
|
+
const handlePrev = React8.useCallback(() => {
|
|
98129
98205
|
setCurrentStep((prev) => Math.max(prev - 1, 0));
|
|
98130
98206
|
}, []);
|
|
98131
98207
|
const safeCurrentStep = (steps?.length ?? 0) > 0 ? Math.max(0, Math.min(currentStep, (steps?.length ?? 1) - 1)) : 0;
|
|
@@ -98834,7 +98910,7 @@ function TimelineTabbedPhases({
|
|
|
98834
98910
|
style,
|
|
98835
98911
|
optixFlowConfig
|
|
98836
98912
|
}) {
|
|
98837
|
-
const renderDownloadButton =
|
|
98913
|
+
const renderDownloadButton = React8.useMemo(() => {
|
|
98838
98914
|
if (downloadSlot) {
|
|
98839
98915
|
return downloadSlot;
|
|
98840
98916
|
}
|
|
@@ -99054,7 +99130,7 @@ function TimelineProductLaunch({
|
|
|
99054
99130
|
id,
|
|
99055
99131
|
style
|
|
99056
99132
|
}) {
|
|
99057
|
-
const renderCta =
|
|
99133
|
+
const renderCta = React8.useMemo(() => {
|
|
99058
99134
|
if (ctaSlot) {
|
|
99059
99135
|
return ctaSlot;
|
|
99060
99136
|
}
|
|
@@ -99512,9 +99588,9 @@ function LinkTreeBlock({
|
|
|
99512
99588
|
}) {
|
|
99513
99589
|
const resolvedBackground = background;
|
|
99514
99590
|
const resolvedPattern = pattern ?? backgroundPattern;
|
|
99515
|
-
const [lightboxOpen, setLightboxOpen] =
|
|
99516
|
-
const [lightboxIndex, setLightboxIndex] =
|
|
99517
|
-
const lightboxItems =
|
|
99591
|
+
const [lightboxOpen, setLightboxOpen] = React8.useState(false);
|
|
99592
|
+
const [lightboxIndex, setLightboxIndex] = React8.useState(0);
|
|
99593
|
+
const lightboxItems = React8.useMemo(() => {
|
|
99518
99594
|
if (!mediaGallery || mediaGallery.length === 0) return [];
|
|
99519
99595
|
return mediaGallery.slice(0, mediaGalleryLimit).map((item, index) => ({
|
|
99520
99596
|
id: item.id ?? `media-${index}`,
|
|
@@ -99526,11 +99602,11 @@ function LinkTreeBlock({
|
|
|
99526
99602
|
share: true
|
|
99527
99603
|
}));
|
|
99528
99604
|
}, [mediaGallery, mediaGalleryLimit]);
|
|
99529
|
-
const handleMediaClick =
|
|
99605
|
+
const handleMediaClick = React8.useCallback((index) => {
|
|
99530
99606
|
setLightboxIndex(index);
|
|
99531
99607
|
setLightboxOpen(true);
|
|
99532
99608
|
}, []);
|
|
99533
|
-
const handleLightboxClose =
|
|
99609
|
+
const handleLightboxClose = React8.useCallback(() => {
|
|
99534
99610
|
setLightboxOpen(false);
|
|
99535
99611
|
}, []);
|
|
99536
99612
|
const resolveImage = (value, fallbackAlt) => {
|
|
@@ -99542,7 +99618,7 @@ function LinkTreeBlock({
|
|
|
99542
99618
|
};
|
|
99543
99619
|
const nameForAlt = typeof brandName === "string" ? brandName : "Brand avatar";
|
|
99544
99620
|
const resolvedAvatar = resolveImage(brandAvatar || brandLogo, nameForAlt);
|
|
99545
|
-
const renderBrandHeader =
|
|
99621
|
+
const renderBrandHeader = React8.useMemo(() => {
|
|
99546
99622
|
if (brandSlot) return brandSlot;
|
|
99547
99623
|
return /* @__PURE__ */ jsxs(
|
|
99548
99624
|
"div",
|
|
@@ -99629,7 +99705,7 @@ function LinkTreeBlock({
|
|
|
99629
99705
|
brandTagline,
|
|
99630
99706
|
taglineClassName
|
|
99631
99707
|
]);
|
|
99632
|
-
const renderLinks =
|
|
99708
|
+
const renderLinks = React8.useMemo(() => {
|
|
99633
99709
|
if (linksSlot) return linksSlot;
|
|
99634
99710
|
if (!links || links.length === 0) return null;
|
|
99635
99711
|
return /* @__PURE__ */ jsx("div", { className: cn("space-y-3", linksClassName), children: links.map((link, index) => {
|
|
@@ -99745,7 +99821,7 @@ function LinkTreeBlock({
|
|
|
99745
99821
|
linkBadgeClassName,
|
|
99746
99822
|
linkChevronClassName
|
|
99747
99823
|
]);
|
|
99748
|
-
const renderMediaGallery =
|
|
99824
|
+
const renderMediaGallery = React8.useMemo(() => {
|
|
99749
99825
|
if (mediaGallerySlot) return mediaGallerySlot;
|
|
99750
99826
|
if (!mediaGallery || mediaGallery.length === 0) return null;
|
|
99751
99827
|
const items = mediaGallery.slice(0, mediaGalleryLimit);
|
|
@@ -99858,7 +99934,7 @@ function LinkTreeBlock({
|
|
|
99858
99934
|
mediaGalleryOverlayClassName,
|
|
99859
99935
|
mediaGalleryPlayIconClassName
|
|
99860
99936
|
]);
|
|
99861
|
-
const renderSocialLinks =
|
|
99937
|
+
const renderSocialLinks = React8.useMemo(() => {
|
|
99862
99938
|
if (socialLinksSlot) return socialLinksSlot;
|
|
99863
99939
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
99864
99940
|
return /* @__PURE__ */ jsx(
|
|
@@ -99891,7 +99967,7 @@ function LinkTreeBlock({
|
|
|
99891
99967
|
socialIconClassName,
|
|
99892
99968
|
socialLinkClassName
|
|
99893
99969
|
]);
|
|
99894
|
-
const renderFooter =
|
|
99970
|
+
const renderFooter = React8.useMemo(() => {
|
|
99895
99971
|
if (footerSlot) return footerSlot;
|
|
99896
99972
|
if (!footerAction) return null;
|
|
99897
99973
|
const resolvedFooterAction = footerAction;
|
|
@@ -117902,16 +117978,25 @@ var BLOCK_REGISTRY = {
|
|
|
117902
117978
|
"faq-split-hero": {
|
|
117903
117979
|
id: "faq-split-hero",
|
|
117904
117980
|
name: "FAQ Split Hero",
|
|
117905
|
-
description: "A
|
|
117981
|
+
description: "A full-width split-screen FAQ section with animated accordion on one side and image or video media on the other. Supports configurable layout direction for desktop (media left/right) and mobile stacking order (media top/bottom), pattern background overlays with adjustable opacity, section background theming, image optimization via OptixFlow, and extensive className overrides for every sub-element. Media supports both images and videos with a slot escape hatch for fully custom rendering. Best for landing pages, product pages, and service pages requiring prominent FAQ visibility.",
|
|
117906
117982
|
semanticTags: [
|
|
117907
117983
|
"faq",
|
|
117908
117984
|
"split",
|
|
117909
117985
|
"hero",
|
|
117910
|
-
"dark-theme",
|
|
117911
117986
|
"accordion",
|
|
117912
117987
|
"animated",
|
|
117913
117988
|
"landing",
|
|
117914
|
-
"questions"
|
|
117989
|
+
"questions",
|
|
117990
|
+
"full-width",
|
|
117991
|
+
"split-screen",
|
|
117992
|
+
"image",
|
|
117993
|
+
"video",
|
|
117994
|
+
"media",
|
|
117995
|
+
"responsive",
|
|
117996
|
+
"layout-direction",
|
|
117997
|
+
"pattern-background",
|
|
117998
|
+
"customizable",
|
|
117999
|
+
"two-column"
|
|
117915
118000
|
],
|
|
117916
118001
|
category: "faq",
|
|
117917
118002
|
component: FaqSplitHero,
|
|
@@ -117923,6 +118008,13 @@ var BLOCK_REGISTRY = {
|
|
|
117923
118008
|
items={[
|
|
117924
118009
|
{ id: "1", question: "What services do you offer?", answer: "..." },
|
|
117925
118010
|
]}
|
|
118011
|
+
mediaItem={{
|
|
118012
|
+
image: { src: "/images/faq-hero.jpg", alt: "FAQ illustration" }
|
|
118013
|
+
}}
|
|
118014
|
+
directionConfig={{ desktop: "mediaRight", mobile: "mediaTop" }}
|
|
118015
|
+
background="muted"
|
|
118016
|
+
pattern="grid"
|
|
118017
|
+
patternOpacity={0.3}
|
|
117926
118018
|
/>`.trim()
|
|
117927
118019
|
}
|
|
117928
118020
|
};
|