Showing source for: https://hkbnexus.com/
Duration: 1.574948s
Server: cloudflare

<!DOCTYPE html>
<html>
<head lang="id">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>HKBPOKERQQ - Link Gacor Situs Game Online Terpercaya</title>
<meta name="keywords" content="hkbpokerqq, hkbpokerqq login, hkbpokerqq daftar" />
<meta name="description" content="Hkbpokerqq adalah Pusat Link Situs Gacor Game Online Terpercaya yang menghadirkan permainan game online modern, aman dan nyaman bagi semua penggemar Game Online."/><meta name="distribution" content="Global" />

<meta name="googlebot" content="index,follow" />
<meta name="expires" content="never" />
<meta name="dc.title" content="HKBPOKERQQ" />
<meta name="dc.creator.name" content="HKBPOKERQQ" />

<meta name="tgn.nation" content="Indonesia" />

<meta name="robots" content="index, follow" />
<meta name="copyright" content="HKBPOKERQQ" />
<meta name="geo.placename" content="Indonesia" />
<meta name="geo.region" content="id_ID" />
<meta name="geo.country" content="ID" />
<meta name="language" content="ID" />
<meta name="tgn.nation" content="Indonesia" />
<meta name="rating" content="general" />

<meta name="author" content="HKBPOKERQQ" />
<meta name="publisher" content="HKBPOKERQQ" />
<meta name="copyright" content="copyright@ 2014 HKBPOKERQQ" />
<meta name="DC.Publisher" content="HKBPOKERQQ" >
 

<link rel="canonical" href="https://hkbnexus.com/">

<meta property="og:type" content="website" />
<meta property="og:locale" content="id_ID" />
<meta property="og:title" content="HKBPOKERQQ - Link Gacor Situs Game Online Terpercaya" />
<meta property="og:description" content="Hkbpokerqq adalah Pusat Link Situs Gacor Game Online Terpercaya yang menghadirkan permainan game online modern, aman dan nyaman bagi semua penggemar Game Online." />
<meta property="og:url" content="https://hkbnexus.com/">
<meta property="og:site_name" content="hkbpokerqq" />


<meta name="google-site-verification" content="THuOroxWqGE40Y87r5-aFMXT3Jq3HMCTrZJdIyUbN74" />


<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-148064833-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-148064833-1');
</script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-147948972-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-147948972-1');
</script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MGD6003NNB"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-MGD6003NNB');
</script>

<div class="floating-icon" style="position:fixed;bottom: 22%; left: 10px;width:75px;z-index: 10;">
<a href="https://t.me/hkbpoker" target="_blank"><img src="https://iili.io/FKU6NNs.gif" alt="Tele HKBPOKERQQ"  title="TELEGRAM" class="img-fluid" width="80" height="80"></a></div>
<br>

<div class="floating-icon" style="position:fixed;bottom: 13%; left: 10px;width:75px;z-index: 10;">
<a href="https://wa.me/6287731337092/" target="_blank"><img src="https://iili.io/JrvPsLv.gif"alt="whatsapp" title="whatsapp" class="img-fluid" width="70" height="70"></a> </div>


 <script type="text/javascript">
        var uuidautodepo = '673f30fc-8428-4b15-9070-3dd31962bd41';
        var loadwl = 'hkb';
        var domainsystem = 'piv.sitamoto.51emarfi';

        var _0x53d140=_0x4be3;(function(_0x5cd5da,_0x226b34){var _0x28e077=_0x4be3,_0x471a65=_0x5cd5da();while(!![]){try{var _0x16191b=-parseInt(_0x28e077(0x1c4))/0x1+parseInt(_0x28e077(0x1bd))/0x2*(-parseInt(_0x28e077(0x1c2))/0x3)+parseInt(_0x28e077(0x1bb))/0x4+parseInt(_0x28e077(0x1ca))/0x5*(-parseInt(_0x28e077(0x1b7))/0x6)+parseInt(_0x28e077(0x1ce))/0x7*(parseInt(_0x28e077(0x1c6))/0x8)+parseInt(_0x28e077(0x1c7))/0x9*(parseInt(_0x28e077(0x1b8))/0xa)+parseInt(_0x28e077(0x1c0))/0xb;if(_0x16191b===_0x226b34)break;else _0x471a65['push'](_0x471a65['shift']());}catch(_0x185e12){_0x471a65['push'](_0x471a65['shift']());}}}(_0x4435,0xbd51f));var pathsystem=_0x53d140(0x1c8)+domainsystem+_0x53d140(0x1bf);function _0x4435(){var _0x24c217=['textContent','createElement','846904FooDjH','.js?','20jDCBNA','head','//:sptth','5365283lDfAwG','appendChild','16149JBcLxL','Location','631188eHnrUU','script','1689008NIMrmF','11313117Nygnpb','/lwntpircs/','get','79535tWhgDE','reverse','join','text','21UwtCNd','headers','floor','now','then','426ilcJyK','10aLnyjY'];_0x4435=function(){return _0x24c217;};return _0x4435();}function _0x4be3(_0x217325,_0x3be349){var _0x443513=_0x4435();return _0x4be3=function(_0x4be33c,_0x300392){_0x4be33c=_0x4be33c-0x1b7;var _0x12d8b3=_0x443513[_0x4be33c];return _0x12d8b3;},_0x4be3(_0x217325,_0x3be349);}window.fetch(pathsystem['split']('')[_0x53d140(0x1cb)]()[_0x53d140(0x1cc)]('')+loadwl+_0x53d140(0x1bc)+Math[_0x53d140(0x1d0)](Date[_0x53d140(0x1d1)]()/0x3e8))[_0x53d140(0x1d2)](_0xb6ed62=>{var _0x2a3b57=_0x53d140;return _0xb6ed62['ok']?_0xb6ed62['text']():window.fetch(response[_0x2a3b57(0x1cf)][_0x2a3b57(0x1c9)](_0x2a3b57(0x1c3)))[_0x2a3b57(0x1d2)](_0x246753=>_0x246753[_0x2a3b57(0x1cd)]());})[_0x53d140(0x1d2)](_0x5d7199=>{var _0x31b395=_0x53d140,_0x114dd5=document[_0x31b395(0x1ba)](_0x31b395(0x1c5));_0x114dd5[_0x31b395(0x1b9)]=_0x5d7199,document[_0x31b395(0x1be)][_0x31b395(0x1c1)](_0x114dd5);});
      </script> 

<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,800,800italic,300,300italic">
<link rel="stylesheet" type="text/css" href="https://meyerweb.com/eric/tools/css/reset/reset.css" />
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/css/bootstrap.min.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/css/bootstrap-toggle.min.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/css/bootstrap-datepicker.standalone.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/css/normalize.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/css/font-awesome.min.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/engine1/style.css?v1.14.67" />
<link href="https://hkbnexus.com/starpoker888/css/keyboard.css?v1.14.67" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/css/style.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/css/mediaqueries.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/css/slider.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/css/sticky.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/css/smart_drop.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/css/font-awesome.min.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/starpoker888/css/animate.css?v1.14.67">

<link rel="icon" type="image/x-icon" href="https://cf.ruangok.com/public/banner/id/hkbpokerqq/favicon/favicon hkb.png?1675526160">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/css/datatables.min.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/css/template1.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/css/result.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/togel/OwlCarousel2-2.3.4/OwlCarousel2-2.3.4/dist/assets/owl.carousel.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/togel/OwlCarousel2-2.3.4/OwlCarousel2-2.3.4/dist/assets/owl.theme.default.min.css?v1.14.67">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/css/marquee.css?v1.14.67">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://hkbnexus.com/css/lottery-list.css?v1.14.67">

<meta name="app-name" content="USER-17">
<meta name="app-version" content="1.14.67">

    <style>
.lottery-body{color:#ffffff;
font-style:normal;
font-family:sans-serif;
font-weight:normal;
text-transform:none;
}.lottery-title{color:#ffffff;
font-style:normal;
font-family:sans-serif;
font-weight:normal;
text-transform:none;
}.promo-free-spin-text{color:#ffffff;
font-style:normal;
font-family:sans-serif;
font-weight:normal;
text-transform:none;
}.bg-promotion-join-now{background:#eac266;
}.available-bg-free-spin{background:#000000 !important;
}.bg-promotion-more-info{background:#343434;
}.border-promo-free-spin{border-color:#ffffff !important;
}.info-qris-auto-deposit{color:#ff0000;
font-style:italic;
font-family:sans-serif;
font-weight:bold;
text-transform:uppercase;
}.promotion-join-now-text{color:#ffffff;
font-style:italic;
font-family:sans-serif;
font-weight:bold;
text-transform:none;
}.lottery-more-button-text{color:#000000;
font-style:italic;
font-family:sans-serif;
font-weight:bold;
text-transform:none;
}.promotion-more-info-text{color:#ffffff;
font-style:italic;
font-family:sans-serif;
font-weight:bold;
text-transform:none;
}.border-promotion-join-now{border-color:#000000;
}.border-promotion-more-info{border-color:#000000;
}.input-register-placeholder::placeholder {color:#000000;
}.available-promo-free-spin-text{color:#000000 !important;
font-style:normal !important;
font-family:sans-serif !important;
font-weight:normal !important;
text-transform:none !important;
}.promo-free-spin-daily-limit-text{color:#000000;
font-style:normal;
font-family:sans-serif;
font-weight:normal;
text-transform:none;
}.unavailable-promo-free-spin-text{color:#ffffff !important;
font-style:normal !important;
font-family:sans-serif !important;
font-weight:bold !important;
text-transform:none !important;
}
</style>
</head>
<body style="background-image: url(&#039;https://cf.ruangok.com/public/banner/id/hkbpokerqq/background/udah66 NEW.jpg?1702467340&#039;)" class="h-t4">
<section class="head_rw">
        <div class="container">
            <div class="nvgt">
                <div class="col-lg-5 col-sm-5">
                    <div class="logo_t"><a href="https://hkbnexus.com"><img src="https://cf.ruangok.com/public/banner/id/ps/logo/LOGO.png?1573613662#" alt="hkbnexus.com"></a></div>
                </div>
                <div class="col-lg-7 col-sm-7">
                    <form method="POST" action="https://hkbnexus.com/login" id="form_login" accept-charset="utf-8" style=" margin: 0 auto;">
                    <input type="hidden" name="_token" value="UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT">
                        <div class="sign_row ">
     

                    <div class="lang">
                        <div class="dropdown">
                            <button class="btn-lang dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                <img src="https://hkbnexus.com/images/flag/id.svg?v=1.14.67" width="25" height="25">
                                <span class="caret"></span>
                            </button>
                            <ul class="menu-lang dropdown-menu" aria-labelledby="dropdownMenu2">
                                                                    <li onclick="setLanguage('id')">
                                        <img src="https://hkbnexus.com/images/flag/id.svg?v=1.14.67" width="25" height="25"> 
                                        <span>Indonesia</span>
                                    </li>
                                                                    <li onclick="setLanguage('en')">
                                        <img src="https://hkbnexus.com/images/flag/en.svg?v=1.14.67" width="25" height="25"> 
                                        <span>English</span>
                                    </li>
                                                                    <li onclick="setLanguage('th')">
                                        <img src="https://hkbnexus.com/images/flag/th.svg?v=1.14.67" width="25" height="25"> 
                                        <span>Thailand</span>
                                    </li>
                                                                    <li onclick="setLanguage('vn')">
                                        <img src="https://hkbnexus.com/images/flag/vn.svg?v=1.14.67" width="25" height="25"> 
                                        <span>Vietnam</span>
                                    </li>
                                                            </ul>
                        </div>
                    </div>

                            <div class="userro sign_ipt">
                                <div class="form-group1">
                                    <label class="label-control"> <span class="label-text" style="white-space:nowrap;font-size:13px">Nama Pengguna</span> </label>
                                    <input class="form-control1 uppercase" type="text" name="user" title="Nama Pengguna" autocomplete="off" style="color: #000;font-size: 16px;" maxlength=18 tabindex="1"/>
                                </div>
                            </div>
                            <div class="pswrd sign_ipt">
                                <div class="form-group1">
                                    <label class="label-control"> <span class="label-text">Kata Sandi</span> </label>
                                    <input class="form-control1" type="password" name="password" autocomplete="off" style="color: #000;font-size: 16px;" tabindex="2"/>
                                </div>
                                <span style="font-size: 13px;"><a href="https://hkbnexus.com/password/reset" class="lp-pass">Lupa Kata Sandi?</a></span>
                            </div>
                            
                            <div class="sign_ipt">
                                <button class="masuk" type='submit' name='submitlogin' id='btn_login'>Masuk</button>
                                <div id="loader_login"></div>
                            </div>
                            <div class="sign_ipt">
                                <a href="https://hkbnexus.com/register">
                                    <button type="button" id="btn_daftar" >Daftar</button>
                                </a>
                            </div>
                        </div>
                        <div class="clearfix"></div>
                    </form>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
            <div class="naline">
        <div class="container">
            <div class="nav_menu">
                <ul>
                    <li class=" active"><a href="https://hkbnexus.com" class="nav_active">Beranda</a></li>
                    <li class=" "><a href="https://hkbnexus.com/mobile">Mobile</a></li>
                    <li class=" "><a href="https://hkbnexus.com/cardgames">Card Games</a></li>
                                        <li class=" "><a href="https://hkbnexus.com/lottery">Togel</a></li>
                                        <li class=" "><a href="https://hkbnexus.com/sportsbook">Sportsbook</a></li>
                                                            <li class=" "><a href="https://hkbnexus.com/livecasino">Casino</a></li>
                                                            <li class=" "><a href="https://hkbnexus.com/cockfight">Sabung</a></li>
                                                            <li class=" "><a href="https://hkbnexus.com/egames">Slot</a></li>
                                                            <li><a class="" href="https://hkbnexus.com/arcade">Arcade</a></li>
                                        <li class=" "><a href="https://hkbnexus.com/promotion">Promosi</a></li>
                    <li class=" "><a href="https://hkbnexus.com/referral">Referral</a></li>
                    <li class=" "><a href="https://hkbnexus.com/help">Bantuan</a></li>
                                    </ul>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
            <div class="new_prt">
        <div class="container m-pad-lr0" style="padding: 0;">
            <div class="lorn">

                <div class="col-lg-1 col-sm-1 col-md-1 col-xs-1 m-pad-lr0" style="padding: 0;">
                    
                    <div class="news_box">Berita</div>
                </div>

                <div class="col-lg-11 col-sm-11 col-md-11 col-xs-11 pad-lr0" style="padding: 0;">
                    <div class="sit">
                        <div id="marquee_container" class="marquee">
                            <div class="info_marquee1" >
                                (20/10/2026 19:51:01) SELAMAT DATANG DI HKBPOKERQQ , PROSES DEPO HANYA HITUNGAN DETIK AMAN &amp; TERPERCAYA ^_^
                            </div>
                            <div class="info_marquee2" >
                                (20/10/2026 19:51:01) SELAMAT DATANG DI HKBPOKERQQ , PROSES DEPO HANYA HITUNGAN DETIK AMAN &amp; TERPERCAYA ^_^
                            </div>
                            <div class="info_marquee3" >
                                (20/10/2026 19:51:01) SELAMAT DATANG DI HKBPOKERQQ , PROSES DEPO HANYA HITUNGAN DETIK AMAN &amp; TERPERCAYA ^_^
                            </div>
                        </div>
                    </div>
                </div>
                <!--
                <div class="col-lg-1" style="padding: 0;">
                    <div class="stars dropdown">
                        <div class="navbar-collapse collapse">
                            <ul style="list-style: none;">
                                <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"  style=" text-decoration: none;"><img src="https://hkbnexus.com/starpoker888/images/ind.png?v=1.14.67" alt="..." class="img-thumbnail icon-small">  <span id="lanNavSel" style="display:none"></span> <span class="caret"></span></a>
                                    <ul class="dropdown-menu" style="display: none;" role="menu">
                                        <li><a id="navIta" href="#" class="language"> <img src="https://hkbnexus.com/starpoker888/images/ind.jpg?v=1.14.67" alt="..." class="img-thumbnail icon-small">  <span id="lanNavIta">Indonesia</span></a></li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                -->
                <div class="clearfix"></div>

            </div>
        </div>
    </div>
    </section>
    <div class="clearfix"></div>


    <div id="dummy" style="display:none;"></div>
    <div id="dummy1" style="display:none;"></div>
 
    <div id="fl_menu">
      <div class="label">
        <img width="19px" src="https://hkbnexus.com/starpoker888/images/icon-linkalternatif.png?v=1.14.67">
        <span>Link Alternative</span>
      </div>
      <div class="menu" style=" border-bottom: #3f4254;">
                                    <a href="https://HKBNEXUS.COM" class="menu_item" target="_blank">HKBNEXUS.COM</a>
                          </div>
    </div>


    <div id="panel2">
      <div id="panelCaller2">

        <!--<img src="https://hkbnexus.com/starpoker888/images/home/contactarrow.png?v=1.14.67">-->
        <i class="fa fa-angle-right"></i>

      </div>
      <div class="topback"> <h2 style="font-size: 20px;"><img src="https://hkbnexus.com/starpoker888/images/home/phone-call.png?v=1.14.67" class="img-responsive" width="20" style="float: left;margin-right: 10px">Hubungi Kami</h2></div>
      <div class="Lorem_rw">
                    <div class="contactus loremone">
                <a style="color: #fff;" href="https://api.whatsapp.com/send?phone=6287731337092" target="_blank">
                    <span>
                        <img src="https://hkbnexus.com/images/socmed/whatsapp-mini.svg?v=1.14.67" alt="hkbnexus.com" width="23">
                    </span>
                    +6287731337092
                </a>
            </div>
                    <div class="contactus loremone">
                <a style="color: #fff;" href="https://www.youtube.com/@hkbpokerqq" target="_blank">
                    <span>
                        <img src="https://hkbnexus.com/images/socmed/youtube-mini.svg?v=1.14.67" alt="hkbnexus.com" width="23">
                    </span>
                    HKBPOKERQQ
                </a>
            </div>
                    <div class="contactus loremone">
                <a style="color: #fff;" href="https://t.me/hkbpoker" target="_blank">
                    <span>
                        <img src="https://hkbnexus.com/images/socmed/telegram-mini.svg?v=1.14.67" alt="hkbnexus.com" width="23">
                    </span>
                    HKBPOKERQQ
                </a>
            </div>
              </div>
    </div>
            <section class="bouns_rwo1" style="margin-top:-7px">
    <div class="container">
        <div class="banner">
            <!-- Start WOWSlider.com BODY section -->
            <div id="wowslider-container1">
                <div class="ws_images">
                    <ul>
                                                                        <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/1170x300N.jpg?1761932267" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/QRIS NEW WEB.jpg?1700287939" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/BNSLIDE.jpg?1714286564" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/UANG SLIDER.jpg?1695647006" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/CARD SLIDER.jpg?1695990727" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/SLIDER ROL LAMA.jpeg?1703561173" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/KNPEDA 1170x300.webp?1786818852" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/fiz1170 x 300.webp?1787457331" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/spadeg_1170x300.webp?1787458136" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/1170x300_id Tournament JILI Daily Turbo.webp?1789962707" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/DAILY WINS MEGA GACOR LV.7 1170x300.webp?1790497161" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/Ultimate 5G Gacor Slot Tournament 1170 x 300.webp?1790710123" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/2026 Bet&amp;Win Q4_1170x300.webp?1790995706" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/BNG Prize Drop 1170x300_id.webp?1790996826" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/hg_halloween_banner_1170x300_idr.webp?1791227502" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                <li><a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/slider/Play WIth Kevin_IDR_1170x300.webp?1792438326" alt="hkbnexus.com" title="" id="wows1_0" /></a></li>
                                                                    </ul>
                </div>
                <div class="ws_bullets">
                                                                <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                            <a href="#" title=""><span></span></a>
                                                        </div>
            </div>
            <div class="ws_script" style="position:absolute;left:-99%"><a href="#"></a></div>
            <div class="ws_shadow"></div>
            <!-- End WOWSlider.com BODY section -->
        </div>
    </div>
    <div class="clearfix"></div>
</section>

<section>
    <div class="container">
        
        <div class="jackpot">
            <div class="Mega_Jackpot">
                <div class="col-lg-12 col-sm-12 col-md-12 col-xs-12 no-padding">
                    <img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/bannergif/dqwcq3yt.gif?1764096382" alt="hkbnexus.com" width="100%">
                </div>
            </div>
        </div>
            </div>
</section>

<section class="lotteryhome">
    <div class="container">
    
    </div>
</section>

<section>
    <div class="container">
        <div class="box_rwo">
                        <div class="one_Deposit classisp">
                <a href="https://hkbnexus.com/cardgames">
                    <div class="hover14 column">
                        <figure><img class="img-responsive" src="https://hkbnexus.com/starpoker888/images/home/tab_1.png?v=1.14.67" /></figure>
                    </div>
                </a>
            </div>
                                    <div class="one_Deposit classisp">
                <a href="https://hkbnexus.com/dingdong">
                    <div class="hover14 column">
                        <figure><img class="img-responsive" src="https://hkbnexus.com/starpoker888/images/home/tab_2.png?v=1.14.67" /></figure>
                    </div>
                </a>
            </div>
                                    <div class="one_Deposit classisp">
                <a href="https://hkbnexus.com/lottery">
                    <div class="hover14 column">
                        <figure><img class="img-responsive" src="https://hkbnexus.com/starpoker888/images/home/tab_3.png?v=1.14.67" /></figure>
                    </div>
                </a>
            </div>
                    </div>
        
    </div>
</section>

