<?php $__env->startSection('title', dbTrans('admin.Profile edit page title')); ?>

<?php if (isset($component)) { $__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e = $component; } ?>
<?php $component = App\View\Components\Dashboard\Css::resolve(['link' => 'admin/profile/edit'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.css'); ?>
<?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\Css::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($__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e)): ?>
<?php $component = $__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e; ?>
<?php unset($__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e); ?>
<?php endif; ?>

<?php $__env->startSection('body'); ?>

    <header id="header" class="bg" style="background-image: url(<?php echo e($coverPath); ?>)">
        <div class="overlay overlay-black"></div>
        <section id="banner"></section>

        <form id="form-change-cover" class=" ajax-post" action="<?php echo e(route('update-profile-cover')); ?>" method="POST"
            enctype="multipart/form-data">
            <label id="btn-choose-cover" class="btn btn-soft-light" for="input-cover"><i class="fa-regular fa-images"></i>
                <?php echo e(dbTrans('admin.Change Cover')); ?>

            </label>
            <?php echo csrf_field(); ?>
            <?php echo method_field('PATCH'); ?>
            <!-- Start Input ID -->
            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'my-0','properties' => $inputId] + (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; ?>
            <!-- End Input ID -->

            <input type="file" class="input-bg d-none" name="cover" id="input-cover" required>
            <div class="controls d-none">
                <div id="top" class="btn btn-warning"><?php echo e(dbTrans('admin.Top')); ?></div>
                <div id="bottom" class="btn btn-warning"><?php echo e(dbTrans('admin.Bottom')); ?></div>
            </div><!-- This Element Not Used Yet -->
            <button type="submit" class="btn-main btn display-none"><?php echo e(dbTrans('admin.Save')); ?></button>
        </form>
    </header>


    <main id="edit">
        <div class="container-fluid">
            <div class="row">

                <div class="col-xl-4 col-lg-6 col-md-12 col-sm-12">

                    <section id="avatar">
                        <div class="box shadow-none text-center py-4">

                            <div class="image bg-main d-inline-block w128 h128 rounded-circle">
                                <img class="w-100 h-100 object-cover p-1 rounded-circle img" src="<?php echo e($avatarPath); ?>"
                                    alt="">
                                <label id="btn-choose-profile-img" for="input-profile-avatar"
                                    class=" rounded-circle font-14">
                                    <i class="fa-solid fa-camera"></i>
                                </label>

                            </div><!-- image-->

                            <h5 class="mt-3 mb-0 first-info text-center">
                                <span class="name text-main">
                                    <a href="<?php echo e(adminUrl('profile/show/' . $row->id)); ?>">
                                        <span class="f_name"><?php echo e($row->f_name); ?></span>
                                        <span class="l_name"><?php echo e($row->l_name); ?></span>
                                        <br>
                                        <span class="job font-12 text-secondary"><?php echo e($row->job); ?></span>
                                    </a>
                                </span>
                            </h5><!-- first-info -->

                            <form class="ajax-post" action="<?php echo e(route('update-profile-avatar')); ?>" method="POST"
                                enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>
                                <?php echo method_field('PATCH'); ?>
                                <!-- Start Input ID -->
                                <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'my-0','properties' => $inputId] + (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; ?>
                                <!-- End Input ID -->

                                <input type="file" id="input-profile-avatar" class="input-img d-none" name="avatar"
                                    required>

                                <button id="btn-update-avatar" type="submit"
                                    class="display-none btn btn-main btn-sm btn-block mt-2"><?php echo e(dbTrans('admin.Update')); ?></button>
                            </form><!-- update avatar -->


                        </div><!-- box -->

                        <?php
                            $adminId = $row->id;
                            $currentAdminId = adminAuth('id');

                            $isOwner = canRole(owner());
                            $isSelfDelete = $adminId == $currentAdminId;
                        ?>

                        <?php if(($isOwner && !$isSelfDelete) || (!$isOwner && $isSelfDelete)): ?>
                            <form class="delete d-inline-block" action="<?php echo e(route('deleteAdmin')); ?>" method="POST">
                                <?php echo method_field('DELETE'); ?>
                                <?php echo csrf_field(); ?>
                                <!-- Start Input ID -->
                                <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'my-0','properties' => $inputId] + (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; ?>
                                <!-- End Input ID -->
                                <button type="submit" data-delete="هل انت متأكد من حذف : <?php echo e($row->full_name); ?>"
                                    class="btn-delete-attech font-16 px-4 py-2 btn btn-soft-danger">
                                    حذف المستخدم
                                </button>
                            </form>
                        <?php endif; ?>

                    </section><!-- avatar -->

                    <section id="portfolio" class=" d-none">

                        <?php if (isset($component)) { $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09 = $component; } ?>
<?php $component = App\View\Components\PanelWithHeading::resolve(['title' => ''.e(dbTrans('admin.Portfolio')).''] + (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([]); ?>

                            <!-- Start Check IF Have Links , For Set Button Update  -->
                            <?php
                                $links = '';
                                foreach ($portfolio as $port) {
                                    if ($links == null && $port != null) {
                                        $links .= $port;
                                    }
                                }
                            ?>

                            <?php if($links != null): ?>
                                <form class="ajax-post" action="<?php echo e(route('portfolio-update')); ?>" method="POST">
                                    <?php echo method_field('PATCH'); ?>
                                    <?php echo csrf_field(); ?>
                                    <!-- Start Input ID -->
                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'my-0','properties' => $inputId] + (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; ?>
                                    <!-- End Input ID -->

                                    <div class="display-social-media">
                                        <?php $__currentLoopData = socialMedia(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <?php if($portfolio[$val['name_en']] != null): ?>
                                                <div style="background-color: <?php echo e($val['color']); ?>" class="icon">
                                                    <?php echo $val['icon']; ?>

                                                </div>
                                                <div class="form-group">
                                                    <input type="text" name="<?php echo e($val['name_en']); ?>"
                                                        value="<?php echo e($portfolio[$val['name_en']]); ?>"
                                                        placeholder="<?php echo e(Str::headline($val['name_en'])); ?>"
                                                        class="form-control font-13">
                                                </div>
                                            <?php endif; ?>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        <button type="submit"
                                            class="btn-update-port btn btn-main btn-sm"><?php echo e(dbTrans('admin.Update')); ?></button>
                                        <div class="clearfix"></div>
                                    </div>

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

                        <!-- Button trigger modal -->
                        <button id="btn-portfolio-open-model" type="button" class="btn btn-soft-main font-13 px-1 py-0"
                            data-toggle="modal" data-target="#portfolioModel">
                            <i class="fa-solid fa-plus"></i> <?php echo e(dbTrans('admin.Add')); ?>

                        </button>

                        <!-- Modal -->
                        <div class="modal fade" id="portfolioModel" tabindex="-1" role="dialog"
                            aria-labelledby="modelTitleId" aria-hidden="true">
                            <div class="modal-dialog" role="document">
                                <div class="modal-content">
                                    <div class="modal-header">
                                        <h5 class="modal-title"><?php echo e(dbTrans('admin.Portfolio Add')); ?></h5>
                                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                            <span aria-hidden="true">&times;</span>
                                        </button>
                                    </div>
                                    <form class="ajax-post" action="<?php echo e(route('portfolio-update')); ?>" method="POST">
                                        <div class="modal-body">
                                            <?php echo method_field('PATCH'); ?>
                                            <?php echo csrf_field(); ?>

                                            <div class="form-group">
                                                <select name="select-social-media" id="select-social-media">
                                                    <option disabled selected><?php echo e(dbTrans('admin.Choose')); ?></option>
                                                    <?php $__currentLoopData = socialMedia(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <?php if($portfolio[$val['name_en']] == null): ?>
                                                            <option value="<?php echo e($val['name_en']); ?>">
                                                                <?php echo e(Str::headline($val['name_en'])); ?></option>
                                                        <?php endif; ?>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                </select>
                                            </div><!-- social -->

                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                'input' => [
                                                    'type' => 'url',
                                                    'name' => '',
                                                    'options' => [
                                                        'placeholder' => '',
                                                        'class' => 'display-none input-social-media-url',
                                                    ],
                                                ],
                                            ]] + (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; ?>

                                        </div>
                                        <div class="modal-footer">
                                            <button type="button" class="btn btn-secondary"
                                                data-dismiss="modal"><?php echo e(dbTrans('admin.Close')); ?></button>
                                            <button type="submit"
                                                class="btn btn-primary"><?php echo e(dbTrans('admin.Save')); ?></button>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>

                    </section><!-- Portfolio -->

                </div><!-- Grid 1 -->


                <div class="col-xl-8 col-lg-6 col-md-12 col-sm-12">
                    <section id="profile-details">
                        <div class="box shadow-none mb-5 p-0">

                            <div class="box-head mb-2">
                                <ul class="nav nav-tabs" id="myTab" role="tablist">

                                    <li class="nav-item">
                                        <a class="nav-link active" id="personal-data-tab" data-toggle="tab"
                                            href="#personal-data" role="tab" aria-controls="personal-data"
                                            aria-selected="true"><?php echo e(dbTrans('admin.Personal Data')); ?></a>
                                    </li><!-- Personal Data -->

                                    <li class="nav-item">
                                        <a class="nav-link" id="change-password-tab" data-toggle="tab"
                                            href="#change-password" role="tab" aria-controls="change-password"
                                            aria-selected="false"><?php echo e(dbTrans('admin.Password')); ?></a>
                                    </li><!-- Change Password -->


                                    <li class="nav-item">
                                        <a class="nav-link" id="roles-tab" data-toggle="tab" href="#roles"
                                            role="tab" aria-controls="roles" aria-selected="false">الأدوار</a>
                                    </li><!-- Change Password -->


                                </ul>
                            </div><!-- box head -->

                            <div class="box-body py-3">

                                <div class="tab-content" id="myTabContent">

                                    <div class="tab-pane fa_de show active" id="personal-data" role="tabpanel"
                                        aria-labelledby="personal-data-tab">
                                        <form class="ajax-post" action="<?php echo e(route('update-personal-data')); ?>"
                                            method="post">
                                            <!-- Start Input ID -->
                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'my-0','properties' => $inputId] + (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; ?>
                                            <!-- End Input ID -->

                                            <?php echo csrf_field(); ?>
                                            <?php echo method_field('PATCH'); ?>

                                            <div class="row">

                                                <div class="col-md-3 col-6">
                                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                        'input' => [
                                                            'type' => 'text',
                                                            'name' => 'f_name',
                                                            'value' => $row->f_name,
                                                            'options' => ['required', 'maxlength' => 20],
                                                        ],
                                                        'label' => [
                                                            'text' => dbTrans('admin.First Name'),
                                                            'options' => [
                                                                'class' => 'required',
                                                            ],
                                                        ],
                                                    ]] + (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; ?>
                                                </div><!-- f_name -->

                                                <div class="col-md-3 col-6">
                                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                        'input' => [
                                                            'type' => 'text',
                                                            'name' => 'l_name',
                                                            'value' => $row->l_name,
                                                            'options' => ['required', 'maxlength' => 20],
                                                        ],
                                                        'label' => [
                                                            'text' => dbTrans('admin.Last Name'),
                                                            'options' => [
                                                                'class' => 'required',
                                                            ],
                                                        ],
                                                    ]] + (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; ?>
                                                </div><!-- l_name -->

                                                <div class="col-md-6">

                                                    <?php
                                                        $border = '';
                                                        if ($admin->email_verified == 0) {
                                                            $border = 'border-danger';
                                                        }
                                                    ?>

                                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'mb-1','properties' => [
                                                        'input' => [
                                                            'type' => 'email',
                                                            'name' => 'email',
                                                            'value' => $row->email,
                                                            'options' => ['required', 'class' => $border],
                                                        ],
                                                        'label' => [
                                                            'text' => dbTrans('admin.email'),
                                                            'options' => [
                                                                'class' => 'required',
                                                            ],
                                                        ],
                                                    ]] + (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; ?>

                                                    <?php if($admin->email_verified == 0): ?>
                                                        <div class="mb-2 text-danger">
                                                            <?php echo e(dbTrans('admin.This Email Not Verified Yet')); ?>

                                                            <?php if($row->id == adminId()): ?>
                                                                <!-- WHAT IS HERE !!!!!!!!!!!!!!!!!!!! -->
                                                            <?php endif; ?>
                                                            <button type="button"
                                                                data-id="<?php echo e(Crypt::encryptString($row->id)); ?>"
                                                                id="btn-verify-email" class="text-primary">
                                                                <?php echo e(dbTrans('admin.Check My Email')); ?>

                                                            </button>
                                                        </div>
                                                    <?php endif; ?>

                                                </div><!-- email -->

                                                <div class="col-md-6">
                                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                        'input' => [
                                                            'type' => 'number',
                                                            'name' => 'phone',
                                                            'value' => $row->phone,
                                                            'options' => ['required'],
                                                        ],
                                                        'label' => [
                                                            'text' => dbTrans('admin.Phone Number'),
                                                            'options' => [
                                                                'class' => 'required',
                                                            ],
                                                        ],
                                                    ]] + (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; ?>
                                                </div><!-- phone -->

                                                <div class="col-md-6">
                                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                        'input' => [
                                                            'name' => 'job',
                                                            'value' => $row->job,
                                                            'options' => ['required'],
                                                        ],
                                                        'label' => [
                                                            'text' => dbTrans('admin.Job Title'),
                                                            'options' => ['class' => 'required'],
                                                        ],
                                                    ]] + (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; ?>
                                                </div><!-- job -->

                                                <div class="col-md-6 d-none">
                                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                        'input' => [
                                                            'name' => 'skills',
                                                            'value' => 'Js Bootstrap Php Laravel Css',
                                                            'options' => ['required'],
                                                        ],
                                                        'label' => [
                                                            'text' => dbTrans('admin.Skills'),
                                                    
                                                            'options' => ['class' => 'required'],
                                                        ],
                                                    ]] + (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; ?>
                                                </div><!-- skills -->

                                                <div class="col-md-6 d-none">
                                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                        'input' => [
                                                            'name' => 'country',
                                                            'value' => 'السعودية',
                                                            'options' => ['required'],
                                                        ],
                                                        'label' => [
                                                            'text' => dbTrans('admin.Country'),
                                                            'options' => [
                                                                'class' => 'required',
                                                            ],
                                                        ],
                                                    ]] + (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; ?>
                                                </div><!-- country -->

                                                <div class="col-md-6 d-none">
                                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                        'input' => [
                                                            'name' => 'city',
                                                            'value' => 'الرياض',
                                                            'options' => ['required'],
                                                        ],
                                                        'label' => [
                                                            'text' => dbTrans('admin.City'),
                                                            'options' => [
                                                                'class' => 'required',
                                                            ],
                                                        ],
                                                    ]] + (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; ?>
                                                </div><!-- city -->

                                                <div class="col-md-4 d-none">
                                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                        'input' => [
                                                            'name' => 'zip_code',
                                                            'value' => 111,
                                                        ],
                                                        'label' => [
                                                            'text' => dbTrans('admin.Zip Code'),
                                                        ],
                                                    ]] + (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; ?>
                                                </div><!-- zip_code -->

                                                <div class="col-md-12">
                                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                        'textarea' => [
                                                            'name' => 'about',
                                                            'value' => $row->about,
                                                            'options' => ['required', 'rows' => 5],
                                                        ],
                                                        'label' => [
                                                            'text' => dbTrans('admin.About'),
                                                            'options' => [
                                                                'class' => 'required',
                                                            ],
                                                        ],
                                                    ]] + (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; ?>
                                                </div><!-- about -->

                                            </div><!-- row -->

                                            <div class="buttons-update">
                                                <button type="submit"
                                                    class="btn btn-main"><?php echo e(dbTrans('admin.Update')); ?></button>
                                            </div><!-- Button Update -->

                                        </form><!-- from -->
                                    </div><!-- Personal Data -->

                                    <div class="tab-pane fa_de " id="change-password" role="tabpanel"
                                        aria-labelledby="change-password-tab">

                                        <?php if(canRole(owner()) && $row->id != adminId()): ?>
                                            <form class="ajax-post" action="<?php echo e(route('change-admin-password')); ?>"
                                                method="post">
                                                <?php echo csrf_field(); ?>
                                                <?php echo method_field('PATCH'); ?>

                                                <!-- Start Input ID -->
                                                <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'my-0','properties' => $inputId] + (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; ?>
                                                <!-- End Input ID -->


                                                <div class="owner-update-password">

                                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                        'input' => [
                                                            'name' => 'password',
                                                            'options' => ['required', 'class' => 'accept-random'],
                                                        ],
                                                        'label' => [
                                                            'text' => dbTrans('admin.New Password'),
                                                            'options' => [
                                                                'class' => 'required',
                                                            ],
                                                        ],
                                                    ]] + (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; ?>

                                                    <button type="button" class="generate-random btn btn-soft-main"><i
                                                            class="fa-solid fa-wand-magic-sparkles"></i></button>
                                                </div>

                                                <div class="buttons-update">
                                                    <button type="submit"
                                                        class="btn btn-main"><?php echo e(dbTrans('admin.Change Password')); ?></button>
                                                </div><!-- Button Update -->

                                            </form><!-- from -->
                                        <?php else: ?>
                                            <form class="ajax-post" action="<?php echo e(route('change-profile-password')); ?>"
                                                method="post">

                                                <?php echo csrf_field(); ?>
                                                <?php echo method_field('PATCH'); ?>

                                                <!-- Start Input ID -->
                                                <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'my-0','properties' => $inputId] + (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; ?>
                                                <!-- End Input ID -->


                                                <div class="row">

                                                    <div class="col-md-4">
                                                        <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'mb-1','properties' => [
                                                            'input' => [
                                                                'name' => 'old_password',
                                                                'options' => ['required'],
                                                            ],
                                                            'label' => [
                                                                'text' => dbTrans('admin.Old Password'),
                                                                'options' => [
                                                                    'class' => 'required',
                                                                ],
                                                            ],
                                                        ]] + (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; ?>

                                                        <button type="button"
                                                            data-id="<?php echo e(Crypt::encryptString($row->id)); ?>"
                                                            id="btn-forgot-password"
                                                            class="mb-3 text-secondary font-13 text-decoration-underline">
                                                            <?php echo e(dbTrans('admin.Forget Password')); ?>

                                                        </button>
                                                    </div><!-- old_password -->

                                                    <div class="col-md-4">
                                                        <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                            'input' => [
                                                                'name' => 'password',
                                                                'options' => ['required'],
                                                            ],
                                                            'label' => [
                                                                'text' => dbTrans('admin.New Password'),
                                                                'options' => [
                                                                    'class' => 'required',
                                                                ],
                                                            ],
                                                        ]] + (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; ?>
                                                    </div><!-- new_password -->


                                                    <div class="col-md-4">
                                                        <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                            'input' => [
                                                                'name' => 'password_confirmation',
                                                                'options' => ['required'],
                                                            ],
                                                            'label' => [
                                                                'text' => dbTrans('admin.Confirm Password'),
                                                                'options' => [
                                                                    'class' => 'required',
                                                                ],
                                                            ],
                                                        ]] + (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; ?>
                                                    </div><!-- password_confirmation -->


                                                </div><!-- row -->

                                                <div class="buttons-update">
                                                    <button type="submit"
                                                        class="btn btn-main"><?php echo e(dbTrans('admin.Change Password')); ?></button>
                                                </div><!-- Button Update -->

                                            </form><!-- from -->
                                        <?php endif; ?>
                                    </div><!-- Change Password -->

                                    <div class="tab-pane fa_de" id="experience" role="tabpanel"
                                        aria-labelledby="experience-tab">
                                        <form class=" ajax-post" action="<?php echo e(route('experience')); ?>" method="post">
                                            <?php echo csrf_field(); ?>
                                            <!-- Start Input ID -->
                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'my-0','properties' => $inputId] + (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; ?>
                                            <!-- End Input ID -->

                                            <section id="form-inputs">

                                                <div
                                                    class="<?php if(count($experiences) > 0): ?> <?php echo e('display-none'); ?> <?php endif; ?> text-center exp-empty-box">
                                                    <img class="w256"
                                                        src="<?php echo e(asset('dashboard/images/empty-box.png')); ?>"
                                                        alt="empty" title="Empty">
                                                </div>

                                                <?php $__currentLoopData = $experiences; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $exp): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <div class="row experience-card">

                                                        <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                            'input' => [
                                                                'type' => 'hidden',
                                                                'name' => 'exp_id[]',
                                                                'value' => $exp->id,
                                                            ],
                                                        ]] + (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; ?><!-- exp_id -->

                                                        <div class="col-md-12">
                                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                                'input' => [
                                                                    'name' => 'job_title[]',
                                                                    'value' => $exp->job_title,
                                                                ],
                                                                'label' => [
                                                                    'text' => dbTrans('admin.Job Title'),
                                                                    'options' => [
                                                                        'class' => 'required',
                                                                    ],
                                                                ],
                                                            ]] + (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; ?>
                                                        </div><!-- job_title -->

                                                        <div class="col-md-6">
                                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                                'input' => [
                                                                    'name' => 'company_name[]',
                                                                    'value' => $exp->company_name,
                                                                    'options' => ['required'],
                                                                ],
                                                                'label' => [
                                                                    'text' => dbTrans('admin.Company Name'),
                                                                    'options' => [
                                                                        'class' => 'required',
                                                                    ],
                                                                ],
                                                            ]] + (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; ?>
                                                        </div><!-- company_name -->

                                                        <div class="col-md-3 parents-col-for-start-year">
                                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                                'select' => [
                                                                    'name' => 'start_year[]',
                                                                    'selected' => $exp->start_year,
                                                                    'list' => $years,
                                                                    'options' => [
                                                                        'required',
                                                                        'class' => 'start-year set-years',
                                                                    ],
                                                                ],
                                                                'label' => [
                                                                    'text' => dbTrans('admin.Start Year'),
                                                                    'options' => [
                                                                        'class' => 'required',
                                                                    ],
                                                                ],
                                                            ]] + (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; ?>
                                                        </div><!-- start_year -->

                                                        <div class="col-md-3 parents-col-for-end-year">
                                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                                'select' => [
                                                                    'name' => 'end_year[]',
                                                                    'selected' => $exp->end_year,
                                                                    'list' => $years,
                                                                    'options' => ['required', 'class' => 'end-years'],
                                                                ],
                                                                'label' => [
                                                                    'text' => dbTrans('admin.End Year'),
                                                                    'options' => [
                                                                        'class' => 'required',
                                                                    ],
                                                                ],
                                                            ]] + (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; ?>
                                                        </div><!-- end_year -->

                                                        <div class="col-md-12">
                                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                                'textarea' => [
                                                                    'name' => 'job_desc[]',
                                                                    'value' => $exp->job_desc,
                                                                    'options' => ['required', 'rows' => 3],
                                                                ],
                                                                'label' => [
                                                                    'text' => dbTrans('admin.Job Description'),
                                                                    'options' => [
                                                                        'class' => 'required',
                                                                    ],
                                                                ],
                                                            ]] + (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; ?>
                                                        </div><!-- job_desc -->

                                                        <div class="btn-delete-job btn btn-soft-danger font-15 tip"
                                                            title="Delete"
                                                            data-admin-id="<?php echo e(Crypt::encryptString($row->id)); ?>"
                                                            data-id="<?php echo e($exp->id); ?>">
                                                            <i class="fa-solid fa-trash-can"></i>
                                                        </div>
                                                        <!-- Delete Job -->

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

                                            </section> <!-- form inputs -->

                                            <div class="buttons-update">
                                                <button type="submit" class="btn btn-main">Save</button>
                                                <!-- Button Update -->
                                                <button id="btn-exp-add-new" type="button"
                                                    class="btn btn-soft-main"><?php echo e(dbTrans('admin.Add New')); ?></button>
                                                <!-- Button Add New -->
                                            </div>
                                        </form><!-- from -->
                                    </div><!-- experience -->

                                    <?php if($row->id == adminId()): ?>
                                        <div class="tab-pane fa_de " id="account" role="tabpanel"
                                            aria-labelledby="account-tab">

                                            <div id="security" class="mb-5">
                                                <div class="info">
                                                    <h6 class=" font-weight-600 text-decoration-underline">
                                                        <?php echo e(dbTrans('admin.Security')); ?>:</h6>
                                                    <p class=" text-second mb-0 font-14">
                                                        <?php echo e(dbTrans('admin.Two-factor Authentication')); ?></p>
                                                </div>
                                                <form action="" method="POST">
                                                    <button type="submit"
                                                        class="btn btn-sm btn-success"><?php echo e(dbTrans('admin.Enable')); ?></button>
                                                </form>
                                                <div class="clearfix"></div>
                                            </div><!-- security -->


                                            <div id="delete-account">
                                                <div class="mb-3">
                                                    <h6 class=" font-weight-600 text-decoration-underline mb-2">
                                                        <?php echo e(dbTrans('admin.Delete This Account')); ?>:</h6>
                                                    <p class=" text-second mb-0 font-14">
                                                        <?php echo e(dbTrans('admin.Deleting your account completely from the site, this will delete your data as well')); ?>

                                                    </p>
                                                </div>
                                                <form action="" method="POST">
                                                    <div class="row">
                                                        <div class="col-md-4">
                                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                                'input' => [
                                                                    'name' => 'password',
                                                                    'options' => [
                                                                        'required',
                                                                        'placeholder' => 'Password',
                                                                    ],
                                                                ],
                                                            ]] + (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; ?>
                                                        </div>
                                                    </div>
                                                    <button type="submit"
                                                        class="btn btn-sm btn-soft-danger my-1"><?php echo e(dbTrans('admin.Close & Delete This Account')); ?></button>

                                                    <button type="reset"
                                                        class="btn btn-sm btn-soft-main my-1"><?php echo e(dbTrans('admin.Cancel')); ?></button>
                                                </form>
                                                <div class="clearfix"></div>
                                            </div><!-- security -->


                                        </div><!-- account -->
                                    <?php endif; ?> <!-- Account -->

                                    <?php if(canRole(owner()) && $row->id != adminId()): ?>

                                        <div class="tab-pane
                                                    fa_de "
                                            id="roles" role="tabpanel" aria-labelledby="roles-tab">
                                            <form class="ajax-post" action="<?php echo e(route('change-roles')); ?>" method="post">

                                                <!-- Start Input ID -->
                                                <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'my-0','properties' => $inputId] + (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; ?>
                                                <!-- End Input ID -->

                                                <?php echo csrf_field(); ?>
                                                <?php echo method_field('PATCH'); ?>

                                                <div class="row">
                                                    <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <div class="col-xl-3 col-lg-4 col-sm-6 col-12">
                                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'mb-1 ltr','properties' => [
                                                                'input' => [
                                                                    'name' => 'roles[]',
                                                                    'type' => 'checkbox',
                                                                    'value' => $role,
                                                                    'options' => [
                                                                        'class' => 'd-inline-block',
                                                                        'id' => 'role-' . $role,
                                                                        isset($hasRoles[$role]) ? 'checked' : null,
                                                                    ],
                                                                ],
                                                                'label' => [
                                                                    'text' => Str::headline($role),
                                                                    'options' => [
                                                                        'class' =>
                                                                            'd-inline-block cursor-pointer font-16',
                                                                        'for' => 'role-' . $role,
                                                                    ],
                                                                ],
                                                            ]] + (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; ?>
                                                        </div>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                </div>


                                                <div class="buttons-update">
                                                    <button type="submit"
                                                        class="btn btn-main"><?php echo e(dbTrans('admin.Save')); ?></button>
                                                </div><!-- Button Update -->

                                            </form><!-- from -->
                                        </div><!-- Roles -->

                                        <div class="tab-pane fa_de" id="actions" role="tabpanel"
                                            aria-labelledby="actions-tab">
                                            <form class="delete" action="<?php echo e(route('delete-admin')); ?>" method="POST">

                                                <!-- Start Input ID -->
                                                <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'my-0','properties' => $inputId] + (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; ?>
                                                <!-- End Input ID -->

                                                <?php echo csrf_field(); ?>
                                                <?php echo method_field('DELETE'); ?>

                                                <div id="delete-account">
                                                    <div class="mb-3">
                                                        <h6 class=" font-weight-600 text-decoration-underline mb-2">
                                                            <?php echo e(dbTrans('admin.Delete This Account')); ?> :</h6>
                                                        <p class=" text-second mb-0 font-14">
                                                            <?php echo e(dbTrans('admin.Deleting your account completely from the site, this will delete your data as well')); ?>

                                                        </p>
                                                    </div>


                                                    <button type="submit"
                                                        data-delete="Are you sure to permanently delete ' <?php echo e($row->f_name); ?> ' account ?"
                                                        class="btn btn-sm btn-soft-danger my-1">
                                                        <?php echo e(dbTrans('admin.Close & Delete This Account')); ?> </button>

                                                    <div class="clearfix"></div>
                                                </div><!-- security -->


                                            </form><!-- from -->
                                        </div><!-- Actions -->

                                    <?php endif; ?> <!-- Roles + Actions-->

                                </div>
                            </div><!-- box body -->


                        </div>
                    </section>
                </div><!-- Grid 2 -->


            </div>
        </div>


    </main><!-- end main -->

<?php $__env->stopSection(); ?>

<?php if (isset($component)) { $__componentOriginal4a1e9f4471bc858522cc3c6bd393eb0685be0fb1 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Js::resolve(['links' => [
    [
        'link' => 'admin/profile/edit',
        'type' => 'module',
    ],
    [
        'link' => 'image-preview',
        'from' => 'components',
    ],

    [
        'link' => 'generate-random-characters',
        'from' => 'components',
    ],
]] + (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\internal-real-estate\resources\views/dashboard/admin/profile/edit.blade.php ENDPATH**/ ?>