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

    <body data-theme-color="color-blue">
        <div class="page-wraper">


            <style>
                .header .header-content .mid-content {
                    flex: 1;
                    text-align: left;
                }

                .header {
                    background-color: #ed7016;
                    min-height: 55px;
                    z-index: 2;
                    border-bottom: 0px solid #dddddd;
                }

                #preloader {
                    top: 0;
                }

                i.fa-solid.fa-bell {
                    font-size: 22px;
                    color: white;
                    margin-top: 12px;
                    padding-right: 7px;
                }

                i.fa-solid.fa-globe {
                    font-size: 22px;
                    color: white;
                    margin-top: 12px;
                    padding-right: 7px;
                }

                .header .sticky-header {
                    top: 0px;
                    background: #ed7016;
                }

                .toast.style-1.toast-danger {
                    background-color: #1e1e1e5e;
                    color: #fff;
                    border: 0px white solid;
                    backdrop-filter: blur(5px);
                }

                .toast.style-1 .toast-body {
                    display: flex;
                    align-items: center;
                    padding: 14px;
                }

                .toast.style-1.toast-danger .toast-content strong {
                    color: #fff;
                    font-weight: 600;
                }
            </style>


            <!-- Header -->
            <header class="header">
                <div class="main-bar">
                    <div class="container">
                        <div class="header-content">

                            <div class="mid-content">
                                <h5 class="mb-0">Profile</h5>
                            </div>
                            <!--              <div class="right-content">-->
                            <!--                  <a href="javascript:void(0);" class="menu-toggler">-->
                            <!--	<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">-->
                            <!--		<path opacity="0.4" d="M16.0755 2H19.4615C20.8637 2 22 3.14585 22 4.55996V7.97452C22 9.38864 20.8637 10.5345 19.4615 10.5345H16.0755C14.6732 10.5345 13.537 9.38864 13.537 7.97452V4.55996C13.537 3.14585 14.6732 2 16.0755 2Z" fill="#a19fa8"/>-->
                            <!--		<path fill-rule="evenodd" clip-rule="evenodd" d="M4.53852 2H7.92449C9.32676 2 10.463 3.14585 10.463 4.55996V7.97452C10.463 9.38864 9.32676 10.5345 7.92449 10.5345H4.53852C3.13626 10.5345 2 9.38864 2 7.97452V4.55996C2 3.14585 3.13626 2 4.53852 2ZM4.53852 13.4655H7.92449C9.32676 13.4655 10.463 14.6114 10.463 16.0255V19.44C10.463 20.8532 9.32676 22 7.92449 22H4.53852C3.13626 22 2 20.8532 2 19.44V16.0255C2 14.6114 3.13626 13.4655 4.53852 13.4655ZM19.4615 13.4655H16.0755C14.6732 13.4655 13.537 14.6114 13.537 16.0255V19.44C13.537 20.8532 14.6732 22 16.0755 22H19.4615C20.8637 22 22 20.8532 22 19.44V16.0255C22 14.6114 20.8637 13.4655 19.4615 13.4655Z" fill="#a19fa8"/>-->
                            <!--	</svg>-->
                            <!--</a>-->
                            <!--              </div>-->
                        </div>
                    </div>
                </div>
            </header>





            <!--   <div id="preloader">-->
            <!--	<div class="spinner"></div>-->
            <!--</div>-->
            <meta name="theme-color" content="#ed7016">

            <style>
                body {
                    background-color: #fff;
                }

                .header {
                    background: #9ed230 !important;
                    min-height: 40px;
                    border-bottom: 0px solid #dddddd;
                    border-bottom-left-radius: 0%;
                    border-bottom-right-radius: 0%;
                }

                p {
                    margin-top: 0;
                    margin-bottom: 0rem;
                }

                .header .sticky-header {
                    position: fixed;
                    box-shadow: none;
                    background: #ffffff00;
                    transition: all 0.5s;
                    width: 100%;
                }

                .user_main .user_card .item {
                    display: flex;
                    justify-content: space-between;
                }

                .user_main .user_card .item .title {
                    display: inline-block;
                    padding-left: 10px;
                    font-family: sans-serif;
                    font-weight: 400;
                    font-size: 14px;
                    color: #ffffff;
                    line-height: 18px;
                }

                .user_main .user_card .item img {
                    width: 32px;
                    height: 32px;
                }

                .user_main .user_card .item .right_icon {
                    color: #D6D6D6;
                    line-height: 32px;
                    font-weight: bold;
                }

                .logout {
                    padding: 10px;
                    background: #FFFFFF;
                    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.01);
                    border-radius: 10px 10px 10px 10px;
                }

                .logout a {
                    font-family: Arial, Arial;
                    font-weight: 700;
                    font-size: 16px;
                    color: #FF6F47;
                    line-height: 30px;
                }

                .logout img {
                    height: 24px;
                    width: 24px;
                }

                a:hover,
                a:focus,
                a.active {
                    text-decoration: none;
                    outline: none;
                    color: #ffffff;
                }

                .logout a {
                    font-family: 'Poppins';
                    font-weight: 600;
                    font-size: 16px;
                    color: #ffffff;
                    line-height: 30px;
                }

                .content-inner {
                    padding-top: 40px;
                    padding-bottom: 0px;
                }

                .btn {
                    color: white;
                    font-size: 14px;
                    font-weight: 500;
                    padding: 11px;
                }

                .align-items-center {
                    align-items: center !important;
                    margin-top: -15px;
                }

                .fb {
                    padding-bottom: 0px;
                }

                svg {
                    width: 30px;
                    height: 23px;
                    color: white;
                }

                span {
                    position: absolute;
                    right: 34px;
                    top: 26%;
                    color: #b7b7b7;
                    font-size: 12px;
                }

                .layui-row {
                    display: flex;
                    justify-content: space-between;
                    margin-top: 12px;
                }

                .container {
                    padding-top: 3px;
                }

                .mb-0 {
                    margin-bottom: 0 !important;
                    text-align: center;
                    color: white;
                    font-size: 21px;
                }

                a:hover,
                a:focus,
                .fa-solid,
                a.active,
                .fa-solid.active {
                    text-decoration: none;
                    outline: none;
                    color: #ffffff;
                }

                .user-wrap {
                    max-width: 415px;
                    height: 188px;
                    background: url(data:image/png;base64, ) no-repeat;
                    background-size: 100% 100%;
                    border-radius: 8px;
                    margin-top: 16px;
                    padding: 10px;
                    box-sizing: border-box;
                }

                .d-b-c {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                }

                .user-finance.d-b-c {
                    width: 100%;
                    height: 109px;
                    background: #fff;
                    border-radius: 8px;
                    margin-top: 10px;
                    flex-wrap: wrap;
                    padding: 5px 10px;
                    box-sizing: border-box;
                }

                .user-info.d-b-c {
                    width: 100%;
                }

                .avatar {
                    width: 43px;
                    height: 43px;
                    border-radius: 50px;
                    background: url(<?php echo e(asset('assets/app/img/avatar-of-a-man-portrait-of-a-young-guy-illustration-of-male-character-in-modern-color-style-vector.jpg')); ?>);
                    background-size: cover;
                }

                .ml20 {
                    margin-left: 10px;
                }

                .flex-1 {
                    flex: 1;
                }

                .grade {
                    width: 82px;
                    height: 21px;
                    margin-left: 10px;
                }

                .mt10 {
                    margin-top: 5px;
                    font-weight: bold;
                    color: #353535;
                }

                .copy {
                    width: 17px;
                    height: 17px;
                    margin-left: 10px;
                }

                .finance-item {
                    width: 45%;
                }

                .f26 {
                    font-size: 14px;
                }

                .gray6 {
                    color: #666;
                }

                .price {
                    color: #87b922;
                    font-weight: bold;
                }

                .d-s-c {
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;
                }
                }

                .d-b-c {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                }

                .menu-item {
                    width: 180px;
                    height: 65px;
                    background: url(<?php echo e(asset('assets/app/img/download-46.png')); ?>) no-repeat;
                    background-size: 100%;
                    padding: 10px;
                    box-sizing: border-box;
                    font-size: 16px;
                }

                .menu-items {
                    width: 180px;
                    height: 65px;
                    background: url(<?php echo e(asset('assets/app/img/download-47.png')); ?>) no-repeat;
                    background-size: 100%;
                    padding: 10px;
                    box-sizing: border-box;
                    font-size: 16px;
                }

                .menu.d-b-c {

                    height: 65px;
                    margin-top: 16px;
                    column-gap: 5px;
                }

                .user_main .user_list {
                    margin: 0;
                    margin-bottom: 15px;
                    background: ;
                    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.01);
                    border-radius: 7px;
                    border: none;
                }

                .user_main .user_card {
                    margin: 0 15px;
                    padding: 7px 0;
                    border-bottom: .02rem solid hsl(78.17deg 81.4% 57.84%);
                }

                .user_main {
                    padding: 15px;
                    position: unset;
                    border-radius: 0px;
                    margin: 0px;
                    margin-top: -7px;
                }

                .logout {
                    padding: 12px;
                    background: #9ed230 !important;
                    box-shadow: 0px 4px 10px rgba(158, 210, 48, 0.5);

                }

                .user_main .user_card .item .title {
                    display: inline-block;
                    padding-left: 10px;
                    font-family: sans-serif;
                    font-weight: 600;
                    font-size: 14px;
                    color: #a3ea00;
                    line-height: 18px;
                }
            </style>


            <div class="page-content">

                <div class="content-inner pt-0">
                    <div class="container fb">



                        <div class="user-wrap">
                            <div class="user-info d-b-c">
                                <div class="avatar">
                                    <div
                                        style="background-image: url(''); background-position: 0% 0%; background-size: 100% 100%; background-repeat: no-repeat;">
                                    </div>
                                </div>
                                <div class="flex-1 ml20">
                                    <div class="d-s-c">
                                        <div style="font-weight: bold;color: black;"><?php echo e($user->mobile); ?></div>

                                    </div>
                                    <div class="d-s-c f26 mt10">
                                        <div>ID: <?php echo e($user->ref_code); ?></div>

                                    </div>
                                </div>
                            </div>
                            <div class="user-finance d-b-c">
                                <div class="finance-item">
                                    <div class="gray6 f26">Account balance</div>
                                    <div class="f600 f30 mt10 price">
                                        <?php echo e($general->cur_sym); ?><?php echo e(number_format($user->balance + $user->bonus_balance)); ?>

                                    </div>
                                </div>
                                <div class="finance-item">
                                    <div class="gray6 f26">Recharge balance</div>
                                    <div class="f600 f30 mt10 price">
                                        <?php echo e($general->cur_sym); ?><?php echo e(number_format($user->balance)); ?></div>
                                </div>
                                <div class="finance-item">
                                    <div class="gray6 f26">Withdraw balance</div>
                                    <div class="f600 f30 mt10 price">
                                        <?php echo e($general->cur_sym); ?><?php echo e(number_format($user->bonus_balance)); ?></div>
                                </div>
                                <div class="finance-item">
                                    <div class="gray6 f26">Total Withdraw</div>
                                    <div class="f600 f30 mt10 price">
                                        <?php echo e($general->cur_sym); ?><?php echo e(number_format($totalWithdraw)); ?></div>
                                </div>
                            </div>
                        </div>


                        <div class="menu d-b-c">
                            <div class="menu-item" onclick="window.location.href='<?php echo e(route('user.coupon')); ?>'">
                                <div
                                    style="
                            font-size: 13px;
                            font-weight: 600;
                        ">
                                    Gift Code</div>
                                <div>
                                    <div
                                        style="background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAAoCAYAAACmTknCAAAAAXNSR0IArs4c6QAABNRJREFUaEPlml1oHFUUx3+nSZO2SCvUqiiVbBM/4mdL60e0VCtRwRetpX5tigmiWEVJHhQflGRRpA+C9kFIIWiECgpR+iA0UlNLX6SavgilNUZJapNsNI0xKfnYbPbonZ0Nu8lsZyY7mdh6X3bZP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G5ZH/7bifxYGlOYLRZymv2mNuae9hoop5RPL3MS+425rBx4HDMad0e6pmbkZYmErfNO2y0U96Igg+40/i0OHe8itFfa332CtZcqcnW05wEhVBTPli6PN6UZimPWimeaf8PCUmmd0gkVzy89EVDB+icyW1uktjiYVXgOpolEx95KgQdrQVJvDo30nlT3WEAjJ5mCgOClZaGftjIaPcuhCuCfc51BKFeIjWzOpmTf9eKCHu2N6Ugm+1SkAJLNkjZpSA/WqUgK5c3ItSCFDawRiURWhlPvB1IKUj2aNlSkxH1Cyn+OSUiozl+T31SRmnJKwUV/6RS+4005DV7PEXcIf1NP7Oru8al3OsvsGpS+kzZl6dyr+si9yBF96OyBVG73CtTJ2PKvYijki73mqGDs92dCyn3+gfXcGos2V76eAAAAABJRU5ErkJggg==); background-size: 100% 100%;">
                                    </div>
                                    <img src="<?php echo e(asset('assets/app/img/download-48.png')); ?>" draggable="false"
                                        style="width: 27px;">
                                </div>
                            </div>
                            <div class="menu-items" onclick="window.location.href='<?php echo e(route('user.investment.log')); ?>'">
                                <div
                                    style="
                            font-size: 13px;
                            font-weight: 600;
                        ">
                                    My order</div>
                                <div>
                                    <div
                                        style="background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAAoCAYAAACmTknCAAAAAXNSR0IArs4c6QAABStJREFUaEPdWl1sk1UYfs7XMjaCYIKo0ZCwoIZpjBAG25CgdVX8uVBi8CeAzCjGYUzQROOFOgaJMcYEuZBg3IUYjN5gvFK4aEbwYsI6hClbHcaMDbCbNauwtV1/zqtv93X51n3fvtP261f13Gxpn/Oe87zv2/P3vAJFNCISAJYCuFX/ez2AGgDzdXOTAOIAogD+APA7gBEhBM013J5O8m68DmsoI/0A1YPESgjcDIDtc4uCECZBIQERFJp24uQ4Tu3xiXShNJiAciOiRQDqANwOYIFyxylgDMAFAOeFEOPGvoEgrUBavgyBbUCWaCEtDIEjyUzy40eaagZVOyoRJyKO5loAdwDQVI1b4Dg6AwB6vj0xsbh6Qc0+EFog4C3JLiEBgc8SsXj7Y76FYTtbtsSJiKO73pDGdjaVvu/7Ta4OR/CMIY2V+imAIiRot3+d94u5sJbEicgD4F4AKxUGU4akJLw/9tOz4xO0QblTccBDQ7Gh15731SbMupsS10k/BGBZcWOa92LS3T/JXYlJ3OWkXStbBDo2HBvebEZ+FvH/C+mcM6zImxHnFLzT6Yh0/5zZei0mNjptV9FeR3ODZ6cRO4M4Ed0G4AFFY8qwgYtYd2lEvqDcoQxAArX4G7yHc6anietb1hYA1U6Oe20Ci3r6ZZuUWGhmN5NOw+MtbSdTnG80EYvX5bY6I3HXU/zolwfQ/cNx7P3ga1TNd9TfVr6YTvkscSLiaDwFlHiIyBtu7C+55OwA2okwL38mTPrgR69nP17buMkd8oR0SqbqHl5f/WuOeAOAexRTRhl2JkRPRq8Sb4uz2uFP2/F5x97pz10k/2Fzo+cNoV84thZx9p7TAVJC+...">
                                    </div>
                                    <img src="<?php echo e(asset('assets/app/img/download-49.png')); ?>" draggable="false"
                                        style="width: 27px;">
                                </div>
                            </div>
                        </div>




                        <div class="user_main" style="background: #ffffff00">


                            <div class="user_list">
                                <div class="user_card">
                                    <div class="item">
                                        <a href="<?php echo e(route('user.coupon')); ?>" style="width: 100%">
                                            <img src="<?php echo e(asset('assets/app/img/plane-ticket.png')); ?>"
                                                style="display: inline">
                                            <p class="title">Redeem Code</p>
                                        </a>
                                        <p class="right_icon"><i class="fa-solid fa-chevron-right"
                                                style="color: rgb(171, 171, 179);"></i></p>
                                    </div>
                                </div>

                                <div class="user_card">
                                    <div class="item">
                                        <a href="<?php echo e(route('user.deposit.history')); ?>" style="width: 100%">
                                            <img src="<?php echo e(asset('assets/app/img/ticket.png')); ?>" style="display: inline">
                                            <p class="title">Recharge Record</p>
                                        </a>
                                        <p class="right_icon"><i class="fa-solid fa-chevron-right"
                                                style="color: rgb(171, 171, 179);"></i></p>
                                    </div>
                                </div>

                                <div class="user_card">
                                    <div class="item">
                                        <a href="<?php echo e(route('user.withdraw.history')); ?>" style="width: 100%">
                                            <img src="<?php echo e(asset('assets/app/img/ticket.png')); ?>" style="display: inline">
                                            <p class="title">Withdraw Record</p>
                                        </a>
                                        <p class="right_icon"><i class="fa-solid fa-chevron-right"
                                                style="color: rgb(171, 171, 179);"></i></p>
                                    </div>
                                </div>

                                <div class="user_card">
                                    <div class="item">
                                        <a href="<?php echo e(route('user.trx.log')); ?>" style="width: 100%">
                                            <img src="<?php echo e(asset('assets/app/img/digital-rain.png')); ?>"
                                                style="display: inline">
                                            <p class="title">Income Record</p>
                                        </a>
                                        <p class="right_icon"><i class="fa-solid fa-chevron-right"
                                                style="color: rgb(171, 171, 179);"></i></p>
                                    </div>
                                </div>
                                <div class="user_card">
                                    <div class="item">
                                        <a href="<?php echo e(route('user.change.password')); ?>" style="width: 100%">
                                            <img src="<?php echo e(asset('assets/app/img/airplane.png')); ?>"
                                                style="display: inline">
                                            <p class="title">Secrity Manager</p>
                                        </a>
                                        <p class="right_icon"><i class="fa-solid fa-chevron-right"
                                                style="color: rgb(171, 171, 179);"></i></p>
                                    </div>
                                </div>

                            </div>

                            <div class="logout"
                                style="border-radius: 5px;text-align: center;margin-bottom: 80px;width: 95%;margin-left: 9px;">
                                <a href="<?php echo e(route('user.logout')); ?>"
                                    style="display: block; text-decoration: none; line-height: 20px; font-size: 18px;">

                                    LOGOUT
                                </a>
                            </div>

                        </div>


                    </div>
                </div>
            </div>

            <!-- Menubar -->

            <div class="menubar-area">
                <div class="toolbar-inner menubar-nav">
                    <a href="<?php echo e(route('user.home')); ?>" class="nav-link ">
                        <img src="<?php echo e(asset('assets/app/img/home.png')); ?>" style="width: 40px;">
                        <label style="font-size:12px; font-weight: 600; margin-top:-5px;">Home</label>
                    </a>
                    <a href="<?php echo e(route('user.investment')); ?>" class="nav-link ">
                        <img src="<?php echo e(asset('assets/app/img/plan.png')); ?>" style="width: 40px;">

                        <label style="font-size: 12px; font-weight: 600; margin-top:-5px;">Plans</label>
                    </a>
                    <a href="<?php echo e(route('user.referrals')); ?>" class="nav-link ">
                        <img src="<?php echo e(asset('assets/app/img/team.png')); ?>" style="width: 40px;">
                        <label style="font-size: 12px; font-weight: 600; margin-top:-5px;">Team</label>
                    </a>
                    <a href="<?php echo e(route('user.profile.setting')); ?>" class="nav-link ">
                        <img src="<?php echo e(asset('assets/app/img/profile_a.png')); ?>" style="width: 40px;">

                        <label style="font-size: 12px; font-weight: 600; margin-top:-5px;color: #6fa31d;">Profile</label>
                    </a>
                </div>
            </div>
            <!-- Menubar -->

            <script>
                function uploadProfile() {
                    let input = document.createElement("input");
                    input.accept = ".png,.jpg,.jpeg";
                    input.type = "file";
                    input.onchange = function() {
                        const file = input.files[0];
                        if (file) {
                            const reader = new FileReader();

                            reader.onload = () => {
                                const base64String = reader.result.split(",")[1];
                                document.querySelector("#profileImage").src = "data:image/png;base64," + base64String;
                                $.post("/home/upload_profile_image", {
                                    data: base64String
                                }, (data) => {

                                });
                            };

                            reader.readAsDataURL(file);
                        }
                    }
                    input.click();



                }
            </script>


            <style>
                .menubar-area .toolbar-inner .nav-link.active:after,
                .menubar-area .toolbar-inner .menu-toggler.active:after {
                    content: "";
                    position: absolute;
                    bottom: -11px;
                    height: 5px;
                    background: #340166;
                }

                .menubar-area {
                    position: fixed;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    background: #fff;
                    padding: 20px;
                    z-index: 999;
                    padding-top: 12px !important;
                    padding-bottom: 10px !important;
                    border-radius: 8px 8px 0px 0px;
                    box-shadow: 0 12px 26px 0 rgba(0, 0, 0, 0.3);
                }

                a:hover,
                a:focus,
                .fa-solid,
                a.active,
                .fa-solid.active {
                    text-decoration: none;
                    outline: none;
                    color: var(--primary-hover);
                }
            </style>




        </div>


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

<?php echo $__env->make('layouts.users', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/nissan/core/resources/views/templates/basic/user/profile_setting.blade.php ENDPATH**/ ?>