<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['items', 'title' => 'Frequently Asked Questions']));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter((['items', 'title' => 'Frequently Asked Questions']), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars, $__key, $__value); ?>
<section <?php echo e($attributes->class(['section', 'faq-section'])); ?>>
    <div class="shell faq-layout">
        <div class="faq-heading"><h2><?php echo e($title); ?></h2></div>
        <div class="faq-list" x-data="{ open: 0 }">
            <?php $__currentLoopData = $items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <article>
                    <h3><button type="button" @click="open = open === <?php echo e($loop->index); ?> ? -1 : <?php echo e($loop->index); ?>" :aria-expanded="open === <?php echo e($loop->index); ?>" aria-controls="faq-<?php echo e($loop->index); ?>-<?php echo e(md5($item['question'])); ?>"><span><?php echo e(str_pad($loop->iteration, 2, '0', STR_PAD_LEFT)); ?></span><?php echo e($item['question']); ?><i aria-hidden="true">+</i></button></h3>
                    <div id="faq-<?php echo e($loop->index); ?>-<?php echo e(md5($item['question'])); ?>" x-show="open === <?php echo e($loop->index); ?>" x-transition.opacity><p><?php echo e($item['answer']); ?></p></div>
                </article>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</section>
<?php /**PATH D:\servoknit\resources\views/components/faq.blade.php ENDPATH**/ ?>