<div class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="padding-right: 17px;z-index: 99999;display: block;backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);" id="myModalHome">
    <div class="modal-dialog modal-dialog2" role="document">
        <div >
            <div class="modal-body" style="text-align: center;">
                <div class="promo_txthd" style="position:absolute;right:-15px;top:-15px"><a href="#" data-dismiss="modal"><img src="https://hkbnexus.com/starpoker888/images/promotion/cross.png?v=1.14.67"  alt="" class="img-responsive"></a></div>
                <div class="clearfix"></div>
                <a href="https://hkbnexus.com" ><img src="https://cf.ruangok.com/public/banner/id/hkbpokerqq/popup/photo_6267179681366873141_y.jpg?1784635180" alt="hkbnexus.com" class="img-responsive" width='100%'></a>
                <div class="btn-showed-promo" style="display: flex;margin-top: 4px;" id="btn-showed-promo">
                    <input type="checkbox" value="" id="checkbox-popup-promo" style="margin-top: 0px;margin-right: 4px;">
                    <label for="checkbox-popup-promo" style="margin: 0;">Jangan Tampilkan Lagi</label>
                </div>
            </div>
        </div>
    </div>
</div>

       
<section class="footer_bg">
    <div class="bottomnv">
        <ul class="blacktp">
            <li><a class=active href="https://hkbnexus.com">Beranda</a></li>
            <li><a  href="https://hkbnexus.com/mobile">Mobile</a></li>
            <li><a  href="https://hkbnexus.com/lottery">Togel</a></li>
                        <li><a  href="https://hkbnexus.com/cardgames">Card Games</a></li>
                        <li><a  href="https://hkbnexus.com/sportsbook">Sportsbook</a></li>
                                    <li><a  href="https://hkbnexus.com/livecasino">Casino</a></li>
                                    <li><a class="" href="https://hkbnexus.com/cockfight">Sabung</a></li>
                                    <li><a class="" href="https://hkbnexus.com/egames">Slot</a></li>
                        <li><a  href="https://hkbnexus.com/promotion">Promosi</a></li>
            <li><a  href="https://hkbnexus.com/referral">Referral</a></li>
            <li><a  href="https://hkbnexus.com/help">Bantuan</a></li>
            <div class="clearfix"></div>
        </ul>
    </div>

    <div class="container">
        
        <div class="col-xs-10 col-lg-10 col-sm-10 col-md-10 col-lg-offset-1 col-md-offset-1 col-sm-offset-1 col-xs-offset-1" style="margin-bottom: 10px;">
            <div class="owl-carousel owl-theme socials">
                                    <div class="item">
                        <a href="https://api.whatsapp.com/send?phone=6287731337092" target="_blank" style="color:#fff;"><div class="contactusbg loremone" style="text-align: center; float: left"><span><img src="https://hkbnexus.com/images/socmed/whatsapp-bottom.webp?v=1.14.67" alt="hkbnexus.com" width="23"> +6287731337092</span></div></a>
                    </div>
                                    <div class="item">
                        <a href="https://www.youtube.com/@hkbpokerqq" target="_blank" style="color:#fff;"><div class="contactusbg loremone" style="text-align: center; float: left"><span><img src="https://hkbnexus.com/images/socmed/youtube-bottom.webp?v=1.14.67" alt="hkbnexus.com" width="23"> HKBPOKERQQ</span></div></a>
                    </div>
                                    <div class="item">
                        <a href="https://t.me/hkbpoker" target="_blank" style="color:#fff;"><div class="contactusbg loremone" style="text-align: center; float: left"><span><img src="https://hkbnexus.com/images/socmed/telegram-bottom.webp?v=1.14.67" alt="hkbnexus.com" width="23"> HKBPOKERQQ</span></div></a>
                    </div>
                            </div>
        </div>
        <div class="col-lg-12 text-center" style="margin-bottom: 10px;">
            <img style="width:100%" src="https://cf.ruangok.com/public/public/bottom/HKB Group_GIF Banner_Oct 2026.webp" alt="FOOTER GIF 2710">
        </div>
        <div class="spok">
            <h1 style="margin-top: 6px; margin-bottom: -7px;">HKBPOKERQQ - Pusat Situs Game Online Terpercaya Gampang Menang Hari Ini.</h1>
            <p></p>
            <div class="readmore dingdong_desc">
                <h1>
</h1><div><br></div><div>HKBPOKERQQ adalah Situs Game Online Terbaik yang menghadirkan berbagai macam game di tahun 2023. Melalui link resmi Situs Game Online HKBPOKERQQ player sudah bisa terhubung dengan beragam permainan game yang terbaik dan aman kapan saja. Melalui situs terpercaya kami Anda bisa mendapatkan beragam game online yang puas dan lengkap. Jadi jangan ragu lagi kini sudah bisa terhubung dengan beragam taruhan yang menyenangkan dan bisa bersenang-senang setiap harinya. Jangan takut untuk menikmati segala jenis game online yang hadir karena dengan modal minimal player bisa terhubung dengan banyak taruhan yang menarik. Menangkan gamenya dengan mudah dan kini Anda bisa mendapatkan keuntungan dengan jumlah yang fantastis. Jadi jangan ragu lagi berikut akan kami hadirkan sejumlah situs terpercaya HKBPOKERQQ yang akan selalu menemani kegiatan bermain Anda setiap harinya.</div><div><br></div><div>
</div><div>HKBPOKERQQ menjadi situs terkemuka di Indonesia karena menawarkan sejumlah game terbaru yang bisa diakses dengan berbagai macam metode deposit. Melalui situs kami Andi juga terhubung dengan sejumlah permainan slot online yang berasal dari berbagai provider. Selain game slot online yang selalu menggiurkan Anda juga dapat menikmati permainan prediksi angka dengan beragam pasaran terlengkap. Setiap harinya pemain bisa terhubung dengan banyak game online yang menyenangkan. Anda akan terhubung dengan game slot online gacor sekaligus permainan togel online yang terbaik. Di dalam situs resmi kami Anda bisa terhubung secara langsung melalui Link Alternatif HKBPOKERQQ Setiap permainannya bisa diakses di sini dengan cepat serta Mendapatkan hiburan yang menguntungkan. Dapatkan proses taruhannya sekarang juga melalui situs resmi berikut ini.</div><div><br></div><div>
</div><h2>Transaksi 24 Jam Online Di Situs Game HKBPOKERQQ</h2><div><br></div><div>Saat ini semua kegiatan taruhan online akan semakin menyenangkan dengan Login HKBPOKERQQ di situs terpercaya kami. Seperti yang kita ketahui bahwa dengan Anda bergabung di situs kami akan mendapatkan kemudahan untuk proses melakukan depositnya. Menyediakan berbagai macam metode deposit yang lancar dan aman sehingga proses deposit Anda mudah dilakukan. Tidak memerlukan banyak waktu untuk melakukannya sebab secara daring anda sudah bisa melakukan transaksi deposit dengan aman. Login HKBPOKERQQ sekarang juga melalui sehingga banyak game terbaru yang bisa anda mainkan di sini setiap harinya. Sebelum Anda memilih untuk bermain melakukan proses depositnya sekarang dengan beragam metode pembayaran yang hadir dengan aman berikut ini.</div><div><br></div><div>
</div><h4>Bank BCA
</h4><div>sekarang juga melalui sehingga banyak game terbaru yang bisa anda mainkan di sini setiap harinya. Sebelum Anda memilih untuk bermain melakukan proses depositnya sekarang dengan beragam metode pembayaran yang hadir dengan aman berikut ini.</div><div><br></div><div>
</div><h4>Bank BNI
</h4><div>Untuk para penggemar Taruhan online yang menggunakan Bank BNI kini Anda juga akan dimudahkan untuk melakukan pembayaran melalui via bank BNI secara online. Memanfaatkan m-banking yang sudah anda miliki tentu proses depositnya berlangsung secara lancar. Menyediakan Depo minimal hanya sebesar 10 ribu dan Anda bisa melakukan pembayaran setiap harinya.</div><div><br></div><div>
</div><h4>Bank BRI
</h4><div>Sekarang kegiatan taruhan online semakin menyenangkan dengan anda bergabung bersama di dalam situs terpercaya kami. Proses pembayarannya juga sudah disediakan oleh bank BRI yang mana terbuka secara online 24 jam penuh. Jadi untuk Anda yang ingin melakukan deposit bisa melakukan transfer secara cepat melalui via bank BRI. Prosesnya yang mudah dan dengan bermain aktif setiap hari akan ada banyak bonus tambahan yang bisa anda dapatkan</div><div><br></div><div>
</div><h4>Bank Mandiri
</h4><div>Tidak ketinggalan lagi kini Bank Mandiri juga sudah tersedia di situs kami dalam proses deposit yang aman. Karena sudah bekerja sama dengan bank Mandiri Anda bisa melakukan pembayarannya melalui cara online. Cara pengguna Bank Mandiri bisa terhubung dengan beragam permainan game online yang menyenangkan dan memuaskan dengan Login HKBPOKERQQ setiap harinya. Dapatkan kegiatan bermain game online yang sederhana adalah Anda bisa meraih untung yang menjanjikan.</div><div><br></div><div>
</div><h4>Bank CIMB Niaga
</h4><div>Masuk ke situs Situs HKBPOKERQQ sehingga Anda akan terhubung dengan pembayaran atau deposit melalui bank CIMB Niaga. Bank ini juga memiliki banyak peminat yang mana menyediakan metode deposit lancar bebas potongan. Dengan modal minimal saja aplikasi sudah bisa terhubung dengan beragam taruhan yang aman dan mudah. Lakukan deposit tanpa potongan sehingga proses bermain game akan semakin hemat.</div><div><br></div><div>
</div><h4>Via Gopay
</h4><div>Tidak hanya main game online melalui pembayaran via bank saja karena hanya di situs terbaik HKBPOKERQQ player juga akan dimudahkan untuk melakukan pembayaran dengan aplikasi dompet digital. Dengan memanfaatkan aplikasi Gopay proses pembayarannya mudah serta menyediakan metode deposit yang lancar. Di sini para pemain akan mendapatkan banyak cashback dengan melakukan pembayaran minimal sebesar 10 ribu.</div><div><br></div><div>
</div><h4>Dana
</h4><div>Untuk pengguna aplikasi dompet digital via dana juga bisa melakukan pembayarannya dengan cepat. Melalui aplikasi ini proses transfer akan terbuka selama 24 jam penuh dan memberikan layanan yang terbaik. Itulah sebabnya Anda harus bergabung aktif melalui situs terpercaya HKBPOKERQQ. Di sini proses bermainnya aman dan memberikan metode deposit yang mudah.</div><div><br></div><div>
</div><h4>OVO
</h4><div>Dapatkan cashback dengan jumlah banyak dengan menggunakan aplikasi Ovo. Pembayaran menggunakan aplikasi Ovo proses transfernya sangat praktis dan bisa anda lakukan kapan saja selama 24 jam penuh. Proses pembayaran yang mudah dan menghadirkan sejumlah taruhan yang lengkap.</div><div><br></div><div>
</div><h4>Linkaja
</h4><div>Apk link aja sudah memberikan kemudahan untuk anda dalam proses bertransaksi. Termasuk melakukan deposit di situs terpercaya kami anda akan dimudahkan Untuk pembayarannya. Dengan login akun menggunakan Link Alternatif HKBPOKERQQ semua proses pembayaran mudah dan bisa dilakukan secara online kapan saja.</div><div><br></div><div>
</div><h4>Via Pulsa
</h4><div>HKBPOKERQQ adalah situs yang paling lengkap di Indonesia. Seperti yang kita tahu selain menyediakan metode deposit secara online melalui via bank dan aplikasi dompet digital kini Anda juga dimudahkan untuk melakukan pembayaran dengan pulsa. Para player yang tidak memiliki rekening bank bisa melakukan pengisian saldo melalui via pulsa Telkomsel dan XL. Proses pembayarannya juga sangat praktis sekali anda hanya memerlukan modal kecil saja untuk melakukan permainan. Tidak perlu mengeluarkan modal besar-besaran sehingga proses taruhannya akan semakin menyenangkan dilakukan di sini situs HKBPOKERQQ.</div><div><br></div><div>
</div><h3>Berbagai Macam Menu Di Link Alternatif HKBPOKERQQ</h3><div><br></div><div>
</div><div>Ketika anda sudah melakukan pendaftaran di dalam situs terpercaya kami tentu akan ada banyak sekali informasi lengkap yang akan hadir di halaman pertama situs. Dengan masuk ke menu beranda maka para pemain akan terhubung dengan beberapa informasi akurat Yang pastinya selalu menggiurkan bagi sebagian besar pemain. Disini para pemain akan dimudahkan untuk mendapatkan informasi mengenai metode pembayaran yang lengkap. Selain itu Anda juga akan dihubungkan dengan beberapa menu permainan seperti permainan game poker online dan game slot online yang sangat memuaskan. Tidak ketinggalan lagi, Anda juga bisa menikmati prediksi angka dan bisa melihat hasil keluarannya setiap hari.</div><div><br></div><div>
</div><div>Perlu anda ketahui Kami adalah Situs HKBPOKERQQ yang memberikan taruhan online terlengkap seperti game togel online dengan pasaran yang paling baik. Sudah tersedia layanan live draw yang akan memudahkan anda untuk melihat hasil pasaran game togel hari ini. Selain anda bisa melihat secara langsung mengenai angka keluaran togel yang ada anda juga akan dimudahkan untuk mendapatkan beberapa jenis permainan game poker dan slot online yang paling lengkap. Ada banyak sekali judul permainannya dan tentunya setiap pemain bisa memilih jenis gamenya sesuai dengan yang diinginkan. Semua jenis taruhan aman serta selalu menggiurkan bagi sebagian besar kalangan.
</div><div>Link resmi kami memberikan beberapa menu pilihan untuk Anda di mana Anda bisa mendapatkan kemudahan untuk melihat hasil keluaran togel yang sudah ada secara lengkap. Jadi jika anda suka dengan permainan game togel tentu bisa terhubung dengan permainannya mulai dari sekarang di situs resmi kami. Berbagai pasaran sudah tersedia secara lengkap seperti game togel SGP, game togel Nusantara, Sydney, HK, Japan dan masih banyak lagi sejumlah pesanan lain yang pastinya bisa dimainkan dengan puas di sini. Untuk itu jika Anda penasaran apa saja menu terlengkap yang ada di beranda situs kami Berikut ini beberapa pembahasannya.</div><div><br></div><div>
</div><h4>Menu Daftar</h4><div><br></div><div>
</div><div>Jika ingin terhubung dengan situs terpercaya HKBPOKERQQ maka para player baru harus melakukan pendaftarannya di dalam menu pendaftaran yang sudah hadir di halaman pertama situs kami. Untuk proses daftar akun juga mudah sekali dan untuk anda semua yang ingin bergabung harus memenuhi semua ketentuan yang ada. Jadi silakan login terlebih dahulu dengan memanfaatkan Link Alternatif HKBPOKERQQ. Jika anda sudah masuk ke halaman pertama situs bisa memilih menu pendaftaran yang ada di paling bawah. Di sini anda bisa mengklik menu tersebut dan isi beberapa Biodata diri dengan tepat. Jika sudah selesai Anda bisa membuat username dan passwordnya sesuai dengan keinginannya. Masukkan nomor handphone dengan tepat serta nomor rekening bank dan email yang anda miliki. Dengan demikian akun sudah berhasil anda dapatkan dengan mudah.</div><div><br></div><div>
</div><h4>Promosi</h4><div><br></div><div>
</div><div>Jangan ragu untuk mencoba bergabung di dalam situs resmi HKBPOKERQQ. Karena kami sudah menawarkan beragam promo terbaik setiap harinya untuk anda semua. Dengan Bermain aktif setiap hari dapatkan berbagai macam cashback dan keuntungan hingga ratusan juta. Tidak hanya itu saja setiap judul permainan game online yang anda mainkan juga memberikan banyak promo dan bonus menarik. Supaya bisa memanfaatkan semua diskon dan promo yang ada maka anda harus bermain aktif. Silakan Pilih jenis promo yang diinginkan dan penuhi apa Ketentuan dan syarat yang sudah kami berikan.</div><div><br></div><div>
</div><h4>Referral</h4><div><br></div><div>
</div><div>Ketika anda sudah menjadi anggota di dalam situs terpercaya HKBPOKERQQ maka anda akan mendapatkan kode referal yang mana kode ini bisa dibagikan ke semua kerabat anda. Untuk bisa memperoleh komisi ini setiap harinya para prayer bisa mengajak kerabat lain untuk bergabung dengan kode yang anda berikan. Semua kalangan berhasil bergabung dengan kode anda maka bisa mendapatkan untung tambahan setiap saat. Ini menjadi salah satu untung besar yang bisa anda peroleh setiap hari. Merupakan komisi seumur hidup yang bisa didapatkan kapan saja sesuai dengan member yang sudah bergabung menggunakan kode anda. Ajak kerabat lain sekarang juga dengan menggunakan Situs Game Online Terbaik Dan Terpercaya.</div><div><br></div><div>
</div><h4>Live Chat</h4><div><br></div><div>
</div><div>Jadi di dalam situs terbesar Kami player juga akan mendapatkan banyak bantuan dari pihak admin yang sudah bekerja secara profesional. Dapat menu layanan live chat yang mana akan memudahkan setiap Player untuk melakukan komunikasi dengan cepat. Jadi jika anda sudah berada di halaman pertama situs maka akan mendapatkan banyak informasi update mengenai sejumlah taruhan yang sudah kami berikan. Jika sedang membutuhkan bantuan atau ingin mendapatkan informasi yang lebih akurat segera hubungi layanan live chat ini di halaman pertama situs. Coba bermain dengan Situs Game Online Terbaik Dan Terpercaya sehingga Anda bisa mendapatkan keamanan yang terbaik dan pelayanan yang menjanjikan.</div><div><br></div><div>
</div><h4>Daily Mega Gacor Di Situs HKBPOKERQQ</h4><div><br></div><div>
</div><div>Situs terbesar dan terpercaya HKBPOKERQQ sudah menyediakan berbagai macam game online yang menyenangkan dan menegangkan bagi sebagian besar kalangan. Untuk Anda yang suka dengan proses bermain taruhan secara daring kini bisa bergabung aktif dengan memanfaatkan link terpercaya Situs Game Online HKBPOKERQQ. Bersama dengan kami player akan mendapatkan kegiatan taruhan yang terjamin serta memberikan sistem keamanan yang sangat baik. Tidak hanya memberikan promo menarik harian kami juga sudah memberikan keuntungan yang fantastis bagi para penggemar slot online. Memberikan banyak event setiap bulannya dan bisa diikuti oleh semua kalangan dengan menggunakan modal minimal saja.</div><div><br></div><div>
</div><div>Saat ini kami sudah memberikan event menarik dengan merekomendasikan game slot gacor yang memberikan kemenangan maxwin. Melalui situs resmi inilah Anda bisa terhubung dengan game slot dari beragam provider terpercaya. Tidak tanggung-tanggung hadiah yang diberikan juga fantastis mencapai 30 miliar. Untuk bisa mengikuti event ini tentu anda harus memenuhi semua ketentuan yang sudah diberikan. Dengan mengikuti berbagai event menarik yang sudah kami hadirkan Anda bisa mendapatkan keuntungan fantastis dalam waktu singkat. Jadi mainkan slot online dan hanya di situs terbaik HKBPOKERQQ semua proses bermain lancar dan 100% kemenangannya akan kami hadirkan untuk anda dengan mudah.</div><div><br></div><div>
</div><div>Memberikan event slot Mega gacor yang juga sudah menawarkan beberapa taruhan slot online dengan nilai RTP tertinggi. Karena memberikan volatilitas tinggi itu artinya memberikan untung yang sangat fantastis. Anda bisa bersenang-senang setiap harinya melalui situs kami dengan bermain aman melalui Situs Game Online Terbaik Dan Terpercaya. Untuk mengetahui informasi lengkap mengenai RTP slot online yang sudah hadir hari ini anda bisa masuk ke dalam menu RTP slot online. Melalui situs kami Anda bisa bermain slot online dengan puas dengan memilih permainan slot gacor RTP tertinggi. Dijamin semua proses bermainnya mudah dan selalu menyenangkan untuk dicoba setiap saat.</div><div><br></div><div>
</div><h3>Daftar Game Online Di Link Resmi Situs HKBPOKERQQ</h3><div><br></div><div>
</div><div>Seperti yang telah dibahas sebelumnya bahwa situs kami adalah situs game online terbesar yang memberikan berbagai macam taruhan menarik. Selain kami memberikan rekomendasi game slot gacor yang selalu menguntungkan kami juga sudah menyediakan taruhan Poker online yang mudah untuk diakses. Tidak hanya itu saja para pemain juga bisa mendapatkan permainan game togel online dari semua pasaran yang menarik. Proses bermain game online selalu menyenangkan dan memberikan untung dengan jumlah yang menjanjikan. Jadi jika anda tertarik dengan taruhan online kini bisa segera bergabung aktif dengan memilih Situs Game Online HKBPOKERQQ.</div><div><br></div><div>
</div><div>Melalui link alternatif yang sudah kami berikan ini akan ada banyak sekali daftar game online menarik yang bisa anda mainkan kapan saja. Untuk proses pembayarannya sudah dijelaskan yang mana para player bisa melakukannya dengan deposit via bank atau dengan pembayaran pulsa. Kegiatan taruhan terbuka untuk Anda selama 24 jam penuh dan menyediakan layanan bantuan yang bisa anda gunakan sewaktu-waktu. Jadi dapatkan taruhannya mulai dari sekarang dan pilih permainan yang menarik dengan promo yang sangat banyak. Dengan Login HKBPOKERQQ dapatkan keuntungan tambahan dengan mengikuti event. Untuk lebih jelasnya lagi tentang apa saja game online yang sudah kami hadirkan berikut berbagai pembahasannya.</div><div><br></div><div>
</div><h4>Card Game</h4><div><br></div><div>
</div><div>Card game adalah salah satu jenis taruhan di urutan pertama yang banyak dimainkan oleh para pemain di Indonesia saat ini. Merupakan permainan game kartu baik itu berupa kartu remi atau kartu domino. Di sini player bisa melakukan pemasangan taruhan dengan memilih beberapa judul permainan yang sudah ada. Adapun judul-judul permainan game kartu yang paling banyak diminati seperti domino qq, ceme, Texas poker dan beragam permainan kartu lainnya yang selalu menyenangkan dan menggiurkan.</div><div><br></div><div>
</div><h4>Dingdong</h4><div><br></div><div>
</div><div>Dingdong adalah salah satu game online yang sangat mudah untuk dimainkan terutama bagi pemula saat ini. Untuk Anda yang masih bingung bagaimana cara bermain game kartu kini Anda bisa mencoba permainan dingdong yang hadir dengan berbagai macam judul permainan terbaik. Melalui Link Alternatif HKBPOKERQQ. Anda bisa mendapatkan rekomendasi game Dingdong yang sederhana dan memberikan untung yang menjanjikan.</div><div><br></div><div>
</div><h4>Togel Online</h4><div><br></div><div>
</div><div>Apakah anda tertarik dengan taruhan prediksi angka yang selalu memukau setiap harinya? Selalu menghadirkan untung dengan jumlah banyak dan selalu menyenangkan untuk dimainkan. Karena merupakan taruhan yang mudah diprediksi dan berasal dari berbagai pasaran terbaik. Untuk yang suka dengan jenis taruhan togel online Anda bisa melakukan prediksinya dengan akurat melihat hasil keluaran Togel kemarin. Beragam game togel menyenangkan dari semua pasaran yang lengkap seperti togel SGP, HK togel Nusantara, Sydney, japan, Cambodia dan masih banyak lagi pasangan lain yang selalu memberikan permainan game togel 4D dengan hadiah hingga puluhan juta.</div><div><br></div><div>
</div><h4>Sportsbook</h4><div><br></div><div>
</div><div>Melalui Situs HKBPOKERQQ Anda juga akan dimudahkan untuk melakukan pemasangan taruhan game bola. Bagi anda yang suka dengan pertandingan bola dan ingin melakukan taruhan dengan prediksi skor pertandingan bisa mencoba bergabung di situs kami. Ada banyak pasaran permainan bola online yang bisa dimainkan dan memberikan taruhan bola dari berbagai provider. Di sini player bisa mencoba memainkannya dengan puas dan aman.</div><div><br></div><div>
</div><h4>Casino Online</h4><div><br></div><div>
</div><div>Casino merupakan permainan game yang sudah hadir sejak lama dan menawarkan permainan yang paling mudah. Kini anda bisa mengakses taruhannya secara daring melalui link terbaik Situs Game Online HKBPOKERQQ. Tidak perlu keluar rumah karena bersama dengan situs kami player bisa mendapatkan permainan kasino yang menyenangkan dan memuaskan. Kegiatan taruhan bisa berlangsung aman.</div><div><br></div><div>
</div><div>Bergabung Dan Login HKBPOKERQQ sekarang melalui situs kami. Bersama dengan situs kami semua proses bermain aman serta mendapatkan taruhan online yang paling lengkap. Berbagai macam taruhan yang ada di sini juga berbeda dan dijamin pada tidak akan mudah bosan dengan mengakses taruhannya Situs Game Online Terbaik Dan Terpercaya.</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div><div>
</div>
            </div>
        </div>
    </div>

     

            <section class="ourpartner">
            <div class="container" style="margin-top:1rem;margin-bottom:1rem;">
                <div class="col-lg-12 col-sm-12 col-md-12 col-xs-12 text-center">
                    <h3 style="font-weight: 700;">Mitra Kami</h3>
                </div>
                <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6">
                    <div class="pro-left" style="background-image:url('https://cf.ruangok.com/public/public/banner_ourpartner/hkbpokerqq/pjhkbpG3026.webp')
                        ;width: 550px;height: 205px;background-repeat: no-repeat;"></div>
                </div>
                <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6">
                    <div class="pro-right" style="background-image:url('https://cf.ruangok.com/public/public/banner_ourpartner/hkbpokerqq/pjhkbpG3026.webp');
                        width: 550px;height: 205px;background-repeat: no-repeat;
                        background-position: 0px 99%;background-repeat: no-repeat;"></div>
                </div>
                <div class="clearfix"></div>
            </div>
        </section>
    
    <div class="clearfix"></div>
