<?php if(Auth::user()): ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
        <div class="easier-mode">
            <div class="easier-section-area">
                <?php endif; ?>
                <?php endif; ?>

                <section class="faq-video-block section-padding section-bg">
                    <div class="container">
                        <?php if(Auth::user()): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                                <!-- hover effect for mobile devices  -->
                                <div class="click-icon d-md-none text-center">
                                    <button class="custom-btn text-white">
                                        <i class="fa fa-mobile-alt text-white"></i> <?php echo e(__('content.touch')); ?>

                                    </button>
                                </div>
                            <?php endif; ?>
                        <?php endif; ?>
                        <div class="row align-items-center">
                            <?php if(isset($faq_section_style1)): ?>
                                <div class="col-xl-6 pe-xl-5 col-12">
                                    <div class="faq-video-wrapper me-xl-4 d-flex justify-content-center align-items-center bg-cover bg-center" style="<?php if(!empty($faq_section_style1->section_image)): ?> background-image: url('<?php echo e(asset('uploads/img/faq/'.$faq_section_style1->section_image)); ?>') <?php endif; ?>">
                                        <div class="video-play-btn">
                                            <?php if($faq_section_style1->video_type == 'youtube'): ?>
                                                <a href="<?php echo e($faq_section_style1->video_url); ?>" class="popup-video play-video"><i class="fas fa-play"></i></a>
                                            <?php else: ?>
                                                <a href="<?php echo e($faq_section_style1->video_url); ?>" class="play-video"><i class="fas fa-play"></i></a>
                                            <?php endif; ?>
                                        </div>
                                        <div class="arrow-icon">
                                            <img src="<?php echo e(asset('uploads/img/dummy/icons/video-arrow.svg')); ?>" alt="image">
                                        </div>
                                    </div>
                                </div>
                            <?php else: ?>
                                <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                    <div class="col-xl-6 pe-xl-5 col-12">
                                        <div class="faq-video-wrapper me-xl-4 d-flex justify-content-center align-items-center bg-cover bg-center" style="background-image: url('<?php echo e(asset('uploads/img/dummy/595x615.webp')); ?>')">
                                            <div class="video-play-btn">
                                                <a href="https://www.youtube.com/watch?v=E1xkXZs0cAQ" class="popup-video play-video"><i class="fas fa-play"></i></a>
                                            </div>
                                            <div class="arrow-icon">
                                                <img src="<?php echo e(asset('uploads/img/dummy/icons/video-arrow.svg')); ?>" alt="image">
                                            </div>
                                        </div>
                                    </div>
                                <?php endif; ?>
                            <?php endif; ?>
                            <div class="col-xl-6 ps-xl-5 col-12 mt-xl-0 mt-5">
                                <?php if(isset($faq_section_style1)): ?>
                                    <?php if(!empty($faq_section_style1->title)): ?>
                                        <div class="block-contents ms-xl-4">
                                            <div class="section-title wow fadeInUp" data-wow-duration="1s" data-wow-delay=".2s">
                                                <h2><?php echo html_entity_decode($faq_section_style1->title); ?></h2>
                                            </div>
                                        </div>
                                    <?php endif; ?>
                                <?php else: ?>
                                    <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                        <div class="block-contents ms-xl-4">
                                            <div class="section-title wow fadeInUp" data-wow-duration="1s" data-wow-delay=".2s">
                                                <h2>If you want to know anything, ask us</h2>
                                            </div>
                                        </div>
                                    <?php endif; ?>
                                <?php endif; ?>
                                <?php if(is_countable($faqs_style1) && count($faqs_style1) > 0): ?>
                                    <div class="faq-accordion ms-xl-4 me-xl-4">
                                        <div class="accordion" id="mainaccordion">

                                            <?php $i = 1; ?>
                                            <?php $__currentLoopData = $faqs_style1; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if(Auth::user()): ?>
                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                                                        <?php
                                                            $url = request()->path();
                                                            $modified_url = str_replace('/', '-bracket-', $url);
                                                        ?>
                                                        <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                                                            <?php echo csrf_field(); ?>
                                                            <input type="hidden" name="route" value="faq.edit">
                                                            <input type="hidden" name="single_id" value="<?php echo e($item->id); ?>">
                                                            <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                                                            <button type="submit" class="me-2 custom-pure-button">
                                                                <i class="fa fa-edit text-info easier-custom-font-size-24"></i>
                                                            </button>
                                                        </form>
                                                    <?php endif; ?>
                                                <?php endif; ?>
                                                <div class="accordion-item wow fadeInUp" data-wow-duration="1s" data-wow-delay=".3s">
                                                    <h4 class="accordion-header">
                                                        <button class="accordion-button <?php if($loop->first): ?> <?php else: ?> collapsed <?php endif; ?>" type="button" data-bs-toggle="collapse" data-bs-target="#faqask<?php echo e($i); ?>" aria-expanded="<?php if($loop->first): ?> true <?php else: ?> false <?php endif; ?>" aria-controls="faqask<?php echo e($i); ?>">
                                                            <?php echo e($item->question); ?>

                                                        </button>
                                                    </h4>
                                                    <div id="faqask<?php echo e($i); ?>" class="accordion-collapse collapse <?php if($loop->first): ?> show <?php endif; ?>" data-bs-parent="#mainaccordion">
                                                        <div class="accordion-body">
                                                            <?php echo e($item->answer); ?>

                                                        </div>
                                                    </div>
                                                </div>
                                                <?php $i++; ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            <?php unset($item); ?>
                                        </div>
                                    </div>
                                <?php else: ?>
                                    <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                        <div class="faq-accordion ms-xl-4 me-xl-4">
                                            <div class="accordion" id="mainaccordion">

                                                <div class="accordion-item wow fadeInUp" data-wow-duration="1s" data-wow-delay=".3s">
                                                    <h4 class="accordion-header">
                                                        <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#faqask1" aria-expanded="false" aria-controls="faqask1">
                                                            Is it safe to invest in cryptocurrency?
                                                        </button>
                                                    </h4>
                                                    <div id="faqask1" class="accordion-collapse collapse show" data-bs-parent="#mainaccordion">
                                                        <div class="accordion-body">
                                                            Cryptocurrency is a good investment if you want to gain direct exposure to the demand for digital currency.
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="accordion-item wow fadeInUp" data-wow-duration="1.1s" data-wow-delay=".6s">
                                                    <h4 class="accordion-header">
                                                        <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#faqask2" aria-expanded="true" aria-controls="faqask2">
                                                            How many altcoins are there?
                                                        </button>
                                                    </h4>
                                                    <div id="faqask2" class="accordion-collapse collapse" data-bs-parent="#mainaccordion">
                                                        <div class="accordion-body">
                                                            Cryptocurrency is a good investment if you want to gain direct exposure to the demand for digital currency.
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="accordion-item wow fadeInUp" data-wow-duration="1.1s" data-wow-delay=".9s">
                                                    <h4 class="accordion-header">
                                                        <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#faqask3" aria-expanded="false" aria-controls="faqask3">
                                                            Which cryptocurrency is offered here?
                                                        </button>
                                                    </h4>
                                                    <div id="faqask3" class="accordion-collapse collapse" data-bs-parent="#mainaccordion">
                                                        <div class="accordion-body">
                                                            Cryptocurrency is a good investment if you want to gain direct exposure to the demand for digital currency.
                                                        </div>
                                                    </div>
                                                </div>

                                            </div>
                                        </div>
                                    <?php endif; ?>
                                <?php endif; ?>
                                <?php if(isset($faq_section_style1)): ?>
                                    <div class="faq-bottom ms-xl-4 mt-4 wow fadeInUp" data-wow-duration="1s" data-wow-delay=".9s">
                                        <span><?php echo e($faq_section_style1->extra_text); ?></span>
                                        <?php if(!empty($faq_section_style1->button_name)): ?>
                                            <a href="<?php echo e($faq_section_style1->button_url); ?>"><?php echo e($faq_section_style1->button_name); ?></a>
                                        <?php endif; ?>
                                    </div>
                                <?php else: ?>
                                    <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                        <div class="faq-bottom ms-xl-4 mt-4 wow fadeInUp" data-wow-duration="1s" data-wow-delay=".9s">
                                            <span>Still have questions?</span><a href="#">Get in touch</a>
                                        </div>
                                    <?php endif; ?>
                                <?php endif; ?>
                            </div>
                        </div>
                    </div>
                </section>

                <?php if(Auth::user()): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
            </div>
            <div class="easier-middle">
                <?php
                    $url = request()->path();
                    $modified_url = str_replace('/', '-bracket-', $url);
                ?>
                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="route" value="faq.create">
                    <input type="hidden" name="style" value="style1">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white me-2 mb-2">
                        <i class="fa fa-edit text-white"></i> <?php echo e(__('content.edit_section_title_description')); ?>

                    </button>
                </form>
                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="route" value="faq.create">
                    <input type="hidden" name="style" value="style1">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white">
                        <i class="fa fa-plus text-white"></i> <?php echo e(__('content.add_faq')); ?>

                    </button>
                </form>
            </div>
        </div>
    <?php endif; ?>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\laravel10-xmoze\resources\views/frontend/sections/faq/faq-style1.blade.php ENDPATH**/ ?>