<?php
    $animationText = array_filter(explode(',', ($shortcode->animation_text ?: '')));
    $animationTextColor = $shortcode->animation_text_color ?? null;
?>

<?php if($animationText): ?>
    <span class="tf-text s1 cd-words-wrapper" <?php if($animationTextColor): ?> style="color: <?php echo e($animationTextColor); ?> !important;" <?php endif; ?>>
        <?php $__currentLoopData = $animationText; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $text): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <span class="<?php echo \Illuminate\Support\Arr::toCssClasses(['item-text', 'is-hidden' => ! $loop->first, 'is-visible' => $loop->first]); ?>">
                <?php echo e($text); ?>

            </span>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </span>
<?php endif; ?>
<?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/themes/homzen/partials/shortcodes/hero-banner/partials/animation-text.blade.php ENDPATH**/ ?>