<div class="menu">
    <?php if(auth()->guard()->guest()): ?>
    <div class="sidenav">
        <div class="welcome">Selamat Datang</div>
        <div class="sidenav_logo">
            <a href="/">
                <picture>
                    <source srcset="<?php echo e(asset('uploads/'.general()->logo)); ?>" type="image/webp">
                    <img src="<?php echo e(asset('uploads/'.general()->logo)); ?>" width="180" alt="Logo <?php echo e(general()->brand); ?>" loading="lazy" style="filter:brightness(100%)">
                </picture>
            </a>
        </div>
        <div class="sidenav_btn">
            <div class="sidenav_btn_title">Silahkan Login atau Daftar</div>
            <div class="sidenav_btn_button">
                <button class="sidenav-login g8pop-login">Masuk</button>
                <button class="sidenav-register">
                    <a href="/register">Daftar</a>
                </button>
            </div>
            <div class="sidenav_btn_forgetpw">
                <a class="g8pop-forgot" href="#">Lupa Rincian Masuk?</a>
            </div>
        </div>
    </div>
    <?php endif; ?>

    <?php if(auth()->guard()->check()): ?>
    <div class="sidenav" style="padding: 20px;">
        <div style="font-size: 13px; font-weight: 500; margin-bottom: 15px;">
            Selamat Datang, <span class="g8-name" style="color: #ffcc00;"><?php echo e(Auth::user()->username); ?></span>
        </div>
        
        <div class="sidenav_logo" style="margin-bottom: 20px; text-align: left;">
            <img src="<?php echo e(asset('uploads/'.general()->logo)); ?>" style="height: 45px; width: auto;" alt="Logo" loading="lazy" onerror="this.src='/assets/custom/img/default.png'">
        </div>
        
        <div style="display: flex; align-items: center; margin-bottom: 15px;">
            <h1 style="margin: 0; font-size: 22px; color: #ffcc00; font-weight: 900; text-shadow: 1px 1px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000; letter-spacing: 0.5px;"><strong class="g8-bal-total"><?php echo e(number_format(Auth::user()->balance ?? 0, 0, ',', '.')); ?></strong>
            </h1>
            <a href="#" class="btn-refresh-balance" style="margin-left: 8px; font-size: 18px; color: #dba957;">
                <i class="fas fa-sync-alt"></i>
            </a>
        </div>
        
        <div class="sidenav_btn">
            <a href="<?php echo e(route('account.logout')); ?>" class="g8-logout" style="color: #fff; background: #3a3a3a; padding: 6px 15px; border-radius: 4px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; border: 1px solid #4a4a4a;">
                Logout <i class="fas fa-sign-out-alt" style="margin-left: 6px;"></i>
            </a>
        </div>
    </div>
    <?php endif; ?>
    <?php if(auth()->guard()->guest()): ?>
    <div class="sidenav-games">
        <ul>
            <li class="games menu-row">
                <div style="flex-direction: row; display: flex; align-items: center;">
                    <div style="display: flex; justify-content: center; align-items: center; width: 26px; height: 26px; margin-right: 10px">
                        <svg viewBox="0 0 24 24" style="width: 26px; height: 26px; overflow: visible; opacity: 1; z-index: 1; fill: rgb(255, 255, 255);">
                            <path d="M0 0h24v24H0z" fill="none"></path>
                            <path d="M15 7.5V2H9v5.5l3 3 3-3zM7.5 9H2v6h5.5l3-3-3-3zM9 16.5V22h6v-5.5l-3-3-3 3zM16.5 9l-3 3 3 3H22V9h-5.5z"></path>
                        </svg>
                    </div>
                    <span>Games</span>
                </div>
                <svg xmlns="http://www.w3.org/2000/svg" height="16" width="10" viewBox="0 0 320 512"><path d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"></path></svg>
                <ul class="all-games" style="display: none;">
                    <li>
                        <a href="/sportsbook">
                            <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/sportsbook-menu-sidebar.png" class="sub-menu black-to-white" alt="sportsbook game" loading="lazy">
                            <span>Sportsbook</span>
                        </a>
                    </li>
                    <li>
                        <a href="/slots-provider">
                            <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/slots-menu-sidebar.png" class="sub-menu black-to-white" alt="slot" loading="lazy">
                            <span>Slots</span>
                        </a>
                    </li>
                    <li>
                        <a href="/livecasino">
                            <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/livecasino-menu-sidebar.png" class="sub-menu black-to-white" alt="livecasino game" loading="lazy">
                            <span>Live Casino</span>
                        </a>
                    </li>
                    <li>
                        <a href="/poker">
                            <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/poker-menu-sidebar.png" class="sub-menu black-to-white" alt="poker game" loading="lazy">
                            <span>Poker</span>
                        </a>
                    </li>
                    <li>
                        <a href="/tangkas">
                            <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/tangkas-menu-sidebar.png" class="sub-menu black-to-white" alt="tangkas game" loading="lazy">
                            <span>Tangkas</span>
                        </a>
                    </li>
                    <li>
                        <a href="/fish">
                            <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/fish-menu-sidebar.png" class="sub-menu black-to-white" alt="fish game" loading="lazy">
                            <span>Fish</span>
                        </a>
                    </li>
                    <li>
                        <a href="/others">
                            <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/others-menu-sidebar.png" class="sub-menu black-to-white" alt="game" loading="lazy">
                            <span>Others</span>
                        </a>
                    </li>
                    <li>
                        <a href="/hot">
                            <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/hot-menu-sidebar.png" class="sub-menu black-to-white" alt="vip" loading="lazy">
                            <span>Hot</span>
                        </a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="/promotions">
                    <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/promotion-menu-sidebar.png" class="black-to-white" alt="promotion" loading="lazy">
                    <span>Promosi</span>
                </a>
            </li>
            <li>
                <a href="/mobile">
                    <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/download-menu-sidebar.png" class="black-to-white" alt="unduh" loading="lazy">
                    <span>Download</span>
                </a>
            </li>
            <li>
                <a href="/contact">
                    <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/contact-menu-sidebar.png" class="black-to-white" alt="affiliate" loading="lazy">
                    <span>Hubungi kami</span>
                </a>
            </li>
        </ul>
    </div>
    <?php endif; ?>
    <?php if(auth()->guard()->check()): ?>
    <div class="sidenav-games">
                    <ul>
                        <li class="misbtn">
                            <a href="#" class="openmis-mob">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/mission-menu-sidebar.png" alt="mission" loading="lazy">
                                <span>Mission</span>
                            </a>
                        </li>
                        <li>
                            <a href="/secure/admin/profile">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/profile-menu-sidebar.png" alt="profile" loading="lazy">
                                <span>Profile</span>
                            </a>
                        </li>
                        <li>
                            <a href="/secure/admin/deposit">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/banking-menu-sidebar.png" alt="banking" loading="lazy">
                                <span>Banking</span>
                            </a>
                        </li>
                        <li class="games">
                            <div style="flex-direction: row; display: flex; align-items: center;">
                                <div style="display: flex; justify-content: center; align-items: center; width: 26px; height: 26px; margin-right: 10px">
                                    <svg viewBox="0 0 24 24" style="width: 26px; height: 26px; overflow: visible; opacity: 1; z-index: 1; fill: rgb(255, 255, 255);">
                                        <path d="M0 0h24v24H0z" fill="none"></path>
                                        <path d="M15 7.5V2H9v5.5l3 3 3-3zM7.5 9H2v6h5.5l3-3-3-3zM9 16.5V22h6v-5.5l-3-3-3 3zM16.5 9l-3 3 3 3H22V9h-5.5z"></path>
                                    </svg>
                                </div>
                                <span>Games</span>
                            </div>
                            <svg xmlns="http://www.w3.org/2000/svg" height="16" width="10" viewBox="0 0 320 512"><path d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"></path></svg>
                            <ul class="all-games" style="display: none;">
                                <li>
                                    <a href="/secure/sportsbook">
                                        <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/sportsbook-menu-sidebar.png" class="sub-menu black-to-white" alt="sportsbook" loading="lazy">
                                        <span>Sportsbook</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/secure/slots-provider">
                                        <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/slots-menu-sidebar.png" class="sub-menu black-to-white" alt="slot" loading="lazy">
                                        <span>Slots</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/secure/livecasino">
                                        <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/livecasino-menu-sidebar.png" class="sub-menu black-to-white" alt="livecasino" loading="lazy">
                                        <span>Live Casino</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/secure/poker">
                                        <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/poker-menu-sidebar.png" class="sub-menu black-to-white" alt="poker" loading="lazy">
                                        <span>Poker</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/secure/tangkas">
                                        <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/tangkas-menu-sidebar.png" class="sub-menu black-to-white" alt="tangkas" loading="lazy">
                                        <span>Tangkas</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/secure/fish">
                                        <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/fish-menu-sidebar.png" class="sub-menu black-to-white" alt="fish" loading="lazy">
                                        <span>Fish</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/secure/others">
                                        <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/others-menu-sidebar.png" class="sub-menu black-to-white" alt="game" loading="lazy">
                                        <span>Others</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/secure/hot">
                                        <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/hot-menu-sidebar.png" class="sub-menu black-to-white" alt="vip" loading="lazy">
                                        <span>Hot</span>
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li>
                            <a href="/secure/admin/bonus">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/bonus-menu-sidebar.png" alt="bonus" loading="lazy">
                                <span>Bonus</span>
                            </a>
                        </li>
                        <li>
                            <a href="/secure/promotions">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/promotion-menu-sidebar.png" class="black-to-white" alt="promotion" loading="lazy">
                                <span>Promosi</span>
                            </a>
                        </li>
                        <li>
                            <a href="/secure/mobile">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/download-menu-sidebar.png" class="black-to-white" alt="download" loading="lazy">
                                <span>Download</span>
                            </a>
                        </li>
                        <li>
                            <a href="/secure/admin/messages">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/messages-menu-sidebar.png" alt="messages" loading="lazy">
                                <span>Messages</span>
                            </a>
                        </li>
                        <li>
                            <a href="/secure/admin/referral">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/referral-menu-sidebar.png" alt="referral" loading="lazy">
                                <span>Refferal</span>
                            </a>
                        </li>
                        <li>
                            <a href="/secure/admin/history">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/history-menu-sidebar.png" alt="history" loading="lazy">
                                <span>History</span>
                            </a>
                        </li>
                        <li>
                            <a href="/secure/contact">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/v2/contact-menu-sidebar.png" class="black-to-white" alt="affiliate" loading="lazy">
                                <span>Hubungi kami</span>
                            </a>
                        </li>
                        <!-- <li>
                            <a href="javascript:void(0)" class="g8-logout">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/desktop.svg" alt="desktop" loading="lazy">
                                <span>Logout</span>
                            </a>
                        </li> -->
                    </ul>
                </div>
    <?php endif; ?>
</div><?php /**PATH /www/wwwroot/website/sewa/9win2api/resources/views/frontend/partials/mobile/sidebar-menu.blade.php ENDPATH**/ ?>