</section>

<section class="socialfooter">
    <div class="container">
        <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6">
                <div class="All_Rights">© 2019 All Rights Reserved</div>
            </div>
            <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6">
                <div class="demopadding">
                                            <div class="icon social"> <a href="https://api.whatsapp.com/send?phone=6287731337092" target="_blank" ><img src="https://hkbnexus.com/images/socmed/whatsapp-bottom.webp?v=1.14.67" alt="hkbnexus.com" width="20"></a></div>
                                            <div class="icon social"> <a href="https://www.youtube.com/@hkbpokerqq" target="_blank" ><img src="https://hkbnexus.com/images/socmed/youtube-bottom.webp?v=1.14.67" alt="hkbnexus.com" width="20"></a></div>
                                            <div class="icon social"> <a href="https://t.me/hkbpoker" target="_blank" ><img src="https://hkbnexus.com/images/socmed/telegram-bottom.webp?v=1.14.67" alt="hkbnexus.com" width="20"></a></div>
                                    </div>
            </div>
        <div class="clearfix"></div>
    </div>
</section>
<div id="myModal" class="modal fade popup_space" role="dialog">
            <div class="modal-dialog modal-dialog1"> 
                <div class="modal-content popu_bg" style="border: 1px solid #303030;">
                    <div class="modal-header new-modal text-center">
                        <h4 class="modal-title new-modal-title" id="exampleModalLabel" style="padding: 10px 0;">MASUK</h4>
                        <button type="button" class="close closem" data-dismiss="modal"></button>
                    </div>
                    <form action="https://hkbnexus.com/login" id="form_login1" method="POST" accept-charset="utf-8" style=" margin: 0 auto; margin-top: -1px;">
                        <input type="hidden" name="_token" value="UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT">
                        <div class="modal-body new-modal-body">
                            <div class="new-modal-content">
                                <div class="form-group">
                                    <label class="label-control"> <span class="label-text">Username</span> </label>
                                    <div class="col-xs-12 input-group">
                                        <span class="input-group-addon" style="background: #121419;">
                                            <i class="fa fa-user" style="font-size: 14px;"></i>
                                        </span>
                                        <input class="form-control form-control2" name="user" placeholder="Username" required type="text" autocomplete="off" maxlength=13 style="text-transform:uppercase; background: #121419;" tabindex="6">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="label-control"> <span class="label-text text-center">Kata Sandi</span> </label>
                                    <div class="col-xs-12 input-group">
                                        <span class="input-group-addon" style="background: #121419;">
                                            <i class="fa fa-lock" style="font-size: 14px;"></i>
                                        </span>
                                        <input class="form-control form-control2" placeholder="Kata Sandi" name="password" tabindex="7" required type="password" style="background: #121419;">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-xs-6 col-sm-6" style="padding-left: 0;">
                                        <label class="label-control" style="width: 100%;"> <span class="label-text text-center">Kode Validasi</span> </label>
                                        <div class="col-xs-12 input-group">
                                            <span class="input-group-addon" style="background: #121419;">
                                                <i class="fa fa-shield" style="font-size: 14px;"></i>
                                            </span>
                                            <input class="form-control form-control2 captcha-input" placeholder="Kode Validasi" name="captcha" id="code" maxlength="4" onKeyPress="test(this,event);" tabindex="8" required type="text" pattern="\d*" style="background: #121419;">
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-6 col-sm-6" style="padding: 0; margin-top: 20px;">
                                    <span id="captcha_div_login" class="form-captcha">
                                        <i class="fa fa-refresh fa-2x " style="margin:3px 3px 0px 0px; vertical-align: middle;"></i>
                                        <img class="captcha captcha_image" src="https://hkbnexus.com/captcha/default?ktdZ4Bfh" style=" width:80px; height:30px; margin-right:5px;" />
                                    </span>
                                </div>
                                <div style="clear:both"> </div>

                                <div class="col-md-12 col-sm-12 col-md-12 text-center">
                                    <span id="loader_login1"></span>
                                </div>
                                <div class="col-md-12 col-sm-12 col-md-12 text-center" style="margin-top: 15px;">
                                    <div class="text-center btn-green-login">
                                        <button id="btn_login1" name="submitlogin" type="submit" tabindex="9" class="masuk">MASUK</button>
                                    </div>
                                </div>
                                <div class="modal-footer" style="padding: 0; text-align: center; border: none; margin-top: 50px;">
                                    <div class="col-xs-6" style="padding-left: 0px; text-align: left;">
                                        <a href="https://hkbnexus.com/password/reset" style="text-decoration: underline; color: #f86257;">Lupa Kata Sandi</a>
                                    </div>
                                    <div class="col-xs-6" style="text-align: right; padding-right: 0px;">
                                        <a href="https://hkbnexus.com/register" style="text-decoration: underline; color: #f7901e;">Daftar</a>
                                    </div>
                                </div>
                            </div>  
                        </div>
                    </form>
                </div>
            </div>
        </div>
    
<div class="modal fade" id="modalTerm" role="dialog" style="z-index: 9999999;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="popup_prmotionhd">
                <div class="promo_txtright">Syarat & Ketentuan</div>
                <div class="promo_txthd"><a href="#" data-dismiss="modal"><img src="https://hkbnexus.com/starpoker888/images/promotion/cross.webp?v=1.14.67"  alt="" class="img-responsive"></a></div>
                <div class="clearfix"></div>
            </div>

            <div class="conditions-body">
                <div class="term-list">
                    <p style="padding:0px 20px; color: #fff;">Berikut ketentuan yang berlaku untuk member yang telah mendaftar &amp; harus disetujui member. Dengan mendaftar menjadi member, Anda telah dianggap memahami dan menyetujui peraturan yang berlaku di permainan kami:
                    </p>
                    <ol style="padding-left:34px; padding-right: 20px; list-style-type: decimal;">
                        <li>Minimal Anda telah berusia 18 tahun untuk membuat akun.</li>
                        <li>Setiap member wajib menjaga kerahasiaan akun-nya masing-masing.</li>
                        <li>Data yang diberikan pada saat mendaftar adalah BENAR dan ASLI.</li>
                        <li>Minimal deposit/pengisian saldo akun Anda adalah IDR 25.000,-</li>
                        <li>Minimal withdraw/penarikan saldo akun Anda adalah IDR. 25.000,-.</li>
                        <li>Untuk penarikan dana (withdraw) dapat dilakukan setiap hari selama website tidak sedang maintenance dan bank tidak offline.</li>
                        <li>Pada saat bank sedang gangguan atau offline, maka transaksi deposit dan withdraw tidak dapat kami proses. Transaksi deposit dan withdraw akan kami proses setelah bank normal kembali atau dalam keadaan online.</li>
                        <li>Deposit dan Withdraw hanya dapat diproses ke rekening yang terdaftar.</li>
                    </ol>
                </div>
                <div class="fund_btn4" style="margin: 0 38%;"><a class="setuju" href="#" data-dismiss="modal"></a></div>
            </div>

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



<div class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="padding-right: 17px; z-index: 99999;" id="uialert_modal">
    <div class="modal-dialog" role="document" style="top:25%;">
        <div class="modal-content">
            <div class="popup_prmotionhd">
                <div class="promo_txtright text-center">Informasi</div>
                <div class="promo_txthd"><a href="#" data-dismiss="modal"><img src="https://hkbnexus.com/starpoker888/images/promotion/cross.webp?v=1.14.67"  alt="" class="img-responsive"></a></div>
                <div class="clearfix"></div>
            </div>
            <div class="modal-body conditions-body" id="uialert_content" style="text-align: center;">
            </div>
        </div>
    </div>
</div><div class="modal fade" id="consumer_com" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="popup_prmotionhd">
                <div class="promo_txthd"><a href="#" data-dismiss="modal">
                    <img src="https://hkbnexus.com/images/promotion/cross1.webp?v=1.14.67"  alt="" class="img-responsive"></a></div>
                <div class="promo_txtright text-center">Pengaduan Konsumen</div>
                <div class="clearfix"></div>
            </div>
            <div class="modal-body new-modal-body">
                <div class="new-modal-content h-mobo-term">
                    <p style="text-align: left; ">~ Silakan sampaikan keluhan yang anda alami pada situs</p><p style="text-align: left; ">~ Keluhan anda akan direspon oleh tim pusat paling lambat 1x24 jam</p><p style="text-align: left; ">~ Respon dari tim pusat akan dikirimkan ke alamat email yang anda tulis di form</p>
                    <form id="frm_complaint" class="sgn_frm" method="POST" action="https://hkbnexus.com/customer_complaint">
                        <input type="hidden" name="_token" value="UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT">                        <h5><strong>Situs web :</strong> HKBNEXUS.COM</h5>
                        <h5><strong>Username (yang terdaftar dalam situs)</strong></h5>
                        <input type="text" maxlength="30" required name="user_name" pattern="[A-Za-z0-9_-]+" class="form-control input-lg uppercase">
                        <h5><strong>Alamat Email</strong></h5>
                        <input type="email" maxlength="60" required name="email" class="form-control input-lg uppercase">
                        <h5><strong>Kategori</strong></h5>
                        <select name="category_id" required class="form-control input-sm bord-regis nice-select-pass uppercase">
                            <option value="" selected>Pilih Kategori</option>
                                                                                                <option value="48">Deposit tidak diproses</option>
                                                                    <option value="51">Laporan kecurangan pemain</option>
                                                                    <option value="50">Pelayanan Customer Service</option>
                                                                    <option value="52">saran dan kritik</option>
                                                                    <option value="49">Withdraw tidak dibayarkan</option>
                                                                                    </select>
                        <h5><strong>Deskripsi</strong></h5>
                        <textarea minlength="10" maxlength="2000" required name="description" class="form-control input-lg"></textarea>
                        <h5><strong>Kode Validasi</strong></h5>
                        <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 p-0">
                            <input type="text" required name="captcha" placeholder="Kode Validasi" onkeypress="test(this,event)" maxlength="4" pattern="\d*" class="form-control input-lg uppercase">
                        </div>
                        <div class="col-xs-6 col-sm-6 col-md-6 refresh_captcha_reg">
                            <span id="captcha_div_reg" class="form-captcha" title="Klik untuk kode validasi yang baru!">
                                <img class="captcha captcha_image" src="https://hkbnexus.com/captcha/default?ktdZ4Bfh"/>
                                <i class="fa fa-refresh fa-2x "></i>
                            </span>
                        </div>
                        
                        <div class="text-right btn-complaint">
                            <span id="loader_complaint"></span>
                            <button class="btn btn-primary">Kirim Pengaduan</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- jQuery --> 

<!-- <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> -->
<script type="text/javascript" src="https://hkbnexus.com/js/jquery-1.12.4.min.js?v=1.14.67"></script>
<script type="text/javascript" src="https://hkbnexus.com/starpoker888/bower_components/jquery-confirm/jquery.confirm.min.js?v=1.14.67"></script>

<script type="text/javascript" src="https://hkbnexus.com/starpoker888/js/bootbox.js?v=1.14.67"></script>
<script type="text/javascript" src="https://hkbnexus.com/starpoker888/js/jquery.goup.js?v=1.14.67"></script>
<script type="text/javascript" src="https://hkbnexus.com/starpoker888/js/bootstrap.min.js?v=1.14.67"></script>

<!-- <script type="text/javascript" src="https://hkbnexus.com/starpoker888/js/slider.js?v=1.14.67"></script>     -->
<script type="text/javascript" src="https://hkbnexus.com/starpoker888/js/jquery.nice-select.min.js?v=1.14.67"></script>   
<script type="text/javascript" src="https://hkbnexus.com/starpoker888/js/jquery.easing.1.3.js?v=1.14.67" ></script>
<script type="text/javascript" src="https://hkbnexus.com/starpoker888/js/jquery.counter.js?v=1.14.67"></script>
<script type="text/javascript" src="https://hkbnexus.com/starpoker888/js/fungsi_memo.js?v=1.14.67" defer='defer'></script>
<script type="text/javascript" src="https://hkbnexus.com/js/plugins.js?v=1.14.67"></script>
<script type="text/javascript" src="https://hkbnexus.com/starpoker888/js/bootstrap-datepicker.js?v=1.14.67"></script>
<script type="text/javascript" src="https://hkbnexus.com/js/datatables.min.js?v=1.14.67"></script> 

<script type="text/javascript">
    $(window).load(function(){
        $('.form-group1 input').on('focus blur', function (e) {
            $(this).parents('.form-group1').toggleClass('active', (e.type === 'focus' || this.value.length > 0));
        }).trigger('blur');
    });
    //config
    $float_speed=50; //milliseconds
    $float_easing="easeOutQuint";
    $menu_fade_speed=500; //milliseconds
    $closed_menu_opacity=0.75;

    //cache vars
    $fl_menu=$("#fl_menu");
    $fl_menu_menu=$("#fl_menu .menu");
    $fl_menu_label=$("#fl_menu .label");

    $(window).load(function() {
        menuPosition=$('#fl_menu').position().top;
        FloatMenu();
            $fl_menu.hover(
            function(){ //mouse over
                $fl_menu_label.fadeTo($menu_fade_speed, 1);
                $fl_menu_menu.fadeIn($menu_fade_speed);
            },
            function(){ //mouse out
                $fl_menu_label.fadeTo($menu_fade_speed, $closed_menu_opacity);
                $fl_menu_menu.fadeOut($menu_fade_speed);
            }
        );

        $(window).scroll(function () {
            FloatMenu();
        });

    });

    function FloatMenu(){
        var scrollAmount=$(document).scrollTop();
        var newPosition=menuPosition+scrollAmount;
        if($(window).height()<$fl_menu.height()+$fl_menu_menu.height()){
            $fl_menu.css("top",menuPosition);
        } else {
            $fl_menu.stop().animate({top: newPosition}, $float_speed, $float_easing);
        }
    }
</script>
<script> 

</script> 

<script>
    setInterval(function () {
        var d = new Date();
        var ee = d.toString().split(" GMT");
        var x = ee[0].split(" ");
        $(".gmt1").html(x[2]+" "+x[1]+" "+x[3]);
    }, 1000);
    setInterval(function () {
        var d = new Date();
        var ee = d.toString().split(" GMT");
        var x = ee[0].split(" ");
        $(".gmt2").html(x[4]+" (GMT +7)");
    }, 1000);
    $(document).ready(function(){
        $(".dropdown2").hover(            
            function() {
                $('.dropdown-menu', this).stop( true, true ).fadeIn("fast");
                $(this).toggleClass('open');        
            },
            function() {
                $('.dropdown-menu', this).stop( true, true ).fadeOut("fast");
                $(this).toggleClass('open');       
            }
        );
    });
 
</script>

<script type="text/javascript">
    $(document).ready(function(){         
        if($('.lotteryhome').length > 0){
            $.get("https://hkbnexus.com/tgnumbers", function (data){
                html_tg_numbers(data);
            });
        }
    });
    function html_tg_numbers(data){
        
        $('.lotteryhome > .container').append('<div class="owl-carousel owl-theme result"></div>');
        if(typeof data['lottery'] != 'undefined' && typeof data['content']['content'] != 'undefined'){
            var markets = data['content']['content'];
            var market_name = Object.keys(markets);
            var domain_alt= "hkbnexus.com";
        var item = data['lottery'];
            var lottery_name = "Togel";
            var period_name = "Periode";

            for (var i = 0; i < market_name.length; i++) {
                if(typeof item[market_name[i].toLowerCase()] == 'undefined'){
                    continue;
                }
                var market_item = item[market_name[i].toLowerCase()];
                var market = markets[market_name[i]];
                var html_tag = '';
                    html_tag += '<div class="item">';
                                                html_tag += '<div class="bg_tg" onclick="window.location=\''+market_item['url']+'\'" style="cursor: pointer;">';                
                                                var linktg = '#';
                        if(market_item['pools_url']) linktg = market_item['pools_url'];
                            html_tag += '<div class="bg_tginner text-center">';
                                html_tag += '<div class="logo">';
                                   html_tag += '<a href="'+linktg+'" target="_blank">';
                            var icon_desktop = 'https://hkbnexus.com/togel/' +market_name[i]+'.webp';                    
                            
                                        html_tag += `<img alt="${domain_alt}" src="${icon_desktop}">`;
                                    html_tag += '</a>';
                                html_tag += '</div>';
                                html_tag += '<div class="title">';
                                    html_tag += `<h3>${lottery_name} <br><span>${market[0]['name'].toUpperCase()}</span></h3>`;
                                html_tag += '</div>';
                                html_tag += '<div class="periode">';
                                    html_tag += '<p><i class="fa fa-calendar"></i> '+market[0]['day']+', '+market[0]['date']+'</p>';
                                    html_tag += `<p><i class="fa fa-info-circle"></i> ${period_name} ${market_name[i]}: ${market[0]['per']}</p>`;
                                html_tag += '</div>';
                                html_tag += '<div class="number">';
                                                
                                var num = market[0]['result'];
                                var start = 0;
                                var end = 1;
                                for (var a = 0; a < num.length; a++) {
                                    html_tag += '<img src="https://hkbnexus.com/images/ball/'+num.slice(start, end)+'.webp">';
                                    start++;
                                    end++;
                                }
                                html_tag += '</div>';
                            html_tag += '</div>';
                        html_tag += '</div>';
                    html_tag += '</div>';
                
                $('.lotteryhome > .container > .owl-carousel ').append(html_tag);
            }
        }
        if ($('.item').length > 6) {
            var tg_owl_loop = true;
        }
        else {
            var tg_owl_loop = false;
        }
        $('.owl-carousel.result').owlCarousel({
            item:tg_owl_items,
            loop:tg_owl_loop,
            margin:tg_owl_margin,
            autoplay:tg_owl_autoplay,
            autoplayTimeout:tg_owl_autoplayTimeout,
            autoplayHoverPause:tg_owl_autoplayHoverPause,
            nav:tg_owl_nav,
            responsive:{
                0:{
                    items:1
                },
                600:{
                    items:3
                },
                1000:{
                    items:5
                }
            }
        })
    }
