PageSourceSearch

https://afastart.com/password/reset

html afastart.com collected 2026-10-10 02:10:03 UTC 892,954 bytes, 17,879 lines download raw bytes

1<!DOCTYPE html>
2<html>
3<head lang="id">
4<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5<title></title>
6<meta name="keywords" content="" />
7<meta name="description" content=""/><meta name="googlebot" content="index,follow" />
8    <meta name="robots" content="index, follow" />
9
10<meta name="distribution" content="Global" />
11
12<meta name="expires" content="never" />
13<meta name="dc.title" content="AFATOGEL" />
14<meta name="dc.creator.name" content="AFATOGEL" />
15
16<meta name="tgn.nation" content="Indonesia" />
17
18<meta name="copyright" content="afatogel.com" />
19<meta name="geo.placename" content="Jakarta" />
20<meta name="geo.region" content="ID-JK" />
21<meta name="geo.country" content="ID" />
22<meta name="language" content="ID" />
23<meta name="tgn.nation" content="Indonesia" />
24<meta name="rating" content="general" />
25
26<meta name="author" content="afatogel.com" />
27<meta name="publisher" content="afatogel.com" />
28<meta name="copyright" content="copyright@ 2014 afatogel.com" />
29<meta name="DC.Publisher" content="afatogel.com" >
30 
31
32 <link rel="canonical" href="https://afastart.com/" />  <link rel="amphtml" href="https://seo.tespower-afastart.com/"> <link rel="alternate" href="https://seo.tespower-afastart.com/"/> <link rel="alternate" hreflang="id" href="https://seo.tespower-afastart.com/"/> <link rel="alternate" hreflang="id-id" href="https://seo.tespower-afastart.com/"/> <link rel="alternate" hreflang="en" href="https://seo.tespower-afastart.com/"/> <link rel="alternate" hreflang="x-default" href="https://seo.tespower-afastart.com/"/> <meta name="google-site-verification" content="X1RayuMd9gAjzfB-yz_PmoOCviAKzE0lHwjzndQwogs" /> 
32<script type="application/ld+json">
33            {
34                "@context": "http://schema.org",
35                "@type": "Game",
36                "name": "Afatogel",
37                "author": { "@type": "Person", "name": "Afatogel" },
38                "headline": "AFATOGEL | Bandar Togel Online Terpercaya di Indonesia",
39                "description": "Afatogel adalah bandar togel online terpercaya di Indonesia yang menyediakan pasaran togel terlengkap serta proses pendaftaran dan deposit yang cepat dan praktis.",
40                "keywords": ["Afatogel, Afatogel login, Afatogel online, daftar Afatogel, eyangpoker, eyang toto, togel online, toto online, togel sgp, togel Sydney, togel online terpercaya, Afatogel 2025, Afatogel.com, deposit qris"],
41                "image": "https://asia.afatogel.asia/img/afah.webp",
42                "url": "https://afatogel.com/",
43                "publisher": { "@type": "Organization", "name": "Afatogel" },
44                "aggregateRating": { "@type": "AggregateRating", "ratingValue": "97", "bestRating": "99", "worstRating": "0", "ratingCount": "986666" },
45                "inLanguage": "id-ID"
46            }
47</script>
47
48
49<script type="application/ld+json">
50{
51  "@context": "https://schema.org",
52  "@graph": [
53    {
54      "@type": "NewsArticle",
55      "mainEntityOfPage": {
56        "@type": "WebPage",
57        "@id": "https://afatogel.com/blog/post/bonus-freespin-200x-pg-soft-setiap-hari"
58      },
59      "headline": "BONUS FREESPIN 200x PG SOFT SETIAP HARI",
60      "description": "AFATOGEL sebagai salah bandar togel online terpercaya tentunya akan selalu memberikan kesan dan hal baru untuk memuaskan hasrat para member setia. Kali ini kami menghadirkan promo Spesial dan tidak main-main demi memuaskan hasrat member setia terutama pecinta permainan SLOT GAMES yaitu BONUS FREE SPIN 100x STIAP HARI!. Hal ini tentunya akan sangat memanjakan permainan kamu tentunya, dan cara mendapatkannya simple banget loh, Lakukan deposit dan langsung klaim kode promonya auto dapat bonus freespin buat kamu.",
61      "image": [
62        "https://cf.ruangok.com/public/blog/afatogel/PGSoft200x.webp"
63      ],
64      "author": {
65        "@type": "Organization",
66        "name": "afatogel",
67        "url": "https://afatogel.com"
68      },
69      "publisher": {
70        "@type": "Organization",
71        "name": "afatogel",
72        "logo": {
73          "@type": "ImageObject",
74          "url": "https://cf.ruangok.com/public/banner/id/afatogel/logo/(575X150)WEBP%20OPTIMIZED1.webp?1784499314"
75        }
76      },
77      "datePublished": "2025-11-20T09:00:00+07:00",
78      "dateModified": "2025-11-20T09:00:00+07:00"
79    },
80    {
81      "@type": "Organization",
82      "@id": "https://afatogel.com/#organization",
83      "name": "afatogel",
84      "url": "https://afatogel.com",
85      "logo": "https://cf.ruangok.com/public/banner/id/afatogel/logo/(575X150)WEBP%20OPTIMIZED1.webp?1784499314",
86      "description": "Bandar togel online terpercaya yang menyediakan pasaran lengkap dan hasil angka keluar tercepat.",
87      "sameAs": [
88        "https://heylink.me/Afatogel_official88",
89        "https://t.me/Afatogel_Official_Bot",
90        "https://x.com/Afatg_Mania",
91        "https://www.youtube.com/@Afatogel88"
92      ]
93    },
94    {
95      "@type": "WebSite",
96      "@id": "https://afatogel.com/#website",
97      "url": "https://afatogel.com/",
98      "name": "AFATOGEL | Bandar Togel Online Terpercaya di Indonesia",
99      "description": "Afatogel adalah bandar togel online terpercaya di Indonesia yang menyediakan pasaran togel terlengkap serta proses pendaftaran dan deposit yang cepat dan praktis.",
100      "publisher": {
101        "@id": "https://afatogel.com/#organization"
102      },
103      "potentialAction": {
104        "@type": "SearchAction",
105        "target": "https://afatogel.com/search?q={search_term_string}",
106        "query-input": "required name=search_term_string"
107      }
108    },
109    {
110      "@type": "BreadcrumbList",
111      "itemListElement": [
112        {
113          "@type": "ListItem",
114          "position": 1,
115          "name": "Beranda",
116          "item": "https://afatogel.com/"
117        },
118        {
119          "@type": "ListItem",
120          "position": 2,
121          "name": "Menu Daftar",
122          "item": "https://afatogel.com/register"
123        }
124      ]
125    },
126    {
127      "@type": "ItemList",
128      "name": "Daftar afatogel",
129      "itemListElement": [
130        {
131          "@type": "ListItem",
132          "position": 1,
133          "url": "https://afatogel.com/register",
134          "name": "Daftar Afatogel - Bandar Togel Online Terpercaya"
135        },
136        {
137          "@type": "ListItem",
138          "position": 2,
139          "url": "https://afatogel.com/lottery",
140          "name": "Live Togel"
141        },
142        {
143          "@type": "ListItem",
144          "position": 3,
145          "url": "https://afatogel.com/referral",
146          "name": "Progam Referral"
147        },
148        {
149          "@type": "ListItem",
150          "position": 4,
151          "url": "https://afatogel.com/blog/category/bukti-bayar",
152          "name": "Bukti JP"
153        }
154      ]
155    },
156 {
157  "@context": "https://schema.org",
158  "@type": "FAQPage",
159  "@id": "https://afatogel.com/help",
160  "mainEntity": [
161    {
162      "@type": "Question",
163      "name": "Apa itu Afatogel?",
164      "acceptedAnswer": {
165        "@type": "Answer",
166        "text": "Afatogel adalah bandar togel online terpercaya di Indonesia yang menyediakan pasaran togel terlengkap serta proses pendaftaran dan deposit yang cepat dan praktis."
167      }
168    },
169    {
170      "@type": "Question",
171      "name": "Apakah afatogel aman digunakan?",
172      "acceptedAnswer": {
173        "@type": "Answer",
174        "text": "Afatogel aman digunakan karena dilengkapi sistem keamanan, proses transaksi terenkripsi, dan hanya memerlukan data dasar untuk registrasi. Platform dapat diakses melalui semua perangkat."
175      }
176    },
177    {
178      "@type": "Question",
179      "name": "Bagaimana cara mengakses hasil angka di afatogel?",
180      "acceptedAnswer": {
181        "@type": "Answer",
182        "text": "Anda dapat mengakses hasil angka dan update Sydneypools, Hongkong, Singapore, hingga SDY melalui situs resmi afatogel di https://afatogel.com secara gratis dan cepat."
183      }
184        }
185      ]
186    }
187  ]
188}
189</script>
189
190
191
192<!-- Google tag (gtag.js) -->
vendor: 65 bytes, lines 192-193
192
193<script async src="https://www.googletagmanager.com/gtag/js?id=
193G-RCKDD5T8N4
vendor: 13 bytes, line 193
193"></script>
194<script>
195  
vendor: 138 bytes, lines 195-199
195window.dataLayer = window.dataLayer || [];
196  function gtag(){dataLayer.push(arguments);}
197  gtag('js', new Date());
198
199  gtag('config', '
199G-RCKDD5T8N4
vendor: 5 bytes, line 199
199');
200</script>
200
201
202<!-- Google Tag Manager -->
203<script>
vendor: 331 bytes, lines 203-207
203(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
204new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
205j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
206'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
207})(window,document,'script','dataLayer','
207GTM-TL5SWR24
vendor: 3 bytes, line 207
207');
207</script>
207
208<!-- End Google Tag Manager -->
209
210<div class="fixed-right aj">
211  <!-- Icon RTP -->
212  <div class="fixed-apk">
213    <a href="https://t.me/Afatogel_Official_Bot" target="_blank" class="box-inner">
214      <img class="fixed-img-60" src="https://iili.io/2bfLtTu.webp" loading="lazy">
215      <div class="box-text">
216        <strong>TELEGRAM</strong>
217        <span>JOIN & PLAY NOW</span>
218      </div>
219    </a>
220  </div>
221
222  <div class="fixed-rtp">
223    <a href="https://heylink.me/Afatogel_official88/" target="_blank" class="box-inner">
224      <img class="fixed-img-60" src="https://datafile.ruangkomunikasilc.com/img/chat/10005/299311462025-06-07-13-46-40.gif" loading="lazy">
225      <div class="box-text">
226        <strong>HEYLINK</strong>
227        <span>OFFICIAL AFATOGEL</span>
228      </div>
229    </a>
230  </div>
231
232  <div class="fixed-rtp">
233    <a href=/egames target="_blank" class="box-inner">
234      <img class="fixed-img-60" src="https://datafile.ruangkomunikasilc.com/img/chat/10005/SUKIMINBNI12025-05-02-03-20-57.png">
235      <div class="box-text">
236        <strong>MEGA GACOR</strong>
237        <span>SLOT GAMES</span>
238      </div>
239    </a>
240  </div>
241
242  <section class="fixed-arrow">
243    <img src="https://datafile.ruangkomunikasilc.com/img/chat/10028/728157542025-10-31-06-53-17.png" alt="Arrow RTP" class="img-xxs">
244  </section>
245</div>
246
247<style>
248  .fixed-right {
249    position: fixed;
250    z-index: 9999;
251    bottom: 210px;
252    right: -20px; 
253    width: 250px;
254    padding: 5px;
255    background-color: rgba(55,49,0); /* Warna Kotak belakang */
256    border-radius: 10px;
257    border: 3px solid rgba(255, 0, 0, 0);
258    transition: right .5s ease-in-out;
259	font-family: Poppins, sans-serif;
260}
261
262  .fixed-right.aj {
263    right: -260px;
264  }
265
266  .fixed-right:not(.aj) {
267    right: 0px;
268  }
269
270  .fixed-right a {
271    display: flex;
272    align-items: center;
273    text-decoration: none;
274  }
275
276  .fixed-img-60 {
277    width: 60px;
278    height: 60px;
279  }
280
281  .box-inner {
282    background: rgba(28, 34, 37); /* Warna Background boxnya */
283    border: 2px solid #FFA500; /* Warna Border */
284    border-radius: 10px 0 0 10px;
285    display: flex;
286    align-items: center;
287    padding: 5px 5px;
288    margin: 5px;
289    transition: all 0.3s ease;
290  }
291
292  .box-inner:hover {
293    transform: scale(1.05);
294    border-color: #ffd700; /* Warna Border ketika hover */
295  }
296
297  .box-text {
298    display: flex;
299    flex-direction: column;
300    color: #ffffff;
301    line-height: 1.2;
302    padding-left: 5px;
303  }
304
305  .box-text strong {
306    font-size: 18px;
307    color: #FDD017; /* Warna Title-nya */
308  }
309
310  .box-text span {
311    font-size: 15px;
312  }
313
314  .fixed-arrow {
315    position: absolute;
316    bottom: 55px;
317    right: 101%;
318    height: 150px;
319    width: 30px;
320    background: linear-gradient(180deg, #ff7200, #c22e00); /* Warna Panah */
321    border-radius: 10px 0 0 10px;
322    cursor: pointer;
323    display: flex;
324    align-items: center;
325    justify-content: center;
326    z-index: 10000;
327  }
328
329  .fixed-arrow img {
330    transform: rotate(90deg);
331    filter: invert(1);
332    height: 25px;
333  }
334
335  .img-xxs {
336    height: 0px;
337  }
338
339  @media (max-width: 1366px) {
340    .box-text strong {
341      font-size: 15px;
342    }
343    .box-text span {
344      font-size: 11px;
345    }
346    .fixed-img-60 {
347      width: 60px;
348      height: 60px;
349      border-radius: 10px;
350      padding: 2px;
351    }
352  }
353</style>
354
355<script>
356  document.addEventListener("DOMContentLoaded", function() {
357    const toggle = document.querySelector(".fixed-arrow");
358    const panel = document.querySelector(".fixed-right");
359
360    toggle.addEventListener("click", () => {
361      panel.classList.toggle("aj");
362    });
363  });
364</script>
364
365</div>
366</div>
367</div>
368</div>
369</div>  
370
371<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,800,800italic,300,300italic">
372<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/reset.css?v1.14.67">
373<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/bootstrap.min.css?v1.14.67">
374<link rel="stylesheet" type="text/css" href="https://afastart.com/css/bootstrap-toggle.min.css?v1.14.67">
375<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/bootstrap-datepicker.standalone.css?v1.14.67">
376<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/normalize.css?v1.14.67">
377<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/font-awesome.min.css?v1.14.67">
378<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/engine1/style.css?v1.14.67" />
379<link href="https://afastart.com/afatogel/css/keyboard.css?v1.14.67" rel="stylesheet">
380<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/style.css?v1.14.67">
381<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/mediaqueries.css?v1.14.67">
382<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/slider.css?v1.14.67">
383<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/sticky.css?v1.14.67">
384<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/smart_drop.css?v1.14.67">
385<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/font-awesome.min.css?v1.14.67">
386<link rel="stylesheet" type="text/css" href="https://afastart.com/afatogel/css/animate.css?v1.14.67">
387
388<link rel="icon" type="image/x-icon" href="https://cf.ruangok.com/public/banner/id/afatogel/favicon/favicon-min.png?1652790815">
389<link rel="stylesheet" type="text/css" href="https://afastart.com/css/datatables.min.css?v1.14.67">
390<link rel="stylesheet" type="text/css" href="https://afastart.com/css/template1.css?v1.14.67">
391<link rel="stylesheet" type="text/css" href="https://afastart.com/css/result.css?v1.14.67">
392<link rel="stylesheet" type="text/css" href="https://afastart.com/togel/OwlCarousel2-2.3.4/OwlCarousel2-2.3.4/dist/assets/owl.carousel.css?v1.14.67">
393<link rel="stylesheet" type="text/css" href="https://afastart.com/togel/OwlCarousel2-2.3.4/OwlCarousel2-2.3.4/dist/assets/owl.theme.default.min.css?v1.14.67">
394<link rel="stylesheet" type="text/css" href="https://afastart.com/css/marquee.css?v1.14.67">
395<link href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" rel="stylesheet">
396<link rel="stylesheet" type="text/css" href="https://afastart.com/css/lottery-list.css?v1.14.67">
397
398<meta name="app-name" content="USER-18">
399<meta name="app-version" content="1.14.67">
400
401    <style>
402.bg-free-spin{background:#30270f;
403}.lottery-body{color:#ffffff;
404font-style:normal;
405font-family:sans-serif;
406font-weight:bold;
407text-transform:none;
408}.lottery-title{color:#000000;
409font-style:normal;
410font-family:sans-serif;
411font-weight:bold;
412text-transform:none;
413}.lottery-header{background:#cea309 !important;
414}.lottery-main-body{background:#37331a !important;
415}.lottery-more-button{background:#cea309 !important;
416}.promo-free-spin-text{color:#ffffff;
417font-style:italic;
418font-family:sans-serif;
419font-weight:normal;
420text-transform:none;
421}.available-bg-free-spin{background:linear-gradient(360deg,rgba(255,231,77,1) 0%,rgba(240,208,0,1) 50%) !important;
422}.bg-promotion-more-info{background:linear-gradient(360deg,rgba(204,109,0,1) 0%,rgba(255,136,0,1) 27%);
423}.border-promo-free-spin{border-color:#ddb831 !important;
424}.info-qris-auto-deposit{color:#ffc800;
425font-style:italic;
426font-family:sans-serif;
427font-weight:bold;
428text-transform:none;
429}.promotion-join-now-text{color:#000000;
430font-style:italic;
431font-family:sans-serif;
432font-weight:bold;
433text-transform:none;
434}.lottery-more-button-text{color:#000000;
435font-style:normal;
436font-family:sans-serif;
437font-weight:bold;
438text-transform:none;
439}.promotion-more-info-text{color:#000000;
440font-style:italic;
441font-family:sans-serif;
442font-weight:bold;
443text-transform:none;
444}.unavailable-bg-free-spin{background:#30270f !important;
445}.border-promotion-join-now{border-color:#000000;
446}.border-promotion-more-info{border-color:#000000;
447}.input-register-placeholder::placeholder {color:#000000;
448}.available-promo-free-spin-text{color:#080808 !important;
449font-style:normal !important;
450font-family:sans-serif !important;
451font-weight:bold !important;
452text-transform:uppercase !important;
453}.promo-free-spin-daily-limit-text{color:#ff0000;
454font-style:italic;
455font-family:sans-serif;
456font-weight:bold;
457text-transform:none;
458}.unavailable-promo-free-spin-text{color:#ffffff !important;
459font-style:normal !important;
460font-family:sans-serif !important;
461font-weight:normal !important;
462text-transform:none !important;
463}
464</style>
465
466</head>
467<body style="background-image: url(&#039;https://cf.ruangok.com/public/banner/id/afatogel/background/afatogel_neotokyo_bg_optimized (1).webp?1790838754&#039;)" class="h-t6">
468<section class="head_rw">
469        <div class="container">
470            <div class="row">
471                <div class="cc_rw">
472                    <div class="col-lg-5 col-sm-5 col-md-5 col-xs-5">
473                        <div class="cc_logo"><a href="https://afastart.com"><img src="https://cf.ruangok.com/public/banner/id/afatogel/logo/(575X150)WEBP OPTIMIZED1.webp?1784499314" alt="afastart.com" class="img-responsive"></a></div>
474                    </div>
475                    <div class="col-lg-7 col-sm-7 col-md-7 col-xs-7" style= "padding: 0;height: 75px;">
476                        <form method="POST" action="https://afastart.com/login" id="form_login" accept-charset="utf-8" style=" margin: 0 auto;">
477                        <input type="hidden" name="_token" value="TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS">
478                            <div class="login" style="margin-top:-8px;">
479     
480
481                    <div class="lang">
482                        <div class="dropdown">
483                            <button class="btn-lang dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
484                                <img src="https://afastart.com/images/flag/id.svg?v=1.14.67" width="25" height="25">
485                                <span class="caret"></span>
486                            </button>
487                            <ul class="menu-lang dropdown-menu" aria-labelledby="dropdownMenu2">
488                                                                    <li onclick="setLanguage('id')">
489                                        <img src="https://afastart.com/images/flag/id.svg?v=1.14.67" width="25" height="25"> 
490                                        <span>Indonesia</span>
491                                    </li>
492                                                                    <li onclick="setLanguage('en')">
493                                        <img src="https://afastart.com/images/flag/en.svg?v=1.14.67" width="25" height="25"> 
494                                        <span>English</span>
495                                    </li>
496                                                                    <li onclick="setLanguage('th')">
497                                        <img src="https://afastart.com/images/flag/th.svg?v=1.14.67" width="25" height="25"> 
498                                        <span>Thailand</span>
499                                    </li>
500                                                                    <li onclick="setLanguage('vn')">
501                                        <img src="https://afastart.com/images/flag/vn.svg?v=1.14.67" width="25" height="25"> 
502                                        <span>Vietnam</span>
503                                    </li>
504                                                            </ul>
505                        </div>
506                    </div>
507                                <div class="form-group1">
508                                    <label class="label-control">
509                                        <span class="label-text">Nama Pengguna</span>
510                                    </label>
511                                    <input class="form-control1" type="text" name="user" title="Nama Pengguna" autocomplete="off" maxlength=18 style="text-transform:uppercase;font-size: 16px;" tabindex="1"/>
512                                </div>
513                                <div class="form-group1">
514                                    <label class="label-control">
515                                        <span class="label-text">Kata Sandi</span>
516                                    </label>
517                                    <input class="form-control1" type="password" name="password" autocomplete="off" tabindex="2" style="font-size: 16px;"/>
518                                </div>
519                                <div id="lupapassword">
520                                    <a href="https://afastart.com/password/reset">Lupa Kata Sandi ?</a>
521                                </div>
522                                
523                                <div class="sign_ipt" style="margin-right: 5px;">
524                                    <div class="fund_btn">
525                                        <button class="masuk" type='submit' name='submitlogin' id='btn_login'>Masuk</button>
526                                    </div>
527                                    <div id="loader_login"></div>
528                                </div>
529                                <div class="sign_ipt">
530                                    <div class="fund_btn3">
531                                        <a href="https://afastart.com/register">
532                                            <button class="daftar" id="btn_daftar" type="button">Daftar</button>
533                                        </a>
534                                    </div>
535                                </div>
536
537                            </div>
538                        </form>
539                    </div>
540                    <div class="clearfix"></div>
541                </div>
542                <div class="clearfix"></div>
543                   <div class="new_section" style="width: 100%;">
544        <div class="col-lg-12 col-sm-12 col-md-12 col-xs-12" style="padding-left: 4px; padding-right: 4px;">
545            <div class="news_box">Berita</div>
546            <div class="news_text">
547                <div id="marquee_container" class="marquee">
548                    <div class="info_marquee1" >
549                        (10/10/2026 09:10:02) Selamat Datang di Afatogel |Bandar Togel Terbesar, Card Games,&nbsp; Slot Online Terbaik, Live Casino, Sportsbook, Sabung Ayam &amp; Arcade | Dapatkan Bonus Tertinggi dan Tanpa Batas Setiap Hari
550                    </div>
551                    <div class="info_marquee2" >
552                        (10/10/2026 09:10:02) Selamat Datang di Afatogel |Bandar Togel Terbesar, Card Games,&nbsp; Slot Online Terbaik, Live Casino, Sportsbook, Sabung Ayam &amp; Arcade | Dapatkan Bonus Tertinggi dan Tanpa Batas Setiap Hari
553                    </div>
554                    <div class="info_marquee3" >
555                        (10/10/2026 09:10:02) Selamat Datang di Afatogel |Bandar Togel Terbesar, Card Games,&nbsp; Slot Online Terbaik, Live Casino, Sportsbook, Sabung Ayam &amp; Arcade | Dapatkan Bonus Tertinggi dan Tanpa Batas Setiap Hari
556                    </div>
557                </div>
558            </div>
559        </div>
560    </div>
561            </div>
562        </div>
563            <nav class="navbar" role="navigation" style="z-index: 99999;">
564        <div class="navbar-header"> </div>
565        <div class="container">
566            <div class="topnvbg">
567                <div class="navbar-collapse style= collapse in" id="bs-megadropdown-tabs" style="padding-left: 0px; z-index: 999;" data-animations="fadeInRight">
568                    <ul class="nav navbar-nav nav-hmenu">
569                        <li><a class="" href="https://afastart.com"> Beranda</a></li>
570                        <li><a class="" href="https://afastart.com/mobile">Mobile</a></li>
571                        <li class="dropdown2 mega-dropdown">
572                            <a class="" href="https://afastart.com/cardgames" class="dropdown-toggle" data-toggle="dropdown2">Card Games<span class="caret"></span> </a>
573                            <div class="container-btn-game">
574                                <div class="container">
575                                    <ul class="list-btn-game">
576                                                                                                                                <li class="sublist-btn-game lb-60">
577                                                <a href="https://afastart.com/cardgames/texas_poker" onclick="javascript:void(0)">
578                                                    <div class="sub-btn-game">
579                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/texaspoker webp-1725844796.webp"  alt="1" width="115"/>
580                                                    </div>
581                                                    <div class="sub-title-game">
582                                                        <span>Texas Poker</span>
583                                                    </div>
584                                                </a>
585                                            </li>
586                                                                                        <li class="sublist-btn-game lb-64">
587                                                <a href="https://afastart.com/cardgames/domino_qq" onclick="javascript:void(0)">
588                                                    <div class="sub-btn-game">
589                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/AFATOGEL_02qwew-1721185985.webp"  alt="2" width="115"/>
590                                                    </div>
591                                                    <div class="sub-title-game">
592                                                        <span>Domino QQ</span>
593                                                    </div>
594                                                </a>
595                                            </li>
596                                                                                        <li class="sublist-btn-game lb-62">
597                                                <a href="https://afastart.com/cardgames/ceme" onclick="javascript:void(0)">
598                                                    <div class="sub-btn-game">
599                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/AFATOGEL_03-1703064148.webp"  alt="afastart.com" width="115"/>
600                                                    </div>
601                                                    <div class="sub-title-game">
602                                                        <span>Ceme</span>
603                                                    </div>
604                                                </a>
605                                            </li>
606                                                                                        <li class="sublist-btn-game lb-63">
607                                                <a href="https://afastart.com/cardgames/ceme_fighter" onclick="javascript:void(0)">
608                                                    <div class="sub-btn-game">
609                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/AFATOGEL_04-1703064157.webp"  alt="afastart.com" width="115"/>
610                                                    </div>
611                                                    <div class="sub-title-game">
612                                                        <span>Ceme Fighter</span>
613                                                    </div>
614                                                </a>
615                                            </li>
616                                                                                        <li class="sublist-btn-game lb-67">
617                                                <a href="https://afastart.com/cardgames/bola_tangkas" onclick="javascript:void(0)">
618                                                    <div class="sub-btn-game">
619                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/AFATOGEL_07-1703064548.webp"  alt="afastart.com" width="115"/>
620                                                    </div>
621                                                    <div class="sub-title-game">
622                                                        <span>Bola Tangkas</span>
623                                                    </div>
624                                                </a>
625                                            </li>
626                                                                                        <li class="sublist-btn-game lb-61">
627                                                <a href="https://afastart.com/cardgames/poker_dealer" onclick="javascript:void(0)">
628                                                    <div class="sub-btn-game">
629                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/AFATOGEL_06qwreqr-1721186006.webp"  alt="6" width="115"/>
630                                                    </div>
631                                                    <div class="sub-title-game">
632                                                        <span>Poker Dealer</span>
633                                                    </div>
634                                                </a>
635                                            </li>
636                                                                                        <li class="sublist-btn-game lb-65">
637                                                <a href="https://afastart.com/cardgames/blackjack" onclick="javascript:void(0)">
638                                                    <div class="sub-btn-game">
639                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/AFATOGEL_05-1703064602.webp"  alt="afastart.com" width="115"/>
640                                                    </div>
641                                                    <div class="sub-title-game">
642                                                        <span>Blackjack</span>
643                                                    </div>
644                                                </a>
645                                            </li>
646                                                                                        <li class="sublist-btn-game lb-93">
647                                                <a href="https://afastart.com/cardgames/joker_dealer" onclick="javascript:void(0)">
648                                                    <div class="sub-btn-game">
649                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/AFATOGEL_12-1703064688.webp"  alt="afastart.com" width="115"/>
650                                                    </div>
651                                                    <div class="sub-title-game">
652                                                        <span>Joker Dealer</span>
653                                                    </div>
654                                                </a>
655                                            </li>
656                                                                                        <li class="sublist-btn-game lb-96">
657                                                <a href="https://afastart.com/cardgames/three_kings" onclick="javascript:void(0)">
658                                                    <div class="sub-btn-game">
659                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/AFATOGEL_09-1703064831.webp"  alt="afastart.com" width="115"/>
660                                                    </div>
661                                                    <div class="sub-title-game">
662                                                        <span>Three Kings</span>
663                                                    </div>
664                                                </a>
665                                            </li>
666                                                                                        <li class="sublist-btn-game lb-95">
667                                                <a href="https://afastart.com/cardgames/omaha_poker" onclick="javascript:void(0)">
668                                                    <div class="sub-btn-game">
669                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/AFATOGEL_10-1703064780.webp"  alt="afastart.com" width="115"/>
670                                                    </div>
671                                                    <div class="sub-title-game">
672                                                        <span>Omaha Poker</span>
673                                                    </div>
674                                                </a>
675                                            </li>
676                                                                                        <li class="sublist-btn-game lb-2973">
677                                                <a href="https://afastart.com/cardgames/baccarat" onclick="javascript:void(0)">
678                                                    <div class="sub-btn-game">
679                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/AFATOGEL_14-1703064894.webp"  alt="afastart.com" width="115"/>
680                                                    </div>
681                                                    <div class="sub-title-game">
682                                                        <span>Baccarat</span>
683                                                    </div>
684                                                </a>
685                                            </li>
686                                                                                        <li class="sublist-btn-game lb-10675">
687                                                <a href="https://afastart.com/cardgames/rokak_uruk" onclick="javascript:void(0)">
688                                                    <div class="sub-btn-game">
689                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/AFATOGEL_15-1703064906.webp"  alt="afastart.com" width="115"/>
690                                                    </div>
691                                                    <div class="sub-title-game">
692                                                        <span>Rokak Uruk</span>
693                                                    </div>
694                                                </a>
695                                            </li>
696                                                                                        <li class="sublist-btn-game lb-26907">
697                                                <a href="https://afastart.com/cardgames/bull_bull_dice" onclick="javascript:void(0)">
698                                                    <div class="sub-btn-game">
699                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115X115_21bullbulll-1764897899.webp"  alt="69" width="115"/>
700                                                    </div>
701                                                    <div class="sub-title-game">
702                                                        <span>Bull Bull Dice</span>
703                                                    </div>
704                                                </a>
705                                            </li>
706                                                                                                                        </ul>
707                                </div>
708                            </div>
709                        </li>
710                                                <li class="dropdown2 mega-dropdown"> <a class="" href="https://afastart.com/lottery" class="dropdown-toggle" data-toggle="dropdown2">Togel<span class="caret"></span></a>
711                            <div class="container-btn-game">
712                                <div class="container">
713                                    <ul class="list-btn-game">
714                                                                                                                                <li class="sublist-btn-game lb-70">
715                                                <a href="https://afastart.com/lottery/cambodia" onclick="javascript:void(0)">
716                                                    <div class="sub-btn-game">
717                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Cambodia-1688085036 (1)-1703068418.webp"  alt="afastart.com" width="115"/>
718                                                    </div>
719                                                    <div class="sub-title-game">
720                                                        <span>Cambodia</span>
721                                                    </div>
722                                                </a>
723                                            </li>
724                                                                                        <li class="sublist-btn-game lb-26098">
725                                                <a href="https://afastart.com/lottery/myanmar" onclick="javascript:void(0)">
726                                                    <div class="sub-btn-game">
727                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/mrdrop (1)-1747541061.webp"  alt="890" width="115"/>
728                                                    </div>
729                                                    <div class="sub-title-game">
730                                                        <span>Myanmar</span>
731                                                    </div>
732                                                </a>
733                                            </li>
734                                                                                        <li class="sublist-btn-game lb-71">
735                                                <a href="https://afastart.com/lottery/sydney" onclick="javascript:void(0)">
736                                                    <div class="sub-btn-game">
737                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Sydney-1688085045 (1)-1703068454.webp"  alt="afastart.com" width="115"/>
738                                                    </div>
739                                                    <div class="sub-title-game">
740                                                        <span>Sydney</span>
741                                                    </div>
742                                                </a>
743                                            </li>
744                                                                                        <li class="sublist-btn-game lb-72">
745                                                <a href="https://afastart.com/lottery/china" onclick="javascript:void(0)">
746                                                    <div class="sub-btn-game">
747                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/China-1688085052-1703068505.webp"  alt="afastart.com" width="115"/>
748                                                    </div>
749                                                    <div class="sub-title-game">
750                                                        <span>China</span>
751                                                    </div>
752                                                </a>
753                                            </li>
754                                                                                        <li class="sublist-btn-game lb-29179">
755                                                <a href="https://afastart.com/lottery/korea" onclick="javascript:void(0)">
756                                                    <div class="sub-btn-game">
757                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115X115_03-1779191382.webp"  alt="1" width="115"/>
758                                                    </div>
759                                                    <div class="sub-title-game">
760                                                        <span>Korea</span>
761                                                    </div>
762                                                </a>
763                                            </li>
764                                                                                        <li class="sublist-btn-game lb-125">
765                                                <a href="https://afastart.com/lottery/japan" onclick="javascript:void(0)">
766                                                    <div class="sub-btn-game">
767                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Japan-1688085057 (1)-1703068520.webp"  alt="afastart.com" width="115"/>
768                                                    </div>
769                                                    <div class="sub-title-game">
770                                                        <span>Japan</span>
771                                                    </div>
772                                                </a>
773                                            </li>
774                                                                                        <li class="sublist-btn-game lb-69">
775                                                <a href="https://afastart.com/lottery/singapore" onclick="javascript:void(0)">
776                                                    <div class="sub-btn-game">
777                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Singapore-1688085064 (1)-1703068537.webp"  alt="afastart.com" width="115"/>
778                                                    </div>
779                                                    <div class="sub-title-game">
780                                                        <span>Singapore</span>
781                                                    </div>
782                                                </a>
783                                            </li>
784                                                                                        <li class="sublist-btn-game lb-11392">
785                                                <a href="https://afastart.com/lottery/grab_pools" onclick="javascript:void(0)">
786                                                    <div class="sub-btn-game">
787                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Grab Pools-1688085076-1703068631.webp"  alt="afastart.com" width="115"/>
788                                                    </div>
789                                                    <div class="sub-title-game">
790                                                        <span>Grab Pools</span>
791                                                    </div>
792                                                </a>
793                                            </li>
794                                                                                        <li class="sublist-btn-game lb-391">
795                                                <a href="https://afastart.com/lottery/togel_mongolia" onclick="javascript:void(0)">
796                                                    <div class="sub-btn-game">
797                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Togel Mongolia-1688085083-1703068745.webp"  alt="afastart.com" width="115"/>
798                                                    </div>
799                                                    <div class="sub-title-game">
800                                                        <span> Mongolia</span>
801                                                    </div>
802                                                </a>
803                                            </li>
804                                                                                        <li class="sublist-btn-game lb-73">
805                                                <a href="https://afastart.com/lottery/taiwan" onclick="javascript:void(0)">
806                                                    <div class="sub-btn-game">
807                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Taiwan-1688085089 (1)-1703068683.webp"  alt="afastart.com" width="115"/>
808                                                    </div>
809                                                    <div class="sub-title-game">
810                                                        <span>Taiwan</span>
811                                                    </div>
812                                                </a>
813                                            </li>
814                                                                                        <li class="sublist-btn-game lb-10486">
815                                                <a href="https://afastart.com/lottery/nusantara" onclick="javascript:void(0)">
816                                                    <div class="sub-btn-game">
817                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Nusantara-1688085095 (1)-1703068760.webp"  alt="afastart.com" width="115"/>
818                                                    </div>
819                                                    <div class="sub-title-game">
820                                                        <span>Nusantara</span>
821                                                    </div>
822                                                </a>
823                                            </li>
824                                                                                        <li class="sublist-btn-game lb-74">
825                                                <a href="https://afastart.com/lottery/hongkong" onclick="javascript:void(0)">
826                                                    <div class="sub-btn-game">
827                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Hongkong-1688085103 (1) (1)-1703068772.webp"  alt="afastart.com" width="115"/>
828                                                    </div>
829                                                    <div class="sub-title-game">
830                                                        <span>Hongkong</span>
831                                                    </div>
832                                                </a>
833                                            </li>
834                                                                                                                        </ul>
835                                </div>
836                            </div>
837                        </li>
838                        <li class="dropdown2 mega-dropdown"> <a class="" href="https://afastart.com/sportsbook" class="dropdown-toggle" data-toggle="dropdown2">Sportsbook<span class="caret"></span></a>
839                            <div class="container-btn-game">
840                                <div class="container">
841                                    <ul class="list-btn-game">
842                                                                                                                                <li class="sublist-btn-game lb-2010">
843                                                <a href="https://afastart.com/sportsbook/saba_sportsbook" onclick="javascript:void(0)">
844                                                    <div class="sub-btn-game">
845                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115X115_sabbaa-1718709458.webp"  alt="1" width="115"/>
846                                                    </div>
847                                                    <div class="sub-title-game">
848                                                        <span>Saba SportsBook</span>
849                                                    </div>
850                                                </a>
851                                            </li>
852                                                                                        <li class="sublist-btn-game lb-2100">
853                                                <a href="https://afastart.com/sportsbook/sbo_sportsbook" onclick="javascript:void(0)">
854                                                    <div class="sub-btn-game">
855                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115X115_sbo (1)-1718709648.webp"  alt="1" width="115"/>
856                                                    </div>
857                                                    <div class="sub-title-game">
858                                                        <span>SBO Sportsbook</span>
859                                                    </div>
860                                                </a>
861                                            </li>
862                                                                                        <li class="sublist-btn-game lb-1701">
863                                                <a href="https://afastart.com/sportsbook/cmd_sportsbook" onclick="javascript:void(0)">
864                                                    <div class="sub-btn-game">
865                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115X115_cmd-1692915591 (1)-1703068394.webp"  alt="afastart.com" width="115"/>
866                                                    </div>
867                                                    <div class="sub-title-game">
868                                                        <span>CMD SportsBook</span>
869                                                    </div>
870                                                </a>
871                                            </li>
872                                                                                        <li class="sublist-btn-game lb-24871">
873                                                <a href="https://afastart.com/sportsbook/bti_sportsbook" onclick="javascript:void(0)">
874                                                    <div class="sub-btn-game">
875                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/BTI_190X190_31-1735385250.webp"  alt="4" width="115"/>
876                                                    </div>
877                                                    <div class="sub-title-game">
878                                                        <span>BTI Sportsbook</span>
879                                                    </div>
880                                                </a>
881                                            </li>
882                                                                                        <li class="sublist-btn-game lb-22613">
883                                                <a href="https://afastart.com/sportsbook/esports_bull" onclick="javascript:void(0)">
884                                                    <div class="sub-btn-game">
885                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/E-SPORTS_115X115_312222-1718707934.webp"  alt="852" width="115"/>
886                                                    </div>
887                                                    <div class="sub-title-game">
888                                                        <span>ESports Bull</span>
889                                                    </div>
890                                                </a>
891                                            </li>
892                                                                                        <li class="sublist-btn-game lb-22612">
893                                                <a href="https://afastart.com/sportsbook/imone_sportsbook" onclick="javascript:void(0)">
894                                                    <div class="sub-btn-game">
895                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/SPORTSBOOK_115X115_3100000-1718707913.webp"  alt="123" width="115"/>
896                                                    </div>
897                                                    <div class="sub-title-game">
898                                                        <span>IMONE Sportsbook</span>
899                                                    </div>
900                                                </a>
901                                            </li>
902                                                                                        <li class="sublist-btn-game lb-28670">
903                                                <a href="https://afastart.com/sportsbook/tfg_e-sports" onclick="javascript:void(0)">
904                                                    <div class="sub-btn-game">
905                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115x115_03TF-1776176254.webp"  alt="654" width="115"/>
906                                                    </div>
907                                                    <div class="sub-title-game">
908                                                        <span>TFG E-Sports</span>
909                                                    </div>
910                                                </a>
911                                            </li>
912                                                                                                                        </ul>
913                                </div>
914                            </div>
915                        </li>
916                        <li class="dropdown2 mega-dropdown"> <a class="" href="https://afastart.com/livecasino" class="dropdown-toggle" data-toggle="dropdown2"> Casino <span class="caret"></span></a>
917                            <div class="container-btn-game">
918                                <div class="container">
919                                    <ul class="list-btn-game">
920                                                                                                                                <li class="sublist-btn-game lb-160">
921                                                <a href="https://afastart.com/livecasino/pragmatic_play" onclick="javascript:void(0)">
922                                                    <div class="sub-btn-game">
923                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115lcpp-1745319602.webp"  alt="fufufafa" width="115"/>
924                                                    </div>
925                                                    <div class="sub-title-game">
926                                                        <span>Pragmatic Play</span>
927                                                    </div>
928                                                </a>
929                                            </li>
930                                                                                        <li class="sublist-btn-game lb-12199">
931                                                <a href="https://afastart.com/livecasino/evolution" onclick="javascript:void(0)">
932                                                    <div class="sub-btn-game">
933                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Evolution-1688084951-1703066513.webp"  alt="afastart.com" width="115"/>
934                                                    </div>
935                                                    <div class="sub-title-game">
936                                                        <span>Evolution</span>
937                                                    </div>
938                                                </a>
939                                            </li>
940                                                                                        <li class="sublist-btn-game lb-2104">
941                                                <a href="https://afastart.com/livecasino/sexy_gaming" onclick="javascript:void(0)">
942                                                    <div class="sub-btn-game">
943                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/dropsexy-1789714460.webp"  alt="321456" width="115"/>
944                                                    </div>
945                                                    <div class="sub-title-game">
946                                                        <span>Sexy Gaming</span>
947                                                    </div>
948                                                </a>
949                                            </li>
950                                                                                        <li class="sublist-btn-game lb-1102">
951                                                <a href="https://afastart.com/livecasino/playtech" onclick="javascript:void(0)">
952                                                    <div class="sub-btn-game">
953                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Playtech-1688084926-1703066567.webp"  alt="afastart.com" width="115"/>
954                                                    </div>
955                                                    <div class="sub-title-game">
956                                                        <span>Playtech</span>
957                                                    </div>
958                                                </a>
959                                            </li>
960                                                                                        <li class="sublist-btn-game lb-23612">
961                                                <a href="https://afastart.com/livecasino/oriental_game_plus" onclick="javascript:void(0)">
962                                                    <div class="sub-btn-game">
963                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/OGP115-1719817017.webp"  alt="783" width="115"/>
964                                                    </div>
965                                                    <div class="sub-title-game">
966                                                        <span>Oriental Game Plus</span>
967                                                    </div>
968                                                </a>
969                                            </li>
970                                                                                        <li class="sublist-btn-game lb-25239">
971                                                <a href="https://afastart.com/livecasino/mg_live" onclick="javascript:void(0)">
972                                                    <div class="sub-btn-game">
973                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115x115_31-1739328482 (1)-1739357190.webp"  alt="fufufufu" width="115"/>
974                                                    </div>
975                                                    <div class="sub-title-game">
976                                                        <span>MG Live</span>
977                                                    </div>
978                                                </a>
979                                            </li>
980                                                                                        <li class="sublist-btn-game lb-10415">
981                                                <a href="https://afastart.com/livecasino/sa_gaming" onclick="javascript:void(0)">
982                                                    <div class="sub-btn-game">
983                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115SAGnew-1749108228.webp"  alt="8524" width="115"/>
984                                                    </div>
985                                                    <div class="sub-title-game">
986                                                        <span>SA Gaming</span>
987                                                    </div>
988                                                </a>
989                                            </li>
990                                                                                        <li class="sublist-btn-game lb-2687">
991                                                <a href="https://afastart.com/livecasino/vivo_gaming" onclick="javascript:void(0)">
992                                                    <div class="sub-btn-game">
993                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/vivogamin-drop-1766060551.webp"  alt="6987" width="115"/>
994                                                    </div>
995                                                    <div class="sub-title-game">
996                                                        <span>Vivo Gaming</span>
997                                                    </div>
998                                                </a>
999                                            </li>
1000                                                                                        <li class="sublist-btn-game lb-19986">
1001                                                <a href="https://afastart.com/livecasino/popok_gaming" onclick="javascript:void(0)">
1002                                                    <div class="sub-btn-game">
1003                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/12321435-1706804878.webp"  alt="12" width="115"/>
1004                                                    </div>
1005                                                    <div class="sub-title-game">
1006                                                        <span>popOK Gaming</span>
1007                                                    </div>
1008                                                </a>
1009                                            </li>
1010                                                                                        <li class="sublist-btn-game lb-2101">
1011                                                <a href="https://afastart.com/livecasino/sbo_live_casino_" onclick="javascript:void(0)">
1012                                                    <div class="sub-btn-game">
1013                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/SBO Live Casino-1688084904-1703066548.webp"  alt="afastart.com" width="115"/>
1014                                                    </div>
1015                                                    <div class="sub-title-game">
1016                                                        <span>SBO Live Casino </span>
1017                                                    </div>
1018                                                </a>
1019                                            </li>
1020                                                                                        <li class="sublist-btn-game lb-14292">
1021                                                <a href="https://afastart.com/livecasino/dream_gaming" onclick="javascript:void(0)">
1022                                                    <div class="sub-btn-game">
1023                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Dream Gaming-1688084963-1703067198.webp"  alt="afastart.com" width="115"/>
1024                                                    </div>
1025                                                    <div class="sub-title-game">
1026                                                        <span>Dream Gaming</span>
1027                                                    </div>
1028                                                </a>
1029                                            </li>
1030                                                                                        <li class="sublist-btn-game lb-10425">
1031                                                <a href="https://afastart.com/livecasino/baccarat" onclick="javascript:void(0)">
1032                                                    <div class="sub-btn-game">
1033                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/HO Gaming-1688084817-1703066678.webp"  alt="afastart.com" width="115"/>
1034                                                    </div>
1035                                                    <div class="sub-title-game">
1036                                                        <span>Baccarat</span>
1037                                                    </div>
1038                                                </a>
1039                                            </li>
1040                                                                                        <li class="sublist-btn-game lb-19199">
1041                                                <a href="https://afastart.com/livecasino/ezugi" onclick="javascript:void(0)">
1042                                                    <div class="sub-btn-game">
1043                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Ezugi-1688084778-1703066582.webp"  alt="afastart.com" width="115"/>
1044                                                    </div>
1045                                                    <div class="sub-title-game">
1046                                                        <span>Ezugi</span>
1047                                                    </div>
1048                                                </a>
1049                                            </li>
1050                                                                                        <li class="sublist-btn-game lb-19567">
1051                                                <a href="https://afastart.com/livecasino/wmcasino" onclick="javascript:void(0)">
1052                                                    <div class="sub-btn-game">
1053                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/WMCasino-1688084990 (1)-1703066781.webp"  alt="afastart.com" width="115"/>
1054                                                    </div>
1055                                                    <div class="sub-title-game">
1056                                                        <span>WMCasino</span>
1057                                                    </div>
1058                                                </a>
1059                                            </li>
1060                                                                                        <li class="sublist-btn-game lb-10150">
1061                                                <a href="https://afastart.com/livecasino/choice_gaming" onclick="javascript:void(0)">
1062                                                    <div class="sub-btn-game">
1063                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/choice115-1779722835.webp"  alt="586" width="115"/>
1064                                                    </div>
1065                                                    <div class="sub-title-game">
1066                                                        <span>Choice Gaming</span>
1067                                                    </div>
1068                                                </a>
1069                                            </li>
1070                                                                                        <li class="sublist-btn-game lb-16288">
1071                                                <a href="https://afastart.com/livecasino/big_gaming" onclick="javascript:void(0)">
1072                                                    <div class="sub-btn-game">
1073                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115X115_LIVECASINO_21-1688469127-1703067172.webp"  alt="afastart.com" width="115"/>
1074                                                    </div>
1075                                                    <div class="sub-title-game">
1076                                                        <span>Big Gaming</span>
1077                                                    </div>
1078                                                </a>
1079                                            </li>
1080                                                                                        <li class="sublist-btn-game lb-10422">
1081                                                <a href="https://afastart.com/livecasino/allbet" onclick="javascript:void(0)">
1082                                                    <div class="sub-btn-game">
1083                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Allbet-1688084789-1703066648.webp"  alt="afastart.com" width="115"/>
1084                                                    </div>
1085                                                    <div class="sub-title-game">
1086                                                        <span>Allbet</span>
1087                                                    </div>
1088                                                </a>
1089                                            </li>
1090                                                                                        <li class="sublist-btn-game lb-16059">
1091                                                <a href="https://afastart.com/livecasino/mt_casino" onclick="javascript:void(0)">
1092                                                    <div class="sub-btn-game">
1093                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115X115_MTGAMING (1)-1726814543.webp"  alt="11" width="115"/>
1094                                                    </div>
1095                                                    <div class="sub-title-game">
1096                                                        <span>MT Casino</span>
1097                                                    </div>
1098                                                </a>
1099                                            </li>
1100                                                                                        <li class="sublist-btn-game lb-19229">
1101                                                <a href="https://afastart.com/livecasino/skywind" onclick="javascript:void(0)">
1102                                                    <div class="sub-btn-game">
1103                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/Skywind Lobby-1688084978-1703067295.webp"  alt="afastart.com" width="115"/>
1104                                                    </div>
1105                                                    <div class="sub-title-game">
1106                                                        <span>Skywind</span>
1107                                                    </div>
1108                                                </a>
1109                                            </li>
1110                                                                                        <li class="sublist-btn-game lb-16311">
1111                                                <a href="https://afastart.com/livecasino/gameplay_interactive" onclick="javascript:void(0)">
1112                                                    <div class="sub-btn-game">
1113                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/NEWW-1706804860.webp"  alt="0" width="115"/>
1114                                                    </div>
1115                                                    <div class="sub-title-game">
1116                                                        <span>Gameplay Interactive</span>
1117                                                    </div>
1118                                                </a>
1119                                            </li>
1120                                                                                                                        </ul>
1121                                </div>
1122                            </div>
1123                        </li>
1124                                                <li class="dropdown2 mega-dropdown"> <a class="" href="https://afastart.com/cockfight" class="dropdown-toggle" data-toggle="dropdown2"> Sabung <span class="caret"></span></a>
1125                            <div class="container-btn-game">
1126                                <div class="container">
1127                                    <ul class="list-btn-game">
1128                                                                                                                                <li class="sublist-btn-game lb-30139">
1129                                                <a href="https://afastart.com/cockfight/ga28" onclick="javascript:void(0)">
1130                                                    <div class="sub-btn-game">
1131                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/DropDown-1789029313.webp"  alt="655165" width="115"/>
1132                                                    </div>
1133                                                    <div class="sub-title-game">
1134                                                        <span>GA28</span>
1135                                                    </div>
1136                                                </a>
1137                                            </li>
1138                                                                                        <li class="sublist-btn-game lb-26327">
1139                                                <a href="https://afastart.com/cockfight/sv388" onclick="javascript:void(0)">
1140                                                    <div class="sub-btn-game">
1141                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115x115_04-1752117170.webp"  alt="6565" width="115"/>
1142                                                    </div>
1143                                                    <div class="sub-title-game">
1144                                                        <span>SV388</span>
1145                                                    </div>
1146                                                </a>
1147                                            </li>
1148                                                                                        <li class="sublist-btn-game lb-26843">
1149                                                <a href="https://afastart.com/cockfight/ws168" onclick="javascript:void(0)">
1150                                                    <div class="sub-btn-game">
1151                                                        <img src="https://cf.ruangok.com/public/banner/afatogel/icon/115x115_03-1759428481.webp"  alt="255" width="115"/>
1152                                                    </div>
1153                                                    <div class="sub-title-game">
1154                                                        <span>WS168</span>
1155                                                    </div>
1156                                                </a>
1157                                            </li>
1158                                                                                                                        </ul>
1159                                </div>
1160                            </div>
1161                        </li>
1162                                                                        <li><a class="" href="https://afastart.com/egames"> Slot </a></li>
1163                                                                        <li><a class="" href="https://afastart.com/arcade">Arcade</a></li>
1164                                                <li><a class="" href="https://afastart.com/blog">Blog</a></li>
1165                        <li><a class="" href="https://afastart.com/promotion">Promosi</a></li>
1166                        <li><a class="" href="https://afastart.com/referral">Referral</a></li>
1167                        <li><a class="" href="https://afastart.com/help">Bantuan</a></li>
1168                    </ul>
1169                </div>
1170                <div class="clearfix"></div>
1171            </div>
1172        </div>
1173    </nav>
1174        <div class="clearfix"></div>
1175    </section>
1176
1177
1178    <div id="dummy" style="display:none;"></div>
1179    <div id="dummy1" style="display:none;"></div>
1180    <div id="fl_menu">
1181      <div class="label">
1182        <img width="19px" src="https://afastart.com/images/icon-linkalternatif.svg?v=1.14.67">
1183        <span>Link Alternative</span>
1184      </div>
1185      <div class="menu" style=" border-bottom: #3f4254;">
1186                                    <a href="https://AFASTART.COM" class="menu_item" target="_blank">AFASTART.COM</a>
1187                          </div>
1188    </div>
1189
1190    <div id="panel2">
1191      <div id="panelCaller2">
1192
1193        <!--<img src="https://afastart.com/afatogel/images/home/contactarrow.png?v=1.14.67">-->
1194        <i class="fa fa-angle-right"></i>
1195
1196      </div>
1197      <div class="topback"> <h2 style="font-size: 20px;"><img src="https://afastart.com/images/home/phone-call.webp?v=1.14.67" class="img-responsive" width="20" style="float: left;">Hubungi Kami</h2></div>
1198      <div class="Lorem_rw">
1199                    <div class="contactus loremone">
1200                <a href="https://x.com/afat0g3l2026" target="_blank">
1201                    <span>
1202                        <img src="https://afastart.com/images/socmed/twitter-mini.webp?v=1.14.67" alt="afastart.com" width="23">
1203                    </span>
1204                    AFATOGEL
1205                </a>
1206            </div>
1207                    <div class="contactus loremone">
1208                <a href="https://www.facebook.com/Afat0g3l" target="_blank">
1209                    <span>
1210                        <img src="https://afastart.com/images/socmed/facebook-mini.webp?v=1.14.67" alt="afastart.com" width="23">
1211                    </span>
1212                    AFATOGEL
1213                </a>
1214            </div>
1215                    <div class="contactus loremone">
1216                <a href="https://www.instagram.com/afamania_/" target="_blank">
1217                    <span>
1218                        <img src="https://afastart.com/images/socmed/instagram-mini.webp?v=1.14.67" alt="afastart.com" width="23">
1219                    </span>
1220                    AFATOGEL
1221                </a>
1222            </div>
1223                    <div class="contactus loremone">
1224                <a href="https://www.youtube.com/@Afatogel88" target="_blank">
1225                    <span>
1226                        <img src="https://afastart.com/images/socmed/youtube-mini.webp?v=1.14.67" alt="afastart.com" width="23">
1227                    </span>
1228                    AFATOGEL
1229                </a>
1230            </div>
1231                    <div class="contactus loremone">
1232                <a href="/blog/category/bukti-bayar" target="_blank">
1233                    <span>
1234                        <img src="https://afastart.com/images/socmed/wordpress-mini.webp?v=1.14.67" alt="afastart.com" width="23">
1235                    </span>
1236                    BUKTI BAYAR
1237                </a>
1238            </div>
1239              </div>
1240    </div>
1241    
1242  <section class="signupbg">
1243    <div class="container" style="margin-top: 1.25rem">
1244      <div class="row">
1245				<div class="col-lg-12" style="margin-bottom: 30px;">
1246			<div class="sugnup_hd" style="top: 24px;text-align:center;">
1247			  <h2 style="font-size: 17px;">Lupa Kata Sandi</h2>
1248			</div>
1249		  </div>
1250									<div class="col-lg-12"
1251					style="display: flex; justify-content:center; align-items: center; margin-bottom: 10px">
1252					<button type="button" class="btn btn-success" style="border-radius: 0" onclick="show_forget_password_form('email'); $('.active').removeClass('active'); $(this).addClass('active')">Email</button>
1253					<button type="button" class="btn btn-success" style="border-radius: 0"
1254						onclick="show_forget_password_form('bank'); $('.active').removeClass('active'); $(this).addClass('active')">Rekening</button>
1255				</div>	
1256				
1257				
1258				<div class="col-lg-8 col-md-8 col-lg-offset-2" style="display: none" id="email-form">
1259					<form class="form-horizontal sgn_frm" role="form" action="https://afastart.com/password/reset/first"
1260						method="post" id="form_forget_email" accept-charset="utf-8">
1261						<input type="hidden" name="_token" value="TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS">
1262						<input type="hidden" name="type" value="email">
1263						<div class="form-group">
1264							<label for="email" class="col-lg-4 col-sm-4 col-md-4 control-label">Masukan Email Anda<span>*</span>
1265								:</label>
1266							<div class="col-lg-7 col-sm-7 col-md-7">
1267								<input type="text" class="form-control input-lg uppercase" placeholder="[email protected]"
1268									onblur="validate_email_forgot();" name="email" id="email" required>
1269								<span id="email_invalid" style="display:none;margin-bottom:10px;font-weight:bold;color:white !important"></span>
1270							</div>
1271							<div class="clearfix"></div>
1272						</div>
1273						<div class="form-group">
1274							<div class="col-xs-12 text-center">
1275								<div class="fund_btn" style="margin: 0 auto;">
1276																		<div class="fund_btn text-center" style="margin-top: 10px;">
1277										<button class="proses btn_submit" type="submit" id="btnSubmit" style="border:none;"><span>Proses</span></button>
1278									</div>
1279																		<div id="loader_forgot" style="padding-top: 10px; height:20px;">&nbsp;</div>
1280								</div>
1281							</div>
1282						</div>
1283					</form>
1284				</div>
1285
1286				
1287				<div class="col-lg-8 col-md-8 col-lg-offset-2" style="display: none" id="bank-form">
1288					<form class="form-horizontal sgn_frm" role="form" action="https://afastart.com/password/reset/first"
1289						method="post" id="form_forget_bank" accept-charset="utf-8">
1290						<input type="hidden" name="_token" value="TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS">
1291						<input type="hidden" name="type" value="bank">
1292						<div class="form-group">
1293							<label for="username" class="col-lg-4 col-sm-4 col-md-4 control-label">Nama Pengguna<span>*</span> :</label>
1294							<div class="col-lg-7 col-sm-7 col-md-7">
1295								<input type="text" class="form-control input-lg uppercase" placeholder="Nama Pengguna"
1296									onblur="validate_user_id_forgot();" maxlength="13" name="user" id="user" required>
1297								<span id="user_invalid" style="display:none;margin-bottom:10px;font-weight:bold;"></span>
1298							</div>
1299							<div class="clearfix"></div>
1300						</div>
1301
1302						<div class="form-group">
1303							<label for="bank" class="col-lg-4 col-sm-4 col-md-4 control-label">Bank <span class="lbl_highlight"
1304									style="color: red;">*</span>:</label>
1305							<div class="col-lg-7 col-md-7 col-xs-7">
1306								<select class="form-control input-sm bord-regis fbold nice-select-pass uppercase" name="bank" id="bank"
1307									onchange="chk_mask()" style="background: #fff;">
1308									<option selected value="">Pilih layanan Bank / E-Wallet</option>
1309																			<option value="1418">BCA</option>
1310																			<option value="1419">BRI</option>
1311																			<option value="1420">BNI</option>
1312																			<option value="1421">MANDIRI</option>
1313																			<option value="1422">DANAMON</option>
1314																			<option value="1423">GOPAY</option>
1315																			<option value="1424">LINK AJA</option>
1316																			<option value="1425">OVO</option>
1317																			<option value="1426">DANA</option>
1318																			<option value="1428">CIMB Niaga</option>
1319																			<option value="1444">PANIN</option>
1320																			<option value="12257">PERMATA</option>
1321																			<option value="12385">BSI</option>
1322																			<option value="12678">SEABANK</option>
1323																			<option value="12732">SHOPEEPAY</option>
1324																			<option value="12863">BJB</option>
1325																			<option value="12864">BluBCA</option>
1326																			<option value="12866">Doku</option>
1327																			<option value="12868">Jago</option>
1328																			<option value="12870">Maybank</option>
1329																			<option value="12872">Neo Commerce</option>
1330																			<option value="12874">Papua</option>
1331																			<option value="12878">Sakuku</option>
1332																			<option value="13034">Jenius</option>
1333																			<option value="13179">ISaku</option>
1334																			<option value="13180">Paytren</option>
1335																			<option value="13181">Mega</option>
1336																			<option value="13182">Sinarmas</option>
1337																			<option value="13183">Bank Riau</option>
1338																			<option value="13184">Mestika</option>
1339																			<option value="13327">Allobank</option>
1340																			<option value="13328">NOBU</option>
1341																			<option value="14489">BTN</option>
1342																			<option value="14491">UOB Indonesia</option>
1343																			<option value="14492">OCBC</option>
1344																			<option value="14494">Citibank</option>
1345																			<option value="14496">Sumut</option>
1346																			<option value="14498">Kaspro</option>
1347																	</select>
1348							</div>
1349						</div>
1350
1351						<div class="form-group">
1352							<label class="col-lg-4 col-sm-4 col-md-4 control-label col-xs-4" for="email">Nama Rekening<span>*</span>:</label>
1353							<div class="col-lg-7 col-sm-7 col-md-7 col-xs-7">
1354								<input type="text" class="form-control input-lg uppercase" placeholder="Nama Rekening"
1355									maxlength="50" name="bank_accname" required>
1356							</div>
1357						</div>
1358
1359						<div class="form-group">
1360							<label class="col-lg-4 col-sm-4 col-md-4 control-label col-xs-4" for="email">Nomor Rekening / Handphone<span>*</span> :</label>
1361							<div class="col-lg-7 col-sm-7 col-md-7 col-xs-7">
1362								<input type="text" class="form-control input-lg uppercase" id="bank_accnumber" name="bank_accnumber"
1363									placeholder="Nomor Rekening / Handphone" onkeypress="test(this,event)">
1364							</div>
1365						</div>
1366
1367						<div class="form-group">
1368							<label for="bonuscode"
1369								class="col-lg-4 col-md-4 control-label openreg col-xs-4">Kode Validasi<span
1370									class="lbl_highlight">*</span>:</label>
1371							<div class="col-sm-3 col-xs-3">
1372								<input type="text" class="form-control input-lg captcha-input uppercase" id="bonuscode"
1373									placeholder="Kode Validasi" maxlength="4" name="captcha" onkeypress="test(this,event);" pattern="\d*"
1374									style="color: #000;">
1375							</div>
1376							<div class="col-xs-3" style="padding: 0px; margin-top: 2px; text-align: center;">
1377								<div id="captcha_div_help" class="form-captcha" title="Klik untuk kode validasi yang baru!"
1378									style="cursor: pointer; width:250px;">
1379									<img class="captcha captcha_image" src="https://afastart.com/captcha/default?5rzn2yyv"
1380										style=" width:100px; height:30px; margin-right: 5px;float: left;" />
1381									<i class="fa fa-refresh fa-2x" style="float:left;margin:0px 0px 0px 3px;color:#fff;float: left;"></i>
1382								</div>
1383							</div>
1384						</div>
1385
1386						<div class="form-group">
1387							<div class="col-xs-12 text-center">
1388								<div class="fund_btn" style="margin: 0 auto;">
1389																		<div class="fund_btn text-center" style="margin-top: 10px;">
1390										<button class="proses btn_submit" type="submit" id="btnSubmit" style="border:none;"><span>Proses</span></button>
1391									</div>
1392																		<div id="loader_forgot_bank" style="padding-top: 10px; height:20px;">&nbsp;</div>
1393								</div>
1394							</div>
1395						</div>
1396					</form>
1397				</div>
1398			
1399			
1400			      </div>
1401    </div>
1402  </section>
1403
1404<section class="footer_bg">
1405    <div class="container">
1406        <div class="spok">
1407                <h1 style="margin-top: 6px; margin-bottom: -7px;">AFATOGEL | LUPA PASSWORD | BANDAR ONLINE TERBAIK</h1>
1408                <!-- <h4 style="color:#feb60a; font-family: gotham-extra-light; text-transform:uppercase;">AFATOGEL.com</h4> -->
1409                <p></p>
1410                <div class="readmore dingdong_desc">
1411                    <p>AFATOGEL sebagai situs judi online terbaik yang dilengkapi dengan segala jenis taruhan mulai dari permainan kartu online seperti poker dan domino QQ, sabung ayam live, togel online yang dapat dinikmati sekaligus memakai 1 userid saja. AFATOGEL hadir siap melayani setiap hari dan menjamin kelancaran dalam segi permainan, transaksi yang cepat serta pelayanan yang terbaik setiap waktu.</p>
1412                </div>
1413                
1414            </div>
1415            
1416    </div>
1417
1418    <div class="container">
1419        
1420        <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;">
1421            <div class="owl-carousel owl-theme socials">
1422                                    <div class="item">
1423                        <a href="https://x.com/afat0g3l2026" target="_blank" style="color:#fff;"><div class="contactusbg loremone" style="text-align: center; float: left"><span><img src="https://afastart.com/images/socmed/twitter-bottom.webp?v=1.14.67" alt="afastart.com" width="23"> AFATOGEL</span></div></a>
1424                    </div>
1425                                    <div class="item">
1426                        <a href="https://www.facebook.com/Afat0g3l" target="_blank" style="color:#fff;"><div class="contactusbg loremone" style="text-align: center; float: left"><span><img src="https://afastart.com/images/socmed/facebook-bottom.webp?v=1.14.67" alt="afastart.com" width="23"> AFATOGEL</span></div></a>
1427                    </div>
1428                                    <div class="item">
1429                        <a href="https://www.instagram.com/afamania_/" target="_blank" style="color:#fff;"><div class="contactusbg loremone" style="text-align: center; float: left"><span><img src="https://afastart.com/images/socmed/instagram-bottom.webp?v=1.14.67" alt="afastart.com" width="23"> AFATOGEL</span></div></a>
1430                    </div>
1431                                    <div class="item">
1432                        <a href="https://www.youtube.com/@Afatogel88" target="_blank" style="color:#fff;"><div class="contactusbg loremone" style="text-align: center; float: left"><span><img src="https://afastart.com/images/socmed/youtube-bottom.webp?v=1.14.67" alt="afastart.com" width="23"> AFATOGEL</span></div></a>
1433                    </div>
1434                                    <div class="item">
1435                        <a href="/blog/category/bukti-bayar" target="_blank" style="color:#fff;"><div class="contactusbg loremone" style="text-align: center; float: left"><span><img src="https://afastart.com/images/socmed/wordpress-bottom.webp?v=1.14.67" alt="afastart.com" width="23"> BUKTI BAYAR</span></div></a>
1436                    </div>
1437                            </div>
1438        </div>
1439        <div class="col-lg-12" style="margin-bottom: 20px;">
1440            <img style="border-radius:0.5rem" src="https://cf.ruangok.com/public/public/bottom/HKB Group_GIF Banner_Oct 2026.webp" alt="FOOTER GIF 2710" width="100%">
1441        </div>
1442        
1443
1444        
1445
1446                    <section class="ourpartner">
1447                <div class="container" style="margin-top:1rem;margin-bottom:1rem;">
1448                    <div class="col-lg-12 col-sm-12 col-md-12 col-xs-12 text-center">
1449                        <h3 style="font-weight: 700;">Mitra Kami</h3>
1450                    </div>
1451                    <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6">
1452                        <div class="pro-left" style="background-image:url('https://cf.ruangok.com/public/public/banner_ourpartner/afatogel/afatgver.webp')
1453                            ;width: 550px;height: 205px;background-repeat: no-repeat;"></div>
1454                    </div>
1455                    <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6">
1456                        <div class="pro-right" style="background-image:url('https://cf.ruangok.com/public/public/banner_ourpartner/afatogel/afatgver.webp');
1457                            width: 550px;height: 205px;background-repeat: no-repeat;
1458                            background-position: 0px 99%;background-repeat: no-repeat;"></div>
1459                    </div>
1460                    <div class="clearfix"></div>
1461                </div>
1462            </section>
1463        
1464        <div class="clearfix"></div>
1465    </div>
1466</section>
1467
1468<section class="socialfooter">
1469    <div class="container">
1470        <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6">
1471                <div class="All_Rights">© 2013 AFATOGEL.COM ALL RIGHTS RESERVED</div>
1472            </div>
1473            
1474        <div class="clearfix"></div>
1475    </div>
1476</section>
1477<div id="myModal" class="modal fade popup_space" role="dialog">
1478            <div class="modal-dialog modal-dialog1"> 
1479                <div class="modal-content popu_bg" style="border: 1px solid #303030;">
1480                    <div class="modal-header new-modal text-center">
1481                        <h4 class="modal-title new-modal-title" id="exampleModalLabel" style="padding: 10px 0;">MASUK</h4>
1482                        <button type="button" class="close closem" data-dismiss="modal"></button>
1483                    </div>
1484                    <form action="https://afastart.com/login" id="form_login1" method="POST" accept-charset="utf-8" style=" margin: 0 auto;
1484 margin-top: -1px;">
1485                        <input type="hidden" name="_token" value="TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS">
1486                        <div class="modal-body new-modal-body">
1487                            <div class="new-modal-content">
1488                                <div class="form-group">
1489                                    <label class="label-control"> <span class="label-text">Username</span> </label>
1490                                    <div class="col-xs-12 input-group">
1491                                        <span class="input-group-addon" style="background: #121419;">
1492                                            <i class="fa fa-user" style="font-size: 14px;"></i>
1493                                        </span>
1494                                        <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">
1495                                    </div>
1496                                </div>
1497                                <div class="form-group">
1498                                    <label class="label-control"> <span class="label-text text-center">Kata Sandi</span> </label>
1499                                    <div class="col-xs-12 input-group">
1500                                        <span class="input-group-addon" style="background: #121419;">
1501                                            <i class="fa fa-lock" style="font-size: 14px;"></i>
1502                                        </span>
1503                                        <input class="form-control form-control2" placeholder="Kata Sandi" name="password"  tabindex="7" required type="password" style="background: #121419;">
1504                                    </div>
1505                                </div>
1506
1507                                <div class="form-group">
1508                                    <div class="col-xs-6 col-sm-6" style="padding-left: 0;">
1509                                        <label class="label-control" style="width: 100%;"> <span class="label-text text-center">Kode Validasi</span> </label>
1510                                        <div class="col-xs-12 input-group">
1511                                            <span class="input-group-addon" style="background: #121419;">
1512                                                <i class="fa fa-shield" style="font-size: 14px;"></i>
1513                                            </span>
1514                                            <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;">
1515                                        </div>
1516                                    </div>
1517                                </div>
1518                                <div class="col-xs-6 col-sm-6" style="padding: 0; margin-top: 20px;">
1519                                    <span id="captcha_div_login" class="form-captcha">
1520                                        <i class="fa fa-refresh fa-2x " style="margin:3px 3px 0px 0px;color:green; vertical-align: middle;"></i>
1521                                        <img class="captcha captcha_image" src="https://afastart.com/captcha/default?5rzn2yyv" style=" width:80px; height:30px; margin-right:5px;" />
1522                                    </span>
1523                                </div>
1524                                <div style="clear:both"> </div>
1525
1526                                <div class="col-md-12 col-sm-12 col-md-12 text-center">
1527                                    <span id="loader_login1"></span>
1528                                </div>
1529                                <div class="col-md-12 col-sm-12 col-md-12 text-center" style="margin-top: 15px;">
1530                                    <div class="text-center fund_btn">
1531                                        <button id="btn_login1" name="submitlogin" tabindex="9" type="submit" class="masuk" >
1532                                            MASUK
1533                                        </button>
1534                                    </div>
1535                                </div>
1536                                <div class="modal-footer" style="padding: 0; text-align: center; border: none; margin-top: 50px;">
1537                                    <div class="col-xs-6" style="padding-left: 0px; text-align: left;">
1538                                        <a href="https://afastart.com/password/reset" style="text-decoration: underline;
1538 color: #15a476;">Lupa Kata Sandi</a>
1539                                    </div>
1540                                    <div class="col-xs-6" style="text-align: right; padding-right: 0px;">
1541                                        <a href="https://afastart.com/register" style="text-decoration: underline; color: #15a476;">Daftar</a>
1542                                    </div>
1543                                </div>
1544                            </div>  
1545                        </div>
1546                    </form>
1547                </div>
1548            </div>
1549        </div>
1550    
1551<div class="modal fade" id="modalTerm" role="dialog" style="z-index: 9999999;">
1552    <div class="modal-dialog">
1553        <div class="modal-content">
1554            <div class="popup_prmotionhd">
1555                <div class="promo_txtright">Syarat & Ketentuan</div>
1556                <div class="promo_txthd"><a href="#" data-dismiss="modal"><img src="https://afastart.com/afatogel/images/promotion/cross.webp?v=1.14.67"  alt="" class="img-responsive"></a></div>
1557                <div class="clearfix"></div>
1558            </div>
1559
1560            <div class="conditions-body">
1561                <div class="term-list">
1562                    <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:
1563                    </p>
1564                    <ol style="padding-left:34px; padding-right: 20px; list-style-type: decimal;">
1565                        <li>Minimal Anda telah berusia 18 tahun untuk membuat akun.</li>
1566                        <li>Setiap member wajib menjaga kerahasiaan akun-nya masing-masing.</li>
1567                        <li>Data yang diberikan pada saat mendaftar adalah BENAR dan ASLI.</li>
1568                        <li>Minimal deposit/pengisian saldo akun Anda adalah IDR 25.000,-</li>
1569                        <li>Minimal withdraw/penarikan saldo akun Anda adalah IDR. 25.000,-.</li>
1570                        <li>Untuk penarikan dana (withdraw) dapat dilakukan setiap hari selama website tidak sedang maintenance dan bank tidak offline.</li>
1571                        <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>
1572                        <li>Deposit dan Withdraw hanya dapat diproses ke rekening yang terdaftar.</li>
1573                    </ol>
1574                </div>
1575                <div class="fund_btn4" style="margin: 0 38%;"><a class="setuju" href="#" data-dismiss="modal"></a></div>
1576            </div>
1577
1578        </div>
1579    </div>
1580</div>
1581
1582
1583
1584<div class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="padding-right: 17px; z-index: 99999;" id="uialert_modal">
1585    <div class="modal-dialog" role="document" style="top:25%;">
1586        <div class="modal-content">
1587            <div class="popup_prmotionhd">
1588                <div class="promo_txtright text-center">Informasi</div>
1589                <div class="promo_txthd"><a href="#" data-dismiss="modal"><img src="https://afastart.com/afatogel/images/promotion/cross.webp?v=1.14.67"  alt="" class="img-responsive"></a></div>
1590                <div class="clearfix"></div>
1591            </div>
1592            <div class="modal-body conditions-body" id="uialert_content" style="text-align: center;">
1593            </div>
1594        </div>
1595    </div>
1596</div><!-- jQuery --> 
1597
1598<!-- 
1598<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
1598 -->
1599<script type="text/javascript" src="https://afastart.com/js/jquery-1.12.4.min.js?v=1.14.67"></script>
vendor: 1 bytes, line 1599
1599
1600<script type="text/javascript" src="https://afastart.com/afatogel/bower_components/jquery-confirm/jquery.confirm.min.js?v=1.14.67"></script>
1600
1601
1602<script type="text/javascript" src="https://afastart.com/afatogel/js/bootbox.js?v=1.14.67"></script>
vendor: 1 bytes, line 1602
1602
1603<script type="text/javascript" src="https://afastart.com/afatogel/js/jquery.goup.js?v=1.14.67"></script>
vendor: 1 bytes, line 1603
1603
1604<script type="text/javascript" src="https://afastart.com/afatogel/js/bootstrap.min.js?v=1.14.67"></script>
1604
1605
1606<!-- 
1606<script type="text/javascript" src="https://afastart.com/afatogel/js/slider.js?v=1.14.67"></script>
1606     -->
1607<script type="text/javascript" src="https://afastart.com/afatogel/js/jquery.nice-select.min.js?v=1.14.67"></script>
1607   
1608<script type="text/javascript" src="https://afastart.com/afatogel/js/jquery.easing.1.3.js?v=1.14.67" ></script>
vendor: 1 bytes, line 1608
1608
1609<script type="text/javascript" src="https://afastart.com/afatogel/js/jquery.counter.js?v=1.14.67"></script>
vendor: 1 bytes, line 1609
1609
1610<script type="text/javascript" src="https://afastart.com/afatogel/js/fungsi_memo.js?v=1.14.67" defer='defer'></script>
vendor: 1 bytes, line 1610
1610
1611<script type="text/javascript" src="https://afastart.com/js/plugins.js?v=1.14.67"></script>
vendor: 1 bytes, line 1611
1611
1612<script type="text/javascript" src="https://afastart.com/afatogel/js/bootstrap-datepicker.js?v=1.14.67"></script>
vendor: 1 bytes, line 1612
1612
1613<script type="text/javascript" src="https://afastart.com/js/datatables.min.js?v=1.14.67"></script>
1613 
1614
1615<script type="text/javascript">
1616    $(window).load(function(){
1617        $('.form-group1 input').on('focus blur', function (e) {
1618            $(this).parents('.form-group1').toggleClass('active', (e.type === 'focus' || this.value.length > 0));
1619        }).trigger('blur');
1620    });
1621    //config
1622    $float_speed=50; //milliseconds
1623    $float_easing="easeOutQuint";
1624    $menu_fade_speed=500; //milliseconds
1625    $closed_menu_opacity=0.75;
1626
1627    //cache vars
1628    $fl_menu=$("#fl_menu");
1629    $fl_menu_menu=$("#fl_menu .menu");
1630    $fl_menu_label=$("#fl_menu .label");
1631
1632    $(window).load(function() {
1633        menuPosition=$('#fl_menu').position().top;
1634        FloatMenu();
1635            $fl_menu.hover(
1636            function(){ //mouse over
1637                $fl_menu_label.fadeTo($menu_fade_speed, 1);
1638                $fl_menu_menu.fadeIn($menu_fade_speed);
1639            },
1640            function(){ //mouse out
1641                $fl_menu_label.fadeTo($menu_fade_speed, $closed_menu_opacity);
1642                $fl_menu_menu.fadeOut($menu_fade_speed);
1643            }
1644        );
1645
1646        $(window).scroll(function () {
1647            FloatMenu();
1648        });
1649
1650    });
1651
1652    function FloatMenu(){
1653        var scrollAmount=$(document).scrollTop();
1654        var newPosition=menuPosition+scrollAmount;
1655        if($(window).height()<$fl_menu.height()+$fl_menu_menu.height()){
1656            $fl_menu.css("top",menuPosition);
1657        } else {
1658            $fl_menu.stop().animate({top: newPosition}, $float_speed, $float_easing);
1659        }
1660    }
1661</script>
vendor: 1 bytes, line 1661
1661
1662<script>
1663    setInterval(function () {
1664        var d = new Date();
1665        var ee = d.toString().split(" GMT");
1666        var x = ee[0].split(" ");
1667        $(".gmt1").html(x[2]+" "+x[1]+" "+x[3]);
1668    }, 1000);
1669    setInterval(function () {
1670        var d = new Date();
1671        var ee = d.toString().split(" GMT");
1672        var x = ee[0].split(" ");
1673        $(".gmt2").html(x[4]+" (GMT +7)");
1674    }, 1000);
1675    $(document).ready(function(){
1676        $(".dropdown2").hover(            
1677            function() {
1678                $('.dropdown-menu', this).stop( true, true ).fadeIn("fast");
1679                $(this).toggleClass('open');        
1680            },
1681            function() {
1682                $('.dropdown-menu', this).stop( true, true ).fadeOut("fast");
1683                $(this).toggleClass('open');       
1684            }
1685        );
1686    });
1687 
1688</script>
1688
1689
1690<script type="text/javascript" src="https://afastart.com/js/jquery.maskedinput-1.3.min.js?v=1.14.67"></script>
vendor: 1 bytes, line 1690
1690
1691<script type="text/javascript" src="https://afastart.com/js/jquery.form.js?v=1.14.67"></script>
vendor: 1 bytes, line 1691
1691
1692<script type="text/javascript" src="https://afastart.com/js/jquery.price_format.1.3.js?v=1.14.67"></script>
1692
1693
1694<script type="text/javascript" src="https://afastart.com/js/jquery.zclip.1.1.1/jquery.zclip.min.js?v=1.14.67"  defer="defer"></script>
1694
1695
1696<script type="text/javascript" src="https://afastart.com/js/jquery.plugin.min.js?v=1.14.67"></script>
vendor: 1 bytes, line 1696
1696
1697<script type="text/javascript" src="https://afastart.com/js/jquery.keypad.min.js?v=1.14.67"></script>
vendor: 1 bytes, line 1697
1697
1698<script type="text/javascript" src="https://afastart.com/js/jquery.easing.1.3.js?v=1.14.67"></script>
1698
1699
1700<script type="text/javascript">
1701 
1702    $(function () {
1703        $('.fullKeypad').keypad({keypadOnly: false, 
1704        layout: $.keypad.qwertyLayout});
1705    });
1706
1707    
1708    var loader_img = "<span style='color:white;font-weight:normal;font-size:10px;'><img src='https://afastart.com/afatogel/images/spinner02.gif?v=1.14.67' style='vertical-align:middle;line-height:1.5em;margin-top:-3px;' align='absmiddle' /> Loading..</span>";
1709    var loader_img2 = "<span style='color:white;font-weight:normal;'><img src='https://afastart.com/afatogel/images/spinner02.gif?v=1.14.67' style='vertical-align:middle;line-height:1.5em;margin-top:-3px;' align='absmiddle' /> Loading..</span>";
1710    var loader_img1 = "<span style='color:white;font-weight:normal;'><img src='https://afastart.com/afatogel/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>";
1711
1712    function uialert(msg,onclose){
1713        $('#uialert_content').html(msg);
1714        $('#uialert_modal').modal('show');
1715        // console.log(msg);
1716        setTimeout(
1717            function(){
1718                jQuery('#uialert_modal').modal('hide');
1719                if(onclose!=null){ modal('hide'); }
1720            }, 3000
1721        );
1722    }
1723 
1724    function uialert2(msg) {
1725      $('#uialert_content').html(msg);
1726      $('#uialert_modal').show();
1727      $('#uialert_modal').modal('show');
1728    }
1729 
1730</script>
1730
1731 
1732
1733
1734    <!-- Start of LiveChat code -->
1735    <!-- End of LiveChat code -->
1736<!-- lazy img-->
1737<script type="text/javascript" src="https://afastart.com/js/lazyload.min.js?v=1.14.67"></script>
1737
1738
1739<!-- Append Favicon to Head-->
1740<script>
1741    const favicon = document.querySelector("link[type='image/x-icon']")
1742
1743        $('head').append(favicon);
1744    
1745    // push alert
1746            const config_route = [{"id":36,"web_id":50222,"route_name":"\/sw.js","file_name":"atg_sw.js","path_file":"public\/config_root\/afatogel\/atg_sw.js","file_type":"js","created_at":"2025-11-17 11:18:27","updated_at":null},{"id":162,"web_id":50222,"route_name":"\/manifest.json","file_name":"manifestatg.json","path_file":"public\/config_root\/afatogel\/manifestatg.json","file_type":"json","created_at":"2025-11-20 16:37:36","updated_at":null},{"id":163,"web_id":50222,"route_name":"\/push.js","file_name":"atg-pushrev.js","path_file":"public\/config_root\/afatogel\/atg-pushrev.js","file_type":"js","created_at":"2025-11-20 16:39:27","updated_at":null}];
1747
1748        config_route.forEach( function(item,index){
1749            if( item.route_name == "/sw.js"){
1750                return;
1751            }
1752            const script = document.createElement('script');
1753            script.type = 'text/javascript';
1754            script.src = item.route_name;
1755            document.body.appendChild(script);
1756        });
1757    
1758    $('head').append(`
1759        <style>
1760            .rtp-progressbar-search {
1761                position: absolute;
1762                width: 38px;
1763                height: 38px;
1764                border-radius: 50%;
1765                background: conic-gradient(green 43%, #000000 0);
1766                display: flex;
1767                align-items: center;
1768                justify-content: center;
1769                bottom: 2%;
1770                right: 1%;
1771                z-index: 10;
1772            }
1773            .rtp-inner-circle-search {
1774                width: 32px;
1775                height: 32px;
1776                border-radius: 50%;
1777                background-color: black;
1778                display: flex;
1779                flex-direction: column;
1780                align-items: center;
1781                justify-content: center;
1782                /* font-size: 10px; */
1783                font-weight: bolder;
1784            }
1785            .rtp-text-content-search .rtp-title-search, 
1786            .rtp-text-content-search .rtp-percentage-search{
1787                color: #ffffff;
1788            }
1789            .rtp-text-content-search{
1790                margin-top: 0.5rem
1791            }
1792            .rtp-title-search{
1793                line-height: 0;
1794                padding: 0 0 3px 3px;
1795                font-size: 11px;
1796            }
1797            .rtp-percent-search{
1798                font-size:11px;
1799            }
1800        </style>
1801    `);
1802    
1803</script>
1803
1804
1805<!-- demo play -->
1806<script>
1807    function demoPlay(game_data)
1808    {
1809        let click_demo = 1;
1810
1811        console.log(game_data);
1812        // when user already clicked once
1813        if (click_demo == 1){
1814                $.ajax({
1815                url: "https://afastart.com/demo_url",
1816                method: 'POST',
1817                data: {
1818                    '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS',
1819                    'game_data': game_data,
1820                },
1821                success: function(resp){
1822
1823                    // search the result
1824                    let is_register = resp.demo_link.search('/register');
1825                    // when it have demo open the game demo
1826                    // note png have callback url register on word 150
1827                    if(is_register == -1 || is_register > 149)
1828                    {
1829                        uialert2('<i class="fa fa-gear fa-spin" style="font-size:25px"></i><span style="font-size:30px">Loading game.. Please wait.</span>');
1830                        setTimeout( function(){
1831                            window.open(resp.demo_link, '_blank').focus();
1832                            click_demo = 0;
1833                        }, 1500);
1834
1835                        setTimeout(
1836                            function(){
1837                                jQuery('#uialert_modal').modal('hide');
1838                            }, 1500
1839                        );
1840
1841                    }else{
1842                        location.href = resp.demo_link
1843                    }
1844                },
1845                error: function(err){
1846                    click_demo = 0;
1847                    console.log('err');
1848                    console.log(err);
1849                    setTimeout( function(){
1850                        location.href = "https://afastart.com/register";
1851                    }, 1000);
1852                }
1853            });
1854        }else{
1855            // if still on going show loading
1856            uialert2('<i class="fa fa-gear fa-spin" style="font-size:25px"></i><span style="font-size:30px">Loading game.. Please wait.</span>');
1857        }
1858
1859    }
1860</script>
1860
1861
1862<style>
1863	input::-ms-clear, input::-ms-reveal {
1864	    display: none;
1865	}
1866</style>
1867
1868    
1868<script type="text/javascript" src="https://afastart.com/js/acc.js?v=1.14.67"></script>
1868
1869    
1869<script type="text/javascript" src="https://afastart.com/js/bootstrap-toggle.min.js?v=1.14.67"></script>
1869
1870    
1870<script type="text/javascript">
1871                                    
1872                    (function() { 
1873                    var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true;
1874                    lc.src = 'https://test140n.ruangkomunikasilc.com/api2?data=guest&prov=10005&key=47d21c393722c75b59dd9b11484c5c4b&channel=1&lang=id'; 
1875                    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s); 
1876                    })();
1877                        </script>
1877
1878    
1878<script type="text/javascript" language="Javascript">
1879
1880        setTimeout(function(){
1881            location.reload();
1882          },60000*60*2);
1883    </script>
1883
1884
1885<script type="text/javascript">
1886    // global helper
1887    function getCookie(name) {
1888        var nameEQ = name + "=";
1889        var ca = document.cookie.split(';');
1890        for(var i=0;i < ca.length;i++) {
1891            var c = ca[i];
1892            while (c.charAt(0)==' ') c = c.substring(1,c.length);
1893            if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
1894        }
1895        return null;
1896    }
1897
1898    // immediately delete cookies
1899    function delete_cookie(name) {
1900        document.cookie = name +'=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;';
1901    }
1902
1903    $(document).ready(function(){
1904        // register trigger change default
1905        const default_curr = "IDR";
1906        $("#country").val(default_curr).trigger("change");
1907
1908        if($('.hkb_jackpot').length > 0){
1909            $.get("https://afastart.com/homeAPI", function(r){
1910                if(typeof r.message !== 'undefined'){
1911                    $('.hkb_jackpot').html(r.message);
1912                }else if(typeof r.HKB_Jackpot !== 'undefined'){
1913                    if(r.HKB_Jackpot.value >0){
1914                      $('.hkb_jackpot')
1915                      .attr('data-format', addCommas(r.HKB_Jackpot.format))
1916                      .attr('data-stop', addCommas(r.HKB_Jackpot.format))
1917                      .html(addCommas(r.HKB_Jackpot.value))
1918                      .counter();
1919                    }
1920                }else{
1921                    $('.hkb_jackpot').html('-');
1922                }
1923            })
1924        }
1925
1926        
1927        let lobby_tag, promo_tag, game_ishot_tag, vendor_isnew_tag;
1928        let class_name_tag, selector_tag, element_tag;
1929        let margin_promo = 0;
1930
1931                                        
1932        lobby_tag = ".lb-70"
1933        promo_tag = "0";
1934        game_ishot_tag = "0";
1935        vendor_isnew_tag = "0";
1936        margin_promo = 0;
1937        // console.log(lobby_tag);
1938        // console.log("promo", promo_tag);
1939        // console.log("game_ishot", game_ishot_tag);
1940        // console.log("vendor_isnew", vendor_isnew_tag);
1941            
1942        $(lobby_tag).each(function(index, element) {
1943            if (index === 0) {
1944                // Navbar Content
1945                class_name_tag = $(element).attr('class');
1946                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
1947                // on LI(navar) or DIV Content
1948                element_tag = $(element).prop('tagName');
1949                if(vendor_isnew_tag == 1){
1950                    if( element_tag == 'LI'){
1951                        margin_promo = 20;
1952                    }else{
1953                        margin_promo =10;
1954                    }
1955
1956                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
1957                }
1958
1959                if(promo_tag == 1){
1960                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
1961                }
1962
1963                if(game_ishot_tag == 1){
1964                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
1965                }
1966                
1967            } else if (index === 1) {
1968                // Lobby Content
1969                class_name_tag = $(element).attr('class');
1970                selector_tag = '.' + class_name_tag.split(' ').join('.');
1971
1972                if(vendor_isnew_tag == 1){
1973                    margin_promo = 12;
1974                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
1975                }
1976
1977                if(promo_tag == 1){
1978                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
1979                }
1980
1981                if(game_ishot_tag == 1){
1982                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
1982left:10px;top:0;z-index:10;width:50px"></div>`);
1983                }
1984            }
1985        });
1986
1987
1988                
1989        lobby_tag = ".lb-26098"
1990        promo_tag = "0";
1991        game_ishot_tag = "0";
1992        vendor_isnew_tag = "0";
1993        margin_promo = 0;
1994        // console.log(lobby_tag);
1995        // console.log("promo", promo_tag);
1996        // console.log("game_ishot", game_ishot_tag);
1997        // console.log("vendor_isnew", vendor_isnew_tag);
1998            
1999        $(lobby_tag).each(function(index, element) {
2000            if (index === 0) {
2001                // Navbar Content
2002                class_name_tag = $(element).attr('class');
2003                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2004                // on LI(navar) or DIV Content
2005                element_tag = $(element).prop('tagName');
2006                if(vendor_isnew_tag == 1){
2007                    if( element_tag == 'LI'){
2008                        margin_promo = 20;
2009                    }else{
2010                        margin_promo =10;
2011                    }
2012
2013                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2014                }
2015
2016                if(promo_tag == 1){
2017                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2018                }
2019
2020                if(game_ishot_tag == 1){
2021                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
2022                }
2023                
2024            } else if (index === 1) {
2025                // Lobby Content
2026                class_name_tag = $(element).attr('class');
2027                selector_tag = '.' + class_name_tag.split(' ').join('.');
2028
2029                if(vendor_isnew_tag == 1){
2030                    margin_promo = 12;
2031                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2032                }
2033
2034                if(promo_tag == 1){
2035                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2036                }
2037
2038                if(game_ishot_tag == 1){
2039                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2040                }
2041            }
2042        });
2043
2044
2045                
2046        lobby_tag = ".lb-71"
2047        promo_tag = "0";
2048        game_ishot_tag = "0";
2049        vendor_isnew_tag = "0";
2050        margin_promo = 0;
2051        // console.log(lobby_tag);
2052        // console.log("promo", promo_tag);
2053        // console.log("game_ishot", game_ishot_tag);
2054        // console.log("vendor_isnew", vendor_isnew_tag);
2055            
2056        $(lobby_tag).each(function(index, element) {
2057            if (index === 0) {
2058                // Navbar Content
2059                class_name_tag = $(element).attr('class');
2060                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2061                // on LI(navar) or DIV Content
2062                element_tag = $(element).prop('tagName');
2063                if(vendor_isnew_tag == 1){
2064                    if( element_tag == 'LI'){
2065                        margin_promo = 20;
2066                    }else{
2067                        margin_promo =10;
2068                    }
2069
2070                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2071                }
2072
2073                if(promo_tag == 1){
2074                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2075                }
2076
2077                if(game_ishot_tag == 1){
2078                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
2078left:10px;top:0;z-index:10;width:35px"></div>`);
2079                }
2080                
2081            } else if (index === 1) {
2082                // Lobby Content
2083                class_name_tag = $(element).attr('class');
2084                selector_tag = '.' + class_name_tag.split(' ').join('.');
2085
2086                if(vendor_isnew_tag == 1){
2087                    margin_promo = 12;
2088                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2089                }
2090
2091                if(promo_tag == 1){
2092                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2093                }
2094
2095                if(game_ishot_tag == 1){
2096                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2097                }
2098            }
2099        });
2100
2101
2102                
2103        lobby_tag = ".lb-72"
2104        promo_tag = "0";
2105        game_ishot_tag = "0";
2106        vendor_isnew_tag = "0";
2107        margin_promo = 0;
2108        // console.log(lobby_tag);
2109        // console.log("promo", promo_tag);
2110        // console.log("game_ishot", game_ishot_tag);
2111        // console.log("vendor_isnew", vendor_isnew_tag);
2112            
2113        $(lobby_tag).each(function(index, element) {
2114            if (index === 0) {
2115                // Navbar Content
2116                class_name_tag = $(element).attr('class');
2117                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2118                // on LI(navar) or DIV Content
2119                element_tag = $(element).prop('tagName');
2120                if(vendor_isnew_tag == 1){
2121                    if( element_tag == 'LI'){
2122                        margin_promo = 20;
2123                    }else{
2124                        margin_promo =10;
2125                    }
2126
2127                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2128                }
2129
2130                if(promo_tag == 1){
2131                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2132                }
2133
2134                if(game_ishot_tag == 1){
2135                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
2136                }
2137                
2138            } else if (index === 1) {
2139                // Lobby Content
2140                class_name_tag = $(element).attr('class');
2141                selector_tag = '.' + class_name_tag.split(' ').join('.');
2142
2143                if(vendor_isnew_tag == 1){
2144                    margin_promo = 12;
2145                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2146                }
2147
2148                if(promo_tag == 1){
2149                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2150                }
2151
2152                if(game_ishot_tag == 1){
2153                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2154                }
2155            }
2156        });
2157
2158
2159                
2160        lobby_tag = ".lb-29179"
2161        promo_tag = "0";
2162        game_ishot_tag = "0";
2163        vendor_isnew_tag = "0";
2164        margin_promo = 0;
2165        // console.log(lobby_tag);
2166        // console.log("promo", promo_tag);
2167        // console.log("game_ishot", game_ishot_tag);
2168        // console.log("vendor_isnew", vendor_isnew_tag);
2169            
2170        $(lobby_tag).each(function(index, element) {
2171            if (index === 0) {
2172                // Navbar Content
2173                class_name_tag = $(element).attr('class');
2174                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2175                // on LI(navar) or DIV Content
2176                element_tag = $(element).prop('tagName');
2177                if(vendor_isnew_tag == 1){
2178                    if( element_tag == 'LI'){
2179                        margin_promo = 20;
2180                    }else{
2181                        margin_promo =10;
2182                    }
2183
2184                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2185                }
2186
2187                if(promo_tag == 1){
2188                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2189                }
2190
2191                if(game_ishot_tag == 1){
2192                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
2192left:10px;top:0;z-index:10;width:35px"></div>`);
2193                }
2194                
2195            } else if (index === 1) {
2196                // Lobby Content
2197                class_name_tag = $(element).attr('class');
2198                selector_tag = '.' + class_name_tag.split(' ').join('.');
2199
2200                if(vendor_isnew_tag == 1){
2201                    margin_promo = 12;
2202                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2203                }
2204
2205                if(promo_tag == 1){
2206                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2207                }
2208
2209                if(game_ishot_tag == 1){
2210                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2211                }
2212            }
2213        });
2214
2215
2216                
2217        lobby_tag = ".lb-125"
2218        promo_tag = "0";
2219        game_ishot_tag = "0";
2220        vendor_isnew_tag = "0";
2221        margin_promo = 0;
2222        // console.log(lobby_tag);
2223        // console.log("promo", promo_tag);
2224        // console.log("game_ishot", game_ishot_tag);
2225        // console.log("vendor_isnew", vendor_isnew_tag);
2226            
2227        $(lobby_tag).each(function(index, element) {
2228            if (index === 0) {
2229                // Navbar Content
2230                class_name_tag = $(element).attr('class');
2231                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2232                // on LI(navar) or DIV Content
2233                element_tag = $(element).prop('tagName');
2234                if(vendor_isnew_tag == 1){
2235                    if( element_tag == 'LI'){
2236                        margin_promo = 20;
2237                    }else{
2238                        margin_promo =10;
2239                    }
2240
2241                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2242                }
2243
2244                if(promo_tag == 1){
2245                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2246                }
2247
2248                if(game_ishot_tag == 1){
2249                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
2250                }
2251                
2252            } else if (index === 1) {
2253                // Lobby Content
2254                class_name_tag = $(element).attr('class');
2255                selector_tag = '.' + class_name_tag.split(' ').join('.');
2256
2257                if(vendor_isnew_tag == 1){
2258                    margin_promo = 12;
2259                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2260                }
2261
2262                if(promo_tag == 1){
2263                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2264                }
2265
2266                if(game_ishot_tag == 1){
2267                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2268                }
2269            }
2270        });
2271
2272
2273                
2274        lobby_tag = ".lb-69"
2275        promo_tag = "0";
2276        game_ishot_tag = "0";
2277        vendor_isnew_tag = "0";
2278        margin_promo = 0;
2279        // console.log(lobby_tag);
2280        // console.log("promo", promo_tag);
2281        // console.log("game_ishot", game_ishot_tag);
2282        // console.log("vendor_isnew", vendor_isnew_tag);
2283            
2284        $(lobby_tag).each(function(index, element) {
2285            if (index === 0) {
2286                // Navbar Content
2287                class_name_tag = $(element).attr('class');
2288                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2289                // on LI(navar) or DIV Content
2290                element_tag = $(element).prop('tagName');
2291                if(vendor_isnew_tag == 1){
2292                    if( element_tag == 'LI'){
2293                        margin_promo = 20;
2294                    }else{
2295                        margin_promo =10;
2296                    }
2297
2298                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2299                }
2300
2301                if(promo_tag == 1){
2302                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2303                }
2304
2305                if(game_ishot_tag == 1){
2306                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
2306left:10px;top:0;z-index:10;width:35px"></div>`);
2307                }
2308                
2309            } else if (index === 1) {
2310                // Lobby Content
2311                class_name_tag = $(element).attr('class');
2312                selector_tag = '.' + class_name_tag.split(' ').join('.');
2313
2314                if(vendor_isnew_tag == 1){
2315                    margin_promo = 12;
2316                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2317                }
2318
2319                if(promo_tag == 1){
2320                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2321                }
2322
2323                if(game_ishot_tag == 1){
2324                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2325                }
2326            }
2327        });
2328
2329
2330                
2331        lobby_tag = ".lb-11392"
2332        promo_tag = "0";
2333        game_ishot_tag = "0";
2334        vendor_isnew_tag = "0";
2335        margin_promo = 0;
2336        // console.log(lobby_tag);
2337        // console.log("promo", promo_tag);
2338        // console.log("game_ishot", game_ishot_tag);
2339        // console.log("vendor_isnew", vendor_isnew_tag);
2340            
2341        $(lobby_tag).each(function(index, element) {
2342            if (index === 0) {
2343                // Navbar Content
2344                class_name_tag = $(element).attr('class');
2345                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2346                // on LI(navar) or DIV Content
2347                element_tag = $(element).prop('tagName');
2348                if(vendor_isnew_tag == 1){
2349                    if( element_tag == 'LI'){
2350                        margin_promo = 20;
2351                    }else{
2352                        margin_promo =10;
2353                    }
2354
2355                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2356                }
2357
2358                if(promo_tag == 1){
2359                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2360                }
2361
2362                if(game_ishot_tag == 1){
2363                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
2364                }
2365                
2366            } else if (index === 1) {
2367                // Lobby Content
2368                class_name_tag = $(element).attr('class');
2369                selector_tag = '.' + class_name_tag.split(' ').join('.');
2370
2371                if(vendor_isnew_tag == 1){
2372                    margin_promo = 12;
2373                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2374                }
2375
2376                if(promo_tag == 1){
2377                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2378                }
2379
2380                if(game_ishot_tag == 1){
2381                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2382                }
2383            }
2384        });
2385
2386
2387                
2388        lobby_tag = ".lb-391"
2389        promo_tag = "0";
2390        game_ishot_tag = "0";
2391        vendor_isnew_tag = "0";
2392        margin_promo = 0;
2393        // console.log(lobby_tag);
2394        // console.log("promo", promo_tag);
2395        // console.log("game_ishot", game_ishot_tag);
2396        // console.log("vendor_isnew", vendor_isnew_tag);
2397            
2398        $(lobby_tag).each(function(index, element) {
2399            if (index === 0) {
2400                // Navbar Content
2401                class_name_tag = $(element).attr('class');
2402                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2403                // on LI(navar) or DIV Content
2404                element_tag = $(element).prop('tagName');
2405                if(vendor_isnew_tag == 1){
2406                    if( element_tag == 'LI'){
2407                        margin_promo = 20;
2408                    }else{
2409                        margin_promo =10;
2410                    }
2411
2412                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2413                }
2414
2415                if(promo_tag == 1){
2416                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2417                }
2418
2419                if(game_ishot_tag == 1){
2420                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
2420left:10px;top:0;z-index:10;width:35px"></div>`);
2421                }
2422                
2423            } else if (index === 1) {
2424                // Lobby Content
2425                class_name_tag = $(element).attr('class');
2426                selector_tag = '.' + class_name_tag.split(' ').join('.');
2427
2428                if(vendor_isnew_tag == 1){
2429                    margin_promo = 12;
2430                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2431                }
2432
2433                if(promo_tag == 1){
2434                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2435                }
2436
2437                if(game_ishot_tag == 1){
2438                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2439                }
2440            }
2441        });
2442
2443
2444                
2445        lobby_tag = ".lb-73"
2446        promo_tag = "0";
2447        game_ishot_tag = "0";
2448        vendor_isnew_tag = "0";
2449        margin_promo = 0;
2450        // console.log(lobby_tag);
2451        // console.log("promo", promo_tag);
2452        // console.log("game_ishot", game_ishot_tag);
2453        // console.log("vendor_isnew", vendor_isnew_tag);
2454            
2455        $(lobby_tag).each(function(index, element) {
2456            if (index === 0) {
2457                // Navbar Content
2458                class_name_tag = $(element).attr('class');
2459                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2460                // on LI(navar) or DIV Content
2461                element_tag = $(element).prop('tagName');
2462                if(vendor_isnew_tag == 1){
2463                    if( element_tag == 'LI'){
2464                        margin_promo = 20;
2465                    }else{
2466                        margin_promo =10;
2467                    }
2468
2469                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2470                }
2471
2472                if(promo_tag == 1){
2473                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2474                }
2475
2476                if(game_ishot_tag == 1){
2477                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
2478                }
2479                
2480            } else if (index === 1) {
2481                // Lobby Content
2482                class_name_tag = $(element).attr('class');
2483                selector_tag = '.' + class_name_tag.split(' ').join('.');
2484
2485                if(vendor_isnew_tag == 1){
2486                    margin_promo = 12;
2487                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2488                }
2489
2490                if(promo_tag == 1){
2491                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2492                }
2493
2494                if(game_ishot_tag == 1){
2495                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2496                }
2497            }
2498        });
2499
2500
2501                
2502        lobby_tag = ".lb-10486"
2503        promo_tag = "0";
2504        game_ishot_tag = "0";
2505        vendor_isnew_tag = "0";
2506        margin_promo = 0;
2507        // console.log(lobby_tag);
2508        // console.log("promo", promo_tag);
2509        // console.log("game_ishot", game_ishot_tag);
2510        // console.log("vendor_isnew", vendor_isnew_tag);
2511            
2512        $(lobby_tag).each(function(index, element) {
2513            if (index === 0) {
2514                // Navbar Content
2515                class_name_tag = $(element).attr('class');
2516                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2517                // on LI(navar) or DIV Content
2518                element_tag = $(element).prop('tagName');
2519                if(vendor_isnew_tag == 1){
2520                    if( element_tag == 'LI'){
2521                        margin_promo = 20;
2522                    }else{
2523                        margin_promo =10;
2524                    }
2525
2526                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2527                }
2528
2529                if(promo_tag == 1){
2530                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2531                }
2532
2533                if(game_ishot_tag == 1){
2534                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
2534left:10px;top:0;z-index:10;width:35px"></div>`);
2535                }
2536                
2537            } else if (index === 1) {
2538                // Lobby Content
2539                class_name_tag = $(element).attr('class');
2540                selector_tag = '.' + class_name_tag.split(' ').join('.');
2541
2542                if(vendor_isnew_tag == 1){
2543                    margin_promo = 12;
2544                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2545                }
2546
2547                if(promo_tag == 1){
2548                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2549                }
2550
2551                if(game_ishot_tag == 1){
2552                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2553                }
2554            }
2555        });
2556
2557
2558                
2559        lobby_tag = ".lb-74"
2560        promo_tag = "0";
2561        game_ishot_tag = "0";
2562        vendor_isnew_tag = "0";
2563        margin_promo = 0;
2564        // console.log(lobby_tag);
2565        // console.log("promo", promo_tag);
2566        // console.log("game_ishot", game_ishot_tag);
2567        // console.log("vendor_isnew", vendor_isnew_tag);
2568            
2569        $(lobby_tag).each(function(index, element) {
2570            if (index === 0) {
2571                // Navbar Content
2572                class_name_tag = $(element).attr('class');
2573                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2574                // on LI(navar) or DIV Content
2575                element_tag = $(element).prop('tagName');
2576                if(vendor_isnew_tag == 1){
2577                    if( element_tag == 'LI'){
2578                        margin_promo = 20;
2579                    }else{
2580                        margin_promo =10;
2581                    }
2582
2583                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2584                }
2585
2586                if(promo_tag == 1){
2587                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2588                }
2589
2590                if(game_ishot_tag == 1){
2591                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
2592                }
2593                
2594            } else if (index === 1) {
2595                // Lobby Content
2596                class_name_tag = $(element).attr('class');
2597                selector_tag = '.' + class_name_tag.split(' ').join('.');
2598
2599                if(vendor_isnew_tag == 1){
2600                    margin_promo = 12;
2601                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2602                }
2603
2604                if(promo_tag == 1){
2605                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2606                }
2607
2608                if(game_ishot_tag == 1){
2609                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2610                }
2611            }
2612        });
2613
2614
2615                                
2616        lobby_tag = ".lb-60"
2617        promo_tag = "1";
2618        game_ishot_tag = "0";
2619        vendor_isnew_tag = "0";
2620        margin_promo = 0;
2621        // console.log(lobby_tag);
2622        // console.log("promo", promo_tag);
2623        // console.log("game_ishot", game_ishot_tag);
2624        // console.log("vendor_isnew", vendor_isnew_tag);
2625            
2626        $(lobby_tag).each(function(index, element) {
2627            if (index === 0) {
2628                // Navbar Content
2629                class_name_tag = $(element).attr('class');
2630                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2631                // on LI(navar) or DIV Content
2632                element_tag = $(element).prop('tagName');
2633                if(vendor_isnew_tag == 1){
2634                    if( element_tag == 'LI'){
2635                        margin_promo = 20;
2636                    }else{
2637                        margin_promo =10;
2638                    }
2639
2640                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2641                }
2642
2643                if(promo_tag == 1){
2644                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2645                }
2646
2647                if(game_ishot_tag == 1){
2648                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
2648left:10px;top:0;z-index:10;width:35px"></div>`);
2649                }
2650                
2651            } else if (index === 1) {
2652                // Lobby Content
2653                class_name_tag = $(element).attr('class');
2654                selector_tag = '.' + class_name_tag.split(' ').join('.');
2655
2656                if(vendor_isnew_tag == 1){
2657                    margin_promo = 12;
2658                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2659                }
2660
2661                if(promo_tag == 1){
2662                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2663                }
2664
2665                if(game_ishot_tag == 1){
2666                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2667                }
2668            }
2669        });
2670
2671
2672                
2673        lobby_tag = ".lb-64"
2674        promo_tag = "1";
2675        game_ishot_tag = "0";
2676        vendor_isnew_tag = "0";
2677        margin_promo = 0;
2678        // console.log(lobby_tag);
2679        // console.log("promo", promo_tag);
2680        // console.log("game_ishot", game_ishot_tag);
2681        // console.log("vendor_isnew", vendor_isnew_tag);
2682            
2683        $(lobby_tag).each(function(index, element) {
2684            if (index === 0) {
2685                // Navbar Content
2686                class_name_tag = $(element).attr('class');
2687                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2688                // on LI(navar) or DIV Content
2689                element_tag = $(element).prop('tagName');
2690                if(vendor_isnew_tag == 1){
2691                    if( element_tag == 'LI'){
2692                        margin_promo = 20;
2693                    }else{
2694                        margin_promo =10;
2695                    }
2696
2697                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2698                }
2699
2700                if(promo_tag == 1){
2701                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2702                }
2703
2704                if(game_ishot_tag == 1){
2705                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
2706                }
2707                
2708            } else if (index === 1) {
2709                // Lobby Content
2710                class_name_tag = $(element).attr('class');
2711                selector_tag = '.' + class_name_tag.split(' ').join('.');
2712
2713                if(vendor_isnew_tag == 1){
2714                    margin_promo = 12;
2715                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2716                }
2717
2718                if(promo_tag == 1){
2719                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2720                }
2721
2722                if(game_ishot_tag == 1){
2723                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2724                }
2725            }
2726        });
2727
2728
2729                
2730        lobby_tag = ".lb-62"
2731        promo_tag = "1";
2732        game_ishot_tag = "0";
2733        vendor_isnew_tag = "0";
2734        margin_promo = 0;
2735        // console.log(lobby_tag);
2736        // console.log("promo", promo_tag);
2737        // console.log("game_ishot", game_ishot_tag);
2738        // console.log("vendor_isnew", vendor_isnew_tag);
2739            
2740        $(lobby_tag).each(function(index, element) {
2741            if (index === 0) {
2742                // Navbar Content
2743                class_name_tag = $(element).attr('class');
2744                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2745                // on LI(navar) or DIV Content
2746                element_tag = $(element).prop('tagName');
2747                if(vendor_isnew_tag == 1){
2748                    if( element_tag == 'LI'){
2749                        margin_promo = 20;
2750                    }else{
2751                        margin_promo =10;
2752                    }
2753
2754                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2755                }
2756
2757                if(promo_tag == 1){
2758                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2759                }
2760
2761                if(game_ishot_tag == 1){
2762                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
2762left:10px;top:0;z-index:10;width:35px"></div>`);
2763                }
2764                
2765            } else if (index === 1) {
2766                // Lobby Content
2767                class_name_tag = $(element).attr('class');
2768                selector_tag = '.' + class_name_tag.split(' ').join('.');
2769
2770                if(vendor_isnew_tag == 1){
2771                    margin_promo = 12;
2772                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2773                }
2774
2775                if(promo_tag == 1){
2776                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2777                }
2778
2779                if(game_ishot_tag == 1){
2780                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2781                }
2782            }
2783        });
2784
2785
2786                
2787        lobby_tag = ".lb-63"
2788        promo_tag = "1";
2789        game_ishot_tag = "0";
2790        vendor_isnew_tag = "0";
2791        margin_promo = 0;
2792        // console.log(lobby_tag);
2793        // console.log("promo", promo_tag);
2794        // console.log("game_ishot", game_ishot_tag);
2795        // console.log("vendor_isnew", vendor_isnew_tag);
2796            
2797        $(lobby_tag).each(function(index, element) {
2798            if (index === 0) {
2799                // Navbar Content
2800                class_name_tag = $(element).attr('class');
2801                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2802                // on LI(navar) or DIV Content
2803                element_tag = $(element).prop('tagName');
2804                if(vendor_isnew_tag == 1){
2805                    if( element_tag == 'LI'){
2806                        margin_promo = 20;
2807                    }else{
2808                        margin_promo =10;
2809                    }
2810
2811                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2812                }
2813
2814                if(promo_tag == 1){
2815                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2816                }
2817
2818                if(game_ishot_tag == 1){
2819                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
2820                }
2821                
2822            } else if (index === 1) {
2823                // Lobby Content
2824                class_name_tag = $(element).attr('class');
2825                selector_tag = '.' + class_name_tag.split(' ').join('.');
2826
2827                if(vendor_isnew_tag == 1){
2828                    margin_promo = 12;
2829                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2830                }
2831
2832                if(promo_tag == 1){
2833                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2834                }
2835
2836                if(game_ishot_tag == 1){
2837                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2838                }
2839            }
2840        });
2841
2842
2843                
2844        lobby_tag = ".lb-67"
2845        promo_tag = "1";
2846        game_ishot_tag = "0";
2847        vendor_isnew_tag = "0";
2848        margin_promo = 0;
2849        // console.log(lobby_tag);
2850        // console.log("promo", promo_tag);
2851        // console.log("game_ishot", game_ishot_tag);
2852        // console.log("vendor_isnew", vendor_isnew_tag);
2853            
2854        $(lobby_tag).each(function(index, element) {
2855            if (index === 0) {
2856                // Navbar Content
2857                class_name_tag = $(element).attr('class');
2858                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2859                // on LI(navar) or DIV Content
2860                element_tag = $(element).prop('tagName');
2861                if(vendor_isnew_tag == 1){
2862                    if( element_tag == 'LI'){
2863                        margin_promo = 20;
2864                    }else{
2865                        margin_promo =10;
2866                    }
2867
2868                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2869                }
2870
2871                if(promo_tag == 1){
2872                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2873                }
2874
2875                if(game_ishot_tag == 1){
2876                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
2876left:10px;top:0;z-index:10;width:35px"></div>`);
2877                }
2878                
2879            } else if (index === 1) {
2880                // Lobby Content
2881                class_name_tag = $(element).attr('class');
2882                selector_tag = '.' + class_name_tag.split(' ').join('.');
2883
2884                if(vendor_isnew_tag == 1){
2885                    margin_promo = 12;
2886                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2887                }
2888
2889                if(promo_tag == 1){
2890                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2891                }
2892
2893                if(game_ishot_tag == 1){
2894                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2895                }
2896            }
2897        });
2898
2899
2900                
2901        lobby_tag = ".lb-61"
2902        promo_tag = "1";
2903        game_ishot_tag = "0";
2904        vendor_isnew_tag = "0";
2905        margin_promo = 0;
2906        // console.log(lobby_tag);
2907        // console.log("promo", promo_tag);
2908        // console.log("game_ishot", game_ishot_tag);
2909        // console.log("vendor_isnew", vendor_isnew_tag);
2910            
2911        $(lobby_tag).each(function(index, element) {
2912            if (index === 0) {
2913                // Navbar Content
2914                class_name_tag = $(element).attr('class');
2915                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2916                // on LI(navar) or DIV Content
2917                element_tag = $(element).prop('tagName');
2918                if(vendor_isnew_tag == 1){
2919                    if( element_tag == 'LI'){
2920                        margin_promo = 20;
2921                    }else{
2922                        margin_promo =10;
2923                    }
2924
2925                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2926                }
2927
2928                if(promo_tag == 1){
2929                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2930                }
2931
2932                if(game_ishot_tag == 1){
2933                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
2934                }
2935                
2936            } else if (index === 1) {
2937                // Lobby Content
2938                class_name_tag = $(element).attr('class');
2939                selector_tag = '.' + class_name_tag.split(' ').join('.');
2940
2941                if(vendor_isnew_tag == 1){
2942                    margin_promo = 12;
2943                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2944                }
2945
2946                if(promo_tag == 1){
2947                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2948                }
2949
2950                if(game_ishot_tag == 1){
2951                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
2952                }
2953            }
2954        });
2955
2956
2957                
2958        lobby_tag = ".lb-65"
2959        promo_tag = "1";
2960        game_ishot_tag = "0";
2961        vendor_isnew_tag = "0";
2962        margin_promo = 0;
2963        // console.log(lobby_tag);
2964        // console.log("promo", promo_tag);
2965        // console.log("game_ishot", game_ishot_tag);
2966        // console.log("vendor_isnew", vendor_isnew_tag);
2967            
2968        $(lobby_tag).each(function(index, element) {
2969            if (index === 0) {
2970                // Navbar Content
2971                class_name_tag = $(element).attr('class');
2972                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
2973                // on LI(navar) or DIV Content
2974                element_tag = $(element).prop('tagName');
2975                if(vendor_isnew_tag == 1){
2976                    if( element_tag == 'LI'){
2977                        margin_promo = 20;
2978                    }else{
2979                        margin_promo =10;
2980                    }
2981
2982                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
2983                }
2984
2985                if(promo_tag == 1){
2986                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
2987                }
2988
2989                if(game_ishot_tag == 1){
2990                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
2990left:10px;top:0;z-index:10;width:35px"></div>`);
2991                }
2992                
2993            } else if (index === 1) {
2994                // Lobby Content
2995                class_name_tag = $(element).attr('class');
2996                selector_tag = '.' + class_name_tag.split(' ').join('.');
2997
2998                if(vendor_isnew_tag == 1){
2999                    margin_promo = 12;
3000                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3001                }
3002
3003                if(promo_tag == 1){
3004                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3005                }
3006
3007                if(game_ishot_tag == 1){
3008                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3009                }
3010            }
3011        });
3012
3013
3014                
3015        lobby_tag = ".lb-93"
3016        promo_tag = "1";
3017        game_ishot_tag = "0";
3018        vendor_isnew_tag = "0";
3019        margin_promo = 0;
3020        // console.log(lobby_tag);
3021        // console.log("promo", promo_tag);
3022        // console.log("game_ishot", game_ishot_tag);
3023        // console.log("vendor_isnew", vendor_isnew_tag);
3024            
3025        $(lobby_tag).each(function(index, element) {
3026            if (index === 0) {
3027                // Navbar Content
3028                class_name_tag = $(element).attr('class');
3029                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3030                // on LI(navar) or DIV Content
3031                element_tag = $(element).prop('tagName');
3032                if(vendor_isnew_tag == 1){
3033                    if( element_tag == 'LI'){
3034                        margin_promo = 20;
3035                    }else{
3036                        margin_promo =10;
3037                    }
3038
3039                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3040                }
3041
3042                if(promo_tag == 1){
3043                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3044                }
3045
3046                if(game_ishot_tag == 1){
3047                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
3048                }
3049                
3050            } else if (index === 1) {
3051                // Lobby Content
3052                class_name_tag = $(element).attr('class');
3053                selector_tag = '.' + class_name_tag.split(' ').join('.');
3054
3055                if(vendor_isnew_tag == 1){
3056                    margin_promo = 12;
3057                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3058                }
3059
3060                if(promo_tag == 1){
3061                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3062                }
3063
3064                if(game_ishot_tag == 1){
3065                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3066                }
3067            }
3068        });
3069
3070
3071                
3072        lobby_tag = ".lb-96"
3073        promo_tag = "1";
3074        game_ishot_tag = "0";
3075        vendor_isnew_tag = "0";
3076        margin_promo = 0;
3077        // console.log(lobby_tag);
3078        // console.log("promo", promo_tag);
3079        // console.log("game_ishot", game_ishot_tag);
3080        // console.log("vendor_isnew", vendor_isnew_tag);
3081            
3082        $(lobby_tag).each(function(index, element) {
3083            if (index === 0) {
3084                // Navbar Content
3085                class_name_tag = $(element).attr('class');
3086                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3087                // on LI(navar) or DIV Content
3088                element_tag = $(element).prop('tagName');
3089                if(vendor_isnew_tag == 1){
3090                    if( element_tag == 'LI'){
3091                        margin_promo = 20;
3092                    }else{
3093                        margin_promo =10;
3094                    }
3095
3096                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3097                }
3098
3099                if(promo_tag == 1){
3100                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3101                }
3102
3103                if(game_ishot_tag == 1){
3104                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
3104left:10px;top:0;z-index:10;width:35px"></div>`);
3105                }
3106                
3107            } else if (index === 1) {
3108                // Lobby Content
3109                class_name_tag = $(element).attr('class');
3110                selector_tag = '.' + class_name_tag.split(' ').join('.');
3111
3112                if(vendor_isnew_tag == 1){
3113                    margin_promo = 12;
3114                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3115                }
3116
3117                if(promo_tag == 1){
3118                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3119                }
3120
3121                if(game_ishot_tag == 1){
3122                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3123                }
3124            }
3125        });
3126
3127
3128                
3129        lobby_tag = ".lb-95"
3130        promo_tag = "1";
3131        game_ishot_tag = "0";
3132        vendor_isnew_tag = "0";
3133        margin_promo = 0;
3134        // console.log(lobby_tag);
3135        // console.log("promo", promo_tag);
3136        // console.log("game_ishot", game_ishot_tag);
3137        // console.log("vendor_isnew", vendor_isnew_tag);
3138            
3139        $(lobby_tag).each(function(index, element) {
3140            if (index === 0) {
3141                // Navbar Content
3142                class_name_tag = $(element).attr('class');
3143                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3144                // on LI(navar) or DIV Content
3145                element_tag = $(element).prop('tagName');
3146                if(vendor_isnew_tag == 1){
3147                    if( element_tag == 'LI'){
3148                        margin_promo = 20;
3149                    }else{
3150                        margin_promo =10;
3151                    }
3152
3153                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3154                }
3155
3156                if(promo_tag == 1){
3157                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3158                }
3159
3160                if(game_ishot_tag == 1){
3161                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
3162                }
3163                
3164            } else if (index === 1) {
3165                // Lobby Content
3166                class_name_tag = $(element).attr('class');
3167                selector_tag = '.' + class_name_tag.split(' ').join('.');
3168
3169                if(vendor_isnew_tag == 1){
3170                    margin_promo = 12;
3171                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3172                }
3173
3174                if(promo_tag == 1){
3175                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3176                }
3177
3178                if(game_ishot_tag == 1){
3179                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3180                }
3181            }
3182        });
3183
3184
3185                
3186        lobby_tag = ".lb-2973"
3187        promo_tag = "1";
3188        game_ishot_tag = "0";
3189        vendor_isnew_tag = "0";
3190        margin_promo = 0;
3191        // console.log(lobby_tag);
3192        // console.log("promo", promo_tag);
3193        // console.log("game_ishot", game_ishot_tag);
3194        // console.log("vendor_isnew", vendor_isnew_tag);
3195            
3196        $(lobby_tag).each(function(index, element) {
3197            if (index === 0) {
3198                // Navbar Content
3199                class_name_tag = $(element).attr('class');
3200                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3201                // on LI(navar) or DIV Content
3202                element_tag = $(element).prop('tagName');
3203                if(vendor_isnew_tag == 1){
3204                    if( element_tag == 'LI'){
3205                        margin_promo = 20;
3206                    }else{
3207                        margin_promo =10;
3208                    }
3209
3210                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3211                }
3212
3213                if(promo_tag == 1){
3214                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3215                }
3216
3217                if(game_ishot_tag == 1){
3218                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
3218left:10px;top:0;z-index:10;width:35px"></div>`);
3219                }
3220                
3221            } else if (index === 1) {
3222                // Lobby Content
3223                class_name_tag = $(element).attr('class');
3224                selector_tag = '.' + class_name_tag.split(' ').join('.');
3225
3226                if(vendor_isnew_tag == 1){
3227                    margin_promo = 12;
3228                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3229                }
3230
3231                if(promo_tag == 1){
3232                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3233                }
3234
3235                if(game_ishot_tag == 1){
3236                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3237                }
3238            }
3239        });
3240
3241
3242                
3243        lobby_tag = ".lb-10675"
3244        promo_tag = "1";
3245        game_ishot_tag = "0";
3246        vendor_isnew_tag = "0";
3247        margin_promo = 0;
3248        // console.log(lobby_tag);
3249        // console.log("promo", promo_tag);
3250        // console.log("game_ishot", game_ishot_tag);
3251        // console.log("vendor_isnew", vendor_isnew_tag);
3252            
3253        $(lobby_tag).each(function(index, element) {
3254            if (index === 0) {
3255                // Navbar Content
3256                class_name_tag = $(element).attr('class');
3257                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3258                // on LI(navar) or DIV Content
3259                element_tag = $(element).prop('tagName');
3260                if(vendor_isnew_tag == 1){
3261                    if( element_tag == 'LI'){
3262                        margin_promo = 20;
3263                    }else{
3264                        margin_promo =10;
3265                    }
3266
3267                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3268                }
3269
3270                if(promo_tag == 1){
3271                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3272                }
3273
3274                if(game_ishot_tag == 1){
3275                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
3276                }
3277                
3278            } else if (index === 1) {
3279                // Lobby Content
3280                class_name_tag = $(element).attr('class');
3281                selector_tag = '.' + class_name_tag.split(' ').join('.');
3282
3283                if(vendor_isnew_tag == 1){
3284                    margin_promo = 12;
3285                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3286                }
3287
3288                if(promo_tag == 1){
3289                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3290                }
3291
3292                if(game_ishot_tag == 1){
3293                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3294                }
3295            }
3296        });
3297
3298
3299                
3300        lobby_tag = ".lb-26907"
3301        promo_tag = "1";
3302        game_ishot_tag = "1";
3303        vendor_isnew_tag = "0";
3304        margin_promo = 0;
3305        // console.log(lobby_tag);
3306        // console.log("promo", promo_tag);
3307        // console.log("game_ishot", game_ishot_tag);
3308        // console.log("vendor_isnew", vendor_isnew_tag);
3309            
3310        $(lobby_tag).each(function(index, element) {
3311            if (index === 0) {
3312                // Navbar Content
3313                class_name_tag = $(element).attr('class');
3314                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3315                // on LI(navar) or DIV Content
3316                element_tag = $(element).prop('tagName');
3317                if(vendor_isnew_tag == 1){
3318                    if( element_tag == 'LI'){
3319                        margin_promo = 20;
3320                    }else{
3321                        margin_promo =10;
3322                    }
3323
3324                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3325                }
3326
3327                if(promo_tag == 1){
3328                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3329                }
3330
3331                if(game_ishot_tag == 1){
3332                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
3332left:10px;top:0;z-index:10;width:35px"></div>`);
3333                }
3334                
3335            } else if (index === 1) {
3336                // Lobby Content
3337                class_name_tag = $(element).attr('class');
3338                selector_tag = '.' + class_name_tag.split(' ').join('.');
3339
3340                if(vendor_isnew_tag == 1){
3341                    margin_promo = 12;
3342                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3343                }
3344
3345                if(promo_tag == 1){
3346                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3347                }
3348
3349                if(game_ishot_tag == 1){
3350                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3351                }
3352            }
3353        });
3354
3355
3356                                
3357        lobby_tag = ".lb-30139"
3358        promo_tag = "0";
3359        game_ishot_tag = "0";
3360        vendor_isnew_tag = "0";
3361        margin_promo = 0;
3362        // console.log(lobby_tag);
3363        // console.log("promo", promo_tag);
3364        // console.log("game_ishot", game_ishot_tag);
3365        // console.log("vendor_isnew", vendor_isnew_tag);
3366            
3367        $(lobby_tag).each(function(index, element) {
3368            if (index === 0) {
3369                // Navbar Content
3370                class_name_tag = $(element).attr('class');
3371                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3372                // on LI(navar) or DIV Content
3373                element_tag = $(element).prop('tagName');
3374                if(vendor_isnew_tag == 1){
3375                    if( element_tag == 'LI'){
3376                        margin_promo = 20;
3377                    }else{
3378                        margin_promo =10;
3379                    }
3380
3381                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3382                }
3383
3384                if(promo_tag == 1){
3385                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3386                }
3387
3388                if(game_ishot_tag == 1){
3389                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
3390                }
3391                
3392            } else if (index === 1) {
3393                // Lobby Content
3394                class_name_tag = $(element).attr('class');
3395                selector_tag = '.' + class_name_tag.split(' ').join('.');
3396
3397                if(vendor_isnew_tag == 1){
3398                    margin_promo = 12;
3399                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3400                }
3401
3402                if(promo_tag == 1){
3403                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3404                }
3405
3406                if(game_ishot_tag == 1){
3407                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3408                }
3409            }
3410        });
3411
3412
3413                
3414        lobby_tag = ".lb-26327"
3415        promo_tag = "1";
3416        game_ishot_tag = "1";
3417        vendor_isnew_tag = "0";
3418        margin_promo = 0;
3419        // console.log(lobby_tag);
3420        // console.log("promo", promo_tag);
3421        // console.log("game_ishot", game_ishot_tag);
3422        // console.log("vendor_isnew", vendor_isnew_tag);
3423            
3424        $(lobby_tag).each(function(index, element) {
3425            if (index === 0) {
3426                // Navbar Content
3427                class_name_tag = $(element).attr('class');
3428                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3429                // on LI(navar) or DIV Content
3430                element_tag = $(element).prop('tagName');
3431                if(vendor_isnew_tag == 1){
3432                    if( element_tag == 'LI'){
3433                        margin_promo = 20;
3434                    }else{
3435                        margin_promo =10;
3436                    }
3437
3438                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3439                }
3440
3441                if(promo_tag == 1){
3442                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3443                }
3444
3445                if(game_ishot_tag == 1){
3446                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
3446left:10px;top:0;z-index:10;width:35px"></div>`);
3447                }
3448                
3449            } else if (index === 1) {
3450                // Lobby Content
3451                class_name_tag = $(element).attr('class');
3452                selector_tag = '.' + class_name_tag.split(' ').join('.');
3453
3454                if(vendor_isnew_tag == 1){
3455                    margin_promo = 12;
3456                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3457                }
3458
3459                if(promo_tag == 1){
3460                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3461                }
3462
3463                if(game_ishot_tag == 1){
3464                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3465                }
3466            }
3467        });
3468
3469
3470                
3471        lobby_tag = ".lb-26843"
3472        promo_tag = "1";
3473        game_ishot_tag = "0";
3474        vendor_isnew_tag = "0";
3475        margin_promo = 0;
3476        // console.log(lobby_tag);
3477        // console.log("promo", promo_tag);
3478        // console.log("game_ishot", game_ishot_tag);
3479        // console.log("vendor_isnew", vendor_isnew_tag);
3480            
3481        $(lobby_tag).each(function(index, element) {
3482            if (index === 0) {
3483                // Navbar Content
3484                class_name_tag = $(element).attr('class');
3485                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3486                // on LI(navar) or DIV Content
3487                element_tag = $(element).prop('tagName');
3488                if(vendor_isnew_tag == 1){
3489                    if( element_tag == 'LI'){
3490                        margin_promo = 20;
3491                    }else{
3492                        margin_promo =10;
3493                    }
3494
3495                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3496                }
3497
3498                if(promo_tag == 1){
3499                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3500                }
3501
3502                if(game_ishot_tag == 1){
3503                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
3504                }
3505                
3506            } else if (index === 1) {
3507                // Lobby Content
3508                class_name_tag = $(element).attr('class');
3509                selector_tag = '.' + class_name_tag.split(' ').join('.');
3510
3511                if(vendor_isnew_tag == 1){
3512                    margin_promo = 12;
3513                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3514                }
3515
3516                if(promo_tag == 1){
3517                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3518                }
3519
3520                if(game_ishot_tag == 1){
3521                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3522                }
3523            }
3524        });
3525
3526
3527                                
3528        lobby_tag = ".lb-14938"
3529        promo_tag = "1";
3530        game_ishot_tag = "0";
3531        vendor_isnew_tag = "0";
3532        margin_promo = 0;
3533        // console.log(lobby_tag);
3534        // console.log("promo", promo_tag);
3535        // console.log("game_ishot", game_ishot_tag);
3536        // console.log("vendor_isnew", vendor_isnew_tag);
3537            
3538        $(lobby_tag).each(function(index, element) {
3539            if (index === 0) {
3540                // Navbar Content
3541                class_name_tag = $(element).attr('class');
3542                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3543                // on LI(navar) or DIV Content
3544                element_tag = $(element).prop('tagName');
3545                if(vendor_isnew_tag == 1){
3546                    if( element_tag == 'LI'){
3547                        margin_promo = 20;
3548                    }else{
3549                        margin_promo =10;
3550                    }
3551
3552                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3553                }
3554
3555                if(promo_tag == 1){
3556                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3557                }
3558
3559                if(game_ishot_tag == 1){
3560                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
3560left:10px;top:0;z-index:10;width:35px"></div>`);
3561                }
3562                
3563            } else if (index === 1) {
3564                // Lobby Content
3565                class_name_tag = $(element).attr('class');
3566                selector_tag = '.' + class_name_tag.split(' ').join('.');
3567
3568                if(vendor_isnew_tag == 1){
3569                    margin_promo = 12;
3570                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3571                }
3572
3573                if(promo_tag == 1){
3574                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3575                }
3576
3577                if(game_ishot_tag == 1){
3578                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3579                }
3580            }
3581        });
3582
3583
3584                
3585        lobby_tag = ".lb-141"
3586        promo_tag = "1";
3587        game_ishot_tag = "0";
3588        vendor_isnew_tag = "0";
3589        margin_promo = 0;
3590        // console.log(lobby_tag);
3591        // console.log("promo", promo_tag);
3592        // console.log("game_ishot", game_ishot_tag);
3593        // console.log("vendor_isnew", vendor_isnew_tag);
3594            
3595        $(lobby_tag).each(function(index, element) {
3596            if (index === 0) {
3597                // Navbar Content
3598                class_name_tag = $(element).attr('class');
3599                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3600                // on LI(navar) or DIV Content
3601                element_tag = $(element).prop('tagName');
3602                if(vendor_isnew_tag == 1){
3603                    if( element_tag == 'LI'){
3604                        margin_promo = 20;
3605                    }else{
3606                        margin_promo =10;
3607                    }
3608
3609                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3610                }
3611
3612                if(promo_tag == 1){
3613                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3614                }
3615
3616                if(game_ishot_tag == 1){
3617                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
3618                }
3619                
3620            } else if (index === 1) {
3621                // Lobby Content
3622                class_name_tag = $(element).attr('class');
3623                selector_tag = '.' + class_name_tag.split(' ').join('.');
3624
3625                if(vendor_isnew_tag == 1){
3626                    margin_promo = 12;
3627                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3628                }
3629
3630                if(promo_tag == 1){
3631                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3632                }
3633
3634                if(game_ishot_tag == 1){
3635                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3636                }
3637            }
3638        });
3639
3640
3641                
3642        lobby_tag = ".lb-15964"
3643        promo_tag = "1";
3644        game_ishot_tag = "0";
3645        vendor_isnew_tag = "0";
3646        margin_promo = 0;
3647        // console.log(lobby_tag);
3648        // console.log("promo", promo_tag);
3649        // console.log("game_ishot", game_ishot_tag);
3650        // console.log("vendor_isnew", vendor_isnew_tag);
3651            
3652        $(lobby_tag).each(function(index, element) {
3653            if (index === 0) {
3654                // Navbar Content
3655                class_name_tag = $(element).attr('class');
3656                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3657                // on LI(navar) or DIV Content
3658                element_tag = $(element).prop('tagName');
3659                if(vendor_isnew_tag == 1){
3660                    if( element_tag == 'LI'){
3661                        margin_promo = 20;
3662                    }else{
3663                        margin_promo =10;
3664                    }
3665
3666                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3667                }
3668
3669                if(promo_tag == 1){
3670                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3671                }
3672
3673                if(game_ishot_tag == 1){
3674                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
3674left:10px;top:0;z-index:10;width:35px"></div>`);
3675                }
3676                
3677            } else if (index === 1) {
3678                // Lobby Content
3679                class_name_tag = $(element).attr('class');
3680                selector_tag = '.' + class_name_tag.split(' ').join('.');
3681
3682                if(vendor_isnew_tag == 1){
3683                    margin_promo = 12;
3684                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3685                }
3686
3687                if(promo_tag == 1){
3688                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3689                }
3690
3691                if(game_ishot_tag == 1){
3692                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3693                }
3694            }
3695        });
3696
3697
3698                
3699        lobby_tag = ".lb-25118"
3700        promo_tag = "1";
3701        game_ishot_tag = "0";
3702        vendor_isnew_tag = "0";
3703        margin_promo = 0;
3704        // console.log(lobby_tag);
3705        // console.log("promo", promo_tag);
3706        // console.log("game_ishot", game_ishot_tag);
3707        // console.log("vendor_isnew", vendor_isnew_tag);
3708            
3709        $(lobby_tag).each(function(index, element) {
3710            if (index === 0) {
3711                // Navbar Content
3712                class_name_tag = $(element).attr('class');
3713                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3714                // on LI(navar) or DIV Content
3715                element_tag = $(element).prop('tagName');
3716                if(vendor_isnew_tag == 1){
3717                    if( element_tag == 'LI'){
3718                        margin_promo = 20;
3719                    }else{
3720                        margin_promo =10;
3721                    }
3722
3723                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3724                }
3725
3726                if(promo_tag == 1){
3727                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3728                }
3729
3730                if(game_ishot_tag == 1){
3731                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
3732                }
3733                
3734            } else if (index === 1) {
3735                // Lobby Content
3736                class_name_tag = $(element).attr('class');
3737                selector_tag = '.' + class_name_tag.split(' ').join('.');
3738
3739                if(vendor_isnew_tag == 1){
3740                    margin_promo = 12;
3741                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3742                }
3743
3744                if(promo_tag == 1){
3745                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3746                }
3747
3748                if(game_ishot_tag == 1){
3749                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3750                }
3751            }
3752        });
3753
3754
3755                
3756        lobby_tag = ".lb-28172"
3757        promo_tag = "0";
3758        game_ishot_tag = "1";
3759        vendor_isnew_tag = "0";
3760        margin_promo = 0;
3761        // console.log(lobby_tag);
3762        // console.log("promo", promo_tag);
3763        // console.log("game_ishot", game_ishot_tag);
3764        // console.log("vendor_isnew", vendor_isnew_tag);
3765            
3766        $(lobby_tag).each(function(index, element) {
3767            if (index === 0) {
3768                // Navbar Content
3769                class_name_tag = $(element).attr('class');
3770                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3771                // on LI(navar) or DIV Content
3772                element_tag = $(element).prop('tagName');
3773                if(vendor_isnew_tag == 1){
3774                    if( element_tag == 'LI'){
3775                        margin_promo = 20;
3776                    }else{
3777                        margin_promo =10;
3778                    }
3779
3780                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3781                }
3782
3783                if(promo_tag == 1){
3784                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3785                }
3786
3787                if(game_ishot_tag == 1){
3788                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
3788left:10px;top:0;z-index:10;width:35px"></div>`);
3789                }
3790                
3791            } else if (index === 1) {
3792                // Lobby Content
3793                class_name_tag = $(element).attr('class');
3794                selector_tag = '.' + class_name_tag.split(' ').join('.');
3795
3796                if(vendor_isnew_tag == 1){
3797                    margin_promo = 12;
3798                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3799                }
3800
3801                if(promo_tag == 1){
3802                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3803                }
3804
3805                if(game_ishot_tag == 1){
3806                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3807                }
3808            }
3809        });
3810
3811
3812                
3813        lobby_tag = ".lb-25841"
3814        promo_tag = "1";
3815        game_ishot_tag = "0";
3816        vendor_isnew_tag = "0";
3817        margin_promo = 0;
3818        // console.log(lobby_tag);
3819        // console.log("promo", promo_tag);
3820        // console.log("game_ishot", game_ishot_tag);
3821        // console.log("vendor_isnew", vendor_isnew_tag);
3822            
3823        $(lobby_tag).each(function(index, element) {
3824            if (index === 0) {
3825                // Navbar Content
3826                class_name_tag = $(element).attr('class');
3827                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3828                // on LI(navar) or DIV Content
3829                element_tag = $(element).prop('tagName');
3830                if(vendor_isnew_tag == 1){
3831                    if( element_tag == 'LI'){
3832                        margin_promo = 20;
3833                    }else{
3834                        margin_promo =10;
3835                    }
3836
3837                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3838                }
3839
3840                if(promo_tag == 1){
3841                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3842                }
3843
3844                if(game_ishot_tag == 1){
3845                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
3846                }
3847                
3848            } else if (index === 1) {
3849                // Lobby Content
3850                class_name_tag = $(element).attr('class');
3851                selector_tag = '.' + class_name_tag.split(' ').join('.');
3852
3853                if(vendor_isnew_tag == 1){
3854                    margin_promo = 12;
3855                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3856                }
3857
3858                if(promo_tag == 1){
3859                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3860                }
3861
3862                if(game_ishot_tag == 1){
3863                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3864                }
3865            }
3866        });
3867
3868
3869                
3870        lobby_tag = ".lb-18135"
3871        promo_tag = "1";
3872        game_ishot_tag = "0";
3873        vendor_isnew_tag = "0";
3874        margin_promo = 0;
3875        // console.log(lobby_tag);
3876        // console.log("promo", promo_tag);
3877        // console.log("game_ishot", game_ishot_tag);
3878        // console.log("vendor_isnew", vendor_isnew_tag);
3879            
3880        $(lobby_tag).each(function(index, element) {
3881            if (index === 0) {
3882                // Navbar Content
3883                class_name_tag = $(element).attr('class');
3884                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3885                // on LI(navar) or DIV Content
3886                element_tag = $(element).prop('tagName');
3887                if(vendor_isnew_tag == 1){
3888                    if( element_tag == 'LI'){
3889                        margin_promo = 20;
3890                    }else{
3891                        margin_promo =10;
3892                    }
3893
3894                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3895                }
3896
3897                if(promo_tag == 1){
3898                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3899                }
3900
3901                if(game_ishot_tag == 1){
3902                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
3902left:10px;top:0;z-index:10;width:35px"></div>`);
3903                }
3904                
3905            } else if (index === 1) {
3906                // Lobby Content
3907                class_name_tag = $(element).attr('class');
3908                selector_tag = '.' + class_name_tag.split(' ').join('.');
3909
3910                if(vendor_isnew_tag == 1){
3911                    margin_promo = 12;
3912                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3913                }
3914
3915                if(promo_tag == 1){
3916                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3917                }
3918
3919                if(game_ishot_tag == 1){
3920                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3921                }
3922            }
3923        });
3924
3925
3926                
3927        lobby_tag = ".lb-26613"
3928        promo_tag = "0";
3929        game_ishot_tag = "0";
3930        vendor_isnew_tag = "0";
3931        margin_promo = 0;
3932        // console.log(lobby_tag);
3933        // console.log("promo", promo_tag);
3934        // console.log("game_ishot", game_ishot_tag);
3935        // console.log("vendor_isnew", vendor_isnew_tag);
3936            
3937        $(lobby_tag).each(function(index, element) {
3938            if (index === 0) {
3939                // Navbar Content
3940                class_name_tag = $(element).attr('class');
3941                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3942                // on LI(navar) or DIV Content
3943                element_tag = $(element).prop('tagName');
3944                if(vendor_isnew_tag == 1){
3945                    if( element_tag == 'LI'){
3946                        margin_promo = 20;
3947                    }else{
3948                        margin_promo =10;
3949                    }
3950
3951                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3952                }
3953
3954                if(promo_tag == 1){
3955                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3956                }
3957
3958                if(game_ishot_tag == 1){
3959                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
3960                }
3961                
3962            } else if (index === 1) {
3963                // Lobby Content
3964                class_name_tag = $(element).attr('class');
3965                selector_tag = '.' + class_name_tag.split(' ').join('.');
3966
3967                if(vendor_isnew_tag == 1){
3968                    margin_promo = 12;
3969                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
3970                }
3971
3972                if(promo_tag == 1){
3973                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
3974                }
3975
3976                if(game_ishot_tag == 1){
3977                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
3978                }
3979            }
3980        });
3981
3982
3983                
3984        lobby_tag = ".lb-10319"
3985        promo_tag = "1";
3986        game_ishot_tag = "0";
3987        vendor_isnew_tag = "0";
3988        margin_promo = 0;
3989        // console.log(lobby_tag);
3990        // console.log("promo", promo_tag);
3991        // console.log("game_ishot", game_ishot_tag);
3992        // console.log("vendor_isnew", vendor_isnew_tag);
3993            
3994        $(lobby_tag).each(function(index, element) {
3995            if (index === 0) {
3996                // Navbar Content
3997                class_name_tag = $(element).attr('class');
3998                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
3999                // on LI(navar) or DIV Content
4000                element_tag = $(element).prop('tagName');
4001                if(vendor_isnew_tag == 1){
4002                    if( element_tag == 'LI'){
4003                        margin_promo = 20;
4004                    }else{
4005                        margin_promo =10;
4006                    }
4007
4008                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4009                }
4010
4011                if(promo_tag == 1){
4012                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4013                }
4014
4015                if(game_ishot_tag == 1){
4016                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
4016left:10px;top:0;z-index:10;width:35px"></div>`);
4017                }
4018                
4019            } else if (index === 1) {
4020                // Lobby Content
4021                class_name_tag = $(element).attr('class');
4022                selector_tag = '.' + class_name_tag.split(' ').join('.');
4023
4024                if(vendor_isnew_tag == 1){
4025                    margin_promo = 12;
4026                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4027                }
4028
4029                if(promo_tag == 1){
4030                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4031                }
4032
4033                if(game_ishot_tag == 1){
4034                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4035                }
4036            }
4037        });
4038
4039
4040                
4041        lobby_tag = ".lb-18443"
4042        promo_tag = "1";
4043        game_ishot_tag = "0";
4044        vendor_isnew_tag = "0";
4045        margin_promo = 0;
4046        // console.log(lobby_tag);
4047        // console.log("promo", promo_tag);
4048        // console.log("game_ishot", game_ishot_tag);
4049        // console.log("vendor_isnew", vendor_isnew_tag);
4050            
4051        $(lobby_tag).each(function(index, element) {
4052            if (index === 0) {
4053                // Navbar Content
4054                class_name_tag = $(element).attr('class');
4055                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4056                // on LI(navar) or DIV Content
4057                element_tag = $(element).prop('tagName');
4058                if(vendor_isnew_tag == 1){
4059                    if( element_tag == 'LI'){
4060                        margin_promo = 20;
4061                    }else{
4062                        margin_promo =10;
4063                    }
4064
4065                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4066                }
4067
4068                if(promo_tag == 1){
4069                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4070                }
4071
4072                if(game_ishot_tag == 1){
4073                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
4074                }
4075                
4076            } else if (index === 1) {
4077                // Lobby Content
4078                class_name_tag = $(element).attr('class');
4079                selector_tag = '.' + class_name_tag.split(' ').join('.');
4080
4081                if(vendor_isnew_tag == 1){
4082                    margin_promo = 12;
4083                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4084                }
4085
4086                if(promo_tag == 1){
4087                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4088                }
4089
4090                if(game_ishot_tag == 1){
4091                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4092                }
4093            }
4094        });
4095
4096
4097                
4098        lobby_tag = ".lb-10020"
4099        promo_tag = "1";
4100        game_ishot_tag = "0";
4101        vendor_isnew_tag = "0";
4102        margin_promo = 0;
4103        // console.log(lobby_tag);
4104        // console.log("promo", promo_tag);
4105        // console.log("game_ishot", game_ishot_tag);
4106        // console.log("vendor_isnew", vendor_isnew_tag);
4107            
4108        $(lobby_tag).each(function(index, element) {
4109            if (index === 0) {
4110                // Navbar Content
4111                class_name_tag = $(element).attr('class');
4112                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4113                // on LI(navar) or DIV Content
4114                element_tag = $(element).prop('tagName');
4115                if(vendor_isnew_tag == 1){
4116                    if( element_tag == 'LI'){
4117                        margin_promo = 20;
4118                    }else{
4119                        margin_promo =10;
4120                    }
4121
4122                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4123                }
4124
4125                if(promo_tag == 1){
4126                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4127                }
4128
4129                if(game_ishot_tag == 1){
4130                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
4130left:10px;top:0;z-index:10;width:35px"></div>`);
4131                }
4132                
4133            } else if (index === 1) {
4134                // Lobby Content
4135                class_name_tag = $(element).attr('class');
4136                selector_tag = '.' + class_name_tag.split(' ').join('.');
4137
4138                if(vendor_isnew_tag == 1){
4139                    margin_promo = 12;
4140                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4141                }
4142
4143                if(promo_tag == 1){
4144                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4145                }
4146
4147                if(game_ishot_tag == 1){
4148                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4149                }
4150            }
4151        });
4152
4153
4154                
4155        lobby_tag = ".lb-11394"
4156        promo_tag = "1";
4157        game_ishot_tag = "0";
4158        vendor_isnew_tag = "0";
4159        margin_promo = 0;
4160        // console.log(lobby_tag);
4161        // console.log("promo", promo_tag);
4162        // console.log("game_ishot", game_ishot_tag);
4163        // console.log("vendor_isnew", vendor_isnew_tag);
4164            
4165        $(lobby_tag).each(function(index, element) {
4166            if (index === 0) {
4167                // Navbar Content
4168                class_name_tag = $(element).attr('class');
4169                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4170                // on LI(navar) or DIV Content
4171                element_tag = $(element).prop('tagName');
4172                if(vendor_isnew_tag == 1){
4173                    if( element_tag == 'LI'){
4174                        margin_promo = 20;
4175                    }else{
4176                        margin_promo =10;
4177                    }
4178
4179                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4180                }
4181
4182                if(promo_tag == 1){
4183                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4184                }
4185
4186                if(game_ishot_tag == 1){
4187                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
4188                }
4189                
4190            } else if (index === 1) {
4191                // Lobby Content
4192                class_name_tag = $(element).attr('class');
4193                selector_tag = '.' + class_name_tag.split(' ').join('.');
4194
4195                if(vendor_isnew_tag == 1){
4196                    margin_promo = 12;
4197                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4198                }
4199
4200                if(promo_tag == 1){
4201                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4202                }
4203
4204                if(game_ishot_tag == 1){
4205                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4206                }
4207            }
4208        });
4209
4210
4211                
4212        lobby_tag = ".lb-29338"
4213        promo_tag = "0";
4214        game_ishot_tag = "0";
4215        vendor_isnew_tag = "0";
4216        margin_promo = 0;
4217        // console.log(lobby_tag);
4218        // console.log("promo", promo_tag);
4219        // console.log("game_ishot", game_ishot_tag);
4220        // console.log("vendor_isnew", vendor_isnew_tag);
4221            
4222        $(lobby_tag).each(function(index, element) {
4223            if (index === 0) {
4224                // Navbar Content
4225                class_name_tag = $(element).attr('class');
4226                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4227                // on LI(navar) or DIV Content
4228                element_tag = $(element).prop('tagName');
4229                if(vendor_isnew_tag == 1){
4230                    if( element_tag == 'LI'){
4231                        margin_promo = 20;
4232                    }else{
4233                        margin_promo =10;
4234                    }
4235
4236                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4237                }
4238
4239                if(promo_tag == 1){
4240                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4241                }
4242
4243                if(game_ishot_tag == 1){
4244                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
4244left:10px;top:0;z-index:10;width:35px"></div>`);
4245                }
4246                
4247            } else if (index === 1) {
4248                // Lobby Content
4249                class_name_tag = $(element).attr('class');
4250                selector_tag = '.' + class_name_tag.split(' ').join('.');
4251
4252                if(vendor_isnew_tag == 1){
4253                    margin_promo = 12;
4254                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4255                }
4256
4257                if(promo_tag == 1){
4258                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4259                }
4260
4261                if(game_ishot_tag == 1){
4262                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4263                }
4264            }
4265        });
4266
4267
4268                
4269        lobby_tag = ".lb-17553"
4270        promo_tag = "1";
4271        game_ishot_tag = "0";
4272        vendor_isnew_tag = "0";
4273        margin_promo = 0;
4274        // console.log(lobby_tag);
4275        // console.log("promo", promo_tag);
4276        // console.log("game_ishot", game_ishot_tag);
4277        // console.log("vendor_isnew", vendor_isnew_tag);
4278            
4279        $(lobby_tag).each(function(index, element) {
4280            if (index === 0) {
4281                // Navbar Content
4282                class_name_tag = $(element).attr('class');
4283                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4284                // on LI(navar) or DIV Content
4285                element_tag = $(element).prop('tagName');
4286                if(vendor_isnew_tag == 1){
4287                    if( element_tag == 'LI'){
4288                        margin_promo = 20;
4289                    }else{
4290                        margin_promo =10;
4291                    }
4292
4293                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4294                }
4295
4296                if(promo_tag == 1){
4297                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4298                }
4299
4300                if(game_ishot_tag == 1){
4301                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
4302                }
4303                
4304            } else if (index === 1) {
4305                // Lobby Content
4306                class_name_tag = $(element).attr('class');
4307                selector_tag = '.' + class_name_tag.split(' ').join('.');
4308
4309                if(vendor_isnew_tag == 1){
4310                    margin_promo = 12;
4311                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4312                }
4313
4314                if(promo_tag == 1){
4315                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4316                }
4317
4318                if(game_ishot_tag == 1){
4319                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4320                }
4321            }
4322        });
4323
4324
4325                
4326        lobby_tag = ".lb-24264"
4327        promo_tag = "1";
4328        game_ishot_tag = "0";
4329        vendor_isnew_tag = "0";
4330        margin_promo = 0;
4331        // console.log(lobby_tag);
4332        // console.log("promo", promo_tag);
4333        // console.log("game_ishot", game_ishot_tag);
4334        // console.log("vendor_isnew", vendor_isnew_tag);
4335            
4336        $(lobby_tag).each(function(index, element) {
4337            if (index === 0) {
4338                // Navbar Content
4339                class_name_tag = $(element).attr('class');
4340                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4341                // on LI(navar) or DIV Content
4342                element_tag = $(element).prop('tagName');
4343                if(vendor_isnew_tag == 1){
4344                    if( element_tag == 'LI'){
4345                        margin_promo = 20;
4346                    }else{
4347                        margin_promo =10;
4348                    }
4349
4350                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4351                }
4352
4353                if(promo_tag == 1){
4354                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4355                }
4356
4357                if(game_ishot_tag == 1){
4358                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
4358left:10px;top:0;z-index:10;width:35px"></div>`);
4359                }
4360                
4361            } else if (index === 1) {
4362                // Lobby Content
4363                class_name_tag = $(element).attr('class');
4364                selector_tag = '.' + class_name_tag.split(' ').join('.');
4365
4366                if(vendor_isnew_tag == 1){
4367                    margin_promo = 12;
4368                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4369                }
4370
4371                if(promo_tag == 1){
4372                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4373                }
4374
4375                if(game_ishot_tag == 1){
4376                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4377                }
4378            }
4379        });
4380
4381
4382                
4383        lobby_tag = ".lb-24712"
4384        promo_tag = "1";
4385        game_ishot_tag = "0";
4386        vendor_isnew_tag = "0";
4387        margin_promo = 0;
4388        // console.log(lobby_tag);
4389        // console.log("promo", promo_tag);
4390        // console.log("game_ishot", game_ishot_tag);
4391        // console.log("vendor_isnew", vendor_isnew_tag);
4392            
4393        $(lobby_tag).each(function(index, element) {
4394            if (index === 0) {
4395                // Navbar Content
4396                class_name_tag = $(element).attr('class');
4397                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4398                // on LI(navar) or DIV Content
4399                element_tag = $(element).prop('tagName');
4400                if(vendor_isnew_tag == 1){
4401                    if( element_tag == 'LI'){
4402                        margin_promo = 20;
4403                    }else{
4404                        margin_promo =10;
4405                    }
4406
4407                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4408                }
4409
4410                if(promo_tag == 1){
4411                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4412                }
4413
4414                if(game_ishot_tag == 1){
4415                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
4416                }
4417                
4418            } else if (index === 1) {
4419                // Lobby Content
4420                class_name_tag = $(element).attr('class');
4421                selector_tag = '.' + class_name_tag.split(' ').join('.');
4422
4423                if(vendor_isnew_tag == 1){
4424                    margin_promo = 12;
4425                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4426                }
4427
4428                if(promo_tag == 1){
4429                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4430                }
4431
4432                if(game_ishot_tag == 1){
4433                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4434                }
4435            }
4436        });
4437
4438
4439                
4440        lobby_tag = ".lb-15253"
4441        promo_tag = "1";
4442        game_ishot_tag = "0";
4443        vendor_isnew_tag = "0";
4444        margin_promo = 0;
4445        // console.log(lobby_tag);
4446        // console.log("promo", promo_tag);
4447        // console.log("game_ishot", game_ishot_tag);
4448        // console.log("vendor_isnew", vendor_isnew_tag);
4449            
4450        $(lobby_tag).each(function(index, element) {
4451            if (index === 0) {
4452                // Navbar Content
4453                class_name_tag = $(element).attr('class');
4454                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4455                // on LI(navar) or DIV Content
4456                element_tag = $(element).prop('tagName');
4457                if(vendor_isnew_tag == 1){
4458                    if( element_tag == 'LI'){
4459                        margin_promo = 20;
4460                    }else{
4461                        margin_promo =10;
4462                    }
4463
4464                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4465                }
4466
4467                if(promo_tag == 1){
4468                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4469                }
4470
4471                if(game_ishot_tag == 1){
4472                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
4472left:10px;top:0;z-index:10;width:35px"></div>`);
4473                }
4474                
4475            } else if (index === 1) {
4476                // Lobby Content
4477                class_name_tag = $(element).attr('class');
4478                selector_tag = '.' + class_name_tag.split(' ').join('.');
4479
4480                if(vendor_isnew_tag == 1){
4481                    margin_promo = 12;
4482                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4483                }
4484
4485                if(promo_tag == 1){
4486                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4487                }
4488
4489                if(game_ishot_tag == 1){
4490                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4491                }
4492            }
4493        });
4494
4495
4496                
4497        lobby_tag = ".lb-23923"
4498        promo_tag = "1";
4499        game_ishot_tag = "0";
4500        vendor_isnew_tag = "0";
4501        margin_promo = 0;
4502        // console.log(lobby_tag);
4503        // console.log("promo", promo_tag);
4504        // console.log("game_ishot", game_ishot_tag);
4505        // console.log("vendor_isnew", vendor_isnew_tag);
4506            
4507        $(lobby_tag).each(function(index, element) {
4508            if (index === 0) {
4509                // Navbar Content
4510                class_name_tag = $(element).attr('class');
4511                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4512                // on LI(navar) or DIV Content
4513                element_tag = $(element).prop('tagName');
4514                if(vendor_isnew_tag == 1){
4515                    if( element_tag == 'LI'){
4516                        margin_promo = 20;
4517                    }else{
4518                        margin_promo =10;
4519                    }
4520
4521                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4522                }
4523
4524                if(promo_tag == 1){
4525                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4526                }
4527
4528                if(game_ishot_tag == 1){
4529                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
4530                }
4531                
4532            } else if (index === 1) {
4533                // Lobby Content
4534                class_name_tag = $(element).attr('class');
4535                selector_tag = '.' + class_name_tag.split(' ').join('.');
4536
4537                if(vendor_isnew_tag == 1){
4538                    margin_promo = 12;
4539                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4540                }
4541
4542                if(promo_tag == 1){
4543                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4544                }
4545
4546                if(game_ishot_tag == 1){
4547                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4548                }
4549            }
4550        });
4551
4552
4553                
4554        lobby_tag = ".lb-21282"
4555        promo_tag = "1";
4556        game_ishot_tag = "0";
4557        vendor_isnew_tag = "0";
4558        margin_promo = 0;
4559        // console.log(lobby_tag);
4560        // console.log("promo", promo_tag);
4561        // console.log("game_ishot", game_ishot_tag);
4562        // console.log("vendor_isnew", vendor_isnew_tag);
4563            
4564        $(lobby_tag).each(function(index, element) {
4565            if (index === 0) {
4566                // Navbar Content
4567                class_name_tag = $(element).attr('class');
4568                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4569                // on LI(navar) or DIV Content
4570                element_tag = $(element).prop('tagName');
4571                if(vendor_isnew_tag == 1){
4572                    if( element_tag == 'LI'){
4573                        margin_promo = 20;
4574                    }else{
4575                        margin_promo =10;
4576                    }
4577
4578                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4579                }
4580
4581                if(promo_tag == 1){
4582                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4583                }
4584
4585                if(game_ishot_tag == 1){
4586                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
4586left:10px;top:0;z-index:10;width:35px"></div>`);
4587                }
4588                
4589            } else if (index === 1) {
4590                // Lobby Content
4591                class_name_tag = $(element).attr('class');
4592                selector_tag = '.' + class_name_tag.split(' ').join('.');
4593
4594                if(vendor_isnew_tag == 1){
4595                    margin_promo = 12;
4596                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4597                }
4598
4599                if(promo_tag == 1){
4600                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4601                }
4602
4603                if(game_ishot_tag == 1){
4604                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4605                }
4606            }
4607        });
4608
4609
4610                
4611        lobby_tag = ".lb-17528"
4612        promo_tag = "1";
4613        game_ishot_tag = "0";
4614        vendor_isnew_tag = "0";
4615        margin_promo = 0;
4616        // console.log(lobby_tag);
4617        // console.log("promo", promo_tag);
4618        // console.log("game_ishot", game_ishot_tag);
4619        // console.log("vendor_isnew", vendor_isnew_tag);
4620            
4621        $(lobby_tag).each(function(index, element) {
4622            if (index === 0) {
4623                // Navbar Content
4624                class_name_tag = $(element).attr('class');
4625                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4626                // on LI(navar) or DIV Content
4627                element_tag = $(element).prop('tagName');
4628                if(vendor_isnew_tag == 1){
4629                    if( element_tag == 'LI'){
4630                        margin_promo = 20;
4631                    }else{
4632                        margin_promo =10;
4633                    }
4634
4635                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4636                }
4637
4638                if(promo_tag == 1){
4639                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4640                }
4641
4642                if(game_ishot_tag == 1){
4643                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
4644                }
4645                
4646            } else if (index === 1) {
4647                // Lobby Content
4648                class_name_tag = $(element).attr('class');
4649                selector_tag = '.' + class_name_tag.split(' ').join('.');
4650
4651                if(vendor_isnew_tag == 1){
4652                    margin_promo = 12;
4653                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4654                }
4655
4656                if(promo_tag == 1){
4657                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4658                }
4659
4660                if(game_ishot_tag == 1){
4661                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4662                }
4663            }
4664        });
4665
4666
4667                
4668        lobby_tag = ".lb-17769"
4669        promo_tag = "1";
4670        game_ishot_tag = "0";
4671        vendor_isnew_tag = "0";
4672        margin_promo = 0;
4673        // console.log(lobby_tag);
4674        // console.log("promo", promo_tag);
4675        // console.log("game_ishot", game_ishot_tag);
4676        // console.log("vendor_isnew", vendor_isnew_tag);
4677            
4678        $(lobby_tag).each(function(index, element) {
4679            if (index === 0) {
4680                // Navbar Content
4681                class_name_tag = $(element).attr('class');
4682                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4683                // on LI(navar) or DIV Content
4684                element_tag = $(element).prop('tagName');
4685                if(vendor_isnew_tag == 1){
4686                    if( element_tag == 'LI'){
4687                        margin_promo = 20;
4688                    }else{
4689                        margin_promo =10;
4690                    }
4691
4692                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4693                }
4694
4695                if(promo_tag == 1){
4696                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4697                }
4698
4699                if(game_ishot_tag == 1){
4700                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
4700left:10px;top:0;z-index:10;width:35px"></div>`);
4701                }
4702                
4703            } else if (index === 1) {
4704                // Lobby Content
4705                class_name_tag = $(element).attr('class');
4706                selector_tag = '.' + class_name_tag.split(' ').join('.');
4707
4708                if(vendor_isnew_tag == 1){
4709                    margin_promo = 12;
4710                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4711                }
4712
4713                if(promo_tag == 1){
4714                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4715                }
4716
4717                if(game_ishot_tag == 1){
4718                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4719                }
4720            }
4721        });
4722
4723
4724                
4725        lobby_tag = ".lb-12201"
4726        promo_tag = "1";
4727        game_ishot_tag = "0";
4728        vendor_isnew_tag = "0";
4729        margin_promo = 0;
4730        // console.log(lobby_tag);
4731        // console.log("promo", promo_tag);
4732        // console.log("game_ishot", game_ishot_tag);
4733        // console.log("vendor_isnew", vendor_isnew_tag);
4734            
4735        $(lobby_tag).each(function(index, element) {
4736            if (index === 0) {
4737                // Navbar Content
4738                class_name_tag = $(element).attr('class');
4739                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4740                // on LI(navar) or DIV Content
4741                element_tag = $(element).prop('tagName');
4742                if(vendor_isnew_tag == 1){
4743                    if( element_tag == 'LI'){
4744                        margin_promo = 20;
4745                    }else{
4746                        margin_promo =10;
4747                    }
4748
4749                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4750                }
4751
4752                if(promo_tag == 1){
4753                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4754                }
4755
4756                if(game_ishot_tag == 1){
4757                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
4758                }
4759                
4760            } else if (index === 1) {
4761                // Lobby Content
4762                class_name_tag = $(element).attr('class');
4763                selector_tag = '.' + class_name_tag.split(' ').join('.');
4764
4765                if(vendor_isnew_tag == 1){
4766                    margin_promo = 12;
4767                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4768                }
4769
4770                if(promo_tag == 1){
4771                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4772                }
4773
4774                if(game_ishot_tag == 1){
4775                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4776                }
4777            }
4778        });
4779
4780
4781                
4782        lobby_tag = ".lb-22085"
4783        promo_tag = "1";
4784        game_ishot_tag = "0";
4785        vendor_isnew_tag = "0";
4786        margin_promo = 0;
4787        // console.log(lobby_tag);
4788        // console.log("promo", promo_tag);
4789        // console.log("game_ishot", game_ishot_tag);
4790        // console.log("vendor_isnew", vendor_isnew_tag);
4791            
4792        $(lobby_tag).each(function(index, element) {
4793            if (index === 0) {
4794                // Navbar Content
4795                class_name_tag = $(element).attr('class');
4796                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4797                // on LI(navar) or DIV Content
4798                element_tag = $(element).prop('tagName');
4799                if(vendor_isnew_tag == 1){
4800                    if( element_tag == 'LI'){
4801                        margin_promo = 20;
4802                    }else{
4803                        margin_promo =10;
4804                    }
4805
4806                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4807                }
4808
4809                if(promo_tag == 1){
4810                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4811                }
4812
4813                if(game_ishot_tag == 1){
4814                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
4814left:10px;top:0;z-index:10;width:35px"></div>`);
4815                }
4816                
4817            } else if (index === 1) {
4818                // Lobby Content
4819                class_name_tag = $(element).attr('class');
4820                selector_tag = '.' + class_name_tag.split(' ').join('.');
4821
4822                if(vendor_isnew_tag == 1){
4823                    margin_promo = 12;
4824                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4825                }
4826
4827                if(promo_tag == 1){
4828                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4829                }
4830
4831                if(game_ishot_tag == 1){
4832                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4833                }
4834            }
4835        });
4836
4837
4838                
4839        lobby_tag = ".lb-15603"
4840        promo_tag = "1";
4841        game_ishot_tag = "0";
4842        vendor_isnew_tag = "0";
4843        margin_promo = 0;
4844        // console.log(lobby_tag);
4845        // console.log("promo", promo_tag);
4846        // console.log("game_ishot", game_ishot_tag);
4847        // console.log("vendor_isnew", vendor_isnew_tag);
4848            
4849        $(lobby_tag).each(function(index, element) {
4850            if (index === 0) {
4851                // Navbar Content
4852                class_name_tag = $(element).attr('class');
4853                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4854                // on LI(navar) or DIV Content
4855                element_tag = $(element).prop('tagName');
4856                if(vendor_isnew_tag == 1){
4857                    if( element_tag == 'LI'){
4858                        margin_promo = 20;
4859                    }else{
4860                        margin_promo =10;
4861                    }
4862
4863                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4864                }
4865
4866                if(promo_tag == 1){
4867                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4868                }
4869
4870                if(game_ishot_tag == 1){
4871                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
4872                }
4873                
4874            } else if (index === 1) {
4875                // Lobby Content
4876                class_name_tag = $(element).attr('class');
4877                selector_tag = '.' + class_name_tag.split(' ').join('.');
4878
4879                if(vendor_isnew_tag == 1){
4880                    margin_promo = 12;
4881                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4882                }
4883
4884                if(promo_tag == 1){
4885                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4886                }
4887
4888                if(game_ishot_tag == 1){
4889                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4890                }
4891            }
4892        });
4893
4894
4895                
4896        lobby_tag = ".lb-25838"
4897        promo_tag = "1";
4898        game_ishot_tag = "0";
4899        vendor_isnew_tag = "0";
4900        margin_promo = 0;
4901        // console.log(lobby_tag);
4902        // console.log("promo", promo_tag);
4903        // console.log("game_ishot", game_ishot_tag);
4904        // console.log("vendor_isnew", vendor_isnew_tag);
4905            
4906        $(lobby_tag).each(function(index, element) {
4907            if (index === 0) {
4908                // Navbar Content
4909                class_name_tag = $(element).attr('class');
4910                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4911                // on LI(navar) or DIV Content
4912                element_tag = $(element).prop('tagName');
4913                if(vendor_isnew_tag == 1){
4914                    if( element_tag == 'LI'){
4915                        margin_promo = 20;
4916                    }else{
4917                        margin_promo =10;
4918                    }
4919
4920                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4921                }
4922
4923                if(promo_tag == 1){
4924                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4925                }
4926
4927                if(game_ishot_tag == 1){
4928                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
4928left:10px;top:0;z-index:10;width:35px"></div>`);
4929                }
4930                
4931            } else if (index === 1) {
4932                // Lobby Content
4933                class_name_tag = $(element).attr('class');
4934                selector_tag = '.' + class_name_tag.split(' ').join('.');
4935
4936                if(vendor_isnew_tag == 1){
4937                    margin_promo = 12;
4938                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4939                }
4940
4941                if(promo_tag == 1){
4942                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4943                }
4944
4945                if(game_ishot_tag == 1){
4946                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
4947                }
4948            }
4949        });
4950
4951
4952                
4953        lobby_tag = ".lb-12200"
4954        promo_tag = "1";
4955        game_ishot_tag = "0";
4956        vendor_isnew_tag = "0";
4957        margin_promo = 0;
4958        // console.log(lobby_tag);
4959        // console.log("promo", promo_tag);
4960        // console.log("game_ishot", game_ishot_tag);
4961        // console.log("vendor_isnew", vendor_isnew_tag);
4962            
4963        $(lobby_tag).each(function(index, element) {
4964            if (index === 0) {
4965                // Navbar Content
4966                class_name_tag = $(element).attr('class');
4967                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
4968                // on LI(navar) or DIV Content
4969                element_tag = $(element).prop('tagName');
4970                if(vendor_isnew_tag == 1){
4971                    if( element_tag == 'LI'){
4972                        margin_promo = 20;
4973                    }else{
4974                        margin_promo =10;
4975                    }
4976
4977                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4978                }
4979
4980                if(promo_tag == 1){
4981                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
4982                }
4983
4984                if(game_ishot_tag == 1){
4985                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
4986                }
4987                
4988            } else if (index === 1) {
4989                // Lobby Content
4990                class_name_tag = $(element).attr('class');
4991                selector_tag = '.' + class_name_tag.split(' ').join('.');
4992
4993                if(vendor_isnew_tag == 1){
4994                    margin_promo = 12;
4995                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
4996                }
4997
4998                if(promo_tag == 1){
4999                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5000                }
5001
5002                if(game_ishot_tag == 1){
5003                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5004                }
5005            }
5006        });
5007
5008
5009                
5010        lobby_tag = ".lb-25444"
5011        promo_tag = "1";
5012        game_ishot_tag = "0";
5013        vendor_isnew_tag = "0";
5014        margin_promo = 0;
5015        // console.log(lobby_tag);
5016        // console.log("promo", promo_tag);
5017        // console.log("game_ishot", game_ishot_tag);
5018        // console.log("vendor_isnew", vendor_isnew_tag);
5019            
5020        $(lobby_tag).each(function(index, element) {
5021            if (index === 0) {
5022                // Navbar Content
5023                class_name_tag = $(element).attr('class');
5024                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5025                // on LI(navar) or DIV Content
5026                element_tag = $(element).prop('tagName');
5027                if(vendor_isnew_tag == 1){
5028                    if( element_tag == 'LI'){
5029                        margin_promo = 20;
5030                    }else{
5031                        margin_promo =10;
5032                    }
5033
5034                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5035                }
5036
5037                if(promo_tag == 1){
5038                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5039                }
5040
5041                if(game_ishot_tag == 1){
5042                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
5042left:10px;top:0;z-index:10;width:35px"></div>`);
5043                }
5044                
5045            } else if (index === 1) {
5046                // Lobby Content
5047                class_name_tag = $(element).attr('class');
5048                selector_tag = '.' + class_name_tag.split(' ').join('.');
5049
5050                if(vendor_isnew_tag == 1){
5051                    margin_promo = 12;
5052                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5053                }
5054
5055                if(promo_tag == 1){
5056                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5057                }
5058
5059                if(game_ishot_tag == 1){
5060                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5061                }
5062            }
5063        });
5064
5065
5066                
5067        lobby_tag = ".lb-2676"
5068        promo_tag = "1";
5069        game_ishot_tag = "0";
5070        vendor_isnew_tag = "0";
5071        margin_promo = 0;
5072        // console.log(lobby_tag);
5073        // console.log("promo", promo_tag);
5074        // console.log("game_ishot", game_ishot_tag);
5075        // console.log("vendor_isnew", vendor_isnew_tag);
5076            
5077        $(lobby_tag).each(function(index, element) {
5078            if (index === 0) {
5079                // Navbar Content
5080                class_name_tag = $(element).attr('class');
5081                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5082                // on LI(navar) or DIV Content
5083                element_tag = $(element).prop('tagName');
5084                if(vendor_isnew_tag == 1){
5085                    if( element_tag == 'LI'){
5086                        margin_promo = 20;
5087                    }else{
5088                        margin_promo =10;
5089                    }
5090
5091                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5092                }
5093
5094                if(promo_tag == 1){
5095                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5096                }
5097
5098                if(game_ishot_tag == 1){
5099                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
5100                }
5101                
5102            } else if (index === 1) {
5103                // Lobby Content
5104                class_name_tag = $(element).attr('class');
5105                selector_tag = '.' + class_name_tag.split(' ').join('.');
5106
5107                if(vendor_isnew_tag == 1){
5108                    margin_promo = 12;
5109                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5110                }
5111
5112                if(promo_tag == 1){
5113                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5114                }
5115
5116                if(game_ishot_tag == 1){
5117                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5118                }
5119            }
5120        });
5121
5122
5123                
5124        lobby_tag = ".lb-19987"
5125        promo_tag = "1";
5126        game_ishot_tag = "0";
5127        vendor_isnew_tag = "0";
5128        margin_promo = 0;
5129        // console.log(lobby_tag);
5130        // console.log("promo", promo_tag);
5131        // console.log("game_ishot", game_ishot_tag);
5132        // console.log("vendor_isnew", vendor_isnew_tag);
5133            
5134        $(lobby_tag).each(function(index, element) {
5135            if (index === 0) {
5136                // Navbar Content
5137                class_name_tag = $(element).attr('class');
5138                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5139                // on LI(navar) or DIV Content
5140                element_tag = $(element).prop('tagName');
5141                if(vendor_isnew_tag == 1){
5142                    if( element_tag == 'LI'){
5143                        margin_promo = 20;
5144                    }else{
5145                        margin_promo =10;
5146                    }
5147
5148                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5149                }
5150
5151                if(promo_tag == 1){
5152                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5153                }
5154
5155                if(game_ishot_tag == 1){
5156                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
5156left:10px;top:0;z-index:10;width:35px"></div>`);
5157                }
5158                
5159            } else if (index === 1) {
5160                // Lobby Content
5161                class_name_tag = $(element).attr('class');
5162                selector_tag = '.' + class_name_tag.split(' ').join('.');
5163
5164                if(vendor_isnew_tag == 1){
5165                    margin_promo = 12;
5166                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5167                }
5168
5169                if(promo_tag == 1){
5170                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5171                }
5172
5173                if(game_ishot_tag == 1){
5174                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5175                }
5176            }
5177        });
5178
5179
5180                
5181        lobby_tag = ".lb-20076"
5182        promo_tag = "1";
5183        game_ishot_tag = "0";
5184        vendor_isnew_tag = "0";
5185        margin_promo = 0;
5186        // console.log(lobby_tag);
5187        // console.log("promo", promo_tag);
5188        // console.log("game_ishot", game_ishot_tag);
5189        // console.log("vendor_isnew", vendor_isnew_tag);
5190            
5191        $(lobby_tag).each(function(index, element) {
5192            if (index === 0) {
5193                // Navbar Content
5194                class_name_tag = $(element).attr('class');
5195                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5196                // on LI(navar) or DIV Content
5197                element_tag = $(element).prop('tagName');
5198                if(vendor_isnew_tag == 1){
5199                    if( element_tag == 'LI'){
5200                        margin_promo = 20;
5201                    }else{
5202                        margin_promo =10;
5203                    }
5204
5205                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5206                }
5207
5208                if(promo_tag == 1){
5209                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5210                }
5211
5212                if(game_ishot_tag == 1){
5213                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
5214                }
5215                
5216            } else if (index === 1) {
5217                // Lobby Content
5218                class_name_tag = $(element).attr('class');
5219                selector_tag = '.' + class_name_tag.split(' ').join('.');
5220
5221                if(vendor_isnew_tag == 1){
5222                    margin_promo = 12;
5223                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5224                }
5225
5226                if(promo_tag == 1){
5227                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5228                }
5229
5230                if(game_ishot_tag == 1){
5231                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5232                }
5233            }
5234        });
5235
5236
5237                
5238        lobby_tag = ".lb-14601"
5239        promo_tag = "1";
5240        game_ishot_tag = "0";
5241        vendor_isnew_tag = "0";
5242        margin_promo = 0;
5243        // console.log(lobby_tag);
5244        // console.log("promo", promo_tag);
5245        // console.log("game_ishot", game_ishot_tag);
5246        // console.log("vendor_isnew", vendor_isnew_tag);
5247            
5248        $(lobby_tag).each(function(index, element) {
5249            if (index === 0) {
5250                // Navbar Content
5251                class_name_tag = $(element).attr('class');
5252                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5253                // on LI(navar) or DIV Content
5254                element_tag = $(element).prop('tagName');
5255                if(vendor_isnew_tag == 1){
5256                    if( element_tag == 'LI'){
5257                        margin_promo = 20;
5258                    }else{
5259                        margin_promo =10;
5260                    }
5261
5262                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5263                }
5264
5265                if(promo_tag == 1){
5266                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5267                }
5268
5269                if(game_ishot_tag == 1){
5270                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
5270left:10px;top:0;z-index:10;width:35px"></div>`);
5271                }
5272                
5273            } else if (index === 1) {
5274                // Lobby Content
5275                class_name_tag = $(element).attr('class');
5276                selector_tag = '.' + class_name_tag.split(' ').join('.');
5277
5278                if(vendor_isnew_tag == 1){
5279                    margin_promo = 12;
5280                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5281                }
5282
5283                if(promo_tag == 1){
5284                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5285                }
5286
5287                if(game_ishot_tag == 1){
5288                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5289                }
5290            }
5291        });
5292
5293
5294                
5295        lobby_tag = ".lb-2864"
5296        promo_tag = "1";
5297        game_ishot_tag = "0";
5298        vendor_isnew_tag = "0";
5299        margin_promo = 0;
5300        // console.log(lobby_tag);
5301        // console.log("promo", promo_tag);
5302        // console.log("game_ishot", game_ishot_tag);
5303        // console.log("vendor_isnew", vendor_isnew_tag);
5304            
5305        $(lobby_tag).each(function(index, element) {
5306            if (index === 0) {
5307                // Navbar Content
5308                class_name_tag = $(element).attr('class');
5309                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5310                // on LI(navar) or DIV Content
5311                element_tag = $(element).prop('tagName');
5312                if(vendor_isnew_tag == 1){
5313                    if( element_tag == 'LI'){
5314                        margin_promo = 20;
5315                    }else{
5316                        margin_promo =10;
5317                    }
5318
5319                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5320                }
5321
5322                if(promo_tag == 1){
5323                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5324                }
5325
5326                if(game_ishot_tag == 1){
5327                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
5328                }
5329                
5330            } else if (index === 1) {
5331                // Lobby Content
5332                class_name_tag = $(element).attr('class');
5333                selector_tag = '.' + class_name_tag.split(' ').join('.');
5334
5335                if(vendor_isnew_tag == 1){
5336                    margin_promo = 12;
5337                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5338                }
5339
5340                if(promo_tag == 1){
5341                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5342                }
5343
5344                if(game_ishot_tag == 1){
5345                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5346                }
5347            }
5348        });
5349
5350
5351                
5352        lobby_tag = ".lb-16463"
5353        promo_tag = "1";
5354        game_ishot_tag = "0";
5355        vendor_isnew_tag = "0";
5356        margin_promo = 0;
5357        // console.log(lobby_tag);
5358        // console.log("promo", promo_tag);
5359        // console.log("game_ishot", game_ishot_tag);
5360        // console.log("vendor_isnew", vendor_isnew_tag);
5361            
5362        $(lobby_tag).each(function(index, element) {
5363            if (index === 0) {
5364                // Navbar Content
5365                class_name_tag = $(element).attr('class');
5366                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5367                // on LI(navar) or DIV Content
5368                element_tag = $(element).prop('tagName');
5369                if(vendor_isnew_tag == 1){
5370                    if( element_tag == 'LI'){
5371                        margin_promo = 20;
5372                    }else{
5373                        margin_promo =10;
5374                    }
5375
5376                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5377                }
5378
5379                if(promo_tag == 1){
5380                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5381                }
5382
5383                if(game_ishot_tag == 1){
5384                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
5384left:10px;top:0;z-index:10;width:35px"></div>`);
5385                }
5386                
5387            } else if (index === 1) {
5388                // Lobby Content
5389                class_name_tag = $(element).attr('class');
5390                selector_tag = '.' + class_name_tag.split(' ').join('.');
5391
5392                if(vendor_isnew_tag == 1){
5393                    margin_promo = 12;
5394                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5395                }
5396
5397                if(promo_tag == 1){
5398                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5399                }
5400
5401                if(game_ishot_tag == 1){
5402                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5403                }
5404            }
5405        });
5406
5407
5408                
5409        lobby_tag = ".lb-19230"
5410        promo_tag = "1";
5411        game_ishot_tag = "0";
5412        vendor_isnew_tag = "0";
5413        margin_promo = 0;
5414        // console.log(lobby_tag);
5415        // console.log("promo", promo_tag);
5416        // console.log("game_ishot", game_ishot_tag);
5417        // console.log("vendor_isnew", vendor_isnew_tag);
5418            
5419        $(lobby_tag).each(function(index, element) {
5420            if (index === 0) {
5421                // Navbar Content
5422                class_name_tag = $(element).attr('class');
5423                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5424                // on LI(navar) or DIV Content
5425                element_tag = $(element).prop('tagName');
5426                if(vendor_isnew_tag == 1){
5427                    if( element_tag == 'LI'){
5428                        margin_promo = 20;
5429                    }else{
5430                        margin_promo =10;
5431                    }
5432
5433                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5434                }
5435
5436                if(promo_tag == 1){
5437                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5438                }
5439
5440                if(game_ishot_tag == 1){
5441                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
5442                }
5443                
5444            } else if (index === 1) {
5445                // Lobby Content
5446                class_name_tag = $(element).attr('class');
5447                selector_tag = '.' + class_name_tag.split(' ').join('.');
5448
5449                if(vendor_isnew_tag == 1){
5450                    margin_promo = 12;
5451                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5452                }
5453
5454                if(promo_tag == 1){
5455                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5456                }
5457
5458                if(game_ishot_tag == 1){
5459                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5460                }
5461            }
5462        });
5463
5464
5465                
5466        lobby_tag = ".lb-18062"
5467        promo_tag = "1";
5468        game_ishot_tag = "0";
5469        vendor_isnew_tag = "0";
5470        margin_promo = 0;
5471        // console.log(lobby_tag);
5472        // console.log("promo", promo_tag);
5473        // console.log("game_ishot", game_ishot_tag);
5474        // console.log("vendor_isnew", vendor_isnew_tag);
5475            
5476        $(lobby_tag).each(function(index, element) {
5477            if (index === 0) {
5478                // Navbar Content
5479                class_name_tag = $(element).attr('class');
5480                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5481                // on LI(navar) or DIV Content
5482                element_tag = $(element).prop('tagName');
5483                if(vendor_isnew_tag == 1){
5484                    if( element_tag == 'LI'){
5485                        margin_promo = 20;
5486                    }else{
5487                        margin_promo =10;
5488                    }
5489
5490                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5491                }
5492
5493                if(promo_tag == 1){
5494                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5495                }
5496
5497                if(game_ishot_tag == 1){
5498                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
5498left:10px;top:0;z-index:10;width:35px"></div>`);
5499                }
5500                
5501            } else if (index === 1) {
5502                // Lobby Content
5503                class_name_tag = $(element).attr('class');
5504                selector_tag = '.' + class_name_tag.split(' ').join('.');
5505
5506                if(vendor_isnew_tag == 1){
5507                    margin_promo = 12;
5508                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5509                }
5510
5511                if(promo_tag == 1){
5512                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5513                }
5514
5515                if(game_ishot_tag == 1){
5516                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5517                }
5518            }
5519        });
5520
5521
5522                
5523        lobby_tag = ".lb-21547"
5524        promo_tag = "1";
5525        game_ishot_tag = "0";
5526        vendor_isnew_tag = "0";
5527        margin_promo = 0;
5528        // console.log(lobby_tag);
5529        // console.log("promo", promo_tag);
5530        // console.log("game_ishot", game_ishot_tag);
5531        // console.log("vendor_isnew", vendor_isnew_tag);
5532            
5533        $(lobby_tag).each(function(index, element) {
5534            if (index === 0) {
5535                // Navbar Content
5536                class_name_tag = $(element).attr('class');
5537                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5538                // on LI(navar) or DIV Content
5539                element_tag = $(element).prop('tagName');
5540                if(vendor_isnew_tag == 1){
5541                    if( element_tag == 'LI'){
5542                        margin_promo = 20;
5543                    }else{
5544                        margin_promo =10;
5545                    }
5546
5547                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5548                }
5549
5550                if(promo_tag == 1){
5551                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5552                }
5553
5554                if(game_ishot_tag == 1){
5555                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
5556                }
5557                
5558            } else if (index === 1) {
5559                // Lobby Content
5560                class_name_tag = $(element).attr('class');
5561                selector_tag = '.' + class_name_tag.split(' ').join('.');
5562
5563                if(vendor_isnew_tag == 1){
5564                    margin_promo = 12;
5565                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5566                }
5567
5568                if(promo_tag == 1){
5569                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5570                }
5571
5572                if(game_ishot_tag == 1){
5573                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5574                }
5575            }
5576        });
5577
5578
5579                
5580        lobby_tag = ".lb-20734"
5581        promo_tag = "1";
5582        game_ishot_tag = "0";
5583        vendor_isnew_tag = "0";
5584        margin_promo = 0;
5585        // console.log(lobby_tag);
5586        // console.log("promo", promo_tag);
5587        // console.log("game_ishot", game_ishot_tag);
5588        // console.log("vendor_isnew", vendor_isnew_tag);
5589            
5590        $(lobby_tag).each(function(index, element) {
5591            if (index === 0) {
5592                // Navbar Content
5593                class_name_tag = $(element).attr('class');
5594                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5595                // on LI(navar) or DIV Content
5596                element_tag = $(element).prop('tagName');
5597                if(vendor_isnew_tag == 1){
5598                    if( element_tag == 'LI'){
5599                        margin_promo = 20;
5600                    }else{
5601                        margin_promo =10;
5602                    }
5603
5604                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5605                }
5606
5607                if(promo_tag == 1){
5608                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5609                }
5610
5611                if(game_ishot_tag == 1){
5612                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
5612left:10px;top:0;z-index:10;width:35px"></div>`);
5613                }
5614                
5615            } else if (index === 1) {
5616                // Lobby Content
5617                class_name_tag = $(element).attr('class');
5618                selector_tag = '.' + class_name_tag.split(' ').join('.');
5619
5620                if(vendor_isnew_tag == 1){
5621                    margin_promo = 12;
5622                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5623                }
5624
5625                if(promo_tag == 1){
5626                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5627                }
5628
5629                if(game_ishot_tag == 1){
5630                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5631                }
5632            }
5633        });
5634
5635
5636                
5637        lobby_tag = ".lb-2233"
5638        promo_tag = "1";
5639        game_ishot_tag = "0";
5640        vendor_isnew_tag = "0";
5641        margin_promo = 0;
5642        // console.log(lobby_tag);
5643        // console.log("promo", promo_tag);
5644        // console.log("game_ishot", game_ishot_tag);
5645        // console.log("vendor_isnew", vendor_isnew_tag);
5646            
5647        $(lobby_tag).each(function(index, element) {
5648            if (index === 0) {
5649                // Navbar Content
5650                class_name_tag = $(element).attr('class');
5651                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5652                // on LI(navar) or DIV Content
5653                element_tag = $(element).prop('tagName');
5654                if(vendor_isnew_tag == 1){
5655                    if( element_tag == 'LI'){
5656                        margin_promo = 20;
5657                    }else{
5658                        margin_promo =10;
5659                    }
5660
5661                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5662                }
5663
5664                if(promo_tag == 1){
5665                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5666                }
5667
5668                if(game_ishot_tag == 1){
5669                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
5670                }
5671                
5672            } else if (index === 1) {
5673                // Lobby Content
5674                class_name_tag = $(element).attr('class');
5675                selector_tag = '.' + class_name_tag.split(' ').join('.');
5676
5677                if(vendor_isnew_tag == 1){
5678                    margin_promo = 12;
5679                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5680                }
5681
5682                if(promo_tag == 1){
5683                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5684                }
5685
5686                if(game_ishot_tag == 1){
5687                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5688                }
5689            }
5690        });
5691
5692
5693                
5694        lobby_tag = ".lb-18307"
5695        promo_tag = "1";
5696        game_ishot_tag = "0";
5697        vendor_isnew_tag = "0";
5698        margin_promo = 0;
5699        // console.log(lobby_tag);
5700        // console.log("promo", promo_tag);
5701        // console.log("game_ishot", game_ishot_tag);
5702        // console.log("vendor_isnew", vendor_isnew_tag);
5703            
5704        $(lobby_tag).each(function(index, element) {
5705            if (index === 0) {
5706                // Navbar Content
5707                class_name_tag = $(element).attr('class');
5708                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5709                // on LI(navar) or DIV Content
5710                element_tag = $(element).prop('tagName');
5711                if(vendor_isnew_tag == 1){
5712                    if( element_tag == 'LI'){
5713                        margin_promo = 20;
5714                    }else{
5715                        margin_promo =10;
5716                    }
5717
5718                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5719                }
5720
5721                if(promo_tag == 1){
5722                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5723                }
5724
5725                if(game_ishot_tag == 1){
5726                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
5726left:10px;top:0;z-index:10;width:35px"></div>`);
5727                }
5728                
5729            } else if (index === 1) {
5730                // Lobby Content
5731                class_name_tag = $(element).attr('class');
5732                selector_tag = '.' + class_name_tag.split(' ').join('.');
5733
5734                if(vendor_isnew_tag == 1){
5735                    margin_promo = 12;
5736                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5737                }
5738
5739                if(promo_tag == 1){
5740                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5741                }
5742
5743                if(game_ishot_tag == 1){
5744                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5745                }
5746            }
5747        });
5748
5749
5750                
5751        lobby_tag = ".lb-23759"
5752        promo_tag = "1";
5753        game_ishot_tag = "0";
5754        vendor_isnew_tag = "0";
5755        margin_promo = 0;
5756        // console.log(lobby_tag);
5757        // console.log("promo", promo_tag);
5758        // console.log("game_ishot", game_ishot_tag);
5759        // console.log("vendor_isnew", vendor_isnew_tag);
5760            
5761        $(lobby_tag).each(function(index, element) {
5762            if (index === 0) {
5763                // Navbar Content
5764                class_name_tag = $(element).attr('class');
5765                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5766                // on LI(navar) or DIV Content
5767                element_tag = $(element).prop('tagName');
5768                if(vendor_isnew_tag == 1){
5769                    if( element_tag == 'LI'){
5770                        margin_promo = 20;
5771                    }else{
5772                        margin_promo =10;
5773                    }
5774
5775                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5776                }
5777
5778                if(promo_tag == 1){
5779                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5780                }
5781
5782                if(game_ishot_tag == 1){
5783                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
5784                }
5785                
5786            } else if (index === 1) {
5787                // Lobby Content
5788                class_name_tag = $(element).attr('class');
5789                selector_tag = '.' + class_name_tag.split(' ').join('.');
5790
5791                if(vendor_isnew_tag == 1){
5792                    margin_promo = 12;
5793                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5794                }
5795
5796                if(promo_tag == 1){
5797                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5798                }
5799
5800                if(game_ishot_tag == 1){
5801                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5802                }
5803            }
5804        });
5805
5806
5807                
5808        lobby_tag = ".lb-16503"
5809        promo_tag = "1";
5810        game_ishot_tag = "0";
5811        vendor_isnew_tag = "0";
5812        margin_promo = 0;
5813        // console.log(lobby_tag);
5814        // console.log("promo", promo_tag);
5815        // console.log("game_ishot", game_ishot_tag);
5816        // console.log("vendor_isnew", vendor_isnew_tag);
5817            
5818        $(lobby_tag).each(function(index, element) {
5819            if (index === 0) {
5820                // Navbar Content
5821                class_name_tag = $(element).attr('class');
5822                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5823                // on LI(navar) or DIV Content
5824                element_tag = $(element).prop('tagName');
5825                if(vendor_isnew_tag == 1){
5826                    if( element_tag == 'LI'){
5827                        margin_promo = 20;
5828                    }else{
5829                        margin_promo =10;
5830                    }
5831
5832                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5833                }
5834
5835                if(promo_tag == 1){
5836                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5837                }
5838
5839                if(game_ishot_tag == 1){
5840                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
5840left:10px;top:0;z-index:10;width:35px"></div>`);
5841                }
5842                
5843            } else if (index === 1) {
5844                // Lobby Content
5845                class_name_tag = $(element).attr('class');
5846                selector_tag = '.' + class_name_tag.split(' ').join('.');
5847
5848                if(vendor_isnew_tag == 1){
5849                    margin_promo = 12;
5850                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5851                }
5852
5853                if(promo_tag == 1){
5854                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5855                }
5856
5857                if(game_ishot_tag == 1){
5858                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5859                }
5860            }
5861        });
5862
5863
5864                                
5865        lobby_tag = ".lb-160"
5866        promo_tag = "1";
5867        game_ishot_tag = "0";
5868        vendor_isnew_tag = "0";
5869        margin_promo = 0;
5870        // console.log(lobby_tag);
5871        // console.log("promo", promo_tag);
5872        // console.log("game_ishot", game_ishot_tag);
5873        // console.log("vendor_isnew", vendor_isnew_tag);
5874            
5875        $(lobby_tag).each(function(index, element) {
5876            if (index === 0) {
5877                // Navbar Content
5878                class_name_tag = $(element).attr('class');
5879                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5880                // on LI(navar) or DIV Content
5881                element_tag = $(element).prop('tagName');
5882                if(vendor_isnew_tag == 1){
5883                    if( element_tag == 'LI'){
5884                        margin_promo = 20;
5885                    }else{
5886                        margin_promo =10;
5887                    }
5888
5889                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5890                }
5891
5892                if(promo_tag == 1){
5893                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5894                }
5895
5896                if(game_ishot_tag == 1){
5897                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
5898                }
5899                
5900            } else if (index === 1) {
5901                // Lobby Content
5902                class_name_tag = $(element).attr('class');
5903                selector_tag = '.' + class_name_tag.split(' ').join('.');
5904
5905                if(vendor_isnew_tag == 1){
5906                    margin_promo = 12;
5907                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5908                }
5909
5910                if(promo_tag == 1){
5911                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5912                }
5913
5914                if(game_ishot_tag == 1){
5915                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5916                }
5917            }
5918        });
5919
5920
5921                
5922        lobby_tag = ".lb-12199"
5923        promo_tag = "1";
5924        game_ishot_tag = "0";
5925        vendor_isnew_tag = "0";
5926        margin_promo = 0;
5927        // console.log(lobby_tag);
5928        // console.log("promo", promo_tag);
5929        // console.log("game_ishot", game_ishot_tag);
5930        // console.log("vendor_isnew", vendor_isnew_tag);
5931            
5932        $(lobby_tag).each(function(index, element) {
5933            if (index === 0) {
5934                // Navbar Content
5935                class_name_tag = $(element).attr('class');
5936                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5937                // on LI(navar) or DIV Content
5938                element_tag = $(element).prop('tagName');
5939                if(vendor_isnew_tag == 1){
5940                    if( element_tag == 'LI'){
5941                        margin_promo = 20;
5942                    }else{
5943                        margin_promo =10;
5944                    }
5945
5946                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5947                }
5948
5949                if(promo_tag == 1){
5950                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5951                }
5952
5953                if(game_ishot_tag == 1){
5954                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
5954left:10px;top:0;z-index:10;width:35px"></div>`);
5955                }
5956                
5957            } else if (index === 1) {
5958                // Lobby Content
5959                class_name_tag = $(element).attr('class');
5960                selector_tag = '.' + class_name_tag.split(' ').join('.');
5961
5962                if(vendor_isnew_tag == 1){
5963                    margin_promo = 12;
5964                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
5965                }
5966
5967                if(promo_tag == 1){
5968                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
5969                }
5970
5971                if(game_ishot_tag == 1){
5972                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
5973                }
5974            }
5975        });
5976
5977
5978                
5979        lobby_tag = ".lb-2104"
5980        promo_tag = "1";
5981        game_ishot_tag = "0";
5982        vendor_isnew_tag = "0";
5983        margin_promo = 0;
5984        // console.log(lobby_tag);
5985        // console.log("promo", promo_tag);
5986        // console.log("game_ishot", game_ishot_tag);
5987        // console.log("vendor_isnew", vendor_isnew_tag);
5988            
5989        $(lobby_tag).each(function(index, element) {
5990            if (index === 0) {
5991                // Navbar Content
5992                class_name_tag = $(element).attr('class');
5993                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
5994                // on LI(navar) or DIV Content
5995                element_tag = $(element).prop('tagName');
5996                if(vendor_isnew_tag == 1){
5997                    if( element_tag == 'LI'){
5998                        margin_promo = 20;
5999                    }else{
6000                        margin_promo =10;
6001                    }
6002
6003                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6004                }
6005
6006                if(promo_tag == 1){
6007                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6008                }
6009
6010                if(game_ishot_tag == 1){
6011                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
6012                }
6013                
6014            } else if (index === 1) {
6015                // Lobby Content
6016                class_name_tag = $(element).attr('class');
6017                selector_tag = '.' + class_name_tag.split(' ').join('.');
6018
6019                if(vendor_isnew_tag == 1){
6020                    margin_promo = 12;
6021                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6022                }
6023
6024                if(promo_tag == 1){
6025                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6026                }
6027
6028                if(game_ishot_tag == 1){
6029                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6030                }
6031            }
6032        });
6033
6034
6035                
6036        lobby_tag = ".lb-1102"
6037        promo_tag = "1";
6038        game_ishot_tag = "0";
6039        vendor_isnew_tag = "0";
6040        margin_promo = 0;
6041        // console.log(lobby_tag);
6042        // console.log("promo", promo_tag);
6043        // console.log("game_ishot", game_ishot_tag);
6044        // console.log("vendor_isnew", vendor_isnew_tag);
6045            
6046        $(lobby_tag).each(function(index, element) {
6047            if (index === 0) {
6048                // Navbar Content
6049                class_name_tag = $(element).attr('class');
6050                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6051                // on LI(navar) or DIV Content
6052                element_tag = $(element).prop('tagName');
6053                if(vendor_isnew_tag == 1){
6054                    if( element_tag == 'LI'){
6055                        margin_promo = 20;
6056                    }else{
6057                        margin_promo =10;
6058                    }
6059
6060                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6061                }
6062
6063                if(promo_tag == 1){
6064                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6065                }
6066
6067                if(game_ishot_tag == 1){
6068                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
6068left:10px;top:0;z-index:10;width:35px"></div>`);
6069                }
6070                
6071            } else if (index === 1) {
6072                // Lobby Content
6073                class_name_tag = $(element).attr('class');
6074                selector_tag = '.' + class_name_tag.split(' ').join('.');
6075
6076                if(vendor_isnew_tag == 1){
6077                    margin_promo = 12;
6078                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6079                }
6080
6081                if(promo_tag == 1){
6082                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6083                }
6084
6085                if(game_ishot_tag == 1){
6086                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6087                }
6088            }
6089        });
6090
6091
6092                
6093        lobby_tag = ".lb-23612"
6094        promo_tag = "1";
6095        game_ishot_tag = "0";
6096        vendor_isnew_tag = "0";
6097        margin_promo = 0;
6098        // console.log(lobby_tag);
6099        // console.log("promo", promo_tag);
6100        // console.log("game_ishot", game_ishot_tag);
6101        // console.log("vendor_isnew", vendor_isnew_tag);
6102            
6103        $(lobby_tag).each(function(index, element) {
6104            if (index === 0) {
6105                // Navbar Content
6106                class_name_tag = $(element).attr('class');
6107                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6108                // on LI(navar) or DIV Content
6109                element_tag = $(element).prop('tagName');
6110                if(vendor_isnew_tag == 1){
6111                    if( element_tag == 'LI'){
6112                        margin_promo = 20;
6113                    }else{
6114                        margin_promo =10;
6115                    }
6116
6117                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6118                }
6119
6120                if(promo_tag == 1){
6121                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6122                }
6123
6124                if(game_ishot_tag == 1){
6125                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
6126                }
6127                
6128            } else if (index === 1) {
6129                // Lobby Content
6130                class_name_tag = $(element).attr('class');
6131                selector_tag = '.' + class_name_tag.split(' ').join('.');
6132
6133                if(vendor_isnew_tag == 1){
6134                    margin_promo = 12;
6135                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6136                }
6137
6138                if(promo_tag == 1){
6139                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6140                }
6141
6142                if(game_ishot_tag == 1){
6143                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6144                }
6145            }
6146        });
6147
6148
6149                
6150        lobby_tag = ".lb-25239"
6151        promo_tag = "1";
6152        game_ishot_tag = "0";
6153        vendor_isnew_tag = "0";
6154        margin_promo = 0;
6155        // console.log(lobby_tag);
6156        // console.log("promo", promo_tag);
6157        // console.log("game_ishot", game_ishot_tag);
6158        // console.log("vendor_isnew", vendor_isnew_tag);
6159            
6160        $(lobby_tag).each(function(index, element) {
6161            if (index === 0) {
6162                // Navbar Content
6163                class_name_tag = $(element).attr('class');
6164                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6165                // on LI(navar) or DIV Content
6166                element_tag = $(element).prop('tagName');
6167                if(vendor_isnew_tag == 1){
6168                    if( element_tag == 'LI'){
6169                        margin_promo = 20;
6170                    }else{
6171                        margin_promo =10;
6172                    }
6173
6174                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6175                }
6176
6177                if(promo_tag == 1){
6178                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6179                }
6180
6181                if(game_ishot_tag == 1){
6182                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
6182left:10px;top:0;z-index:10;width:35px"></div>`);
6183                }
6184                
6185            } else if (index === 1) {
6186                // Lobby Content
6187                class_name_tag = $(element).attr('class');
6188                selector_tag = '.' + class_name_tag.split(' ').join('.');
6189
6190                if(vendor_isnew_tag == 1){
6191                    margin_promo = 12;
6192                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6193                }
6194
6195                if(promo_tag == 1){
6196                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6197                }
6198
6199                if(game_ishot_tag == 1){
6200                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6201                }
6202            }
6203        });
6204
6205
6206                
6207        lobby_tag = ".lb-10415"
6208        promo_tag = "1";
6209        game_ishot_tag = "0";
6210        vendor_isnew_tag = "0";
6211        margin_promo = 0;
6212        // console.log(lobby_tag);
6213        // console.log("promo", promo_tag);
6214        // console.log("game_ishot", game_ishot_tag);
6215        // console.log("vendor_isnew", vendor_isnew_tag);
6216            
6217        $(lobby_tag).each(function(index, element) {
6218            if (index === 0) {
6219                // Navbar Content
6220                class_name_tag = $(element).attr('class');
6221                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6222                // on LI(navar) or DIV Content
6223                element_tag = $(element).prop('tagName');
6224                if(vendor_isnew_tag == 1){
6225                    if( element_tag == 'LI'){
6226                        margin_promo = 20;
6227                    }else{
6228                        margin_promo =10;
6229                    }
6230
6231                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6232                }
6233
6234                if(promo_tag == 1){
6235                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6236                }
6237
6238                if(game_ishot_tag == 1){
6239                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
6240                }
6241                
6242            } else if (index === 1) {
6243                // Lobby Content
6244                class_name_tag = $(element).attr('class');
6245                selector_tag = '.' + class_name_tag.split(' ').join('.');
6246
6247                if(vendor_isnew_tag == 1){
6248                    margin_promo = 12;
6249                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6250                }
6251
6252                if(promo_tag == 1){
6253                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6254                }
6255
6256                if(game_ishot_tag == 1){
6257                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6258                }
6259            }
6260        });
6261
6262
6263                
6264        lobby_tag = ".lb-2687"
6265        promo_tag = "1";
6266        game_ishot_tag = "0";
6267        vendor_isnew_tag = "0";
6268        margin_promo = 0;
6269        // console.log(lobby_tag);
6270        // console.log("promo", promo_tag);
6271        // console.log("game_ishot", game_ishot_tag);
6272        // console.log("vendor_isnew", vendor_isnew_tag);
6273            
6274        $(lobby_tag).each(function(index, element) {
6275            if (index === 0) {
6276                // Navbar Content
6277                class_name_tag = $(element).attr('class');
6278                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6279                // on LI(navar) or DIV Content
6280                element_tag = $(element).prop('tagName');
6281                if(vendor_isnew_tag == 1){
6282                    if( element_tag == 'LI'){
6283                        margin_promo = 20;
6284                    }else{
6285                        margin_promo =10;
6286                    }
6287
6288                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6289                }
6290
6291                if(promo_tag == 1){
6292                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6293                }
6294
6295                if(game_ishot_tag == 1){
6296                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
6296left:10px;top:0;z-index:10;width:35px"></div>`);
6297                }
6298                
6299            } else if (index === 1) {
6300                // Lobby Content
6301                class_name_tag = $(element).attr('class');
6302                selector_tag = '.' + class_name_tag.split(' ').join('.');
6303
6304                if(vendor_isnew_tag == 1){
6305                    margin_promo = 12;
6306                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6307                }
6308
6309                if(promo_tag == 1){
6310                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6311                }
6312
6313                if(game_ishot_tag == 1){
6314                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6315                }
6316            }
6317        });
6318
6319
6320                
6321        lobby_tag = ".lb-19986"
6322        promo_tag = "1";
6323        game_ishot_tag = "0";
6324        vendor_isnew_tag = "0";
6325        margin_promo = 0;
6326        // console.log(lobby_tag);
6327        // console.log("promo", promo_tag);
6328        // console.log("game_ishot", game_ishot_tag);
6329        // console.log("vendor_isnew", vendor_isnew_tag);
6330            
6331        $(lobby_tag).each(function(index, element) {
6332            if (index === 0) {
6333                // Navbar Content
6334                class_name_tag = $(element).attr('class');
6335                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6336                // on LI(navar) or DIV Content
6337                element_tag = $(element).prop('tagName');
6338                if(vendor_isnew_tag == 1){
6339                    if( element_tag == 'LI'){
6340                        margin_promo = 20;
6341                    }else{
6342                        margin_promo =10;
6343                    }
6344
6345                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6346                }
6347
6348                if(promo_tag == 1){
6349                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6350                }
6351
6352                if(game_ishot_tag == 1){
6353                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
6354                }
6355                
6356            } else if (index === 1) {
6357                // Lobby Content
6358                class_name_tag = $(element).attr('class');
6359                selector_tag = '.' + class_name_tag.split(' ').join('.');
6360
6361                if(vendor_isnew_tag == 1){
6362                    margin_promo = 12;
6363                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6364                }
6365
6366                if(promo_tag == 1){
6367                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6368                }
6369
6370                if(game_ishot_tag == 1){
6371                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6372                }
6373            }
6374        });
6375
6376
6377                
6378        lobby_tag = ".lb-2101"
6379        promo_tag = "1";
6380        game_ishot_tag = "0";
6381        vendor_isnew_tag = "0";
6382        margin_promo = 0;
6383        // console.log(lobby_tag);
6384        // console.log("promo", promo_tag);
6385        // console.log("game_ishot", game_ishot_tag);
6386        // console.log("vendor_isnew", vendor_isnew_tag);
6387            
6388        $(lobby_tag).each(function(index, element) {
6389            if (index === 0) {
6390                // Navbar Content
6391                class_name_tag = $(element).attr('class');
6392                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6393                // on LI(navar) or DIV Content
6394                element_tag = $(element).prop('tagName');
6395                if(vendor_isnew_tag == 1){
6396                    if( element_tag == 'LI'){
6397                        margin_promo = 20;
6398                    }else{
6399                        margin_promo =10;
6400                    }
6401
6402                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6403                }
6404
6405                if(promo_tag == 1){
6406                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6407                }
6408
6409                if(game_ishot_tag == 1){
6410                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
6410left:10px;top:0;z-index:10;width:35px"></div>`);
6411                }
6412                
6413            } else if (index === 1) {
6414                // Lobby Content
6415                class_name_tag = $(element).attr('class');
6416                selector_tag = '.' + class_name_tag.split(' ').join('.');
6417
6418                if(vendor_isnew_tag == 1){
6419                    margin_promo = 12;
6420                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6421                }
6422
6423                if(promo_tag == 1){
6424                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6425                }
6426
6427                if(game_ishot_tag == 1){
6428                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6429                }
6430            }
6431        });
6432
6433
6434                
6435        lobby_tag = ".lb-14292"
6436        promo_tag = "1";
6437        game_ishot_tag = "0";
6438        vendor_isnew_tag = "0";
6439        margin_promo = 0;
6440        // console.log(lobby_tag);
6441        // console.log("promo", promo_tag);
6442        // console.log("game_ishot", game_ishot_tag);
6443        // console.log("vendor_isnew", vendor_isnew_tag);
6444            
6445        $(lobby_tag).each(function(index, element) {
6446            if (index === 0) {
6447                // Navbar Content
6448                class_name_tag = $(element).attr('class');
6449                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6450                // on LI(navar) or DIV Content
6451                element_tag = $(element).prop('tagName');
6452                if(vendor_isnew_tag == 1){
6453                    if( element_tag == 'LI'){
6454                        margin_promo = 20;
6455                    }else{
6456                        margin_promo =10;
6457                    }
6458
6459                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6460                }
6461
6462                if(promo_tag == 1){
6463                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6464                }
6465
6466                if(game_ishot_tag == 1){
6467                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
6468                }
6469                
6470            } else if (index === 1) {
6471                // Lobby Content
6472                class_name_tag = $(element).attr('class');
6473                selector_tag = '.' + class_name_tag.split(' ').join('.');
6474
6475                if(vendor_isnew_tag == 1){
6476                    margin_promo = 12;
6477                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6478                }
6479
6480                if(promo_tag == 1){
6481                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6482                }
6483
6484                if(game_ishot_tag == 1){
6485                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6486                }
6487            }
6488        });
6489
6490
6491                
6492        lobby_tag = ".lb-10425"
6493        promo_tag = "1";
6494        game_ishot_tag = "0";
6495        vendor_isnew_tag = "0";
6496        margin_promo = 0;
6497        // console.log(lobby_tag);
6498        // console.log("promo", promo_tag);
6499        // console.log("game_ishot", game_ishot_tag);
6500        // console.log("vendor_isnew", vendor_isnew_tag);
6501            
6502        $(lobby_tag).each(function(index, element) {
6503            if (index === 0) {
6504                // Navbar Content
6505                class_name_tag = $(element).attr('class');
6506                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6507                // on LI(navar) or DIV Content
6508                element_tag = $(element).prop('tagName');
6509                if(vendor_isnew_tag == 1){
6510                    if( element_tag == 'LI'){
6511                        margin_promo = 20;
6512                    }else{
6513                        margin_promo =10;
6514                    }
6515
6516                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6517                }
6518
6519                if(promo_tag == 1){
6520                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6521                }
6522
6523                if(game_ishot_tag == 1){
6524                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
6524left:10px;top:0;z-index:10;width:35px"></div>`);
6525                }
6526                
6527            } else if (index === 1) {
6528                // Lobby Content
6529                class_name_tag = $(element).attr('class');
6530                selector_tag = '.' + class_name_tag.split(' ').join('.');
6531
6532                if(vendor_isnew_tag == 1){
6533                    margin_promo = 12;
6534                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6535                }
6536
6537                if(promo_tag == 1){
6538                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6539                }
6540
6541                if(game_ishot_tag == 1){
6542                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6543                }
6544            }
6545        });
6546
6547
6548                
6549        lobby_tag = ".lb-19199"
6550        promo_tag = "1";
6551        game_ishot_tag = "0";
6552        vendor_isnew_tag = "0";
6553        margin_promo = 0;
6554        // console.log(lobby_tag);
6555        // console.log("promo", promo_tag);
6556        // console.log("game_ishot", game_ishot_tag);
6557        // console.log("vendor_isnew", vendor_isnew_tag);
6558            
6559        $(lobby_tag).each(function(index, element) {
6560            if (index === 0) {
6561                // Navbar Content
6562                class_name_tag = $(element).attr('class');
6563                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6564                // on LI(navar) or DIV Content
6565                element_tag = $(element).prop('tagName');
6566                if(vendor_isnew_tag == 1){
6567                    if( element_tag == 'LI'){
6568                        margin_promo = 20;
6569                    }else{
6570                        margin_promo =10;
6571                    }
6572
6573                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6574                }
6575
6576                if(promo_tag == 1){
6577                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6578                }
6579
6580                if(game_ishot_tag == 1){
6581                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
6582                }
6583                
6584            } else if (index === 1) {
6585                // Lobby Content
6586                class_name_tag = $(element).attr('class');
6587                selector_tag = '.' + class_name_tag.split(' ').join('.');
6588
6589                if(vendor_isnew_tag == 1){
6590                    margin_promo = 12;
6591                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6592                }
6593
6594                if(promo_tag == 1){
6595                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6596                }
6597
6598                if(game_ishot_tag == 1){
6599                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6600                }
6601            }
6602        });
6603
6604
6605                
6606        lobby_tag = ".lb-19567"
6607        promo_tag = "1";
6608        game_ishot_tag = "0";
6609        vendor_isnew_tag = "0";
6610        margin_promo = 0;
6611        // console.log(lobby_tag);
6612        // console.log("promo", promo_tag);
6613        // console.log("game_ishot", game_ishot_tag);
6614        // console.log("vendor_isnew", vendor_isnew_tag);
6615            
6616        $(lobby_tag).each(function(index, element) {
6617            if (index === 0) {
6618                // Navbar Content
6619                class_name_tag = $(element).attr('class');
6620                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6621                // on LI(navar) or DIV Content
6622                element_tag = $(element).prop('tagName');
6623                if(vendor_isnew_tag == 1){
6624                    if( element_tag == 'LI'){
6625                        margin_promo = 20;
6626                    }else{
6627                        margin_promo =10;
6628                    }
6629
6630                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6631                }
6632
6633                if(promo_tag == 1){
6634                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6635                }
6636
6637                if(game_ishot_tag == 1){
6638                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
6638left:10px;top:0;z-index:10;width:35px"></div>`);
6639                }
6640                
6641            } else if (index === 1) {
6642                // Lobby Content
6643                class_name_tag = $(element).attr('class');
6644                selector_tag = '.' + class_name_tag.split(' ').join('.');
6645
6646                if(vendor_isnew_tag == 1){
6647                    margin_promo = 12;
6648                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6649                }
6650
6651                if(promo_tag == 1){
6652                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6653                }
6654
6655                if(game_ishot_tag == 1){
6656                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6657                }
6658            }
6659        });
6660
6661
6662                
6663        lobby_tag = ".lb-10150"
6664        promo_tag = "1";
6665        game_ishot_tag = "0";
6666        vendor_isnew_tag = "0";
6667        margin_promo = 0;
6668        // console.log(lobby_tag);
6669        // console.log("promo", promo_tag);
6670        // console.log("game_ishot", game_ishot_tag);
6671        // console.log("vendor_isnew", vendor_isnew_tag);
6672            
6673        $(lobby_tag).each(function(index, element) {
6674            if (index === 0) {
6675                // Navbar Content
6676                class_name_tag = $(element).attr('class');
6677                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6678                // on LI(navar) or DIV Content
6679                element_tag = $(element).prop('tagName');
6680                if(vendor_isnew_tag == 1){
6681                    if( element_tag == 'LI'){
6682                        margin_promo = 20;
6683                    }else{
6684                        margin_promo =10;
6685                    }
6686
6687                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6688                }
6689
6690                if(promo_tag == 1){
6691                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6692                }
6693
6694                if(game_ishot_tag == 1){
6695                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
6696                }
6697                
6698            } else if (index === 1) {
6699                // Lobby Content
6700                class_name_tag = $(element).attr('class');
6701                selector_tag = '.' + class_name_tag.split(' ').join('.');
6702
6703                if(vendor_isnew_tag == 1){
6704                    margin_promo = 12;
6705                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6706                }
6707
6708                if(promo_tag == 1){
6709                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6710                }
6711
6712                if(game_ishot_tag == 1){
6713                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6714                }
6715            }
6716        });
6717
6718
6719                
6720        lobby_tag = ".lb-16288"
6721        promo_tag = "1";
6722        game_ishot_tag = "0";
6723        vendor_isnew_tag = "0";
6724        margin_promo = 0;
6725        // console.log(lobby_tag);
6726        // console.log("promo", promo_tag);
6727        // console.log("game_ishot", game_ishot_tag);
6728        // console.log("vendor_isnew", vendor_isnew_tag);
6729            
6730        $(lobby_tag).each(function(index, element) {
6731            if (index === 0) {
6732                // Navbar Content
6733                class_name_tag = $(element).attr('class');
6734                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6735                // on LI(navar) or DIV Content
6736                element_tag = $(element).prop('tagName');
6737                if(vendor_isnew_tag == 1){
6738                    if( element_tag == 'LI'){
6739                        margin_promo = 20;
6740                    }else{
6741                        margin_promo =10;
6742                    }
6743
6744                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6745                }
6746
6747                if(promo_tag == 1){
6748                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6749                }
6750
6751                if(game_ishot_tag == 1){
6752                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
6752left:10px;top:0;z-index:10;width:35px"></div>`);
6753                }
6754                
6755            } else if (index === 1) {
6756                // Lobby Content
6757                class_name_tag = $(element).attr('class');
6758                selector_tag = '.' + class_name_tag.split(' ').join('.');
6759
6760                if(vendor_isnew_tag == 1){
6761                    margin_promo = 12;
6762                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6763                }
6764
6765                if(promo_tag == 1){
6766                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6767                }
6768
6769                if(game_ishot_tag == 1){
6770                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6771                }
6772            }
6773        });
6774
6775
6776                
6777        lobby_tag = ".lb-10422"
6778        promo_tag = "1";
6779        game_ishot_tag = "0";
6780        vendor_isnew_tag = "0";
6781        margin_promo = 0;
6782        // console.log(lobby_tag);
6783        // console.log("promo", promo_tag);
6784        // console.log("game_ishot", game_ishot_tag);
6785        // console.log("vendor_isnew", vendor_isnew_tag);
6786            
6787        $(lobby_tag).each(function(index, element) {
6788            if (index === 0) {
6789                // Navbar Content
6790                class_name_tag = $(element).attr('class');
6791                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6792                // on LI(navar) or DIV Content
6793                element_tag = $(element).prop('tagName');
6794                if(vendor_isnew_tag == 1){
6795                    if( element_tag == 'LI'){
6796                        margin_promo = 20;
6797                    }else{
6798                        margin_promo =10;
6799                    }
6800
6801                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6802                }
6803
6804                if(promo_tag == 1){
6805                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6806                }
6807
6808                if(game_ishot_tag == 1){
6809                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
6810                }
6811                
6812            } else if (index === 1) {
6813                // Lobby Content
6814                class_name_tag = $(element).attr('class');
6815                selector_tag = '.' + class_name_tag.split(' ').join('.');
6816
6817                if(vendor_isnew_tag == 1){
6818                    margin_promo = 12;
6819                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6820                }
6821
6822                if(promo_tag == 1){
6823                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6824                }
6825
6826                if(game_ishot_tag == 1){
6827                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6828                }
6829            }
6830        });
6831
6832
6833                
6834        lobby_tag = ".lb-16059"
6835        promo_tag = "1";
6836        game_ishot_tag = "0";
6837        vendor_isnew_tag = "0";
6838        margin_promo = 0;
6839        // console.log(lobby_tag);
6840        // console.log("promo", promo_tag);
6841        // console.log("game_ishot", game_ishot_tag);
6842        // console.log("vendor_isnew", vendor_isnew_tag);
6843            
6844        $(lobby_tag).each(function(index, element) {
6845            if (index === 0) {
6846                // Navbar Content
6847                class_name_tag = $(element).attr('class');
6848                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6849                // on LI(navar) or DIV Content
6850                element_tag = $(element).prop('tagName');
6851                if(vendor_isnew_tag == 1){
6852                    if( element_tag == 'LI'){
6853                        margin_promo = 20;
6854                    }else{
6855                        margin_promo =10;
6856                    }
6857
6858                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6859                }
6860
6861                if(promo_tag == 1){
6862                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6863                }
6864
6865                if(game_ishot_tag == 1){
6866                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
6866left:10px;top:0;z-index:10;width:35px"></div>`);
6867                }
6868                
6869            } else if (index === 1) {
6870                // Lobby Content
6871                class_name_tag = $(element).attr('class');
6872                selector_tag = '.' + class_name_tag.split(' ').join('.');
6873
6874                if(vendor_isnew_tag == 1){
6875                    margin_promo = 12;
6876                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6877                }
6878
6879                if(promo_tag == 1){
6880                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6881                }
6882
6883                if(game_ishot_tag == 1){
6884                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6885                }
6886            }
6887        });
6888
6889
6890                
6891        lobby_tag = ".lb-19229"
6892        promo_tag = "1";
6893        game_ishot_tag = "0";
6894        vendor_isnew_tag = "0";
6895        margin_promo = 0;
6896        // console.log(lobby_tag);
6897        // console.log("promo", promo_tag);
6898        // console.log("game_ishot", game_ishot_tag);
6899        // console.log("vendor_isnew", vendor_isnew_tag);
6900            
6901        $(lobby_tag).each(function(index, element) {
6902            if (index === 0) {
6903                // Navbar Content
6904                class_name_tag = $(element).attr('class');
6905                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6906                // on LI(navar) or DIV Content
6907                element_tag = $(element).prop('tagName');
6908                if(vendor_isnew_tag == 1){
6909                    if( element_tag == 'LI'){
6910                        margin_promo = 20;
6911                    }else{
6912                        margin_promo =10;
6913                    }
6914
6915                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6916                }
6917
6918                if(promo_tag == 1){
6919                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6920                }
6921
6922                if(game_ishot_tag == 1){
6923                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
6924                }
6925                
6926            } else if (index === 1) {
6927                // Lobby Content
6928                class_name_tag = $(element).attr('class');
6929                selector_tag = '.' + class_name_tag.split(' ').join('.');
6930
6931                if(vendor_isnew_tag == 1){
6932                    margin_promo = 12;
6933                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6934                }
6935
6936                if(promo_tag == 1){
6937                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6938                }
6939
6940                if(game_ishot_tag == 1){
6941                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6942                }
6943            }
6944        });
6945
6946
6947                
6948        lobby_tag = ".lb-16311"
6949        promo_tag = "1";
6950        game_ishot_tag = "0";
6951        vendor_isnew_tag = "0";
6952        margin_promo = 0;
6953        // console.log(lobby_tag);
6954        // console.log("promo", promo_tag);
6955        // console.log("game_ishot", game_ishot_tag);
6956        // console.log("vendor_isnew", vendor_isnew_tag);
6957            
6958        $(lobby_tag).each(function(index, element) {
6959            if (index === 0) {
6960                // Navbar Content
6961                class_name_tag = $(element).attr('class');
6962                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
6963                // on LI(navar) or DIV Content
6964                element_tag = $(element).prop('tagName');
6965                if(vendor_isnew_tag == 1){
6966                    if( element_tag == 'LI'){
6967                        margin_promo = 20;
6968                    }else{
6969                        margin_promo =10;
6970                    }
6971
6972                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6973                }
6974
6975                if(promo_tag == 1){
6976                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6977                }
6978
6979                if(game_ishot_tag == 1){
6980                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
6980left:10px;top:0;z-index:10;width:35px"></div>`);
6981                }
6982                
6983            } else if (index === 1) {
6984                // Lobby Content
6985                class_name_tag = $(element).attr('class');
6986                selector_tag = '.' + class_name_tag.split(' ').join('.');
6987
6988                if(vendor_isnew_tag == 1){
6989                    margin_promo = 12;
6990                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
6991                }
6992
6993                if(promo_tag == 1){
6994                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
6995                }
6996
6997                if(game_ishot_tag == 1){
6998                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
6999                }
7000            }
7001        });
7002
7003
7004                                
7005        lobby_tag = ".lb-2010"
7006        promo_tag = "1";
7007        game_ishot_tag = "0";
7008        vendor_isnew_tag = "0";
7009        margin_promo = 0;
7010        // console.log(lobby_tag);
7011        // console.log("promo", promo_tag);
7012        // console.log("game_ishot", game_ishot_tag);
7013        // console.log("vendor_isnew", vendor_isnew_tag);
7014            
7015        $(lobby_tag).each(function(index, element) {
7016            if (index === 0) {
7017                // Navbar Content
7018                class_name_tag = $(element).attr('class');
7019                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7020                // on LI(navar) or DIV Content
7021                element_tag = $(element).prop('tagName');
7022                if(vendor_isnew_tag == 1){
7023                    if( element_tag == 'LI'){
7024                        margin_promo = 20;
7025                    }else{
7026                        margin_promo =10;
7027                    }
7028
7029                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7030                }
7031
7032                if(promo_tag == 1){
7033                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7034                }
7035
7036                if(game_ishot_tag == 1){
7037                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
7038                }
7039                
7040            } else if (index === 1) {
7041                // Lobby Content
7042                class_name_tag = $(element).attr('class');
7043                selector_tag = '.' + class_name_tag.split(' ').join('.');
7044
7045                if(vendor_isnew_tag == 1){
7046                    margin_promo = 12;
7047                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7048                }
7049
7050                if(promo_tag == 1){
7051                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7052                }
7053
7054                if(game_ishot_tag == 1){
7055                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7056                }
7057            }
7058        });
7059
7060
7061                
7062        lobby_tag = ".lb-2100"
7063        promo_tag = "1";
7064        game_ishot_tag = "0";
7065        vendor_isnew_tag = "0";
7066        margin_promo = 0;
7067        // console.log(lobby_tag);
7068        // console.log("promo", promo_tag);
7069        // console.log("game_ishot", game_ishot_tag);
7070        // console.log("vendor_isnew", vendor_isnew_tag);
7071            
7072        $(lobby_tag).each(function(index, element) {
7073            if (index === 0) {
7074                // Navbar Content
7075                class_name_tag = $(element).attr('class');
7076                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7077                // on LI(navar) or DIV Content
7078                element_tag = $(element).prop('tagName');
7079                if(vendor_isnew_tag == 1){
7080                    if( element_tag == 'LI'){
7081                        margin_promo = 20;
7082                    }else{
7083                        margin_promo =10;
7084                    }
7085
7086                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7087                }
7088
7089                if(promo_tag == 1){
7090                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7091                }
7092
7093                if(game_ishot_tag == 1){
7094                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
7094left:10px;top:0;z-index:10;width:35px"></div>`);
7095                }
7096                
7097            } else if (index === 1) {
7098                // Lobby Content
7099                class_name_tag = $(element).attr('class');
7100                selector_tag = '.' + class_name_tag.split(' ').join('.');
7101
7102                if(vendor_isnew_tag == 1){
7103                    margin_promo = 12;
7104                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7105                }
7106
7107                if(promo_tag == 1){
7108                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7109                }
7110
7111                if(game_ishot_tag == 1){
7112                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7113                }
7114            }
7115        });
7116
7117
7118                
7119        lobby_tag = ".lb-1701"
7120        promo_tag = "1";
7121        game_ishot_tag = "0";
7122        vendor_isnew_tag = "0";
7123        margin_promo = 0;
7124        // console.log(lobby_tag);
7125        // console.log("promo", promo_tag);
7126        // console.log("game_ishot", game_ishot_tag);
7127        // console.log("vendor_isnew", vendor_isnew_tag);
7128            
7129        $(lobby_tag).each(function(index, element) {
7130            if (index === 0) {
7131                // Navbar Content
7132                class_name_tag = $(element).attr('class');
7133                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7134                // on LI(navar) or DIV Content
7135                element_tag = $(element).prop('tagName');
7136                if(vendor_isnew_tag == 1){
7137                    if( element_tag == 'LI'){
7138                        margin_promo = 20;
7139                    }else{
7140                        margin_promo =10;
7141                    }
7142
7143                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7144                }
7145
7146                if(promo_tag == 1){
7147                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7148                }
7149
7150                if(game_ishot_tag == 1){
7151                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
7152                }
7153                
7154            } else if (index === 1) {
7155                // Lobby Content
7156                class_name_tag = $(element).attr('class');
7157                selector_tag = '.' + class_name_tag.split(' ').join('.');
7158
7159                if(vendor_isnew_tag == 1){
7160                    margin_promo = 12;
7161                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7162                }
7163
7164                if(promo_tag == 1){
7165                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7166                }
7167
7168                if(game_ishot_tag == 1){
7169                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7170                }
7171            }
7172        });
7173
7174
7175                
7176        lobby_tag = ".lb-24871"
7177        promo_tag = "1";
7178        game_ishot_tag = "0";
7179        vendor_isnew_tag = "0";
7180        margin_promo = 0;
7181        // console.log(lobby_tag);
7182        // console.log("promo", promo_tag);
7183        // console.log("game_ishot", game_ishot_tag);
7184        // console.log("vendor_isnew", vendor_isnew_tag);
7185            
7186        $(lobby_tag).each(function(index, element) {
7187            if (index === 0) {
7188                // Navbar Content
7189                class_name_tag = $(element).attr('class');
7190                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7191                // on LI(navar) or DIV Content
7192                element_tag = $(element).prop('tagName');
7193                if(vendor_isnew_tag == 1){
7194                    if( element_tag == 'LI'){
7195                        margin_promo = 20;
7196                    }else{
7197                        margin_promo =10;
7198                    }
7199
7200                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7201                }
7202
7203                if(promo_tag == 1){
7204                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7205                }
7206
7207                if(game_ishot_tag == 1){
7208                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
7208left:10px;top:0;z-index:10;width:35px"></div>`);
7209                }
7210                
7211            } else if (index === 1) {
7212                // Lobby Content
7213                class_name_tag = $(element).attr('class');
7214                selector_tag = '.' + class_name_tag.split(' ').join('.');
7215
7216                if(vendor_isnew_tag == 1){
7217                    margin_promo = 12;
7218                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7219                }
7220
7221                if(promo_tag == 1){
7222                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7223                }
7224
7225                if(game_ishot_tag == 1){
7226                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7227                }
7228            }
7229        });
7230
7231
7232                
7233        lobby_tag = ".lb-22613"
7234        promo_tag = "0";
7235        game_ishot_tag = "0";
7236        vendor_isnew_tag = "0";
7237        margin_promo = 0;
7238        // console.log(lobby_tag);
7239        // console.log("promo", promo_tag);
7240        // console.log("game_ishot", game_ishot_tag);
7241        // console.log("vendor_isnew", vendor_isnew_tag);
7242            
7243        $(lobby_tag).each(function(index, element) {
7244            if (index === 0) {
7245                // Navbar Content
7246                class_name_tag = $(element).attr('class');
7247                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7248                // on LI(navar) or DIV Content
7249                element_tag = $(element).prop('tagName');
7250                if(vendor_isnew_tag == 1){
7251                    if( element_tag == 'LI'){
7252                        margin_promo = 20;
7253                    }else{
7254                        margin_promo =10;
7255                    }
7256
7257                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7258                }
7259
7260                if(promo_tag == 1){
7261                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7262                }
7263
7264                if(game_ishot_tag == 1){
7265                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
7266                }
7267                
7268            } else if (index === 1) {
7269                // Lobby Content
7270                class_name_tag = $(element).attr('class');
7271                selector_tag = '.' + class_name_tag.split(' ').join('.');
7272
7273                if(vendor_isnew_tag == 1){
7274                    margin_promo = 12;
7275                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7276                }
7277
7278                if(promo_tag == 1){
7279                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7280                }
7281
7282                if(game_ishot_tag == 1){
7283                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7284                }
7285            }
7286        });
7287
7288
7289                
7290        lobby_tag = ".lb-22612"
7291        promo_tag = "1";
7292        game_ishot_tag = "0";
7293        vendor_isnew_tag = "0";
7294        margin_promo = 0;
7295        // console.log(lobby_tag);
7296        // console.log("promo", promo_tag);
7297        // console.log("game_ishot", game_ishot_tag);
7298        // console.log("vendor_isnew", vendor_isnew_tag);
7299            
7300        $(lobby_tag).each(function(index, element) {
7301            if (index === 0) {
7302                // Navbar Content
7303                class_name_tag = $(element).attr('class');
7304                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7305                // on LI(navar) or DIV Content
7306                element_tag = $(element).prop('tagName');
7307                if(vendor_isnew_tag == 1){
7308                    if( element_tag == 'LI'){
7309                        margin_promo = 20;
7310                    }else{
7311                        margin_promo =10;
7312                    }
7313
7314                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7315                }
7316
7317                if(promo_tag == 1){
7318                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7319                }
7320
7321                if(game_ishot_tag == 1){
7322                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
7322left:10px;top:0;z-index:10;width:35px"></div>`);
7323                }
7324                
7325            } else if (index === 1) {
7326                // Lobby Content
7327                class_name_tag = $(element).attr('class');
7328                selector_tag = '.' + class_name_tag.split(' ').join('.');
7329
7330                if(vendor_isnew_tag == 1){
7331                    margin_promo = 12;
7332                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7333                }
7334
7335                if(promo_tag == 1){
7336                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7337                }
7338
7339                if(game_ishot_tag == 1){
7340                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7341                }
7342            }
7343        });
7344
7345
7346                
7347        lobby_tag = ".lb-28670"
7348        promo_tag = "0";
7349        game_ishot_tag = "0";
7350        vendor_isnew_tag = "0";
7351        margin_promo = 0;
7352        // console.log(lobby_tag);
7353        // console.log("promo", promo_tag);
7354        // console.log("game_ishot", game_ishot_tag);
7355        // console.log("vendor_isnew", vendor_isnew_tag);
7356            
7357        $(lobby_tag).each(function(index, element) {
7358            if (index === 0) {
7359                // Navbar Content
7360                class_name_tag = $(element).attr('class');
7361                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7362                // on LI(navar) or DIV Content
7363                element_tag = $(element).prop('tagName');
7364                if(vendor_isnew_tag == 1){
7365                    if( element_tag == 'LI'){
7366                        margin_promo = 20;
7367                    }else{
7368                        margin_promo =10;
7369                    }
7370
7371                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7372                }
7373
7374                if(promo_tag == 1){
7375                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7376                }
7377
7378                if(game_ishot_tag == 1){
7379                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
7380                }
7381                
7382            } else if (index === 1) {
7383                // Lobby Content
7384                class_name_tag = $(element).attr('class');
7385                selector_tag = '.' + class_name_tag.split(' ').join('.');
7386
7387                if(vendor_isnew_tag == 1){
7388                    margin_promo = 12;
7389                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7390                }
7391
7392                if(promo_tag == 1){
7393                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7394                }
7395
7396                if(game_ishot_tag == 1){
7397                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7398                }
7399            }
7400        });
7401
7402
7403                                
7404        lobby_tag = ".lb-15462"
7405        promo_tag = "1";
7406        game_ishot_tag = "0";
7407        vendor_isnew_tag = "0";
7408        margin_promo = 0;
7409        // console.log(lobby_tag);
7410        // console.log("promo", promo_tag);
7411        // console.log("game_ishot", game_ishot_tag);
7412        // console.log("vendor_isnew", vendor_isnew_tag);
7413            
7414        $(lobby_tag).each(function(index, element) {
7415            if (index === 0) {
7416                // Navbar Content
7417                class_name_tag = $(element).attr('class');
7418                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7419                // on LI(navar) or DIV Content
7420                element_tag = $(element).prop('tagName');
7421                if(vendor_isnew_tag == 1){
7422                    if( element_tag == 'LI'){
7423                        margin_promo = 20;
7424                    }else{
7425                        margin_promo =10;
7426                    }
7427
7428                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7429                }
7430
7431                if(promo_tag == 1){
7432                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7433                }
7434
7435                if(game_ishot_tag == 1){
7436                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
7436left:10px;top:0;z-index:10;width:35px"></div>`);
7437                }
7438                
7439            } else if (index === 1) {
7440                // Lobby Content
7441                class_name_tag = $(element).attr('class');
7442                selector_tag = '.' + class_name_tag.split(' ').join('.');
7443
7444                if(vendor_isnew_tag == 1){
7445                    margin_promo = 12;
7446                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7447                }
7448
7449                if(promo_tag == 1){
7450                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7451                }
7452
7453                if(game_ishot_tag == 1){
7454                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7455                }
7456            }
7457        });
7458
7459
7460                
7461        lobby_tag = ".lb-29302"
7462        promo_tag = "0";
7463        game_ishot_tag = "0";
7464        vendor_isnew_tag = "0";
7465        margin_promo = 0;
7466        // console.log(lobby_tag);
7467        // console.log("promo", promo_tag);
7468        // console.log("game_ishot", game_ishot_tag);
7469        // console.log("vendor_isnew", vendor_isnew_tag);
7470            
7471        $(lobby_tag).each(function(index, element) {
7472            if (index === 0) {
7473                // Navbar Content
7474                class_name_tag = $(element).attr('class');
7475                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7476                // on LI(navar) or DIV Content
7477                element_tag = $(element).prop('tagName');
7478                if(vendor_isnew_tag == 1){
7479                    if( element_tag == 'LI'){
7480                        margin_promo = 20;
7481                    }else{
7482                        margin_promo =10;
7483                    }
7484
7485                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7486                }
7487
7488                if(promo_tag == 1){
7489                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7490                }
7491
7492                if(game_ishot_tag == 1){
7493                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
7494                }
7495                
7496            } else if (index === 1) {
7497                // Lobby Content
7498                class_name_tag = $(element).attr('class');
7499                selector_tag = '.' + class_name_tag.split(' ').join('.');
7500
7501                if(vendor_isnew_tag == 1){
7502                    margin_promo = 12;
7503                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7504                }
7505
7506                if(promo_tag == 1){
7507                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7508                }
7509
7510                if(game_ishot_tag == 1){
7511                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7512                }
7513            }
7514        });
7515
7516
7517                
7518        lobby_tag = ".lb-28173"
7519        promo_tag = "0";
7520        game_ishot_tag = "0";
7521        vendor_isnew_tag = "0";
7522        margin_promo = 0;
7523        // console.log(lobby_tag);
7524        // console.log("promo", promo_tag);
7525        // console.log("game_ishot", game_ishot_tag);
7526        // console.log("vendor_isnew", vendor_isnew_tag);
7527            
7528        $(lobby_tag).each(function(index, element) {
7529            if (index === 0) {
7530                // Navbar Content
7531                class_name_tag = $(element).attr('class');
7532                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7533                // on LI(navar) or DIV Content
7534                element_tag = $(element).prop('tagName');
7535                if(vendor_isnew_tag == 1){
7536                    if( element_tag == 'LI'){
7537                        margin_promo = 20;
7538                    }else{
7539                        margin_promo =10;
7540                    }
7541
7542                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7543                }
7544
7545                if(promo_tag == 1){
7546                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7547                }
7548
7549                if(game_ishot_tag == 1){
7550                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
7550left:10px;top:0;z-index:10;width:35px"></div>`);
7551                }
7552                
7553            } else if (index === 1) {
7554                // Lobby Content
7555                class_name_tag = $(element).attr('class');
7556                selector_tag = '.' + class_name_tag.split(' ').join('.');
7557
7558                if(vendor_isnew_tag == 1){
7559                    margin_promo = 12;
7560                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7561                }
7562
7563                if(promo_tag == 1){
7564                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7565                }
7566
7567                if(game_ishot_tag == 1){
7568                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7569                }
7570            }
7571        });
7572
7573
7574                
7575        lobby_tag = ".lb-29896"
7576        promo_tag = "1";
7577        game_ishot_tag = "0";
7578        vendor_isnew_tag = "0";
7579        margin_promo = 0;
7580        // console.log(lobby_tag);
7581        // console.log("promo", promo_tag);
7582        // console.log("game_ishot", game_ishot_tag);
7583        // console.log("vendor_isnew", vendor_isnew_tag);
7584            
7585        $(lobby_tag).each(function(index, element) {
7586            if (index === 0) {
7587                // Navbar Content
7588                class_name_tag = $(element).attr('class');
7589                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7590                // on LI(navar) or DIV Content
7591                element_tag = $(element).prop('tagName');
7592                if(vendor_isnew_tag == 1){
7593                    if( element_tag == 'LI'){
7594                        margin_promo = 20;
7595                    }else{
7596                        margin_promo =10;
7597                    }
7598
7599                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7600                }
7601
7602                if(promo_tag == 1){
7603                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7604                }
7605
7606                if(game_ishot_tag == 1){
7607                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
7608                }
7609                
7610            } else if (index === 1) {
7611                // Lobby Content
7612                class_name_tag = $(element).attr('class');
7613                selector_tag = '.' + class_name_tag.split(' ').join('.');
7614
7615                if(vendor_isnew_tag == 1){
7616                    margin_promo = 12;
7617                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7618                }
7619
7620                if(promo_tag == 1){
7621                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7622                }
7623
7624                if(game_ishot_tag == 1){
7625                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7626                }
7627            }
7628        });
7629
7630
7631                
7632        lobby_tag = ".lb-16289"
7633        promo_tag = "1";
7634        game_ishot_tag = "0";
7635        vendor_isnew_tag = "0";
7636        margin_promo = 0;
7637        // console.log(lobby_tag);
7638        // console.log("promo", promo_tag);
7639        // console.log("game_ishot", game_ishot_tag);
7640        // console.log("vendor_isnew", vendor_isnew_tag);
7641            
7642        $(lobby_tag).each(function(index, element) {
7643            if (index === 0) {
7644                // Navbar Content
7645                class_name_tag = $(element).attr('class');
7646                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7647                // on LI(navar) or DIV Content
7648                element_tag = $(element).prop('tagName');
7649                if(vendor_isnew_tag == 1){
7650                    if( element_tag == 'LI'){
7651                        margin_promo = 20;
7652                    }else{
7653                        margin_promo =10;
7654                    }
7655
7656                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7657                }
7658
7659                if(promo_tag == 1){
7660                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7661                }
7662
7663                if(game_ishot_tag == 1){
7664                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
7664left:10px;top:0;z-index:10;width:35px"></div>`);
7665                }
7666                
7667            } else if (index === 1) {
7668                // Lobby Content
7669                class_name_tag = $(element).attr('class');
7670                selector_tag = '.' + class_name_tag.split(' ').join('.');
7671
7672                if(vendor_isnew_tag == 1){
7673                    margin_promo = 12;
7674                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7675                }
7676
7677                if(promo_tag == 1){
7678                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7679                }
7680
7681                if(game_ishot_tag == 1){
7682                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7683                }
7684            }
7685        });
7686
7687
7688                
7689        lobby_tag = ".lb-16062"
7690        promo_tag = "1";
7691        game_ishot_tag = "0";
7692        vendor_isnew_tag = "0";
7693        margin_promo = 0;
7694        // console.log(lobby_tag);
7695        // console.log("promo", promo_tag);
7696        // console.log("game_ishot", game_ishot_tag);
7697        // console.log("vendor_isnew", vendor_isnew_tag);
7698            
7699        $(lobby_tag).each(function(index, element) {
7700            if (index === 0) {
7701                // Navbar Content
7702                class_name_tag = $(element).attr('class');
7703                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7704                // on LI(navar) or DIV Content
7705                element_tag = $(element).prop('tagName');
7706                if(vendor_isnew_tag == 1){
7707                    if( element_tag == 'LI'){
7708                        margin_promo = 20;
7709                    }else{
7710                        margin_promo =10;
7711                    }
7712
7713                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7714                }
7715
7716                if(promo_tag == 1){
7717                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7718                }
7719
7720                if(game_ishot_tag == 1){
7721                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
7722                }
7723                
7724            } else if (index === 1) {
7725                // Lobby Content
7726                class_name_tag = $(element).attr('class');
7727                selector_tag = '.' + class_name_tag.split(' ').join('.');
7728
7729                if(vendor_isnew_tag == 1){
7730                    margin_promo = 12;
7731                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7732                }
7733
7734                if(promo_tag == 1){
7735                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7736                }
7737
7738                if(game_ishot_tag == 1){
7739                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7740                }
7741            }
7742        });
7743
7744
7745                
7746        lobby_tag = ".lb-21281"
7747        promo_tag = "1";
7748        game_ishot_tag = "0";
7749        vendor_isnew_tag = "0";
7750        margin_promo = 0;
7751        // console.log(lobby_tag);
7752        // console.log("promo", promo_tag);
7753        // console.log("game_ishot", game_ishot_tag);
7754        // console.log("vendor_isnew", vendor_isnew_tag);
7755            
7756        $(lobby_tag).each(function(index, element) {
7757            if (index === 0) {
7758                // Navbar Content
7759                class_name_tag = $(element).attr('class');
7760                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7761                // on LI(navar) or DIV Content
7762                element_tag = $(element).prop('tagName');
7763                if(vendor_isnew_tag == 1){
7764                    if( element_tag == 'LI'){
7765                        margin_promo = 20;
7766                    }else{
7767                        margin_promo =10;
7768                    }
7769
7770                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7771                }
7772
7773                if(promo_tag == 1){
7774                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7775                }
7776
7777                if(game_ishot_tag == 1){
7778                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
7778left:10px;top:0;z-index:10;width:35px"></div>`);
7779                }
7780                
7781            } else if (index === 1) {
7782                // Lobby Content
7783                class_name_tag = $(element).attr('class');
7784                selector_tag = '.' + class_name_tag.split(' ').join('.');
7785
7786                if(vendor_isnew_tag == 1){
7787                    margin_promo = 12;
7788                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7789                }
7790
7791                if(promo_tag == 1){
7792                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7793                }
7794
7795                if(game_ishot_tag == 1){
7796                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7797                }
7798            }
7799        });
7800
7801
7802                
7803        lobby_tag = ".lb-18441"
7804        promo_tag = "1";
7805        game_ishot_tag = "0";
7806        vendor_isnew_tag = "0";
7807        margin_promo = 0;
7808        // console.log(lobby_tag);
7809        // console.log("promo", promo_tag);
7810        // console.log("game_ishot", game_ishot_tag);
7811        // console.log("vendor_isnew", vendor_isnew_tag);
7812            
7813        $(lobby_tag).each(function(index, element) {
7814            if (index === 0) {
7815                // Navbar Content
7816                class_name_tag = $(element).attr('class');
7817                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7818                // on LI(navar) or DIV Content
7819                element_tag = $(element).prop('tagName');
7820                if(vendor_isnew_tag == 1){
7821                    if( element_tag == 'LI'){
7822                        margin_promo = 20;
7823                    }else{
7824                        margin_promo =10;
7825                    }
7826
7827                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7828                }
7829
7830                if(promo_tag == 1){
7831                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7832                }
7833
7834                if(game_ishot_tag == 1){
7835                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
7836                }
7837                
7838            } else if (index === 1) {
7839                // Lobby Content
7840                class_name_tag = $(element).attr('class');
7841                selector_tag = '.' + class_name_tag.split(' ').join('.');
7842
7843                if(vendor_isnew_tag == 1){
7844                    margin_promo = 12;
7845                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7846                }
7847
7848                if(promo_tag == 1){
7849                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7850                }
7851
7852                if(game_ishot_tag == 1){
7853                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7854                }
7855            }
7856        });
7857
7858
7859                
7860        lobby_tag = ".lb-15463"
7861        promo_tag = "1";
7862        game_ishot_tag = "0";
7863        vendor_isnew_tag = "0";
7864        margin_promo = 0;
7865        // console.log(lobby_tag);
7866        // console.log("promo", promo_tag);
7867        // console.log("game_ishot", game_ishot_tag);
7868        // console.log("vendor_isnew", vendor_isnew_tag);
7869            
7870        $(lobby_tag).each(function(index, element) {
7871            if (index === 0) {
7872                // Navbar Content
7873                class_name_tag = $(element).attr('class');
7874                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7875                // on LI(navar) or DIV Content
7876                element_tag = $(element).prop('tagName');
7877                if(vendor_isnew_tag == 1){
7878                    if( element_tag == 'LI'){
7879                        margin_promo = 20;
7880                    }else{
7881                        margin_promo =10;
7882                    }
7883
7884                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7885                }
7886
7887                if(promo_tag == 1){
7888                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7889                }
7890
7891                if(game_ishot_tag == 1){
7892                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
7892left:10px;top:0;z-index:10;width:35px"></div>`);
7893                }
7894                
7895            } else if (index === 1) {
7896                // Lobby Content
7897                class_name_tag = $(element).attr('class');
7898                selector_tag = '.' + class_name_tag.split(' ').join('.');
7899
7900                if(vendor_isnew_tag == 1){
7901                    margin_promo = 12;
7902                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7903                }
7904
7905                if(promo_tag == 1){
7906                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7907                }
7908
7909                if(game_ishot_tag == 1){
7910                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7911                }
7912            }
7913        });
7914
7915
7916                
7917        lobby_tag = ".lb-23924"
7918        promo_tag = "1";
7919        game_ishot_tag = "0";
7920        vendor_isnew_tag = "0";
7921        margin_promo = 0;
7922        // console.log(lobby_tag);
7923        // console.log("promo", promo_tag);
7924        // console.log("game_ishot", game_ishot_tag);
7925        // console.log("vendor_isnew", vendor_isnew_tag);
7926            
7927        $(lobby_tag).each(function(index, element) {
7928            if (index === 0) {
7929                // Navbar Content
7930                class_name_tag = $(element).attr('class');
7931                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7932                // on LI(navar) or DIV Content
7933                element_tag = $(element).prop('tagName');
7934                if(vendor_isnew_tag == 1){
7935                    if( element_tag == 'LI'){
7936                        margin_promo = 20;
7937                    }else{
7938                        margin_promo =10;
7939                    }
7940
7941                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7942                }
7943
7944                if(promo_tag == 1){
7945                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7946                }
7947
7948                if(game_ishot_tag == 1){
7949                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
7950                }
7951                
7952            } else if (index === 1) {
7953                // Lobby Content
7954                class_name_tag = $(element).attr('class');
7955                selector_tag = '.' + class_name_tag.split(' ').join('.');
7956
7957                if(vendor_isnew_tag == 1){
7958                    margin_promo = 12;
7959                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7960                }
7961
7962                if(promo_tag == 1){
7963                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
7964                }
7965
7966                if(game_ishot_tag == 1){
7967                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
7968                }
7969            }
7970        });
7971
7972
7973                
7974        lobby_tag = ".lb-21548"
7975        promo_tag = "1";
7976        game_ishot_tag = "0";
7977        vendor_isnew_tag = "0";
7978        margin_promo = 0;
7979        // console.log(lobby_tag);
7980        // console.log("promo", promo_tag);
7981        // console.log("game_ishot", game_ishot_tag);
7982        // console.log("vendor_isnew", vendor_isnew_tag);
7983            
7984        $(lobby_tag).each(function(index, element) {
7985            if (index === 0) {
7986                // Navbar Content
7987                class_name_tag = $(element).attr('class');
7988                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
7989                // on LI(navar) or DIV Content
7990                element_tag = $(element).prop('tagName');
7991                if(vendor_isnew_tag == 1){
7992                    if( element_tag == 'LI'){
7993                        margin_promo = 20;
7994                    }else{
7995                        margin_promo =10;
7996                    }
7997
7998                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
7999                }
8000
8001                if(promo_tag == 1){
8002                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8003                }
8004
8005                if(game_ishot_tag == 1){
8006                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
8006left:10px;top:0;z-index:10;width:35px"></div>`);
8007                }
8008                
8009            } else if (index === 1) {
8010                // Lobby Content
8011                class_name_tag = $(element).attr('class');
8012                selector_tag = '.' + class_name_tag.split(' ').join('.');
8013
8014                if(vendor_isnew_tag == 1){
8015                    margin_promo = 12;
8016                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8017                }
8018
8019                if(promo_tag == 1){
8020                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8021                }
8022
8023                if(game_ishot_tag == 1){
8024                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8025                }
8026            }
8027        });
8028
8029
8030                
8031        lobby_tag = ".lb-25840"
8032        promo_tag = "1";
8033        game_ishot_tag = "0";
8034        vendor_isnew_tag = "0";
8035        margin_promo = 0;
8036        // console.log(lobby_tag);
8037        // console.log("promo", promo_tag);
8038        // console.log("game_ishot", game_ishot_tag);
8039        // console.log("vendor_isnew", vendor_isnew_tag);
8040            
8041        $(lobby_tag).each(function(index, element) {
8042            if (index === 0) {
8043                // Navbar Content
8044                class_name_tag = $(element).attr('class');
8045                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8046                // on LI(navar) or DIV Content
8047                element_tag = $(element).prop('tagName');
8048                if(vendor_isnew_tag == 1){
8049                    if( element_tag == 'LI'){
8050                        margin_promo = 20;
8051                    }else{
8052                        margin_promo =10;
8053                    }
8054
8055                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8056                }
8057
8058                if(promo_tag == 1){
8059                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8060                }
8061
8062                if(game_ishot_tag == 1){
8063                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
8064                }
8065                
8066            } else if (index === 1) {
8067                // Lobby Content
8068                class_name_tag = $(element).attr('class');
8069                selector_tag = '.' + class_name_tag.split(' ').join('.');
8070
8071                if(vendor_isnew_tag == 1){
8072                    margin_promo = 12;
8073                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8074                }
8075
8076                if(promo_tag == 1){
8077                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8078                }
8079
8080                if(game_ishot_tag == 1){
8081                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8082                }
8083            }
8084        });
8085
8086
8087                
8088        lobby_tag = ".lb-19988"
8089        promo_tag = "1";
8090        game_ishot_tag = "0";
8091        vendor_isnew_tag = "0";
8092        margin_promo = 0;
8093        // console.log(lobby_tag);
8094        // console.log("promo", promo_tag);
8095        // console.log("game_ishot", game_ishot_tag);
8096        // console.log("vendor_isnew", vendor_isnew_tag);
8097            
8098        $(lobby_tag).each(function(index, element) {
8099            if (index === 0) {
8100                // Navbar Content
8101                class_name_tag = $(element).attr('class');
8102                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8103                // on LI(navar) or DIV Content
8104                element_tag = $(element).prop('tagName');
8105                if(vendor_isnew_tag == 1){
8106                    if( element_tag == 'LI'){
8107                        margin_promo = 20;
8108                    }else{
8109                        margin_promo =10;
8110                    }
8111
8112                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8113                }
8114
8115                if(promo_tag == 1){
8116                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8117                }
8118
8119                if(game_ishot_tag == 1){
8120                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
8120left:10px;top:0;z-index:10;width:35px"></div>`);
8121                }
8122                
8123            } else if (index === 1) {
8124                // Lobby Content
8125                class_name_tag = $(element).attr('class');
8126                selector_tag = '.' + class_name_tag.split(' ').join('.');
8127
8128                if(vendor_isnew_tag == 1){
8129                    margin_promo = 12;
8130                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8131                }
8132
8133                if(promo_tag == 1){
8134                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8135                }
8136
8137                if(game_ishot_tag == 1){
8138                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8139                }
8140            }
8141        });
8142
8143
8144                
8145        lobby_tag = ".lb-17529"
8146        promo_tag = "1";
8147        game_ishot_tag = "0";
8148        vendor_isnew_tag = "0";
8149        margin_promo = 0;
8150        // console.log(lobby_tag);
8151        // console.log("promo", promo_tag);
8152        // console.log("game_ishot", game_ishot_tag);
8153        // console.log("vendor_isnew", vendor_isnew_tag);
8154            
8155        $(lobby_tag).each(function(index, element) {
8156            if (index === 0) {
8157                // Navbar Content
8158                class_name_tag = $(element).attr('class');
8159                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8160                // on LI(navar) or DIV Content
8161                element_tag = $(element).prop('tagName');
8162                if(vendor_isnew_tag == 1){
8163                    if( element_tag == 'LI'){
8164                        margin_promo = 20;
8165                    }else{
8166                        margin_promo =10;
8167                    }
8168
8169                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8170                }
8171
8172                if(promo_tag == 1){
8173                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8174                }
8175
8176                if(game_ishot_tag == 1){
8177                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
8178                }
8179                
8180            } else if (index === 1) {
8181                // Lobby Content
8182                class_name_tag = $(element).attr('class');
8183                selector_tag = '.' + class_name_tag.split(' ').join('.');
8184
8185                if(vendor_isnew_tag == 1){
8186                    margin_promo = 12;
8187                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8188                }
8189
8190                if(promo_tag == 1){
8191                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8192                }
8193
8194                if(game_ishot_tag == 1){
8195                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8196                }
8197            }
8198        });
8199
8200
8201                
8202        lobby_tag = ".lb-17544"
8203        promo_tag = "1";
8204        game_ishot_tag = "0";
8205        vendor_isnew_tag = "0";
8206        margin_promo = 0;
8207        // console.log(lobby_tag);
8208        // console.log("promo", promo_tag);
8209        // console.log("game_ishot", game_ishot_tag);
8210        // console.log("vendor_isnew", vendor_isnew_tag);
8211            
8212        $(lobby_tag).each(function(index, element) {
8213            if (index === 0) {
8214                // Navbar Content
8215                class_name_tag = $(element).attr('class');
8216                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8217                // on LI(navar) or DIV Content
8218                element_tag = $(element).prop('tagName');
8219                if(vendor_isnew_tag == 1){
8220                    if( element_tag == 'LI'){
8221                        margin_promo = 20;
8222                    }else{
8223                        margin_promo =10;
8224                    }
8225
8226                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8227                }
8228
8229                if(promo_tag == 1){
8230                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8231                }
8232
8233                if(game_ishot_tag == 1){
8234                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
8234left:10px;top:0;z-index:10;width:35px"></div>`);
8235                }
8236                
8237            } else if (index === 1) {
8238                // Lobby Content
8239                class_name_tag = $(element).attr('class');
8240                selector_tag = '.' + class_name_tag.split(' ').join('.');
8241
8242                if(vendor_isnew_tag == 1){
8243                    margin_promo = 12;
8244                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8245                }
8246
8247                if(promo_tag == 1){
8248                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8249                }
8250
8251                if(game_ishot_tag == 1){
8252                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8253                }
8254            }
8255        });
8256
8257
8258                
8259        lobby_tag = ".lb-26614"
8260        promo_tag = "0";
8261        game_ishot_tag = "0";
8262        vendor_isnew_tag = "0";
8263        margin_promo = 0;
8264        // console.log(lobby_tag);
8265        // console.log("promo", promo_tag);
8266        // console.log("game_ishot", game_ishot_tag);
8267        // console.log("vendor_isnew", vendor_isnew_tag);
8268            
8269        $(lobby_tag).each(function(index, element) {
8270            if (index === 0) {
8271                // Navbar Content
8272                class_name_tag = $(element).attr('class');
8273                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8274                // on LI(navar) or DIV Content
8275                element_tag = $(element).prop('tagName');
8276                if(vendor_isnew_tag == 1){
8277                    if( element_tag == 'LI'){
8278                        margin_promo = 20;
8279                    }else{
8280                        margin_promo =10;
8281                    }
8282
8283                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8284                }
8285
8286                if(promo_tag == 1){
8287                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8288                }
8289
8290                if(game_ishot_tag == 1){
8291                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
8292                }
8293                
8294            } else if (index === 1) {
8295                // Lobby Content
8296                class_name_tag = $(element).attr('class');
8297                selector_tag = '.' + class_name_tag.split(' ').join('.');
8298
8299                if(vendor_isnew_tag == 1){
8300                    margin_promo = 12;
8301                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8302                }
8303
8304                if(promo_tag == 1){
8305                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8306                }
8307
8308                if(game_ishot_tag == 1){
8309                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8310                }
8311            }
8312        });
8313
8314
8315                
8316        lobby_tag = ".lb-29232"
8317        promo_tag = "0";
8318        game_ishot_tag = "0";
8319        vendor_isnew_tag = "0";
8320        margin_promo = 0;
8321        // console.log(lobby_tag);
8322        // console.log("promo", promo_tag);
8323        // console.log("game_ishot", game_ishot_tag);
8324        // console.log("vendor_isnew", vendor_isnew_tag);
8325            
8326        $(lobby_tag).each(function(index, element) {
8327            if (index === 0) {
8328                // Navbar Content
8329                class_name_tag = $(element).attr('class');
8330                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8331                // on LI(navar) or DIV Content
8332                element_tag = $(element).prop('tagName');
8333                if(vendor_isnew_tag == 1){
8334                    if( element_tag == 'LI'){
8335                        margin_promo = 20;
8336                    }else{
8337                        margin_promo =10;
8338                    }
8339
8340                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8341                }
8342
8343                if(promo_tag == 1){
8344                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8345                }
8346
8347                if(game_ishot_tag == 1){
8348                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
8348left:10px;top:0;z-index:10;width:35px"></div>`);
8349                }
8350                
8351            } else if (index === 1) {
8352                // Lobby Content
8353                class_name_tag = $(element).attr('class');
8354                selector_tag = '.' + class_name_tag.split(' ').join('.');
8355
8356                if(vendor_isnew_tag == 1){
8357                    margin_promo = 12;
8358                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8359                }
8360
8361                if(promo_tag == 1){
8362                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8363                }
8364
8365                if(game_ishot_tag == 1){
8366                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8367                }
8368            }
8369        });
8370
8371
8372                
8373        lobby_tag = ".lb-29304"
8374        promo_tag = "0";
8375        game_ishot_tag = "0";
8376        vendor_isnew_tag = "0";
8377        margin_promo = 0;
8378        // console.log(lobby_tag);
8379        // console.log("promo", promo_tag);
8380        // console.log("game_ishot", game_ishot_tag);
8381        // console.log("vendor_isnew", vendor_isnew_tag);
8382            
8383        $(lobby_tag).each(function(index, element) {
8384            if (index === 0) {
8385                // Navbar Content
8386                class_name_tag = $(element).attr('class');
8387                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8388                // on LI(navar) or DIV Content
8389                element_tag = $(element).prop('tagName');
8390                if(vendor_isnew_tag == 1){
8391                    if( element_tag == 'LI'){
8392                        margin_promo = 20;
8393                    }else{
8394                        margin_promo =10;
8395                    }
8396
8397                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8398                }
8399
8400                if(promo_tag == 1){
8401                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8402                }
8403
8404                if(game_ishot_tag == 1){
8405                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
8406                }
8407                
8408            } else if (index === 1) {
8409                // Lobby Content
8410                class_name_tag = $(element).attr('class');
8411                selector_tag = '.' + class_name_tag.split(' ').join('.');
8412
8413                if(vendor_isnew_tag == 1){
8414                    margin_promo = 12;
8415                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8416                }
8417
8418                if(promo_tag == 1){
8419                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8420                }
8421
8422                if(game_ishot_tag == 1){
8423                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8424                }
8425            }
8426        });
8427
8428
8429                
8430        lobby_tag = ".lb-29651"
8431        promo_tag = "0";
8432        game_ishot_tag = "0";
8433        vendor_isnew_tag = "0";
8434        margin_promo = 0;
8435        // console.log(lobby_tag);
8436        // console.log("promo", promo_tag);
8437        // console.log("game_ishot", game_ishot_tag);
8438        // console.log("vendor_isnew", vendor_isnew_tag);
8439            
8440        $(lobby_tag).each(function(index, element) {
8441            if (index === 0) {
8442                // Navbar Content
8443                class_name_tag = $(element).attr('class');
8444                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8445                // on LI(navar) or DIV Content
8446                element_tag = $(element).prop('tagName');
8447                if(vendor_isnew_tag == 1){
8448                    if( element_tag == 'LI'){
8449                        margin_promo = 20;
8450                    }else{
8451                        margin_promo =10;
8452                    }
8453
8454                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8455                }
8456
8457                if(promo_tag == 1){
8458                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8459                }
8460
8461                if(game_ishot_tag == 1){
8462                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
8462left:10px;top:0;z-index:10;width:35px"></div>`);
8463                }
8464                
8465            } else if (index === 1) {
8466                // Lobby Content
8467                class_name_tag = $(element).attr('class');
8468                selector_tag = '.' + class_name_tag.split(' ').join('.');
8469
8470                if(vendor_isnew_tag == 1){
8471                    margin_promo = 12;
8472                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8473                }
8474
8475                if(promo_tag == 1){
8476                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8477                }
8478
8479                if(game_ishot_tag == 1){
8480                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8481                }
8482            }
8483        });
8484
8485
8486                
8487        lobby_tag = ".lb-19231"
8488        promo_tag = "1";
8489        game_ishot_tag = "0";
8490        vendor_isnew_tag = "0";
8491        margin_promo = 0;
8492        // console.log(lobby_tag);
8493        // console.log("promo", promo_tag);
8494        // console.log("game_ishot", game_ishot_tag);
8495        // console.log("vendor_isnew", vendor_isnew_tag);
8496            
8497        $(lobby_tag).each(function(index, element) {
8498            if (index === 0) {
8499                // Navbar Content
8500                class_name_tag = $(element).attr('class');
8501                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8502                // on LI(navar) or DIV Content
8503                element_tag = $(element).prop('tagName');
8504                if(vendor_isnew_tag == 1){
8505                    if( element_tag == 'LI'){
8506                        margin_promo = 20;
8507                    }else{
8508                        margin_promo =10;
8509                    }
8510
8511                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8512                }
8513
8514                if(promo_tag == 1){
8515                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8516                }
8517
8518                if(game_ishot_tag == 1){
8519                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
8520                }
8521                
8522            } else if (index === 1) {
8523                // Lobby Content
8524                class_name_tag = $(element).attr('class');
8525                selector_tag = '.' + class_name_tag.split(' ').join('.');
8526
8527                if(vendor_isnew_tag == 1){
8528                    margin_promo = 12;
8529                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8530                }
8531
8532                if(promo_tag == 1){
8533                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8534                }
8535
8536                if(game_ishot_tag == 1){
8537                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8538                }
8539            }
8540        });
8541
8542
8543                
8544        lobby_tag = ".lb-15614"
8545        promo_tag = "1";
8546        game_ishot_tag = "0";
8547        vendor_isnew_tag = "0";
8548        margin_promo = 0;
8549        // console.log(lobby_tag);
8550        // console.log("promo", promo_tag);
8551        // console.log("game_ishot", game_ishot_tag);
8552        // console.log("vendor_isnew", vendor_isnew_tag);
8553            
8554        $(lobby_tag).each(function(index, element) {
8555            if (index === 0) {
8556                // Navbar Content
8557                class_name_tag = $(element).attr('class');
8558                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8559                // on LI(navar) or DIV Content
8560                element_tag = $(element).prop('tagName');
8561                if(vendor_isnew_tag == 1){
8562                    if( element_tag == 'LI'){
8563                        margin_promo = 20;
8564                    }else{
8565                        margin_promo =10;
8566                    }
8567
8568                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8569                }
8570
8571                if(promo_tag == 1){
8572                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8573                }
8574
8575                if(game_ishot_tag == 1){
8576                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
8576left:10px;top:0;z-index:10;width:35px"></div>`);
8577                }
8578                
8579            } else if (index === 1) {
8580                // Lobby Content
8581                class_name_tag = $(element).attr('class');
8582                selector_tag = '.' + class_name_tag.split(' ').join('.');
8583
8584                if(vendor_isnew_tag == 1){
8585                    margin_promo = 12;
8586                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8587                }
8588
8589                if(promo_tag == 1){
8590                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8591                }
8592
8593                if(game_ishot_tag == 1){
8594                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8595                }
8596            }
8597        });
8598
8599
8600                
8601        lobby_tag = ".lb-25839"
8602        promo_tag = "1";
8603        game_ishot_tag = "0";
8604        vendor_isnew_tag = "0";
8605        margin_promo = 0;
8606        // console.log(lobby_tag);
8607        // console.log("promo", promo_tag);
8608        // console.log("game_ishot", game_ishot_tag);
8609        // console.log("vendor_isnew", vendor_isnew_tag);
8610            
8611        $(lobby_tag).each(function(index, element) {
8612            if (index === 0) {
8613                // Navbar Content
8614                class_name_tag = $(element).attr('class');
8615                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8616                // on LI(navar) or DIV Content
8617                element_tag = $(element).prop('tagName');
8618                if(vendor_isnew_tag == 1){
8619                    if( element_tag == 'LI'){
8620                        margin_promo = 20;
8621                    }else{
8622                        margin_promo =10;
8623                    }
8624
8625                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8626                }
8627
8628                if(promo_tag == 1){
8629                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8630                }
8631
8632                if(game_ishot_tag == 1){
8633                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
8634                }
8635                
8636            } else if (index === 1) {
8637                // Lobby Content
8638                class_name_tag = $(element).attr('class');
8639                selector_tag = '.' + class_name_tag.split(' ').join('.');
8640
8641                if(vendor_isnew_tag == 1){
8642                    margin_promo = 12;
8643                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8644                }
8645
8646                if(promo_tag == 1){
8647                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8648                }
8649
8650                if(game_ishot_tag == 1){
8651                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8652                }
8653            }
8654        });
8655
8656
8657                
8658        lobby_tag = ".lb-26597"
8659        promo_tag = "0";
8660        game_ishot_tag = "0";
8661        vendor_isnew_tag = "0";
8662        margin_promo = 0;
8663        // console.log(lobby_tag);
8664        // console.log("promo", promo_tag);
8665        // console.log("game_ishot", game_ishot_tag);
8666        // console.log("vendor_isnew", vendor_isnew_tag);
8667            
8668        $(lobby_tag).each(function(index, element) {
8669            if (index === 0) {
8670                // Navbar Content
8671                class_name_tag = $(element).attr('class');
8672                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8673                // on LI(navar) or DIV Content
8674                element_tag = $(element).prop('tagName');
8675                if(vendor_isnew_tag == 1){
8676                    if( element_tag == 'LI'){
8677                        margin_promo = 20;
8678                    }else{
8679                        margin_promo =10;
8680                    }
8681
8682                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8683                }
8684
8685                if(promo_tag == 1){
8686                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8687                }
8688
8689                if(game_ishot_tag == 1){
8690                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
8690left:10px;top:0;z-index:10;width:35px"></div>`);
8691                }
8692                
8693            } else if (index === 1) {
8694                // Lobby Content
8695                class_name_tag = $(element).attr('class');
8696                selector_tag = '.' + class_name_tag.split(' ').join('.');
8697
8698                if(vendor_isnew_tag == 1){
8699                    margin_promo = 12;
8700                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8701                }
8702
8703                if(promo_tag == 1){
8704                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8705                }
8706
8707                if(game_ishot_tag == 1){
8708                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8709                }
8710            }
8711        });
8712
8713
8714                
8715        lobby_tag = ".lb-20809"
8716        promo_tag = "1";
8717        game_ishot_tag = "0";
8718        vendor_isnew_tag = "0";
8719        margin_promo = 0;
8720        // console.log(lobby_tag);
8721        // console.log("promo", promo_tag);
8722        // console.log("game_ishot", game_ishot_tag);
8723        // console.log("vendor_isnew", vendor_isnew_tag);
8724            
8725        $(lobby_tag).each(function(index, element) {
8726            if (index === 0) {
8727                // Navbar Content
8728                class_name_tag = $(element).attr('class');
8729                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8730                // on LI(navar) or DIV Content
8731                element_tag = $(element).prop('tagName');
8732                if(vendor_isnew_tag == 1){
8733                    if( element_tag == 'LI'){
8734                        margin_promo = 20;
8735                    }else{
8736                        margin_promo =10;
8737                    }
8738
8739                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8740                }
8741
8742                if(promo_tag == 1){
8743                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8744                }
8745
8746                if(game_ishot_tag == 1){
8747                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
8748                }
8749                
8750            } else if (index === 1) {
8751                // Lobby Content
8752                class_name_tag = $(element).attr('class');
8753                selector_tag = '.' + class_name_tag.split(' ').join('.');
8754
8755                if(vendor_isnew_tag == 1){
8756                    margin_promo = 12;
8757                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8758                }
8759
8760                if(promo_tag == 1){
8761                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8762                }
8763
8764                if(game_ishot_tag == 1){
8765                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8766                }
8767            }
8768        });
8769
8770
8771                
8772        lobby_tag = ".lb-16499"
8773        promo_tag = "1";
8774        game_ishot_tag = "0";
8775        vendor_isnew_tag = "0";
8776        margin_promo = 0;
8777        // console.log(lobby_tag);
8778        // console.log("promo", promo_tag);
8779        // console.log("game_ishot", game_ishot_tag);
8780        // console.log("vendor_isnew", vendor_isnew_tag);
8781            
8782        $(lobby_tag).each(function(index, element) {
8783            if (index === 0) {
8784                // Navbar Content
8785                class_name_tag = $(element).attr('class');
8786                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8787                // on LI(navar) or DIV Content
8788                element_tag = $(element).prop('tagName');
8789                if(vendor_isnew_tag == 1){
8790                    if( element_tag == 'LI'){
8791                        margin_promo = 20;
8792                    }else{
8793                        margin_promo =10;
8794                    }
8795
8796                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8797                }
8798
8799                if(promo_tag == 1){
8800                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8801                }
8802
8803                if(game_ishot_tag == 1){
8804                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
8804left:10px;top:0;z-index:10;width:35px"></div>`);
8805                }
8806                
8807            } else if (index === 1) {
8808                // Lobby Content
8809                class_name_tag = $(element).attr('class');
8810                selector_tag = '.' + class_name_tag.split(' ').join('.');
8811
8812                if(vendor_isnew_tag == 1){
8813                    margin_promo = 12;
8814                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8815                }
8816
8817                if(promo_tag == 1){
8818                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8819                }
8820
8821                if(game_ishot_tag == 1){
8822                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8823                }
8824            }
8825        });
8826
8827
8828                
8829        lobby_tag = ".lb-17554"
8830        promo_tag = "1";
8831        game_ishot_tag = "0";
8832        vendor_isnew_tag = "0";
8833        margin_promo = 0;
8834        // console.log(lobby_tag);
8835        // console.log("promo", promo_tag);
8836        // console.log("game_ishot", game_ishot_tag);
8837        // console.log("vendor_isnew", vendor_isnew_tag);
8838            
8839        $(lobby_tag).each(function(index, element) {
8840            if (index === 0) {
8841                // Navbar Content
8842                class_name_tag = $(element).attr('class');
8843                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8844                // on LI(navar) or DIV Content
8845                element_tag = $(element).prop('tagName');
8846                if(vendor_isnew_tag == 1){
8847                    if( element_tag == 'LI'){
8848                        margin_promo = 20;
8849                    }else{
8850                        margin_promo =10;
8851                    }
8852
8853                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8854                }
8855
8856                if(promo_tag == 1){
8857                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8858                }
8859
8860                if(game_ishot_tag == 1){
8861                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
8862                }
8863                
8864            } else if (index === 1) {
8865                // Lobby Content
8866                class_name_tag = $(element).attr('class');
8867                selector_tag = '.' + class_name_tag.split(' ').join('.');
8868
8869                if(vendor_isnew_tag == 1){
8870                    margin_promo = 12;
8871                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8872                }
8873
8874                if(promo_tag == 1){
8875                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8876                }
8877
8878                if(game_ishot_tag == 1){
8879                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8880                }
8881            }
8882        });
8883
8884
8885                
8886        lobby_tag = ".lb-16502"
8887        promo_tag = "1";
8888        game_ishot_tag = "0";
8889        vendor_isnew_tag = "0";
8890        margin_promo = 0;
8891        // console.log(lobby_tag);
8892        // console.log("promo", promo_tag);
8893        // console.log("game_ishot", game_ishot_tag);
8894        // console.log("vendor_isnew", vendor_isnew_tag);
8895            
8896        $(lobby_tag).each(function(index, element) {
8897            if (index === 0) {
8898                // Navbar Content
8899                class_name_tag = $(element).attr('class');
8900                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8901                // on LI(navar) or DIV Content
8902                element_tag = $(element).prop('tagName');
8903                if(vendor_isnew_tag == 1){
8904                    if( element_tag == 'LI'){
8905                        margin_promo = 20;
8906                    }else{
8907                        margin_promo =10;
8908                    }
8909
8910                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8911                }
8912
8913                if(promo_tag == 1){
8914                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8915                }
8916
8917                if(game_ishot_tag == 1){
8918                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
8918left:10px;top:0;z-index:10;width:35px"></div>`);
8919                }
8920                
8921            } else if (index === 1) {
8922                // Lobby Content
8923                class_name_tag = $(element).attr('class');
8924                selector_tag = '.' + class_name_tag.split(' ').join('.');
8925
8926                if(vendor_isnew_tag == 1){
8927                    margin_promo = 12;
8928                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8929                }
8930
8931                if(promo_tag == 1){
8932                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8933                }
8934
8935                if(game_ishot_tag == 1){
8936                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8937                }
8938            }
8939        });
8940
8941
8942                
8943        lobby_tag = ".lb-15461"
8944        promo_tag = "1";
8945        game_ishot_tag = "0";
8946        vendor_isnew_tag = "0";
8947        margin_promo = 0;
8948        // console.log(lobby_tag);
8949        // console.log("promo", promo_tag);
8950        // console.log("game_ishot", game_ishot_tag);
8951        // console.log("vendor_isnew", vendor_isnew_tag);
8952            
8953        $(lobby_tag).each(function(index, element) {
8954            if (index === 0) {
8955                // Navbar Content
8956                class_name_tag = $(element).attr('class');
8957                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
8958                // on LI(navar) or DIV Content
8959                element_tag = $(element).prop('tagName');
8960                if(vendor_isnew_tag == 1){
8961                    if( element_tag == 'LI'){
8962                        margin_promo = 20;
8963                    }else{
8964                        margin_promo =10;
8965                    }
8966
8967                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8968                }
8969
8970                if(promo_tag == 1){
8971                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8972                }
8973
8974                if(game_ishot_tag == 1){
8975                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
8976                }
8977                
8978            } else if (index === 1) {
8979                // Lobby Content
8980                class_name_tag = $(element).attr('class');
8981                selector_tag = '.' + class_name_tag.split(' ').join('.');
8982
8983                if(vendor_isnew_tag == 1){
8984                    margin_promo = 12;
8985                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
8986                }
8987
8988                if(promo_tag == 1){
8989                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
8990                }
8991
8992                if(game_ishot_tag == 1){
8993                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
8994                }
8995            }
8996        });
8997
8998
8999                
9000        lobby_tag = ".lb-17995"
9001        promo_tag = "1";
9002        game_ishot_tag = "0";
9003        vendor_isnew_tag = "0";
9004        margin_promo = 0;
9005        // console.log(lobby_tag);
9006        // console.log("promo", promo_tag);
9007        // console.log("game_ishot", game_ishot_tag);
9008        // console.log("vendor_isnew", vendor_isnew_tag);
9009            
9010        $(lobby_tag).each(function(index, element) {
9011            if (index === 0) {
9012                // Navbar Content
9013                class_name_tag = $(element).attr('class');
9014                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9015                // on LI(navar) or DIV Content
9016                element_tag = $(element).prop('tagName');
9017                if(vendor_isnew_tag == 1){
9018                    if( element_tag == 'LI'){
9019                        margin_promo = 20;
9020                    }else{
9021                        margin_promo =10;
9022                    }
9023
9024                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9025                }
9026
9027                if(promo_tag == 1){
9028                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9029                }
9030
9031                if(game_ishot_tag == 1){
9032                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
9032left:10px;top:0;z-index:10;width:35px"></div>`);
9033                }
9034                
9035            } else if (index === 1) {
9036                // Lobby Content
9037                class_name_tag = $(element).attr('class');
9038                selector_tag = '.' + class_name_tag.split(' ').join('.');
9039
9040                if(vendor_isnew_tag == 1){
9041                    margin_promo = 12;
9042                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9043                }
9044
9045                if(promo_tag == 1){
9046                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9047                }
9048
9049                if(game_ishot_tag == 1){
9050                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9051                }
9052            }
9053        });
9054
9055
9056                
9057        lobby_tag = ".lb-18380"
9058        promo_tag = "1";
9059        game_ishot_tag = "0";
9060        vendor_isnew_tag = "0";
9061        margin_promo = 0;
9062        // console.log(lobby_tag);
9063        // console.log("promo", promo_tag);
9064        // console.log("game_ishot", game_ishot_tag);
9065        // console.log("vendor_isnew", vendor_isnew_tag);
9066            
9067        $(lobby_tag).each(function(index, element) {
9068            if (index === 0) {
9069                // Navbar Content
9070                class_name_tag = $(element).attr('class');
9071                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9072                // on LI(navar) or DIV Content
9073                element_tag = $(element).prop('tagName');
9074                if(vendor_isnew_tag == 1){
9075                    if( element_tag == 'LI'){
9076                        margin_promo = 20;
9077                    }else{
9078                        margin_promo =10;
9079                    }
9080
9081                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9082                }
9083
9084                if(promo_tag == 1){
9085                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9086                }
9087
9088                if(game_ishot_tag == 1){
9089                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
9090                }
9091                
9092            } else if (index === 1) {
9093                // Lobby Content
9094                class_name_tag = $(element).attr('class');
9095                selector_tag = '.' + class_name_tag.split(' ').join('.');
9096
9097                if(vendor_isnew_tag == 1){
9098                    margin_promo = 12;
9099                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9100                }
9101
9102                if(promo_tag == 1){
9103                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9104                }
9105
9106                if(game_ishot_tag == 1){
9107                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9108                }
9109            }
9110        });
9111
9112
9113                
9114        lobby_tag = ".lb-15459"
9115        promo_tag = "1";
9116        game_ishot_tag = "0";
9117        vendor_isnew_tag = "0";
9118        margin_promo = 0;
9119        // console.log(lobby_tag);
9120        // console.log("promo", promo_tag);
9121        // console.log("game_ishot", game_ishot_tag);
9122        // console.log("vendor_isnew", vendor_isnew_tag);
9123            
9124        $(lobby_tag).each(function(index, element) {
9125            if (index === 0) {
9126                // Navbar Content
9127                class_name_tag = $(element).attr('class');
9128                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9129                // on LI(navar) or DIV Content
9130                element_tag = $(element).prop('tagName');
9131                if(vendor_isnew_tag == 1){
9132                    if( element_tag == 'LI'){
9133                        margin_promo = 20;
9134                    }else{
9135                        margin_promo =10;
9136                    }
9137
9138                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9139                }
9140
9141                if(promo_tag == 1){
9142                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9143                }
9144
9145                if(game_ishot_tag == 1){
9146                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
9146left:10px;top:0;z-index:10;width:35px"></div>`);
9147                }
9148                
9149            } else if (index === 1) {
9150                // Lobby Content
9151                class_name_tag = $(element).attr('class');
9152                selector_tag = '.' + class_name_tag.split(' ').join('.');
9153
9154                if(vendor_isnew_tag == 1){
9155                    margin_promo = 12;
9156                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9157                }
9158
9159                if(promo_tag == 1){
9160                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9161                }
9162
9163                if(game_ishot_tag == 1){
9164                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9165                }
9166            }
9167        });
9168
9169
9170                
9171        lobby_tag = ".lb-29305"
9172        promo_tag = "0";
9173        game_ishot_tag = "0";
9174        vendor_isnew_tag = "0";
9175        margin_promo = 0;
9176        // console.log(lobby_tag);
9177        // console.log("promo", promo_tag);
9178        // console.log("game_ishot", game_ishot_tag);
9179        // console.log("vendor_isnew", vendor_isnew_tag);
9180            
9181        $(lobby_tag).each(function(index, element) {
9182            if (index === 0) {
9183                // Navbar Content
9184                class_name_tag = $(element).attr('class');
9185                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9186                // on LI(navar) or DIV Content
9187                element_tag = $(element).prop('tagName');
9188                if(vendor_isnew_tag == 1){
9189                    if( element_tag == 'LI'){
9190                        margin_promo = 20;
9191                    }else{
9192                        margin_promo =10;
9193                    }
9194
9195                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9196                }
9197
9198                if(promo_tag == 1){
9199                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9200                }
9201
9202                if(game_ishot_tag == 1){
9203                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
9204                }
9205                
9206            } else if (index === 1) {
9207                // Lobby Content
9208                class_name_tag = $(element).attr('class');
9209                selector_tag = '.' + class_name_tag.split(' ').join('.');
9210
9211                if(vendor_isnew_tag == 1){
9212                    margin_promo = 12;
9213                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9214                }
9215
9216                if(promo_tag == 1){
9217                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9218                }
9219
9220                if(game_ishot_tag == 1){
9221                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9222                }
9223            }
9224        });
9225
9226
9227                
9228        lobby_tag = ".lb-29129"
9229        promo_tag = "1";
9230        game_ishot_tag = "0";
9231        vendor_isnew_tag = "0";
9232        margin_promo = 0;
9233        // console.log(lobby_tag);
9234        // console.log("promo", promo_tag);
9235        // console.log("game_ishot", game_ishot_tag);
9236        // console.log("vendor_isnew", vendor_isnew_tag);
9237            
9238        $(lobby_tag).each(function(index, element) {
9239            if (index === 0) {
9240                // Navbar Content
9241                class_name_tag = $(element).attr('class');
9242                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9243                // on LI(navar) or DIV Content
9244                element_tag = $(element).prop('tagName');
9245                if(vendor_isnew_tag == 1){
9246                    if( element_tag == 'LI'){
9247                        margin_promo = 20;
9248                    }else{
9249                        margin_promo =10;
9250                    }
9251
9252                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9253                }
9254
9255                if(promo_tag == 1){
9256                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9257                }
9258
9259                if(game_ishot_tag == 1){
9260                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
9260left:10px;top:0;z-index:10;width:35px"></div>`);
9261                }
9262                
9263            } else if (index === 1) {
9264                // Lobby Content
9265                class_name_tag = $(element).attr('class');
9266                selector_tag = '.' + class_name_tag.split(' ').join('.');
9267
9268                if(vendor_isnew_tag == 1){
9269                    margin_promo = 12;
9270                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9271                }
9272
9273                if(promo_tag == 1){
9274                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9275                }
9276
9277                if(game_ishot_tag == 1){
9278                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9279                }
9280            }
9281        });
9282
9283
9284                                
9285        lobby_tag = ".lb-2010"
9286        promo_tag = "1";
9287        game_ishot_tag = "0";
9288        vendor_isnew_tag = "0";
9289        margin_promo = 0;
9290        // console.log(lobby_tag);
9291        // console.log("promo", promo_tag);
9292        // console.log("game_ishot", game_ishot_tag);
9293        // console.log("vendor_isnew", vendor_isnew_tag);
9294            
9295        $(lobby_tag).each(function(index, element) {
9296            if (index === 0) {
9297                // Navbar Content
9298                class_name_tag = $(element).attr('class');
9299                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9300                // on LI(navar) or DIV Content
9301                element_tag = $(element).prop('tagName');
9302                if(vendor_isnew_tag == 1){
9303                    if( element_tag == 'LI'){
9304                        margin_promo = 20;
9305                    }else{
9306                        margin_promo =10;
9307                    }
9308
9309                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9310                }
9311
9312                if(promo_tag == 1){
9313                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9314                }
9315
9316                if(game_ishot_tag == 1){
9317                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
9318                }
9319                
9320            } else if (index === 1) {
9321                // Lobby Content
9322                class_name_tag = $(element).attr('class');
9323                selector_tag = '.' + class_name_tag.split(' ').join('.');
9324
9325                if(vendor_isnew_tag == 1){
9326                    margin_promo = 12;
9327                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9328                }
9329
9330                if(promo_tag == 1){
9331                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9332                }
9333
9334                if(game_ishot_tag == 1){
9335                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9336                }
9337            }
9338        });
9339
9340
9341                
9342        lobby_tag = ".lb-160"
9343        promo_tag = "1";
9344        game_ishot_tag = "0";
9345        vendor_isnew_tag = "0";
9346        margin_promo = 0;
9347        // console.log(lobby_tag);
9348        // console.log("promo", promo_tag);
9349        // console.log("game_ishot", game_ishot_tag);
9350        // console.log("vendor_isnew", vendor_isnew_tag);
9351            
9352        $(lobby_tag).each(function(index, element) {
9353            if (index === 0) {
9354                // Navbar Content
9355                class_name_tag = $(element).attr('class');
9356                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9357                // on LI(navar) or DIV Content
9358                element_tag = $(element).prop('tagName');
9359                if(vendor_isnew_tag == 1){
9360                    if( element_tag == 'LI'){
9361                        margin_promo = 20;
9362                    }else{
9363                        margin_promo =10;
9364                    }
9365
9366                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9367                }
9368
9369                if(promo_tag == 1){
9370                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9371                }
9372
9373                if(game_ishot_tag == 1){
9374                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
9374left:10px;top:0;z-index:10;width:35px"></div>`);
9375                }
9376                
9377            } else if (index === 1) {
9378                // Lobby Content
9379                class_name_tag = $(element).attr('class');
9380                selector_tag = '.' + class_name_tag.split(' ').join('.');
9381
9382                if(vendor_isnew_tag == 1){
9383                    margin_promo = 12;
9384                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9385                }
9386
9387                if(promo_tag == 1){
9388                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9389                }
9390
9391                if(game_ishot_tag == 1){
9392                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9393                }
9394            }
9395        });
9396
9397
9398                
9399        lobby_tag = ".lb-15462"
9400        promo_tag = "1";
9401        game_ishot_tag = "0";
9402        vendor_isnew_tag = "0";
9403        margin_promo = 0;
9404        // console.log(lobby_tag);
9405        // console.log("promo", promo_tag);
9406        // console.log("game_ishot", game_ishot_tag);
9407        // console.log("vendor_isnew", vendor_isnew_tag);
9408            
9409        $(lobby_tag).each(function(index, element) {
9410            if (index === 0) {
9411                // Navbar Content
9412                class_name_tag = $(element).attr('class');
9413                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9414                // on LI(navar) or DIV Content
9415                element_tag = $(element).prop('tagName');
9416                if(vendor_isnew_tag == 1){
9417                    if( element_tag == 'LI'){
9418                        margin_promo = 20;
9419                    }else{
9420                        margin_promo =10;
9421                    }
9422
9423                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9424                }
9425
9426                if(promo_tag == 1){
9427                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9428                }
9429
9430                if(game_ishot_tag == 1){
9431                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
9432                }
9433                
9434            } else if (index === 1) {
9435                // Lobby Content
9436                class_name_tag = $(element).attr('class');
9437                selector_tag = '.' + class_name_tag.split(' ').join('.');
9438
9439                if(vendor_isnew_tag == 1){
9440                    margin_promo = 12;
9441                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9442                }
9443
9444                if(promo_tag == 1){
9445                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9446                }
9447
9448                if(game_ishot_tag == 1){
9449                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9450                }
9451            }
9452        });
9453
9454
9455                
9456        lobby_tag = ".lb-30139"
9457        promo_tag = "0";
9458        game_ishot_tag = "0";
9459        vendor_isnew_tag = "0";
9460        margin_promo = 0;
9461        // console.log(lobby_tag);
9462        // console.log("promo", promo_tag);
9463        // console.log("game_ishot", game_ishot_tag);
9464        // console.log("vendor_isnew", vendor_isnew_tag);
9465            
9466        $(lobby_tag).each(function(index, element) {
9467            if (index === 0) {
9468                // Navbar Content
9469                class_name_tag = $(element).attr('class');
9470                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9471                // on LI(navar) or DIV Content
9472                element_tag = $(element).prop('tagName');
9473                if(vendor_isnew_tag == 1){
9474                    if( element_tag == 'LI'){
9475                        margin_promo = 20;
9476                    }else{
9477                        margin_promo =10;
9478                    }
9479
9480                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9481                }
9482
9483                if(promo_tag == 1){
9484                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9485                }
9486
9487                if(game_ishot_tag == 1){
9488                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
9488left:10px;top:0;z-index:10;width:35px"></div>`);
9489                }
9490                
9491            } else if (index === 1) {
9492                // Lobby Content
9493                class_name_tag = $(element).attr('class');
9494                selector_tag = '.' + class_name_tag.split(' ').join('.');
9495
9496                if(vendor_isnew_tag == 1){
9497                    margin_promo = 12;
9498                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9499                }
9500
9501                if(promo_tag == 1){
9502                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9503                }
9504
9505                if(game_ishot_tag == 1){
9506                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9507                }
9508            }
9509        });
9510
9511
9512                
9513        lobby_tag = ".lb-14938"
9514        promo_tag = "1";
9515        game_ishot_tag = "0";
9516        vendor_isnew_tag = "0";
9517        margin_promo = 0;
9518        // console.log(lobby_tag);
9519        // console.log("promo", promo_tag);
9520        // console.log("game_ishot", game_ishot_tag);
9521        // console.log("vendor_isnew", vendor_isnew_tag);
9522            
9523        $(lobby_tag).each(function(index, element) {
9524            if (index === 0) {
9525                // Navbar Content
9526                class_name_tag = $(element).attr('class');
9527                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9528                // on LI(navar) or DIV Content
9529                element_tag = $(element).prop('tagName');
9530                if(vendor_isnew_tag == 1){
9531                    if( element_tag == 'LI'){
9532                        margin_promo = 20;
9533                    }else{
9534                        margin_promo =10;
9535                    }
9536
9537                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9538                }
9539
9540                if(promo_tag == 1){
9541                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9542                }
9543
9544                if(game_ishot_tag == 1){
9545                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
9546                }
9547                
9548            } else if (index === 1) {
9549                // Lobby Content
9550                class_name_tag = $(element).attr('class');
9551                selector_tag = '.' + class_name_tag.split(' ').join('.');
9552
9553                if(vendor_isnew_tag == 1){
9554                    margin_promo = 12;
9555                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9556                }
9557
9558                if(promo_tag == 1){
9559                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9560                }
9561
9562                if(game_ishot_tag == 1){
9563                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9564                }
9565            }
9566        });
9567
9568
9569                
9570        lobby_tag = ".lb-29302"
9571        promo_tag = "0";
9572        game_ishot_tag = "0";
9573        vendor_isnew_tag = "0";
9574        margin_promo = 0;
9575        // console.log(lobby_tag);
9576        // console.log("promo", promo_tag);
9577        // console.log("game_ishot", game_ishot_tag);
9578        // console.log("vendor_isnew", vendor_isnew_tag);
9579            
9580        $(lobby_tag).each(function(index, element) {
9581            if (index === 0) {
9582                // Navbar Content
9583                class_name_tag = $(element).attr('class');
9584                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9585                // on LI(navar) or DIV Content
9586                element_tag = $(element).prop('tagName');
9587                if(vendor_isnew_tag == 1){
9588                    if( element_tag == 'LI'){
9589                        margin_promo = 20;
9590                    }else{
9591                        margin_promo =10;
9592                    }
9593
9594                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9595                }
9596
9597                if(promo_tag == 1){
9598                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9599                }
9600
9601                if(game_ishot_tag == 1){
9602                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
9602left:10px;top:0;z-index:10;width:35px"></div>`);
9603                }
9604                
9605            } else if (index === 1) {
9606                // Lobby Content
9607                class_name_tag = $(element).attr('class');
9608                selector_tag = '.' + class_name_tag.split(' ').join('.');
9609
9610                if(vendor_isnew_tag == 1){
9611                    margin_promo = 12;
9612                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9613                }
9614
9615                if(promo_tag == 1){
9616                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9617                }
9618
9619                if(game_ishot_tag == 1){
9620                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9621                }
9622            }
9623        });
9624
9625
9626                
9627        lobby_tag = ".lb-2100"
9628        promo_tag = "1";
9629        game_ishot_tag = "0";
9630        vendor_isnew_tag = "0";
9631        margin_promo = 0;
9632        // console.log(lobby_tag);
9633        // console.log("promo", promo_tag);
9634        // console.log("game_ishot", game_ishot_tag);
9635        // console.log("vendor_isnew", vendor_isnew_tag);
9636            
9637        $(lobby_tag).each(function(index, element) {
9638            if (index === 0) {
9639                // Navbar Content
9640                class_name_tag = $(element).attr('class');
9641                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9642                // on LI(navar) or DIV Content
9643                element_tag = $(element).prop('tagName');
9644                if(vendor_isnew_tag == 1){
9645                    if( element_tag == 'LI'){
9646                        margin_promo = 20;
9647                    }else{
9648                        margin_promo =10;
9649                    }
9650
9651                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9652                }
9653
9654                if(promo_tag == 1){
9655                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9656                }
9657
9658                if(game_ishot_tag == 1){
9659                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
9660                }
9661                
9662            } else if (index === 1) {
9663                // Lobby Content
9664                class_name_tag = $(element).attr('class');
9665                selector_tag = '.' + class_name_tag.split(' ').join('.');
9666
9667                if(vendor_isnew_tag == 1){
9668                    margin_promo = 12;
9669                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9670                }
9671
9672                if(promo_tag == 1){
9673                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9674                }
9675
9676                if(game_ishot_tag == 1){
9677                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9678                }
9679            }
9680        });
9681
9682
9683                
9684        lobby_tag = ".lb-141"
9685        promo_tag = "1";
9686        game_ishot_tag = "0";
9687        vendor_isnew_tag = "0";
9688        margin_promo = 0;
9689        // console.log(lobby_tag);
9690        // console.log("promo", promo_tag);
9691        // console.log("game_ishot", game_ishot_tag);
9692        // console.log("vendor_isnew", vendor_isnew_tag);
9693            
9694        $(lobby_tag).each(function(index, element) {
9695            if (index === 0) {
9696                // Navbar Content
9697                class_name_tag = $(element).attr('class');
9698                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9699                // on LI(navar) or DIV Content
9700                element_tag = $(element).prop('tagName');
9701                if(vendor_isnew_tag == 1){
9702                    if( element_tag == 'LI'){
9703                        margin_promo = 20;
9704                    }else{
9705                        margin_promo =10;
9706                    }
9707
9708                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9709                }
9710
9711                if(promo_tag == 1){
9712                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9713                }
9714
9715                if(game_ishot_tag == 1){
9716                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
9716left:10px;top:0;z-index:10;width:35px"></div>`);
9717                }
9718                
9719            } else if (index === 1) {
9720                // Lobby Content
9721                class_name_tag = $(element).attr('class');
9722                selector_tag = '.' + class_name_tag.split(' ').join('.');
9723
9724                if(vendor_isnew_tag == 1){
9725                    margin_promo = 12;
9726                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9727                }
9728
9729                if(promo_tag == 1){
9730                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9731                }
9732
9733                if(game_ishot_tag == 1){
9734                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9735                }
9736            }
9737        });
9738
9739
9740                
9741        lobby_tag = ".lb-26327"
9742        promo_tag = "1";
9743        game_ishot_tag = "1";
9744        vendor_isnew_tag = "0";
9745        margin_promo = 0;
9746        // console.log(lobby_tag);
9747        // console.log("promo", promo_tag);
9748        // console.log("game_ishot", game_ishot_tag);
9749        // console.log("vendor_isnew", vendor_isnew_tag);
9750            
9751        $(lobby_tag).each(function(index, element) {
9752            if (index === 0) {
9753                // Navbar Content
9754                class_name_tag = $(element).attr('class');
9755                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9756                // on LI(navar) or DIV Content
9757                element_tag = $(element).prop('tagName');
9758                if(vendor_isnew_tag == 1){
9759                    if( element_tag == 'LI'){
9760                        margin_promo = 20;
9761                    }else{
9762                        margin_promo =10;
9763                    }
9764
9765                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9766                }
9767
9768                if(promo_tag == 1){
9769                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9770                }
9771
9772                if(game_ishot_tag == 1){
9773                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
9774                }
9775                
9776            } else if (index === 1) {
9777                // Lobby Content
9778                class_name_tag = $(element).attr('class');
9779                selector_tag = '.' + class_name_tag.split(' ').join('.');
9780
9781                if(vendor_isnew_tag == 1){
9782                    margin_promo = 12;
9783                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9784                }
9785
9786                if(promo_tag == 1){
9787                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9788                }
9789
9790                if(game_ishot_tag == 1){
9791                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9792                }
9793            }
9794        });
9795
9796
9797                
9798        lobby_tag = ".lb-12199"
9799        promo_tag = "1";
9800        game_ishot_tag = "0";
9801        vendor_isnew_tag = "0";
9802        margin_promo = 0;
9803        // console.log(lobby_tag);
9804        // console.log("promo", promo_tag);
9805        // console.log("game_ishot", game_ishot_tag);
9806        // console.log("vendor_isnew", vendor_isnew_tag);
9807            
9808        $(lobby_tag).each(function(index, element) {
9809            if (index === 0) {
9810                // Navbar Content
9811                class_name_tag = $(element).attr('class');
9812                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9813                // on LI(navar) or DIV Content
9814                element_tag = $(element).prop('tagName');
9815                if(vendor_isnew_tag == 1){
9816                    if( element_tag == 'LI'){
9817                        margin_promo = 20;
9818                    }else{
9819                        margin_promo =10;
9820                    }
9821
9822                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9823                }
9824
9825                if(promo_tag == 1){
9826                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9827                }
9828
9829                if(game_ishot_tag == 1){
9830                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
9830left:10px;top:0;z-index:10;width:35px"></div>`);
9831                }
9832                
9833            } else if (index === 1) {
9834                // Lobby Content
9835                class_name_tag = $(element).attr('class');
9836                selector_tag = '.' + class_name_tag.split(' ').join('.');
9837
9838                if(vendor_isnew_tag == 1){
9839                    margin_promo = 12;
9840                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9841                }
9842
9843                if(promo_tag == 1){
9844                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9845                }
9846
9847                if(game_ishot_tag == 1){
9848                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9849                }
9850            }
9851        });
9852
9853
9854                
9855        lobby_tag = ".lb-26843"
9856        promo_tag = "1";
9857        game_ishot_tag = "0";
9858        vendor_isnew_tag = "0";
9859        margin_promo = 0;
9860        // console.log(lobby_tag);
9861        // console.log("promo", promo_tag);
9862        // console.log("game_ishot", game_ishot_tag);
9863        // console.log("vendor_isnew", vendor_isnew_tag);
9864            
9865        $(lobby_tag).each(function(index, element) {
9866            if (index === 0) {
9867                // Navbar Content
9868                class_name_tag = $(element).attr('class');
9869                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9870                // on LI(navar) or DIV Content
9871                element_tag = $(element).prop('tagName');
9872                if(vendor_isnew_tag == 1){
9873                    if( element_tag == 'LI'){
9874                        margin_promo = 20;
9875                    }else{
9876                        margin_promo =10;
9877                    }
9878
9879                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9880                }
9881
9882                if(promo_tag == 1){
9883                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9884                }
9885
9886                if(game_ishot_tag == 1){
9887                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
9888                }
9889                
9890            } else if (index === 1) {
9891                // Lobby Content
9892                class_name_tag = $(element).attr('class');
9893                selector_tag = '.' + class_name_tag.split(' ').join('.');
9894
9895                if(vendor_isnew_tag == 1){
9896                    margin_promo = 12;
9897                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9898                }
9899
9900                if(promo_tag == 1){
9901                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9902                }
9903
9904                if(game_ishot_tag == 1){
9905                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9906                }
9907            }
9908        });
9909
9910
9911                
9912        lobby_tag = ".lb-28173"
9913        promo_tag = "0";
9914        game_ishot_tag = "0";
9915        vendor_isnew_tag = "0";
9916        margin_promo = 0;
9917        // console.log(lobby_tag);
9918        // console.log("promo", promo_tag);
9919        // console.log("game_ishot", game_ishot_tag);
9920        // console.log("vendor_isnew", vendor_isnew_tag);
9921            
9922        $(lobby_tag).each(function(index, element) {
9923            if (index === 0) {
9924                // Navbar Content
9925                class_name_tag = $(element).attr('class');
9926                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9927                // on LI(navar) or DIV Content
9928                element_tag = $(element).prop('tagName');
9929                if(vendor_isnew_tag == 1){
9930                    if( element_tag == 'LI'){
9931                        margin_promo = 20;
9932                    }else{
9933                        margin_promo =10;
9934                    }
9935
9936                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9937                }
9938
9939                if(promo_tag == 1){
9940                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9941                }
9942
9943                if(game_ishot_tag == 1){
9944                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
9944left:10px;top:0;z-index:10;width:35px"></div>`);
9945                }
9946                
9947            } else if (index === 1) {
9948                // Lobby Content
9949                class_name_tag = $(element).attr('class');
9950                selector_tag = '.' + class_name_tag.split(' ').join('.');
9951
9952                if(vendor_isnew_tag == 1){
9953                    margin_promo = 12;
9954                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9955                }
9956
9957                if(promo_tag == 1){
9958                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9959                }
9960
9961                if(game_ishot_tag == 1){
9962                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
9963                }
9964            }
9965        });
9966
9967
9968                
9969        lobby_tag = ".lb-15964"
9970        promo_tag = "1";
9971        game_ishot_tag = "0";
9972        vendor_isnew_tag = "0";
9973        margin_promo = 0;
9974        // console.log(lobby_tag);
9975        // console.log("promo", promo_tag);
9976        // console.log("game_ishot", game_ishot_tag);
9977        // console.log("vendor_isnew", vendor_isnew_tag);
9978            
9979        $(lobby_tag).each(function(index, element) {
9980            if (index === 0) {
9981                // Navbar Content
9982                class_name_tag = $(element).attr('class');
9983                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
9984                // on LI(navar) or DIV Content
9985                element_tag = $(element).prop('tagName');
9986                if(vendor_isnew_tag == 1){
9987                    if( element_tag == 'LI'){
9988                        margin_promo = 20;
9989                    }else{
9990                        margin_promo =10;
9991                    }
9992
9993                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
9994                }
9995
9996                if(promo_tag == 1){
9997                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
9998                }
9999
10000                if(game_ishot_tag == 1){
10001                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
10002                }
10003                
10004            } else if (index === 1) {
10005                // Lobby Content
10006                class_name_tag = $(element).attr('class');
10007                selector_tag = '.' + class_name_tag.split(' ').join('.');
10008
10009                if(vendor_isnew_tag == 1){
10010                    margin_promo = 12;
10011                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10012                }
10013
10014                if(promo_tag == 1){
10015                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10016                }
10017
10018                if(game_ishot_tag == 1){
10019                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10020                }
10021            }
10022        });
10023
10024
10025                
10026        lobby_tag = ".lb-1701"
10027        promo_tag = "1";
10028        game_ishot_tag = "0";
10029        vendor_isnew_tag = "0";
10030        margin_promo = 0;
10031        // console.log(lobby_tag);
10032        // console.log("promo", promo_tag);
10033        // console.log("game_ishot", game_ishot_tag);
10034        // console.log("vendor_isnew", vendor_isnew_tag);
10035            
10036        $(lobby_tag).each(function(index, element) {
10037            if (index === 0) {
10038                // Navbar Content
10039                class_name_tag = $(element).attr('class');
10040                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10041                // on LI(navar) or DIV Content
10042                element_tag = $(element).prop('tagName');
10043                if(vendor_isnew_tag == 1){
10044                    if( element_tag == 'LI'){
10045                        margin_promo = 20;
10046                    }else{
10047                        margin_promo =10;
10048                    }
10049
10050                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10051                }
10052
10053                if(promo_tag == 1){
10054                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10055                }
10056
10057                if(game_ishot_tag == 1){
10058                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
10058left:10px;top:0;z-index:10;width:35px"></div>`);
10059                }
10060                
10061            } else if (index === 1) {
10062                // Lobby Content
10063                class_name_tag = $(element).attr('class');
10064                selector_tag = '.' + class_name_tag.split(' ').join('.');
10065
10066                if(vendor_isnew_tag == 1){
10067                    margin_promo = 12;
10068                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10069                }
10070
10071                if(promo_tag == 1){
10072                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10073                }
10074
10075                if(game_ishot_tag == 1){
10076                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10077                }
10078            }
10079        });
10080
10081
10082                
10083        lobby_tag = ".lb-2104"
10084        promo_tag = "1";
10085        game_ishot_tag = "0";
10086        vendor_isnew_tag = "0";
10087        margin_promo = 0;
10088        // console.log(lobby_tag);
10089        // console.log("promo", promo_tag);
10090        // console.log("game_ishot", game_ishot_tag);
10091        // console.log("vendor_isnew", vendor_isnew_tag);
10092            
10093        $(lobby_tag).each(function(index, element) {
10094            if (index === 0) {
10095                // Navbar Content
10096                class_name_tag = $(element).attr('class');
10097                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10098                // on LI(navar) or DIV Content
10099                element_tag = $(element).prop('tagName');
10100                if(vendor_isnew_tag == 1){
10101                    if( element_tag == 'LI'){
10102                        margin_promo = 20;
10103                    }else{
10104                        margin_promo =10;
10105                    }
10106
10107                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10108                }
10109
10110                if(promo_tag == 1){
10111                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10112                }
10113
10114                if(game_ishot_tag == 1){
10115                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
10116                }
10117                
10118            } else if (index === 1) {
10119                // Lobby Content
10120                class_name_tag = $(element).attr('class');
10121                selector_tag = '.' + class_name_tag.split(' ').join('.');
10122
10123                if(vendor_isnew_tag == 1){
10124                    margin_promo = 12;
10125                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10126                }
10127
10128                if(promo_tag == 1){
10129                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10130                }
10131
10132                if(game_ishot_tag == 1){
10133                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10134                }
10135            }
10136        });
10137
10138
10139                
10140        lobby_tag = ".lb-24871"
10141        promo_tag = "1";
10142        game_ishot_tag = "0";
10143        vendor_isnew_tag = "0";
10144        margin_promo = 0;
10145        // console.log(lobby_tag);
10146        // console.log("promo", promo_tag);
10147        // console.log("game_ishot", game_ishot_tag);
10148        // console.log("vendor_isnew", vendor_isnew_tag);
10149            
10150        $(lobby_tag).each(function(index, element) {
10151            if (index === 0) {
10152                // Navbar Content
10153                class_name_tag = $(element).attr('class');
10154                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10155                // on LI(navar) or DIV Content
10156                element_tag = $(element).prop('tagName');
10157                if(vendor_isnew_tag == 1){
10158                    if( element_tag == 'LI'){
10159                        margin_promo = 20;
10160                    }else{
10161                        margin_promo =10;
10162                    }
10163
10164                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10165                }
10166
10167                if(promo_tag == 1){
10168                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10169                }
10170
10171                if(game_ishot_tag == 1){
10172                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
10172left:10px;top:0;z-index:10;width:35px"></div>`);
10173                }
10174                
10175            } else if (index === 1) {
10176                // Lobby Content
10177                class_name_tag = $(element).attr('class');
10178                selector_tag = '.' + class_name_tag.split(' ').join('.');
10179
10180                if(vendor_isnew_tag == 1){
10181                    margin_promo = 12;
10182                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10183                }
10184
10185                if(promo_tag == 1){
10186                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10187                }
10188
10189                if(game_ishot_tag == 1){
10190                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10191                }
10192            }
10193        });
10194
10195
10196                
10197        lobby_tag = ".lb-29896"
10198        promo_tag = "1";
10199        game_ishot_tag = "0";
10200        vendor_isnew_tag = "0";
10201        margin_promo = 0;
10202        // console.log(lobby_tag);
10203        // console.log("promo", promo_tag);
10204        // console.log("game_ishot", game_ishot_tag);
10205        // console.log("vendor_isnew", vendor_isnew_tag);
10206            
10207        $(lobby_tag).each(function(index, element) {
10208            if (index === 0) {
10209                // Navbar Content
10210                class_name_tag = $(element).attr('class');
10211                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10212                // on LI(navar) or DIV Content
10213                element_tag = $(element).prop('tagName');
10214                if(vendor_isnew_tag == 1){
10215                    if( element_tag == 'LI'){
10216                        margin_promo = 20;
10217                    }else{
10218                        margin_promo =10;
10219                    }
10220
10221                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10222                }
10223
10224                if(promo_tag == 1){
10225                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10226                }
10227
10228                if(game_ishot_tag == 1){
10229                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
10230                }
10231                
10232            } else if (index === 1) {
10233                // Lobby Content
10234                class_name_tag = $(element).attr('class');
10235                selector_tag = '.' + class_name_tag.split(' ').join('.');
10236
10237                if(vendor_isnew_tag == 1){
10238                    margin_promo = 12;
10239                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10240                }
10241
10242                if(promo_tag == 1){
10243                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10244                }
10245
10246                if(game_ishot_tag == 1){
10247                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10248                }
10249            }
10250        });
10251
10252
10253                
10254        lobby_tag = ".lb-25118"
10255        promo_tag = "1";
10256        game_ishot_tag = "0";
10257        vendor_isnew_tag = "0";
10258        margin_promo = 0;
10259        // console.log(lobby_tag);
10260        // console.log("promo", promo_tag);
10261        // console.log("game_ishot", game_ishot_tag);
10262        // console.log("vendor_isnew", vendor_isnew_tag);
10263            
10264        $(lobby_tag).each(function(index, element) {
10265            if (index === 0) {
10266                // Navbar Content
10267                class_name_tag = $(element).attr('class');
10268                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10269                // on LI(navar) or DIV Content
10270                element_tag = $(element).prop('tagName');
10271                if(vendor_isnew_tag == 1){
10272                    if( element_tag == 'LI'){
10273                        margin_promo = 20;
10274                    }else{
10275                        margin_promo =10;
10276                    }
10277
10278                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10279                }
10280
10281                if(promo_tag == 1){
10282                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10283                }
10284
10285                if(game_ishot_tag == 1){
10286                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
10286left:10px;top:0;z-index:10;width:35px"></div>`);
10287                }
10288                
10289            } else if (index === 1) {
10290                // Lobby Content
10291                class_name_tag = $(element).attr('class');
10292                selector_tag = '.' + class_name_tag.split(' ').join('.');
10293
10294                if(vendor_isnew_tag == 1){
10295                    margin_promo = 12;
10296                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10297                }
10298
10299                if(promo_tag == 1){
10300                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10301                }
10302
10303                if(game_ishot_tag == 1){
10304                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10305                }
10306            }
10307        });
10308
10309
10310                
10311        lobby_tag = ".lb-1102"
10312        promo_tag = "1";
10313        game_ishot_tag = "0";
10314        vendor_isnew_tag = "0";
10315        margin_promo = 0;
10316        // console.log(lobby_tag);
10317        // console.log("promo", promo_tag);
10318        // console.log("game_ishot", game_ishot_tag);
10319        // console.log("vendor_isnew", vendor_isnew_tag);
10320            
10321        $(lobby_tag).each(function(index, element) {
10322            if (index === 0) {
10323                // Navbar Content
10324                class_name_tag = $(element).attr('class');
10325                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10326                // on LI(navar) or DIV Content
10327                element_tag = $(element).prop('tagName');
10328                if(vendor_isnew_tag == 1){
10329                    if( element_tag == 'LI'){
10330                        margin_promo = 20;
10331                    }else{
10332                        margin_promo =10;
10333                    }
10334
10335                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10336                }
10337
10338                if(promo_tag == 1){
10339                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10340                }
10341
10342                if(game_ishot_tag == 1){
10343                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
10344                }
10345                
10346            } else if (index === 1) {
10347                // Lobby Content
10348                class_name_tag = $(element).attr('class');
10349                selector_tag = '.' + class_name_tag.split(' ').join('.');
10350
10351                if(vendor_isnew_tag == 1){
10352                    margin_promo = 12;
10353                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10354                }
10355
10356                if(promo_tag == 1){
10357                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10358                }
10359
10360                if(game_ishot_tag == 1){
10361                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10362                }
10363            }
10364        });
10365
10366
10367                
10368        lobby_tag = ".lb-28172"
10369        promo_tag = "0";
10370        game_ishot_tag = "1";
10371        vendor_isnew_tag = "0";
10372        margin_promo = 0;
10373        // console.log(lobby_tag);
10374        // console.log("promo", promo_tag);
10375        // console.log("game_ishot", game_ishot_tag);
10376        // console.log("vendor_isnew", vendor_isnew_tag);
10377            
10378        $(lobby_tag).each(function(index, element) {
10379            if (index === 0) {
10380                // Navbar Content
10381                class_name_tag = $(element).attr('class');
10382                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10383                // on LI(navar) or DIV Content
10384                element_tag = $(element).prop('tagName');
10385                if(vendor_isnew_tag == 1){
10386                    if( element_tag == 'LI'){
10387                        margin_promo = 20;
10388                    }else{
10389                        margin_promo =10;
10390                    }
10391
10392                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10393                }
10394
10395                if(promo_tag == 1){
10396                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10397                }
10398
10399                if(game_ishot_tag == 1){
10400                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
10400left:10px;top:0;z-index:10;width:35px"></div>`);
10401                }
10402                
10403            } else if (index === 1) {
10404                // Lobby Content
10405                class_name_tag = $(element).attr('class');
10406                selector_tag = '.' + class_name_tag.split(' ').join('.');
10407
10408                if(vendor_isnew_tag == 1){
10409                    margin_promo = 12;
10410                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10411                }
10412
10413                if(promo_tag == 1){
10414                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10415                }
10416
10417                if(game_ishot_tag == 1){
10418                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10419                }
10420            }
10421        });
10422
10423
10424                
10425        lobby_tag = ".lb-16289"
10426        promo_tag = "1";
10427        game_ishot_tag = "0";
10428        vendor_isnew_tag = "0";
10429        margin_promo = 0;
10430        // console.log(lobby_tag);
10431        // console.log("promo", promo_tag);
10432        // console.log("game_ishot", game_ishot_tag);
10433        // console.log("vendor_isnew", vendor_isnew_tag);
10434            
10435        $(lobby_tag).each(function(index, element) {
10436            if (index === 0) {
10437                // Navbar Content
10438                class_name_tag = $(element).attr('class');
10439                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10440                // on LI(navar) or DIV Content
10441                element_tag = $(element).prop('tagName');
10442                if(vendor_isnew_tag == 1){
10443                    if( element_tag == 'LI'){
10444                        margin_promo = 20;
10445                    }else{
10446                        margin_promo =10;
10447                    }
10448
10449                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10450                }
10451
10452                if(promo_tag == 1){
10453                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10454                }
10455
10456                if(game_ishot_tag == 1){
10457                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
10458                }
10459                
10460            } else if (index === 1) {
10461                // Lobby Content
10462                class_name_tag = $(element).attr('class');
10463                selector_tag = '.' + class_name_tag.split(' ').join('.');
10464
10465                if(vendor_isnew_tag == 1){
10466                    margin_promo = 12;
10467                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10468                }
10469
10470                if(promo_tag == 1){
10471                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10472                }
10473
10474                if(game_ishot_tag == 1){
10475                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10476                }
10477            }
10478        });
10479
10480
10481                
10482        lobby_tag = ".lb-22613"
10483        promo_tag = "0";
10484        game_ishot_tag = "0";
10485        vendor_isnew_tag = "0";
10486        margin_promo = 0;
10487        // console.log(lobby_tag);
10488        // console.log("promo", promo_tag);
10489        // console.log("game_ishot", game_ishot_tag);
10490        // console.log("vendor_isnew", vendor_isnew_tag);
10491            
10492        $(lobby_tag).each(function(index, element) {
10493            if (index === 0) {
10494                // Navbar Content
10495                class_name_tag = $(element).attr('class');
10496                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10497                // on LI(navar) or DIV Content
10498                element_tag = $(element).prop('tagName');
10499                if(vendor_isnew_tag == 1){
10500                    if( element_tag == 'LI'){
10501                        margin_promo = 20;
10502                    }else{
10503                        margin_promo =10;
10504                    }
10505
10506                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10507                }
10508
10509                if(promo_tag == 1){
10510                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10511                }
10512
10513                if(game_ishot_tag == 1){
10514                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
10514left:10px;top:0;z-index:10;width:35px"></div>`);
10515                }
10516                
10517            } else if (index === 1) {
10518                // Lobby Content
10519                class_name_tag = $(element).attr('class');
10520                selector_tag = '.' + class_name_tag.split(' ').join('.');
10521
10522                if(vendor_isnew_tag == 1){
10523                    margin_promo = 12;
10524                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10525                }
10526
10527                if(promo_tag == 1){
10528                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10529                }
10530
10531                if(game_ishot_tag == 1){
10532                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10533                }
10534            }
10535        });
10536
10537
10538                
10539        lobby_tag = ".lb-23612"
10540        promo_tag = "1";
10541        game_ishot_tag = "0";
10542        vendor_isnew_tag = "0";
10543        margin_promo = 0;
10544        // console.log(lobby_tag);
10545        // console.log("promo", promo_tag);
10546        // console.log("game_ishot", game_ishot_tag);
10547        // console.log("vendor_isnew", vendor_isnew_tag);
10548            
10549        $(lobby_tag).each(function(index, element) {
10550            if (index === 0) {
10551                // Navbar Content
10552                class_name_tag = $(element).attr('class');
10553                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10554                // on LI(navar) or DIV Content
10555                element_tag = $(element).prop('tagName');
10556                if(vendor_isnew_tag == 1){
10557                    if( element_tag == 'LI'){
10558                        margin_promo = 20;
10559                    }else{
10560                        margin_promo =10;
10561                    }
10562
10563                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10564                }
10565
10566                if(promo_tag == 1){
10567                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10568                }
10569
10570                if(game_ishot_tag == 1){
10571                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
10572                }
10573                
10574            } else if (index === 1) {
10575                // Lobby Content
10576                class_name_tag = $(element).attr('class');
10577                selector_tag = '.' + class_name_tag.split(' ').join('.');
10578
10579                if(vendor_isnew_tag == 1){
10580                    margin_promo = 12;
10581                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10582                }
10583
10584                if(promo_tag == 1){
10585                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10586                }
10587
10588                if(game_ishot_tag == 1){
10589                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10590                }
10591            }
10592        });
10593
10594
10595                
10596        lobby_tag = ".lb-16062"
10597        promo_tag = "1";
10598        game_ishot_tag = "0";
10599        vendor_isnew_tag = "0";
10600        margin_promo = 0;
10601        // console.log(lobby_tag);
10602        // console.log("promo", promo_tag);
10603        // console.log("game_ishot", game_ishot_tag);
10604        // console.log("vendor_isnew", vendor_isnew_tag);
10605            
10606        $(lobby_tag).each(function(index, element) {
10607            if (index === 0) {
10608                // Navbar Content
10609                class_name_tag = $(element).attr('class');
10610                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10611                // on LI(navar) or DIV Content
10612                element_tag = $(element).prop('tagName');
10613                if(vendor_isnew_tag == 1){
10614                    if( element_tag == 'LI'){
10615                        margin_promo = 20;
10616                    }else{
10617                        margin_promo =10;
10618                    }
10619
10620                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10621                }
10622
10623                if(promo_tag == 1){
10624                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10625                }
10626
10627                if(game_ishot_tag == 1){
10628                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
10628left:10px;top:0;z-index:10;width:35px"></div>`);
10629                }
10630                
10631            } else if (index === 1) {
10632                // Lobby Content
10633                class_name_tag = $(element).attr('class');
10634                selector_tag = '.' + class_name_tag.split(' ').join('.');
10635
10636                if(vendor_isnew_tag == 1){
10637                    margin_promo = 12;
10638                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10639                }
10640
10641                if(promo_tag == 1){
10642                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10643                }
10644
10645                if(game_ishot_tag == 1){
10646                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10647                }
10648            }
10649        });
10650
10651
10652                
10653        lobby_tag = ".lb-22612"
10654        promo_tag = "1";
10655        game_ishot_tag = "0";
10656        vendor_isnew_tag = "0";
10657        margin_promo = 0;
10658        // console.log(lobby_tag);
10659        // console.log("promo", promo_tag);
10660        // console.log("game_ishot", game_ishot_tag);
10661        // console.log("vendor_isnew", vendor_isnew_tag);
10662            
10663        $(lobby_tag).each(function(index, element) {
10664            if (index === 0) {
10665                // Navbar Content
10666                class_name_tag = $(element).attr('class');
10667                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10668                // on LI(navar) or DIV Content
10669                element_tag = $(element).prop('tagName');
10670                if(vendor_isnew_tag == 1){
10671                    if( element_tag == 'LI'){
10672                        margin_promo = 20;
10673                    }else{
10674                        margin_promo =10;
10675                    }
10676
10677                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10678                }
10679
10680                if(promo_tag == 1){
10681                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10682                }
10683
10684                if(game_ishot_tag == 1){
10685                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
10686                }
10687                
10688            } else if (index === 1) {
10689                // Lobby Content
10690                class_name_tag = $(element).attr('class');
10691                selector_tag = '.' + class_name_tag.split(' ').join('.');
10692
10693                if(vendor_isnew_tag == 1){
10694                    margin_promo = 12;
10695                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10696                }
10697
10698                if(promo_tag == 1){
10699                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10700                }
10701
10702                if(game_ishot_tag == 1){
10703                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10704                }
10705            }
10706        });
10707
10708
10709                
10710        lobby_tag = ".lb-25239"
10711        promo_tag = "1";
10712        game_ishot_tag = "0";
10713        vendor_isnew_tag = "0";
10714        margin_promo = 0;
10715        // console.log(lobby_tag);
10716        // console.log("promo", promo_tag);
10717        // console.log("game_ishot", game_ishot_tag);
10718        // console.log("vendor_isnew", vendor_isnew_tag);
10719            
10720        $(lobby_tag).each(function(index, element) {
10721            if (index === 0) {
10722                // Navbar Content
10723                class_name_tag = $(element).attr('class');
10724                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10725                // on LI(navar) or DIV Content
10726                element_tag = $(element).prop('tagName');
10727                if(vendor_isnew_tag == 1){
10728                    if( element_tag == 'LI'){
10729                        margin_promo = 20;
10730                    }else{
10731                        margin_promo =10;
10732                    }
10733
10734                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10735                }
10736
10737                if(promo_tag == 1){
10738                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10739                }
10740
10741                if(game_ishot_tag == 1){
10742                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
10742left:10px;top:0;z-index:10;width:35px"></div>`);
10743                }
10744                
10745            } else if (index === 1) {
10746                // Lobby Content
10747                class_name_tag = $(element).attr('class');
10748                selector_tag = '.' + class_name_tag.split(' ').join('.');
10749
10750                if(vendor_isnew_tag == 1){
10751                    margin_promo = 12;
10752                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10753                }
10754
10755                if(promo_tag == 1){
10756                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10757                }
10758
10759                if(game_ishot_tag == 1){
10760                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10761                }
10762            }
10763        });
10764
10765
10766                
10767        lobby_tag = ".lb-25841"
10768        promo_tag = "1";
10769        game_ishot_tag = "0";
10770        vendor_isnew_tag = "0";
10771        margin_promo = 0;
10772        // console.log(lobby_tag);
10773        // console.log("promo", promo_tag);
10774        // console.log("game_ishot", game_ishot_tag);
10775        // console.log("vendor_isnew", vendor_isnew_tag);
10776            
10777        $(lobby_tag).each(function(index, element) {
10778            if (index === 0) {
10779                // Navbar Content
10780                class_name_tag = $(element).attr('class');
10781                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10782                // on LI(navar) or DIV Content
10783                element_tag = $(element).prop('tagName');
10784                if(vendor_isnew_tag == 1){
10785                    if( element_tag == 'LI'){
10786                        margin_promo = 20;
10787                    }else{
10788                        margin_promo =10;
10789                    }
10790
10791                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10792                }
10793
10794                if(promo_tag == 1){
10795                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10796                }
10797
10798                if(game_ishot_tag == 1){
10799                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
10800                }
10801                
10802            } else if (index === 1) {
10803                // Lobby Content
10804                class_name_tag = $(element).attr('class');
10805                selector_tag = '.' + class_name_tag.split(' ').join('.');
10806
10807                if(vendor_isnew_tag == 1){
10808                    margin_promo = 12;
10809                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10810                }
10811
10812                if(promo_tag == 1){
10813                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10814                }
10815
10816                if(game_ishot_tag == 1){
10817                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10818                }
10819            }
10820        });
10821
10822
10823                
10824        lobby_tag = ".lb-28670"
10825        promo_tag = "0";
10826        game_ishot_tag = "0";
10827        vendor_isnew_tag = "0";
10828        margin_promo = 0;
10829        // console.log(lobby_tag);
10830        // console.log("promo", promo_tag);
10831        // console.log("game_ishot", game_ishot_tag);
10832        // console.log("vendor_isnew", vendor_isnew_tag);
10833            
10834        $(lobby_tag).each(function(index, element) {
10835            if (index === 0) {
10836                // Navbar Content
10837                class_name_tag = $(element).attr('class');
10838                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10839                // on LI(navar) or DIV Content
10840                element_tag = $(element).prop('tagName');
10841                if(vendor_isnew_tag == 1){
10842                    if( element_tag == 'LI'){
10843                        margin_promo = 20;
10844                    }else{
10845                        margin_promo =10;
10846                    }
10847
10848                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10849                }
10850
10851                if(promo_tag == 1){
10852                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10853                }
10854
10855                if(game_ishot_tag == 1){
10856                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
10856left:10px;top:0;z-index:10;width:35px"></div>`);
10857                }
10858                
10859            } else if (index === 1) {
10860                // Lobby Content
10861                class_name_tag = $(element).attr('class');
10862                selector_tag = '.' + class_name_tag.split(' ').join('.');
10863
10864                if(vendor_isnew_tag == 1){
10865                    margin_promo = 12;
10866                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10867                }
10868
10869                if(promo_tag == 1){
10870                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10871                }
10872
10873                if(game_ishot_tag == 1){
10874                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10875                }
10876            }
10877        });
10878
10879
10880                
10881        lobby_tag = ".lb-18135"
10882        promo_tag = "1";
10883        game_ishot_tag = "0";
10884        vendor_isnew_tag = "0";
10885        margin_promo = 0;
10886        // console.log(lobby_tag);
10887        // console.log("promo", promo_tag);
10888        // console.log("game_ishot", game_ishot_tag);
10889        // console.log("vendor_isnew", vendor_isnew_tag);
10890            
10891        $(lobby_tag).each(function(index, element) {
10892            if (index === 0) {
10893                // Navbar Content
10894                class_name_tag = $(element).attr('class');
10895                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10896                // on LI(navar) or DIV Content
10897                element_tag = $(element).prop('tagName');
10898                if(vendor_isnew_tag == 1){
10899                    if( element_tag == 'LI'){
10900                        margin_promo = 20;
10901                    }else{
10902                        margin_promo =10;
10903                    }
10904
10905                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10906                }
10907
10908                if(promo_tag == 1){
10909                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10910                }
10911
10912                if(game_ishot_tag == 1){
10913                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
10914                }
10915                
10916            } else if (index === 1) {
10917                // Lobby Content
10918                class_name_tag = $(element).attr('class');
10919                selector_tag = '.' + class_name_tag.split(' ').join('.');
10920
10921                if(vendor_isnew_tag == 1){
10922                    margin_promo = 12;
10923                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10924                }
10925
10926                if(promo_tag == 1){
10927                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10928                }
10929
10930                if(game_ishot_tag == 1){
10931                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10932                }
10933            }
10934        });
10935
10936
10937                
10938        lobby_tag = ".lb-21281"
10939        promo_tag = "1";
10940        game_ishot_tag = "0";
10941        vendor_isnew_tag = "0";
10942        margin_promo = 0;
10943        // console.log(lobby_tag);
10944        // console.log("promo", promo_tag);
10945        // console.log("game_ishot", game_ishot_tag);
10946        // console.log("vendor_isnew", vendor_isnew_tag);
10947            
10948        $(lobby_tag).each(function(index, element) {
10949            if (index === 0) {
10950                // Navbar Content
10951                class_name_tag = $(element).attr('class');
10952                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
10953                // on LI(navar) or DIV Content
10954                element_tag = $(element).prop('tagName');
10955                if(vendor_isnew_tag == 1){
10956                    if( element_tag == 'LI'){
10957                        margin_promo = 20;
10958                    }else{
10959                        margin_promo =10;
10960                    }
10961
10962                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10963                }
10964
10965                if(promo_tag == 1){
10966                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10967                }
10968
10969                if(game_ishot_tag == 1){
10970                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
10970left:10px;top:0;z-index:10;width:35px"></div>`);
10971                }
10972                
10973            } else if (index === 1) {
10974                // Lobby Content
10975                class_name_tag = $(element).attr('class');
10976                selector_tag = '.' + class_name_tag.split(' ').join('.');
10977
10978                if(vendor_isnew_tag == 1){
10979                    margin_promo = 12;
10980                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
10981                }
10982
10983                if(promo_tag == 1){
10984                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
10985                }
10986
10987                if(game_ishot_tag == 1){
10988                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
10989                }
10990            }
10991        });
10992
10993
10994                
10995        lobby_tag = ".lb-10415"
10996        promo_tag = "1";
10997        game_ishot_tag = "0";
10998        vendor_isnew_tag = "0";
10999        margin_promo = 0;
11000        // console.log(lobby_tag);
11001        // console.log("promo", promo_tag);
11002        // console.log("game_ishot", game_ishot_tag);
11003        // console.log("vendor_isnew", vendor_isnew_tag);
11004            
11005        $(lobby_tag).each(function(index, element) {
11006            if (index === 0) {
11007                // Navbar Content
11008                class_name_tag = $(element).attr('class');
11009                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11010                // on LI(navar) or DIV Content
11011                element_tag = $(element).prop('tagName');
11012                if(vendor_isnew_tag == 1){
11013                    if( element_tag == 'LI'){
11014                        margin_promo = 20;
11015                    }else{
11016                        margin_promo =10;
11017                    }
11018
11019                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11020                }
11021
11022                if(promo_tag == 1){
11023                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11024                }
11025
11026                if(game_ishot_tag == 1){
11027                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
11028                }
11029                
11030            } else if (index === 1) {
11031                // Lobby Content
11032                class_name_tag = $(element).attr('class');
11033                selector_tag = '.' + class_name_tag.split(' ').join('.');
11034
11035                if(vendor_isnew_tag == 1){
11036                    margin_promo = 12;
11037                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11038                }
11039
11040                if(promo_tag == 1){
11041                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11042                }
11043
11044                if(game_ishot_tag == 1){
11045                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11046                }
11047            }
11048        });
11049
11050
11051                
11052        lobby_tag = ".lb-26613"
11053        promo_tag = "0";
11054        game_ishot_tag = "0";
11055        vendor_isnew_tag = "0";
11056        margin_promo = 0;
11057        // console.log(lobby_tag);
11058        // console.log("promo", promo_tag);
11059        // console.log("game_ishot", game_ishot_tag);
11060        // console.log("vendor_isnew", vendor_isnew_tag);
11061            
11062        $(lobby_tag).each(function(index, element) {
11063            if (index === 0) {
11064                // Navbar Content
11065                class_name_tag = $(element).attr('class');
11066                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11067                // on LI(navar) or DIV Content
11068                element_tag = $(element).prop('tagName');
11069                if(vendor_isnew_tag == 1){
11070                    if( element_tag == 'LI'){
11071                        margin_promo = 20;
11072                    }else{
11073                        margin_promo =10;
11074                    }
11075
11076                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11077                }
11078
11079                if(promo_tag == 1){
11080                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11081                }
11082
11083                if(game_ishot_tag == 1){
11084                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
11084left:10px;top:0;z-index:10;width:35px"></div>`);
11085                }
11086                
11087            } else if (index === 1) {
11088                // Lobby Content
11089                class_name_tag = $(element).attr('class');
11090                selector_tag = '.' + class_name_tag.split(' ').join('.');
11091
11092                if(vendor_isnew_tag == 1){
11093                    margin_promo = 12;
11094                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11095                }
11096
11097                if(promo_tag == 1){
11098                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11099                }
11100
11101                if(game_ishot_tag == 1){
11102                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11103                }
11104            }
11105        });
11106
11107
11108                
11109        lobby_tag = ".lb-2687"
11110        promo_tag = "1";
11111        game_ishot_tag = "0";
11112        vendor_isnew_tag = "0";
11113        margin_promo = 0;
11114        // console.log(lobby_tag);
11115        // console.log("promo", promo_tag);
11116        // console.log("game_ishot", game_ishot_tag);
11117        // console.log("vendor_isnew", vendor_isnew_tag);
11118            
11119        $(lobby_tag).each(function(index, element) {
11120            if (index === 0) {
11121                // Navbar Content
11122                class_name_tag = $(element).attr('class');
11123                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11124                // on LI(navar) or DIV Content
11125                element_tag = $(element).prop('tagName');
11126                if(vendor_isnew_tag == 1){
11127                    if( element_tag == 'LI'){
11128                        margin_promo = 20;
11129                    }else{
11130                        margin_promo =10;
11131                    }
11132
11133                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11134                }
11135
11136                if(promo_tag == 1){
11137                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11138                }
11139
11140                if(game_ishot_tag == 1){
11141                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
11142                }
11143                
11144            } else if (index === 1) {
11145                // Lobby Content
11146                class_name_tag = $(element).attr('class');
11147                selector_tag = '.' + class_name_tag.split(' ').join('.');
11148
11149                if(vendor_isnew_tag == 1){
11150                    margin_promo = 12;
11151                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11152                }
11153
11154                if(promo_tag == 1){
11155                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11156                }
11157
11158                if(game_ishot_tag == 1){
11159                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11160                }
11161            }
11162        });
11163
11164
11165                
11166        lobby_tag = ".lb-18441"
11167        promo_tag = "1";
11168        game_ishot_tag = "0";
11169        vendor_isnew_tag = "0";
11170        margin_promo = 0;
11171        // console.log(lobby_tag);
11172        // console.log("promo", promo_tag);
11173        // console.log("game_ishot", game_ishot_tag);
11174        // console.log("vendor_isnew", vendor_isnew_tag);
11175            
11176        $(lobby_tag).each(function(index, element) {
11177            if (index === 0) {
11178                // Navbar Content
11179                class_name_tag = $(element).attr('class');
11180                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11181                // on LI(navar) or DIV Content
11182                element_tag = $(element).prop('tagName');
11183                if(vendor_isnew_tag == 1){
11184                    if( element_tag == 'LI'){
11185                        margin_promo = 20;
11186                    }else{
11187                        margin_promo =10;
11188                    }
11189
11190                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11191                }
11192
11193                if(promo_tag == 1){
11194                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11195                }
11196
11197                if(game_ishot_tag == 1){
11198                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
11198left:10px;top:0;z-index:10;width:35px"></div>`);
11199                }
11200                
11201            } else if (index === 1) {
11202                // Lobby Content
11203                class_name_tag = $(element).attr('class');
11204                selector_tag = '.' + class_name_tag.split(' ').join('.');
11205
11206                if(vendor_isnew_tag == 1){
11207                    margin_promo = 12;
11208                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11209                }
11210
11211                if(promo_tag == 1){
11212                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11213                }
11214
11215                if(game_ishot_tag == 1){
11216                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11217                }
11218            }
11219        });
11220
11221
11222                
11223        lobby_tag = ".lb-10319"
11224        promo_tag = "1";
11225        game_ishot_tag = "0";
11226        vendor_isnew_tag = "0";
11227        margin_promo = 0;
11228        // console.log(lobby_tag);
11229        // console.log("promo", promo_tag);
11230        // console.log("game_ishot", game_ishot_tag);
11231        // console.log("vendor_isnew", vendor_isnew_tag);
11232            
11233        $(lobby_tag).each(function(index, element) {
11234            if (index === 0) {
11235                // Navbar Content
11236                class_name_tag = $(element).attr('class');
11237                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11238                // on LI(navar) or DIV Content
11239                element_tag = $(element).prop('tagName');
11240                if(vendor_isnew_tag == 1){
11241                    if( element_tag == 'LI'){
11242                        margin_promo = 20;
11243                    }else{
11244                        margin_promo =10;
11245                    }
11246
11247                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11248                }
11249
11250                if(promo_tag == 1){
11251                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11252                }
11253
11254                if(game_ishot_tag == 1){
11255                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
11256                }
11257                
11258            } else if (index === 1) {
11259                // Lobby Content
11260                class_name_tag = $(element).attr('class');
11261                selector_tag = '.' + class_name_tag.split(' ').join('.');
11262
11263                if(vendor_isnew_tag == 1){
11264                    margin_promo = 12;
11265                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11266                }
11267
11268                if(promo_tag == 1){
11269                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11270                }
11271
11272                if(game_ishot_tag == 1){
11273                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11274                }
11275            }
11276        });
11277
11278
11279                
11280        lobby_tag = ".lb-15463"
11281        promo_tag = "1";
11282        game_ishot_tag = "0";
11283        vendor_isnew_tag = "0";
11284        margin_promo = 0;
11285        // console.log(lobby_tag);
11286        // console.log("promo", promo_tag);
11287        // console.log("game_ishot", game_ishot_tag);
11288        // console.log("vendor_isnew", vendor_isnew_tag);
11289            
11290        $(lobby_tag).each(function(index, element) {
11291            if (index === 0) {
11292                // Navbar Content
11293                class_name_tag = $(element).attr('class');
11294                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11295                // on LI(navar) or DIV Content
11296                element_tag = $(element).prop('tagName');
11297                if(vendor_isnew_tag == 1){
11298                    if( element_tag == 'LI'){
11299                        margin_promo = 20;
11300                    }else{
11301                        margin_promo =10;
11302                    }
11303
11304                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11305                }
11306
11307                if(promo_tag == 1){
11308                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11309                }
11310
11311                if(game_ishot_tag == 1){
11312                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
11312left:10px;top:0;z-index:10;width:35px"></div>`);
11313                }
11314                
11315            } else if (index === 1) {
11316                // Lobby Content
11317                class_name_tag = $(element).attr('class');
11318                selector_tag = '.' + class_name_tag.split(' ').join('.');
11319
11320                if(vendor_isnew_tag == 1){
11321                    margin_promo = 12;
11322                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11323                }
11324
11325                if(promo_tag == 1){
11326                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11327                }
11328
11329                if(game_ishot_tag == 1){
11330                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11331                }
11332            }
11333        });
11334
11335
11336                
11337        lobby_tag = ".lb-19986"
11338        promo_tag = "1";
11339        game_ishot_tag = "0";
11340        vendor_isnew_tag = "0";
11341        margin_promo = 0;
11342        // console.log(lobby_tag);
11343        // console.log("promo", promo_tag);
11344        // console.log("game_ishot", game_ishot_tag);
11345        // console.log("vendor_isnew", vendor_isnew_tag);
11346            
11347        $(lobby_tag).each(function(index, element) {
11348            if (index === 0) {
11349                // Navbar Content
11350                class_name_tag = $(element).attr('class');
11351                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11352                // on LI(navar) or DIV Content
11353                element_tag = $(element).prop('tagName');
11354                if(vendor_isnew_tag == 1){
11355                    if( element_tag == 'LI'){
11356                        margin_promo = 20;
11357                    }else{
11358                        margin_promo =10;
11359                    }
11360
11361                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11362                }
11363
11364                if(promo_tag == 1){
11365                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11366                }
11367
11368                if(game_ishot_tag == 1){
11369                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
11370                }
11371                
11372            } else if (index === 1) {
11373                // Lobby Content
11374                class_name_tag = $(element).attr('class');
11375                selector_tag = '.' + class_name_tag.split(' ').join('.');
11376
11377                if(vendor_isnew_tag == 1){
11378                    margin_promo = 12;
11379                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11380                }
11381
11382                if(promo_tag == 1){
11383                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11384                }
11385
11386                if(game_ishot_tag == 1){
11387                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11388                }
11389            }
11390        });
11391
11392
11393                
11394        lobby_tag = ".lb-2101"
11395        promo_tag = "1";
11396        game_ishot_tag = "0";
11397        vendor_isnew_tag = "0";
11398        margin_promo = 0;
11399        // console.log(lobby_tag);
11400        // console.log("promo", promo_tag);
11401        // console.log("game_ishot", game_ishot_tag);
11402        // console.log("vendor_isnew", vendor_isnew_tag);
11403            
11404        $(lobby_tag).each(function(index, element) {
11405            if (index === 0) {
11406                // Navbar Content
11407                class_name_tag = $(element).attr('class');
11408                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11409                // on LI(navar) or DIV Content
11410                element_tag = $(element).prop('tagName');
11411                if(vendor_isnew_tag == 1){
11412                    if( element_tag == 'LI'){
11413                        margin_promo = 20;
11414                    }else{
11415                        margin_promo =10;
11416                    }
11417
11418                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11419                }
11420
11421                if(promo_tag == 1){
11422                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11423                }
11424
11425                if(game_ishot_tag == 1){
11426                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
11426left:10px;top:0;z-index:10;width:35px"></div>`);
11427                }
11428                
11429            } else if (index === 1) {
11430                // Lobby Content
11431                class_name_tag = $(element).attr('class');
11432                selector_tag = '.' + class_name_tag.split(' ').join('.');
11433
11434                if(vendor_isnew_tag == 1){
11435                    margin_promo = 12;
11436                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11437                }
11438
11439                if(promo_tag == 1){
11440                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11441                }
11442
11443                if(game_ishot_tag == 1){
11444                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11445                }
11446            }
11447        });
11448
11449
11450                
11451        lobby_tag = ".lb-18443"
11452        promo_tag = "1";
11453        game_ishot_tag = "0";
11454        vendor_isnew_tag = "0";
11455        margin_promo = 0;
11456        // console.log(lobby_tag);
11457        // console.log("promo", promo_tag);
11458        // console.log("game_ishot", game_ishot_tag);
11459        // console.log("vendor_isnew", vendor_isnew_tag);
11460            
11461        $(lobby_tag).each(function(index, element) {
11462            if (index === 0) {
11463                // Navbar Content
11464                class_name_tag = $(element).attr('class');
11465                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11466                // on LI(navar) or DIV Content
11467                element_tag = $(element).prop('tagName');
11468                if(vendor_isnew_tag == 1){
11469                    if( element_tag == 'LI'){
11470                        margin_promo = 20;
11471                    }else{
11472                        margin_promo =10;
11473                    }
11474
11475                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11476                }
11477
11478                if(promo_tag == 1){
11479                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11480                }
11481
11482                if(game_ishot_tag == 1){
11483                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
11484                }
11485                
11486            } else if (index === 1) {
11487                // Lobby Content
11488                class_name_tag = $(element).attr('class');
11489                selector_tag = '.' + class_name_tag.split(' ').join('.');
11490
11491                if(vendor_isnew_tag == 1){
11492                    margin_promo = 12;
11493                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11494                }
11495
11496                if(promo_tag == 1){
11497                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11498                }
11499
11500                if(game_ishot_tag == 1){
11501                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11502                }
11503            }
11504        });
11505
11506
11507                
11508        lobby_tag = ".lb-23924"
11509        promo_tag = "1";
11510        game_ishot_tag = "0";
11511        vendor_isnew_tag = "0";
11512        margin_promo = 0;
11513        // console.log(lobby_tag);
11514        // console.log("promo", promo_tag);
11515        // console.log("game_ishot", game_ishot_tag);
11516        // console.log("vendor_isnew", vendor_isnew_tag);
11517            
11518        $(lobby_tag).each(function(index, element) {
11519            if (index === 0) {
11520                // Navbar Content
11521                class_name_tag = $(element).attr('class');
11522                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11523                // on LI(navar) or DIV Content
11524                element_tag = $(element).prop('tagName');
11525                if(vendor_isnew_tag == 1){
11526                    if( element_tag == 'LI'){
11527                        margin_promo = 20;
11528                    }else{
11529                        margin_promo =10;
11530                    }
11531
11532                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11533                }
11534
11535                if(promo_tag == 1){
11536                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11537                }
11538
11539                if(game_ishot_tag == 1){
11540                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
11540left:10px;top:0;z-index:10;width:35px"></div>`);
11541                }
11542                
11543            } else if (index === 1) {
11544                // Lobby Content
11545                class_name_tag = $(element).attr('class');
11546                selector_tag = '.' + class_name_tag.split(' ').join('.');
11547
11548                if(vendor_isnew_tag == 1){
11549                    margin_promo = 12;
11550                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11551                }
11552
11553                if(promo_tag == 1){
11554                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11555                }
11556
11557                if(game_ishot_tag == 1){
11558                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11559                }
11560            }
11561        });
11562
11563
11564                
11565        lobby_tag = ".lb-10020"
11566        promo_tag = "1";
11567        game_ishot_tag = "0";
11568        vendor_isnew_tag = "0";
11569        margin_promo = 0;
11570        // console.log(lobby_tag);
11571        // console.log("promo", promo_tag);
11572        // console.log("game_ishot", game_ishot_tag);
11573        // console.log("vendor_isnew", vendor_isnew_tag);
11574            
11575        $(lobby_tag).each(function(index, element) {
11576            if (index === 0) {
11577                // Navbar Content
11578                class_name_tag = $(element).attr('class');
11579                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11580                // on LI(navar) or DIV Content
11581                element_tag = $(element).prop('tagName');
11582                if(vendor_isnew_tag == 1){
11583                    if( element_tag == 'LI'){
11584                        margin_promo = 20;
11585                    }else{
11586                        margin_promo =10;
11587                    }
11588
11589                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11590                }
11591
11592                if(promo_tag == 1){
11593                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11594                }
11595
11596                if(game_ishot_tag == 1){
11597                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
11598                }
11599                
11600            } else if (index === 1) {
11601                // Lobby Content
11602                class_name_tag = $(element).attr('class');
11603                selector_tag = '.' + class_name_tag.split(' ').join('.');
11604
11605                if(vendor_isnew_tag == 1){
11606                    margin_promo = 12;
11607                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11608                }
11609
11610                if(promo_tag == 1){
11611                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11612                }
11613
11614                if(game_ishot_tag == 1){
11615                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11616                }
11617            }
11618        });
11619
11620
11621                
11622        lobby_tag = ".lb-14292"
11623        promo_tag = "1";
11624        game_ishot_tag = "0";
11625        vendor_isnew_tag = "0";
11626        margin_promo = 0;
11627        // console.log(lobby_tag);
11628        // console.log("promo", promo_tag);
11629        // console.log("game_ishot", game_ishot_tag);
11630        // console.log("vendor_isnew", vendor_isnew_tag);
11631            
11632        $(lobby_tag).each(function(index, element) {
11633            if (index === 0) {
11634                // Navbar Content
11635                class_name_tag = $(element).attr('class');
11636                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11637                // on LI(navar) or DIV Content
11638                element_tag = $(element).prop('tagName');
11639                if(vendor_isnew_tag == 1){
11640                    if( element_tag == 'LI'){
11641                        margin_promo = 20;
11642                    }else{
11643                        margin_promo =10;
11644                    }
11645
11646                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11647                }
11648
11649                if(promo_tag == 1){
11650                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11651                }
11652
11653                if(game_ishot_tag == 1){
11654                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
11654left:10px;top:0;z-index:10;width:35px"></div>`);
11655                }
11656                
11657            } else if (index === 1) {
11658                // Lobby Content
11659                class_name_tag = $(element).attr('class');
11660                selector_tag = '.' + class_name_tag.split(' ').join('.');
11661
11662                if(vendor_isnew_tag == 1){
11663                    margin_promo = 12;
11664                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11665                }
11666
11667                if(promo_tag == 1){
11668                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11669                }
11670
11671                if(game_ishot_tag == 1){
11672                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11673                }
11674            }
11675        });
11676
11677
11678                
11679        lobby_tag = ".lb-21548"
11680        promo_tag = "1";
11681        game_ishot_tag = "0";
11682        vendor_isnew_tag = "0";
11683        margin_promo = 0;
11684        // console.log(lobby_tag);
11685        // console.log("promo", promo_tag);
11686        // console.log("game_ishot", game_ishot_tag);
11687        // console.log("vendor_isnew", vendor_isnew_tag);
11688            
11689        $(lobby_tag).each(function(index, element) {
11690            if (index === 0) {
11691                // Navbar Content
11692                class_name_tag = $(element).attr('class');
11693                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11694                // on LI(navar) or DIV Content
11695                element_tag = $(element).prop('tagName');
11696                if(vendor_isnew_tag == 1){
11697                    if( element_tag == 'LI'){
11698                        margin_promo = 20;
11699                    }else{
11700                        margin_promo =10;
11701                    }
11702
11703                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11704                }
11705
11706                if(promo_tag == 1){
11707                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11708                }
11709
11710                if(game_ishot_tag == 1){
11711                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
11712                }
11713                
11714            } else if (index === 1) {
11715                // Lobby Content
11716                class_name_tag = $(element).attr('class');
11717                selector_tag = '.' + class_name_tag.split(' ').join('.');
11718
11719                if(vendor_isnew_tag == 1){
11720                    margin_promo = 12;
11721                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11722                }
11723
11724                if(promo_tag == 1){
11725                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11726                }
11727
11728                if(game_ishot_tag == 1){
11729                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11730                }
11731            }
11732        });
11733
11734
11735                
11736        lobby_tag = ".lb-10425"
11737        promo_tag = "1";
11738        game_ishot_tag = "0";
11739        vendor_isnew_tag = "0";
11740        margin_promo = 0;
11741        // console.log(lobby_tag);
11742        // console.log("promo", promo_tag);
11743        // console.log("game_ishot", game_ishot_tag);
11744        // console.log("vendor_isnew", vendor_isnew_tag);
11745            
11746        $(lobby_tag).each(function(index, element) {
11747            if (index === 0) {
11748                // Navbar Content
11749                class_name_tag = $(element).attr('class');
11750                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11751                // on LI(navar) or DIV Content
11752                element_tag = $(element).prop('tagName');
11753                if(vendor_isnew_tag == 1){
11754                    if( element_tag == 'LI'){
11755                        margin_promo = 20;
11756                    }else{
11757                        margin_promo =10;
11758                    }
11759
11760                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11761                }
11762
11763                if(promo_tag == 1){
11764                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11765                }
11766
11767                if(game_ishot_tag == 1){
11768                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
11768left:10px;top:0;z-index:10;width:35px"></div>`);
11769                }
11770                
11771            } else if (index === 1) {
11772                // Lobby Content
11773                class_name_tag = $(element).attr('class');
11774                selector_tag = '.' + class_name_tag.split(' ').join('.');
11775
11776                if(vendor_isnew_tag == 1){
11777                    margin_promo = 12;
11778                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11779                }
11780
11781                if(promo_tag == 1){
11782                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11783                }
11784
11785                if(game_ishot_tag == 1){
11786                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11787                }
11788            }
11789        });
11790
11791
11792                
11793        lobby_tag = ".lb-25840"
11794        promo_tag = "1";
11795        game_ishot_tag = "0";
11796        vendor_isnew_tag = "0";
11797        margin_promo = 0;
11798        // console.log(lobby_tag);
11799        // console.log("promo", promo_tag);
11800        // console.log("game_ishot", game_ishot_tag);
11801        // console.log("vendor_isnew", vendor_isnew_tag);
11802            
11803        $(lobby_tag).each(function(index, element) {
11804            if (index === 0) {
11805                // Navbar Content
11806                class_name_tag = $(element).attr('class');
11807                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11808                // on LI(navar) or DIV Content
11809                element_tag = $(element).prop('tagName');
11810                if(vendor_isnew_tag == 1){
11811                    if( element_tag == 'LI'){
11812                        margin_promo = 20;
11813                    }else{
11814                        margin_promo =10;
11815                    }
11816
11817                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11818                }
11819
11820                if(promo_tag == 1){
11821                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11822                }
11823
11824                if(game_ishot_tag == 1){
11825                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
11826                }
11827                
11828            } else if (index === 1) {
11829                // Lobby Content
11830                class_name_tag = $(element).attr('class');
11831                selector_tag = '.' + class_name_tag.split(' ').join('.');
11832
11833                if(vendor_isnew_tag == 1){
11834                    margin_promo = 12;
11835                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11836                }
11837
11838                if(promo_tag == 1){
11839                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11840                }
11841
11842                if(game_ishot_tag == 1){
11843                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11844                }
11845            }
11846        });
11847
11848
11849                
11850        lobby_tag = ".lb-11394"
11851        promo_tag = "1";
11852        game_ishot_tag = "0";
11853        vendor_isnew_tag = "0";
11854        margin_promo = 0;
11855        // console.log(lobby_tag);
11856        // console.log("promo", promo_tag);
11857        // console.log("game_ishot", game_ishot_tag);
11858        // console.log("vendor_isnew", vendor_isnew_tag);
11859            
11860        $(lobby_tag).each(function(index, element) {
11861            if (index === 0) {
11862                // Navbar Content
11863                class_name_tag = $(element).attr('class');
11864                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11865                // on LI(navar) or DIV Content
11866                element_tag = $(element).prop('tagName');
11867                if(vendor_isnew_tag == 1){
11868                    if( element_tag == 'LI'){
11869                        margin_promo = 20;
11870                    }else{
11871                        margin_promo =10;
11872                    }
11873
11874                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11875                }
11876
11877                if(promo_tag == 1){
11878                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11879                }
11880
11881                if(game_ishot_tag == 1){
11882                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
11882left:10px;top:0;z-index:10;width:35px"></div>`);
11883                }
11884                
11885            } else if (index === 1) {
11886                // Lobby Content
11887                class_name_tag = $(element).attr('class');
11888                selector_tag = '.' + class_name_tag.split(' ').join('.');
11889
11890                if(vendor_isnew_tag == 1){
11891                    margin_promo = 12;
11892                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11893                }
11894
11895                if(promo_tag == 1){
11896                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11897                }
11898
11899                if(game_ishot_tag == 1){
11900                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11901                }
11902            }
11903        });
11904
11905
11906                
11907        lobby_tag = ".lb-19199"
11908        promo_tag = "1";
11909        game_ishot_tag = "0";
11910        vendor_isnew_tag = "0";
11911        margin_promo = 0;
11912        // console.log(lobby_tag);
11913        // console.log("promo", promo_tag);
11914        // console.log("game_ishot", game_ishot_tag);
11915        // console.log("vendor_isnew", vendor_isnew_tag);
11916            
11917        $(lobby_tag).each(function(index, element) {
11918            if (index === 0) {
11919                // Navbar Content
11920                class_name_tag = $(element).attr('class');
11921                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11922                // on LI(navar) or DIV Content
11923                element_tag = $(element).prop('tagName');
11924                if(vendor_isnew_tag == 1){
11925                    if( element_tag == 'LI'){
11926                        margin_promo = 20;
11927                    }else{
11928                        margin_promo =10;
11929                    }
11930
11931                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11932                }
11933
11934                if(promo_tag == 1){
11935                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11936                }
11937
11938                if(game_ishot_tag == 1){
11939                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
11940                }
11941                
11942            } else if (index === 1) {
11943                // Lobby Content
11944                class_name_tag = $(element).attr('class');
11945                selector_tag = '.' + class_name_tag.split(' ').join('.');
11946
11947                if(vendor_isnew_tag == 1){
11948                    margin_promo = 12;
11949                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11950                }
11951
11952                if(promo_tag == 1){
11953                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11954                }
11955
11956                if(game_ishot_tag == 1){
11957                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
11958                }
11959            }
11960        });
11961
11962
11963                
11964        lobby_tag = ".lb-29338"
11965        promo_tag = "0";
11966        game_ishot_tag = "0";
11967        vendor_isnew_tag = "0";
11968        margin_promo = 0;
11969        // console.log(lobby_tag);
11970        // console.log("promo", promo_tag);
11971        // console.log("game_ishot", game_ishot_tag);
11972        // console.log("vendor_isnew", vendor_isnew_tag);
11973            
11974        $(lobby_tag).each(function(index, element) {
11975            if (index === 0) {
11976                // Navbar Content
11977                class_name_tag = $(element).attr('class');
11978                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
11979                // on LI(navar) or DIV Content
11980                element_tag = $(element).prop('tagName');
11981                if(vendor_isnew_tag == 1){
11982                    if( element_tag == 'LI'){
11983                        margin_promo = 20;
11984                    }else{
11985                        margin_promo =10;
11986                    }
11987
11988                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
11989                }
11990
11991                if(promo_tag == 1){
11992                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
11993                }
11994
11995                if(game_ishot_tag == 1){
11996                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
11996left:10px;top:0;z-index:10;width:35px"></div>`);
11997                }
11998                
11999            } else if (index === 1) {
12000                // Lobby Content
12001                class_name_tag = $(element).attr('class');
12002                selector_tag = '.' + class_name_tag.split(' ').join('.');
12003
12004                if(vendor_isnew_tag == 1){
12005                    margin_promo = 12;
12006                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12007                }
12008
12009                if(promo_tag == 1){
12010                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12011                }
12012
12013                if(game_ishot_tag == 1){
12014                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12015                }
12016            }
12017        });
12018
12019
12020                
12021        lobby_tag = ".lb-19988"
12022        promo_tag = "1";
12023        game_ishot_tag = "0";
12024        vendor_isnew_tag = "0";
12025        margin_promo = 0;
12026        // console.log(lobby_tag);
12027        // console.log("promo", promo_tag);
12028        // console.log("game_ishot", game_ishot_tag);
12029        // console.log("vendor_isnew", vendor_isnew_tag);
12030            
12031        $(lobby_tag).each(function(index, element) {
12032            if (index === 0) {
12033                // Navbar Content
12034                class_name_tag = $(element).attr('class');
12035                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12036                // on LI(navar) or DIV Content
12037                element_tag = $(element).prop('tagName');
12038                if(vendor_isnew_tag == 1){
12039                    if( element_tag == 'LI'){
12040                        margin_promo = 20;
12041                    }else{
12042                        margin_promo =10;
12043                    }
12044
12045                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12046                }
12047
12048                if(promo_tag == 1){
12049                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12050                }
12051
12052                if(game_ishot_tag == 1){
12053                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
12054                }
12055                
12056            } else if (index === 1) {
12057                // Lobby Content
12058                class_name_tag = $(element).attr('class');
12059                selector_tag = '.' + class_name_tag.split(' ').join('.');
12060
12061                if(vendor_isnew_tag == 1){
12062                    margin_promo = 12;
12063                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12064                }
12065
12066                if(promo_tag == 1){
12067                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12068                }
12069
12070                if(game_ishot_tag == 1){
12071                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12072                }
12073            }
12074        });
12075
12076
12077                
12078        lobby_tag = ".lb-17529"
12079        promo_tag = "1";
12080        game_ishot_tag = "0";
12081        vendor_isnew_tag = "0";
12082        margin_promo = 0;
12083        // console.log(lobby_tag);
12084        // console.log("promo", promo_tag);
12085        // console.log("game_ishot", game_ishot_tag);
12086        // console.log("vendor_isnew", vendor_isnew_tag);
12087            
12088        $(lobby_tag).each(function(index, element) {
12089            if (index === 0) {
12090                // Navbar Content
12091                class_name_tag = $(element).attr('class');
12092                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12093                // on LI(navar) or DIV Content
12094                element_tag = $(element).prop('tagName');
12095                if(vendor_isnew_tag == 1){
12096                    if( element_tag == 'LI'){
12097                        margin_promo = 20;
12098                    }else{
12099                        margin_promo =10;
12100                    }
12101
12102                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12103                }
12104
12105                if(promo_tag == 1){
12106                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12107                }
12108
12109                if(game_ishot_tag == 1){
12110                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
12110left:10px;top:0;z-index:10;width:35px"></div>`);
12111                }
12112                
12113            } else if (index === 1) {
12114                // Lobby Content
12115                class_name_tag = $(element).attr('class');
12116                selector_tag = '.' + class_name_tag.split(' ').join('.');
12117
12118                if(vendor_isnew_tag == 1){
12119                    margin_promo = 12;
12120                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12121                }
12122
12123                if(promo_tag == 1){
12124                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12125                }
12126
12127                if(game_ishot_tag == 1){
12128                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12129                }
12130            }
12131        });
12132
12133
12134                
12135        lobby_tag = ".lb-17553"
12136        promo_tag = "1";
12137        game_ishot_tag = "0";
12138        vendor_isnew_tag = "0";
12139        margin_promo = 0;
12140        // console.log(lobby_tag);
12141        // console.log("promo", promo_tag);
12142        // console.log("game_ishot", game_ishot_tag);
12143        // console.log("vendor_isnew", vendor_isnew_tag);
12144            
12145        $(lobby_tag).each(function(index, element) {
12146            if (index === 0) {
12147                // Navbar Content
12148                class_name_tag = $(element).attr('class');
12149                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12150                // on LI(navar) or DIV Content
12151                element_tag = $(element).prop('tagName');
12152                if(vendor_isnew_tag == 1){
12153                    if( element_tag == 'LI'){
12154                        margin_promo = 20;
12155                    }else{
12156                        margin_promo =10;
12157                    }
12158
12159                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12160                }
12161
12162                if(promo_tag == 1){
12163                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12164                }
12165
12166                if(game_ishot_tag == 1){
12167                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
12168                }
12169                
12170            } else if (index === 1) {
12171                // Lobby Content
12172                class_name_tag = $(element).attr('class');
12173                selector_tag = '.' + class_name_tag.split(' ').join('.');
12174
12175                if(vendor_isnew_tag == 1){
12176                    margin_promo = 12;
12177                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12178                }
12179
12180                if(promo_tag == 1){
12181                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12182                }
12183
12184                if(game_ishot_tag == 1){
12185                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12186                }
12187            }
12188        });
12189
12190
12191                
12192        lobby_tag = ".lb-19567"
12193        promo_tag = "1";
12194        game_ishot_tag = "0";
12195        vendor_isnew_tag = "0";
12196        margin_promo = 0;
12197        // console.log(lobby_tag);
12198        // console.log("promo", promo_tag);
12199        // console.log("game_ishot", game_ishot_tag);
12200        // console.log("vendor_isnew", vendor_isnew_tag);
12201            
12202        $(lobby_tag).each(function(index, element) {
12203            if (index === 0) {
12204                // Navbar Content
12205                class_name_tag = $(element).attr('class');
12206                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12207                // on LI(navar) or DIV Content
12208                element_tag = $(element).prop('tagName');
12209                if(vendor_isnew_tag == 1){
12210                    if( element_tag == 'LI'){
12211                        margin_promo = 20;
12212                    }else{
12213                        margin_promo =10;
12214                    }
12215
12216                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12217                }
12218
12219                if(promo_tag == 1){
12220                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12221                }
12222
12223                if(game_ishot_tag == 1){
12224                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
12224left:10px;top:0;z-index:10;width:35px"></div>`);
12225                }
12226                
12227            } else if (index === 1) {
12228                // Lobby Content
12229                class_name_tag = $(element).attr('class');
12230                selector_tag = '.' + class_name_tag.split(' ').join('.');
12231
12232                if(vendor_isnew_tag == 1){
12233                    margin_promo = 12;
12234                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12235                }
12236
12237                if(promo_tag == 1){
12238                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12239                }
12240
12241                if(game_ishot_tag == 1){
12242                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12243                }
12244            }
12245        });
12246
12247
12248                
12249        lobby_tag = ".lb-17544"
12250        promo_tag = "1";
12251        game_ishot_tag = "0";
12252        vendor_isnew_tag = "0";
12253        margin_promo = 0;
12254        // console.log(lobby_tag);
12255        // console.log("promo", promo_tag);
12256        // console.log("game_ishot", game_ishot_tag);
12257        // console.log("vendor_isnew", vendor_isnew_tag);
12258            
12259        $(lobby_tag).each(function(index, element) {
12260            if (index === 0) {
12261                // Navbar Content
12262                class_name_tag = $(element).attr('class');
12263                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12264                // on LI(navar) or DIV Content
12265                element_tag = $(element).prop('tagName');
12266                if(vendor_isnew_tag == 1){
12267                    if( element_tag == 'LI'){
12268                        margin_promo = 20;
12269                    }else{
12270                        margin_promo =10;
12271                    }
12272
12273                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12274                }
12275
12276                if(promo_tag == 1){
12277                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12278                }
12279
12280                if(game_ishot_tag == 1){
12281                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
12282                }
12283                
12284            } else if (index === 1) {
12285                // Lobby Content
12286                class_name_tag = $(element).attr('class');
12287                selector_tag = '.' + class_name_tag.split(' ').join('.');
12288
12289                if(vendor_isnew_tag == 1){
12290                    margin_promo = 12;
12291                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12292                }
12293
12294                if(promo_tag == 1){
12295                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12296                }
12297
12298                if(game_ishot_tag == 1){
12299                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12300                }
12301            }
12302        });
12303
12304
12305                
12306        lobby_tag = ".lb-10150"
12307        promo_tag = "1";
12308        game_ishot_tag = "0";
12309        vendor_isnew_tag = "0";
12310        margin_promo = 0;
12311        // console.log(lobby_tag);
12312        // console.log("promo", promo_tag);
12313        // console.log("game_ishot", game_ishot_tag);
12314        // console.log("vendor_isnew", vendor_isnew_tag);
12315            
12316        $(lobby_tag).each(function(index, element) {
12317            if (index === 0) {
12318                // Navbar Content
12319                class_name_tag = $(element).attr('class');
12320                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12321                // on LI(navar) or DIV Content
12322                element_tag = $(element).prop('tagName');
12323                if(vendor_isnew_tag == 1){
12324                    if( element_tag == 'LI'){
12325                        margin_promo = 20;
12326                    }else{
12327                        margin_promo =10;
12328                    }
12329
12330                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12331                }
12332
12333                if(promo_tag == 1){
12334                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12335                }
12336
12337                if(game_ishot_tag == 1){
12338                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
12338left:10px;top:0;z-index:10;width:35px"></div>`);
12339                }
12340                
12341            } else if (index === 1) {
12342                // Lobby Content
12343                class_name_tag = $(element).attr('class');
12344                selector_tag = '.' + class_name_tag.split(' ').join('.');
12345
12346                if(vendor_isnew_tag == 1){
12347                    margin_promo = 12;
12348                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12349                }
12350
12351                if(promo_tag == 1){
12352                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12353                }
12354
12355                if(game_ishot_tag == 1){
12356                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12357                }
12358            }
12359        });
12360
12361
12362                
12363        lobby_tag = ".lb-24264"
12364        promo_tag = "1";
12365        game_ishot_tag = "0";
12366        vendor_isnew_tag = "0";
12367        margin_promo = 0;
12368        // console.log(lobby_tag);
12369        // console.log("promo", promo_tag);
12370        // console.log("game_ishot", game_ishot_tag);
12371        // console.log("vendor_isnew", vendor_isnew_tag);
12372            
12373        $(lobby_tag).each(function(index, element) {
12374            if (index === 0) {
12375                // Navbar Content
12376                class_name_tag = $(element).attr('class');
12377                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12378                // on LI(navar) or DIV Content
12379                element_tag = $(element).prop('tagName');
12380                if(vendor_isnew_tag == 1){
12381                    if( element_tag == 'LI'){
12382                        margin_promo = 20;
12383                    }else{
12384                        margin_promo =10;
12385                    }
12386
12387                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12388                }
12389
12390                if(promo_tag == 1){
12391                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12392                }
12393
12394                if(game_ishot_tag == 1){
12395                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
12396                }
12397                
12398            } else if (index === 1) {
12399                // Lobby Content
12400                class_name_tag = $(element).attr('class');
12401                selector_tag = '.' + class_name_tag.split(' ').join('.');
12402
12403                if(vendor_isnew_tag == 1){
12404                    margin_promo = 12;
12405                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12406                }
12407
12408                if(promo_tag == 1){
12409                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12410                }
12411
12412                if(game_ishot_tag == 1){
12413                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12414                }
12415            }
12416        });
12417
12418
12419                
12420        lobby_tag = ".lb-24712"
12421        promo_tag = "1";
12422        game_ishot_tag = "0";
12423        vendor_isnew_tag = "0";
12424        margin_promo = 0;
12425        // console.log(lobby_tag);
12426        // console.log("promo", promo_tag);
12427        // console.log("game_ishot", game_ishot_tag);
12428        // console.log("vendor_isnew", vendor_isnew_tag);
12429            
12430        $(lobby_tag).each(function(index, element) {
12431            if (index === 0) {
12432                // Navbar Content
12433                class_name_tag = $(element).attr('class');
12434                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12435                // on LI(navar) or DIV Content
12436                element_tag = $(element).prop('tagName');
12437                if(vendor_isnew_tag == 1){
12438                    if( element_tag == 'LI'){
12439                        margin_promo = 20;
12440                    }else{
12441                        margin_promo =10;
12442                    }
12443
12444                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12445                }
12446
12447                if(promo_tag == 1){
12448                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12449                }
12450
12451                if(game_ishot_tag == 1){
12452                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
12452left:10px;top:0;z-index:10;width:35px"></div>`);
12453                }
12454                
12455            } else if (index === 1) {
12456                // Lobby Content
12457                class_name_tag = $(element).attr('class');
12458                selector_tag = '.' + class_name_tag.split(' ').join('.');
12459
12460                if(vendor_isnew_tag == 1){
12461                    margin_promo = 12;
12462                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12463                }
12464
12465                if(promo_tag == 1){
12466                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12467                }
12468
12469                if(game_ishot_tag == 1){
12470                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12471                }
12472            }
12473        });
12474
12475
12476                
12477        lobby_tag = ".lb-16288"
12478        promo_tag = "1";
12479        game_ishot_tag = "0";
12480        vendor_isnew_tag = "0";
12481        margin_promo = 0;
12482        // console.log(lobby_tag);
12483        // console.log("promo", promo_tag);
12484        // console.log("game_ishot", game_ishot_tag);
12485        // console.log("vendor_isnew", vendor_isnew_tag);
12486            
12487        $(lobby_tag).each(function(index, element) {
12488            if (index === 0) {
12489                // Navbar Content
12490                class_name_tag = $(element).attr('class');
12491                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12492                // on LI(navar) or DIV Content
12493                element_tag = $(element).prop('tagName');
12494                if(vendor_isnew_tag == 1){
12495                    if( element_tag == 'LI'){
12496                        margin_promo = 20;
12497                    }else{
12498                        margin_promo =10;
12499                    }
12500
12501                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12502                }
12503
12504                if(promo_tag == 1){
12505                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12506                }
12507
12508                if(game_ishot_tag == 1){
12509                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
12510                }
12511                
12512            } else if (index === 1) {
12513                // Lobby Content
12514                class_name_tag = $(element).attr('class');
12515                selector_tag = '.' + class_name_tag.split(' ').join('.');
12516
12517                if(vendor_isnew_tag == 1){
12518                    margin_promo = 12;
12519                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12520                }
12521
12522                if(promo_tag == 1){
12523                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12524                }
12525
12526                if(game_ishot_tag == 1){
12527                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12528                }
12529            }
12530        });
12531
12532
12533                
12534        lobby_tag = ".lb-26614"
12535        promo_tag = "0";
12536        game_ishot_tag = "0";
12537        vendor_isnew_tag = "0";
12538        margin_promo = 0;
12539        // console.log(lobby_tag);
12540        // console.log("promo", promo_tag);
12541        // console.log("game_ishot", game_ishot_tag);
12542        // console.log("vendor_isnew", vendor_isnew_tag);
12543            
12544        $(lobby_tag).each(function(index, element) {
12545            if (index === 0) {
12546                // Navbar Content
12547                class_name_tag = $(element).attr('class');
12548                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12549                // on LI(navar) or DIV Content
12550                element_tag = $(element).prop('tagName');
12551                if(vendor_isnew_tag == 1){
12552                    if( element_tag == 'LI'){
12553                        margin_promo = 20;
12554                    }else{
12555                        margin_promo =10;
12556                    }
12557
12558                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12559                }
12560
12561                if(promo_tag == 1){
12562                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12563                }
12564
12565                if(game_ishot_tag == 1){
12566                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
12566left:10px;top:0;z-index:10;width:35px"></div>`);
12567                }
12568                
12569            } else if (index === 1) {
12570                // Lobby Content
12571                class_name_tag = $(element).attr('class');
12572                selector_tag = '.' + class_name_tag.split(' ').join('.');
12573
12574                if(vendor_isnew_tag == 1){
12575                    margin_promo = 12;
12576                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12577                }
12578
12579                if(promo_tag == 1){
12580                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12581                }
12582
12583                if(game_ishot_tag == 1){
12584                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12585                }
12586            }
12587        });
12588
12589
12590                
12591        lobby_tag = ".lb-15253"
12592        promo_tag = "1";
12593        game_ishot_tag = "0";
12594        vendor_isnew_tag = "0";
12595        margin_promo = 0;
12596        // console.log(lobby_tag);
12597        // console.log("promo", promo_tag);
12598        // console.log("game_ishot", game_ishot_tag);
12599        // console.log("vendor_isnew", vendor_isnew_tag);
12600            
12601        $(lobby_tag).each(function(index, element) {
12602            if (index === 0) {
12603                // Navbar Content
12604                class_name_tag = $(element).attr('class');
12605                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12606                // on LI(navar) or DIV Content
12607                element_tag = $(element).prop('tagName');
12608                if(vendor_isnew_tag == 1){
12609                    if( element_tag == 'LI'){
12610                        margin_promo = 20;
12611                    }else{
12612                        margin_promo =10;
12613                    }
12614
12615                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12616                }
12617
12618                if(promo_tag == 1){
12619                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12620                }
12621
12622                if(game_ishot_tag == 1){
12623                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
12624                }
12625                
12626            } else if (index === 1) {
12627                // Lobby Content
12628                class_name_tag = $(element).attr('class');
12629                selector_tag = '.' + class_name_tag.split(' ').join('.');
12630
12631                if(vendor_isnew_tag == 1){
12632                    margin_promo = 12;
12633                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12634                }
12635
12636                if(promo_tag == 1){
12637                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12638                }
12639
12640                if(game_ishot_tag == 1){
12641                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12642                }
12643            }
12644        });
12645
12646
12647                
12648        lobby_tag = ".lb-29232"
12649        promo_tag = "0";
12650        game_ishot_tag = "0";
12651        vendor_isnew_tag = "0";
12652        margin_promo = 0;
12653        // console.log(lobby_tag);
12654        // console.log("promo", promo_tag);
12655        // console.log("game_ishot", game_ishot_tag);
12656        // console.log("vendor_isnew", vendor_isnew_tag);
12657            
12658        $(lobby_tag).each(function(index, element) {
12659            if (index === 0) {
12660                // Navbar Content
12661                class_name_tag = $(element).attr('class');
12662                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12663                // on LI(navar) or DIV Content
12664                element_tag = $(element).prop('tagName');
12665                if(vendor_isnew_tag == 1){
12666                    if( element_tag == 'LI'){
12667                        margin_promo = 20;
12668                    }else{
12669                        margin_promo =10;
12670                    }
12671
12672                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12673                }
12674
12675                if(promo_tag == 1){
12676                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12677                }
12678
12679                if(game_ishot_tag == 1){
12680                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
12680left:10px;top:0;z-index:10;width:35px"></div>`);
12681                }
12682                
12683            } else if (index === 1) {
12684                // Lobby Content
12685                class_name_tag = $(element).attr('class');
12686                selector_tag = '.' + class_name_tag.split(' ').join('.');
12687
12688                if(vendor_isnew_tag == 1){
12689                    margin_promo = 12;
12690                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12691                }
12692
12693                if(promo_tag == 1){
12694                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12695                }
12696
12697                if(game_ishot_tag == 1){
12698                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12699                }
12700            }
12701        });
12702
12703
12704                
12705        lobby_tag = ".lb-10422"
12706        promo_tag = "1";
12707        game_ishot_tag = "0";
12708        vendor_isnew_tag = "0";
12709        margin_promo = 0;
12710        // console.log(lobby_tag);
12711        // console.log("promo", promo_tag);
12712        // console.log("game_ishot", game_ishot_tag);
12713        // console.log("vendor_isnew", vendor_isnew_tag);
12714            
12715        $(lobby_tag).each(function(index, element) {
12716            if (index === 0) {
12717                // Navbar Content
12718                class_name_tag = $(element).attr('class');
12719                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12720                // on LI(navar) or DIV Content
12721                element_tag = $(element).prop('tagName');
12722                if(vendor_isnew_tag == 1){
12723                    if( element_tag == 'LI'){
12724                        margin_promo = 20;
12725                    }else{
12726                        margin_promo =10;
12727                    }
12728
12729                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12730                }
12731
12732                if(promo_tag == 1){
12733                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12734                }
12735
12736                if(game_ishot_tag == 1){
12737                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
12738                }
12739                
12740            } else if (index === 1) {
12741                // Lobby Content
12742                class_name_tag = $(element).attr('class');
12743                selector_tag = '.' + class_name_tag.split(' ').join('.');
12744
12745                if(vendor_isnew_tag == 1){
12746                    margin_promo = 12;
12747                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12748                }
12749
12750                if(promo_tag == 1){
12751                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12752                }
12753
12754                if(game_ishot_tag == 1){
12755                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12756                }
12757            }
12758        });
12759
12760
12761                
12762        lobby_tag = ".lb-16059"
12763        promo_tag = "1";
12764        game_ishot_tag = "0";
12765        vendor_isnew_tag = "0";
12766        margin_promo = 0;
12767        // console.log(lobby_tag);
12768        // console.log("promo", promo_tag);
12769        // console.log("game_ishot", game_ishot_tag);
12770        // console.log("vendor_isnew", vendor_isnew_tag);
12771            
12772        $(lobby_tag).each(function(index, element) {
12773            if (index === 0) {
12774                // Navbar Content
12775                class_name_tag = $(element).attr('class');
12776                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12777                // on LI(navar) or DIV Content
12778                element_tag = $(element).prop('tagName');
12779                if(vendor_isnew_tag == 1){
12780                    if( element_tag == 'LI'){
12781                        margin_promo = 20;
12782                    }else{
12783                        margin_promo =10;
12784                    }
12785
12786                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12787                }
12788
12789                if(promo_tag == 1){
12790                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12791                }
12792
12793                if(game_ishot_tag == 1){
12794                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
12794left:10px;top:0;z-index:10;width:35px"></div>`);
12795                }
12796                
12797            } else if (index === 1) {
12798                // Lobby Content
12799                class_name_tag = $(element).attr('class');
12800                selector_tag = '.' + class_name_tag.split(' ').join('.');
12801
12802                if(vendor_isnew_tag == 1){
12803                    margin_promo = 12;
12804                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12805                }
12806
12807                if(promo_tag == 1){
12808                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12809                }
12810
12811                if(game_ishot_tag == 1){
12812                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12813                }
12814            }
12815        });
12816
12817
12818                
12819        lobby_tag = ".lb-29304"
12820        promo_tag = "0";
12821        game_ishot_tag = "0";
12822        vendor_isnew_tag = "0";
12823        margin_promo = 0;
12824        // console.log(lobby_tag);
12825        // console.log("promo", promo_tag);
12826        // console.log("game_ishot", game_ishot_tag);
12827        // console.log("vendor_isnew", vendor_isnew_tag);
12828            
12829        $(lobby_tag).each(function(index, element) {
12830            if (index === 0) {
12831                // Navbar Content
12832                class_name_tag = $(element).attr('class');
12833                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12834                // on LI(navar) or DIV Content
12835                element_tag = $(element).prop('tagName');
12836                if(vendor_isnew_tag == 1){
12837                    if( element_tag == 'LI'){
12838                        margin_promo = 20;
12839                    }else{
12840                        margin_promo =10;
12841                    }
12842
12843                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12844                }
12845
12846                if(promo_tag == 1){
12847                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12848                }
12849
12850                if(game_ishot_tag == 1){
12851                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
12852                }
12853                
12854            } else if (index === 1) {
12855                // Lobby Content
12856                class_name_tag = $(element).attr('class');
12857                selector_tag = '.' + class_name_tag.split(' ').join('.');
12858
12859                if(vendor_isnew_tag == 1){
12860                    margin_promo = 12;
12861                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12862                }
12863
12864                if(promo_tag == 1){
12865                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12866                }
12867
12868                if(game_ishot_tag == 1){
12869                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12870                }
12871            }
12872        });
12873
12874
12875                
12876        lobby_tag = ".lb-23923"
12877        promo_tag = "1";
12878        game_ishot_tag = "0";
12879        vendor_isnew_tag = "0";
12880        margin_promo = 0;
12881        // console.log(lobby_tag);
12882        // console.log("promo", promo_tag);
12883        // console.log("game_ishot", game_ishot_tag);
12884        // console.log("vendor_isnew", vendor_isnew_tag);
12885            
12886        $(lobby_tag).each(function(index, element) {
12887            if (index === 0) {
12888                // Navbar Content
12889                class_name_tag = $(element).attr('class');
12890                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12891                // on LI(navar) or DIV Content
12892                element_tag = $(element).prop('tagName');
12893                if(vendor_isnew_tag == 1){
12894                    if( element_tag == 'LI'){
12895                        margin_promo = 20;
12896                    }else{
12897                        margin_promo =10;
12898                    }
12899
12900                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12901                }
12902
12903                if(promo_tag == 1){
12904                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12905                }
12906
12907                if(game_ishot_tag == 1){
12908                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
12908left:10px;top:0;z-index:10;width:35px"></div>`);
12909                }
12910                
12911            } else if (index === 1) {
12912                // Lobby Content
12913                class_name_tag = $(element).attr('class');
12914                selector_tag = '.' + class_name_tag.split(' ').join('.');
12915
12916                if(vendor_isnew_tag == 1){
12917                    margin_promo = 12;
12918                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12919                }
12920
12921                if(promo_tag == 1){
12922                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12923                }
12924
12925                if(game_ishot_tag == 1){
12926                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12927                }
12928            }
12929        });
12930
12931
12932                
12933        lobby_tag = ".lb-21282"
12934        promo_tag = "1";
12935        game_ishot_tag = "0";
12936        vendor_isnew_tag = "0";
12937        margin_promo = 0;
12938        // console.log(lobby_tag);
12939        // console.log("promo", promo_tag);
12940        // console.log("game_ishot", game_ishot_tag);
12941        // console.log("vendor_isnew", vendor_isnew_tag);
12942            
12943        $(lobby_tag).each(function(index, element) {
12944            if (index === 0) {
12945                // Navbar Content
12946                class_name_tag = $(element).attr('class');
12947                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
12948                // on LI(navar) or DIV Content
12949                element_tag = $(element).prop('tagName');
12950                if(vendor_isnew_tag == 1){
12951                    if( element_tag == 'LI'){
12952                        margin_promo = 20;
12953                    }else{
12954                        margin_promo =10;
12955                    }
12956
12957                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12958                }
12959
12960                if(promo_tag == 1){
12961                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12962                }
12963
12964                if(game_ishot_tag == 1){
12965                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
12966                }
12967                
12968            } else if (index === 1) {
12969                // Lobby Content
12970                class_name_tag = $(element).attr('class');
12971                selector_tag = '.' + class_name_tag.split(' ').join('.');
12972
12973                if(vendor_isnew_tag == 1){
12974                    margin_promo = 12;
12975                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
12976                }
12977
12978                if(promo_tag == 1){
12979                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
12980                }
12981
12982                if(game_ishot_tag == 1){
12983                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
12984                }
12985            }
12986        });
12987
12988
12989                
12990        lobby_tag = ".lb-19229"
12991        promo_tag = "1";
12992        game_ishot_tag = "0";
12993        vendor_isnew_tag = "0";
12994        margin_promo = 0;
12995        // console.log(lobby_tag);
12996        // console.log("promo", promo_tag);
12997        // console.log("game_ishot", game_ishot_tag);
12998        // console.log("vendor_isnew", vendor_isnew_tag);
12999            
13000        $(lobby_tag).each(function(index, element) {
13001            if (index === 0) {
13002                // Navbar Content
13003                class_name_tag = $(element).attr('class');
13004                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13005                // on LI(navar) or DIV Content
13006                element_tag = $(element).prop('tagName');
13007                if(vendor_isnew_tag == 1){
13008                    if( element_tag == 'LI'){
13009                        margin_promo = 20;
13010                    }else{
13011                        margin_promo =10;
13012                    }
13013
13014                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13015                }
13016
13017                if(promo_tag == 1){
13018                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13019                }
13020
13021                if(game_ishot_tag == 1){
13022                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
13022left:10px;top:0;z-index:10;width:35px"></div>`);
13023                }
13024                
13025            } else if (index === 1) {
13026                // Lobby Content
13027                class_name_tag = $(element).attr('class');
13028                selector_tag = '.' + class_name_tag.split(' ').join('.');
13029
13030                if(vendor_isnew_tag == 1){
13031                    margin_promo = 12;
13032                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13033                }
13034
13035                if(promo_tag == 1){
13036                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13037                }
13038
13039                if(game_ishot_tag == 1){
13040                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13041                }
13042            }
13043        });
13044
13045
13046                
13047        lobby_tag = ".lb-29651"
13048        promo_tag = "0";
13049        game_ishot_tag = "0";
13050        vendor_isnew_tag = "0";
13051        margin_promo = 0;
13052        // console.log(lobby_tag);
13053        // console.log("promo", promo_tag);
13054        // console.log("game_ishot", game_ishot_tag);
13055        // console.log("vendor_isnew", vendor_isnew_tag);
13056            
13057        $(lobby_tag).each(function(index, element) {
13058            if (index === 0) {
13059                // Navbar Content
13060                class_name_tag = $(element).attr('class');
13061                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13062                // on LI(navar) or DIV Content
13063                element_tag = $(element).prop('tagName');
13064                if(vendor_isnew_tag == 1){
13065                    if( element_tag == 'LI'){
13066                        margin_promo = 20;
13067                    }else{
13068                        margin_promo =10;
13069                    }
13070
13071                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13072                }
13073
13074                if(promo_tag == 1){
13075                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13076                }
13077
13078                if(game_ishot_tag == 1){
13079                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
13080                }
13081                
13082            } else if (index === 1) {
13083                // Lobby Content
13084                class_name_tag = $(element).attr('class');
13085                selector_tag = '.' + class_name_tag.split(' ').join('.');
13086
13087                if(vendor_isnew_tag == 1){
13088                    margin_promo = 12;
13089                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13090                }
13091
13092                if(promo_tag == 1){
13093                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13094                }
13095
13096                if(game_ishot_tag == 1){
13097                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13098                }
13099            }
13100        });
13101
13102
13103                
13104        lobby_tag = ".lb-17528"
13105        promo_tag = "1";
13106        game_ishot_tag = "0";
13107        vendor_isnew_tag = "0";
13108        margin_promo = 0;
13109        // console.log(lobby_tag);
13110        // console.log("promo", promo_tag);
13111        // console.log("game_ishot", game_ishot_tag);
13112        // console.log("vendor_isnew", vendor_isnew_tag);
13113            
13114        $(lobby_tag).each(function(index, element) {
13115            if (index === 0) {
13116                // Navbar Content
13117                class_name_tag = $(element).attr('class');
13118                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13119                // on LI(navar) or DIV Content
13120                element_tag = $(element).prop('tagName');
13121                if(vendor_isnew_tag == 1){
13122                    if( element_tag == 'LI'){
13123                        margin_promo = 20;
13124                    }else{
13125                        margin_promo =10;
13126                    }
13127
13128                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13129                }
13130
13131                if(promo_tag == 1){
13132                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13133                }
13134
13135                if(game_ishot_tag == 1){
13136                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
13136left:10px;top:0;z-index:10;width:35px"></div>`);
13137                }
13138                
13139            } else if (index === 1) {
13140                // Lobby Content
13141                class_name_tag = $(element).attr('class');
13142                selector_tag = '.' + class_name_tag.split(' ').join('.');
13143
13144                if(vendor_isnew_tag == 1){
13145                    margin_promo = 12;
13146                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13147                }
13148
13149                if(promo_tag == 1){
13150                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13151                }
13152
13153                if(game_ishot_tag == 1){
13154                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13155                }
13156            }
13157        });
13158
13159
13160                
13161        lobby_tag = ".lb-19231"
13162        promo_tag = "1";
13163        game_ishot_tag = "0";
13164        vendor_isnew_tag = "0";
13165        margin_promo = 0;
13166        // console.log(lobby_tag);
13167        // console.log("promo", promo_tag);
13168        // console.log("game_ishot", game_ishot_tag);
13169        // console.log("vendor_isnew", vendor_isnew_tag);
13170            
13171        $(lobby_tag).each(function(index, element) {
13172            if (index === 0) {
13173                // Navbar Content
13174                class_name_tag = $(element).attr('class');
13175                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13176                // on LI(navar) or DIV Content
13177                element_tag = $(element).prop('tagName');
13178                if(vendor_isnew_tag == 1){
13179                    if( element_tag == 'LI'){
13180                        margin_promo = 20;
13181                    }else{
13182                        margin_promo =10;
13183                    }
13184
13185                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13186                }
13187
13188                if(promo_tag == 1){
13189                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13190                }
13191
13192                if(game_ishot_tag == 1){
13193                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
13194                }
13195                
13196            } else if (index === 1) {
13197                // Lobby Content
13198                class_name_tag = $(element).attr('class');
13199                selector_tag = '.' + class_name_tag.split(' ').join('.');
13200
13201                if(vendor_isnew_tag == 1){
13202                    margin_promo = 12;
13203                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13204                }
13205
13206                if(promo_tag == 1){
13207                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13208                }
13209
13210                if(game_ishot_tag == 1){
13211                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13212                }
13213            }
13214        });
13215
13216
13217                
13218        lobby_tag = ".lb-16311"
13219        promo_tag = "1";
13220        game_ishot_tag = "0";
13221        vendor_isnew_tag = "0";
13222        margin_promo = 0;
13223        // console.log(lobby_tag);
13224        // console.log("promo", promo_tag);
13225        // console.log("game_ishot", game_ishot_tag);
13226        // console.log("vendor_isnew", vendor_isnew_tag);
13227            
13228        $(lobby_tag).each(function(index, element) {
13229            if (index === 0) {
13230                // Navbar Content
13231                class_name_tag = $(element).attr('class');
13232                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13233                // on LI(navar) or DIV Content
13234                element_tag = $(element).prop('tagName');
13235                if(vendor_isnew_tag == 1){
13236                    if( element_tag == 'LI'){
13237                        margin_promo = 20;
13238                    }else{
13239                        margin_promo =10;
13240                    }
13241
13242                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13243                }
13244
13245                if(promo_tag == 1){
13246                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13247                }
13248
13249                if(game_ishot_tag == 1){
13250                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
13250left:10px;top:0;z-index:10;width:35px"></div>`);
13251                }
13252                
13253            } else if (index === 1) {
13254                // Lobby Content
13255                class_name_tag = $(element).attr('class');
13256                selector_tag = '.' + class_name_tag.split(' ').join('.');
13257
13258                if(vendor_isnew_tag == 1){
13259                    margin_promo = 12;
13260                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13261                }
13262
13263                if(promo_tag == 1){
13264                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13265                }
13266
13267                if(game_ishot_tag == 1){
13268                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13269                }
13270            }
13271        });
13272
13273
13274                
13275        lobby_tag = ".lb-15614"
13276        promo_tag = "1";
13277        game_ishot_tag = "0";
13278        vendor_isnew_tag = "0";
13279        margin_promo = 0;
13280        // console.log(lobby_tag);
13281        // console.log("promo", promo_tag);
13282        // console.log("game_ishot", game_ishot_tag);
13283        // console.log("vendor_isnew", vendor_isnew_tag);
13284            
13285        $(lobby_tag).each(function(index, element) {
13286            if (index === 0) {
13287                // Navbar Content
13288                class_name_tag = $(element).attr('class');
13289                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13290                // on LI(navar) or DIV Content
13291                element_tag = $(element).prop('tagName');
13292                if(vendor_isnew_tag == 1){
13293                    if( element_tag == 'LI'){
13294                        margin_promo = 20;
13295                    }else{
13296                        margin_promo =10;
13297                    }
13298
13299                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13300                }
13301
13302                if(promo_tag == 1){
13303                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13304                }
13305
13306                if(game_ishot_tag == 1){
13307                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
13308                }
13309                
13310            } else if (index === 1) {
13311                // Lobby Content
13312                class_name_tag = $(element).attr('class');
13313                selector_tag = '.' + class_name_tag.split(' ').join('.');
13314
13315                if(vendor_isnew_tag == 1){
13316                    margin_promo = 12;
13317                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13318                }
13319
13320                if(promo_tag == 1){
13321                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13322                }
13323
13324                if(game_ishot_tag == 1){
13325                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13326                }
13327            }
13328        });
13329
13330
13331                
13332        lobby_tag = ".lb-17769"
13333        promo_tag = "1";
13334        game_ishot_tag = "0";
13335        vendor_isnew_tag = "0";
13336        margin_promo = 0;
13337        // console.log(lobby_tag);
13338        // console.log("promo", promo_tag);
13339        // console.log("game_ishot", game_ishot_tag);
13340        // console.log("vendor_isnew", vendor_isnew_tag);
13341            
13342        $(lobby_tag).each(function(index, element) {
13343            if (index === 0) {
13344                // Navbar Content
13345                class_name_tag = $(element).attr('class');
13346                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13347                // on LI(navar) or DIV Content
13348                element_tag = $(element).prop('tagName');
13349                if(vendor_isnew_tag == 1){
13350                    if( element_tag == 'LI'){
13351                        margin_promo = 20;
13352                    }else{
13353                        margin_promo =10;
13354                    }
13355
13356                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13357                }
13358
13359                if(promo_tag == 1){
13360                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13361                }
13362
13363                if(game_ishot_tag == 1){
13364                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
13364left:10px;top:0;z-index:10;width:35px"></div>`);
13365                }
13366                
13367            } else if (index === 1) {
13368                // Lobby Content
13369                class_name_tag = $(element).attr('class');
13370                selector_tag = '.' + class_name_tag.split(' ').join('.');
13371
13372                if(vendor_isnew_tag == 1){
13373                    margin_promo = 12;
13374                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13375                }
13376
13377                if(promo_tag == 1){
13378                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13379                }
13380
13381                if(game_ishot_tag == 1){
13382                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13383                }
13384            }
13385        });
13386
13387
13388                
13389        lobby_tag = ".lb-25839"
13390        promo_tag = "1";
13391        game_ishot_tag = "0";
13392        vendor_isnew_tag = "0";
13393        margin_promo = 0;
13394        // console.log(lobby_tag);
13395        // console.log("promo", promo_tag);
13396        // console.log("game_ishot", game_ishot_tag);
13397        // console.log("vendor_isnew", vendor_isnew_tag);
13398            
13399        $(lobby_tag).each(function(index, element) {
13400            if (index === 0) {
13401                // Navbar Content
13402                class_name_tag = $(element).attr('class');
13403                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13404                // on LI(navar) or DIV Content
13405                element_tag = $(element).prop('tagName');
13406                if(vendor_isnew_tag == 1){
13407                    if( element_tag == 'LI'){
13408                        margin_promo = 20;
13409                    }else{
13410                        margin_promo =10;
13411                    }
13412
13413                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13414                }
13415
13416                if(promo_tag == 1){
13417                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13418                }
13419
13420                if(game_ishot_tag == 1){
13421                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
13422                }
13423                
13424            } else if (index === 1) {
13425                // Lobby Content
13426                class_name_tag = $(element).attr('class');
13427                selector_tag = '.' + class_name_tag.split(' ').join('.');
13428
13429                if(vendor_isnew_tag == 1){
13430                    margin_promo = 12;
13431                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13432                }
13433
13434                if(promo_tag == 1){
13435                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13436                }
13437
13438                if(game_ishot_tag == 1){
13439                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13440                }
13441            }
13442        });
13443
13444
13445                
13446        lobby_tag = ".lb-12201"
13447        promo_tag = "1";
13448        game_ishot_tag = "0";
13449        vendor_isnew_tag = "0";
13450        margin_promo = 0;
13451        // console.log(lobby_tag);
13452        // console.log("promo", promo_tag);
13453        // console.log("game_ishot", game_ishot_tag);
13454        // console.log("vendor_isnew", vendor_isnew_tag);
13455            
13456        $(lobby_tag).each(function(index, element) {
13457            if (index === 0) {
13458                // Navbar Content
13459                class_name_tag = $(element).attr('class');
13460                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13461                // on LI(navar) or DIV Content
13462                element_tag = $(element).prop('tagName');
13463                if(vendor_isnew_tag == 1){
13464                    if( element_tag == 'LI'){
13465                        margin_promo = 20;
13466                    }else{
13467                        margin_promo =10;
13468                    }
13469
13470                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13471                }
13472
13473                if(promo_tag == 1){
13474                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13475                }
13476
13477                if(game_ishot_tag == 1){
13478                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
13478left:10px;top:0;z-index:10;width:35px"></div>`);
13479                }
13480                
13481            } else if (index === 1) {
13482                // Lobby Content
13483                class_name_tag = $(element).attr('class');
13484                selector_tag = '.' + class_name_tag.split(' ').join('.');
13485
13486                if(vendor_isnew_tag == 1){
13487                    margin_promo = 12;
13488                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13489                }
13490
13491                if(promo_tag == 1){
13492                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13493                }
13494
13495                if(game_ishot_tag == 1){
13496                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13497                }
13498            }
13499        });
13500
13501
13502                
13503        lobby_tag = ".lb-22085"
13504        promo_tag = "1";
13505        game_ishot_tag = "0";
13506        vendor_isnew_tag = "0";
13507        margin_promo = 0;
13508        // console.log(lobby_tag);
13509        // console.log("promo", promo_tag);
13510        // console.log("game_ishot", game_ishot_tag);
13511        // console.log("vendor_isnew", vendor_isnew_tag);
13512            
13513        $(lobby_tag).each(function(index, element) {
13514            if (index === 0) {
13515                // Navbar Content
13516                class_name_tag = $(element).attr('class');
13517                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13518                // on LI(navar) or DIV Content
13519                element_tag = $(element).prop('tagName');
13520                if(vendor_isnew_tag == 1){
13521                    if( element_tag == 'LI'){
13522                        margin_promo = 20;
13523                    }else{
13524                        margin_promo =10;
13525                    }
13526
13527                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13528                }
13529
13530                if(promo_tag == 1){
13531                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13532                }
13533
13534                if(game_ishot_tag == 1){
13535                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
13536                }
13537                
13538            } else if (index === 1) {
13539                // Lobby Content
13540                class_name_tag = $(element).attr('class');
13541                selector_tag = '.' + class_name_tag.split(' ').join('.');
13542
13543                if(vendor_isnew_tag == 1){
13544                    margin_promo = 12;
13545                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13546                }
13547
13548                if(promo_tag == 1){
13549                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13550                }
13551
13552                if(game_ishot_tag == 1){
13553                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13554                }
13555            }
13556        });
13557
13558
13559                
13560        lobby_tag = ".lb-26597"
13561        promo_tag = "0";
13562        game_ishot_tag = "0";
13563        vendor_isnew_tag = "0";
13564        margin_promo = 0;
13565        // console.log(lobby_tag);
13566        // console.log("promo", promo_tag);
13567        // console.log("game_ishot", game_ishot_tag);
13568        // console.log("vendor_isnew", vendor_isnew_tag);
13569            
13570        $(lobby_tag).each(function(index, element) {
13571            if (index === 0) {
13572                // Navbar Content
13573                class_name_tag = $(element).attr('class');
13574                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13575                // on LI(navar) or DIV Content
13576                element_tag = $(element).prop('tagName');
13577                if(vendor_isnew_tag == 1){
13578                    if( element_tag == 'LI'){
13579                        margin_promo = 20;
13580                    }else{
13581                        margin_promo =10;
13582                    }
13583
13584                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13585                }
13586
13587                if(promo_tag == 1){
13588                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13589                }
13590
13591                if(game_ishot_tag == 1){
13592                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
13592left:10px;top:0;z-index:10;width:35px"></div>`);
13593                }
13594                
13595            } else if (index === 1) {
13596                // Lobby Content
13597                class_name_tag = $(element).attr('class');
13598                selector_tag = '.' + class_name_tag.split(' ').join('.');
13599
13600                if(vendor_isnew_tag == 1){
13601                    margin_promo = 12;
13602                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13603                }
13604
13605                if(promo_tag == 1){
13606                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13607                }
13608
13609                if(game_ishot_tag == 1){
13610                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13611                }
13612            }
13613        });
13614
13615
13616                
13617        lobby_tag = ".lb-20809"
13618        promo_tag = "1";
13619        game_ishot_tag = "0";
13620        vendor_isnew_tag = "0";
13621        margin_promo = 0;
13622        // console.log(lobby_tag);
13623        // console.log("promo", promo_tag);
13624        // console.log("game_ishot", game_ishot_tag);
13625        // console.log("vendor_isnew", vendor_isnew_tag);
13626            
13627        $(lobby_tag).each(function(index, element) {
13628            if (index === 0) {
13629                // Navbar Content
13630                class_name_tag = $(element).attr('class');
13631                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13632                // on LI(navar) or DIV Content
13633                element_tag = $(element).prop('tagName');
13634                if(vendor_isnew_tag == 1){
13635                    if( element_tag == 'LI'){
13636                        margin_promo = 20;
13637                    }else{
13638                        margin_promo =10;
13639                    }
13640
13641                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13642                }
13643
13644                if(promo_tag == 1){
13645                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13646                }
13647
13648                if(game_ishot_tag == 1){
13649                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
13650                }
13651                
13652            } else if (index === 1) {
13653                // Lobby Content
13654                class_name_tag = $(element).attr('class');
13655                selector_tag = '.' + class_name_tag.split(' ').join('.');
13656
13657                if(vendor_isnew_tag == 1){
13658                    margin_promo = 12;
13659                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13660                }
13661
13662                if(promo_tag == 1){
13663                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13664                }
13665
13666                if(game_ishot_tag == 1){
13667                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13668                }
13669            }
13670        });
13671
13672
13673                
13674        lobby_tag = ".lb-15603"
13675        promo_tag = "1";
13676        game_ishot_tag = "0";
13677        vendor_isnew_tag = "0";
13678        margin_promo = 0;
13679        // console.log(lobby_tag);
13680        // console.log("promo", promo_tag);
13681        // console.log("game_ishot", game_ishot_tag);
13682        // console.log("vendor_isnew", vendor_isnew_tag);
13683            
13684        $(lobby_tag).each(function(index, element) {
13685            if (index === 0) {
13686                // Navbar Content
13687                class_name_tag = $(element).attr('class');
13688                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13689                // on LI(navar) or DIV Content
13690                element_tag = $(element).prop('tagName');
13691                if(vendor_isnew_tag == 1){
13692                    if( element_tag == 'LI'){
13693                        margin_promo = 20;
13694                    }else{
13695                        margin_promo =10;
13696                    }
13697
13698                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13699                }
13700
13701                if(promo_tag == 1){
13702                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13703                }
13704
13705                if(game_ishot_tag == 1){
13706                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
13706left:10px;top:0;z-index:10;width:35px"></div>`);
13707                }
13708                
13709            } else if (index === 1) {
13710                // Lobby Content
13711                class_name_tag = $(element).attr('class');
13712                selector_tag = '.' + class_name_tag.split(' ').join('.');
13713
13714                if(vendor_isnew_tag == 1){
13715                    margin_promo = 12;
13716                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13717                }
13718
13719                if(promo_tag == 1){
13720                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13721                }
13722
13723                if(game_ishot_tag == 1){
13724                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13725                }
13726            }
13727        });
13728
13729
13730                
13731        lobby_tag = ".lb-25838"
13732        promo_tag = "1";
13733        game_ishot_tag = "0";
13734        vendor_isnew_tag = "0";
13735        margin_promo = 0;
13736        // console.log(lobby_tag);
13737        // console.log("promo", promo_tag);
13738        // console.log("game_ishot", game_ishot_tag);
13739        // console.log("vendor_isnew", vendor_isnew_tag);
13740            
13741        $(lobby_tag).each(function(index, element) {
13742            if (index === 0) {
13743                // Navbar Content
13744                class_name_tag = $(element).attr('class');
13745                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13746                // on LI(navar) or DIV Content
13747                element_tag = $(element).prop('tagName');
13748                if(vendor_isnew_tag == 1){
13749                    if( element_tag == 'LI'){
13750                        margin_promo = 20;
13751                    }else{
13752                        margin_promo =10;
13753                    }
13754
13755                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13756                }
13757
13758                if(promo_tag == 1){
13759                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13760                }
13761
13762                if(game_ishot_tag == 1){
13763                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
13764                }
13765                
13766            } else if (index === 1) {
13767                // Lobby Content
13768                class_name_tag = $(element).attr('class');
13769                selector_tag = '.' + class_name_tag.split(' ').join('.');
13770
13771                if(vendor_isnew_tag == 1){
13772                    margin_promo = 12;
13773                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13774                }
13775
13776                if(promo_tag == 1){
13777                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13778                }
13779
13780                if(game_ishot_tag == 1){
13781                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13782                }
13783            }
13784        });
13785
13786
13787                
13788        lobby_tag = ".lb-16499"
13789        promo_tag = "1";
13790        game_ishot_tag = "0";
13791        vendor_isnew_tag = "0";
13792        margin_promo = 0;
13793        // console.log(lobby_tag);
13794        // console.log("promo", promo_tag);
13795        // console.log("game_ishot", game_ishot_tag);
13796        // console.log("vendor_isnew", vendor_isnew_tag);
13797            
13798        $(lobby_tag).each(function(index, element) {
13799            if (index === 0) {
13800                // Navbar Content
13801                class_name_tag = $(element).attr('class');
13802                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13803                // on LI(navar) or DIV Content
13804                element_tag = $(element).prop('tagName');
13805                if(vendor_isnew_tag == 1){
13806                    if( element_tag == 'LI'){
13807                        margin_promo = 20;
13808                    }else{
13809                        margin_promo =10;
13810                    }
13811
13812                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13813                }
13814
13815                if(promo_tag == 1){
13816                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13817                }
13818
13819                if(game_ishot_tag == 1){
13820                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
13820left:10px;top:0;z-index:10;width:35px"></div>`);
13821                }
13822                
13823            } else if (index === 1) {
13824                // Lobby Content
13825                class_name_tag = $(element).attr('class');
13826                selector_tag = '.' + class_name_tag.split(' ').join('.');
13827
13828                if(vendor_isnew_tag == 1){
13829                    margin_promo = 12;
13830                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13831                }
13832
13833                if(promo_tag == 1){
13834                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13835                }
13836
13837                if(game_ishot_tag == 1){
13838                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13839                }
13840            }
13841        });
13842
13843
13844                
13845        lobby_tag = ".lb-17554"
13846        promo_tag = "1";
13847        game_ishot_tag = "0";
13848        vendor_isnew_tag = "0";
13849        margin_promo = 0;
13850        // console.log(lobby_tag);
13851        // console.log("promo", promo_tag);
13852        // console.log("game_ishot", game_ishot_tag);
13853        // console.log("vendor_isnew", vendor_isnew_tag);
13854            
13855        $(lobby_tag).each(function(index, element) {
13856            if (index === 0) {
13857                // Navbar Content
13858                class_name_tag = $(element).attr('class');
13859                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13860                // on LI(navar) or DIV Content
13861                element_tag = $(element).prop('tagName');
13862                if(vendor_isnew_tag == 1){
13863                    if( element_tag == 'LI'){
13864                        margin_promo = 20;
13865                    }else{
13866                        margin_promo =10;
13867                    }
13868
13869                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13870                }
13871
13872                if(promo_tag == 1){
13873                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13874                }
13875
13876                if(game_ishot_tag == 1){
13877                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
13878                }
13879                
13880            } else if (index === 1) {
13881                // Lobby Content
13882                class_name_tag = $(element).attr('class');
13883                selector_tag = '.' + class_name_tag.split(' ').join('.');
13884
13885                if(vendor_isnew_tag == 1){
13886                    margin_promo = 12;
13887                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13888                }
13889
13890                if(promo_tag == 1){
13891                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13892                }
13893
13894                if(game_ishot_tag == 1){
13895                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13896                }
13897            }
13898        });
13899
13900
13901                
13902        lobby_tag = ".lb-12200"
13903        promo_tag = "1";
13904        game_ishot_tag = "0";
13905        vendor_isnew_tag = "0";
13906        margin_promo = 0;
13907        // console.log(lobby_tag);
13908        // console.log("promo", promo_tag);
13909        // console.log("game_ishot", game_ishot_tag);
13910        // console.log("vendor_isnew", vendor_isnew_tag);
13911            
13912        $(lobby_tag).each(function(index, element) {
13913            if (index === 0) {
13914                // Navbar Content
13915                class_name_tag = $(element).attr('class');
13916                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13917                // on LI(navar) or DIV Content
13918                element_tag = $(element).prop('tagName');
13919                if(vendor_isnew_tag == 1){
13920                    if( element_tag == 'LI'){
13921                        margin_promo = 20;
13922                    }else{
13923                        margin_promo =10;
13924                    }
13925
13926                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13927                }
13928
13929                if(promo_tag == 1){
13930                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13931                }
13932
13933                if(game_ishot_tag == 1){
13934                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
13934left:10px;top:0;z-index:10;width:35px"></div>`);
13935                }
13936                
13937            } else if (index === 1) {
13938                // Lobby Content
13939                class_name_tag = $(element).attr('class');
13940                selector_tag = '.' + class_name_tag.split(' ').join('.');
13941
13942                if(vendor_isnew_tag == 1){
13943                    margin_promo = 12;
13944                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13945                }
13946
13947                if(promo_tag == 1){
13948                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13949                }
13950
13951                if(game_ishot_tag == 1){
13952                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
13953                }
13954            }
13955        });
13956
13957
13958                
13959        lobby_tag = ".lb-16502"
13960        promo_tag = "1";
13961        game_ishot_tag = "0";
13962        vendor_isnew_tag = "0";
13963        margin_promo = 0;
13964        // console.log(lobby_tag);
13965        // console.log("promo", promo_tag);
13966        // console.log("game_ishot", game_ishot_tag);
13967        // console.log("vendor_isnew", vendor_isnew_tag);
13968            
13969        $(lobby_tag).each(function(index, element) {
13970            if (index === 0) {
13971                // Navbar Content
13972                class_name_tag = $(element).attr('class');
13973                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
13974                // on LI(navar) or DIV Content
13975                element_tag = $(element).prop('tagName');
13976                if(vendor_isnew_tag == 1){
13977                    if( element_tag == 'LI'){
13978                        margin_promo = 20;
13979                    }else{
13980                        margin_promo =10;
13981                    }
13982
13983                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
13984                }
13985
13986                if(promo_tag == 1){
13987                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
13988                }
13989
13990                if(game_ishot_tag == 1){
13991                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
13992                }
13993                
13994            } else if (index === 1) {
13995                // Lobby Content
13996                class_name_tag = $(element).attr('class');
13997                selector_tag = '.' + class_name_tag.split(' ').join('.');
13998
13999                if(vendor_isnew_tag == 1){
14000                    margin_promo = 12;
14001                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14002                }
14003
14004                if(promo_tag == 1){
14005                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14006                }
14007
14008                if(game_ishot_tag == 1){
14009                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14010                }
14011            }
14012        });
14013
14014
14015                
14016        lobby_tag = ".lb-25444"
14017        promo_tag = "1";
14018        game_ishot_tag = "0";
14019        vendor_isnew_tag = "0";
14020        margin_promo = 0;
14021        // console.log(lobby_tag);
14022        // console.log("promo", promo_tag);
14023        // console.log("game_ishot", game_ishot_tag);
14024        // console.log("vendor_isnew", vendor_isnew_tag);
14025            
14026        $(lobby_tag).each(function(index, element) {
14027            if (index === 0) {
14028                // Navbar Content
14029                class_name_tag = $(element).attr('class');
14030                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14031                // on LI(navar) or DIV Content
14032                element_tag = $(element).prop('tagName');
14033                if(vendor_isnew_tag == 1){
14034                    if( element_tag == 'LI'){
14035                        margin_promo = 20;
14036                    }else{
14037                        margin_promo =10;
14038                    }
14039
14040                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14041                }
14042
14043                if(promo_tag == 1){
14044                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14045                }
14046
14047                if(game_ishot_tag == 1){
14048                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
14048left:10px;top:0;z-index:10;width:35px"></div>`);
14049                }
14050                
14051            } else if (index === 1) {
14052                // Lobby Content
14053                class_name_tag = $(element).attr('class');
14054                selector_tag = '.' + class_name_tag.split(' ').join('.');
14055
14056                if(vendor_isnew_tag == 1){
14057                    margin_promo = 12;
14058                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14059                }
14060
14061                if(promo_tag == 1){
14062                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14063                }
14064
14065                if(game_ishot_tag == 1){
14066                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14067                }
14068            }
14069        });
14070
14071
14072                
14073        lobby_tag = ".lb-15461"
14074        promo_tag = "1";
14075        game_ishot_tag = "0";
14076        vendor_isnew_tag = "0";
14077        margin_promo = 0;
14078        // console.log(lobby_tag);
14079        // console.log("promo", promo_tag);
14080        // console.log("game_ishot", game_ishot_tag);
14081        // console.log("vendor_isnew", vendor_isnew_tag);
14082            
14083        $(lobby_tag).each(function(index, element) {
14084            if (index === 0) {
14085                // Navbar Content
14086                class_name_tag = $(element).attr('class');
14087                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14088                // on LI(navar) or DIV Content
14089                element_tag = $(element).prop('tagName');
14090                if(vendor_isnew_tag == 1){
14091                    if( element_tag == 'LI'){
14092                        margin_promo = 20;
14093                    }else{
14094                        margin_promo =10;
14095                    }
14096
14097                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14098                }
14099
14100                if(promo_tag == 1){
14101                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14102                }
14103
14104                if(game_ishot_tag == 1){
14105                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
14106                }
14107                
14108            } else if (index === 1) {
14109                // Lobby Content
14110                class_name_tag = $(element).attr('class');
14111                selector_tag = '.' + class_name_tag.split(' ').join('.');
14112
14113                if(vendor_isnew_tag == 1){
14114                    margin_promo = 12;
14115                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14116                }
14117
14118                if(promo_tag == 1){
14119                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14120                }
14121
14122                if(game_ishot_tag == 1){
14123                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14124                }
14125            }
14126        });
14127
14128
14129                
14130        lobby_tag = ".lb-2676"
14131        promo_tag = "1";
14132        game_ishot_tag = "0";
14133        vendor_isnew_tag = "0";
14134        margin_promo = 0;
14135        // console.log(lobby_tag);
14136        // console.log("promo", promo_tag);
14137        // console.log("game_ishot", game_ishot_tag);
14138        // console.log("vendor_isnew", vendor_isnew_tag);
14139            
14140        $(lobby_tag).each(function(index, element) {
14141            if (index === 0) {
14142                // Navbar Content
14143                class_name_tag = $(element).attr('class');
14144                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14145                // on LI(navar) or DIV Content
14146                element_tag = $(element).prop('tagName');
14147                if(vendor_isnew_tag == 1){
14148                    if( element_tag == 'LI'){
14149                        margin_promo = 20;
14150                    }else{
14151                        margin_promo =10;
14152                    }
14153
14154                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14155                }
14156
14157                if(promo_tag == 1){
14158                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14159                }
14160
14161                if(game_ishot_tag == 1){
14162                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
14162left:10px;top:0;z-index:10;width:35px"></div>`);
14163                }
14164                
14165            } else if (index === 1) {
14166                // Lobby Content
14167                class_name_tag = $(element).attr('class');
14168                selector_tag = '.' + class_name_tag.split(' ').join('.');
14169
14170                if(vendor_isnew_tag == 1){
14171                    margin_promo = 12;
14172                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14173                }
14174
14175                if(promo_tag == 1){
14176                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14177                }
14178
14179                if(game_ishot_tag == 1){
14180                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14181                }
14182            }
14183        });
14184
14185
14186                
14187        lobby_tag = ".lb-17995"
14188        promo_tag = "1";
14189        game_ishot_tag = "0";
14190        vendor_isnew_tag = "0";
14191        margin_promo = 0;
14192        // console.log(lobby_tag);
14193        // console.log("promo", promo_tag);
14194        // console.log("game_ishot", game_ishot_tag);
14195        // console.log("vendor_isnew", vendor_isnew_tag);
14196            
14197        $(lobby_tag).each(function(index, element) {
14198            if (index === 0) {
14199                // Navbar Content
14200                class_name_tag = $(element).attr('class');
14201                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14202                // on LI(navar) or DIV Content
14203                element_tag = $(element).prop('tagName');
14204                if(vendor_isnew_tag == 1){
14205                    if( element_tag == 'LI'){
14206                        margin_promo = 20;
14207                    }else{
14208                        margin_promo =10;
14209                    }
14210
14211                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14212                }
14213
14214                if(promo_tag == 1){
14215                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14216                }
14217
14218                if(game_ishot_tag == 1){
14219                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
14220                }
14221                
14222            } else if (index === 1) {
14223                // Lobby Content
14224                class_name_tag = $(element).attr('class');
14225                selector_tag = '.' + class_name_tag.split(' ').join('.');
14226
14227                if(vendor_isnew_tag == 1){
14228                    margin_promo = 12;
14229                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14230                }
14231
14232                if(promo_tag == 1){
14233                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14234                }
14235
14236                if(game_ishot_tag == 1){
14237                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14238                }
14239            }
14240        });
14241
14242
14243                
14244        lobby_tag = ".lb-19987"
14245        promo_tag = "1";
14246        game_ishot_tag = "0";
14247        vendor_isnew_tag = "0";
14248        margin_promo = 0;
14249        // console.log(lobby_tag);
14250        // console.log("promo", promo_tag);
14251        // console.log("game_ishot", game_ishot_tag);
14252        // console.log("vendor_isnew", vendor_isnew_tag);
14253            
14254        $(lobby_tag).each(function(index, element) {
14255            if (index === 0) {
14256                // Navbar Content
14257                class_name_tag = $(element).attr('class');
14258                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14259                // on LI(navar) or DIV Content
14260                element_tag = $(element).prop('tagName');
14261                if(vendor_isnew_tag == 1){
14262                    if( element_tag == 'LI'){
14263                        margin_promo = 20;
14264                    }else{
14265                        margin_promo =10;
14266                    }
14267
14268                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14269                }
14270
14271                if(promo_tag == 1){
14272                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14273                }
14274
14275                if(game_ishot_tag == 1){
14276                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
14276left:10px;top:0;z-index:10;width:35px"></div>`);
14277                }
14278                
14279            } else if (index === 1) {
14280                // Lobby Content
14281                class_name_tag = $(element).attr('class');
14282                selector_tag = '.' + class_name_tag.split(' ').join('.');
14283
14284                if(vendor_isnew_tag == 1){
14285                    margin_promo = 12;
14286                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14287                }
14288
14289                if(promo_tag == 1){
14290                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14291                }
14292
14293                if(game_ishot_tag == 1){
14294                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14295                }
14296            }
14297        });
14298
14299
14300                
14301        lobby_tag = ".lb-18380"
14302        promo_tag = "1";
14303        game_ishot_tag = "0";
14304        vendor_isnew_tag = "0";
14305        margin_promo = 0;
14306        // console.log(lobby_tag);
14307        // console.log("promo", promo_tag);
14308        // console.log("game_ishot", game_ishot_tag);
14309        // console.log("vendor_isnew", vendor_isnew_tag);
14310            
14311        $(lobby_tag).each(function(index, element) {
14312            if (index === 0) {
14313                // Navbar Content
14314                class_name_tag = $(element).attr('class');
14315                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14316                // on LI(navar) or DIV Content
14317                element_tag = $(element).prop('tagName');
14318                if(vendor_isnew_tag == 1){
14319                    if( element_tag == 'LI'){
14320                        margin_promo = 20;
14321                    }else{
14322                        margin_promo =10;
14323                    }
14324
14325                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14326                }
14327
14328                if(promo_tag == 1){
14329                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14330                }
14331
14332                if(game_ishot_tag == 1){
14333                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
14334                }
14335                
14336            } else if (index === 1) {
14337                // Lobby Content
14338                class_name_tag = $(element).attr('class');
14339                selector_tag = '.' + class_name_tag.split(' ').join('.');
14340
14341                if(vendor_isnew_tag == 1){
14342                    margin_promo = 12;
14343                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14344                }
14345
14346                if(promo_tag == 1){
14347                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14348                }
14349
14350                if(game_ishot_tag == 1){
14351                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14352                }
14353            }
14354        });
14355
14356
14357                
14358        lobby_tag = ".lb-20076"
14359        promo_tag = "1";
14360        game_ishot_tag = "0";
14361        vendor_isnew_tag = "0";
14362        margin_promo = 0;
14363        // console.log(lobby_tag);
14364        // console.log("promo", promo_tag);
14365        // console.log("game_ishot", game_ishot_tag);
14366        // console.log("vendor_isnew", vendor_isnew_tag);
14367            
14368        $(lobby_tag).each(function(index, element) {
14369            if (index === 0) {
14370                // Navbar Content
14371                class_name_tag = $(element).attr('class');
14372                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14373                // on LI(navar) or DIV Content
14374                element_tag = $(element).prop('tagName');
14375                if(vendor_isnew_tag == 1){
14376                    if( element_tag == 'LI'){
14377                        margin_promo = 20;
14378                    }else{
14379                        margin_promo =10;
14380                    }
14381
14382                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14383                }
14384
14385                if(promo_tag == 1){
14386                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14387                }
14388
14389                if(game_ishot_tag == 1){
14390                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
14390left:10px;top:0;z-index:10;width:35px"></div>`);
14391                }
14392                
14393            } else if (index === 1) {
14394                // Lobby Content
14395                class_name_tag = $(element).attr('class');
14396                selector_tag = '.' + class_name_tag.split(' ').join('.');
14397
14398                if(vendor_isnew_tag == 1){
14399                    margin_promo = 12;
14400                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14401                }
14402
14403                if(promo_tag == 1){
14404                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14405                }
14406
14407                if(game_ishot_tag == 1){
14408                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14409                }
14410            }
14411        });
14412
14413
14414                
14415        lobby_tag = ".lb-15459"
14416        promo_tag = "1";
14417        game_ishot_tag = "0";
14418        vendor_isnew_tag = "0";
14419        margin_promo = 0;
14420        // console.log(lobby_tag);
14421        // console.log("promo", promo_tag);
14422        // console.log("game_ishot", game_ishot_tag);
14423        // console.log("vendor_isnew", vendor_isnew_tag);
14424            
14425        $(lobby_tag).each(function(index, element) {
14426            if (index === 0) {
14427                // Navbar Content
14428                class_name_tag = $(element).attr('class');
14429                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14430                // on LI(navar) or DIV Content
14431                element_tag = $(element).prop('tagName');
14432                if(vendor_isnew_tag == 1){
14433                    if( element_tag == 'LI'){
14434                        margin_promo = 20;
14435                    }else{
14436                        margin_promo =10;
14437                    }
14438
14439                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14440                }
14441
14442                if(promo_tag == 1){
14443                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14444                }
14445
14446                if(game_ishot_tag == 1){
14447                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
14448                }
14449                
14450            } else if (index === 1) {
14451                // Lobby Content
14452                class_name_tag = $(element).attr('class');
14453                selector_tag = '.' + class_name_tag.split(' ').join('.');
14454
14455                if(vendor_isnew_tag == 1){
14456                    margin_promo = 12;
14457                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14458                }
14459
14460                if(promo_tag == 1){
14461                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14462                }
14463
14464                if(game_ishot_tag == 1){
14465                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14466                }
14467            }
14468        });
14469
14470
14471                
14472        lobby_tag = ".lb-14601"
14473        promo_tag = "1";
14474        game_ishot_tag = "0";
14475        vendor_isnew_tag = "0";
14476        margin_promo = 0;
14477        // console.log(lobby_tag);
14478        // console.log("promo", promo_tag);
14479        // console.log("game_ishot", game_ishot_tag);
14480        // console.log("vendor_isnew", vendor_isnew_tag);
14481            
14482        $(lobby_tag).each(function(index, element) {
14483            if (index === 0) {
14484                // Navbar Content
14485                class_name_tag = $(element).attr('class');
14486                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14487                // on LI(navar) or DIV Content
14488                element_tag = $(element).prop('tagName');
14489                if(vendor_isnew_tag == 1){
14490                    if( element_tag == 'LI'){
14491                        margin_promo = 20;
14492                    }else{
14493                        margin_promo =10;
14494                    }
14495
14496                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14497                }
14498
14499                if(promo_tag == 1){
14500                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14501                }
14502
14503                if(game_ishot_tag == 1){
14504                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
14504left:10px;top:0;z-index:10;width:35px"></div>`);
14505                }
14506                
14507            } else if (index === 1) {
14508                // Lobby Content
14509                class_name_tag = $(element).attr('class');
14510                selector_tag = '.' + class_name_tag.split(' ').join('.');
14511
14512                if(vendor_isnew_tag == 1){
14513                    margin_promo = 12;
14514                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14515                }
14516
14517                if(promo_tag == 1){
14518                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14519                }
14520
14521                if(game_ishot_tag == 1){
14522                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14523                }
14524            }
14525        });
14526
14527
14528                
14529        lobby_tag = ".lb-29305"
14530        promo_tag = "0";
14531        game_ishot_tag = "0";
14532        vendor_isnew_tag = "0";
14533        margin_promo = 0;
14534        // console.log(lobby_tag);
14535        // console.log("promo", promo_tag);
14536        // console.log("game_ishot", game_ishot_tag);
14537        // console.log("vendor_isnew", vendor_isnew_tag);
14538            
14539        $(lobby_tag).each(function(index, element) {
14540            if (index === 0) {
14541                // Navbar Content
14542                class_name_tag = $(element).attr('class');
14543                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14544                // on LI(navar) or DIV Content
14545                element_tag = $(element).prop('tagName');
14546                if(vendor_isnew_tag == 1){
14547                    if( element_tag == 'LI'){
14548                        margin_promo = 20;
14549                    }else{
14550                        margin_promo =10;
14551                    }
14552
14553                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14554                }
14555
14556                if(promo_tag == 1){
14557                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14558                }
14559
14560                if(game_ishot_tag == 1){
14561                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
14562                }
14563                
14564            } else if (index === 1) {
14565                // Lobby Content
14566                class_name_tag = $(element).attr('class');
14567                selector_tag = '.' + class_name_tag.split(' ').join('.');
14568
14569                if(vendor_isnew_tag == 1){
14570                    margin_promo = 12;
14571                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14572                }
14573
14574                if(promo_tag == 1){
14575                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14576                }
14577
14578                if(game_ishot_tag == 1){
14579                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14580                }
14581            }
14582        });
14583
14584
14585                
14586        lobby_tag = ".lb-2864"
14587        promo_tag = "1";
14588        game_ishot_tag = "0";
14589        vendor_isnew_tag = "0";
14590        margin_promo = 0;
14591        // console.log(lobby_tag);
14592        // console.log("promo", promo_tag);
14593        // console.log("game_ishot", game_ishot_tag);
14594        // console.log("vendor_isnew", vendor_isnew_tag);
14595            
14596        $(lobby_tag).each(function(index, element) {
14597            if (index === 0) {
14598                // Navbar Content
14599                class_name_tag = $(element).attr('class');
14600                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14601                // on LI(navar) or DIV Content
14602                element_tag = $(element).prop('tagName');
14603                if(vendor_isnew_tag == 1){
14604                    if( element_tag == 'LI'){
14605                        margin_promo = 20;
14606                    }else{
14607                        margin_promo =10;
14608                    }
14609
14610                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14611                }
14612
14613                if(promo_tag == 1){
14614                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14615                }
14616
14617                if(game_ishot_tag == 1){
14618                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
14618left:10px;top:0;z-index:10;width:35px"></div>`);
14619                }
14620                
14621            } else if (index === 1) {
14622                // Lobby Content
14623                class_name_tag = $(element).attr('class');
14624                selector_tag = '.' + class_name_tag.split(' ').join('.');
14625
14626                if(vendor_isnew_tag == 1){
14627                    margin_promo = 12;
14628                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14629                }
14630
14631                if(promo_tag == 1){
14632                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14633                }
14634
14635                if(game_ishot_tag == 1){
14636                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14637                }
14638            }
14639        });
14640
14641
14642                
14643        lobby_tag = ".lb-29129"
14644        promo_tag = "1";
14645        game_ishot_tag = "0";
14646        vendor_isnew_tag = "0";
14647        margin_promo = 0;
14648        // console.log(lobby_tag);
14649        // console.log("promo", promo_tag);
14650        // console.log("game_ishot", game_ishot_tag);
14651        // console.log("vendor_isnew", vendor_isnew_tag);
14652            
14653        $(lobby_tag).each(function(index, element) {
14654            if (index === 0) {
14655                // Navbar Content
14656                class_name_tag = $(element).attr('class');
14657                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14658                // on LI(navar) or DIV Content
14659                element_tag = $(element).prop('tagName');
14660                if(vendor_isnew_tag == 1){
14661                    if( element_tag == 'LI'){
14662                        margin_promo = 20;
14663                    }else{
14664                        margin_promo =10;
14665                    }
14666
14667                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14668                }
14669
14670                if(promo_tag == 1){
14671                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14672                }
14673
14674                if(game_ishot_tag == 1){
14675                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
14676                }
14677                
14678            } else if (index === 1) {
14679                // Lobby Content
14680                class_name_tag = $(element).attr('class');
14681                selector_tag = '.' + class_name_tag.split(' ').join('.');
14682
14683                if(vendor_isnew_tag == 1){
14684                    margin_promo = 12;
14685                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14686                }
14687
14688                if(promo_tag == 1){
14689                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14690                }
14691
14692                if(game_ishot_tag == 1){
14693                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14694                }
14695            }
14696        });
14697
14698
14699                
14700        lobby_tag = ".lb-16463"
14701        promo_tag = "1";
14702        game_ishot_tag = "0";
14703        vendor_isnew_tag = "0";
14704        margin_promo = 0;
14705        // console.log(lobby_tag);
14706        // console.log("promo", promo_tag);
14707        // console.log("game_ishot", game_ishot_tag);
14708        // console.log("vendor_isnew", vendor_isnew_tag);
14709            
14710        $(lobby_tag).each(function(index, element) {
14711            if (index === 0) {
14712                // Navbar Content
14713                class_name_tag = $(element).attr('class');
14714                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14715                // on LI(navar) or DIV Content
14716                element_tag = $(element).prop('tagName');
14717                if(vendor_isnew_tag == 1){
14718                    if( element_tag == 'LI'){
14719                        margin_promo = 20;
14720                    }else{
14721                        margin_promo =10;
14722                    }
14723
14724                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14725                }
14726
14727                if(promo_tag == 1){
14728                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14729                }
14730
14731                if(game_ishot_tag == 1){
14732                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
14732left:10px;top:0;z-index:10;width:35px"></div>`);
14733                }
14734                
14735            } else if (index === 1) {
14736                // Lobby Content
14737                class_name_tag = $(element).attr('class');
14738                selector_tag = '.' + class_name_tag.split(' ').join('.');
14739
14740                if(vendor_isnew_tag == 1){
14741                    margin_promo = 12;
14742                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14743                }
14744
14745                if(promo_tag == 1){
14746                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14747                }
14748
14749                if(game_ishot_tag == 1){
14750                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14751                }
14752            }
14753        });
14754
14755
14756                
14757        lobby_tag = ".lb-19230"
14758        promo_tag = "1";
14759        game_ishot_tag = "0";
14760        vendor_isnew_tag = "0";
14761        margin_promo = 0;
14762        // console.log(lobby_tag);
14763        // console.log("promo", promo_tag);
14764        // console.log("game_ishot", game_ishot_tag);
14765        // console.log("vendor_isnew", vendor_isnew_tag);
14766            
14767        $(lobby_tag).each(function(index, element) {
14768            if (index === 0) {
14769                // Navbar Content
14770                class_name_tag = $(element).attr('class');
14771                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14772                // on LI(navar) or DIV Content
14773                element_tag = $(element).prop('tagName');
14774                if(vendor_isnew_tag == 1){
14775                    if( element_tag == 'LI'){
14776                        margin_promo = 20;
14777                    }else{
14778                        margin_promo =10;
14779                    }
14780
14781                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14782                }
14783
14784                if(promo_tag == 1){
14785                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14786                }
14787
14788                if(game_ishot_tag == 1){
14789                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
14790                }
14791                
14792            } else if (index === 1) {
14793                // Lobby Content
14794                class_name_tag = $(element).attr('class');
14795                selector_tag = '.' + class_name_tag.split(' ').join('.');
14796
14797                if(vendor_isnew_tag == 1){
14798                    margin_promo = 12;
14799                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14800                }
14801
14802                if(promo_tag == 1){
14803                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14804                }
14805
14806                if(game_ishot_tag == 1){
14807                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14808                }
14809            }
14810        });
14811
14812
14813                
14814        lobby_tag = ".lb-18062"
14815        promo_tag = "1";
14816        game_ishot_tag = "0";
14817        vendor_isnew_tag = "0";
14818        margin_promo = 0;
14819        // console.log(lobby_tag);
14820        // console.log("promo", promo_tag);
14821        // console.log("game_ishot", game_ishot_tag);
14822        // console.log("vendor_isnew", vendor_isnew_tag);
14823            
14824        $(lobby_tag).each(function(index, element) {
14825            if (index === 0) {
14826                // Navbar Content
14827                class_name_tag = $(element).attr('class');
14828                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14829                // on LI(navar) or DIV Content
14830                element_tag = $(element).prop('tagName');
14831                if(vendor_isnew_tag == 1){
14832                    if( element_tag == 'LI'){
14833                        margin_promo = 20;
14834                    }else{
14835                        margin_promo =10;
14836                    }
14837
14838                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14839                }
14840
14841                if(promo_tag == 1){
14842                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14843                }
14844
14845                if(game_ishot_tag == 1){
14846                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
14846left:10px;top:0;z-index:10;width:35px"></div>`);
14847                }
14848                
14849            } else if (index === 1) {
14850                // Lobby Content
14851                class_name_tag = $(element).attr('class');
14852                selector_tag = '.' + class_name_tag.split(' ').join('.');
14853
14854                if(vendor_isnew_tag == 1){
14855                    margin_promo = 12;
14856                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14857                }
14858
14859                if(promo_tag == 1){
14860                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14861                }
14862
14863                if(game_ishot_tag == 1){
14864                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14865                }
14866            }
14867        });
14868
14869
14870                
14871        lobby_tag = ".lb-21547"
14872        promo_tag = "1";
14873        game_ishot_tag = "0";
14874        vendor_isnew_tag = "0";
14875        margin_promo = 0;
14876        // console.log(lobby_tag);
14877        // console.log("promo", promo_tag);
14878        // console.log("game_ishot", game_ishot_tag);
14879        // console.log("vendor_isnew", vendor_isnew_tag);
14880            
14881        $(lobby_tag).each(function(index, element) {
14882            if (index === 0) {
14883                // Navbar Content
14884                class_name_tag = $(element).attr('class');
14885                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14886                // on LI(navar) or DIV Content
14887                element_tag = $(element).prop('tagName');
14888                if(vendor_isnew_tag == 1){
14889                    if( element_tag == 'LI'){
14890                        margin_promo = 20;
14891                    }else{
14892                        margin_promo =10;
14893                    }
14894
14895                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14896                }
14897
14898                if(promo_tag == 1){
14899                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14900                }
14901
14902                if(game_ishot_tag == 1){
14903                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
14904                }
14905                
14906            } else if (index === 1) {
14907                // Lobby Content
14908                class_name_tag = $(element).attr('class');
14909                selector_tag = '.' + class_name_tag.split(' ').join('.');
14910
14911                if(vendor_isnew_tag == 1){
14912                    margin_promo = 12;
14913                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14914                }
14915
14916                if(promo_tag == 1){
14917                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14918                }
14919
14920                if(game_ishot_tag == 1){
14921                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14922                }
14923            }
14924        });
14925
14926
14927                
14928        lobby_tag = ".lb-20734"
14929        promo_tag = "1";
14930        game_ishot_tag = "0";
14931        vendor_isnew_tag = "0";
14932        margin_promo = 0;
14933        // console.log(lobby_tag);
14934        // console.log("promo", promo_tag);
14935        // console.log("game_ishot", game_ishot_tag);
14936        // console.log("vendor_isnew", vendor_isnew_tag);
14937            
14938        $(lobby_tag).each(function(index, element) {
14939            if (index === 0) {
14940                // Navbar Content
14941                class_name_tag = $(element).attr('class');
14942                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
14943                // on LI(navar) or DIV Content
14944                element_tag = $(element).prop('tagName');
14945                if(vendor_isnew_tag == 1){
14946                    if( element_tag == 'LI'){
14947                        margin_promo = 20;
14948                    }else{
14949                        margin_promo =10;
14950                    }
14951
14952                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14953                }
14954
14955                if(promo_tag == 1){
14956                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14957                }
14958
14959                if(game_ishot_tag == 1){
14960                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
14960left:10px;top:0;z-index:10;width:35px"></div>`);
14961                }
14962                
14963            } else if (index === 1) {
14964                // Lobby Content
14965                class_name_tag = $(element).attr('class');
14966                selector_tag = '.' + class_name_tag.split(' ').join('.');
14967
14968                if(vendor_isnew_tag == 1){
14969                    margin_promo = 12;
14970                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
14971                }
14972
14973                if(promo_tag == 1){
14974                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
14975                }
14976
14977                if(game_ishot_tag == 1){
14978                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
14979                }
14980            }
14981        });
14982
14983
14984                
14985        lobby_tag = ".lb-2233"
14986        promo_tag = "1";
14987        game_ishot_tag = "0";
14988        vendor_isnew_tag = "0";
14989        margin_promo = 0;
14990        // console.log(lobby_tag);
14991        // console.log("promo", promo_tag);
14992        // console.log("game_ishot", game_ishot_tag);
14993        // console.log("vendor_isnew", vendor_isnew_tag);
14994            
14995        $(lobby_tag).each(function(index, element) {
14996            if (index === 0) {
14997                // Navbar Content
14998                class_name_tag = $(element).attr('class');
14999                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
15000                // on LI(navar) or DIV Content
15001                element_tag = $(element).prop('tagName');
15002                if(vendor_isnew_tag == 1){
15003                    if( element_tag == 'LI'){
15004                        margin_promo = 20;
15005                    }else{
15006                        margin_promo =10;
15007                    }
15008
15009                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
15010                }
15011
15012                if(promo_tag == 1){
15013                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
15014                }
15015
15016                if(game_ishot_tag == 1){
15017                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
15018                }
15019                
15020            } else if (index === 1) {
15021                // Lobby Content
15022                class_name_tag = $(element).attr('class');
15023                selector_tag = '.' + class_name_tag.split(' ').join('.');
15024
15025                if(vendor_isnew_tag == 1){
15026                    margin_promo = 12;
15027                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
15028                }
15029
15030                if(promo_tag == 1){
15031                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
15032                }
15033
15034                if(game_ishot_tag == 1){
15035                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
15036                }
15037            }
15038        });
15039
15040
15041                
15042        lobby_tag = ".lb-18307"
15043        promo_tag = "1";
15044        game_ishot_tag = "0";
15045        vendor_isnew_tag = "0";
15046        margin_promo = 0;
15047        // console.log(lobby_tag);
15048        // console.log("promo", promo_tag);
15049        // console.log("game_ishot", game_ishot_tag);
15050        // console.log("vendor_isnew", vendor_isnew_tag);
15051            
15052        $(lobby_tag).each(function(index, element) {
15053            if (index === 0) {
15054                // Navbar Content
15055                class_name_tag = $(element).attr('class');
15056                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
15057                // on LI(navar) or DIV Content
15058                element_tag = $(element).prop('tagName');
15059                if(vendor_isnew_tag == 1){
15060                    if( element_tag == 'LI'){
15061                        margin_promo = 20;
15062                    }else{
15063                        margin_promo =10;
15064                    }
15065
15066                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
15067                }
15068
15069                if(promo_tag == 1){
15070                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
15071                }
15072
15073                if(game_ishot_tag == 1){
15074                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
15074left:10px;top:0;z-index:10;width:35px"></div>`);
15075                }
15076                
15077            } else if (index === 1) {
15078                // Lobby Content
15079                class_name_tag = $(element).attr('class');
15080                selector_tag = '.' + class_name_tag.split(' ').join('.');
15081
15082                if(vendor_isnew_tag == 1){
15083                    margin_promo = 12;
15084                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
15085                }
15086
15087                if(promo_tag == 1){
15088                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
15089                }
15090
15091                if(game_ishot_tag == 1){
15092                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
15093                }
15094            }
15095        });
15096
15097
15098                
15099        lobby_tag = ".lb-23759"
15100        promo_tag = "1";
15101        game_ishot_tag = "0";
15102        vendor_isnew_tag = "0";
15103        margin_promo = 0;
15104        // console.log(lobby_tag);
15105        // console.log("promo", promo_tag);
15106        // console.log("game_ishot", game_ishot_tag);
15107        // console.log("vendor_isnew", vendor_isnew_tag);
15108            
15109        $(lobby_tag).each(function(index, element) {
15110            if (index === 0) {
15111                // Navbar Content
15112                class_name_tag = $(element).attr('class');
15113                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
15114                // on LI(navar) or DIV Content
15115                element_tag = $(element).prop('tagName');
15116                if(vendor_isnew_tag == 1){
15117                    if( element_tag == 'LI'){
15118                        margin_promo = 20;
15119                    }else{
15120                        margin_promo =10;
15121                    }
15122
15123                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
15124                }
15125
15126                if(promo_tag == 1){
15127                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
15128                }
15129
15130                if(game_ishot_tag == 1){
15131                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`);
15132                }
15133                
15134            } else if (index === 1) {
15135                // Lobby Content
15136                class_name_tag = $(element).attr('class');
15137                selector_tag = '.' + class_name_tag.split(' ').join('.');
15138
15139                if(vendor_isnew_tag == 1){
15140                    margin_promo = 12;
15141                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
15142                }
15143
15144                if(promo_tag == 1){
15145                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
15146                }
15147
15148                if(game_ishot_tag == 1){
15149                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
15150                }
15151            }
15152        });
15153
15154
15155                
15156        lobby_tag = ".lb-16503"
15157        promo_tag = "1";
15158        game_ishot_tag = "0";
15159        vendor_isnew_tag = "0";
15160        margin_promo = 0;
15161        // console.log(lobby_tag);
15162        // console.log("promo", promo_tag);
15163        // console.log("game_ishot", game_ishot_tag);
15164        // console.log("vendor_isnew", vendor_isnew_tag);
15165            
15166        $(lobby_tag).each(function(index, element) {
15167            if (index === 0) {
15168                // Navbar Content
15169                class_name_tag = $(element).attr('class');
15170                selector_tag = '.' + class_name_tag.split(' ').join('.'); 
15171                // on LI(navar) or DIV Content
15172                element_tag = $(element).prop('tagName');
15173                if(vendor_isnew_tag == 1){
15174                    if( element_tag == 'LI'){
15175                        margin_promo = 20;
15176                    }else{
15177                        margin_promo =10;
15178                    }
15179
15180                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
15181                }
15182
15183                if(promo_tag == 1){
15184                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
15185                }
15186
15187                if(game_ishot_tag == 1){
15188                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;
15188left:10px;top:0;z-index:10;width:35px"></div>`);
15189                }
15190                
15191            } else if (index === 1) {
15192                // Lobby Content
15193                class_name_tag = $(element).attr('class');
15194                selector_tag = '.' + class_name_tag.split(' ').join('.');
15195
15196                if(vendor_isnew_tag == 1){
15197                    margin_promo = 12;
15198                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`);
15199                }
15200
15201                if(promo_tag == 1){
15202                    $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`);
15203                }
15204
15205                if(game_ishot_tag == 1){
15206                    $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://afastart.com/images/hot-tag.webp?v=1.14.67" onerror="this.onerror=null;this.src='https://afastart.com/images/hot-tag.png?v=1.14.67';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`);
15207                }
15208            }
15209        });
15210
15211
15212                            });
15213
15214    $(".form-captcha").on("click", refreshCaptcha);
15215
15216    function setform3(form, loader, fn){
15217        jQuery("#"+form).ajaxForm({
15218            beforeSubmit:function(){
15219                $(':submit').prop('disabled',true);
15220                jQuery("#"+loader).html(loader_img2);
15221            },
15222            success:function(r){
15223                jQuery("#"+loader).html('');
15224                $(':submit').prop('disabled',false);
15225                if(fn!=null){fn(r);}
15226                if($('#'+form).find('img.captcha'))refreshCaptcha();
15227            }
15228        });
15229    }
15230
15231    function addCommas(nStr){
15232        nStr += '';
15233        x = nStr.split('.');
15234        x1 = x[0];
15235        x2 = x.length > 1 ? '.' + x[1] : '';
15236        var rgx = /(\d+)(\d{3})/;
15237        while (rgx.test(x1)) {
15238            x1 = x1.replace(rgx, '$1' + ',' + '$2');
15239        }
15240        return x1 + x2;
15241    }
15242
15243
15244    function refreshCaptcha(){
15245        var time_param = new Date();
15246        time_second = time_param.getMilliseconds();
15247        $.ajax({
15248            url  : "https://afastart.com/get_captcha?"+time_second,
15249            method : 'GET',
15250            beforeSend : function(){
15251                $(this).off("click");
15252            },
15253            success: function(output) {
15254                $(".form-captcha").each(function(){
15255                    $(this).find("img.captcha_image").prop("src",  output);
15256                });
15257                $('.captcha-input').val("");
15258            },
15259            complete: function(){
15260                $(this).on("click", refreshCaptcha);
15261            }
15262        });
15263    }
15264
15265
15266
15267    function chk_mask() {
15268        var bankName = jQuery("#bank option:selected").text()
15269        // console.log("bank", bankName);
15270
15271        if(bankName=="BCA" || bankName=="BNI" || bankName=="Doku"){
15272            // 10 digits
15273            jQuery("#bank_accnumber").val("").mask("999-999-9999");
15274        }else if(bankName=="UOB Indonesia" ) {
15275            //11 digits
15276            jQuery("#bank_accnumber").val("").mask("999-999-99999");
15277        }else if(bankName=="MANDIRI") {
15278            //13 digits
15279            jQuery("#bank_accnumber").val("").mask("999-999-9999999");
15280        }else if(bankName == "Sumut") {
15281            //14 digits
15282            jQuery("#bank_accnumber").val("").mask("999-999-99999999");
15283        }else if(bankName=="BRI") {
15284            //15 digits
15285            jQuery("#bank_accnumber").val("").mask("999-999-999999999");
15286        }else if(bankName=="DANAMON" || bankName == "OCBC" || bankName == "Citibank"){
15287            // 12 digits
15288            jQuery("#bank_accnumber").val("").mask("999-999-999999");
15289        }else if(bankName=="Neo Commerce" || bankName == "NOBU" || bankName == "BTN"){
15290            // 16 digits
15291            jQuery("#bank_accnumber").val("").mask('?999-999-9999999999');
15292        }else{
15293            // 15 digits
15294            jQuery("#bank_accnumber").val("").mask('?999-999-999999999');
15295        }
15296
15297        if(bankName=="BNI") {
15298            jQuery("#bank_BNI").show();
15299        }else{
15300            jQuery("#bank_BNI").hide();
15301        }
15302    }
15303
15304    function chk_country()
15305    {
15306        const default_country = "id";
15307        const country_curr = $("#country option:selected").attr('data-country');
15308
15309        // show upload identity != IDR
15310        if(country_curr == undefined){
15311            $(".from_upload_id").hide();
15312        }else if( country_curr != "id"){
15313            $(".from_upload_id").show();
15314        }else{
15315            $(".from_upload_id").hide();
15316        }
15317
15318        //disable secret question
15319        if( country_curr != default_country){
15320            $('#secret_question').attr('disabled', 'disabled');
15321        }else{
15322            $('#secret_question').removeAttr('disabled');
15323        }
15324
15325        //get same country 
15326        $('#bank option').each(function( index, value) {
15327            if( index == 0){
15328                return;
15329            }
15330            //when undefined show all bank
15331            if( country_curr == undefined){
15332                $(this).hide();
15333            }else if ($(this).data('country') == country_curr) {
15334                $(this).show(); // Show the option
15335            } else {
15336                $(this).hide(); // Hide the option
15337            }
15338        });
15339
15340    }
15341
15342    $("#copyButton").click(function(){
15343        var copy = copyToClipboard($('#copyTarget'));
15344        if(copy){
15345            uialert("Link Referral Anda telah disalin.");
15346        }
15347    });
15348
15349    $("#copyBut").on('click', function(){
15350    	var str_value= $("#copyTar").html();
15351    	var number_only=str_value.replace(/-/g,'');
15352    	var numberOnlyDiv = $('<div>'+number_only+'</div>').attr('id', 'copyTargetNumber');
15353    	numberOnlyDiv.appendTo('body');
15354
15355    	var copy = copyToClipboard($('#copyTargetNumber'));
15356
15357    	if(copy){
15358    		$('#copyTargetNumber').remove();
15359    		uialert("Nomor Rekening Bank telah disalin.");
15360    	}
15361    });
15362
15363    function copyAccNumber(el, is_crypto=false){
15364    	var str_value= el.siblings('.copyTar').html();
15365    	var number_only=str_value.replace(/-/g,'');
15366    	var numberOnlyDiv = $('<div>'+number_only+'</div>').attr('id', 'copyTargetNumber');
15367    	numberOnlyDiv.appendTo('body');
15368
15369    	var copy = copyToClipboard($('#copyTargetNumber'));
15370        //
15371        let text = "Nomor Rekening Bank telah disalin.";
15372        if( is_crypto ){
15373            text = "Address Crypto telah disalin.";
15374        }
15375
15376    	if(copy){
15377    		$('#copyTargetNumber').remove();
15378    		uialert(text);
15379    	}
15380    }
15381
15382    function copyNominal(){
15383    	var str_value= $("#copyTarget").html();
15384    	var number_only=str_value.replace(/Rp /g,'').replace(/,/g,"");
15385    	var numberOnlyDiv = $('<div>'+number_only+'</div>').attr('id', 'copyTargetNumber');
15386    	numberOnlyDiv.appendTo('body');
15387
15388    	var copy = copyToClipboard($('#copyTargetNumber'));
15389
15390    	if(copy){
15391    		$('#copyTargetNumber').remove();
15392    		uialert("Nominal telah disalin.");
15393    	}
15394    }
15395
15396    // new deposit 1268
15397    // switch tab deposit destination
15398    function tabActiveDepositDestination(active_tab, clicked_selector)
15399    {
15400        // console.log('tabActiveDepositDestination');
15401        // console.log(active_tab, clicked_selector);
15402
15403        // get first element to switch
15404        let acc_id = $('.btn-acc-bank')[0].dataset.acc_id;
15405        // get acc_id when qris-instan
15406        $('.depo-username, .depo-bank-name, .depo-bank-account, .depo-bank-account-number').show();
15407        $('.depo-title-sender').text("Pengirim");
15408        if( active_tab == "qris-instan-to" ){
15409            acc_id = $('.btn-qris-bank')[0].dataset.acc_id; 
15410            //hide some sender information
15411            $('.depo-username, .depo-bank-name, .depo-bank-account, .depo-bank-account-number').hide();
15412            $('.depo-title-sender').text("Deposit Qris");
15413        }
15414        // console.log('switch tab', acc_id);
15415        getDetailAcc(acc_id);
15416        
15417        $('#bank-to, .bank-content-active').hide();
15418        $('#qris-instan-to').hide();
15419        $('#crypto-to').hide();
15420        
15421        //add custom class if exist false = remove class
15422        $("#btn-bank, #btn-qris-instan, #btn-crypto").toggleClass("active", false);
15423        
15424        //add custom class if exist true = add class
15425        $(`#${clicked_selector}`).toggleClass("active",true);
15426
15427        $(`#${active_tab}`).show();
15428
15429        if(active_tab != 'crypto-to'){
15430            $('.bank-content-active').show();
15431        }
15432    }
15433
15434    // bank,ewallet,credit(pulsa)
15435    function getDetailAcc(acc_id)
15436    {
15437        $('.acc-banks-detail').hide();
15438
15439        //add custom class if exist false = remove class
15440        $(`.btn-acc-bank, .btn-qris-bank`).toggleClass("active", false);
15441
15442        //add custom class if exist true = add class
15443        $(`.${acc_id}`).toggleClass("active", true);
15444
15445        $(`#bank-ewallet-credit-${acc_id}`).show();
15446
15447        // replace value acc_id
15448        $('#acc_id').attr('value', acc_id);
15449        // get type bank
15450        const get_type_bank = document.getElementsByClassName(`${acc_id}`);
15451        // console.log('getDetailAcc', acc_id);
15452        // console.log('get_type_bank', get_type_bank[0].dataset.bank_type);
15453        
15454        if( get_type_bank[0].dataset.bank_type == 3){ // 3 = pulsa
15455            // console.log("type pulsa");
15456            
15457            let id_amount = document.getElementById('amount').value;
15458            // convert to numberic
15459            id_amount = id_amount.replace(/([A-Z])\w|(,)|(\.)/g,"");
15460            
15461            const rate = get_type_bank[0].dataset.acc_rate;
15462            const total_amount_rate = id_amount - (id_amount * rate); // pulsa = total amount - (total_amound * rate);
15463            $('.deposit-pulsa').removeAttr("style");
15464            document.getElementById("rate-pulsa").value = (rate * 100) + "%";
15465            document.getElementById("amount-pulsa").value = "Rp " + number_format(total_amount_rate,0).replace(/,/g,".");
15466            
15467            $('.info-qris-auto').hide();
15468            // console.log("pulsa", {rate:rate, total_amount_rate:total_amount_rate});
15469        }else if(get_type_bank[0].dataset.transfer_type == "qr"){
15470            $('#proof-table').hide();
15471            $('.deposit-pulsa').hide();
15472            // if(get_type_bank[0].dataset.is_qr_dynamic == 1){
15473                $('.info-qris-auto').show();
15474            // }
15475        }else{
15476            // if not type 3
15477            $('.deposit-pulsa').css('display','none');
15478            $('#proof-table').show();
15479            $('.info-qris-auto').hide();
15480        }
15481        // console.log('getDetailAcc', acc_id);
15482        // console.log('get_type_bank', get_type_bank);
15483    }
15484
15485    $(document).ready(function() {
15486        //$('span.accnumber').after('<a class="btn copy-button" href="#" title="Copy" id="copyBut"> Salin </a>');
15487                let support_livechat = "NB: Jika anda mengalami kendala, silakan menghubungi Customer Service kami melalui Live Chat."
15488        $('#captcha_div_help').parent().after(`<span class="col-xs-7 col-xs-offset-4" style="color:red; font-weight: bold;">${support_livechat}</span>`);
15489
15490        $('a[href="https://afastart.com/profile/turnovercgddtg"]').attr('target', '_info_turnover');
15491        
15492                    	if($('#form_login_pin').length <= 0){
15493            let info_secret_answer = "* Harap mengingat jawaban dari pertanyaan keamanan anda, pertanyaan keamanan akan diminta pada saat lupa kata sandi.";
15494            $('input[type=text]#secret_answer').after(`<span style=" float:left;">${info_secret_answer}</span>`);
15495	    	$("input[type=password]").each(function(){
15496                var eye_pass_parent = $(this).parent('div');
15497                //if(eye_pass_parent.length > 0){
15498                    //eye_pass_parent.addClass('input-group');
15499                //}
15500                var col = '';
15501                if($(this).css('width') != null){
15502                    var width_src = $(this).css('width');
15503                    if (width_src.indexOf("%")== -1) {
15504                        width_src = '75';
15505                    }
15506                    var width_ori = parseInt(width_src, 10);
15507                    $(this).css('width', '100%');
15508
15509                    if($(this).parents('#form_edit_account').length > 0 || $(this).parents('#form_edit_account_modal').length > 0 || $(this).parents('#withdrawForm').length > 0){
15510                        /*col +=  "col-xs-"+Math.round(width_ori / 100 * 12);*/
15511                        col +=  "col-xs-10";
15512                    }
15513                }
15514                $(this).wrap('<div class="input-group '+col+'"></div>');
15515	    		var x = $(this).css('color');
15516                var y = $(this).css('background');
15517    			var eye_color = hexc(x);
15518                var bg_eye_color = hexc(y);
15519                if(bg_eye_color === false){
15520                    y = $(this).css('background-color');
15521                    bg_eye_color = hexc(y);
15522                }
15523                if(bg_eye_color !== false){
15524                	bg_eye_color = 'background-color:'+bg_eye_color;
15525                }
15526                if($(this).parents('#form_login').length > 0){
15527                    bg_eye_color += '; vertical-align:bottom;';
15528                }
15529	    		$(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>');
15530	    	});
15531
15532	        $(".span_sh_password").on('click', function(event) {
15533	        	var input_pass =  $(this).siblings('input');
15534	        	event.preventDefault();
15535	        	if(input_pass.attr("type") == "text"){
15536	                input_pass.attr('type', 'password');
15537	                input_pass.siblings('.span_sh_password').find('i').addClass( "fa-eye-slash" );
15538	                input_pass.siblings('.span_sh_password').find('i').removeClass( "fa-eye" );
15539	            }else if(input_pass.attr("type") == "password"){
15540	                input_pass.attr('type', 'text');
15541	                input_pass.siblings('.span_sh_password').find('i').addClass( "fa-eye" );
15542	                input_pass.siblings('.span_sh_password').find('i').removeClass( "fa-eye-slash" );
15543	            }
15544	        });
15545	    }
15546                // outstanding bet
15547            });
15548
15549    function hexc(colorval) {
15550    	var parts = colorval.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
15551    	if(typeof parts !== 'undefined' && parts != null){
15552    		if(parts.length > 0){
15553		    	delete(parts[0]);
15554		    	for (var i = 1; i <= 3; ++i) {
15555		    		parts[i] = parseInt(parts[i]).toString(16);
15556		    		if (parts[i].length == 1) parts[i] = '0' + parts[i];
15557		    	}
15558		    	color = '#' + parts.join('');
15559		    	return color;
15560		    }
15561    	}
15562    	return false;
15563    }
15564
15565    function copyToClipboard(elem) {
15566        var range, selection;
15567
15568        if (window.getSelection && document.createRange) {
15569            selection = window.getSelection();
15570            range = document.createRange();
15571            range.selectNodeContents($(elem)[0]);
15572            selection.removeAllRanges();
15573            selection.addRange(range);
15574
15575        } else if (document.selection && document.body.createTextRange) {
15576            range = document.body.createTextRange();
15577            range.moveToElementText($(elem)[0]);
15578            range.select();
15579        }
15580
15581        // copy the selection
15582        var succeed;
15583        try {
15584              succeed = document.execCommand("copy");
15585        } catch(e) {
15586            succeed = false;
15587        }
15588
15589       return succeed;
15590    }
15591
15592</script>
15592
15593
15594<script type="text/javascript">
15595
15596    function clear_form(el) {
15597        jQuery(el).find(':input').each(function() {
15598            switch(this.type) {
15599                case 'password':
15600                case 'select-multiple':
15601                case 'select-one':
15602                case 'text':
15603                case 'textarea':
15604                    $(this).val('');
15605                    break;
15606                case 'checkbox':
15607                case 'radio':
15608                    this.checked = false;
15609            }
15610        });
15611    }
15612</script>
15612
15613
15614<script type="text/javascript" defer="defer">
15615
15616    function call_timer_div(duration){
15617        var seconds_left = duration;
15618        var interval = setInterval(function() {
15619            document.getElementById('timer_div').innerHTML = --seconds_left;
15620
15621            if (seconds_left <= 0)
15622            {
15623               document.getElementById('timer_div').innerHTML = "Proses Masuk!";
15624               clearInterval(interval);
15625               // location.reload();
15626            }
15627        }, 1000);
15628
15629
15630    }
15631
15632
15633    _dom = 0;
15634    _dom=document.all?3:(document.getElementById?1:(document.layers?2:0));
15635
15636    function test(a,b){
15637        if (_dom == 3)  {
15638            if ((event.keyCode >= 48 && event.keyCode <= 57) || event.keyCode == 13 || event.keyCode == 8) {
15639                event.returnValue=true;
15640            }else{
15641                event.returnValue = false;
15642            }
15643        }else{
15644            if ((b.charCode > 47 && b.charCode < 58) || b.charCode == 13 || b.charCode == 0) {
15645            } else {
15646                b.preventDefault();
15647                b.returnValue = false;
15648            }
15649        }
15650    }
15651
15652    function debounce(){
15653
15654        var self = this
15655        if (this.clicked) return false;
15656
15657        this.clicked = true;
15658        setTimeout(function() {self.clicked = false;}, 10000);
15659
15660        return true;
15661    }
15662
15663    
15664    var _debug = false;
15665    var _placeholderSupport = function() {
15666        var t = document.createElement("input");
15667        t.type = "text";
15668        return (typeof t.placeholder !== "undefined");
15669    }();
15670
15671    window.onload = function() {
15672        var arrInputs = document.getElementsByTagName("input");
15673        var arrTextareas = document.getElementsByTagName("textarea");
15674        var combinedArray = [];
15675        for (var i = 0; i < arrInputs.length; i++)
15676            combinedArray.push(arrInputs[i]);
15677        for (var i = 0; i < arrTextareas.length; i++)
15678            combinedArray.push(arrTextareas[i]);
15679        for (var i = 0;
15679 i < combinedArray.length; i++) {
15680            var curInput = combinedArray[i];
15681            if (!curInput.type || curInput.type == "" || curInput.type == "text" || curInput.type == "textarea")
15682                HandlePlaceholder(curInput);
15683            else if (curInput.type == "password")
15684                ReplaceWithText(curInput);
15685        }
15686
15687        if (!_placeholderSupport) {
15688            for (var i = 0; i < document.forms.length; i++) {
15689                var oForm = document.forms[i];
15690                if (oForm.attachEvent) {
15691                    oForm.attachEvent("onsubmit", function() {
15692                        PlaceholderFormSubmit(oForm);
15693                    });
15694                }
15695                else if (oForm.addEventListener)
15696                    oForm.addEventListener("submit", function() {
15697                        PlaceholderFormSubmit(oForm);
15698                    }, false);
15699            }
15700        }
15701    };
15702
15703    function PlaceholderFormSubmit(oForm) {
15704        for (var i = 0; i < oForm.elements.length; i++) {
15705            var curElement = oForm.elements[i];
15706            HandlePlaceholderItemSubmit(curElement);
15707        }
15708    }
15709
15710    function HandlePlaceholderItemSubmit(element) {
15711        if (element.name) {
15712            var curPlaceholder = element.getAttribute("placeholder");
15713            if (curPlaceholder && curPlaceholder.length > 0 && element.value === curPlaceholder) {
15714                element.value = "";
15715                window.setTimeout(function() {
15716                    element.value = curPlaceholder;
15717                }, 100);
15718            }
15719        }
15720    }
15721
15722    function ReplaceWithText(oPasswordTextbox) {
15723        if (_placeholderSupport)
15724            return;
15725        var oTextbox = document.createElement("input");
15726        oTextbox.type = "text";
15727        oTextbox.id = oPasswordTextbox.id;
15728        oTextbox.name = oPasswordTextbox.name;
15729        //oTextbox.style = oPasswordTextbox.style;
15730        oTextbox.className = oPasswordTextbox.className;
15731        for (var i = 0; i < oPasswordTextbox.attributes.length; i++) {
15732            var curName = oPasswordTextbox.attributes.item(i).nodeName;
15733            var curValue = oPasswordTextbox.attributes.item(i).nodeValue;
15734            if (curName !== "type" && curName !== "name") {
15735                oTextbox.setAttribute(curName, curValue);
15736            }
15737        }
15738        oTextbox.originalTextbox = oPasswordTextbox;
15739        oPasswordTextbox.parentNode.replaceChild(oTextbox, oPasswordTextbox);
15740        HandlePlaceholder(oTextbox);
15741        if (!_placeholderSupport) {
15742            oPasswordTextbox.onblur = function() {
15743                if (this.dummyTextbox && this.value.length === 0) {
15744                    this.parentNode.replaceChild(this.dummyTextbox, this);
15745                }
15746            };
15747        }
15748    }
15749
15750    function HandlePlaceholder(oTextbox) {
15751        if (!_placeholderSupport) {
15752            var curPlaceholder = oTextbox.getAttribute("placeholder");
15753            if (curPlaceholder && curPlaceholder.length > 0) {
15754                Debug("Placeholder found for input box '" + oTextbox.name + "': " + curPlaceholder);
15755                oTextbox.value = curPlaceholder;
15756                oTextbox.setAttribute("old_color", oTextbox.style.color);
15757                oTextbox.style.color = "#c0c0c0";
15758                oTextbox.onfocus = function() {
15759                    var _this = this;
15760                    if (this.originalTextbox) {
15761                        _this = this.originalTextbox;
15762                        _this.dummyTextbox = this;
15763                        this.parentNode.replaceChild(this.originalTextbox, this);
15764                        _this.focus();
15765                    }
15766                    Debug("input box '" + _this.name + "' focus");
15767                    _this.style.color = _this.getAttribute("old_color");
15768                    if (_this.value === curPlaceholder)
15769                        _this.value = "";
15770                };
15771                oTextbox.onblur = function() {
15772                    var _this = this;
15773                    Debug("input box '" + _this.name + "' blur");
15774                    if (_this.value === "") {
15775                        _this.style.color = "#c0c0c0";
15776                        _this.value = curPlaceholder;
15777                    }
15778                };
15779            }
15780            else {
15781                Debug("input box '" + oTextbox.name + "' does not have placeholder attribute");
15782            }
15783        }
15784        else {
15785            Debug("browser has native support for placeholder");
15786        }
15787    }
15788
15789    function Debug(msg) {
15790        if (typeof _debug !== "undefined" && _debug) {
15791            var oConsole = document.getElementById("Console");
15792            if (!oConsole) {
15793                oConsole = document.createElement("div");
15794                oConsole.id = "Console";
15795                document.body.appendChild(oConsole);
15796            }
15797            oConsole.innerHTML += msg + "<br />";
15798        }
15799    }
15800    
15801</script>
15801
15802
15803
15804
15805
15806<script type="text/javascript">
15807
15808                            var form_register="registerForm";
15809                var login_after_register=0;
15810                clear_form("#registerForm");
15811            
15812        
15813        setform3(form_register, 'loader_register', function(r){
15814            //uialert(r.message.user_name);
15815            $('#agree1').css('border', 'none');
15816            $('[id$=invalid]').siblings('input, select').css('border', 'none');
15817            $('[id$=invalid]').text('').css('color', 'inherit').hide();
15818
15819            for(var k in r.message_1){
15820                if(k == 'user_name'){
15821                    $('#user_invalid').text(r.message_1.user_name).css('color', 'red');
15822                    $('#user_invalid').siblings('input').css('border','1px solid red');
15823                    $('#user_invalid').show();
15824                }else if(k == 'password'){
15825                    $('#password_invalid').text(r.message_1.password).css('color', 'red');
15826                    $('#password_invalid').siblings('input').css('border','1px solid red');
15827                    $('#password_invalid').show();
15828                }else if(k == 'password_confirmation'){
15829                    $('#password_confirmation_invalid').text(r.message_1.password_confirmation).css('color', 'red');
15830                    $('#password_confirmation_invalid').siblings('input').css('border','1px solid red');
15831                    $('#password_confirmation_invalid').show();
15832                }else if(k == 'phone'){
15833                    $('#phone_invalid').text(r.message_1.phone).css('color', 'red');
15834                    $('#phone_invalid').siblings('input').css('border','1px solid red');
15835                    $('#phone_invalid').show();
15836                }else if(k == 'email'){
15837                    $('#email_invalid').text(r.message_1.email).css('color', 'red');
15838                    $('#email_invalid').siblings('input').css('border','1px solid red');
15839                    $('#email_invalid').show();
15840                }else if(k == 'bank'){
15841                    $('#bank_invalid').text(r.message_1.bank).css('color', 'red');
15842                    $('#bank_invalid').siblings('select').css('border','1px solid red');
15843                    $('#bank_invalid').show();
15844                }else if(k == 'bank_accname'){
15845                    $('#bank_accname_invalid').text(r.message_1.bank_accname).css('color', 'red');
15846                    $('#bank_accname_invalid').siblings('input').css('border','1px solid red');
15847                    $('#bank_accname_invalid').show();
15848                }else if(k == 'bank_accnumber'){
15849                    $('#bank_accnumber_invalid').text(r.message_1.bank_accnumber).css('color', 'red');
15850                    $('#bank_accnumber_invalid').siblings('input').css('border','1px solid red');
15851                    $('#bank_accnumber_invalid').show();
15852                }else if(k == 'secret_question'){
15853                    $('#secret_question_invalid').text(r.message_1.secret_question).css('color', 'red');
15854                    $('#secret_question_invalid').siblings('input').css('border','1px solid red');
15855                    $('#secret_question_invalid').show();
15856                }else if(k == 'secret_answer'){
15857                    $('#secret_answer_invalid').text(r.message_1.secret_answer).css('color', 'red');
15858                    $('#secret_answer_invalid').siblings('input').css('border','1px solid red');
15859                    $('#secret_answer_invalid').show();
15860                }else if(k == 'agree'){
15861                    $('#agree1').css('outline','1px solid red');
15862                }else if(k == 'captcha'){
15863                    $('#captcha_invalid').text(r.message_1.captcha).css('color', 'red');
15864                    $('#captcha_invalid').siblings('input').css('border','1px solid red');
15865                    $('#captcha_invalid').show();
15866                }else if(k == 'country'){
15867                    $('#country_invalid').text(r.message_1.country).css('color', 'red');
15868                    $('#country_invalid').siblings('input').css('border','1px solid red');
15869                    $('#country_invalid').show();
15870                }else if(k == 'upload_id'){
15871                    $('#uploadID_invalid').text(r.message_1.upload_id).css('color', 'red');
15872                    $('#uploadID_invalid').siblings('input').css('border','1px solid red');
15873                    $('#uploadID_invalid').show();
15874                }
15875            }
15876
15877            if(r.status==200){
15878                if(login_after_register){
15879                    call_timer_div(5);
15880                    uialert(r.message_1);
15881                    setTimeout(
15882                        function() {
15883                            if(typeof r.next_url !== "undefined"){
15884                                location.href = r.next_url;
15885                            }else{
15886                                location.href = "https://afastart.com/login";
15887                            }
15888                        }, 6000 );
15889                }else{
15890
15891                    uialert(r.message_2);
15892                }
15893            }
15894        });
15895
15896
15897
15898
15899    validate_user_id = function(){
15900        var str=jQuery("#user").val();
15901        // str=str.replace(/[^a-zA-Z 0-9]+/g,'');
15902        str=str.replace(/ /g,"");
15903        str=str.toUpperCase();
15904        jQuery("#user").val(str);
15905        if(str!=""){
15906            jQuery.post("https://afastart.com/register_validate", {"user" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
15907                if(r=="200"){
15908                    jQuery("#user").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000"}).attr({"title":""});
15909                    jQuery("#user_invalid").hide();
15910                }else if(r=="311") {
15911                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username tersebut tidak dapat digunakan."});
15912                    $('#user_invalid').text("Mohon Maaf,Username tersebut tidak dapat digunakan!");
15913                    jQuery("#user_invalid").show();
15914                }else if(r=="312") {
15915                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username Anda harus memiliki Huruf Alphabet!"});
15916                    $('#user_invalid').text("Username Anda harus memiliki Huruf Alphabet!");
15917                    jQuery("#user_invalid").show();
15918                }else if(r=="313") {
15919                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username Anda hanya boleh Alphabet dan Angka!"});
15920                    $('#user_invalid').text("Username Anda hanya boleh Alphabet dan Angka!");
15921                    jQuery("#user_invalid").show();
15922                }else if(r=="314") {
15923                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username minimal 3 karakter."});
15924                    $('#user_invalid').text("Username minimal 3 karakter.");
15925                    jQuery("#user_invalid").show();
15926                }
15927                else{
15928                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username tersebut sudah digunakan! Silakan gunakan username lain."});
15929                    $('#user_invalid').text("Mohon Maaf,Username tersebut sudah digunakan!");
15930                    jQuery("#user_invalid").show();
15931                }
15932            })
15933        }
15934    }
15935
15936    validate_password = function(){
15937    	var str_u=$("#user").val();
15938        str_u=str_u.replace(/ /g,"");
15939        str_u=str_u.toUpperCase();
15940        var str = encodeURIComponent($("#password").val());
15941        var str2 = encodeURIComponent($("#password_confirmation").val());
15942        if(str2 != "" && str !=""){
15943            $.post("https://afastart.com/register_validate", {"user_password" : str_u, "password" : str, "password_confirmation" : str2, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
15944                if(r=="301"){
15945                    jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""});
15946                    jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""});
15947                    jQuery("#password_confirmation_invalid").text("Konfirmasi Kata Sandi tidak sama!");
15948                    jQuery("#password_confirmation_invalid").show();
15949                }else if(r=="302"){
15950                    jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""});
15951                    jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""});
15952                    jQuery("#password_invalid").text("Kolom Kata Sandi dan Konfirmasi Password harus memiliki minimal 8 karakter.");
15953                    jQuery("#password_invalid").show();
15954                    jQuery("#password_confirmation_invalid").text("Kolom Kata Sandi dan Konfirmasi Password harus memiliki minimal 8 karakter.");
15955                    jQuery("#password_confirmation_invalid").show();
15956                }else if(r=="303"){
15957                    jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""});
15958                    jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""});
15959                    jQuery("#password_invalid").text("Kata sandi Anda harus terdiri dari Huruf Besar, Huruf Kecil, dan Angka.");
15960                    jQuery("#password_invalid").show();
15961                    jQuery("#password_confirmation_invalid").text("Kata sandi Anda harus terdiri dari Huruf Besar, Huruf Kecil, dan Angka.");
15962                    jQuery("#password_confirmation_invalid").show();
15963                }else if(r=="304"){
15964                	jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""});
15965                    jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""});
15966                    jQuery("#password_invalid").text("Kata sandi Anda tidak boleh sama dengan Username Anda.");
15967                    jQuery("#password_invalid").show();
15968                }else if(r=="305"){
15969                	jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""});
15970                    jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""});
15971                    jQuery("#password_invalid").text("Password yang anda masukkan tidak dapat digunakan, silakan gunakan password lain.");
15972                    jQuery("#password_invalid").show();
15973                }else{
15974                    jQuery("#password").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
15975                    jQuery("#password_confirmation").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
15976                    jQuery("#password_invalid").hide();
15977                    jQuery("#password_confirmation_invalid").hide();
15978                }
15979            });
15980        }
15981    }
15982
15983    validate_email = function(){
15984        var str=encodeURIComponent($("#email").val());
15985        if(str !=""){
15986            $.post("https://afastart.com/register_validate", {"email" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
15987                if(r=="301"){
15988                    jQuery("#email").css({"border":"1px solid #ff0000" }).attr({"title":""});
15989                    jQuery("#email_invalid").text("Email tersebut sudah terdaftar! Silakan gunakan email lain.");
15990                    jQuery("#email_invalid, .email_invalid").show();
15991                }else if(r=='302'){
15992                    jQuery("#email").css({"border":"1px solid #ff0000" }).attr({"title":""});
15993                    jQuery("#email_invalid").text("Format Email salah.");
15994                    jQuery("#email_invalid, .email_invalid").show();
15995                }else{
15996                    jQuery("#email").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
15997                    jQuery("#email_invalid, .email_invalid").hide();
15998                }
15999            });
16000        }
16001    }
16002
16003    validate_phone = function(){
16004        var str = $("#phone").val();
16005        if(str !=""){
16006            $.post("https://afastart.com/register_validate", {"phone" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
16007                if(r=="302"){
16008                    jQuery("#phone").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
16009                    jQuery("#phone_invalid").text("Mohon isi nomor HP Anda yang valid! Contoh : 081xxxxxxxxx");
16010                    jQuery("#phone_invalid, .phone_invalid").show();
16011                }else if(r=='303'){
16012                    jQuery("#phone").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
16013                    jQuery("#phone_invalid").text("Angka pertama harus dimulai dari 0.");
16014                    jQuery("#phone_invalid, .phone_invalid").show();
16015                }else{
16016                    jQuery("#phone").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
16017                    jQuery("#phone_invalid, .phone_invalid").hide();
16018                }
16019            });
16020        }
16021    }
16022
16023    validate_secret_answer = function(){
16024        var str = $("#secret_answer").val();
16025        if(str !=""){
16026            $.post("https://afastart.com/register_validate", {"secret_answer" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
16027                if(r=="301"){
16028                    jQuery("#secret_answer").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
16029                    jQuery("#secret_answer_invalid").text("Jawaban keamanan minimal 3 karakter.");
16030                    jQuery("#secret_answer_invalid").show();
16031                }else{
16032                    jQuery("#secret_answer").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
16033                    jQuery("#secret_answer_invalid").hide();
16034                }
16035            });
16036        }
16037    }
16038
16039    validate_bank = function(){
16040        var str=$("#bank").val();
16041        if(str !=""){
16042            $.post("https://afastart.com/register_validate", {"bank" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
16043                if(r=="301"){
16044                    jQuery("#bank").css({"border":"1px solid #ff0000"}).attr({"title":""});
16045                    jQuery("#bank_invalid").text("Silakan Pilih bank yang anda gunakan.");
16046                    jQuery("#bank_invalid, .bank_invalid").show();
16047                }else{
16048                    jQuery("#bank").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
16049                    jQuery("#bank_invalid, .bank_invalid").hide();
16050                }
16051            });
16052        }
16053    }
16054
16055    validate_account_number = function(){
16056        var str=$("#bank_accnumber").val();
16057        var str1=$("#bank").val();
16058        if(str !=""){
16059            $.post("https://afastart.com/register_validate", {"bank_accnumber" : str,"bank" : str1, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
16060                if(r=="302"){
16061                    jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""});
16062                    jQuery("#bank_accnumber_invalid").text("Nomor rekening tersebut tidak valid! Silakan gunakan Nomor rekening anda.");
16063                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show();
16064                }else if(r=="301"){
16065                    jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""});
16066                    jQuery("#bank_accnumber_invalid").text("Nomor rekening tersebut sudah digunakan! Silakan gunakan Nomor rekening yang lain.");
16067                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show();
16068                }else if(r=="303"){
16069                    jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""});
16070                    jQuery("#bank_accnumber_invalid").text("Nomor rekening ini terkendala, silakan hubungi customer service kami.");
16071                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show();
16072                }else if(r=="304"){
16073                    jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""});
16074                    jQuery("#bank_accnumber_invalid").text("Data rekening anda mencapai batas validasi.");
16075                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show();
16076                }else if(r=="305"){
16077                    jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""});
16078                    jQuery("#bank_accnumber_invalid").text("Mohon isi nomor rekening Ewallet Anda yang valid! Contoh : 081xxxxxxxxx");
16079                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show();
16080                }else{
16081                    jQuery("#bank_accnumber").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
16082                    jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").hide();
16083                }
16084            });
16085        }
16086    }
16087
16088    validate_bank_accname = function(){
16089        var str=$("#bank_accname").val();
16090        if(str !=""){
16091            $.post("https://afastart.com/register_validate", {"bank_account_name" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
16092                if(r=="301"){
16093                    jQuery("#bank_accname").css({"border":"1px solid #ff0000"}).attr({"title":""});
16094                    jQuery("#bank_accname_invalid").text("Mohon isi nama akun Anda yang valid!");
16095                    jQuery("#bank_accname_invalid, .bank_accname_invalid").show();
16096                }else if(r=="302"){
16097                    jQuery("#bank_accname").css({"border":"1px solid #ff0000"}).attr({"title":""});
16098                    jQuery("#bank_accname_invalid").text("Nama Rekening tidak boleh menggunakan special character.");
16099                    jQuery("#bank_accname_invalid, .bank_accname_invalid").show();
16100                }else{
16101                    jQuery("#bank_accname").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""});
16102                    jQuery("#bank_accname_invalid, .bank_accname_invalid").hide();
16103                }
16104            });
16105        }
16106    }
16107
16108    validate_user_id_forgot = function(){
16109        var str=jQuery("#user").val();
16110        str=str.replace(/[^a-zA-Z 0-9]+/g,'');
16111        str=str.replace(/ /g,"");
16112        str=str.toUpperCase();
16113        if(str!=""){
16114            jQuery.post("https://afastart.com/password/reset/validate", {"user" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
16115                if(r=="200"){
16116                    jQuery("#user").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000"}).attr({"title":""});
16117                    jQuery("#user_invalid").hide();
16118                }else{
16119                    jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username tersebut tidak terdaftar!"});
16120                    $('#user_invalid').text("Mohon Maaf,Username tidak cocok/salah");
16121                    jQuery("#user_invalid").show();
16122                }
16123            })
16124        }
16125    }
16126
16127    validate_email_forgot = function(){
16128        var str=jQuery("#email").val();
16129        if(str!=""){
16130            jQuery.post("https://afastart.com/password/reset/validate", {"email" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
16131                if(r=="200"){
16132                    jQuery("#email").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000"}).attr({"title":""});
16133                    jQuery("#email_invalid").hide();
16134                }else{
16135                    jQuery("#email").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Email tersebut tidak terdaftar!"});
16136                    $('#email_invalid').text("Email tidak terdaftar! Mohon hubungi customer service!");
16137                    jQuery("#email_invalid").show();
16138                }
16139            })
16140        }
16141    }
16142
16143    show_forget_password_form = function (id) {
16144        if (id == 'email') {
16145            $(`#email-form`).css('display', 'block');
16146            $(`#bank-form`).css('display', 'none');
16147        } else if (id == 'bank') {
16148            $(`#email-form`).css('display', 'none');
16149            $(`#bank-form`).css('display', 'block');
16150        }
16151    }
16152
16153    // verification referral
16154    validate_full_name = function() {
16155        var str=jQuery("#full_name").val();
16156        if( str != ""){
16157            jQuery.post("https://afastart.com/user/referral/validate-verification", {"full_name" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
16158                if(r.status == 300 && typeof r.message_1.full_name != "undefined"){
16159                    jQuery("#full_name").css({"border":"1px solid #ff0000" }).attr({"title":"Nama Lengkap invalid"});
16160                    $('#full_name_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.full_name);
16161                    jQuery("#full_name_invalid, .full_name_invalid").show();
16162                }else{
16163                    jQuery("#full_name").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
16164                    jQuery("#full_name_invalid, .full_name_invalid").hide();
16165                }
16166            });
16167        }
16168    }
16169
16170    validate_email_otp = function() {
16171        var str=jQuery("#email_otp").val();
16172        var email=jQuery("#email").val();
16173        if( str != ""){
16174            jQuery.post("https://afastart.com/user/referral/validate-verification", {"email": email, "email_otp" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
16175                if(r.status == 300 && typeof r.message_1.email_otp != "undefined"){
16176                    jQuery("#email_otp").css({"border":"1px solid #ff0000" }).attr({"title":"Identity Number invalid"});
16177                    $('#email_otp_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.email_otp);
16178                    jQuery("#email_otp_invalid, .email_otp_invalid").show();
16179                }else{
16180                    jQuery("#email_otp").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
16181                    jQuery("#email_otp_invalid, .email_otp_invalid").hide();
16182                }
16183            });
16184        }else{
16185            jQuery("#email_otp").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
16186            jQuery("#email_otp_invalid, .email_otp_invalid").hide();
16187        }
16188    }
16189
16190    validate_identity_number = function() {
16191        var str=jQuery("#identity").val();
16192        if( str != ""){
16193            jQuery.post("https://afastart.com/user/referral/validate-verification", {"identity" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
16194                if(r.status == 300 && typeof r.message_1.identity != "undefined"){
16195                    jQuery("#identity").css({"border":"1px solid #ff0000" }).attr({"title":"Identity Number invalid"});
16196                    $('#identity_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.identity);
16197                    jQuery("#identity_invalid, .identity_invalid").show();
16198                }else{
16199                    jQuery("#identity").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
16200                    jQuery("#identity_invalid, .identity_invalid").hide();
16201                }
16202            });
16203        }
16204    }
16205
16206    validate_upload_identity = function(){
16207        var str=jQuery("#upload_identity").val();
16208        if( str != ""){
16209            jQuery("#upload_identity").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
16210            jQuery("#upload_identity_invalid, .upload_identity_invalid").hide();
16211        }else{
16212			jQuery("#upload_identity").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
16213            jQuery("#upload_identity_invalid, .upload_identity_invalid").hide();
16214		}
16215    }
16216
16217    validate_wa_otp = function() {
16218        var str=jQuery("#wa_otp").val();
16219        var phone=jQuery("#phone").val();
16220        if( str != ""){
16221            jQuery.post("https://afastart.com/user/referral/validate-verification", {"phone": phone, "wa_otp" : str, '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS' }, function(r){
16222                if(r.status == 300 && typeof r.message_1.wa_otp != "undefined"){
16223                    jQuery("#wa_otp").css({"border":"1px solid #ff0000" }).attr({"title":"Identity Number invalid"});
16224                    $('#wa_otp_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.wa_otp);
16225                    jQuery("#wa_otp_invalid, .wa_otp_invalid").show();
16226                }else{
16227                    jQuery("#wa_otp").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
16228                    jQuery("#wa_otp_invalid, .wa_otp_invalid").hide();
16229                }
16230            });
16231        }else{
16232            jQuery("#wa_otp").css({"background":"url(https://afastart.com/images/input01.gif?v=1.14.67) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""});
16233            jQuery("#wa_otp_invalid, .wa_otp_invalid").hide();
16234        }
16235    }
16236
16237    // Time out for resend forgot pass email again
16238                        
16239    send_forgot_password_email = function () {
16240        $('#btn-resend-forgot-password-email').prop('disabled', true);
16241        clearTimeout(timeOut);
16242        jQuery.post("https://afastart.com/password/reset/resend", {
16243            _token: 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS',
16244            user_id: ''
16245        }, function (response) {
16246            console.log(response);
16247            $('#timer').text(response.nextDuration);
16248            clearTimeout(timeOut);
16249            start_countdown();
16250            // start time out again
16251                                                                });
16252    }
16253
16254    var timerInterval = null;
16255    start_countdown = function () {
16256        $('#btn-resend-forgot-password-email').prop('disabled', true);
16257
16258        timerInterval = setInterval(() => {
16259            let currentTime = $('#timer').text();
16260
16261            if (currentTime <= 0)
16262                stop_countdown()
16263            else
16264                $('#timer').text(currentTime - 1);
16265        }, 1000);
16266    }
16267
16268    stop_countdown = function () {
16269        $('#btn-resend-forgot-password-email').prop('disabled', false);
16270
16271        clearInterval(timerInterval);
16272    }
16273
16274
16275  </script>
16275
16276
16277<script type="text/javascript" src="https://afastart.com/togel/OwlCarousel2-2.3.4/OwlCarousel2-2.3.4/dist/owl.carousel.js?v=1.14.67"></script>
16277
16278
16279<script type="text/javascript">
16280
16281            var bank_owl_items = 8;
16282        if ($('.item').length >= 5) {
16283            var bank_owl_loop = true;
16284        }
16285        else {
16286            var bank_owl_loop = false;
16287        }
16288        var bank_owl_margin = 10;
16289        var bank_owl_autoplay = true;
16290        var bank_owl_autoplayTimeout = 2000;
16291        var bank_owl_autoplayHoverPause = true;
16292        var bank_owl_nav = true;
16293        $('.owl-carousel.bank').owlCarousel({
16294            items:bank_owl_items,
16295            loop:bank_owl_loop,
16296            margin:bank_owl_margin,
16297            autoplay:bank_owl_autoplay,
16298            autoplayTimeout:bank_owl_autoplayTimeout,
16299            autoplayHoverPause:bank_owl_autoplayHoverPause,
16300            nav:bank_owl_nav,
16301            responsive:{
16302                0:{
16303                    items:1
16304                },
16305                600:{
16306                    items:3
16307                },
16308                1000:{
16309                    items:4
16310                }
16311            }
16312        })
16313
16314        var socials_owl_items ="5"; //$(".item");
16315        if (socials_owl_items >= 5) {
16316            var socials_owl_loop = true;
16317        }
16318        else {
16319            var socials_owl_loop = false;
16320        }
16321        var socials_owl_margin = 0;
16322        var socials_owl_autoplay = true;
16323        var socials_owl_autoplayTimeout = 2500;
16324        var socials_owl_autoplayHoverPause = true;
16325        var socials_owl_nav = true;
16326        $('.owl-carousel.socials').owlCarousel({
16327            items:socials_owl_items,
16328            loop:socials_owl_loop,
16329            margin:socials_owl_margin,
16330            autoplay:socials_owl_autoplay,
16331            autoplayTimeout:socials_owl_autoplayTimeout,
16332            autoplayHoverPause:socials_owl_autoplayHoverPause,
16333            nav:socials_owl_nav,
16334            responsive:{
16335                0:{
16336                    items:1
16337                },
16338                600:{
16339                    items:3
16340                },
16341                1000:{
16342                    items:5
16343                }
16344            }
16345        })
16346
16347
16348
16349                    var menus_owl_items = 1;
16350            if ($('.item').length >= 6) {
16351                var menus_owl_loop = true;
16352            }
16353            else {
16354                var menus_owl_loop = false;
16355            }
16356            var menus_owl_margin = 10;
16357            var menus_owl_autoplay = true;
16358            var menus_owl_autoplayTimeout = 2000;
16359            var menus_owl_autoplayHoverPause = true;
16360            var menus_owl_nav = true;
16361            $('.owl-carousel.menus').owlCarousel({
16362                items:menus_owl_items,
16363                loop:menus_owl_loop,
16364                margin:menus_owl_margin,
16365                autoplay:menus_owl_autoplay,
16366                autoplayTimeout:menus_owl_autoplayTimeout,
16367                autoplayHoverPause:menus_owl_autoplayHoverPause,
16368                nav:menus_owl_nav,
16369                navText : ['<i class="fa fa-angle-left" aria-hidden="true"></i>','<i class="fa fa-angle-right" aria-hidden="true"></i>'],
16370                responsive:{
16371                    0:{
16372                        items:1
16373                    },
16374                    600:{
16375                        items:3
16376                    },
16377                    960:{
16378                        items:5
16379                    },
16380                    1200:{
16381                        items:6
16382                    }
16383                }
16384            })
16385            $('.owl-carousel.menus1').owlCarousel({
16386                items:menus_owl_items,
16387                loop:menus_owl_loop,
16388                margin:menus_owl_margin,
16389                autoplay:menus_owl_autoplay,
16390                autoplayTimeout:menus_owl_autoplayTimeout,
16391                autoplayHoverPause:menus_owl_autoplayHoverPause,
16392                nav:menus_owl_nav,
16393                navText : ['<i class="fa fa-angle-left" aria-hidden="true"></i>','<i class="fa fa-angle-right" aria-hidden="true"></i>'],
16394                responsive:{
16395                    0:{
16396                        items:1
16397                    },
16398                    600:{
16399                        items:3
16400                    },
16401                    960:{
16402                        items:5
16403                    },
16404                    1200:{
16405                        items:$('.item')
16406                    }
16407                }
16408            })
16409        
16410        // for user email verified or not, to show svg icon
16411        var not_verified= '<svg style="transform:rotate(0deg);position:static;width:20px;height:20px" xmlns="http://www.w3.org/2000/svg"  fill="red" viewB
16411ox="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>';
16412        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>';
16413
16414        
16415        // just for customer complaint at login page
16416        
16417                                    $("#consumer_com_modal").hide();
16418                    </script>
16418
16419
16420<script src="https://afastart.com/js/jquery.expander.js?v=1.14.67"></script>
16420
16421
16422<script type="text/javascript">
16423    $(document).ready(function () {
16424    $('.readmore').expander({
16425                slicePoint: 360,
16426                                moreLinkClass: 'more-link masuk moreClass',
16427                lessLinkClass: 'less-link masuk readClass',
16428                expandText: " Baca Selengkapnya",
16429                userCollapseText: "Tutup"
16430                            });
16431    });
16432    $('.spok').css({'text-align': 'inherit'});
16433    $('.spok h1').css({'text-align': 'center', 'display':'flex', 'width':'100%', 'justify-content':'center'});
16434
16435    $('.carousel').carousel({
16436        interval: 3000
16437    });
16438</script>
16438
16439
16440<script type="text/javascript">
16441    $(document).ready(function(){
16442         
16443         // Disable scroll when focused on a number input.
16444        $('form').on('focus', 'input[type=number]', function(e) {
16445            $(this).on('wheel', function(e) {
16446                e.preventDefault();
16447            });
16448        });
16449        // Disable up and down keys.
16450        $('form').on('keydown', 'input[type=number]', function(e) {
16451            if ( e.which == 38 || e.which == 40 )
16452                e.preventDefault();
16453        });
16454
16455        jQuery('#form_login').on('submit', function() {
16456            jQuery('#btn_login').attr('disabled','disabled');
16457        });
16458
16459        setform3("form_login", "loader_login", function(r){
16460            uialert(r.message);
16461
16462            	            $('#uialert_modal').on('hidden.bs.modal', function (e) {
16463	                if(r.status == 200){
16464	                    location.href = 'https://afastart.com';
16465	                }else if(r.status == 202){
16466	                    location.href = r.next;
16467	                }else{
16468	                    jQuery('#btn_login').removeAttr('disabled');
16469	                }
16470	            });
16471                    });
16472        setform3("frm_complaint", "loader_complaint", function(r){
16473            uialert(r.message);
16474            if(r.status == 200){
16475                location.reload(true);
16476            }
16477        });
16478                    clear_form("#form_login");
16479        
16480        setform3("form_login1","loader_login1", function(r){
16481            uialert(r.message);
16482            if(r.status == 200){
16483                location.href = 'https://afastart.com';
16484            }
16485        });
16486        clear_form("#form_edit_account_modal");
16487        
16488        chk_mask();
16489    })
16490</script>
16490
16491
16492
16493<script type="text/javascript">
16494    $('.All_Rights').append(' v1.14.67-18');
16495    $('body').before('<!--</body></html>');
16496
16497    $('.userro').before('<div class="icon1"></div><div class="icon2"></div>');
16498    $('.login').prepend('<div class="icon1"></div><div class="icon2"></div>');
16499                </script>
16499
16500
16501
16502<script type="text/javascript">
16503        $('.tgl').before('<div class="rst"><div class="rst_tgl text-center"><div class="col-lg-12 pb"></div></div></div>')
16504        $(document).ready(function() {
16505        if($('.rst').length > 0) {
16506            $.get("https://afastart.com/tgnumbers", function (data) {
16507                tg_results_down(data);
16508            });
16509        }
16510
16511        // new lottery
16512        if($('#lottery-grid').length > 0){
16513            $.get("https://afastart.com/tgnumbers", function (data) {
16514                new_tg_results_down(data);
16515            });
16516        }
16517    });
16518
16519    function tg_results_down(data) {
16520        $('.rst > .rst_tgl > .pb').append('<div class="owl-carousel owl-theme result2"></div>');
16521        if(typeof data['lottery'] != 'undefined' && typeof data['content']['content'] != 'undefined') {
16522            var markets = data['content']['content'];
16523            var market_name = Object.keys(markets);
16524            var domain_alt= "afastart.com";
16525        var item = data['lottery'];
16526            var alt_domain_tg = "afastart.com";
16527
16528            for (var i = 0; i < market_name.length; i++) {
16529                if(typeof item[market_name[i].toLowerCase()] == 'undefined') {
16530                    continue;
16531                }
16532                var market_item = item[market_name[i].toLowerCase()];
16533                var market = markets[market_name[i]];
16534                var icon_desktop = 'https://afastart.com/togel/' +market_name[i]+'.webp';
16535                var html_tag = '';
16536                html_tag += '<div class="tgl">';
16537                                        html_tag += '<div class="logo">';
16538                        html_tag += `<img src="${icon_desktop}" class="img-responsive" alt="${alt_domain_tg}">`;
16539                    html_tag += '</div>';
16540                                        html_tag += '<div class="info">';
16541                        html_tag += '<h4 class="title">'+market[0]['name'].toUpperCase()+'</h4>';
16542                        html_tag += '<p>'+market[0]['date']+'</p>';
16543                        html_tag += '<a href="'+market_item['result_url']+'">'+market[0]['result']+'</a>';
16544                    html_tag += '</div>';
16545                html_tag += '</div>';
16546                $('.rst > .rst_tgl > .pb > .result2').append(html_tag);
16547            }
16548        }
16549
16550        var result_owl_items = 8;
16551        var result_owl_margin = 0;
16552        var result_owl_autoplay = true;
16553        var result_owl_autoplayTimeout = 2000;
16554        var result_owl_autoplayHoverPause = true;
16555        var result_owl_nav = true;
16556
16557        if ($('.tgl').length > 8) {
16558            var result_owl_loop = true;
16559        }
16560        else {
16561            var result_owl_loop = false;
16562        }
16563        $('.owl-carousel.result2').owlCarousel({
16564            item:result_owl_items,
16565            loop:result_owl_loop,
16566            margin:result_owl_margin,
16567            autoplay:result_owl_autoplay,
16568            autoplayTimeout:result_owl_autoplayTimeout,
16569            autoplayHoverPause:result_owl_autoplayHoverPause,
16570            nav:result_owl_nav,
16571            responsive:{
16572                0:{
16573                    items:1
16574                },
16575                600:{
16576                    items:4
16577                },
16578                1000:{
16579                    items:7
16580                }
16581            }
16582        })
16583    }
16584
16585    // new lottery
16586    function new_tg_results_down(data)
16587    {
16588        if(typeof data['lottery'] != 'undefined' && typeof data['content']['content'] != 'undefined') {
16589            let markets = data['content']['content'];
16590            let market_name = Object.keys(markets);
16591            let domain_alt= "afastart.com";
16592            let item = data['lottery'];
16593            let alt_domain_tg = "afastart.com";
16594
16595            for (var i = 0; i < market_name.length; i++) {
16596                if(typeof item[market_name[i].toLowerCase()] == 'undefined') {
16597                    continue;
16598                }
16599                let market_item = item[market_name[i].toLowerCase()];
16600                let market = markets[market_name[i]];
16601                let icon_desktop = 'https://afastart.com/togel/' +market_name[i]+'.webp';
16602                let html_tag = '';
16603                const ball_images = generateBallImages(market[0]['result'], alt_domain_tg);
16604                html_tag += `
16605                    <div class="lottery-card" data-close-time="${market_item.close_time}">
16606                        <div class="lottery-detail">
16607                            <div style="margin-top: auto;margin-bottom: auto;">
16608                                <img src="${icon_desktop}" alt="${alt_domain_tg}" width="50px" height="50px">
16609                            </div>
16610                            <div class="lottery-desc-detail" style="padding: 1rem;">
16611                                <h4 class="title-lottery" style="margin: 0;font-weight: bold;letter-spacing: 3px;font-size:12px;">${market[0]['name'].toUpperCase()}</h4>
16612                                <small class="lottery-date">
16613                                    <i class="fa fa-calendar" aria-hidden="true"></i>
16614                                    ${market[0]['day']},${market[0]['date']}
16615                                </small>
16616                            </div>
16617                        </div>
16618                        <div class="lottery-ball-container">
16619                            <a href="${market_item['result_url']}"> 
16620                                ${ball_images}
16621                            </a>
16622                        </div>
16623                        <div class="lottery-market-time text-center">
16624                            <i class="fa fa-clock-o" aria-hidden="true" style=""></i>
16625                            <span class="countdown-close-lottery">Loading...</span>
16626                        </div>
16627                    </div>
16628                `;
16629                $('#lottery-grid').append(html_tag);
16630            }
16631
16632            // Start countdowns after cards are added to the DOM
16633            document.querySelectorAll(".lottery-card").forEach(card => {
16634                const closeTimeString = card.getAttribute("data-close-time");
16635                const timerSpan = card.querySelector(".countdown-close-lottery");
16636                updateCountdown(timerSpan, closeTimeString);
16637            });
16638            
16639        }
16640    }
16641
16642    // generate image ball
16643    function generateBallImages(str_number, alt_domain_tg){
16644        let ballHTML = '';
16645        const array_number = str_number.split("");
16646
16647        for (let i = 0; i < array_number.length; i++) {
16648            const number = array_number[i];
16649            ballHTML += `<img src="https://afastart.com/images/ball/${number}.webp?v=1.14.67" alt="${alt_domain_tg}" style="margin:0 2px" width="30px" height="30px">`;
16650        }
16651        return ballHTML;
16652    }
16653
16654    // parse data
16655    function parseCloseTimes(closeTimeString) {
16656        // Split by " - "
16657        return closeTimeString.split(" - ").map(time => time.trim());
16658    }
16659
16660    // check CloseTime
16661    function getNextCloseTime(closeTimes) {
16662        const now = new Date();
16663        const today = new Date(now.getFullYear(), now.getMonth(), now.getDate());
16664        let nextTime = null;
16665
16666        for (const timeStr of closeTimes) {
16667            let [hours, minutes] = timeStr.split(':').map(Number);
16668
16669            const timeDate = new Date(today);
16670            timeDate.setHours(hours, minutes, 0, 0);
16671
16672            if (timeDate > now) {
16673                if (!nextTime || timeDate < nextTime) {
16674                    nextTime = timeDate;
16675                }
16676            } else {
16677                // If already passed today, check tomorrow
16678                const tomorrow = new Date(today);
16679                tomorrow.setDate(tomorrow.getDate() + 1);
16680                tomorrow.setHours(hours, minutes, 0, 0);
16681                if (!nextTime || tomorrow < nextTime) {
16682                    nextTime = tomorrow;
16683                }
16684            }
16685        }
16686
16687        return nextTime;
16688    }
16689
16690    // update countdown lottery
16691    function updateCountdown(spanElement, closeTimeString) {
16692        const closeTimes = parseCloseTimes(closeTimeString);
16693        const nextClose = getNextCloseTime(closeTimes);
16694        if (!nextClose) {
16695            spanElement.innerText = "Closed";
16696            return;
16697        }
16698
16699        const interval = setInterval(() => {
16700            const now = new Date();
16701            const diff = nextClose - now;
16702
16703            if (diff <= 0) {
16704                clearInterval(interval);
16705                spanElement.innerText = "Closed";
16706                return;
16707            }
16708
16709            const hours = Math.floor(diff / (1000 * 60 * 60));
16710            const minutes = Math.floor((diff / (1000 * 60)) % 60);
16711            const seconds = Math.floor((diff / 1000) % 60);
16712
16713            spanElement.innerText = `${String(hours).padStart(2, '0')}
16713:${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}`;
16714        }, 1000);
16715    }
16716</script>
16716
16717
16718<script type="text/javascript">
16719    let defaultDuration = 55; //set duration in seconds; slower = longer duration
16720    let defaultWidth = 1200;
16721    let marqueeCount = 1;
16722    let marqueeDelay = 0;
16723        $("#marquee_container.marquee > div").each(function(){
16724            let currentWidth = $(this).width();
16725            let newSpeed = Math.ceil(defaultDuration*(currentWidth/defaultWidth));
16726
16727            $(this).css("animation", "marquee" + marqueeCount + " " + newSpeed + "s linear infinite");
16728            $(this).css("animation-delay", marqueeDelay + "s");
16729            marqueeDelay = (newSpeed*marqueeCount)/3;
16730            marqueeCount++;
16731        });
16732</script>
16732
16733
16734<script type="text/javascript">
16735    // for global deposit download qris web
16736    function downloadImage(url, name, transfer_type){
16737        // check transfer_type
16738        if( transfer_type == "qr"){
16739            let split_name = name.split("-");
16740            name = `${split_name[0]}-${split_name[1]}`;
16741        }
16742        var req = new XMLHttpRequest();
16743        // url = url.replace(/^https:\/\//i, 'http://');
16744        req.open("GET", url, true);
16745        req.setRequestHeader("Cache-Control", "no-cache, no-store, must-revalidate");
16746        req.responseType = "blob";
16747        req.onload = function (event) {
16748            var blob = req.response;
16749            var link=document.createElement('a');
16750            link.href=window.URL.createObjectURL(blob);
16751            link.download=name;
16752            link.click();
16753        };
16754
16755        req.send();
16756    }
16757    
16758    function downloadQRDynamic(svgBase64, name) {
16759            var canvas = document.createElement("canvas");
16760            var context = canvas.getContext("2d");
16761            var img = new Image();
16762            img.onload = function() {
16763                var borderWidth = 4; // Adjust the border width as needed
16764                var borderColor = 'white'; // Adjust the border color as needed
16765                
16766                // Set canvas size to include border
16767                canvas.width = img.width + 2 * borderWidth;
16768                canvas.height = img.height + 2 * borderWidth;
16769
16770                // Draw the border
16771                context.strokeStyle = borderColor;
16772                context.lineWidth = borderWidth;
16773                context.strokeRect(0, 0, canvas.width, canvas.height);
16774
16775                // Draw the image inside the border
16776                context.drawImage(img, borderWidth, borderWidth);
16777                var pngData = canvas.toDataURL("image/png");
16778                var a = document.createElement("a");
16779                a.download = `${name}.png`;
16780                a.href = pngData;
16781                document.body.appendChild(a);
16782                a.click();
16783                document.body.removeChild(a);
16784            };
16785            img.src = "data:image/svg+xml;base64," + svgBase64;
16786        }
16787</script>
16787
16788
16789<script type="text/javascript">
16790    // For PIN ON / OFF status on Profile
16791    let triggered_by_event = 0;
16792
16793    $('#proteksi-pin').change(function(){
16794        if(!this.checked){
16795            $('#proteksi-pin').prop('disabled', true);
16796            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>`;
16797            uialert2(`${info_off_pin}`);
16798        }else{
16799            if(triggered_by_event){
16800                triggered_by_event = 0;
16801            }else{
16802                $('#proteksi-pin').prop('disabled', true);
16803                location.href = 'https://afastart.com/profile/pin-on';
16804            }
16805        }
16806    });
16807
16808    $('#uialert_modal').on('hidden.bs.modal', function (e) {
16809        // Only execute if modal triggered by PIN ON / OFF.
16810        // Other trigger modal scenario, Ex: Validation after submit form
16811        let modal_content = $('#uialert_content').text();
16812        if(modal_content.includes("Me-nonaktifkan PIN")){
16813            triggered_by_event = 1; // When close modal, PIN will change back to ON which will trigger "change" event
16814            $('#proteksi-pin').prop('disabled', false);
16815            $('#proteksi-pin').bootstrapToggle('on');
16816        }
16817    })
16818</script>
16818
16819
16820<script>
16821    $(document).ready(function(){
16822        let our_partner = $('.ourpartner').length;
16823        console.log('our_partner', our_partner);
16824        if(our_partner > 0){
16825            $('.ourpartner > .container').css('margin-top', "-1rem");
16826        }
16827    });
16828</script>
16828
16829<!-- ref verif -->
16830<script>
16831    let email_interval, wa_interval, sms_interval;
16832    let countdown_email_otp = 120;
16833    let countdown_wa_otp = 120;
16834    let countdown_sms_otp = 120;
16835
16836    function countdownIntervalEmail(){
16837        $('.btn-email-otp').prop('disabled', true);
16838
16839        countdown_email_otp--;
16840        if(countdown_email_otp <= 0){
16841            clearInterval(email_interval);
16842            countdown_email_otp = 0;
16843            $('.btn-email-otp').removeAttr('disabled');
16844        }
16845
16846        let loading = `
16847            <span>${countdown_email_otp}</span>
16848            <span>Detik</span>
16849        `;
16850        $('.countdown_email_otp').html(loading);
16851
16852        if(countdown_email_otp <= 0){
16853            $('.countdown_email_otp').css('display', 'none');
16854            $('.check_email_otp').css('display', 'none');
16855        }
16856    }
16857
16858    function countdownIntervalWA()
16859    {
16860        $('.btn-wa-otp').prop('disabled', true);
16861
16862        countdown_wa_otp--;
16863        if(countdown_wa_otp <= 0){
16864            clearInterval(wa_interval);
16865            countdown_wa_otp = 0;
16866            $('.btn-wa-otp').removeAttr('disabled');
16867        }
16868
16869        let loading = `
16870            <span>${countdown_wa_otp}</span>
16871            <span>Detik</span>
16872        `;
16873        $('.countdown_wa_otp').html(loading);
16874
16875        if(countdown_wa_otp <= 0){
16876            $('.countdown_wa_otp').css('display', 'none');
16877        }
16878    }
16879
16880    function countdownIntervalSMS()
16881    {
16882        $('.btn-sms-otp').prop('disabled', true);
16883
16884        countdown_sms_otp--;
16885        if(countdown_sms_otp <= 0){
16886            clearInterval(sms_interval);
16887            countdown_sms_otp = 0;
16888            $('.btn-sms-otp').removeAttr('disabled');
16889        }
16890
16891        let loading = `
16892            <span>${countdown_sms_otp}</span>
16893            <span>Detik</span>
16894        `;
16895        $('.countdown_sms_otp').html(loading);
16896
16897        if(countdown_sms_otp <= 0){
16898            $('.countdown_sms_otp').css('display', 'none');
16899        }
16900    }
16901
16902    function resendEmailOtp()
16903    {
16904        const email = $('#email').val();
16905        if( email === null || email == ""){
16906            const label_required_email = "Mohon isikan Email";
16907            uialert2(label_required_email);
16908            return;
16909        }
16910
16911        const url = "https://afastart.com/user/referral/verification/send-email-otp";
16912        const data = {'_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS', 'email': email};
16913        $('.btn-email-otp').prop('disabled', true);
16914
16915        $.ajax({
16916            type: "POST",
16917            url: url,
16918            data: data,
16919            dataType: 'json',
16920            beforeSend: function(){
16921                $('.countdown_email_otp').removeAttr('style');
16922                const loading = `
16923                    <span style='margin-right:2px'><i class='fa fa-spinner fa-pulse'></i></span>
16924                    <span>Loading</span>
16925                `;
16926                $(".countdown_email_otp").html(loading);
16927            },
16928            success: function(resp){
16929                if( resp.status == 403){
16930                    uialert2(`${resp.message}`);
16931                    $('.countdown_email_otp').css('display', 'none');
16932                    $('.btn-email-otp').removeAttr('disabled');
16933                }else if( resp.is_limit_retry ){
16934                    let delay_message = "Mohon Coba Kembali :minutes Menit Kemudian";
16935                    let label_delay_message = delay_message.replace(':minutes', resp.minutes);
16936                    uialert2(label_delay_message);
16937
16938                    $('.countdown_email_otp').css('display', 'none');
16939                    $('.btn-email-otp').removeAttr('disabled');
16940                }else{
16941                    $('.countdown_email_otp').removeAttr('style');
16942                    $('.check_email_otp').removeAttr('style');
16943                    countdown_email_otp = resp.seconds;
16944                    email_interval = setInterval(countdownIntervalEmail,1000);
16945                }
16946            },
16947            error: function (error) {
16948                $('.countdown_email_otp').css('display', 'none');
16949                $('.btn-email-otp').removeAttr('disabled');
16950                uialert2(`${error.responseJSON.message}`);
16951                console.log(error);
16952            }
16953
16954        });
16955    }
16956
16957    function resendWAOtp()
16958    {
16959        const page = "password";
16960        const phone = $('#phone').val();
16961        if( page !== "withdraw"){
16962            if( phone === null || phone == ""){
16963                const label_required_phone = "Mohon isikan Nomor Telepon";
16964                uialert(label_required_phone);
16965                return;
16966            }
16967        }
16968
16969        const url = "https://afastart.com/user/referral/verification/send-wa-otp";
16970        const data = {'_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS', 'ph
16970one': phone, 'page': page};
16971        $('.btn-wa-otp').prop('disabled', true);
16972
16973        $.ajax({
16974            type: "POST",
16975            url: url,
16976            data: data,
16977            dataType: 'json',
16978            beforeSend: function(){
16979                $('.countdown_wa_otp').removeAttr('style');
16980                const loading = `
16981                    <span style='margin-right:2px'><i class='fa fa-spinner fa-pulse'></i></span>
16982                    <span>Loading</span>
16983                `;
16984                $(".countdown_wa_otp").html(loading);
16985            },
16986            success: function(resp){
16987                if( resp.is_limit_retry ){
16988                    let delay_message = "Mohon Coba Kembali :minutes Menit Kemudian";
16989                    let label_delay_message = delay_message.replace(':minutes', resp.minutes);
16990                    uialert2(label_delay_message);
16991
16992                    $('.countdown_wa_otp').css('display', 'none');
16993                    $('.btn-wa-otp').removeAttr('disabled');
16994                }else{
16995                    $('.countdown_wa_otp').removeAttr('style');
16996                    countdown_wa_otp = resp.seconds;
16997                    wa_interval = setInterval(countdownIntervalWA,1000);
16998                }
16999            },
17000            error: function (error) {
17001                $('.countdown_wa_otp').css('display', 'none');
17002                $('.btn-wa-otp').removeAttr('disabled');
17003                uialert2(`${error.responseJSON.message}`);
17004                console.log(error);
17005            }
17006        });
17007    }
17008
17009    function resendSMSOtp()
17010    {
17011        const page = "password";
17012        const phone = $('#phone').val();
17013        if( page !== "withdraw"){
17014            if( phone === null || phone == ""){
17015                const label_required_phone = "Mohon isikan Nomor Telepon";
17016                uialert(label_required_phone);
17017                return;
17018            }
17019        }
17020
17021        const url = "https://afastart.com/user/referral/verification/send-sms-otp";
17022        const data = {'_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS', 'phone': phone, 'page': page};
17023        $('.btn-sms-otp').prop('disabled', true);
17024
17025        $.ajax({
17026            type: "POST",
17027            url: url,
17028            data: data,
17029            dataType: 'json',
17030            beforeSend: function(){
17031                $('.countdown_sms_otp').removeAttr('style');
17032                const loading = `
17033                    <span style='margin-right:2px'><i class='fa fa-spinner fa-pulse'></i></span>
17034                    <span>Loading</span>
17035                `;
17036                $(".countdown_sms_otp").html(loading);
17037            },
17038            success: function(resp){
17039                if( resp.is_limit_retry ){
17040                    let delay_message = "Mohon Coba Kembali :minutes Menit Kemudian";
17041                    let label_delay_message = delay_message.replace(':minutes', resp.minutes);
17042                    uialert2(label_delay_message);
17043                    
17044                    $('.countdown_sms_otp').css('display', 'none');
17045                    $('.btn-sms-otp').removeAttr('disabled');
17046                }else{
17047                    $('.countdown_sms_otp').removeAttr('style');
17048                    countdown_sms_otp = resp.seconds;
17049                    sms_interval = setInterval(countdownIntervalSMS,1000);
17050                }
17051            },
17052            error: function (error) {
17053                $('.countdown_sms_otp').css('display', 'none');
17054                $('.btn-sms-otp').removeAttr('disabled');
17055                uialert2(`${error.responseJSON.message}`);
17056                console.log(error);
17057            }
17058        });
17059    }
17060</script>
vendor: 1 bytes, line 17060
17060
17061<script>
17062    function setCookiesPromoPopup(){
17063        const promo_popup_exp = new Date();
17064        promo_popup_exp.toLocaleString('id-ID', { timeZone: 'Asia/Jakarta' });
17065        //exp :Tue Jan 22 2024 17:01:00 GMT+0700 (Indochina Time)
17066        promo_popup_exp.setDate(promo_popup_exp.getDate() + 1); //add day next day
17067        promo_popup_exp.setHours(0,1,0,0); // midnight
17068
17069        // console.log('promo_popup_exp:', promo_popup_exp);
17070        // console.log('promo_popup_exp UTC:', promo_popup_exp.toUTCString()); 
17071        //UTC + 0 
17072        document.cookie = "promo_showed=false;" + "Path=/; expires=" + promo_popup_exp.toUTCString();
17073    }
17074
17075    const popup_cookies = getCookie('promo_showed');
17076    if( popup_cookies !== null){
17077        //remove all id element myModalHome
17078        $('[id^="myModalHome"]').remove();
17079        $("#checkbox-popup-promo").prop('checked', true);
17080    }
17081
17082    $('#btn-showed-promo').on( "click", function() {
17083        setCookiesPromoPopup();
17084        $('#myModalHome').modal('hide');
17085    });
17086
17087    function setLanguage(lang){
17088        $.ajax({
17089            url: "https://afastart.com/set-lang",
17090            method: 'GET',
17091            data: {
17092                // '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS',
17093                'lang': lang,
17094            },
17095            success: function(resp){
17096                window.location.reload();
17097            },
17098            error: function(err){
17099                window.location.reload();
17100            }
17101        });
17102    }
17103
17104    var destination_crypto = [];
17105    var fetch_crypto = 0;
17106    function getAddressWallet(take_address=0){
17107        userAddressWallet(take_address);
17108    }
17109    
17110    function cryptoCurrDest(coin_name)
17111    {
17112        if( fetch_crypto == 1){
17113            return;
17114        }
17115
17116        $("#crypto-wallet-content").css({display:'none'});
17117        $("#crypto_info").css({display:'none'});
17118
17119        // check if option exist
17120        const total_option_curr = $(".deposit-crypto").length;
17121        if( total_option_curr == 0){
17122            return;
17123        }
17124        
17125        let crypto_val;
17126        if( coin_name == undefined){
17127            // get first element when switch
17128            crypto_val = $('.deposit-crypto')[0].dataset.crypto_curr;
17129        }else{
17130            crypto_val = coin_name;
17131        }
17132
17133        //add custom class if exist false = remove class
17134        $(`.deposit-crypto`).toggleClass("active", false);
17135        
17136        //add custom class if exist true = add class
17137        $(`#${crypto_val}`).toggleClass("active",true);
17138
17139        // remove first network destination
17140        let crypto_network = $(".crypto-network");
17141        destination_crypto = [];
17142
17143        if( crypto_network.length > 1){
17144            //add custom class if exist true = remove class
17145            $('.crypto-network').toggleClass("active", false);
17146
17147            //add custom class if exist true = remove class
17148            $('.crypto-network').eq(0).toggleClass("active", true);
17149        }
17150
17151        crypto_network.each(function(){
17152            let coin_type = $(this).data('crypto_curr');
17153            
17154            // Show or hide options based on the selected coin_val
17155            if (coin_type === crypto_val) {
17156                //check index elemet
17157                if( destination_crypto.length == 0){
17158                    const crypto_curr = $(this).data('crypto_type');
17159                    const network_type = $(this).data('crypto_network');
17160                    const crypto_id = $(this).data('crypto_id');
17161                    const crypto_min_dp = $(this).data('crypto_mindp');
17162                    const crypto_fee = $(this).data('crypto_fee');
17163
17164                    // switch active
17165                    //add custom class if exist false = remove class
17166                    $(`.crypto-network`).toggleClass("active", false);
17167                    
17168                    //add custom class if exist true = add class
17169                    $(`#${network_type}`).toggleClass("active", true);
17170
17171                    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});
17172                }
17173            }
17174        });
17175
17176        // get data destination coin & network
17177        userAddressWallet();
17178    }
17179
17180    function cryptoNetworkDest(selected_network_type)
17181    {
17182        if( fetch_crypto == 1){
17183            return;
17184        }
17185
17186        // console.log("cryptoNetworkDest");
17187        // console.log(selected_network_type);
17188        
17189        //add custom class if exist false = remove class
17190        $(`.crypto-network`).toggleClass("active", false);
17191        
17192        //add custom class if exist true = add class
17193        $(`#${selected_network_type}`).toggleClass("active", true);
17194
17195        $("#crypto-wallet-content").css({display:'none'});
17196        $("#crypto_info").css({display:'none'});
17197
17198        // check if option exist
17199        const total_option_network = $(".crypto-network").length;
17200        if( total_option_network == 0){
17201            return;
17202        }
17203
17204        // remove previous selected
17205        const selected_network_elmt = $(`#${selected_network_type}`);
17206        const coin_type = selected_network_elmt.data('crypto_curr');
17207        const crypto_curr = selected_network_elmt.data('crypto_type');
17208        const network_type = selected_network_type;
17209        const crypto_id = selected_network_elmt.data('crypto_id');
17210        const crypto_min_dp = selected_network_elmt.data('crypto_mindp');
17211        const crypto_fee = selected_network_elmt.data('crypto_fee');
17212
17213        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};
17214        
17215        userAddressWallet();
17216    }
17217
17218    var crypto_price_interval;
17219    function cryptoLivePrice()
17220    {
17221        // stop previous interval
17222        clearInterval(crypto_price_interval);
17223        
17224        const time_run = (1 * 60 * 1000); // 1mnt
17225
17226        crypto_price_interval = setInterval(function() {
17227            // get user address wallet
17228            const crypto_dest = destination_crypto[0];
17229
17230            $.ajax({
17231                url: "https://afastart.com/crypto-price",
17232                method: 'POST',
17233                data: {
17234                    '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS',
17235                    'coin_type': crypto_dest.coin_type,
17236                },
17237                beforeSend: function(){
17238                    $("#crypto-price").html(`Loading...`);
17239                },
17240                success: function(value){
17241                    $(`#crypto-price`).html(`Rp. ${number_format(value,2)} `);                    
17242                }
17243            });
17244        }, time_run);
17245    }
17246
17247    function userAddressWallet(take_address=0)
17248    {
17249        // console.log("crypto cur destination_crypto", destination_crypto);
17250        if( fetch_crypto == 1){
17251            return;
17252        }
17253
17254        // get user address wallet
17255        const crypto_dest = destination_crypto[0];
17256        $.ajax({
17257            url: "https://afastart.com/user-address-crypto",
17258            method: 'POST',
17259            data: {
17260                '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS',
17261                'take_address':take_address,
17262                'coin_type': crypto_dest.coin_type,
17263                'network_type': crypto_dest.network_type,
17264                'crypto_id': crypto_dest.crypto_id,
17265            },
17266            beforeSend: function(){
17267                $("#wrap-btn-get-wallet").css({display:'none'});
17268                $("#deposit-crypto").attr('disabled', true);
17269                $("#crypto-network").attr('disabled', true);
17270                $("#btn-get-wallet").attr('disabled', true);
17271                $("#crypto-wallet-content").css({display:'none'});
17272                $("#crypto_info").css({display:'none'});
17273                $("#crypto_loading").css({display:'flex'});
17274                
17275                fetch_crypto = 1;
17276            },
17277            success: function(resp){
17278                if( resp.status == 200 ){
17279                    // run fetch live price
17280                    cryptoLivePrice();
17281
17282                    $(`#crypto-barcode`).attr('src', 'data:image/svg+xml;base64,' + resp.barcode);
17283                    $(`#crypto-user-wallet`).html(`${resp.user_address}`);
17284                    $(`#crypto-price`).html(`Rp. ${number_format(resp.live_price,2)} `);
17285
17286                    $("#crypto-wallet-content").css({display:'flex'});
17287
17288                    // crypto info
17289                    const info_crypto1 = "Hanya kirim :curr_1 ke alamat deposit ini. Koin akan otomatis didepositkan setelah 6 kali konfirmasi jaringan pada alamat smart contract";
17290                    const replace_info1 = info_crypto1.replace(":curr_1", crypto_dest.crypto_curr);
17291
17292                    const info_crypto2 = "Minimal Deposit: :min_dp :curr_2";
17293                    const replace_info2 = info_crypto2.replace(':min_dp', crypto_dest.crypo_min_dp).replace(":curr_2", crypto_dest.crypto_curr);
17294
17295                    const info_crypto3 = "Fee jaringan deposit :network_type = :fee:operator";
17296                    const replace_info3 = info_crypto3.replace(':network_type', crypto_dest.network_type).replace(":fee", (parseFloat(crypto_dest.crypto_fee) * 100).toFixed(2) ).replace(':operator', "%");
17297                    
17298                    const info_crypto4 = "Alamat crypto hanya valid sampai";
17299
17300                    const crypto_info = `
17301                        <ul style="list-style: disc;">
17302                            <li>${replace_info1}</li>
17303                            <li>${replace_info2}</li>
17304                            ${ parseFloat(crypto_dest.crypto_fee) > 0 ? `<li>${replace_info3}</li>` : ''}
17305                            <li>${info_crypto4} <b>${resp.expired_at}</b></li>
17306                        </ul>
17307                    `;
17308                    $("#crypto_info").html(`${crypto_info}`);
17309                    $("#crypto_info").css({display:'flex'});
17310                }else if(resp.status == 410){
17311                    // Address Expired
17312                    $("#wrap-btn-get-wallet").css({display:'block'});
17313                }else{
17314                    uialert2(resp.msg);
17315
17316                    // hide button get wallet
17317                    // cause by stock was empty
17318                    $("#wrap-btn-get-wallet").css({display:'none'});
17319                }
17320                // hide loading
17321                $("#crypto_loading").css({display:'none'});
17322                
17323                $("#deposit-crypto").attr('disabled', false);
17324                $("#crypto-network").attr('disabled', false);
17325                $("#btn-get-wallet").attr('disabled', false);
17326                fetch_crypto = 0;
17327            },
17328            error: function(resp){
17329                $("#deposit-crypto").attr('disabled', false);
17330                $("#crypto-network").attr('disabled', false);
17331                $("#btn-get-wallet").attr('disabled', false);
17332
17333                fetch_crypto = 0;
17334            }
17335        });
17336    }
17337</script>
vendor: 1 bytes, line 17337
17337
17338<script>
17339    //search game
17340    var data_ls = null;
17341    let timeout;
17342    let fetch_search = 0;
17343    let delay = 750; //0.75sec
17344    let container = document.getElementById("gameSearchContainer");
17345
17346    // check container if not null print findgame
17347    if(container != null || container != undefined) {
17348        // waiting dom
17349        let before_dom =` <div id="waiting-search-game" class="waiting-search-game text-center">
17350                            <h2>Loading...</h2>
17351                        </div>`;
17352        let search_hidden = 0;
17353
17354        $('#input-game-search').submit(function(){
17355            if(fetch_search == 0)
17356            {
17357                search();
17358            }
17359        });
17360
17361        // sensitive typing
17362        $('#input-game-search').keyup(function(){
17363            let search_game = document.getElementById("input-game-search").value;
17364
17365            if(timeout) {
17366                container.classList.remove("hidden");
17367                document.getElementById('gameSearchContainer').innerHTML = before_dom;
17368                clearTimeout(timeout);
17369            }
17370
17371            // add the hidden class
17372            if(search_game == "" && search_hidden == 0)
17373            {
17374                // set delay for add hidden class
17375                search_hidden =1;
17376                setTimeout(function() {
17377                    search_hidden = 0
17378                    container = document.getElementById("gameSearchContainer");
17379                    container.classList.add("hidden");
17380                },500);
17381            }
17382
17383            // will fetch when have words
17384            if(search_game != "" && fetch_search == 0){
17385                timeout = setTimeout(function() {
17386                    // rollback the search hidden
17387                    search_hidden = 0;
17388                    // fetch database
17389                    fetch_search = 1;
17390                    search();
17391                }, delay);
17392            }
17393        });
17394    }
17395    
17396    function search(){             
17397        let search_game = document.getElementById("input-game-search").value;  
17398
17399        // check is expired
17400        let refetch = 0;
17401        if( data_ls !== null){
17402            const date_now = new Date();
17403            expired_cache = new Date(data_ls.expired);
17404            // console.log("no null ls", date_now, expired_cache, "not expired", (date_now > expired_cache) );
17405            // expired
17406            if( (date_now > expired_cache) == true){
17407                refetch = 1;
17408            }
17409        }
17410
17411        if( data_ls === null || refetch == 1){
17412            $.ajax({
17413                url: "https://afastart.com/search-game",
17414                method: "GET",
17415                cache:false,
17416                success: function(resp){
17417                    data_ls = resp;
17418                    search();
17419                },
17420                complete:function(){
17421                    fetch_search = 0;
17422                }   
17423            });
17424            return;
17425        }else{
17426            // search by cache
17427            fetch_search= 0;
17428        }
17429
17430        const find_games = [];
17431        try {
17432            // Lobby search
17433            for (const category in data_ls.lobby)
17434            {
17435                for (const id in data_ls.lobby[category]){
17436                    const lobby_game = data_ls.lobby[category][id];
17437                    
17438                    if( lobby_game.hasOwnProperty('name') && lobby_game.name.toLowerCase().includes(search_game.toLowerCase()) ){
17439                        find_games.push(lobby_game);
17440                    }
17441                }
17442            }
17443
17444            // egames - arcade search
17445            for (const provider in data_ls.games)
17446            {
17447                data_ls.games[provider].forEach(function(game,k){
17448                    if( game.hasOwnProperty('game_name') && game.game_name.toLowerCase().includes(search_game.toLowerCase()) ){
17449                        game.vendor_name = provider;
17450                        find_games.push(game);
17451                    }else if( game.hasOwnProperty('name') && game.name.toLowerCase().includes(search_game.toLowerCase()) ){
17452                        game.vendor_name = provider;
17453                        find_games.push(game);
17454                    }
17455                });
17456            }
17457        }catch (error) {
17458            console.log('search to fast: ' + error.message);
17459        }
17460        
17461        if(find_games.length > 0){
17462            // console.log('got game');
17463            // console.log(find_games);
17464            // fill the dom
17465            let dom_content = ``;
17466            find_games.forEach( function(elm) {
17467                dom_content += domresultFindGame(elm);
17468            })
17469            document.getElementById('gameSearchContainer').innerHTML = dom_content;
17470        }else{
17471            container.classList.add("hidden");
17472        }
17473    }
17474
17475    // dom search
17476    function domresultFindGame(data)
17477    {
17478        let provider = null;
17479        // not for lobby
17480        if( data.vendor_name != undefined && data_ls.vendor_settings[data.vendor_name] != undefined){
17481            provider = data_ls.vendor_settings[data.vendor_name];
17482        }
17483        const not_lobby = ["e-games", "arcade", "arcade fishing"]
17484        const data_game_type = data.game_type.toLowerCase();
17485
17486        if( not_lobby.includes(data_game_type) && (provider == null || provider == undefined) ){
17487            return ``;
17488        }
17489
17490        let img_lobby, img_link, rtp_element;
17491        let auth = "";
17492        let a_link_auth = `${auth 
17493                        ? `${ data.game_type.toLowerCase() === 'e-games' || data.game_type.toLowerCase() === "arcade" || data.game_type.toLowerCase() === "arcade fishing"
17494                                ? `<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">`
17495                                : `<!-- for livecasino etc --> <a href="${data.url}" onclick="${data.onclick}" class="search-link text-center">`
17496                            }`
17497                        : `${ data.demo_url 
17498                                ? `<a href="javascript:void(0)" onclick="demoPlay('${data.demo_url}')" class="search-link text-center">`
17499                                : `<a href="/register" class="search-link text-center">`
17500                            }`
17501                        }`;
17502
17503        if(data.icon_desktop){
17504            img_link = `https://cf.ruangok.com/${data.icon_desktop}`;
17505            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">`;
17506        }else if(data.icon_path){
17507            img_link = `https://cf.ruangok.com/${data.icon_path}`;
17508            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">`;
17509        }else if(data.game_type.toLowerCase() == 'e-games' && data.vendor_id == 20){
17510            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">`;
17511        }else if(data.game_type.toLowerCase() == 'e-games' && data.vendor_id == 23)
17512        {
17513            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">`;
17514        }
17515        
17516        // add rtp
17517        rtp_element ="";
17518        if(data.rtp_percentage){
17519            rtp_element = `
17520                <div class="rtp-progressbar-search" style="background: conic-gradient(${data.rtp_color} ${data.rtp_percentage}%, #000000 0)">
17521                    <div class="rtp-inner-circle-search">
17522                        <div class="rtp-text-content-search">
17523                            <div class="rtp-title-search">RTP</div>
17524                            <div class="rtp-percent-search" style="color:${data.rtp_color}">${data.rtp_percentage}%</div>
17525                        </div>
17526                    </div>
17527                </div>
17528            `;
17529        }
17530
17531        return`
17532            <div class="game-card">
17533                <!-- no auth -->
17534                ${a_link_auth}
17535                    <div class="search-game-image" style="position:relative;">
17536                        <!-- images -->
17537                        ${img_lobby}
17538                        ${rtp_element}
17539                    </div>
17540                    <div class="search-game-title">
17541                        </small><b>${data.game_name != undefined ? data.game_name : data.name}</b></small>
17542                    </div>
17543                </a>
17544            </div>
17545        `;
17546    }
17547
17548    // share to socmed
17549    var referral_link = $('.input-referral').val();
17550    var webname = "AFATOGEL";
17551    function facebookShare()
17552    {
17553        let base_url = "https://www.facebook.com/sharer/sharer.php";
17554        let content_url = "?u=" + referral_link;
17555        let share_url = encodeURI(base_url + content_url);
17556     
17557        window.open(share_url,"_blank");
17558    }
17559
17560    function twitterShare()
17561    {
17562        let base_url = "http://twitter.com/share";
17563        let content_text = "?text=" + webname;
17564        let content_url = "&url=" + referral_link;
17565        let share_url = encodeURI(base_url + content_text + content_url);
17566
17567        window.open(share_url,"_blank");
17568    }
17569
17570    function telegramShare()
17571    {
17572        let base_url = "https://t.me/share/url";
17573        let content_url = "&url=" + referral_link;
17574        let content_text = "?text=" + webname;
17575        let share_url = encodeURI(base_url + content_text + content_url);
17576        
17577        window.open(share_url,"_blank");
17578    }
17579
17580    function whatsappShare()
17581    {
17582        let base_url = "https://api.whatsapp.com/send";
17583        let content_text = "?text=" + webname + "\n";
17584        let content_url = referral_link;
17585        let share_url = encodeURI(base_url + content_text + content_url);
17586
17587        window.open(share_url,"_blank");
17588    }
17589    
17590    function lineShare()
17591    {
17592        let base_url = "https://line.me/R/msg/text/";
17593        let content_text = "?" + webname + "\n";
17594        let content_url = referral_link;
17595        let share_url = encodeURI(base_url + content_text + content_url);
17596        
17597        window.open(share_url,"_blank");
17598    }
17599
17600    //scroll to the top of the document
17601    function scrollToTop() {
17602        window.scrollTo({top: 0, behavior: 'smooth'});
17603    }
17604
17605    document.addEventListener("DOMContentLoaded", function(event) {
17606        // Back to top button
17607        var btnBackToTop = document.getElementById('btnBackToTop');
17608        if(btnBackToTop){
17609            changeBackToTopButtonVisibility();
17610            window.addEventListener("scroll", changeBackToTopButtonVisibility);
17611        }
17612    });
17613
17614    // Display or hide the back to top button
17615    function changeBackToTopButtonVisibility() {
17616        if(window.pageYOffset > 100) {
17617            btnBackToTop.style.opacity = "1";
17618        } else {
17619            btnBackToTop.style.opacity = "0";
17620        }
17621    }
17622
17623    // background
17624    document.addEventListener('DOMContentLoaded', function() {
17625        const links = document.querySelectorAll('.new-navbar-provider li a[data-bg-img]');
17626        const style_sheet = document.createElement('style');
17627        document.head.appendChild(style_sheet);
17628
17629        links.forEach(link => {
17630            const bg_image = link.getAttribute('data-bg-img');
17631
17632            // Create image preloader
17633            const img = new Image();
17634
17635            img.onload = function() {
17636                 link.setAttribute('style', `
17637                    background: url(${bg_image}) no-repeat center center !important;
17638                    background-size: cover !important;
17639                    white-space: nowrap !important;
17640                    overflow: hidden !important;
17641                `);
17642                link.classList.add('bg-vendor-loaded');
17643            };
17644
17645            // Start preloading
17646            img.src = bg_image;
17647        });
17648    });
17649
17650    // promo description free spin
17651    function promoFreeSpinDesc(turnover, total_spin, game_category, game_list = [])
17652    {
17653        let fs_desc =`
17654            <div style="max-height: 25vh;overflow-y: scroll;overflow-x: hidden">
17655                <table class="table table-striped" style="font-size: 13px; margin-bottom: 0px;">
17656                    <thead>
17657                        <td>⭐Klaim Free Spin di Game Ini</td>
17658                    </thead>
17659                    <tbody>
17660        `;
17661
17662        game_list.forEach(item => {
17663            fs_desc += `
17664                ${ item.game_name == "ALL"
17665                 ?
17666                    
17667                    `<tr class="text-center">
17668                        <td> Semua Game ${game_category}</td>
17669                    </tr>`
17670                 :
17671                    `<tr class="text-center col-fs-game-name"> 
17672                        <td>${item.game_name}</td>
17673                    </tr>`
17674                }
17675            `;
17676        });
17677
17678        fs_desc +=`
17679                </tbody>
17680                </table>
17681            </div>
17682        `;
17683        fsModal(fs_desc);
17684    }
17685</script>
vendor: 1 bytes, line 17685
17685
17686<script>
17687    // 1359
17688    $(document).ready(function(){
17689        $( "#instan-dp-amount" ).on( "keyup", function() {
17690            let instan_dp_amount = Number($(this).val());
17691
17692            if( instan_dp_amount == 0){
17693                $('.hint-info').hide();
17694            }else{
17695                $('.hint-info').show();
17696            }
17697
17698            instan_dp_amount = instan_dp_amount.toLocaleString('id-ID')
17699            
17700            // Remove thousands separators
17701            instan_dp_amount = instan_dp_amount.replace(/\./g, ',');
17702
17703            $('#hint-value').text(instan_dp_amount);
17704        });
17705
17706        $('#instan-dp-amount').on('input', function () {
17707            this.value = this.value.replace(/\D/g, '');
17708        });
17709    });
17710
17711    function generateQrisInstanDP()
17712    {
17713        //disabled
17714        $("#btn-instan-dp-generate-qr").text("Loading...");
17715        $("#btn-instan-dp-generate-qr").prop("disabled", true);
17716        // process deposit
17717        const instan_dp_amount = Number($("#instan-dp-amount").val());
17718        const instan_dp_acc_id = $("#instan_dp_acc_id").val();
17719        $.ajax({
17720            url: "https://afastart.com/deposit",
17721            method: 'POST',
17722            data: {
17723                '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS',
17724                'amount': instan_dp_amount,
17725                'instan_qris_dp': true,
17726                'acc_id': instan_dp_acc_id
17727            },
17728            success: function(resp){
17729                // console.log("sucess",resp);
17730                if(resp.status == 200){
17731                    generateInstanQris();
17732                }else{
17733                    uialert2(resp.message);
17734                    $("#btn-instan-dp-generate-qr").prop("disabled", false);
17735                    $("#btn-instan-dp-generate-qr").text("Depo QR");
17736                }
17737            },
17738            error: function(err){
17739                console.log("error",err);
17740                $(".wrapper-qris-instan-dp-image").hide();
17741                $("#btn-instan-dp-generate-qr").text("Depo QR");
17742
17743                $("#btn-instan-dp-generate-qr").prop("disabled", false);
17744            }
17745        });
17746    }
17747
17748    function getNewToken()
17749    {
17750        $.ajax({
17751            url: "https://afastart.com/check-token",
17752            method: 'POST',
17753            data: {
17754                '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS'
17755            },
17756            success: function(resp){
17757                validation_session_token = resp.data.new_token;
17758            }
17759        });
17760    }
17761    
17762    function generateInstanQris()
17763    {
17764        //disabled
17765        $("#btn-instan-dp-generate-qr").text("Loading...");
17766        $("#btn-instan-dp-generate-qr").prop("disabled", true);
17767        $(".wrapper-qris-instan-dp-image").hide();
17768
17769        // check deposit
17770        $.ajax({
17771            url: "https://afastart.com/check-deposit",
17772            method: 'POST',
17773            data: {
17774                '_token' : 'TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS',
17775                'instan_qris_dp': true,
17776            },
17777            success: function(resp){
17778                // console.log("sucess",resp);
17779                clearInterval(checking_interval_token_deposit_instan);
17780
17781                if(resp.status == 200){
17782                    // renew validation token
17783                    checking_interval_token_deposit_instan = setInterval(getNewToken, 5000);
17784                    
17785                    if(!resp.data.pending_deposit){
17786                        generateQrisInstanDP();
17787                    }
17787else if(resp.data.pending_deposit && resp.data.qris_url != ""){
17788                        // inform have previous deposit
17789                        if( checking_deposit_instan > 0){
17790                            uialert2("Harap selesaikan transaksi deposit sebelumnya.");
17791                        }
17792
17793                        // if success & pending deposit, build qris
17794                        let total_deposit_instan = resp.data.amount_deposit;
17795                        total_deposit_instan = total_deposit_instan.toLocaleString('id-ID')                        
17796                        total_deposit_instan = total_deposit_instan.replace(/\./g, ',');
17797                        $("#total-deposit").text(total_deposit_instan);
17798                        
17799                        $(".wrapper-qris-instan-dp-image").show();
17800                        $("#qris-instan-dp-image").attr("src", resp.data.qris_url);
17801                        $("#qris-instan-dp-image").attr("data-qr-path", resp.data.qris_path);
17802                        
17803                        $("#btn-instan-dp-generate-qr").prop("disabled", false);
17804                        $("#btn-instan-dp-generate-qr").text("Depo QR");
17805
17806                        checking_deposit_instan++;
17807                    }
17808                }else{
17809                    uialert2(resp.message);
17810                    
17811                    $("#btn-instan-dp-generate-qr").prop("disabled", false);
17812                    $("#btn-instan-dp-generate-qr").text("Depo QR");
17813                }
17814            },
17815            error: function(err){
17816                console.log("error",err);
17817                $(".wrapper-qris-instan-dp-image").hide();
17818                $("#btn-instan-dp-generate-qr").text("Depo QR");
17819
17820                $("#btn-instan-dp-generate-qr").prop("disabled", false);
17821            }
17822        });
17823    }
17824
17825    function downloadImageInstanQris() {
17826        const path = $("#qris-instan-dp-image").data("qr-path");
17827
17828        const form = document.createElement("form");
17829        form.method = "POST";
17830        form.action = "https://afastart.com/deposit/download";
17831
17832        form.innerHTML = `
17833            <input type="hidden" name="_token" value="TDJrmPzqY449Hd9Xyg4aop100k7WrZ5qGi15pkOS">
17834            <input type="hidden" name="destination" value="${path}">
17835        `;
17836
17837        document.body.appendChild(form);
17838        form.submit();
17839        form.remove();
17840    }
17841</script>
17841
17842
17843
17844  
17845  
17845<script type="text/javascript">
17846    $(document).ready(function() {
17847      start_countdown();
17848      setform3("form_forget_email", 'loader_forgot', function(r) {
17849        if (r.message != '')
17850          uialert(r.message);
17851
17852        if (r.status == 200 || r.status == 301) {
17853          setTimeout(function() {
17854            location.reload(true);
17855          }, 500);
17856        }
17857      });
17858
17859      setform3("form_forget_bank", 'loader_forgot_bank', function(r) {
17860        if (r.message != '')
17861          uialert(r.message);
17862
17863        if (r.status == 200 || r.status == 301) {
17864          setTimeout(function() {
17865            location.reload(true);
17866          }, 500);
17867        }
17868      });
17869    });
17870  </script>
17870
17871
17872	
17873
17874  
17875<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v4bc70e2c01a94c73b74392e4234840661791215815920" integrity="sha512-L0ha0OXavK/8okipN9F8BtP84dg9DUhPERbBXzwI6dgTA55d2+yweo3pn5CSFYs45/r8md2+xvUPtTdvTNRfjA==" data-cf-beacon='{"version":"2024.11.0","token":"6ff02850db3b46c38275563d43772bd0","r":1,"spa":2}' crossorigin="anonymous"></script>
17875
17876</body>
17877
17878</html>
17879<!--

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.