<?php switch($shortcode->display_type):
    case ('list'): ?>
        <div class="tf-faq">
            <ul class="box-faq" id="wrapper-faq">
                <?php $__currentLoopData = $faqs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $faq): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li class="faq-item">
                        <a href="#accordion-faq-<?php echo e($faq->getKey()); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses(['faq-header', 'collapsed' => ! ($loop->first && $expandFirst)]); ?>" data-bs-toggle="collapse" aria-expanded="<?php echo e($loop->first && $expandFirst ? 'true' : 'false'); ?>" aria-controls="accordion-faq-<?php echo e($faq->getKey()); ?>">
                            <?php echo BaseHelper::clean($faq->question); ?>

                        </a>
                        <div id="accordion-faq-<?php echo e($faq->getKey()); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses(['collapse', 'show' => $loop->first && $expandFirst]); ?>" data-bs-parent="#wrapper-faq">
                            <div class="faq-body">
                                <?php echo BaseHelper::clean($faq->answer); ?>

                            </div>
                        </div>
                    </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>
        </div>

        <?php break; ?>

    <?php default: ?>
        <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="tf-faq">
                <h5><?php echo e($category->name); ?></h5>
                <ul class="box-faq" id="wrapper-faq-<?php echo e($categorySlug = Str::slug($category->name)); ?>">
                    <?php $__currentLoopData = $category->faqs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $faq): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li class="faq-item">
                            <a href="#<?php echo e($categorySlug); ?>-faq-<?php echo e($faq->getKey()); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses(['faq-header', 'collapsed' => ! ($loop->parent->first && $loop->first && $expandFirst)]); ?>" data-bs-toggle="collapse" aria-expanded="<?php echo e($loop->parent->first && $loop->first && $expandFirst ? 'true' : 'false'); ?>" aria-controls="<?php echo e($categorySlug); ?>-faq-<?php echo e($faq->getKey()); ?>">
                                <?php echo BaseHelper::clean($faq->question); ?>

                            </a>
                            <div id="<?php echo e($categorySlug); ?>-faq-<?php echo e($faq->getKey()); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses(['collapse', 'show' => $loop->parent->first && $loop->first && $expandFirst]); ?>" data-bs-parent="#wrapper-faq-<?php echo e(Str::slug($category->name)); ?>">
                                <div class="faq-body">
                                    <?php echo BaseHelper::clean($faq->answer); ?>

                                </div>
                            </div>
                        </li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endswitch; ?>
<?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/themes/homzen/partials/shortcodes/faqs/styles/style-1.blade.php ENDPATH**/ ?>