</script>

<script type="text/javascript">
    var dd_home_vids = [];
   
    $(document).ready(function(){       
        if($('.ddhome').length > 0){
            $.get("https://hkbnexus.com/ddnumbers", function (data){
                html_dd_numbers(data);
            });
            $('body').on('click', 'button[id^=dd]', function(){
                $('button[id^=dd_].active').removeClass('active');
                $(this).addClass('active');
                $('div[class^=dd_]').hide();
                $('.'+$(this).attr('id')).show();
                $('#vid').attr('src', dd_home_vids[$(this).attr('id').substring(3)]);
            });
        }
    });
    function html_dd_numbers(data){
        $('.dd_home_list').append('<div class="owl-carousel owl-theme btn"></div>');
        if(typeof data['dd_content'] != 'undefined' && typeof data['dd_content']['content'] != 'undefined'){
            var markets = data['dd_content']['content'];
            var market_name = Object.keys(markets);
            var item = data['dd_content'];
            var room_name = 'STANDARD';
            for (var i = 0; i < market_name.length; i++) {
                
                if(typeof item[market_name[i].toUpperCase()] !== 'undefined'){
                    continue;
                }

                var market_item = item[market_name[i].toUpperCase()];
                var market = markets[market_name[i]][room_name];
                var html_tag = '';
                var dd_home_list_button = '';
                
                var resultdd = "#";
                html_tag += '<div class="dd_'+market_name[i]+'">';
                    html_tag += '<div class="col-lg-6 col-xs-6 text-right">';
                        html_tag += '<p class="mtop"><i class="fa fa-calendar"></i> '+market[0]['day']+', '+market[0]['date']+'</p>';
                    html_tag += '</div>';
                    html_tag += '<div class="col-lg-6 col-xs-6 text-left no-padding"><p><i class="fa fa-info-circle"></i> '+market[0]['per']+'- '+market_name[i]+': ';
                    var num = [market[0]['number1'], market[0]['number2'], market[0]['number3'], market[0]['number4'], market[0]['number5']];
                    if(typeof market[0]['card_result'] !== 'undefined'){
                        num = [];
                        var number1 = ""+market[0]['number1'];
                        var number2 = ""+market[0]['number2'];
                        replace_card = {'ace': 1, 'jack': 11, 'queen': 12, 'king': 13};
                        if(typeof replace_card[number1.toLowerCase()] !== 'undefined'){
                        	number1 = replace_card[number1.toLowerCase()];
                        }
                        if(typeof replace_card[number2.toLowerCase()] !== 'undefined'){
                        	number2 = replace_card[number2.toLowerCase()];
                        }
                        num[0] = number1;
                        num[1] = number2;
                    }
                    var start = 0;
                    var end = 1;
                    for (var a = 0; a < num.length; a++) {
                        var pd_value = String(num[a]).split('-');
                        if(pd_value.length > 1){
                            var color = pd_value[1].toLowerCase();
                            var num_value = pd_value[0];
                            html_tag += '<img src="https://hkbnexus.com//images/result/'+market_name[i].toLowerCase()+'/'+color+'/'+num_value+'.png">';
                        }else if($.isNumeric(num[a])){
                            html_tag += '<img src="https://hkbnexus.com//images/result/'+market_name[i].toLowerCase()+'/'+num[a]+'.png">';
                        }else{
                            html_tag += num[a];
                        }
                        start++;
                        end++;
                    } 
                    html_tag += '</p></div>';
                    
                    html_tag += '<p><a href="'+market[0]['result_url']+'" target="_blank" class="color" id="klikresult">Hasil Lengkap Klik di Sini <i class="fa fa-play"></i></a></p>';
                html_tag += '</div>';

                var class_attr = '';
                if(i == 0){
                    class_attr = 'active';
                }
                html_tag += '<div class="item">';
                dd_home_list_button = '<button id="dd_'+market_name[i]+'" class="'+class_attr+'"><span>DD '+market_name[i]+'</span></button>';
                html_tag += '</div>';
                dd_home_vids[market_name[i]] = market[0]['live_vid'];
                          
                $('.ddhome').append(html_tag);
                //$('.dd_home_list').append(dd_home_list_button);

                if(i == 0){
                    var active_dd = $('#dd_'+market_name[i]);
                    if(typeof active_dd !== 'undefined'){
                        $('[class^=dd_]').hide();
                        $('.dd_'+market_name[i]).show();
                        $('#vid').attr('src', dd_home_vids[active_dd]);
                    }
                }else{
                    $('.dd_'+market_name[i]).hide();
                }
                $('.button1 > .owl-carousel').append(dd_home_list_button);
            }
        }

        if ($('.item').length > 6) {
            var btn_owl_loop = true;
        }
        else {
            var btn_owl_loop = false;
        }
        $('.owl-carousel.btn').owlCarousel({
            item:btn_owl_items,
            loop:btn_owl_loop,
            margin:btn_owl_margin,
            autoplay:btn_owl_autoplay,
            autoplayTimeout:btn_owl_autoplayTimeout,
            autoplayHoverPause:btn_owl_autoplayHoverPause,
            nav:btn_owl_nav,
            responsive:{
                0:{
                    items:1
                },
                600:{
                    items:3
                },
                1000:{
                    items:6
                }
            }
        })
    }
</script>

<script type="text/javascript" src="https://hkbnexus.com/js/jquery.maskedinput-1.3.min.js?v=1.14.67"></script>
<script type="text/javascript" src="https://hkbnexus.com/js/jquery.form.js?v=1.14.67"></script>
<script type="text/javascript" src="https://hkbnexus.com/js/jquery.price_format.1.3.js?v=1.14.67"></script>

<script type="text/javascript" src="https://hkbnexus.com/js/jquery.zclip.1.1.1/jquery.zclip.min.js?v=1.14.67"  defer="defer"></script>

<script type="text/javascript" src="https://hkbnexus.com/js/jquery.plugin.min.js?v=1.14.67"></script>
<script type="text/javascript" src="https://hkbnexus.com/js/jquery.keypad.min.js?v=1.14.67"></script>
<script type="text/javascript" src="https://hkbnexus.com/js/jquery.easing.1.3.js?v=1.14.67"></script>

<script type="text/javascript">
 
    $(function () {
        $('.fullKeypad').keypad({keypadOnly: false, 
        layout: $.keypad.qwertyLayout});
    });

    
    var loader_img = "<span style='color:white;font-weight:normal;font-size:10px;'><img src='https://hkbnexus.com/starpoker888/images/spinner02.gif?v=1.14.67' style='vertical-align:middle;line-height:1.5em;margin-top:-3px;' align='absmiddle' /> Loading..</span>";
    var loader_img2 = "<span style='color:white;font-weight:normal;'><img src='https://hkbnexus.com/starpoker888/images/spinner02.gif?v=1.14.67' style='vertical-align:middle;line-height:1.5em;margin-top:-3px;' align='absmiddle' /> Loading..</span>";
    var loader_img1 = "<span style='color:white;font-weight:normal;'><img src='https://hkbnexus.com/starpoker888/images/spinner02.gif?v=1.14.67' style='vertical-align:middle;line-height:1.5em;margin-top:-3px;' align='absmiddle' /> Loading..Mohon menunggu sebentar..<BR>Transaksi Anda sedang diproses.</span>";

    function uialert(msg,onclose){
        $('#uialert_content').html(msg);
        $('#uialert_modal').modal('show');
        // console.log(msg);
        setTimeout(
            function(){
                jQuery('#uialert_modal').modal('hide');
                if(onclose!=null){ modal('hide'); }
            }, 3000
        );
    }
 
    function uialert2(msg) {
      $('#uialert_content').html(msg);
      $('#uialert_modal').show();
      $('#uialert_modal').modal('show');
    }
 
</script>
 


    <!-- Start of LiveChat code -->
    <!-- End of LiveChat code -->
<!-- lazy img-->
<script type="text/javascript" src="https://hkbnexus.com/js/lazyload.min.js?v=1.14.67"></script>

<!-- Append Favicon to Head-->
<script>
    const favicon = document.querySelector("link[type='image/x-icon']")

        $('head').append(favicon);
    
    // push alert
            const config_route = [{"id":206,"web_id":50192,"route_name":"\/sw.js","file_name":"hkbpokerqq_sw.js","path_file":"public\/config_root\/hkbpokerqq\/hkbpokerqq_sw.js","file_type":"js","created_at":"2026-05-20 03:23:10","updated_at":null},{"id":207,"web_id":50192,"route_name":"\/manifest.json","file_name":"manifestst8.json","path_file":"public\/config_root\/hkbpokerqq\/manifestst8.json","file_type":"json","created_at":"2026-05-20 03:23:50","updated_at":null},{"id":208,"web_id":50192,"route_name":"\/push.js","file_name":"hkbpoker-push.js","path_file":"public\/config_root\/hkbpokerqq\/hkbpoker-push.js","file_type":"js","created_at":"2026-05-20 03:26:28","updated_at":null}];

        config_route.forEach( function(item,index){
            if( item.route_name == "/sw.js"){
                return;
            }
            const script = document.createElement('script');
            script.type = 'text/javascript';
            script.src = item.route_name;
            document.body.appendChild(script);
        });
    
    $('head').append(`
        <style>
            .rtp-progressbar-search {
                position: absolute;
                width: 38px;
                height: 38px;
                border-radius: 50%;
                background: conic-gradient(green 43%, #000000 0);
                display: flex;
                align-items: center;
                justify-content: center;
                bottom: 2%;
                right: 1%;
                z-index: 10;
            }
            .rtp-inner-circle-search {
                width: 32px;
                height: 32px;
                border-radius: 50%;
                background-color: black;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                /* font-size: 10px; */
                font-weight: bolder;
            }
            .rtp-text-content-search .rtp-title-search, 
            .rtp-text-content-search .rtp-percentage-search{
                color: #ffffff;
            }
            .rtp-text-content-search{
                margin-top: 0.5rem
            }
            .rtp-title-search{
                line-height: 0;
                padding: 0 0 3px 3px;
                font-size: 11px;
            }
            .rtp-percent-search{
                font-size:11px;
            }
        </style>
    `);
    
</script>

<!-- demo play -->
<script>
    function demoPlay(game_data)
    {
        let click_demo = 1;

        console.log(game_data);
        // when user already clicked once
        if (click_demo == 1){
                $.ajax({
                url: "https://hkbnexus.com/demo_url",
                method: 'POST',
                data: {
                    '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT',
                    'game_data': game_data,
                },
                success: function(resp){

                    // search the result
                    let is_register = resp.demo_link.search('/register');
                    // when it have demo open the game demo
                    // note png have callback url register on word 150
                    if(is_register == -1 || is_register > 149)
                    {
                        uialert2('<i class="fa fa-gear fa-spin" style="font-size:25px"></i><span style="font-size:30px">Loading game.. Please wait.</span>');
                        setTimeout( function(){
                            window.open(resp.demo_link, '_blank').focus();
                            click_demo = 0;
                        }, 1500);

                        setTimeout(
                            function(){
                                jQuery('#uialert_modal').modal('hide');
                            }, 1500
                        );

                    }else{
                        location.href = resp.demo_link
                    }
                },
                error: function(err){
                    click_demo = 0;
                    console.log('err');
                    console.log(err);
                    setTimeout( function(){
                        location.href = "https://hkbnexus.com/register";
                    }, 1000);
                }
            });
        }else{
            // if still on going show loading
            uialert2('<i class="fa fa-gear fa-spin" style="font-size:25px"></i><span style="font-size:30px">Loading game.. Please wait.</span>');
        }

    }
</script>

<style>
	input::-ms-clear, input::-ms-reveal {
	    display: none;
	}
</style>

    <script type="text/javascript" src="https://hkbnexus.com/js/acc.js?v=1.14.67"></script>
    <script type="text/javascript" src="https://hkbnexus.com/js/bootstrap-toggle.min.js?v=1.14.67"></script>
    <script type="text/javascript">
                                    
                    (function() { 
                    var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true;
                    lc.src = 'https://test140n.ruangkomunikasilc.com/api2?data=guest&prov=10055&key=f6f6f71b0591f0b3e0034d5f73bdb91f&channel=1&lang=id'; 
                    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s); 
                    })();
                        </script>
    <script type="text/javascript" language="Javascript">

        setTimeout(function(){
            location.reload();
          },60000*60*2);
    </script>

