<?php
    // DUMMY DATA: Kategori Game beserta Provider-nya
    $navMenus = [
        [
            'name'  => 'Slot',
            'slug'  => 'slot',
            'args'  => "'slot'",
            'icon'  => 'game-icon3',
            'providers' => [
                ['name' => 'PragmaticPlay', 'slug' => 'pragmaticplay', 'args' => "'pragmaticplay', '1', 'Slot'", 'img' => '/assets/brand/game/2/3-PragmaticPlay.webp?v=2', 'badge' => 'Promo', 'maintenance' => false],
                ['name' => 'PGSoft',        'slug' => 'pgsoft',        'args' => "'pgsoft', '1', 'Slot'",        'img' => '/assets/brand/game/2/3-PGSoft.webp?v=2',        'badge' => null,    'maintenance' => false],
                ['name' => 'Playtech',      'slug' => 'playtech',      'args' => "'playtech', '1', 'Slot'",      'img' => '/assets/brand/game/2/3-Playtech.webp?v=2',      'badge' => null,    'maintenance' => false],
                ['name' => 'BESOFT',        'slug' => 'besoft',        'args' => "'besoft', '1', 'Slot'",        'img' => '/assets/brand/game/2/3-BESOFT.webp?v=2',        'badge' => null,    'maintenance' => false],
                ['name' => 'FatPanda',      'slug' => 'fatpanda',      'args' => "'fatpanda', '1', 'Slot'",      'img' => '/assets/brand/game/2/3-FatPanda.webp?v=2',      'badge' => null,    'maintenance' => false],
                ['name' => 'SpadeGaming',   'slug' => 'spadegaming',   'args' => "'spadegaming', '1', 'Slot'",   'img' => '/assets/brand/game/2/3-SpadeGaming.webp?v=2',   'badge' => 'Promo', 'maintenance' => false],
                ['name' => 'Habanero',      'slug' => 'habanero',      'args' => "'habanero', '1', 'Slot'",      'img' => '/assets/brand/game/2/3-Habanero.webp?v=2',      'badge' => null,    'maintenance' => false],
                ['name' => 'OG',            'slug' => 'og',            'args' => "'og', '1', 'Slot'",            'img' => '/assets/brand/game/2/3-OG.webp?v=2',            'badge' => null,    'maintenance' => false],
                ['name' => 'ClotPlay',      'slug' => 'clotplay',      'args' => "'clotplay', '1', 'Slot'",      'img' => '/assets/brand/game/2/3-ClotPlay.webp?v=2',      'badge' => null,    'maintenance' => false],
                ['name' => '5G',            'slug' => '5g',            'args' => "'5g', '1', 'Slot'",            'img' => '/assets/brand/game/2/3-5G.webp?v=2',            'badge' => null,    'maintenance' => false],
                ['name' => 'FastSpin',      'slug' => 'fastspin',      'args' => "'fastspin', '1', 'Slot'",      'img' => '/assets/brand/game/2/3-FastSpin.webp?v=2',      'badge' => 'Promo', 'maintenance' => false],
                ['name' => 'NLC',           'slug' => 'nlc',           'args' => "'nlc', '1', 'Slot'",           'img' => '/assets/brand/game/2/3-NLC.webp?v=2',           'badge' => 'Promo', 'maintenance' => false],
                ['name' => 'GGSoft',        'slug' => 'ggsoft',        'args' => "'ggsoft', '1', 'Slot'",        'img' => '/assets/brand/game/2/3-GGSoft.webp?v=2',        'badge' => 'NEW',   'maintenance' => false],
                ['name' => 'Nines',         'slug' => 'nines',         'args' => "'nines', '1', 'Slot'",         'img' => '/assets/brand/game/2/3-Nines.webp?v=2',         'badge' => null,    'maintenance' => false],
                ['name' => 'VPower',        'slug' => 'vpower',        'args' => "'vpower', '1', 'Slot'",        'img' => '/assets/brand/game/2/3-VPower.webp?v=2',        'badge' => null,    'maintenance' => false],
                ['name' => 'AIGaming',      'slug' => 'aigaming',      'args' => "'aigaming', '1', 'Slot'",      'img' => '/assets/brand/game/2/3-AIGaming.webp?v=2',      'badge' => null,    'maintenance' => false],
                ['name' => 'RICH88',        'slug' => 'rich88',        'args' => "'rich88', '1', 'Slot'",        'img' => '/assets/brand/game/2/3-RICH88.webp?v=2',        'badge' => null,    'maintenance' => false],
                ['name' => 'Live22',        'slug' => 'live22',        'args' => "'live22', '1', 'Slot'",        'img' => '/assets/brand/game/2/3-Live22.webp?v=2',        'badge' => null,    'maintenance' => false],
                ['name' => 'PlayStar',      'slug' => 'playstar',      'args' => "'playstar', '1', 'Slot'",      'img' => '/assets/brand/game/2/3-PlayStar.webp?v=2',      'badge' => 'Promo', 'maintenance' => false],
                ['name' => 'Evoplay',       'slug' => 'evoplay',       'args' => "'evoplay', '1', 'Slot'",       'img' => '/assets/brand/game/2/3-Evoplay.webp?v=2',       'badge' => null,    'maintenance' => false],
                ['name' => 'CQ9',           'slug' => 'cq9',           'args' => "'cq9', '1', 'Slot'",           'img' => '/assets/brand/game/2/3-CQ9.webp?v=2',           'badge' => null,    'maintenance' => false],
                ['name' => 'Hacksaw',       'slug' => 'hacksaw',       'args' => "'hacksaw', '1', 'Slot'",       'img' => '/assets/brand/game/2/3-Hacksaw.webp?v=2',       'badge' => null,    'maintenance' => false],
                ['name' => 'KAGaming',      'slug' => 'kagaming',      'args' => "'kagaming', '1', 'Slot'",      'img' => '/assets/brand/game/2/3-KAGaming.webp?v=2',      'badge' => null,    'maintenance' => false],
                ['name' => 'OneGame',       'slug' => 'onegame',       'args' => "'onegame', '1', 'Slot'",       'img' => '/assets/brand/game/2/3-OneGame.webp?v=2',       'badge' => null,    'maintenance' => false],
                ['name' => 'JILI',          'slug' => 'jili',          'args' => "'jili', '1', 'Slot'",          'img' => '/assets/brand/game/2/3-JILI.webp?v=2',          'badge' => null,    'maintenance' => false],
                ['name' => 'JDB',           'slug' => 'jdb',           'args' => "'jdb', '1', 'Slot'",           'img' => '/assets/brand/game/2/3-JDB.webp?v=2',           'badge' => null,    'maintenance' => false],
                ['name' => 'LGD',           'slug' => 'lgd',           'args' => "'lgd', '1', 'Slot'",           'img' => '/assets/brand/game/2/3-LGD.webp?v=2',           'badge' => null,    'maintenance' => false],
                ['name' => 'Ameba',         'slug' => 'ameba',         'args' => "'ameba', '1', 'Slot'",         'img' => '/assets/brand/game/2/3-Ameba.webp?v=2',         'badge' => null,    'maintenance' => false],
                ['name' => 'Microgaming',   'slug' => 'microgaming',   'args' => "'microgaming', '1', 'Slot'",   'img' => '/assets/brand/game/2/3-Microgaming.webp?v=2',   'badge' => null,    'maintenance' => false],
                ['name' => 'BP',            'slug' => 'bp',            'args' => "'bp', '1', 'Slot'",            'img' => '/assets/brand/game/2/3-BP.webp?v=2',            'badge' => null,    'maintenance' => false],
                ['name' => 'AdvantPlay',    'slug' => 'advantplay',    'args' => "'advantplay', '1', 'Slot'",    'img' => '/assets/brand/game/2/3-AdvantPlay.webp?v=2',    'badge' => null,    'maintenance' => false],
                ['name' => 'SimplePlay',    'slug' => 'simpleplay',    'args' => "'simpleplay', '1', 'Slot'",    'img' => '/assets/brand/game/2/3-SimplePlay.webp?v=2',    'badge' => 'NEW',   'maintenance' => false],
            ]
        ],
        [
            'name'  => 'DD&Togel',
            'slug'  => 'ddtogel',
            'args'  => "'ddtogel', '1', 'DD&Togel'",
            'icon'  => 'game-icon6',
            'providers' => [
                ['name' => 'Togel', 'slug' => 'togel', 'args' => "'togel', '1', 'DD&Togel'", 'img' => '/assets/brand/game/2/6-Togel.webp?v=2', 'badge' => null, 'maintenance' => false],
            ]
        ],
        [
            'name'  => 'Live Casino',
            'slug'  => 'livecasino',
            'args'  => "'livecasino'",
            'icon'  => 'game-icon2',
            'providers' => [
                ['name' => 'PragmaticPlay', 'slug' => 'pragmaticplay', 'args' => "'pragmaticplay', '3', 'Live Casino'", 'img' => '/assets/brand/game/2/2-PragmaticPlay.webp?v=2', 'badge' => null,  'maintenance' => false],
                ['name' => 'AESexy',        'slug' => 'aesexy',        'args' => "'aesexy', '3', 'Live Casino'",        'img' => '/assets/brand/game/2/2-AESexy.webp?v=2',        'badge' => 'Hot',   'maintenance' => false],
                ['name' => 'Trillion',      'slug' => 'trillion',      'args' => "'trillion', '3', 'Live Casino'",      'img' => '/assets/brand/game/2/2-Trillion.webp?v=2',      'badge' => null,    'maintenance' => false],
                ['name' => 'Playtech',      'slug' => 'playtech',      'args' => "'playtech', '5', 'Live Casino'",      'img' => '/assets/brand/game/2/2-Playtech.webp?v=2',      'badge' => 'Hot',   'maintenance' => false],
                ['name' => 'Miki',          'slug' => 'miki',          'args' => "'miki', '3', 'Live Casino'",          'img' => '/assets/brand/game/2/2-Miki.webp?v=2',          'badge' => null,    'maintenance' => false],
                ['name' => 'OG',            'slug' => 'og',            'args' => "'og', '3', 'Live Casino'",            'img' => '/assets/brand/game/2/2-OG.webp?v=2',            'badge' => null,    'maintenance' => false],
                ['name' => 'VIA',           'slug' => 'via',           'args' => "'via', '3', 'Live Casino'",           'img' => '/assets/brand/game/2/2-VIA.webp?v=2',           'badge' => null,    'maintenance' => false],
                ['name' => 'WM',            'slug' => 'wm',            'args' => "'wm', '3', 'Live Casino'",            'img' => '/assets/brand/game/2/2-WM.webp?v=2',            'badge' => null,    'maintenance' => false],
                ['name' => 'SA',            'slug' => 'sa',            'args' => "'sa', '3', 'Live Casino'",            'img' => '/assets/brand/game/2/2-SA.webp?v=2',            'badge' => null,    'maintenance' => false],
                ['name' => 'DreamGaming',   'slug' => 'dreamgaming',   'args' => "'dreamgaming', '3', 'Live Casino'",   'img' => '/assets/brand/game/2/2-DreamGaming.webp?v=2',   'badge' => null,    'maintenance' => false],
                ['name' => 'LG88',          'slug' => 'lg88',          'args' => "'lg88', '3', 'Live Casino'",          'img' => '/assets/brand/game/2/2-LG88.webp?v=2',          'badge' => null,    'maintenance' => true],
            ]
        ],
        [
            'name'  => 'Sports',
            'slug'  => 'sports',
            'args'  => "'sports'",
            'icon'  => 'game-icon1',
            'providers' => [
                ['name' => 'SBO',  'slug' => 'sbo',  'args' => "'sbo', '1', 'Sports'",  'img' => '/assets/brand/game/2/1-SBO.webp?v=2',  'badge' => null, 'maintenance' => false],
                ['name' => 'CMD',  'slug' => 'cmd',  'args' => "'cmd', '3', 'Sports'",  'img' => '/assets/brand/game/2/1-CMD.webp?v=2',  'badge' => null, 'maintenance' => false],
                ['name' => 'Saba', 'slug' => 'saba', 'args' => "'saba', '3', 'Sports'", 'img' => '/assets/brand/game/2/1-Saba.webp?v=2', 'badge' => null, 'maintenance' => false],
            ]
        ],
        [
            'name'  => 'Sabung Ayam',
            'slug'  => 'sabungayam',
            'args'  => "'sabungayam'",
            'icon'  => 'game-icon10',
            'providers' => [
                ['name' => 'SV388', 'slug' => 'sv388', 'args' => "'sv388', '3', 'Sabung Ayam'", 'img' => '/assets/brand/game/2/10-SV388.webp?v=2', 'badge' => null, 'maintenance' => false],
                ['name' => 'WS168', 'slug' => 'ws168', 'args' => "'ws168', '3', 'Sabung Ayam'", 'img' => '/assets/brand/game/2/10-WS168.webp?v=2', 'badge' => 'NEW',  'maintenance' => false],
                ['name' => 'GA28',  'slug' => 'ga28',  'args' => "'ga28', '3', 'Sabung Ayam'",  'img' => '/assets/brand/game/2/10-GA28.webp?v=2',  'badge' => null, 'maintenance' => false],
            ]
        ],
        [
            'name'  => 'E-Sports',
            'slug'  => 'esports',
            'args'  => "'esports', '3', 'E-Sports'",
            'icon'  => 'game-icon11',
            'providers' => [
                ['name' => 'TFGaming', 'slug' => 'tfgaming', 'args' => "'tfgaming', '3', 'E-Sports'", 'img' => '/assets/brand/game/2/11-TFGaming.webp?v=2', 'badge' => null, 'maintenance' => false],
            ]
        ],
        [
            'name'  => 'Fishing',
            'slug'  => 'fishing',
            'args'  => "'fishing'",
            'icon'  => 'game-icon4',
            'providers' => [
                ['name' => 'FastSpin',   'slug' => 'fastspin',   'args' => "'fastspin', '1', 'Fishing'",   'img' => '/assets/brand/game/2/4-FastSpin.webp?v=2',   'badge' => null,  'maintenance' => false],
                ['name' => 'CQ9',        'slug' => 'cq9',        'args' => "'cq9', '1', 'Fishing'",        'img' => '/assets/brand/game/2/4-CQ9.webp?v=2',        'badge' => null,  'maintenance' => false],
                ['name' => 'KAGaming',   'slug' => 'kagaming',   'args' => "'kagaming', '1', 'Fishing'",   'img' => '/assets/brand/game/2/4-KAGaming.webp?v=2',   'badge' => null,  'maintenance' => false],
                ['name' => 'JILI',       'slug' => 'jili',       'args' => "'jili', '1', 'Fishing'",       'img' => '/assets/brand/game/2/4-JILI.webp?v=2',       'badge' => null,  'maintenance' => false],
                ['name' => 'JDB',        'slug' => 'jdb',        'args' => "'jdb', '1', 'Fishing'",        'img' => '/assets/brand/game/2/4-JDB.webp?v=2',        'badge' => null,  'maintenance' => false],
                ['name' => 'SimplePlay', 'slug' => 'simpleplay', 'args' => "'simpleplay', '1', 'Fishing'", 'img' => '/assets/brand/game/2/4-SimplePlay.webp?v=2', 'badge' => 'NEW', 'maintenance' => false],
            ]
        ],
        [
            'name'  => 'Crash Game',
            'slug'  => 'crashgame',
            'args'  => "'crashgame'",
            'icon'  => 'game-icon13',
            'providers' => [
                ['name' => 'PragmaticPlay', 'slug' => 'pragmaticplay', 'args' => "'pragmaticplay', '1', 'Crash Game'", 'img' => '/assets/brand/game/2/13-PragmaticPlay.webp?v=2', 'badge' => null, 'maintenance' => false],
                ['name' => 'ClotPlay',      'slug' => 'clotplay',      'args' => "'clotplay', '1', 'Crash Game'",      'img' => '/assets/brand/game/2/13-ClotPlay.webp?v=2',      'badge' => null, 'maintenance' => false],
                ['name' => 'JILI',          'slug' => 'jili',          'args' => "'jili', '1', 'Crash Game'",          'img' => '/assets/brand/game/2/13-JILI.webp?v=2',          'badge' => null, 'maintenance' => false],
                ['name' => 'Microgaming',   'slug' => 'microgaming',   'args' => "'microgaming', '1', 'Crash Game'",   'img' => '/assets/brand/game/2/13-Microgaming.webp?v=2',   'badge' => null, 'maintenance' => false],
            ]
        ],
        [
            'name'  => 'Table Game',
            'slug'  => 'tablegame',
            'args'  => "'tablegame'",
            'icon'  => 'game-icon7',
            'providers' => [
                ['name' => 'ETG',        'slug' => 'etg',        'args' => "'etg', '1', 'Table Game'",        'img' => '/assets/brand/game/2/7-ETG.webp?v=2',        'badge' => null,  'maintenance' => false],
                ['name' => 'KingMidas',  'slug' => 'kingmidas',  'args' => "'kingmidas', '1', 'Table Game'",  'img' => '/assets/brand/game/2/7-KingMidas.webp?v=2',  'badge' => null,  'maintenance' => false],
                ['name' => 'Miki',       'slug' => 'miki',       'args' => "'miki', '3', 'Table Game'",       'img' => '/assets/brand/game/2/7-Miki.webp?v=2',       'badge' => null,  'maintenance' => false],
                ['name' => 'JILI',       'slug' => 'jili',       'args' => "'jili', '1', 'Table Game'",       'img' => '/assets/brand/game/2/7-JILI.webp?v=2',       'badge' => null,  'maintenance' => false],
                ['name' => 'SimplePlay', 'slug' => 'simpleplay', 'args' => "'simpleplay', '1', 'Table Game'", 'img' => '/assets/brand/game/2/7-SimplePlay.webp?v=2', 'badge' => 'NEW', 'maintenance' => false],
            ]
        ],
        [
            'name'  => 'Bingo',
            'slug'  => 'bingo',
            'args'  => "'bingo', '1', 'Bingo'",
            'icon'  => 'game-icon14',
            'providers' => [
                ['name' => 'Gemini', 'slug' => 'gemini', 'args' => "'gemini', '1', 'Bingo'", 'img' => '/assets/brand/game/2/14-Gemini.webp?v=2', 'badge' => 'NEW', 'maintenance' => false],
            ]
        ],
        [
            'name'  => 'Arcade',
            'slug'  => 'arcade',
            'args'  => "'arcade'",
            'icon'  => 'game-icon5',
            'providers' => [
                ['name' => 'PragmaticPlay', 'slug' => 'pragmaticplay', 'args' => "'pragmaticplay', '1', 'Arcade'", 'img' => '/assets/brand/game/2/5-PragmaticPlay.webp?v=2', 'badge' => null, 'maintenance' => false],
                ['name' => 'PGSoft',        'slug' => 'pgsoft',        'args' => "'pgsoft', '2', 'Arcade'",        'img' => '/assets/brand/game/2/5-PGSoft.webp?v=2',        'badge' => null, 'maintenance' => false],
                ['name' => 'RICH88',        'slug' => 'rich88',        'args' => "'rich88', '1', 'Arcade'",        'img' => '/assets/brand/game/2/5-RICH88.webp?v=2',        'badge' => null, 'maintenance' => false],
                ['name' => 'Evoplay',       'slug' => 'evoplay',       'args' => "'evoplay', '1', 'Arcade'",       'img' => '/assets/brand/game/2/5-Evoplay.webp?v=2',       'badge' => null, 'maintenance' => false],
                ['name' => 'CQ9',           'slug' => 'cq9',           'args' => "'cq9', '1', 'Arcade'",           'img' => '/assets/brand/game/2/5-CQ9.webp?v=2',           'badge' => null, 'maintenance' => false],
                ['name' => 'Hacksaw',       'slug' => 'hacksaw',       'args' => "'hacksaw', '1', 'Arcade'",       'img' => '/assets/brand/game/2/5-Hacksaw.webp?v=2',       'badge' => null, 'maintenance' => false],
                ['name' => 'KAGaming',      'slug' => 'kagaming',      'args' => "'kagaming', '1', 'Arcade'",      'img' => '/assets/brand/game/2/5-KAGaming.webp?v=2',      'badge' => null, 'maintenance' => false],
                ['name' => 'JILI',          'slug' => 'jili',          'args' => "'jili', '1', 'Arcade'",          'img' => '/assets/brand/game/2/5-JILI.webp?v=2',          'badge' => null, 'maintenance' => false],
                ['name' => 'Microgaming',   'slug' => 'microgaming',   'args' => "'microgaming', '1', 'Arcade'",   'img' => '/assets/brand/game/2/5-Microgaming.webp?v=2',   'badge' => null, 'maintenance' => false],
            ]
        ],
    ];
