<?php $__env->startSection('title', 'Settings'); ?>
<?php $__env->startSection('css'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('dashboard/css/pages/settings/settings.css')); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>

    <?php if (isset($component)) { $__componentOriginal342b33bfa6f7d125441314a0164864e25786c1fa = $component; } ?>
<?php $component = App\View\Components\Dashboard\LinksBar::resolve(['links' => [
        [
            'name' => 'الإعدادات العامة',
        ],
    ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.links-bar'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\LinksBar::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal342b33bfa6f7d125441314a0164864e25786c1fa)): ?>
<?php $component = $__componentOriginal342b33bfa6f7d125441314a0164864e25786c1fa; ?>
<?php unset($__componentOriginal342b33bfa6f7d125441314a0164864e25786c1fa); ?>
<?php endif; ?>



    <section id="settings">
        <div class="row">

            <div class="col-lg-3">
                <?php if (isset($component)) { $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09 = $component; } ?>
<?php $component = App\View\Components\PanelWithHeading::resolve(['title' => 'الروابط'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('panel-with-heading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\PanelWithHeading::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
                    <?php if (isset($component)) { $__componentOriginaldd2feed7cba55112df215ec74e9f08152a198cfa = $component; } ?>
<?php $component = App\View\Components\Dashboard\Settings\Tab::resolve(['tabs' => $tabs] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.settings.tab'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Settings\Tab::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginaldd2feed7cba55112df215ec74e9f08152a198cfa)): ?>
<?php $component = $__componentOriginaldd2feed7cba55112df215ec74e9f08152a198cfa; ?>
<?php unset($__componentOriginaldd2feed7cba55112df215ec74e9f08152a198cfa); ?>
<?php endif; ?>
                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09)): ?>
<?php $component = $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09; ?>
<?php unset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09); ?>
<?php endif; ?>
            </div><!-- End Tabs -->

            <div class="col-lg-9 mb-5">
                <div class="tab-content" id="v-pills-tabContent">


                    <?php if (isset($component)) { $__componentOriginal9a105fe6190ff7d42222c7fdb277c428f42c4527 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Settings\TabContent::resolve(['name' => 'روابط السوشيال ميديا','tab' => 'social'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.settings.tab-content'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Settings\TabContent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
                        <?php $__currentLoopData = $links; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class=" dir-ltr input-group mb-3">
                                <div class="input-group-prepend tip" title="<?php echo e(Str::headline($key)); ?>">
                                    <span class="input-group-text"><?php echo $val['icon']; ?></span>
                                </div>
                                <!-- getVal() Function Exist In \App\Helpers\Functions\helpers.php -->
                                <input type="url" name="<?php echo e($key); ?>"
                                    placeholder="<?php echo e(Str::headline($key) . ' Link'); ?>" value="<?php echo e(getVal($row, $key)); ?>"
                                    class="form-control">
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9a105fe6190ff7d42222c7fdb277c428f42c4527)): ?>
<?php $component = $__componentOriginal9a105fe6190ff7d42222c7fdb277c428f42c4527; ?>
<?php unset($__componentOriginal9a105fe6190ff7d42222c7fdb277c428f42c4527); ?>
<?php endif; ?><!-- end -->

                    <?php if (isset($component)) { $__componentOriginal9a105fe6190ff7d42222c7fdb277c428f42c4527 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Settings\TabContent::resolve(['name' => 'معلومات الاتصال','class' => 'fade show active','tab' => 'contact'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.settings.tab-content'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Settings\TabContent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>

                        <!-- getVal() Function Exist In \App\Helpers\Functions\helpers.php -->

                        <div class="row">

                            <div class="col-md-6">
                                <h6 class="mb-3">البريد الإلكتروني</h6>

                                <div id="emails-box">


                                    <?php $__currentLoopData = explode('|', getVal($row, 'email')); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $email): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php if($loop->index == 0): ?>
                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'dir-ltr','properties' => [
                                                'input' => [
                                                    'name' => 'email[]',
                                                    'type' => 'email',
                                                    'value' => $email,
                                                    'options' => [
                                                        'placeholder' =>
                                                            'هذا البريد سوف يعرض في صفحات الموقع الرئيسة مثل ( اتصل بنا )',
                                                    ],
                                                ],
                                            ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\FormGroup::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?><!-- email -->
                                        <?php else: ?>
                                            <div class="parent-email">
                                                <div class="row">

                                                    <div class="col-2">
                                                        <div class="btn-remove-email btn btn-soft-danger btn-block"><i
                                                                class="fa fa-trash"></i></div>
                                                    </div>

                                                    <div class="col-10">
                                                        <div class="form-group dir-ltr"><input type="email" name="email[]"
                                                                value="<?php echo e($email); ?>" data-name="email"
                                                                data-laravel-translatable="email--lara-trans-error"
                                                                required=""
                                                                placeholder="هذا البريد سوف يعرض في صفحات الموقع الرئيسة مثل ( اتصل بنا )">
                                                        </div>
                                                    </div>

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


                                </div>
                              <div class=" text-left">

                                    <div id="btn-add-new-email" class="btn btn-sm btn-soft-main d-inline-block">
                                        <i class=" fa fa-plus"></i>
                                        اضافة بريد جديد
                                    </div>
                                </div>

                            </div>


                            <div class="col-md-6">
                                <h6 class="mb-3">رقم الهاتف ( WhatsApp )</h6>

                                <div id="phones-box">
                                    <?php $__currentLoopData = explode('|', getVal($row, 'phone')); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $phone): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php if($loop->index == 0): ?>
                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'dir-ltr','properties' => [
                                                'input' => [
                                                    'name' => 'phone[]',
                                                    'type' => 'number',
                                                    'value' => $phone,
                                                    'options' => [
                                                        'placeholder' => 'كود البلد يتبعه رقم الهاتف',
                                                    ],
                                                ],
                                            ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\FormGroup::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?><!-- phone -->
                                        <?php else: ?>
                                            <div class="parent-phone">
                                                <div class="row">
                                                    <div class="col-2">
                                                        <div class="btn-remove-phone btn btn-soft-danger btn-block"><i
                                                                class="fa fa-trash"></i></div>
                                                    </div>
                                                    <div class="col-10">
                                                        <div class="form-group dir-ltr"><input type="number" name="phone[]"
                                                                value="<?php echo e($phone); ?>" data-name="phone"
                                                                data-laravel-translatable="email--lara-trans-error"
                                                                required="" placeholder='كود البلد يتبعه رقم الهاتف'>
                                                        </div>
                                                    </div>

                                                </div>
                                            </div>
                                        <?php endif; ?>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                                <div class=" text-left">
                                    <div id="btn-add-new-phone" class="btn btn-sm btn-soft-main d-inline-block">
                                        <i class=" fa fa-plus"></i>
                                        اضافة رقم جديد
                                    </div>
                                </div>

                            </div>


                        </div>

                     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9a105fe6190ff7d42222c7fdb277c428f42c4527)): ?>
<?php $component = $__componentOriginal9a105fe6190ff7d42222c7fdb277c428f42c4527; ?>
<?php unset($__componentOriginal9a105fe6190ff7d42222c7fdb277c428f42c4527); ?>
<?php endif; ?><!-- end -->

                    

                    

                    

                    

                </div><!-- End Tab Content -->
            </div><!-- End Col -->

        </div><!-- End Row -->
    </section><!-- End Section -->


<?php $__env->stopSection(); ?>
<?php if (isset($component)) { $__componentOriginal4a1e9f4471bc858522cc3c6bd393eb0685be0fb1 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Js::resolve(['link' => 'settings/settings.js','type' => 'module'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.js'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Js::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal4a1e9f4471bc858522cc3c6bd393eb0685be0fb1)): ?>
<?php $component = $__componentOriginal4a1e9f4471bc858522cc3c6bd393eb0685be0fb1; ?>
<?php unset($__componentOriginal4a1e9f4471bc858522cc3c6bd393eb0685be0fb1); ?>
<?php endif; ?>

<?php echo $__env->make('dashboard.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\wjhatna\resources\views/dashboard/settings/index.blade.php ENDPATH**/ ?>