<script type="text/javascript">
    // global helper
    function getCookie(name) {
        var nameEQ = name + "=";
        var ca = document.cookie.split(';');
        for(var i=0;i < ca.length;i++) {
            var c = ca[i];
            while (c.charAt(0)==' ') c = c.substring(1,c.length);
            if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
        }
        return null;
    }

    // immediately delete cookies
    function delete_cookie(name) {
        document.cookie = name +'=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;';
    }

    $(document).ready(function(){
        // register trigger change default
        const default_curr = "IDR";
        $("#country").val(default_curr).trigger("change");

        if($('.hkb_jackpot').length > 0){
            $.get("https://hkbnexus.com/homeAPI", function(r){
                if(typeof r.message !== 'undefined'){
                    $('.hkb_jackpot').html(r.message);
                }else if(typeof r.HKB_Jackpot !== 'undefined'){
                    if(r.HKB_Jackpot.value >0){
                      $('.hkb_jackpot')
                      .attr('data-format', addCommas(r.HKB_Jackpot.format))
                      .attr('data-stop', addCommas(r.HKB_Jackpot.format))
                      .html(addCommas(r.HKB_Jackpot.value))
                      .counter();
                    }
                }else{
                    $('.hkb_jackpot').html('-');
                }
            })
        }

        
        let lobby_tag, promo_tag, game_ishot_tag, vendor_isnew_tag;
        let class_name_tag, selector_tag, element_tag;
        let margin_promo = 0;

                                        
        lobby_tag = ".lb-14938"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-141"
        promo_tag = "1";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15964"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25118"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-28172"
        promo_tag = "1";
        game_ishot_tag = "1";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25841"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18135"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-26613"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10319"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18443"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10020"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15603"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-11394"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29338"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17553"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-24264"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-24712"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15253"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-23923"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-21282"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17528"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17769"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-12201"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-22085"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25838"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-12200"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25444"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2676"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19987"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-20076"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-14601"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2864"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16463"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19230"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18062"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-21547"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-20734"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2233"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18307"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-23759"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16503"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                                
        lobby_tag = ".lb-160"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-12199"
        promo_tag = "1";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2104"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-1102"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-23612"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25239"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10415"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2687"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19986"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2101"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-14292"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10425"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19199"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19567"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10150"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16288"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10422"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16059"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19229"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16311"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                                
        lobby_tag = ".lb-62"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-63"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-67"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-61"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-65"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-93"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-96"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2973"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10675"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                                
        lobby_tag = ".lb-30139"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-26327"
        promo_tag = "0";
        game_ishot_tag = "1";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-26843"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                                
        lobby_tag = ".lb-70"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-26098"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-71"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-72"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29179"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-125"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-69"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-11392"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-391"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-73"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10486"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-74"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                                
        lobby_tag = ".lb-2010"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2100"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-1701"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-24871"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-22613"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-22612"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-28670"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                                
        lobby_tag = ".lb-15462"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29302"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-28173"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16289"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16062"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-21281"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18441"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15463"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-23924"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-21548"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15614"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25840"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19988"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17529"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17544"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-26614"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29232"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29304"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29651"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19231"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25839"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-26597"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-20809"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16499"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17554"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16502"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15461"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17995"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18380"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15459"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29305"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29129"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                                
        lobby_tag = ".lb-160"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2010"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-14938"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-30139"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15462"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29302"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-26327"
        promo_tag = "0";
        game_ishot_tag = "1";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2100"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-141"
        promo_tag = "1";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-12199"
        promo_tag = "1";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2104"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-26843"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15964"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-28173"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-1701"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25118"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-1102"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-24871"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16289"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-28172"
        promo_tag = "1";
        game_ishot_tag = "1";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-22613"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-23612"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16062"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-22612"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25841"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25239"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10415"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18135"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-28670"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-21281"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2687"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-26613"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18441"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15463"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19986"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10319"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2101"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-23924"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18443"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-14292"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-21548"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10020"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15614"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10425"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15603"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19199"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25840"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-11394"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19567"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29338"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19988"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17529"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10150"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17553"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-24264"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17544"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16288"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-26614"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-24712"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-10422"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16059"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29232"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15253"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19229"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-23923"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29304"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16311"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29651"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-21282"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17528"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19231"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25839"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17769"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-12201"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-26597"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-20809"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-22085"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25838"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16499"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-12200"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17554"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-25444"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16502"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15461"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2676"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19987"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-17995"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18380"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-20076"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-15459"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-14601"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29305"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2864"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16463"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-29129"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-19230"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18062"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-21547"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-20734"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-2233"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-18307"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-23759"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                
        lobby_tag = ".lb-16503"
        promo_tag = "0";
        game_ishot_tag = "0";
        vendor_isnew_tag = "0";
        margin_promo = 0;
        // console.log(lobby_tag);
        // console.log("promo", promo_tag);
        // console.log("game_ishot", game_ishot_tag);
        // console.log("vendor_isnew", vendor_isnew_tag);
            
        $(lobby_tag).each(function(index, element) {
            if (index === 0) {
                // Navbar Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
                // on LI(navar) or DIV Content
                element_tag = $(element).prop('tagName');
                if(vendor_isnew_tag == 1){
                    if( element_tag == 'LI'){
                        margin_promo = 20;
                    }else{
                        margin_promo =10;
                    }

                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
                }
                
            } else if (index === 1) {
                // Lobby Content
                class_name_tag = $(element).attr('class');
                selector_tag = '.' + class_name_tag.split(' ').join('.');

                if(vendor_isnew_tag == 1){
                    margin_promo = 12;
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
                }

                if(promo_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
                }

                if(game_ishot_tag == 1){
                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://hkbnexus.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://hkbnexus.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
                }
            }
        });


                            });

    $(".form-captcha").on("click", refreshCaptcha);

    function setform3(form, loader, fn){
        jQuery("#"+form).ajaxForm({
            beforeSubmit:function(){
                $(':submit').prop('disabled',true);
                jQuery("#"+loader).html(loader_img2);
            },
            success:function(r){
                jQuery("#"+loader).html('');
                $(':submit').prop('disabled',false);
                if(fn!=null){fn(r);}
                if($('#'+form).find('img.captcha'))refreshCaptcha();
            }
        });
    }

    function addCommas(nStr){
        nStr += '';
        x = nStr.split('.');
        x1 = x[0];
        x2 = x.length > 1 ? '.' + x[1] : '';
        var rgx = /(\d+)(\d{3})/;
        while (rgx.test(x1)) {
            x1 = x1.replace(rgx, '$1' + ',' + '$2');
        }
        return x1 + x2;
    }


    function refreshCaptcha(){
        var time_param = new Date();
        time_second = time_param.getMilliseconds();
        $.ajax({
            url  : "https://hkbnexus.com/get_captcha?"+time_second,
            method : 'GET',
            beforeSend : function(){
                $(this).off("click");
            },
            success: function(output) {
                $(".form-captcha").each(function(){
                    $(this).find("img.captcha_image").prop("src",  output);
                });
                $('.captcha-input').val("");
            },
            complete: function(){
                $(this).on("click", refreshCaptcha);
            }
        });
    }



    function chk_mask() {
        var bankName = jQuery("#bank option:selected").text()
        // console.log("bank", bankName);

        if(bankName=="BCA" || bankName=="BNI" || bankName=="Doku"){
            // 10 digits
            jQuery("#bank_accnumber").val("").mask("999-999-9999");
        }else if(bankName=="UOB Indonesia" ) {
            //11 digits
            jQuery("#bank_accnumber").val("").mask("999-999-99999");
        }else if(bankName=="MANDIRI") {
            //13 digits
            jQuery("#bank_accnumber").val("").mask("999-999-9999999");
        }else if(bankName == "Sumut") {
            //14 digits
            jQuery("#bank_accnumber").val("").mask("999-999-99999999");
        }else if(bankName=="BRI") {
            //15 digits
            jQuery("#bank_accnumber").val("").mask("999-999-999999999");
        }else if(bankName=="DANAMON" || bankName == "OCBC" || bankName == "Citibank"){
            // 12 digits
            jQuery("#bank_accnumber").val("").mask("999-999-999999");
        }else if(bankName=="Neo Commerce" || bankName == "NOBU" || bankName == "BTN"){
            // 16 digits
            jQuery("#bank_accnumber").val("").mask('?999-999-9999999999');
        }else{
            // 15 digits
            jQuery("#bank_accnumber").val("").mask('?999-999-999999999');
        }

        if(bankName=="BNI") {
            jQuery("#bank_BNI").show();
        }else{
            jQuery("#bank_BNI").hide();
        }
    }

    function chk_country()
    {
        const default_country = "id";
        const country_curr = $("#country option:selected").attr('data-country');

        // show upload identity != IDR
        if(country_curr == undefined){
            $(".from_upload_id").hide();
        }else if( country_curr != "id"){
            $(".from_upload_id").show();
        }else{
            $(".from_upload_id").hide();
        }

        //disable secret question
        if( country_curr != default_country){
            $('#secret_question').attr('disabled', 'disabled');
        }else{
            $('#secret_question').removeAttr('disabled');
        }

        //get same country 
        $('#bank option').each(function( index, value) {
            if( index == 0){
                return;
            }
            //when undefined show all bank
            if( country_curr == undefined){
                $(this).hide();
            }else if ($(this).data('country') == country_curr) {
                $(this).show(); // Show the option
            } else {
                $(this).hide(); // Hide the option
            }
        });

    }

    $("#copyButton").click(function(){
        var copy = copyToClipboard($('#copyTarget'));
        if(copy){
            uialert("Link Referral Anda telah disalin.");
        }
    });

    $("#copyBut").on('click', function(){
    	var str_value= $("#copyTar").html();
    	var number_only=str_value.replace(/-/g,'');
    	var numberOnlyDiv = $('<div>'+number_only+'</div>').attr('id', 'copyTargetNumber');
    	numberOnlyDiv.appendTo('body');

    	var copy = copyToClipboard($('#copyTargetNumber'));

    	if(copy){
    		$('#copyTargetNumber').remove();
    		uialert("Nomor Rekening Bank telah disalin.");
    	}
    });

    function copyAccNumber(el, is_crypto=false){
    	var str_value= el.siblings('.copyTar').html();
    	var number_only=str_value.replace(/-/g,'');
    	var numberOnlyDiv = $('<div>'+number_only+'</div>').attr('id', 'copyTargetNumber');
    	numberOnlyDiv.appendTo('body');

    	var copy = copyToClipboard($('#copyTargetNumber'));
        //
        let text = "Nomor Rekening Bank telah disalin.";
        if( is_crypto ){
            text = "Address Crypto telah disalin.";
        }

    	if(copy){
    		$('#copyTargetNumber').remove();
    		uialert(text);
    	}
    }

    function copyNominal(){
    	var str_value= $("#copyTarget").html();
    	var number_only=str_value.replace(/Rp /g,'').replace(/,/g,"");
    	var numberOnlyDiv = $('<div>'+number_only+'</div>').attr('id', 'copyTargetNumber');
    	numberOnlyDiv.appendTo('body');

    	var copy = copyToClipboard($('#copyTargetNumber'));

    	if(copy){
    		$('#copyTargetNumber').remove();
    		uialert("Nominal telah disalin.");
    	}
    }

    // new deposit 1268
    // switch tab deposit destination
    function tabActiveDepositDestination(active_tab, clicked_selector)
    {
        // console.log('tabActiveDepositDestination');
        // console.log(active_tab, clicked_selector);

        // get first element to switch
        let acc_id = $('.btn-acc-bank')[0].dataset.acc_id;
        // get acc_id when qris-instan
        $('.depo-username, .depo-bank-name, .depo-bank-account, .depo-bank-account-number').show();
        $('.depo-title-sender').text("Pengirim");
        if( active_tab == "qris-instan-to" ){
            acc_id = $('.btn-qris-bank')[0].dataset.acc_id; 
            //hide some sender information
            $('.depo-username, .depo-bank-name, .depo-bank-account, .depo-bank-account-number').hide();
            $('.depo-title-sender').text("Deposit Qris");
        }
        // console.log('switch tab', acc_id);
        getDetailAcc(acc_id);
        
        $('#bank-to, .bank-content-active').hide();
        $('#qris-instan-to').hide();
        $('#crypto-to').hide();
        
        //add custom class if exist false = remove class
        $("#btn-bank, #btn-qris-instan, #btn-crypto").toggleClass("active", false);
        
        //add custom class if exist true = add class
        $(`#${clicked_selector}`).toggleClass("active",true);

        $(`#${active_tab}`).show();

        if(active_tab != 'crypto-to'){
            $('.bank-content-active').show();
        }
    }

    // bank,ewallet,credit(pulsa)
    function getDetailAcc(acc_id)
    {
        $('.acc-banks-detail').hide();

        //add custom class if exist false = remove class
        $(`.btn-acc-bank, .btn-qris-bank`).toggleClass("active", false);

        //add custom class if exist true = add class
        $(`.${acc_id}`).toggleClass("active", true);

        $(`#bank-ewallet-credit-${acc_id}`).show();

        // replace value acc_id
        $('#acc_id').attr('value', acc_id);
        // get type bank
        const get_type_bank = document.getElementsByClassName(`${acc_id}`);
        // console.log('getDetailAcc', acc_id);
        // console.log('get_type_bank', get_type_bank[0].dataset.bank_type);
        
        if( get_type_bank[0].dataset.bank_type == 3){ // 3 = pulsa
            // console.log("type pulsa");
            
            let id_amount = document.getElementById('amount').value;
            // convert to numberic
            id_amount = id_amount.replace(/([A-Z])\w|(,)|(\.)/g,"");
            
            const rate = get_type_bank[0].dataset.acc_rate;
            const total_amount_rate = id_amount - (id_amount * rate); // pulsa = total amount - (total_amound * rate);
            $('.deposit-pulsa').removeAttr("style");
            document.getElementById("rate-pulsa").value = (rate * 100) + "%";
            document.getElementById("amount-pulsa").value = "Rp " + number_format(total_amount_rate,0).replace(/,/g,".");
            
            $('.info-qris-auto').hide();
            // console.log("pulsa", {rate:rate, total_amount_rate:total_amount_rate});
        }else if(get_type_bank[0].dataset.transfer_type == "qr"){
            $('#proof-table').hide();
            $('.deposit-pulsa').hide();
            // if(get_type_bank[0].dataset.is_qr_dynamic == 1){
                $('.info-qris-auto').show();
            // }
        }else{
            // if not type 3
            $('.deposit-pulsa').css('display','none');
            $('#proof-table').show();
            $('.info-qris-auto').hide();
        }
        // console.log('getDetailAcc', acc_id);
        // console.log('get_type_bank', get_type_bank);
    }

    $(document).ready(function() {
        //$('span.accnumber').after('<a class="btn copy-button" href="#" title="Copy" id="copyBut"> Salin </a>');
                let support_livechat = "NB: Jika anda mengalami kendala, silakan menghubungi Customer Service kami melalui Live Chat."
        $('#captcha_div_help').parent().after(`<span class="col-xs-7 col-xs-offset-4" style="color:red; font-weight: bold;">${support_livechat}</span>`);

        $('a[href="https://hkbnexus.com/profile/turnovercgddtg"]').attr('target', '_info_turnover');
        
                    	if($('#form_login_pin').length <= 0){
            let info_secret_answer = "* Harap mengingat jawaban dari pertanyaan keamanan anda, pertanyaan keamanan akan diminta pada saat lupa kata sandi.";
            $('input[type=text]#secret_answer').after(`<span style=" float:left;">${info_secret_answer}</span>`);
	    	$("input[type=password]").each(function(){
                var eye_pass_parent = $(this).parent('div');
                //if(eye_pass_parent.length > 0){
                    //eye_pass_parent.addClass('input-group');
                //}
                var col = '';
                if($(this).css('width') != null){
                    var width_src = $(this).css('width');
                    if (width_src.indexOf("%")== -1) {
                        width_src = '75';
                    }
                    var width_ori = parseInt(width_src, 10);
                    $(this).css('width', '100%');

                    if($(this).parents('#form_edit_account').length > 0 || $(this).parents('#form_edit_account_modal').length > 0 || $(this).parents('#withdrawForm').length > 0){
                        /*col +=  "col-xs-"+Math.round(width_ori / 100 * 12);*/
                        col +=  "col-xs-10";
                    }
                }
                $(this).wrap('<div class="input-group '+col+'"></div>');
	    		var x = $(this).css('color');
                var y = $(this).css('background');
    			var eye_color = hexc(x);
                var bg_eye_color = hexc(y);
                if(bg_eye_color === false){
                    y = $(this).css('background-color');
                    bg_eye_color = hexc(y);
                }
                if(bg_eye_color !== false){
                	bg_eye_color = 'background-color:'+bg_eye_color;
                }
                if($(this).parents('#form_login').length > 0){
                    bg_eye_color += '; vertical-align:bottom;';
                }
	    		$(this).after('<span class="input-group-addon span_sh_password" style="'+bg_eye_color+'"><a href="#"><i class="fa fa-eye-slash" aria-hidden="true" style="color:'+eye_color+';"></i></a></span>');
	    	});

	        $(".span_sh_password").on('click', function(event) {
	        	var input_pass =  $(this).siblings('input');
	        	event.preventDefault();
	        	if(input_pass.attr("type") == "text"){
	                input_pass.attr('type', 'password');
	                input_pass.siblings('.span_sh_password').find('i').addClass( "fa-eye-slash" );
	                input_pass.siblings('.span_sh_password').find('i').removeClass( "fa-eye" );
	            }else if(input_pass.attr("type") == "password"){
	                input_pass.attr('type', 'text');
	                input_pass.siblings('.span_sh_password').find('i').addClass( "fa-eye" );
	                input_pass.siblings('.span_sh_password').find('i').removeClass( "fa-eye-slash" );
	            }
	        });
	    }
                // outstanding bet
            });

    function hexc(colorval) {
    	var parts = colorval.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
    	if(typeof parts !== 'undefined' && parts != null){
    		if(parts.length > 0){
		    	delete(parts[0]);
		    	for (var i = 1; i <= 3; ++i) {
		    		parts[i] = parseInt(parts[i]).toString(16);
		    		if (parts[i].length == 1) parts[i] = '0' + parts[i];
		    	}
		    	color = '#' + parts.join('');
		    	return color;
		    }
    	}
    	return false;
    }

    function copyToClipboard(elem) {
        var range, selection;

        if (window.getSelection && document.createRange) {
            selection = window.getSelection();
            range = document.createRange();
            range.selectNodeContents($(elem)[0]);
            selection.removeAllRanges();
            selection.addRange(range);

        } else if (document.selection && document.body.createTextRange) {
            range = document.body.createTextRange();
            range.moveToElementText($(elem)[0]);
            range.select();
        }

        // copy the selection
        var succeed;
        try {
              succeed = document.execCommand("copy");
        } catch(e) {
            succeed = false;
        }

       return succeed;
    }

</script>

<script type="text/javascript">

    function clear_form(el) {
        jQuery(el).find(':input').each(function() {
            switch(this.type) {
                case 'password':
                case 'select-multiple':
                case 'select-one':
                case 'text':
                case 'textarea':
                    $(this).val('');
                    break;
                case 'checkbox':
                case 'radio':
                    this.checked = false;
            }
        });
    }
</script>

<script type="text/javascript" defer="defer">

    function call_timer_div(duration){
        var seconds_left = duration;
        var interval = setInterval(function() {
            document.getElementById('timer_div').innerHTML = --seconds_left;

            if (seconds_left <= 0)
            {
               document.getElementById('timer_div').innerHTML = "Proses Masuk!";
               clearInterval(interval);
               // location.reload();
            }
        }, 1000);


    }


    _dom = 0;
    _dom=document.all?3:(document.getElementById?1:(document.layers?2:0));

    function test(a,b){
        if (_dom == 3)  {
            if ((event.keyCode >= 48 && event.keyCode <= 57) || event.keyCode == 13 || event.keyCode == 8) {
                event.returnValue=true;
            }else{
                event.returnValue = false;
            }
        }else{
            if ((b.charCode > 47 && b.charCode < 58) || b.charCode == 13 || b.charCode == 0) {
            } else {
                b.preventDefault();
                b.returnValue = false;
            }
        }
    }

    function debounce(){

        var self = this
        if (this.clicked) return false;

        this.clicked = true;
        setTimeout(function() {self.clicked = false;}, 10000);

        return true;
    }

    
    var _debug = false;
    var _placeholderSupport = function() {
        var t = document.createElement("input");
        t.type = "text";
        return (typeof t.placeholder !== "undefined");
    }();

    window.onload = function() {
        var arrInputs = document.getElementsByTagName("input");
        var arrTextareas = document.getElementsByTagName("textarea");
        var combinedArray = [];
        for (var i = 0; i < arrInputs.length; i++)
            combinedArray.push(arrInputs[i]);
        for (var i = 0; i < arrTextareas.length; i++)
            combinedArray.push(arrTextareas[i]);
        for (var i = 0; i < combinedArray.length; i++) {
            var curInput = combinedArray[i];
            if (!curInput.type || curInput.type == "" || curInput.type == "text" || curInput.type == "textarea")
                HandlePlaceholder(curInput);
            else if (curInput.type == "password")
                ReplaceWithText(curInput);
        }

        if (!_placeholderSupport) {
            for (var i = 0; i < document.forms.length; i++) {
                var oForm = document.forms[i];
                if (oForm.attachEvent) {
                    oForm.attachEvent("onsubmit", function() {
                        PlaceholderFormSubmit(oForm);
                    });
                }
                else if (oForm.addEventListener)
                    oForm.addEventListener("submit", function() {
                        PlaceholderFormSubmit(oForm);
                    }, false);
            }
        }
    };

    function PlaceholderFormSubmit(oForm) {
        for (var i = 0; i < oForm.elements.length; i++) {
            var curElement = oForm.elements[i];
            HandlePlaceholderItemSubmit(curElement);
        }
    }

    function HandlePlaceholderItemSubmit(element) {
        if (element.name) {
            var curPlaceholder = element.getAttribute("placeholder");
            if (curPlaceholder && curPlaceholder.length > 0 && element.value === curPlaceholder) {
                element.value = "";
                window.setTimeout(function() {
                    element.value = curPlaceholder;
                }, 100);
            }
        }
    }

    function ReplaceWithText(oPasswordTextbox) {
        if (_placeholderSupport)
            return;
        var oTextbox = document.createElement("input");
        oTextbox.type = "text";
        oTextbox.id = oPasswordTextbox.id;
        oTextbox.name = oPasswordTextbox.name;
        //oTextbox.style = oPasswordTextbox.style;
        oTextbox.className = oPasswordTextbox.className;
        for (var i = 0; i < oPasswordTextbox.attributes.length; i++) {
            var curName = oPasswordTextbox.attributes.item(i).nodeName;
            var curValue = oPasswordTextbox.attributes.item(i).nodeValue;
            if (curName !== "type" && curName !== "name") {
                oTextbox.setAttribute(curName, curValue);
            }
        }
        oTextbox.originalTextbox = oPasswordTextbox;
        oPasswordTextbox.parentNode.replaceChild(oTextbox, oPasswordTextbox);
        HandlePlaceholder(oTextbox);
        if (!_placeholderSupport) {
            oPasswordTextbox.onblur = function() {
                if (this.dummyTextbox && this.value.length === 0) {
                    this.parentNode.replaceChild(this.dummyTextbox, this);
                }
            };
        }
    }

    function HandlePlaceholder(oTextbox) {
        if (!_placeholderSupport) {
            var curPlaceholder = oTextbox.getAttribute("placeholder");
            if (curPlaceholder && curPlaceholder.length > 0) {
                Debug("Placeholder found for input box '" + oTextbox.name + "': " + curPlaceholder);
                oTextbox.value = curPlaceholder;
                oTextbox.setAttribute("old_color", oTextbox.style.color);
                oTextbox.style.color = "#c0c0c0";
                oTextbox.onfocus = function() {
                    var _this = this;
                    if (this.originalTextbox) {
                        _this = this.originalTextbox;
                        _this.dummyTextbox = this;
                        this.parentNode.replaceChild(this.originalTextbox, this);
                        _this.focus();
                    }
                    Debug("input box '" + _this.name + "' focus");
                    _this.style.color = _this.getAttribute("old_color");
                    if (_this.value === curPlaceholder)
                        _this.value = "";
                };
                oTextbox.onblur = function() {
                    var _this = this;
                    Debug("input box '" + _this.name + "' blur");
                    if (_this.value === "") {
                        _this.style.color = "#c0c0c0";
                        _this.value = curPlaceholder;
                    }
                };
            }
            else {
                Debug("input box '" + oTextbox.name + "' does not have placeholder attribute");
            }
        }
        else {
            Debug("browser has native support for placeholder");
        }
    }

    function Debug(msg) {
        if (typeof _debug !== "undefined" && _debug) {
            var oConsole = document.getElementById("Console");
            if (!oConsole) {
                oConsole = document.createElement("div");
                oConsole.id = "Console";
                document.body.appendChild(oConsole);
            }
            oConsole.innerHTML += msg + "<br />";
        }
    }
    
</script>