?>

<div class="master-main gamenavbar-container gamenavbar1 mainnavbar1 mainnavbar-container mainnavbar1-design1">
    <div class="container">
        <div class="row">
            <div class="col-xs-12 col-md-12 navbar-container p-0">
                <div class="navbar-content">
                    
                    <ul class="nav navbar-nav">
                        
                        
                        <?php $__currentLoopData = $navMenus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li class="gamemenu <?php echo e($loop->first ? 'selected first' : ''); ?>">
                            
                            
                            <a href="javascript:;" 
                               data-link="<?php echo e(route('account.games', ['slug' => $menu['slug'], 'gc' => $menu['slug']])); ?>" 
                               onclick="clickGame(this, <?php echo $menu['args']; ?>);">
                                <span class="gameicon svg-icon" data-file="solid_5" data-game="<?php echo e($menu['icon']); ?>"></span><?php echo e($menu['name']); ?>

                            </a>

                            
                            <?php if(!empty($menu['providers'])): ?>
                            <ul class="dropdown-menu" style="display: none;">
                                <div class="gameprovider-menu container">
                                    
                                    
                                    <?php $__currentLoopData = $menu['providers']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $provider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li class="gameprovider-item">
                                        
                                        
                                        <?php if($provider['maintenance']): ?>
                                            <a class="gameprovider-content" href="javascript:;" onclick="alert('Saat ini game sedang dalam pemeliharaan. Sila coba lagi nanti');">
                                                <img class="img-responsive img-center layer-1" src="/assets/brand/game/2/Maintenance_ID.webp?v=2">
                                                <img class="img-responsive img-center layer-2" alt="<?php echo e($provider['name']); ?>" title="<?php echo e($provider['name']); ?>" src="<?php echo e($provider['img']); ?>">
                                            </a>
                                            
                                        
                                        <?php else: ?>
                                            <a class="gameprovider-content" href="javascript:;" 
                                               data-link="<?php echo e(route('account.games', ['slug' => $menu['slug'], 'gc' => $menu['slug'], 'gg' => $provider['slug']])); ?>" 
                                               onclick="clickGame(this, <?php echo $provider['args']; ?>)">
                                                <img class="img-responsive img-center layer-1" src="/assets/brand/game/2/Color_Gold_ID.webp?v=2">
                                                <img class="img-responsive img-center layer-2" alt="<?php echo e($provider['name']); ?>" title="<?php echo e($provider['name']); ?>" src="<?php echo e($provider['img']); ?>">
                                            </a>
                                        <?php endif; ?>

                                        
                                        <?php if(!empty($provider['badge'])): ?>
                                            <div class="newProviderIcon provider-description animate-provider-icon">
                                                <div class="newProviderIconArrow provider-arrow"></div><?php echo e($provider['badge']); ?>

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

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

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

                    </ul>
                    
                </div>
            </div>
        </div>
    </div>
</div><?php /**PATH /www/wwwroot/website/sewa/dragon158/resources/views/frontend/desktop/pages/account/components/showgame.blade.php ENDPATH**/ ?>