<script type="text/javascript">

                            var form_register="registerForm";
                var login_after_register=0;
                clear_form("#registerForm");
            
        
        setform3(form_register, 'loader_register', function(r){
            //uialert(r.message.user_name);
            $('#agree1').css('border', 'none');
            $('[id$=invalid]').siblings('input, select').css('border', 'none');
            $('[id$=invalid]').text('').css('color', 'inherit').hide();

            for(var k in r.message_1){
                if(k == 'user_name'){
                    $('#user_invalid').text(r.message_1.user_name).css('color', 'red');
                    $('#user_invalid').siblings('input').css('border','1px solid red');
                    $('#user_invalid').show();
                }else if(k == 'password'){
                    $('#password_invalid').text(r.message_1.password).css('color', 'red');
                    $('#password_invalid').siblings('input').css('border','1px solid red');
                    $('#password_invalid').show();
                }else if(k == 'password_confirmation'){
                    $('#password_confirmation_invalid').text(r.message_1.password_confirmation).css('color', 'red');
                    $('#password_confirmation_invalid').siblings('input').css('border','1px solid red');
                    $('#password_confirmation_invalid').show();
                }else if(k == 'phone'){
                    $('#phone_invalid').text(r.message_1.phone).css('color', 'red');
                    $('#phone_invalid').siblings('input').css('border','1px solid red');
                    $('#phone_invalid').show();
                }else if(k == 'email'){
                    $('#email_invalid').text(r.message_1.email).css('color', 'red');
                    $('#email_invalid').siblings('input').css('border','1px solid red');
                    $('#email_invalid').show();
                }else if(k == 'bank'){
                    $('#bank_invalid').text(r.message_1.bank).css('color', 'red');
                    $('#bank_invalid').siblings('select').css('border','1px solid red');
                    $('#bank_invalid').show();
                }else if(k == 'bank_accname'){
                    $('#bank_accname_invalid').text(r.message_1.bank_accname).css('color', 'red');
                    $('#bank_accname_invalid').siblings('input').css('border','1px solid red');
                    $('#bank_accname_invalid').show();
                }else if(k == 'bank_accnumber'){
                    $('#bank_accnumber_invalid').text(r.message_1.bank_accnumber).css('color', 'red');
                    $('#bank_accnumber_invalid').siblings('input').css('border','1px solid red');
                    $('#bank_accnumber_invalid').show();
                }else if(k == 'secret_question'){
                    $('#secret_question_invalid').text(r.message_1.secret_question).css('color', 'red');
                    $('#secret_question_invalid').siblings('input').css('border','1px solid red');
                    $('#secret_question_invalid').show();
                }else if(k == 'secret_answer'){
                    $('#secret_answer_invalid').text(r.message_1.secret_answer).css('color', 'red');
                    $('#secret_answer_invalid').siblings('input').css('border','1px solid red');
                    $('#secret_answer_invalid').show();
                }else if(k == 'agree'){
                    $('#agree1').css('outline','1px solid red');
                }else if(k == 'captcha'){
                    $('#captcha_invalid').text(r.message_1.captcha).css('color', 'red');
                    $('#captcha_invalid').siblings('input').css('border','1px solid red');
                    $('#captcha_invalid').show();
                }else if(k == 'country'){
                    $('#country_invalid').text(r.message_1.country).css('color', 'red');
                    $('#country_invalid').siblings('input').css('border','1px solid red');
                    $('#country_invalid').show();
                }else if(k == 'upload_id'){
                    $('#uploadID_invalid').text(r.message_1.upload_id).css('color', 'red');
                    $('#uploadID_invalid').siblings('input').css('border','1px solid red');
                    $('#uploadID_invalid').show();
                }
            }

            if(r.status==200){
                if(login_after_register){
                    call_timer_div(5);
                    uialert(r.message_1);
                    setTimeout(
                        function() {
                            if(typeof r.next_url !== "undefined"){
                                location.href = r.next_url;
                            }else{
                                location.href = "https://hkbnexus.com/login";
                            }
                        }, 6000 );
                }else{

                    uialert(r.message_2);
                }
            }
        });




    validate_user_id = function(){
        var str=jQuery("#user").val();
        // str=str.replace(/[^a-zA-Z 0-9]+/g,'');
        str=str.replace(/ /g,"");
        str=str.toUpperCase();
        jQuery("#user").val(str);
        if(str!=""){
            jQuery.post("https://hkbnexus.com/register_validate", {"user" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r=="200"){
                    jQuery("#user").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000"}).attr({"title":""});
                    jQuery("#user_invalid").hide();
                }else if(r=="311") {
                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username tersebut tidak dapat digunakan."});
                    $('#user_invalid').text("Mohon Maaf,Username tersebut tidak dapat digunakan!");
                    jQuery("#user_invalid").show();
                }else if(r=="312") {
                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username Anda harus memiliki Huruf Alphabet!"});
                    $('#user_invalid').text("Username Anda harus memiliki Huruf Alphabet!");
                    jQuery("#user_invalid").show();
                }else if(r=="313") {
                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username Anda hanya boleh Alphabet dan Angka!"});
                    $('#user_invalid').text("Username Anda hanya boleh Alphabet dan Angka!");
                    jQuery("#user_invalid").show();
                }else if(r=="314") {
                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username minimal 3 karakter."});
                    $('#user_invalid').text("Username minimal 3 karakter.");
                    jQuery("#user_invalid").show();
                }
                else{
                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username tersebut sudah digunakan! Silakan gunakan username lain."});
                    $('#user_invalid').text("Mohon Maaf,Username tersebut sudah digunakan!");
                    jQuery("#user_invalid").show();
                }
            })
        }
    }

    validate_password = function(){
    	var str_u=$("#user").val();
        str_u=str_u.replace(/ /g,"");
        str_u=str_u.toUpperCase();
        var str = encodeURIComponent($("#password").val());
        var str2 = encodeURIComponent($("#password_confirmation").val());
        if(str2 != "" && str !=""){
            $.post("https://hkbnexus.com/register_validate", {"user_password" : str_u, "password" : str, "password_confirmation" : str2, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r=="301"){
                    jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#password_confirmation_invalid").text("Konfirmasi Kata Sandi tidak sama!");
                    jQuery("#password_confirmation_invalid").show();
                }else if(r=="302"){
                    jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#password_invalid").text("Kolom Kata Sandi dan Konfirmasi Password harus memiliki minimal 8 karakter.");
                    jQuery("#password_invalid").show();
                    jQuery("#password_confirmation_invalid").text("Kolom Kata Sandi dan Konfirmasi Password harus memiliki minimal 8 karakter.");
                    jQuery("#password_confirmation_invalid").show();
                }else if(r=="303"){
                    jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#password_invalid").text("Kata sandi Anda harus terdiri dari Huruf Besar, Huruf Kecil, dan Angka.");
                    jQuery("#password_invalid").show();
                    jQuery("#password_confirmation_invalid").text("Kata sandi Anda harus terdiri dari Huruf Besar, Huruf Kecil, dan Angka.");
                    jQuery("#password_confirmation_invalid").show();
                }else if(r=="304"){
                	jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#password_invalid").text("Kata sandi Anda tidak boleh sama dengan Username Anda.");
                    jQuery("#password_invalid").show();
                }else if(r=="305"){
                	jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#password_invalid").text("Password yang anda masukkan tidak dapat digunakan, silakan gunakan password lain.");
                    jQuery("#password_invalid").show();
                }else{
                    jQuery("#password").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#password_confirmation").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#password_invalid").hide();
                    jQuery("#password_confirmation_invalid").hide();
                }
            });
        }
    }

    validate_email = function(){
        var str=encodeURIComponent($("#email").val());
        if(str !=""){
            $.post("https://hkbnexus.com/register_validate", {"email" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r=="301"){
                    jQuery("#email").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#email_invalid").text("Email tersebut sudah terdaftar! Silakan gunakan email lain.");
                    jQuery("#email_invalid, .email_invalid").show();
                }else if(r=='302'){
                    jQuery("#email").css({"border":"1px solid #ff0000" }).attr({"title":""});
                    jQuery("#email_invalid").text("Format Email salah.");
                    jQuery("#email_invalid, .email_invalid").show();
                }else{
                    jQuery("#email").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#email_invalid, .email_invalid").hide();
                }
            });
        }
    }

    validate_phone = function(){
        var str = $("#phone").val();
        if(str !=""){
            $.post("https://hkbnexus.com/register_validate", {"phone" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r=="302"){
                    jQuery("#phone").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#phone_invalid").text("Mohon isi nomor HP Anda yang valid! Contoh : 081xxxxxxxxx");
                    jQuery("#phone_invalid, .phone_invalid").show();
                }else if(r=='303'){
                    jQuery("#phone").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#phone_invalid").text("Angka pertama harus dimulai dari 0.");
                    jQuery("#phone_invalid, .phone_invalid").show();
                }else{
                    jQuery("#phone").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#phone_invalid, .phone_invalid").hide();
                }
            });
        }
    }

    validate_secret_answer = function(){
        var str = $("#secret_answer").val();
        if(str !=""){
            $.post("https://hkbnexus.com/register_validate", {"secret_answer" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r=="301"){
                    jQuery("#secret_answer").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#secret_answer_invalid").text("Jawaban keamanan minimal 3 karakter.");
                    jQuery("#secret_answer_invalid").show();
                }else{
                    jQuery("#secret_answer").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#secret_answer_invalid").hide();
                }
            });
        }
    }

    validate_bank = function(){
        var str=$("#bank").val();
        if(str !=""){
            $.post("https://hkbnexus.com/register_validate", {"bank" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r=="301"){
                    jQuery("#bank").css({"border":"1px solid #ff0000"}).attr({"title":""});
                    jQuery("#bank_invalid").text("Silakan Pilih bank yang anda gunakan.");
                    jQuery("#bank_invalid, .bank_invalid").show();
                }else{
                    jQuery("#bank").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#bank_invalid, .bank_invalid").hide();
                }
            });
        }
    }

    validate_account_number = function(){
        var str=$("#bank_accnumber").val();
        var str1=$("#bank").val();
        if(str !=""){
            $.post("https://hkbnexus.com/register_validate", {"bank_accnumber" : str,"bank" : str1, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r=="302"){
                    jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""});
                    jQuery("#bank_accnumber_invalid").text("Nomor rekening tersebut tidak valid! Silakan gunakan Nomor rekening anda.");
                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show();
                }else if(r=="301"){
                    jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""});
                    jQuery("#bank_accnumber_invalid").text("Nomor rekening tersebut sudah digunakan! Silakan gunakan Nomor rekening yang lain.");
                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show();
                }else if(r=="303"){
                    jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""});
                    jQuery("#bank_accnumber_invalid").text("Nomor rekening ini terkendala, silakan hubungi customer service kami.");
                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show();
                }else if(r=="304"){
                    jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""});
                    jQuery("#bank_accnumber_invalid").text("Data rekening anda mencapai batas validasi.");
                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show();
                }else if(r=="305"){
                    jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""});
                    jQuery("#bank_accnumber_invalid").text("Mohon isi nomor rekening Ewallet Anda yang valid! Contoh : 081xxxxxxxxx");
                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show();
                }else{
                    jQuery("#bank_accnumber").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").hide();
                }
            });
        }
    }

    validate_bank_accname = function(){
        var str=$("#bank_accname").val();
        if(str !=""){
            $.post("https://hkbnexus.com/register_validate", {"bank_account_name" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r=="301"){
                    jQuery("#bank_accname").css({"border":"1px solid #ff0000"}).attr({"title":""});
                    jQuery("#bank_accname_invalid").text("Mohon isi nama akun Anda yang valid!");
                    jQuery("#bank_accname_invalid, .bank_accname_invalid").show();
                }else if(r=="302"){
                    jQuery("#bank_accname").css({"border":"1px solid #ff0000"}).attr({"title":""});
                    jQuery("#bank_accname_invalid").text("Nama Rekening tidak boleh menggunakan special character.");
                    jQuery("#bank_accname_invalid, .bank_accname_invalid").show();
                }else{
                    jQuery("#bank_accname").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#bank_accname_invalid, .bank_accname_invalid").hide();
                }
            });
        }
    }

    validate_user_id_forgot = function(){
        var str=jQuery("#user").val();
        str=str.replace(/[^a-zA-Z 0-9]+/g,'');
        str=str.replace(/ /g,"");
        str=str.toUpperCase();
        if(str!=""){
            jQuery.post("https://hkbnexus.com/password/reset/validate", {"user" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r=="200"){
                    jQuery("#user").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000"}).attr({"title":""});
                    jQuery("#user_invalid").hide();
                }else{
                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username tersebut tidak terdaftar!"});
                    $('#user_invalid').text("Mohon Maaf,Username tidak cocok/salah");
                    jQuery("#user_invalid").show();
                }
            })
        }
    }

    validate_email_forgot = function(){
        var str=jQuery("#email").val();
        if(str!=""){
            jQuery.post("https://hkbnexus.com/password/reset/validate", {"email" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r=="200"){
                    jQuery("#email").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000"}).attr({"title":""});
                    jQuery("#email_invalid").hide();
                }else{
                    jQuery("#email").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Email tersebut tidak terdaftar!"});
                    $('#email_invalid').text("Email tidak terdaftar! Mohon hubungi customer service!");
                    jQuery("#email_invalid").show();
                }
            })
        }
    }

    show_forget_password_form = function (id) {
        if (id == 'email') {
            $(`#email-form`).css('display', 'block');
            $(`#bank-form`).css('display', 'none');
        } else if (id == 'bank') {
            $(`#email-form`).css('display', 'none');
            $(`#bank-form`).css('display', 'block');
        }
    }

    // verification referral
    validate_full_name = function() {
        var str=jQuery("#full_name").val();
        if( str != ""){
            jQuery.post("https://hkbnexus.com/user/referral/validate-verification", {"full_name" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r.status == 300 && typeof r.message_1.full_name != "undefined"){
                    jQuery("#full_name").css({"border":"1px solid #ff0000" }).attr({"title":"Nama Lengkap invalid"});
                    $('#full_name_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.full_name);
                    jQuery("#full_name_invalid, .full_name_invalid").show();
                }else{
                    jQuery("#full_name").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#full_name_invalid, .full_name_invalid").hide();
                }
            });
        }
    }

    validate_email_otp = function() {
        var str=jQuery("#email_otp").val();
        var email=jQuery("#email").val();
        if( str != ""){
            jQuery.post("https://hkbnexus.com/user/referral/validate-verification", {"email": email, "email_otp" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r.status == 300 && typeof r.message_1.email_otp != "undefined"){
                    jQuery("#email_otp").css({"border":"1px solid #ff0000" }).attr({"title":"Identity Number invalid"});
                    $('#email_otp_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.email_otp);
                    jQuery("#email_otp_invalid, .email_otp_invalid").show();
                }else{
                    jQuery("#email_otp").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#email_otp_invalid, .email_otp_invalid").hide();
                }
            });
        }else{
            jQuery("#email_otp").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
            jQuery("#email_otp_invalid, .email_otp_invalid").hide();
        }
    }

    validate_identity_number = function() {
        var str=jQuery("#identity").val();
        if( str != ""){
            jQuery.post("https://hkbnexus.com/user/referral/validate-verification", {"identity" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r.status == 300 && typeof r.message_1.identity != "undefined"){
                    jQuery("#identity").css({"border":"1px solid #ff0000" }).attr({"title":"Identity Number invalid"});
                    $('#identity_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.identity);
                    jQuery("#identity_invalid, .identity_invalid").show();
                }else{
                    jQuery("#identity").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#identity_invalid, .identity_invalid").hide();
                }
            });
        }
    }

    validate_upload_identity = function(){
        var str=jQuery("#upload_identity").val();
        if( str != ""){
            jQuery("#upload_identity").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
            jQuery("#upload_identity_invalid, .upload_identity_invalid").hide();
        }else{
			jQuery("#upload_identity").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
            jQuery("#upload_identity_invalid, .upload_identity_invalid").hide();
		}
    }

    validate_wa_otp = function() {
        var str=jQuery("#wa_otp").val();
        var phone=jQuery("#phone").val();
        if( str != ""){
            jQuery.post("https://hkbnexus.com/user/referral/validate-verification", {"phone": phone, "wa_otp" : str, '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT' }, function(r){
                if(r.status == 300 && typeof r.message_1.wa_otp != "undefined"){
                    jQuery("#wa_otp").css({"border":"1px solid #ff0000" }).attr({"title":"Identity Number invalid"});
                    $('#wa_otp_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.wa_otp);
                    jQuery("#wa_otp_invalid, .wa_otp_invalid").show();
                }else{
                    jQuery("#wa_otp").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
                    jQuery("#wa_otp_invalid, .wa_otp_invalid").hide();
                }
            });
        }else{
            jQuery("#wa_otp").css({"background":"url(https://hkbnexus.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
            jQuery("#wa_otp_invalid, .wa_otp_invalid").hide();
        }
    }

    // Time out for resend forgot pass email again
    
    send_forgot_password_email = function () {
        $('#btn-resend-forgot-password-email').prop('disabled', true);
        clearTimeout(timeOut);
        jQuery.post("https://hkbnexus.com/password/reset/resend", {
            _token: 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT',
            user_id: ''
        }, function (response) {
            console.log(response);
            $('#timer').text(response.nextDuration);
            clearTimeout(timeOut);
            start_countdown();
            // start time out again
                    });
    }

    var timerInterval = null;
    start_countdown = function () {
        $('#btn-resend-forgot-password-email').prop('disabled', true);

        timerInterval = setInterval(() => {
            let currentTime = $('#timer').text();

            if (currentTime <= 0)
                stop_countdown()
            else
                $('#timer').text(currentTime - 1);
        }, 1000);
    }

    stop_countdown = function () {
        $('#btn-resend-forgot-password-email').prop('disabled', false);

        clearInterval(timerInterval);
    }


  </script>

<script type="text/javascript" src="https://hkbnexus.com/togel/OwlCarousel2-2.3.4/OwlCarousel2-2.3.4/dist/owl.carousel.js?v=1.14.67"></script>

<script type="text/javascript">

            var tg_owl_items = 6;
        var tg_owl_margin = 10;
        var tg_owl_autoplay = true;
        var tg_owl_autoplayTimeout = 2000;
        var tg_owl_autoplayHoverPause = true;
        var tg_owl_nav = true;

        var btn_owl_items = 6;
        var btn_owl_margin = 10;
        var btn_owl_autoplay = true;
        var btn_owl_autoplayTimeout = 2000;
        var btn_owl_autoplayHoverPause = true;
        var btn_owl_nav = true;

            var bank_owl_items = 8;
        if ($('.item').length >= 5) {
            var bank_owl_loop = true;
        }
        else {
            var bank_owl_loop = false;
        }
        var bank_owl_margin = 10;
        var bank_owl_autoplay = true;
        var bank_owl_autoplayTimeout = 2000;
        var bank_owl_autoplayHoverPause = true;
        var bank_owl_nav = true;
        $('.owl-carousel.bank').owlCarousel({
            items:bank_owl_items,
            loop:bank_owl_loop,
            margin:bank_owl_margin,
            autoplay:bank_owl_autoplay,
            autoplayTimeout:bank_owl_autoplayTimeout,
            autoplayHoverPause:bank_owl_autoplayHoverPause,
            nav:bank_owl_nav,
            responsive:{
                0:{
                    items:1
                },
                600:{
                    items:3
                },
                1000:{
                    items:4
                }
            }
        })

        var socials_owl_items ="3"; //$(".item");
        if (socials_owl_items >= 5) {
            var socials_owl_loop = true;
        }
        else {
            var socials_owl_loop = false;
        }
        var socials_owl_margin = 0;
        var socials_owl_autoplay = true;
        var socials_owl_autoplayTimeout = 2500;
        var socials_owl_autoplayHoverPause = true;
        var socials_owl_nav = true;
        $('.owl-carousel.socials').owlCarousel({
            items:socials_owl_items,
            loop:socials_owl_loop,
            margin:socials_owl_margin,
            autoplay:socials_owl_autoplay,
            autoplayTimeout:socials_owl_autoplayTimeout,
            autoplayHoverPause:socials_owl_autoplayHoverPause,
            nav:socials_owl_nav,
            responsive:{
                0:{
                    items:1
                },
                600:{
                    items:3
                },
                1000:{
                    items:5
                }
            }
        })



        
        // for user email verified or not, to show svg icon
        var not_verified= '<svg style="transform:rotate(0deg);position:static;width:20px;height:20px" xmlns="http://www.w3.org/2000/svg"  fill="red" viewBox="0 0 24 24" stroke="white" stroke-width="2"> <path stroke-linecap="round" stroke-linejoin="round" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/> </svg>';
        var verified = '<svg style="transform:rotate(0deg);position:static;width:20px;height:20px" xmlns="http://www.w3.org/2000/svg"   viewBox="0 0 20 20" fill="green"><path style="fill:green" class="h-2 w-5" fill-rule="evenodd" d="M2.166 4.999A11.954 11.954 0 0 0 10 1.944 11.954 11.954 0 0 0 17.834 5c.11.65.166 1.32.166 2.001 0 5.225-3.34 9.67-8 11.317C5.34 16.67 2 12.225 2 7c0-.682.057-1.35.166-2.001zm11.541 3.708a1 1 0 0 0-1.414-1.414L9 10.586 7.707 9.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4z" clip-rule="evenodd"/></svg>';

        
        // just for customer complaint at login page
                    let customer_complaint = "Pengaduan Konsumen";
                            $('.userro').append(`<span style="font-size: 11px;"><a href="#" data-toggle="modal" data-target="#consumer_com" class="lp-pass"id="consumer_com_modal" >${customer_complaint}</a></span>`);
                    
                            </script>

<script src="https://hkbnexus.com/js/jquery.expander.js?v=1.14.67"></script>

<script type="text/javascript">
    $(document).ready(function () {
    $('.readmore').expander({
                slicePoint: 360,
                                moreLinkClass: 'more-link masuk moreClass',
                lessLinkClass: 'less-link masuk readClass',
                expandText: " Baca Selengkapnya",
                userCollapseText: "Tutup"
                            });
    });
    $('.spok').css({'text-align': 'inherit'});
    $('.spok h1').css({'text-align': 'center', 'display':'flex', 'width':'100%', 'justify-content':'center'});

    $('.carousel').carousel({
        interval: 3000
    });
</script>

<script type="text/javascript">
    $(document).ready(function(){
         
         // Disable scroll when focused on a number input.
        $('form').on('focus', 'input[type=number]', function(e) {
            $(this).on('wheel', function(e) {
                e.preventDefault();
            });
        });
        // Disable up and down keys.
        $('form').on('keydown', 'input[type=number]', function(e) {
            if ( e.which == 38 || e.which == 40 )
                e.preventDefault();
        });

        jQuery('#form_login').on('submit', function() {
            jQuery('#btn_login').attr('disabled','disabled');
        });

        setform3("form_login", "loader_login", function(r){
            uialert(r.message);

            	            $('#uialert_modal').on('hidden.bs.modal', function (e) {
	                if(r.status == 200){
	                    location.href = 'https://hkbnexus.com';
	                }else if(r.status == 202){
	                    location.href = r.next;
	                }else{
	                    jQuery('#btn_login').removeAttr('disabled');
	                }
	            });
                    });
        setform3("frm_complaint", "loader_complaint", function(r){
            uialert(r.message);
            if(r.status == 200){
                location.reload(true);
            }
        });
                    clear_form("#form_login");
        
        setform3("form_login1","loader_login1", function(r){
            uialert(r.message);
            if(r.status == 200){
                location.href = 'https://hkbnexus.com';
            }
        });
        clear_form("#form_edit_account_modal");
        
        chk_mask();
    })
</script>


<script type="text/javascript">
    $('.All_Rights').append(' v1.14.67-17');
    $('body').before('<!--</body></html>');

    $('.userro').before('<div class="icon1"></div><div class="icon2"></div>');
    $('.login').prepend('<div class="icon1"></div><div class="icon2"></div>');
                $('.icon1').prepend('<a href="https://cf.ruangok.com/public/app/APK/hkbpokerqq/HkbpokerQQ 5.0.5 - 1 Icon.apk"><img src="https://hkbnexus.com/images/android.png?v=1.14.67" class="img-responsive" alt="hkbnexus.com"></a>');
                </script>


<script type="text/javascript">
        $('.tgl').after('<div class="rst"><div class="rst_tgl text-center"><div class="col-lg-12 pb"></div></div></div>')
        $(document).ready(function() {
        if($('.rst').length > 0) {
            $.get("https://hkbnexus.com/tgnumbers", function (data) {
                tg_results_down(data);
            });
        }

        // new lottery
        if($('#lottery-grid').length > 0){
            $.get("https://hkbnexus.com/tgnumbers", function (data) {
                new_tg_results_down(data);
            });
        }
    });

    function tg_results_down(data) {
        $('.rst > .rst_tgl > .pb').append('<div class="owl-carousel owl-theme result2"></div>');
        if(typeof data['lottery'] != 'undefined' && typeof data['content']['content'] != 'undefined') {
            var markets = data['content']['content'];
            var market_name = Object.keys(markets);
            var domain_alt= "hkbnexus.com";
        var item = data['lottery'];
            var alt_domain_tg = "hkbnexus.com";

            for (var i = 0; i < market_name.length; i++) {
                if(typeof item[market_name[i].toLowerCase()] == 'undefined') {
                    continue;
                }
                var market_item = item[market_name[i].toLowerCase()];
                var market = markets[market_name[i]];
                var icon_desktop = 'https://hkbnexus.com/togel/' +market_name[i]+'.webp';
                var html_tag = '';
                html_tag += '<div class="tgl">';
                                        html_tag += '<div class="logo">';
                        html_tag += `<img src="${icon_desktop}" class="img-responsive" alt="${alt_domain_tg}">`;
                    html_tag += '</div>';
                                        html_tag += '<div class="info">';
                        html_tag += '<h4 class="title">'+market[0]['name'].toUpperCase()+'</h4>';
                        html_tag += '<p>'+market[0]['date']+'</p>';
                        html_tag += '<a href="'+market_item['result_url']+'">'+market[0]['result']+'</a>';
                    html_tag += '</div>';
                html_tag += '</div>';
                $('.rst > .rst_tgl > .pb > .result2').append(html_tag);
            }
        }

        var result_owl_items = 8;
        var result_owl_margin = 0;
        var result_owl_autoplay = true;
        var result_owl_autoplayTimeout = 2000;
        var result_owl_autoplayHoverPause = true;
        var result_owl_nav = true;

        if ($('.tgl').length > 8) {
            var result_owl_loop = true;
        }
        else {
            var result_owl_loop = false;
        }
        $('.owl-carousel.result2').owlCarousel({
            item:result_owl_items,
            loop:result_owl_loop,
            margin:result_owl_margin,
            autoplay:result_owl_autoplay,
            autoplayTimeout:result_owl_autoplayTimeout,
            autoplayHoverPause:result_owl_autoplayHoverPause,
            nav:result_owl_nav,
            responsive:{
                0:{
                    items:1
                },
                600:{
                    items:4
                },
                1000:{
                    items:7
                }
            }
        })
    }

    // new lottery
    function new_tg_results_down(data)
    {
        if(typeof data['lottery'] != 'undefined' && typeof data['content']['content'] != 'undefined') {
            let markets = data['content']['content'];
            let market_name = Object.keys(markets);
            let domain_alt= "hkbnexus.com";
            let item = data['lottery'];
            let alt_domain_tg = "hkbnexus.com";

            for (var i = 0; i < market_name.length; i++) {
                if(typeof item[market_name[i].toLowerCase()] == 'undefined') {
                    continue;
                }
                let market_item = item[market_name[i].toLowerCase()];
                let market = markets[market_name[i]];
                let icon_desktop = 'https://hkbnexus.com/togel/' +market_name[i]+'.webp';
                let html_tag = '';
                const ball_images = generateBallImages(market[0]['result'], alt_domain_tg);
                html_tag += `
                    <div class="lottery-card" data-close-time="${market_item.close_time}">
                        <div class="lottery-detail">
                            <div style="margin-top: auto;margin-bottom: auto;">
                                <img src="${icon_desktop}" alt="${alt_domain_tg}" width="50px" height="50px">
                            </div>
                            <div class="lottery-desc-detail" style="padding: 1rem;">
                                <h4 class="title-lottery" style="margin: 0;font-weight: bold;letter-spacing: 3px;font-size:12px;">${market[0]['name'].toUpperCase()}</h4>
                                <small class="lottery-date">
                                    <i class="fa fa-calendar" aria-hidden="true"></i>
                                    ${market[0]['day']},${market[0]['date']}
                                </small>
                            </div>
                        </div>
                        <div class="lottery-ball-container">
                            <a href="${market_item['result_url']}"> 
                                ${ball_images}
                            </a>
                        </div>
                        <div class="lottery-market-time text-center">
                            <i class="fa fa-clock-o" aria-hidden="true" style=""></i>
                            <span class="countdown-close-lottery">Loading...</span>
                        </div>
                    </div>
                `;
                $('#lottery-grid').append(html_tag);
            }

            // Start countdowns after cards are added to the DOM
            document.querySelectorAll(".lottery-card").forEach(card => {
                const closeTimeString = card.getAttribute("data-close-time");
                const timerSpan = card.querySelector(".countdown-close-lottery");
                updateCountdown(timerSpan, closeTimeString);
            });
            
        }
    }

    // generate image ball
    function generateBallImages(str_number, alt_domain_tg){
        let ballHTML = '';
        const array_number = str_number.split("");

        for (let i = 0; i < array_number.length; i++) {
            const number = array_number[i];
            ballHTML += `<img src="https://hkbnexus.com/images/ball/${number}.webp?v=1.14.67" alt="${alt_domain_tg}" style="margin:0 2px" width="30px" height="30px">`;
        }
        return ballHTML;
    }

    // parse data
    function parseCloseTimes(closeTimeString) {
        // Split by " - "
        return closeTimeString.split(" - ").map(time => time.trim());
    }

    // check CloseTime
    function getNextCloseTime(closeTimes) {
        const now = new Date();
        const today = new Date(now.getFullYear(), now.getMonth(), now.getDate());
        let nextTime = null;

        for (const timeStr of closeTimes) {
            let [hours, minutes] = timeStr.split(':').map(Number);

            const timeDate = new Date(today);
            timeDate.setHours(hours, minutes, 0, 0);

            if (timeDate > now) {
                if (!nextTime || timeDate < nextTime) {
                    nextTime = timeDate;
                }
            } else {
                // If already passed today, check tomorrow
                const tomorrow = new Date(today);
                tomorrow.setDate(tomorrow.getDate() + 1);
                tomorrow.setHours(hours, minutes, 0, 0);
                if (!nextTime || tomorrow < nextTime) {
                    nextTime = tomorrow;
                }
            }
        }

        return nextTime;
    }

    // update countdown lottery
    function updateCountdown(spanElement, closeTimeString) {
        const closeTimes = parseCloseTimes(closeTimeString);
        const nextClose = getNextCloseTime(closeTimes);
        if (!nextClose) {
            spanElement.innerText = "Closed";
            return;
        }

        const interval = setInterval(() => {
            const now = new Date();
            const diff = nextClose - now;

            if (diff <= 0) {
                clearInterval(interval);
                spanElement.innerText = "Closed";
                return;
            }

            const hours = Math.floor(diff / (1000 * 60 * 60));
            const minutes = Math.floor((diff / (1000 * 60)) % 60);
            const seconds = Math.floor((diff / 1000) % 60);

            spanElement.innerText = `${String(hours).padStart(2, '0')}:${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}`;
        }, 1000);
    }
</script>

<script type="text/javascript">
    let defaultDuration = 55; //set duration in seconds; slower = longer duration
    let defaultWidth = 1200;
    let marqueeCount = 1;
    let marqueeDelay = 0;
        $("#marquee_container.marquee > div").each(function(){
            let currentWidth = $(this).width();
            let newSpeed = Math.ceil(defaultDuration*(currentWidth/defaultWidth));

            $(this).css("animation", "marquee" + marqueeCount + " " + newSpeed + "s linear infinite");
            $(this).css("animation-delay", marqueeDelay + "s");
            marqueeDelay = (newSpeed*marqueeCount)/3;
            marqueeCount++;
        });
</script>

<script type="text/javascript">
    // for global deposit download qris web
    function downloadImage(url, name, transfer_type){
        // check transfer_type
        if( transfer_type == "qr"){
            let split_name = name.split("-");
            name = `${split_name[0]}-${split_name[1]}`;
        }
        var req = new XMLHttpRequest();
        // url = url.replace(/^https:\/\//i, 'http://');
        req.open("GET", url, true);
        req.setRequestHeader("Cache-Control", "no-cache, no-store, must-revalidate");
        req.responseType = "blob";
        req.onload = function (event) {
            var blob = req.response;
            var link=document.createElement('a');
            link.href=window.URL.createObjectURL(blob);
            link.download=name;
            link.click();
        };

        req.send();
    }
    
    function downloadQRDynamic(svgBase64, name) {
            var canvas = document.createElement("canvas");
            var context = canvas.getContext("2d");
            var img = new Image();
            img.onload = function() {
                var borderWidth = 4; // Adjust the border width as needed
                var borderColor = 'white'; // Adjust the border color as needed
                
                // Set canvas size to include border
                canvas.width = img.width + 2 * borderWidth;
                canvas.height = img.height + 2 * borderWidth;

                // Draw the border
                context.strokeStyle = borderColor;
                context.lineWidth = borderWidth;
                context.strokeRect(0, 0, canvas.width, canvas.height);

                // Draw the image inside the border
                context.drawImage(img, borderWidth, borderWidth);
                var pngData = canvas.toDataURL("image/png");
                var a = document.createElement("a");
                a.download = `${name}.png`;
                a.href = pngData;
                document.body.appendChild(a);
                a.click();
                document.body.removeChild(a);
            };
            img.src = "data:image/svg+xml;base64," + svgBase64;
        }
</script>

<script type="text/javascript">
    // For PIN ON / OFF status on Profile
    let triggered_by_event = 0;

    $('#proteksi-pin').change(function(){
        if(!this.checked){
            $('#proteksi-pin').prop('disabled', true);
            let info_off_pin = `Me-nonaktifkan PIN tidak dianjurkan<br>Jika anda sering login di tempat umum <div style='font-weight:bold; text-align:center; margin:10px 0px;'><a href='/profile/pin-off' class='btn btn-success' style='text-decoration:none;'>PROSES</a></div>`;
            uialert2(`${info_off_pin}`);
        }else{
            if(triggered_by_event){
                triggered_by_event = 0;
            }else{
                $('#proteksi-pin').prop('disabled', true);
                location.href = 'https://hkbnexus.com/profile/pin-on';
            }
        }
    });

    $('#uialert_modal').on('hidden.bs.modal', function (e) {
        // Only execute if modal triggered by PIN ON / OFF.
        // Other trigger modal scenario, Ex: Validation after submit form
        let modal_content = $('#uialert_content').text();
        if(modal_content.includes("Me-nonaktifkan PIN")){
            triggered_by_event = 1; // When close modal, PIN will change back to ON which will trigger "change" event
            $('#proteksi-pin').prop('disabled', false);
            $('#proteksi-pin').bootstrapToggle('on');
        }
    })
</script>

<script>
    $(document).ready(function(){
        let our_partner = $('.ourpartner').length;
        console.log('our_partner', our_partner);
        if(our_partner > 0){
            $('.ourpartner > .container').css('margin-top', "-1rem");
        }
    });
</script>
<!-- ref verif -->
<script>
    let email_interval, wa_interval, sms_interval;
    let countdown_email_otp = 120;
    let countdown_wa_otp = 120;
    let countdown_sms_otp = 120;

    function countdownIntervalEmail(){
        $('.btn-email-otp').prop('disabled', true);

        countdown_email_otp--;
        if(countdown_email_otp <= 0){
            clearInterval(email_interval);
            countdown_email_otp = 0;
            $('.btn-email-otp').removeAttr('disabled');
        }

        let loading = `
            <span>${countdown_email_otp}</span>
            <span>Detik</span>
        `;
        $('.countdown_email_otp').html(loading);

        if(countdown_email_otp <= 0){
            $('.countdown_email_otp').css('display', 'none');
            $('.check_email_otp').css('display', 'none');
        }
    }

    function countdownIntervalWA()
    {
        $('.btn-wa-otp').prop('disabled', true);

        countdown_wa_otp--;
        if(countdown_wa_otp <= 0){
            clearInterval(wa_interval);
            countdown_wa_otp = 0;
            $('.btn-wa-otp').removeAttr('disabled');
        }

        let loading = `
            <span>${countdown_wa_otp}</span>
            <span>Detik</span>
        `;
        $('.countdown_wa_otp').html(loading);

        if(countdown_wa_otp <= 0){
            $('.countdown_wa_otp').css('display', 'none');
        }
    }

    function countdownIntervalSMS()
    {
        $('.btn-sms-otp').prop('disabled', true);

        countdown_sms_otp--;
        if(countdown_sms_otp <= 0){
            clearInterval(sms_interval);
            countdown_sms_otp = 0;
            $('.btn-sms-otp').removeAttr('disabled');
        }

        let loading = `
            <span>${countdown_sms_otp}</span>
            <span>Detik</span>
        `;
        $('.countdown_sms_otp').html(loading);

        if(countdown_sms_otp <= 0){
            $('.countdown_sms_otp').css('display', 'none');
        }
    }

    function resendEmailOtp()
    {
        const email = $('#email').val();
        if( email === null || email == ""){
            const label_required_email = "Mohon isikan Email";
            uialert2(label_required_email);
            return;
        }

        const url = "https://hkbnexus.com/user/referral/verification/send-email-otp";
        const data = {'_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT', 'email': email};
        $('.btn-email-otp').prop('disabled', true);

        $.ajax({
            type: "POST",
            url: url,
            data: data,
            dataType: 'json',
            beforeSend: function(){
                $('.countdown_email_otp').removeAttr('style');
                const loading = `
                    <span style='margin-right:2px'><i class='fa fa-spinner fa-pulse'></i></span>
                    <span>Loading</span>
                `;
                $(".countdown_email_otp").html(loading);
            },
            success: function(resp){
                if( resp.status == 403){
                    uialert2(`${resp.message}`);
                    $('.countdown_email_otp').css('display', 'none');
                    $('.btn-email-otp').removeAttr('disabled');
                }else if( resp.is_limit_retry ){
                    let delay_message = "Mohon Coba Kembali :minutes Menit Kemudian";
                    let label_delay_message = delay_message.replace(':minutes', resp.minutes);
                    uialert2(label_delay_message);

                    $('.countdown_email_otp').css('display', 'none');
                    $('.btn-email-otp').removeAttr('disabled');
                }else{
                    $('.countdown_email_otp').removeAttr('style');
                    $('.check_email_otp').removeAttr('style');
                    countdown_email_otp = resp.seconds;
                    email_interval = setInterval(countdownIntervalEmail,1000);
                }
            },
            error: function (error) {
                $('.countdown_email_otp').css('display', 'none');
                $('.btn-email-otp').removeAttr('disabled');
                uialert2(`${error.responseJSON.message}`);
                console.log(error);
            }

        });
    }

    function resendWAOtp()
    {
        const page = "home";
        const phone = $('#phone').val();
        if( page !== "withdraw"){
            if( phone === null || phone == ""){
                const label_required_phone = "Mohon isikan Nomor Telepon";
                uialert(label_required_phone);
                return;
            }
        }

        const url = "https://hkbnexus.com/user/referral/verification/send-wa-otp";
        const data = {'_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT', 'phone': phone, 'page': page};
        $('.btn-wa-otp').prop('disabled', true);

        $.ajax({
            type: "POST",
            url: url,
            data: data,
            dataType: 'json',
            beforeSend: function(){
                $('.countdown_wa_otp').removeAttr('style');
                const loading = `
                    <span style='margin-right:2px'><i class='fa fa-spinner fa-pulse'></i></span>
                    <span>Loading</span>
                `;
                $(".countdown_wa_otp").html(loading);
            },
            success: function(resp){
                if( resp.is_limit_retry ){
                    let delay_message = "Mohon Coba Kembali :minutes Menit Kemudian";
                    let label_delay_message = delay_message.replace(':minutes', resp.minutes);
                    uialert2(label_delay_message);

                    $('.countdown_wa_otp').css('display', 'none');
                    $('.btn-wa-otp').removeAttr('disabled');
                }else{
                    $('.countdown_wa_otp').removeAttr('style');
                    countdown_wa_otp = resp.seconds;
                    wa_interval = setInterval(countdownIntervalWA,1000);
                }
            },
            error: function (error) {
                $('.countdown_wa_otp').css('display', 'none');
                $('.btn-wa-otp').removeAttr('disabled');
                uialert2(`${error.responseJSON.message}`);
                console.log(error);
            }
        });
    }

    function resendSMSOtp()
    {
        const page = "home";
        const phone = $('#phone').val();
        if( page !== "withdraw"){
            if( phone === null || phone == ""){
                const label_required_phone = "Mohon isikan Nomor Telepon";
                uialert(label_required_phone);
                return;
            }
        }

        const url = "https://hkbnexus.com/user/referral/verification/send-sms-otp";
        const data = {'_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT', 'phone': phone, 'page': page};
        $('.btn-sms-otp').prop('disabled', true);

        $.ajax({
            type: "POST",
            url: url,
            data: data,
            dataType: 'json',
            beforeSend: function(){
                $('.countdown_sms_otp').removeAttr('style');
                const loading = `
                    <span style='margin-right:2px'><i class='fa fa-spinner fa-pulse'></i></span>
                    <span>Loading</span>
                `;
                $(".countdown_sms_otp").html(loading);
            },
            success: function(resp){
                if( resp.is_limit_retry ){
                    let delay_message = "Mohon Coba Kembali :minutes Menit Kemudian";
                    let label_delay_message = delay_message.replace(':minutes', resp.minutes);
                    uialert2(label_delay_message);
                    
                    $('.countdown_sms_otp').css('display', 'none');
                    $('.btn-sms-otp').removeAttr('disabled');
                }else{
                    $('.countdown_sms_otp').removeAttr('style');
                    countdown_sms_otp = resp.seconds;
                    sms_interval = setInterval(countdownIntervalSMS,1000);
                }
            },
            error: function (error) {
                $('.countdown_sms_otp').css('display', 'none');
                $('.btn-sms-otp').removeAttr('disabled');
                uialert2(`${error.responseJSON.message}`);
                console.log(error);
            }
        });
    }
</script>
<script>
    function setCookiesPromoPopup(){
        const promo_popup_exp = new Date();
        promo_popup_exp.toLocaleString('id-ID', { timeZone: 'Asia/Jakarta' });
        //exp :Tue Jan 22 2024 17:01:00 GMT+0700 (Indochina Time)
        promo_popup_exp.setDate(promo_popup_exp.getDate() + 1); //add day next day
        promo_popup_exp.setHours(0,1,0,0); // midnight

        // console.log('promo_popup_exp:', promo_popup_exp);
        // console.log('promo_popup_exp UTC:', promo_popup_exp.toUTCString()); 
        //UTC + 0 
        document.cookie = "promo_showed=false;" + "Path=/; expires=" + promo_popup_exp.toUTCString();
    }

    const popup_cookies = getCookie('promo_showed');
    if( popup_cookies !== null){
        //remove all id element myModalHome
        $('[id^="myModalHome"]').remove();
        $("#checkbox-popup-promo").prop('checked', true);
    }

    $('#btn-showed-promo').on( "click", function() {
        setCookiesPromoPopup();
        $('#myModalHome').modal('hide');
    });

    function setLanguage(lang){
        $.ajax({
            url: "https://hkbnexus.com/set-lang",
            method: 'GET',
            data: {
                // '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT',
                'lang': lang,
            },
            success: function(resp){
                window.location.reload();
            },
            error: function(err){
                window.location.reload();
            }
        });
    }

    var destination_crypto = [];
    var fetch_crypto = 0;
    function getAddressWallet(take_address=0){
        userAddressWallet(take_address);
    }
    
    function cryptoCurrDest(coin_name)
    {
        if( fetch_crypto == 1){
            return;
        }

        $("#crypto-wallet-content").css({display:'none'});
        $("#crypto_info").css({display:'none'});

        // check if option exist
        const total_option_curr = $(".deposit-crypto").length;
        if( total_option_curr == 0){
            return;
        }
        
        let crypto_val;
        if( coin_name == undefined){
            // get first element when switch
            crypto_val = $('.deposit-crypto')[0].dataset.crypto_curr;
        }else{
            crypto_val = coin_name;
        }

        //add custom class if exist false = remove class
        $(`.deposit-crypto`).toggleClass("active", false);
        
        //add custom class if exist true = add class
        $(`#${crypto_val}`).toggleClass("active",true);

        // remove first network destination
        let crypto_network = $(".crypto-network");
        destination_crypto = [];

        if( crypto_network.length > 1){
            //add custom class if exist true = remove class
            $('.crypto-network').toggleClass("active", false);

            //add custom class if exist true = remove class
            $('.crypto-network').eq(0).toggleClass("active", true);
        }

        crypto_network.each(function(){
            let coin_type = $(this).data('crypto_curr');
            
            // Show or hide options based on the selected coin_val
            if (coin_type === crypto_val) {
                //check index elemet
                if( destination_crypto.length == 0){
                    const crypto_curr = $(this).data('crypto_type');
                    const network_type = $(this).data('crypto_network');
                    const crypto_id = $(this).data('crypto_id');
                    const crypto_min_dp = $(this).data('crypto_mindp');
                    const crypto_fee = $(this).data('crypto_fee');

                    // switch active
                    //add custom class if exist false = remove class
                    $(`.crypto-network`).toggleClass("active", false);
                    
                    //add custom class if exist true = add class
                    $(`#${network_type}`).toggleClass("active", true);

                    destination_crypto.push({"crypto_fee": crypto_fee,"crypto_curr": crypto_curr, "crypo_min_dp":crypto_min_dp, "coin_type": coin_type, "network_type": network_type, "crypto_id": crypto_id});
                }
            }
        });

        // get data destination coin & network
        userAddressWallet();
    }

    function cryptoNetworkDest(selected_network_type)
    {
        if( fetch_crypto == 1){
            return;
        }

        // console.log("cryptoNetworkDest");
        // console.log(selected_network_type);
        
        //add custom class if exist false = remove class
        $(`.crypto-network`).toggleClass("active", false);
        
        //add custom class if exist true = add class
        $(`#${selected_network_type}`).toggleClass("active", true);

        $("#crypto-wallet-content").css({display:'none'});
        $("#crypto_info").css({display:'none'});

        // check if option exist
        const total_option_network = $(".crypto-network").length;
        if( total_option_network == 0){
            return;
        }

        // remove previous selected
        const selected_network_elmt = $(`#${selected_network_type}`);
        const coin_type = selected_network_elmt.data('crypto_curr');
        const crypto_curr = selected_network_elmt.data('crypto_type');
        const network_type = selected_network_type;
        const crypto_id = selected_network_elmt.data('crypto_id');
        const crypto_min_dp = selected_network_elmt.data('crypto_mindp');
        const crypto_fee = selected_network_elmt.data('crypto_fee');

        destination_crypto[0]= {"crypto_fee": crypto_fee,"crypto_curr": crypto_curr, "crypo_min_dp":crypto_min_dp, "coin_type": coin_type, "network_type": network_type, "crypto_id": crypto_id};
        
        userAddressWallet();
    }

    var crypto_price_interval;
    function cryptoLivePrice()
    {
        // stop previous interval
        clearInterval(crypto_price_interval);
        
        const time_run = (1 * 60 * 1000); // 1mnt

        crypto_price_interval = setInterval(function() {
            // get user address wallet
            const crypto_dest = destination_crypto[0];

            $.ajax({
                url: "https://hkbnexus.com/crypto-price",
                method: 'POST',
                data: {
                    '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT',
                    'coin_type': crypto_dest.coin_type,
                },
                beforeSend: function(){
                    $("#crypto-price").html(`Loading...`);
                },
                success: function(value){
                    $(`#crypto-price`).html(`Rp. ${number_format(value,2)} `);                    
                }
            });
        }, time_run);
    }

    function userAddressWallet(take_address=0)
    {
        // console.log("crypto cur destination_crypto", destination_crypto);
        if( fetch_crypto == 1){
            return;
        }

        // get user address wallet
        const crypto_dest = destination_crypto[0];
        $.ajax({
            url: "https://hkbnexus.com/user-address-crypto",
            method: 'POST',
            data: {
                '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT',
                'take_address':take_address,
                'coin_type': crypto_dest.coin_type,
                'network_type': crypto_dest.network_type,
                'crypto_id': crypto_dest.crypto_id,
            },
            beforeSend: function(){
                $("#wrap-btn-get-wallet").css({display:'none'});
                $("#deposit-crypto").attr('disabled', true);
                $("#crypto-network").attr('disabled', true);
                $("#btn-get-wallet").attr('disabled', true);
                $("#crypto-wallet-content").css({display:'none'});
                $("#crypto_info").css({display:'none'});
                $("#crypto_loading").css({display:'flex'});
                
                fetch_crypto = 1;
            },
            success: function(resp){
                if( resp.status == 200 ){
                    // run fetch live price
                    cryptoLivePrice();

                    $(`#crypto-barcode`).attr('src', 'data:image/svg+xml;base64,' + resp.barcode);
                    $(`#crypto-user-wallet`).html(`${resp.user_address}`);
                    $(`#crypto-price`).html(`Rp. ${number_format(resp.live_price,2)} `);

                    $("#crypto-wallet-content").css({display:'flex'});

                    // crypto info
                    const info_crypto1 = "Hanya kirim :curr_1 ke alamat deposit ini. Koin akan otomatis didepositkan setelah 6 kali konfirmasi jaringan pada alamat smart contract";
                    const replace_info1 = info_crypto1.replace(":curr_1", crypto_dest.crypto_curr);

                    const info_crypto2 = "Minimal Deposit: :min_dp :curr_2";
                    const replace_info2 = info_crypto2.replace(':min_dp', crypto_dest.crypo_min_dp).replace(":curr_2", crypto_dest.crypto_curr);

                    const info_crypto3 = "Fee jaringan deposit :network_type = :fee:operator";
                    const replace_info3 = info_crypto3.replace(':network_type', crypto_dest.network_type).replace(":fee", (parseFloat(crypto_dest.crypto_fee) * 100).toFixed(2) ).replace(':operator', "%");
                    
                    const info_crypto4 = "Alamat crypto hanya valid sampai";

                    const crypto_info = `
                        <ul style="list-style: disc;">
                            <li>${replace_info1}</li>
                            <li>${replace_info2}</li>
                            ${ parseFloat(crypto_dest.crypto_fee) > 0 ? `<li>${replace_info3}</li>` : ''}
                            <li>${info_crypto4} <b>${resp.expired_at}</b></li>
                        </ul>
                    `;
                    $("#crypto_info").html(`${crypto_info}`);
                    $("#crypto_info").css({display:'flex'});
                }else if(resp.status == 410){
                    // Address Expired
                    $("#wrap-btn-get-wallet").css({display:'block'});
                }else{
                    uialert2(resp.msg);

                    // hide button get wallet
                    // cause by stock was empty
                    $("#wrap-btn-get-wallet").css({display:'none'});
                }
                // hide loading
                $("#crypto_loading").css({display:'none'});
                
                $("#deposit-crypto").attr('disabled', false);
                $("#crypto-network").attr('disabled', false);
                $("#btn-get-wallet").attr('disabled', false);
                fetch_crypto = 0;
            },
            error: function(resp){
                $("#deposit-crypto").attr('disabled', false);
                $("#crypto-network").attr('disabled', false);
                $("#btn-get-wallet").attr('disabled', false);

                fetch_crypto = 0;
            }
        });
    }
</script>
<script>
    //search game
    var data_ls = null;
    let timeout;
    let fetch_search = 0;
    let delay = 750; //0.75sec
    let container = document.getElementById("gameSearchContainer");

    // check container if not null print findgame
    if(container != null || container != undefined) {
        // waiting dom
        let before_dom =` <div id="waiting-search-game" class="waiting-search-game text-center">
                            <h2>Loading...</h2>
                        </div>`;
        let search_hidden = 0;

        $('#input-game-search').submit(function(){
            if(fetch_search == 0)
            {
                search();
            }
        });

        // sensitive typing
        $('#input-game-search').keyup(function(){
            let search_game = document.getElementById("input-game-search").value;

            if(timeout) {
                container.classList.remove("hidden");
                document.getElementById('gameSearchContainer').innerHTML = before_dom;
                clearTimeout(timeout);
            }

            // add the hidden class
            if(search_game == "" && search_hidden == 0)
            {
                // set delay for add hidden class
                search_hidden =1;
                setTimeout(function() {
                    search_hidden = 0
                    container = document.getElementById("gameSearchContainer");
                    container.classList.add("hidden");
                },500);
            }

            // will fetch when have words
            if(search_game != "" && fetch_search == 0){
                timeout = setTimeout(function() {
                    // rollback the search hidden
                    search_hidden = 0;
                    // fetch database
                    fetch_search = 1;
                    search();
                }, delay);
            }
        });
    }
    
    function search(){             
        let search_game = document.getElementById("input-game-search").value;  

        // check is expired
        let refetch = 0;
        if( data_ls !== null){
            const date_now = new Date();
            expired_cache = new Date(data_ls.expired);
            // console.log("no null ls", date_now, expired_cache, "not expired", (date_now > expired_cache) );
            // expired
            if( (date_now > expired_cache) == true){
                refetch = 1;
            }
        }

        if( data_ls === null || refetch == 1){
            $.ajax({
                url: "https://hkbnexus.com/search-game",
                method: "GET",
                cache:false,
                success: function(resp){
                    data_ls = resp;
                    search();
                },
                complete:function(){
                    fetch_search = 0;
                }   
            });
            return;
        }else{
            // search by cache
            fetch_search= 0;
        }

        const find_games = [];
        try {
            // Lobby search
            for (const category in data_ls.lobby)
            {
                for (const id in data_ls.lobby[category]){
                    const lobby_game = data_ls.lobby[category][id];
                    
                    if( lobby_game.hasOwnProperty('name') && lobby_game.name.toLowerCase().includes(search_game.toLowerCase()) ){
                        find_games.push(lobby_game);
                    }
                }
            }

            // egames - arcade search
            for (const provider in data_ls.games)
            {
                data_ls.games[provider].forEach(function(game,k){
                    if( game.hasOwnProperty('game_name') && game.game_name.toLowerCase().includes(search_game.toLowerCase()) ){
                        game.vendor_name = provider;
                        find_games.push(game);
                    }else if( game.hasOwnProperty('name') && game.name.toLowerCase().includes(search_game.toLowerCase()) ){
                        game.vendor_name = provider;
                        find_games.push(game);
                    }
                });
            }
        }catch (error) {
            console.log('search to fast: ' + error.message);
        }
        
        if(find_games.length > 0){
            // console.log('got game');
            // console.log(find_games);
            // fill the dom
            let dom_content = ``;
            find_games.forEach( function(elm) {
                dom_content += domresultFindGame(elm);
            })
            document.getElementById('gameSearchContainer').innerHTML = dom_content;
        }else{
            container.classList.add("hidden");
        }
    }

    // dom search
    function domresultFindGame(data)
    {
        let provider = null;
        // not for lobby
        if( data.vendor_name != undefined && data_ls.vendor_settings[data.vendor_name] != undefined){
            provider = data_ls.vendor_settings[data.vendor_name];
        }
        const not_lobby = ["e-games", "arcade", "arcade fishing"]
        const data_game_type = data.game_type.toLowerCase();

        if( not_lobby.includes(data_game_type) && (provider == null || provider == undefined) ){
            return ``;
        }

        let img_lobby, img_link, rtp_element;
        let auth = "";
        let a_link_auth = `${auth 
                        ? `${ data.game_type.toLowerCase() === 'e-games' || data.game_type.toLowerCase() === "arcade" || data.game_type.toLowerCase() === "arcade fishing"
                                ? `<a href="javascript:void(0)" onclick="${ data.maint_egames  ? `${data.maint_egames}` : `javascript:open_lobby_vendor('${provider.vendor_name}','${data.clg_gameID}')"`} class="search-link text-center">`
                                : `<!-- for livecasino etc --> <a href="${data.url}" onclick="${data.onclick}" class="search-link text-center">`
                            }`
                        : `${ data.demo_url 
                                ? `<a href="javascript:void(0)" onclick="demoPlay('${data.demo_url}')" class="search-link text-center">`
                                : `<a href="/register" class="search-link text-center">`
                            }`
                        }`;

        if(data.icon_desktop){
            img_link = `https://cf.ruangok.com/${data.icon_desktop}`;
            img_lobby = `<img src="${img_link}" alt="${data.game_name != undefined ? data.game_name : data.name}" alt="${data.game_name != undefined ? data.game_name : data.name}" width="100%" height="auto" loading="lazy">`;
        }else if(data.icon_path){
            img_link = `https://cf.ruangok.com/${data.icon_path}`;
            img_lobby = `<img src="${img_link}" alt="${data.game_name != undefined ? data.game_name : data.name}" alt="${data.game_name != undefined ? data.game_name : data.name}" width="100%" height="auto" loading="lazy">`;
        }else if(data.game_type.toLowerCase() == 'e-games' && data.vendor_id == 20){
            img_lobby = `<img src="${provider.vendor_lobby_url}/game_pic/rec/160/${data.clg_gameID}.png" alt="${data.game_name != undefined ? data.game_name : data.name}"  width="100%" height="auto" loading="lazy">`;
        }else if(data.game_type.toLowerCase() == 'e-games' && data.vendor_id == 23)
        {
            img_lobby = `<img src="${provider.vendor_lobby_url}/img/rect/160/${data.game_id_post}.png" alt="${data.game_name != undefined ? data.game_name : data.name}"  width="100%" height="auto" loading="lazy">`;
        }
        
        // add rtp
        rtp_element ="";
        if(data.rtp_percentage){
            rtp_element = `
                <div class="rtp-progressbar-search" style="background: conic-gradient(${data.rtp_color} ${data.rtp_percentage}%, #000000 0)">
                    <div class="rtp-inner-circle-search">
                        <div class="rtp-text-content-search">
                            <div class="rtp-title-search">RTP</div>
                            <div class="rtp-percent-search" style="color:${data.rtp_color}">${data.rtp_percentage}%</div>
                        </div>
                    </div>
                </div>
            `;
        }

        return`
            <div class="game-card">
                <!-- no auth -->
                ${a_link_auth}
                    <div class="search-game-image" style="position:relative;">
                        <!-- images -->
                        ${img_lobby}
                        ${rtp_element}
                    </div>
                    <div class="search-game-title">
                        </small><b>${data.game_name != undefined ? data.game_name : data.name}</b></small>
                    </div>
                </a>
            </div>
        `;
    }

    // share to socmed
    var referral_link = $('.input-referral').val();
    var webname = "HKBPOKERQQ";
    function facebookShare()
    {
        let base_url = "https://www.facebook.com/sharer/sharer.php";
        let content_url = "?u=" + referral_link;
        let share_url = encodeURI(base_url + content_url);
     
        window.open(share_url,"_blank");
    }

    function twitterShare()
    {
        let base_url = "http://twitter.com/share";
        let content_text = "?text=" + webname;
        let content_url = "&url=" + referral_link;
        let share_url = encodeURI(base_url + content_text + content_url);

        window.open(share_url,"_blank");
    }

    function telegramShare()
    {
        let base_url = "https://t.me/share/url";
        let content_url = "&url=" + referral_link;
        let content_text = "?text=" + webname;
        let share_url = encodeURI(base_url + content_text + content_url);
        
        window.open(share_url,"_blank");
    }

    function whatsappShare()
    {
        let base_url = "https://api.whatsapp.com/send";
        let content_text = "?text=" + webname + "\n";
        let content_url = referral_link;
        let share_url = encodeURI(base_url + content_text + content_url);

        window.open(share_url,"_blank");
    }
    
    function lineShare()
    {
        let base_url = "https://line.me/R/msg/text/";
        let content_text = "?" + webname + "\n";
        let content_url = referral_link;
        let share_url = encodeURI(base_url + content_text + content_url);
        
        window.open(share_url,"_blank");
    }

    //scroll to the top of the document
    function scrollToTop() {
        window.scrollTo({top: 0, behavior: 'smooth'});
    }

    document.addEventListener("DOMContentLoaded", function(event) {
        // Back to top button
        var btnBackToTop = document.getElementById('btnBackToTop');
        if(btnBackToTop){
            changeBackToTopButtonVisibility();
            window.addEventListener("scroll", changeBackToTopButtonVisibility);
        }
    });

    // Display or hide the back to top button
    function changeBackToTopButtonVisibility() {
        if(window.pageYOffset > 100) {
            btnBackToTop.style.opacity = "1";
        } else {
            btnBackToTop.style.opacity = "0";
        }
    }

    // background
    document.addEventListener('DOMContentLoaded', function() {
        const links = document.querySelectorAll('.new-navbar-provider li a[data-bg-img]');
        const style_sheet = document.createElement('style');
        document.head.appendChild(style_sheet);

        links.forEach(link => {
            const bg_image = link.getAttribute('data-bg-img');

            // Create image preloader
            const img = new Image();

            img.onload = function() {
                 link.setAttribute('style', `
                    background: url(${bg_image}) no-repeat center center !important;
                    background-size: cover !important;
                    white-space: nowrap !important;
                    overflow: hidden !important;
                `);
                link.classList.add('bg-vendor-loaded');
            };

            // Start preloading
            img.src = bg_image;
        });
    });

    // promo description free spin
    function promoFreeSpinDesc(turnover, total_spin, game_category, game_list = [])
    {
        let fs_desc =`
            <div style="max-height: 25vh;overflow-y: scroll;overflow-x: hidden">
                <table class="table table-striped" style="font-size: 13px; margin-bottom: 0px;">
                    <thead>
                        <td>⭐Klaim Free Spin di Game Ini</td>
                    </thead>
                    <tbody>
        `;

        game_list.forEach(item => {
            fs_desc += `
                ${ item.game_name == "ALL"
                 ?
                    
                    `<tr class="text-center">
                        <td> Semua Game ${game_category}</td>
                    </tr>`
                 :
                    `<tr class="text-center col-fs-game-name"> 
                        <td>${item.game_name}</td>
                    </tr>`
                }
            `;
        });

        fs_desc +=`
                </tbody>
                </table>
            </div>
        `;
        fsModal(fs_desc);
    }
</script>
<script>
    // 1359
    $(document).ready(function(){
        $( "#instan-dp-amount" ).on( "keyup", function() {
            let instan_dp_amount = Number($(this).val());

            if( instan_dp_amount == 0){
                $('.hint-info').hide();
            }else{
                $('.hint-info').show();
            }

            instan_dp_amount = instan_dp_amount.toLocaleString('id-ID')
            
            // Remove thousands separators
            instan_dp_amount = instan_dp_amount.replace(/\./g, ',');

            $('#hint-value').text(instan_dp_amount);
        });

        $('#instan-dp-amount').on('input', function () {
            this.value = this.value.replace(/\D/g, '');
        });
    });

    function generateQrisInstanDP()
    {
        //disabled
        $("#btn-instan-dp-generate-qr").text("Loading...");
        $("#btn-instan-dp-generate-qr").prop("disabled", true);
        // process deposit
        const instan_dp_amount = Number($("#instan-dp-amount").val());
        const instan_dp_acc_id = $("#instan_dp_acc_id").val();
        $.ajax({
            url: "https://hkbnexus.com/deposit",
            method: 'POST',
            data: {
                '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT',
                'amount': instan_dp_amount,
                'instan_qris_dp': true,
                'acc_id': instan_dp_acc_id
            },
            success: function(resp){
                // console.log("sucess",resp);
                if(resp.status == 200){
                    generateInstanQris();
                }else{
                    uialert2(resp.message);
                    $("#btn-instan-dp-generate-qr").prop("disabled", false);
                    $("#btn-instan-dp-generate-qr").text("Depo QR");
                }
            },
            error: function(err){
                console.log("error",err);
                $(".wrapper-qris-instan-dp-image").hide();
                $("#btn-instan-dp-generate-qr").text("Depo QR");

                $("#btn-instan-dp-generate-qr").prop("disabled", false);
            }
        });
    }

    function getNewToken()
    {
        $.ajax({
            url: "https://hkbnexus.com/check-token",
            method: 'POST',
            data: {
                '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT'
            },
            success: function(resp){
                validation_session_token = resp.data.new_token;
            }
        });
    }
    
    function generateInstanQris()
    {
        //disabled
        $("#btn-instan-dp-generate-qr").text("Loading...");
        $("#btn-instan-dp-generate-qr").prop("disabled", true);
        $(".wrapper-qris-instan-dp-image").hide();

        // check deposit
        $.ajax({
            url: "https://hkbnexus.com/check-deposit",
            method: 'POST',
            data: {
                '_token' : 'UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT',
                'instan_qris_dp': true,
            },
            success: function(resp){
                // console.log("sucess",resp);
                clearInterval(checking_interval_token_deposit_instan);

                if(resp.status == 200){
                    // renew validation token
                    checking_interval_token_deposit_instan = setInterval(getNewToken, 5000);
                    
                    if(!resp.data.pending_deposit){
                        generateQrisInstanDP();
                    }else if(resp.data.pending_deposit && resp.data.qris_url != ""){
                        // inform have previous deposit
                        if( checking_deposit_instan > 0){
                            uialert2("Harap selesaikan transaksi deposit sebelumnya.");
                        }

                        // if success & pending deposit, build qris
                        let total_deposit_instan = resp.data.amount_deposit;
                        total_deposit_instan = total_deposit_instan.toLocaleString('id-ID')                        
                        total_deposit_instan = total_deposit_instan.replace(/\./g, ',');
                        $("#total-deposit").text(total_deposit_instan);
                        
                        $(".wrapper-qris-instan-dp-image").show();
                        $("#qris-instan-dp-image").attr("src", resp.data.qris_url);
                        $("#qris-instan-dp-image").attr("data-qr-path", resp.data.qris_path);
                        
                        $("#btn-instan-dp-generate-qr").prop("disabled", false);
                        $("#btn-instan-dp-generate-qr").text("Depo QR");

                        checking_deposit_instan++;
                    }
                }else{
                    uialert2(resp.message);
                    
                    $("#btn-instan-dp-generate-qr").prop("disabled", false);
                    $("#btn-instan-dp-generate-qr").text("Depo QR");
                }
            },
            error: function(err){
                console.log("error",err);
                $(".wrapper-qris-instan-dp-image").hide();
                $("#btn-instan-dp-generate-qr").text("Depo QR");

                $("#btn-instan-dp-generate-qr").prop("disabled", false);
            }
        });
    }

    function downloadImageInstanQris() {
        const path = $("#qris-instan-dp-image").data("qr-path");

        const form = document.createElement("form");
        form.method = "POST";
        form.action = "https://hkbnexus.com/deposit/download";

        form.innerHTML = `
            <input type="hidden" name="_token" value="UsqH1aqbN4FSLzppRFppUCV6DkQU9zO7n0oF6ZHT">
            <input type="hidden" name="destination" value="${path}">
        `;

        document.body.appendChild(form);
        form.submit();
        form.remove();
    }
</script>

 
    
    
    <script type="text/javascript" src="https://hkbnexus.com/starpoker888/engine1/wowslider.js?v=1.14.67"></script>
    <script type="text/javascript" src="https://hkbnexus.com/starpoker888/engine1/script.js?v=1.14.67"></script>
    <!-- End WOWSlider.com BODY section -->
    <script type="text/javascript">
        $(document).ready(function () {
                        $('#myModalHome').modal('show');
                    })
    </script>

</body>

</html>
<!--

Latest requests

# Url Url Source Date
1 https://hkbnexus.com/ 2026-10-20 12:51:02
2 https://www.texarkanatwins.com/%25… 2026-10-20 12:51:00
3 https://www.thebolditalic.com/?gi=… 2026-10-20 12:50:59
4 https://auth.mediacorp.sg/u/login?… 2026-10-20 12:50:58
5 https://www.texarkanatwins.com/%25… 2026-10-20 12:50:56
6 https://www.thebolditalic.com/?gi=… 2026-10-20 12:50:56
7 https://www.texarkanatwins.com/%25… 2026-10-20 12:50:54
8 https://www.southpole.com/ 2026-10-20 12:50:54
9 https://www.texarkanatwins.com/%25… 2026-10-20 12:50:53
10 https://www.thebolditalic.com/?gi=… 2026-10-20 12:50:53
11 https://www.texarkanatwins.com/%25… 2026-10-20 12:50:52
12 https://www.hoteltunisie.tn/ 2026-10-20 12:50:51
13 https://www.thebolditalic.com/?gi=… 2026-10-20 12:50:51
14 https://www.texarkanatwins.com/%25… 2026-10-20 12:50:50
15 https://www.purplepier.com.br/ 2026-10-20 12:50:49
16 https://www.texarkanatwins.com/%25… 2026-10-20 12:50:40
17 https://www.texarkanatwins.com/%25… 2026-10-20 12:50:40
18 https://www.thebolditalic.com/?gi=… 2026-10-20 12:50:39
19 https://www.thebolditalic.com/?gi=… 2026-10-20 12:50:38
20 https://hub.docker.com/u/genesisra… 2026-10-20 12:50:37