PageSourceSearch

https://my-bet888.com/

html my-bet888.com collected 2026-10-10 00:01:03 UTC 39,452 bytes, 1,074 lines download raw bytes

1
2
3<!DOCTYPE html>
4<html lang="ko">
5
6<head>
7
8    <link rel="dns-prefetch" href="//fonts.googleapis.com" />
9<link rel="dns-prefetch" href="//alpha-static.gpfront.com" />
10<link rel="dns-prefetch" href="//kit.fontawesome.com" />
11<link rel="dns-prefetch" href="//alpha-ppapi.gpfront.com" />
12<link rel="dns-prefetch" href="//nmbio.sgp1.cdn.digitaloceanspaces.com" />
13<link rel="dns-prefetch" href="//sgp1.digitaloceanspaces.com" />
14<link rel="dns-prefetch" href="//alpha-static.sgp1.cdn.digitaloceanspaces.com" />
15
16<link rel="preconnect" href="https://fonts.googleapis.com">
17<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
18<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:[email protected]&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
19<link rel="apple-touch-icon" href="https://alpha-static.gpfront.com/global/pp/clients/mybet/manifest/icons/mybet_144.png">
20
21<!-- Google tag (gtag.js) -->
vendor: 64 bytes, lines 21-22
21
22<script async src="https://www.googletagmanager.com/gtag/js?id=
22G-24RT1Q7W5Y
vendor: 12 bytes, line 22
22"></script>
23<script>
24  
vendor: 134 bytes, lines 24-28
24window.dataLayer = window.dataLayer || [];
25  function gtag(){dataLayer.push(arguments);}
26  gtag('js', new Date());
27
28  gtag('config', '
28G-24RT1Q7W5Y
vendor: 4 bytes, line 28
28');
29</script>
29
30
31
32    <meta charset="utf-8" />
33    <meta name="viewport" content="width=device-width, user-scalable=no,initial-scale=1.0">
34    <meta name="title" content="MyBet" />
35    <meta name="description" content="Best Online Gaming website" />
36    <meta name="keywords" content="" />
37    
38    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
39    <link rel="alternate" hreflang="x-default" href="https://my-bet888.com" /><link rel="alternate" hreflang="ko" href="https://my-bet888.com/ko" /><link rel="alternate" hreflang="en" href="https://my-bet888.com/en" />
40    <title>MyBet</title>
41    <link id="dynamic-favicon" rel="shortcut icon" href="https://alpha-static.gpfront.com/global/pp/clients/mybet/fav/favicon.ico" />
42    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
43    <link rel="stylesheet" href="https://alpha-assets.gpfront.com/dist/vendor.css?v=1.0.0.0-7374bd7da06941cf89024363b9fd3b4e" />
44    <link rel="stylesheet" href="https://alpha-assets.gpfront.com/dist/site.css?v=1.0.0.0-7374bd7da06941cf89024363b9fd3b4e" />
45        <link rel="stylesheet"
46              href="https://sgp1.digitaloceanspaces.com/alpha-static/DOSMSR/DOSMSR/css/mybet.css?v=1.0.8?v=1.0.0.0-7374bd7da06941cf89024363b9fd3b4e" />
47        <link rel="stylesheet"
48              href="https://sgp1.digitaloceanspaces.com/alpha-static/DOSMSR/DOSMSR/css/tint-mybet.css?v=1.0.6?v=1.0.0.0-7374bd7da06941cf89024363b9fd3b4e" />
49        <link rel="stylesheet"
50              href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css?v=1.0.0.0-7374bd7da06941cf89024363b9fd3b4e" />
51        <link rel="stylesheet"
52              href="https://alpha-static.gpfront.com/DOSMSR/DOSMSR/css/mybet
52-pmgate-deposit.css?v=0.0.2?v=1.0.0.0-7374bd7da06941cf89024363b9fd3b4e" />
53
54    <link rel="manifest" href="/mybet-manifest.json">
55
56    
56<script src="https://telegram.org/js/telegram-web-app.js"></script>
56
57
58     <meta name="viewport" content="width=device-width, user-scalable=no,initial-scale=1.0">
59
60
61    <style type="text/css">.scroll-wrap .promo-page-content {
62    max-width: 1128px;
63    margin: 0 auto;
64    padding: 40px 0 20px;
65}
66
67#page_content_modern .scroll-wrap {
68    color: rgba(235, 235, 245, 0.60);
69}
70
71.promo-page-content .article-details ul {
72    list-style: inside;
73}
74
75/* email verification modal */
76
77.user-email-verification.custom-modal-container .custom-modal-body {
78    padding: 20px;
79    text-align: center;
80    background:  linear-gradient(180deg, var(--bgBody1) 0%, var(--bgBody2) 35.79%, var(--bgBody3) 42.06%);
81    width: 400px !important;
82    
83border-radius: 8px !important;
84  }
85  
86  .user-email-verification h1 {
87    font-size: 20px !important;
88    font-weight: 800;
89    margin-top: 40px;
90    text-transform: capitalize;
91  }
92  
93  .user-email-verification .description:first-of-type {
94    font-size: 14px;
95    margin-top: 17px;
96  }
97  
98  .user-email-verification .description:first-of-type span {
99    color: rgba(235, 235, 245, 0.60) !important;
100font-weight: 700;
101  }
102  
103  .user-email-verification .description:last-of-type {
104    font-size: 14px;
105    margin-top: 17px;
106    text-transform: initial;
107  }
108  
109 
110  
111  .user-email-verification .buttons button:hover {
112    opacity: 0.9;
113  }
114  
115  .user-email-verification .buttons button:disabled:hover {
116    cursor: not-allowed
117  }
118  
119  .user-email-verification .buttons button:first-of-type {
120    color: #333;
121    background:  var(--bg-button-join);
122  }
123  
124  .user-email-verification .buttons button {
125    background: var(--bg-button-login);
126    border-radius: 8px;
127    border: 1px solid rgba(var(--gray-text-rgb), 1);
128    font-size: 16px;
129    height: 40px !important;
130    margin: 17px 6px 0;
131    padding: 4px 15px;
132    position: relative;
133    text-transform: capitalize !important;
134    color: var(--color-button);
135  }
136
137  .user-email-verification .buttons button:last-of-type i {
138    font-size: 24px;
139    left: 50%;
140    margin-left: -10px;
141    position: absolute;
142    transform: translateX(-50%);
143  }
144  
145  .user-email-verification small {
146    display: flex !important;
147    gap: 4px;
148    justify-content: center;
149    margin-top: 17px;
150    text-transform: none;
151    font-size: 14px;
152  }
153  
154  .user-email-verification small .base-time-ticker p {
155      font-weight: bold;
156      font-size: 14px;
157  }
158
159  .user-email-verification .buttons button:disabled {
160    opacity: 0.4;
161   }
162
163   /* end email verification modal */
164   
165    .live-chat-header {
166       margin: 0;
167    height: var(--height-header-items);
168    background: var(--bg-button-login);
169    border-radius: var(--border-radius);
170    padding: var(--padding-button);
171    color: var(--color-button);
172    font-weight: var(--font-weight-button);
173    text-transform: var(--text-transform-login-register);
174    font-size: var(--font-size-button);
175   }
176   
177    .live-chat-header:hover {
178        background: var(--bg-button-reverse);
179   }
180   
181   
182     /* providers logo hover anim */
183   /*
184   @-webkit-keyframes featuredProductAnim {
185    0% {
186        -webkit-transform: scaleX(1);
187        transform: scaleX(1)
188    }
189
190    10%,20% {
191        -webkit-transform: scale3d(.9,.9,.9) rotate(-3deg);
192        transform: scale3d(.9,.9,.9) rotate(-3deg)
193    }
194
195    30%,50%,70%,90% {
196        -webkit-transform: scale3d(1.1,1.1,1.1) rotate(3deg);
197        transform: scale3d(1.1,1.1,1.1) rotate(3deg)
198    }
199
200    40%,60%,80% {
201        -webkit-transform: scale3d(1.1,1.1,1.1) rotate(-3deg);
202        transform: scale3d(1.1,1.1,1.1) rotate(-3deg)
203    }
204
205    to {
206        -webkit-transform: scaleX(1);
207        transform: scaleX(1)
208    }
209}
210
211@keyframes featuredProductAnim {
212    0% {
213        -webkit-transform: scaleX(1);
214        transform: scaleX(1)
215    }
216
217    10%,20% {
218        -webkit-transform: scale3d(.9,.9,.9) rotate(-3deg);
219        transform: scale3d(.9,.9,.9) rotate(-3deg)
220    }
221
222    30%,50%,70%,90% {
223        -webkit-transform: scale3d(1.1,1.1,1.1) rotate(3deg);
224        transform: scale3d(1.1,1.1,1.1) rotate(3deg)
225    }
226
227    40%,60%,80% {
228        -webkit-transform: scale3d(1.1,1.1,1.1) rotate(-3deg);
229        transform: scale3d(1.1,1.1,1.1) rotate(-3deg)
230    }
231
232    to {
233        -webkit-transform: scaleX(1);
234        transform: scaleX(1)
235    }
236}
237
238
239.bottom-logo-wrapper a:hover img {
240    -webkit-animation-name: featuredProductAnim;
241    animation-name: featuredProductAnim;
242    -webkit-animation-iteration-count: infinite;
243    animation-iteration-count: infinite;
244    -webkit-animation-duration: 1s;
245    animation-duration:1s;
246    -webkit-animation-fill-mode: both;
247    animation-fill-mode: both;
248}
249*/
250   .bottom-logos div:has(.bottom-logo-wrapper:hover) .bottom-logo-wrapper:not(:hover) {
251   filter: blur(3px)
252}
253   /* end logo anim*/
254   
255   
256   
257/* Hide Available Bonus Tab from the Player Account Window as request by the Operator */   
258.bonuses-tabs ul.nav-tabs li.available-bonuses {
259	display:none;
260}
261/* ## -end Hide Available Bonus Tab from the Player Account Window as request by the Operator */   
262
263.sports-wrap .sports-book-container{
264min-height: fit-content;
265}
266  
267  .article-details .article-content .toTelegram {
268    background: var(--bg-button-login);
269    border-radius: var(--border-radius);
270    padding: 8px 16px;
271    margin-top: 16px;
272}
273
274.article-details .article-content .toTelegram:hover {
275color: #fff;
276    background: var(--bg-button-reverse);
277}
278
279.baccarat-content .daily-wins-info.shown {
280height: 598px;
281}
282
283.baccarat-content .daily-wins-info table tr:nth-child(odd) {
284    background-color: #0183fe;
285}
286
287.before-provider-game-list-casino-group {
288display: none;
289}
290
291#digitain-sports-game-widget-digitainsports-wkprop #sport_div_iframe iframe,
292.digitain-sports-stage-container #sport_div_iframe iframe  {
293    min-height: calc(100dvh - 159px) !important;
294}
295
296.btn-system-balance i {
297    margin-right: 5px;
298}
299
300.sports-book-container iframe.sportsbook-launcher {
301    min-height: calc(100dvh - 139px);
302    max-height: calc(100dvh - 139px);
303}
304
305/* GP-6375: Fix gamestage background scroll issue */ 
306#main-scroll-container:has(.fullscreen > #gamestage_frame),
307body:has(.fullscreen > #gamestage_frame) {
308	overflow: hidden !important;
309}
310/* END - GP-6375: Fix gamestage background scroll issue */
311
312.mobile-menu #mobile-menu-items li a img {
313height: 24px;
314width: 22px;
315}
316
317/* START - See All Button */
318.game-lobby-wrapper {
319  position: relative;
320}
321
322.game-lobby-wrapper section span:first-of-type {
323  position: unset !important;
324}
325
326.game-lobby-slider-container button#slideRight {
327  margin-top: 4px;
328}
329
330.game-lobby-slider-container button#slideLeft {
331  margin-top: 4px;
332}
333
334.game-lobby-renderer .game-lobby-renderer-card.see-all-card {
335    position: absolute;
336    right: 62px;
337    transform: translate(-98%, 41px) !important;
338    top: -43px;
339    background: transparent !important;
340    cursor: pointer;
341    z-index: 1;
342    width: max-content;
343}
344
345@media (min-width: 576px) {
346  .game-lobby-renderer .game-lobby-renderer-card.see-all-card {
347    transform: translate(-98%, 51px) !important;
348  }  
349}
350
351.game-lobby-renderer .game-lobby-renderer-card.see-all-card a .see-all-container {
352    color: #ebebf5 !important;
353    font-weight: 600;
354}
355
356.game-lobby-renderer .game-lobby-renderer-card.see-all-card a .see-all-container .carousel-control-next-icon {
357    display: none;
358}
359
360.game-lobby-renderer .game-lobby-renderer-card.see-all-card a .see-all-container .see-all-label {
361    margin-top: 0 !important;
362}
363/* END - See All Button */
364</style>
365</head>
366
367<body>
368    
369    
370    
371<div id="app"></div>
372
373
374
375
376    
376<script src="https://cdn.tailwindcss.com"></script>
376
377    
377<script src="https://alpha-assets.gpfront.com/dist/vendor.js?v=1.0.0.0-7374bd7da06941cf89024363b9fd3b4e"></script>
377
378    
379    
380    
380<script>
381    var preloadedData = JSON.parse('{"Environment":"Release","SessionId":"222c9e62-ffa0-77a2-64c0-32af01d92f12","ContextUrl":"my-bet888.com","ApiUrl":"alpha-ppapi.gpfront.com","BacAPIUrl":"alpha-ppbacapi.gpfront.com","CdnUrl":"alpha-static.gpfront.com","RootDOImgFolderName":"DOSMOJ","IdentityUrl":"alpha-ppauth.gpfront.com","RefreshTokenRate":3600,"PlayersApiUrl":"https://alpha-pp-players-api.gpfront.com","GamesApiUrl":"https://alpha-pp-games-api.gpfront.com","ReportsApiUrl":"https://alpha-pp-reports-api.gpfront.com","SsoCallbackUrl":"https://alpha-sso-callback-api.gpfront.com","RCSK":"6LcVi24dAAAAAEOW9eWMpp_Xexz6RRIjXfY8nyaO","RCCK":"6LcVi24dAAAAAPYd8iFxW2AFc9Zzsndo3iyWix53","NoPlacedBetTime":1800,"PRMK":"90a3b0e17a50b0c1ce8e","PRMC":"ap3","MachineName":"alpha-india-pub-ws-1","Version":"5.16.0.0","AllowedOperatorsForNewComponents":["DOSPQR","DOSQJL","DOSQJM"]}');
382        preloadedData.Name = 'MyBet';
383        preloadedData.Code = '';
384        preloadedData.SkinVersion = 'Modern';
385        preloadedData.DefaultLanguageCode = 'KO';
386        preloadedData.DefaultCurrencyCode = 'KRW';
387        preloadedData.PinnacleListenDomain = ''
388        preloadedData.BalanceRefreshRate = '2500'
389        preloadedData.MainAssetCdnUrl = 'https://alpha-assets.gpfront.com';
390        preloadedData.FileVersionString = '1.0.0.0-7374bd7da06941cf89024363b9fd3b4e';
391        preloadedData.Signature = 'nGGO54HTXUWvpqbxIUQB#?!$398Y/h0xim6G';
392        preloadedData.ComponentLoader = '';
393        preloadedData.OperatorCode = 'DOSMSR';
394        preloadedData.PlayerCurrencyMode = 'Single';
395        preloadedData.MachineName = 'alpha-india-pub-ws-1';
396        preloadedData.OperatorId = '398';
397        preloadedData.DigitainHistory = '/winka-sports';
398        preloadedData.SevenPlayHistory = '';
399        preloadedData.HasReferralProgramStarted = true;
400        preloadedData.LaunchFromCasinoLobby = true;
401        preloadedData.Languages = [{"languageCode":"KO","displayName":"한국어","enabled":true},{"languageCode":"EN","displayName":"English","enabled":true}];
402        preloadedData.Preferences = {"defaultCurrencyCode":"KRW","baseCurrencyCode":"KRW","timezone":"+09:00","firstDayOfTheWeek":"Sunday","preferences":{"timeFormat":"HH:mm:ss","dateFormat":"dd/MM/yyyy","fiat":{"thousandSeparator":"comma","decimalSymbol":"dot","decimalDigit":"2"},"crypto":{},"theme":"dark"},"playerCurrencyMode":"Single","currencyDisplayType":"Symbol","kompPointRealWalletAutoProcess":true,"instantDepositMode":true,"instantWithdrawalMode":false};
403        preloadedData.SocialRoom = null;
404        preloadedData.PlayerSecurityPinConfig = null;
405        preloadedData.SavedWalletAddressPopulationEnabled = {"paymentMethods":["TenCoins"]};
406        preloadedData.TelegramMiniAppBotConfig = {"isEnabled":false,"isBotActive":false};
407        preloadedData.PlatformProfile = null;
408        preloadedData.ExposeBaHolderNameToLiveChatView = null;
409        preloadedData.SmarticoKeyInfo = '';
410        preloadedData.SoliticsKeyInfo = '';
411        preloadedData.SiteMetaTitle = 'MyBet';
412        window.preloadedData = preloadedData;
413    </script>
413
414    
414<script src="https://alpha-assets.gpfront.com/dist/main.js?v=1.0.0.0-7374bd7da06941cf89024363b9fd3b4e"></script>
vendor: 113 bytes, lines 414-417
414
415    <script src="https://www.google.com/recaptcha/api.js?render=explicit"
416            async defer></script>
417    
417<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min.js"></script>
417
418
419    <link rel="stylesheet" href="https://sgp1.digitaloceanspaces.com/alpha-static/DOSMSR/DOSMSR/css/mybet-responsive.css?v=0.3.2">
420<script>
421(function(funcName, baseObj) {
422    // The public function name defaults to window.docReady
423    // but you can pass in your own object and own function name and those will be used
424    // if you want to put them in a different namespace
425    funcName = funcName || "docReady";
426    baseObj = baseObj || window;
427    var readyList = [];
428    var readyFired = false;
429    var readyEventHandlersInstalled = false;
430
431    // call this when the document is ready
432    // this function protects itself against being called more than once
433    function ready() {
434        if (!readyFired) {
435            // this must be set to true before we start calling callbacks
436            readyFired = true;
437            for (var i = 0; i < readyList.length; i++) {
438                // if a callback here happens to add new ready handlers,
439                // the docReady() function will see that it already fired
440                // and will schedule the callback to run right after
441                // this event loop finishes so all handlers will still execute
442                // in order and no new ones will be added to the readyList
443                // while we are processing the list
444                readyList[i].fn.call(window, readyList[i].ctx);
445            }
446            // allow any closures held by these functions to free
447            readyList = [];
448        }
449    }
450
451    function readyStateChange() {
452        if ( document.readyState === "complete" ) {
453            ready();
454        }
455    }
456
457    // This is the one public interface
458    // docReady(fn, context);
459    // the context argument is optional - if present, it will be passed
460    // as an argument to the callback
461    baseObj[funcName] = function(callback, context) {
462        if (typeof callback !== "function") {
463            throw new TypeError("callback for docReady(fn) must be a function");
464        }
465        // if ready has already fired, then just schedule the callback
466        // to fire asynchronously, but right away
467        if (readyFired) {
468            setTimeout(function() {callback(context);}, 1);
469            return;
470        } else {
471            // add the function and context to the list
472            readyList.push({fn: callback, ctx: context});
473        }
474        // if document already ready to go, schedule the ready function to run
475        if (document.readyState === "complete") {
476            setTimeout(ready, 1);
477        } else if (!readyEventHandlersInstalled) {
478            // otherwise if we don't have event handlers installed, install them
479            if (document.addEventListener) {
480                // first choice is DOMContentLoaded event
481                document.addEventListener("DOMContentLoaded", ready, false);
482                // backup is window load event
483                window.addEventListener("load", ready, false);
484            } else {
485                // must be IE
486                document.attachEvent("onreadystatechange", readyStateChange);
487                window.attachEvent("onload", ready);
488            }
489            readyEventHandlersInstalled = true;
490        }
491    }
492})("docReady", window);
493</script>
493
494<!-- Old Live Chat -->
495<!--
496<div id="onlinehelp-button-0d56caa4-48d9-42f5-81f1-0728296bd31a"></div>
497<script type="text/javascript">
498  var OnlineHelpAPI=OnlineHelpAPI||{};(function(t){function e(e){var a=document.createElement("script"),c=document.getElementsByTagName("script")[0];a.type="text/javascript",a.async=!0,a.src=e+t.site_id,c.parentNode.insertBefore(a,c)}t.chat_buttons=t.chat_buttons||[],t.chat_buttons.push({code_plan:"0d56caa4-48d9-42f5-81f1-0728296bd31a",div_id:"onlinehelp-button-0d56caa4-48d9-42f5-81f1-0728296bd31a"}),t.site_id=65001864,t.main_code_plan="0d56caa4-48d9-42f5-81f1-0728296bd31a",e("https://txc0859hmj.tspduouw.com/livechat.ashx?siteId="),setTimeout(function(){t.loaded||e("https://txc0859hmj.tspduouw.com/livechat.ashx?siteId=")},5e3)})(OnlineHelpAPI||{})
499</script>
499
500-->
501<!--End Live Chat Code-->
502<!-- New Live Chat -->
503<!--Begin Live Chat Code-->
504<div id="onlinehelp-button-0d56caa4-48d9-42f5-81f1-0728296bd31a"></div>
505<script type="text/javascript">
506  var OnlineHelpAPI=OnlineHelpAPI||{};(function(t){function e(e){var a=document.createElement("script"),c=document.getElementsByTagName("script")[0];a.type="text/javascript",a.async=!0,a.src=e+t.site_id,c.parentNode.insertBefore(a,c)}t.chat_buttons=t.chat_buttons||[],t.chat_buttons.push({code_plan:"0d56caa4-48d9-42f5-81f1-0728296bd31a",div_id:"onlinehelp-button-0d56caa4-48d9-42f5-81f1-0728296bd31a"}),t.site_id=65001864,t.main_code_plan="0d56caa4-48d9-42f5-81f1-0728296bd31a",e("https://j5wxcf.7mmon3ss.com/livechat.ashx?siteId="),setTimeout(function(){t.loaded||e("https://j5wxcf.7mmon3ss.com/livechat.ashx?siteId=")},5e3)})(OnlineHelpAPI||{})
507</script>
507
508<!--End Live Chat Code-->
509<!-- Pingdom -->
510<script src="//rum-static.pingdom.net/pa-66c461501ec1ac001200001a.js" async></script>
510
511<!-- #end Pingdom -->
512
513
514
515        
515<script type="text/javascript">/*Custom Carousel*/
516document.addEventListener("click", function(event) {
517    setTimeout(initiateCarousel, 2000);
518
519
520    if (event.target.classList.contains('all-menu-mobile') || event.target.parentNode.classList.contains('all-menu-mobile')) {
521        var sideNav = document.getElementById('mobile-left-menu');
522        sideNav.style.display = "block";
523    }
524
525    if (event.target.classList.contains('sports-mobile-menu') || event.target.parentNode.classList.contains('sports-mobile-menu')) {
526        toggleMobileSportsMenu();
527    } else {
528        var mobileSportsMenu = document.getElementById('mobileSportsMenu');
529        mobileSportsMenu.style.display = "none";
530    }
531
532    if (event.target.classList.contains('accordion')) {
533        toggleMenuAccordion(event.target);
534    }
535
536
537    if (event.target.classList.contains('sports-fullscreen') || event.target.parentNode.classList.contains('sports-fullscreen')) {
538        toggleSportsResolution();
539    }
540
541    if (event.target.classList.contains('site-header-logo') || event.target.parentNode.classList.contains('site-header-logo')) {
542        toggleHomeSportsResolution();
543    }
544
545    if (event.target.classList.contains('close-nav') || event.target.parentNode.classList.contains('close-nav')) {
546        var sideNav = document.getElementById('mobile-left-menu');
547        sideNav.style.display = "none";
548    }
549
550    if (event.target.classList.contains('baccarat-toggle') || event.target.parentNode.classList.contains('baccarat-toggle')) {
551        const eTarget = event.target.parentNode.classList.contains('baccarat-toggle') ? event.target.parentNode : event.target
552        toggleBaccarat(eTarget);
553    }
554
555    var parent = event.target.parentElement;
556    var liContainer = event.target.closest('li');
557
558    if ((parent && parent.classList.contains('nav-item')) || (liContainer && liContainer.classList.contains('nav-item'))) {
559        setTimeout(function() {
560            var sideNav = document.getElementById('mobile-left-menu');
561            sideNav.style.display = "none";
562        }, 800);
563    }
564    hideDecimal();
565    setTimeout(setEsportStyle, 1500);
566    /*GP-5437*/
567    const elSideNav = document.getElementById('mobile-left-menu')
568
569    if (elSideNav && elSideNav.style.display === 'block') {
570        if (!elSideNav.contains(event.target) && !event.target.closest('#menu')) {
571            elSideNav.style.display = "none";
572        }
573    }
574})
575
576class Carousel {
577    constructor(element) {
578        this.content = element.querySelector(".carousel-items-wrapper");
579        this.dots = element.querySelector(".carousel-dots").children;
580        // The index of the current active element of the carousel
581        this.activeElement = 0;
582    }
583
584    activateElement(n) {
585        // Validate index
586        if (n < 0 || n >= this.dots.length)
587            return;
588        this.activeElement = n;
589        this.content.scrollTo(this.content.children[n].offsetLeft - this.content.offsetLeft, 0);
590
591        for (let i = 0; i < this.dots.length; i++) {
592            this.dots[i].classList.toggle("active", this.activeElement === i);
593            this.dots[i].classList.toggle("next", ((this.activeElement - 1) === i || (this.activeElement + 1) === i));
594        }
595    }
596
597    addEventListeners() {
598        for (let i = 0; i < this.dots.length; i++) {
599            this.dots[i].addEventListener("click", () => this.activateElement(i));
600        }
601    }
602}
603
604initiateCarousel();
605
606function initiateCarousel() {
607    if (window.innerWidth <= 767) {
608        const carousels = document.getElementsByClassName("car-small");
609        for (const carousel of carousels) {
610            new Carousel(carousel).addEventListeners();
611        }
612    } else {
613        const carousels = document.getElementsByClassName("car-large");
614        for (const carousel of carousels) {
615            new Carousel(carousel).addEventListeners();
616        }
617    }
618
619}
620
621setTimeout(setEsportStyle, 1500);
622  
623function setEsportStyle() {
624      var digitainTopMatches = document.getElementById("digitain-e-sports-game-frame-digitainsports-wkprop");
625      if(typeof(digitainTopMatches) != 'undefined' && digitainTopMatches != null) {
626  
627          customElements.whenDefined('sport-esport-view').then(() => {
628              let dgTopMatchesRoot = document.querySelector('sport-esport-view').shadowRoot;
629  
630              let stylesheet = document.createElement('link');
631              stylesheet.rel = 'stylesheet';
632              stylesheet.type = 'text/css';
633              stylesheet.href = 'https://alpha-static.gpfront.com/DOSMSR/DOSMSR/css/mybet
633-esports.css?v=0.0.4';
634              dgTopMatchesRoot.appendChild(stylesheet);
635          })
636      }
637  }
638
639/*Menu Shrink on scroll*/
640if (window.innerWidth <= 767) {
641    window.addEventListener('scroll', touchEventShrinkNav, false);
642} else {
643    const scrollWrap = document.querySelector(".home-page-content");
644
645    scrollWrap.addEventListener("scroll", function() {
646        const headerSection = document.querySelector("main .header-section");
647        if (this.scrollTop > 100) {
648            headerSection.classList.add("scrollSrink")
649        } else {
650            headerSection.classList.remove("scrollSrink")
651        }
652    });
653}
654
655window.addEventListener('resize', () => {
656    if (window.innerWidth <= 767) {
657        window.addEventListener('scroll', touchEventShrinkNav, false);
658    } else {
659        const scrollWrap = document.querySelector(".home-page-content");
660
661        scrollWrap.addEventListener("scroll", function() {
662            const headerSection = document.querySelector("main .header-section");
663            if (this.scrollTop > 100) {
664                headerSection.classList.add("scrollSrink")
665            } else {
666                headerSection.classList.remove("scrollSrink")
667            }
668        });
669    }
670})
671
672function touchEventShrinkNav() {
673    const headerSection = document.querySelector("main .header-section");
674    if (window.pageYOffset > 80) {
675        headerSection.classList.add("scrollSrink")
676    } else {
677        headerSection.classList.remove("scrollSrink")
678    }
679}
680
681function openMenu(evt, menuName) {
682    var i, tabcontent, tablinks;
683    tabcontent = document.getElementsByClassName("tabcontent");
684    for (i = 0; i < tabcontent.length; i++) {
685        tabcontent[i].style.display = "none";
686    }
687    tablinks = document.getElementsByClassName("menuTabLinks");
688    for (i = 0; i < tablinks.length; i++) {
689        tablinks[i].className = tablinks[i].className.replace(" active", "");
690    }
691    document.getElementById(menuName).style.display = "block";
692    evt.currentTarget.className += " active";
693}
694
695/*Theme Switcher*/
696/* Theme Switcher - Event Delegation (survives Vue re-renders) */
697(function() {
698  function setTheme(value) {
699    var isLight = value === "true" || value === true;
700    document.body.classList.toggle("light-theme", isLight);
701  }
702
703  function setThemeValue() {
704    var checked = localStorage.getItem("skinSwitcherValue");
705    var isChecked = checked === "true";
706    setTheme(isChecked);
707    var sw = document.querySelector("input[name=switch-skin-mode]");
708    var swm = document.querySelector("input[name=switch-skin-mode-mobile]");
709    if (sw) sw.checked = isChecked;
710    if (swm) swm.checked = isChecked;
711  }
712
713  // Delegated listener on document - fires regardless of when Vue renders the inputs
714  document.addEventListener("change", function(e) {
715    var name = e.target && e.target.name;
716    if (name === "switch-skin-mode" || name === "switch-skin-mode-mobile") {
717      var isChecked = e.target.checked;
718      localStorage.setItem("skinSwitcherValue", String(isChecked));
719      setTheme(isChecked);
720      var sw = document.querySelector("input[name=switch-skin-mode]");
721      var swm = document.querySelector("input[name=switch-skin-mode-mobile]");
722      if (sw) sw.checked = isChecked;
723      if (swm) swm.checked = isChecked;
724    }
725  });
726
727  window.setTheme = setTheme;
728  window.setThemeValue = setThemeValue;
729
730  // Apply saved theme once inputs are rendered, with retry
731  function applyTheme() {
732    setThemeValue();
733    var sw = document.querySelector("input[name=switch-skin-mode]");
734    if (!sw) { setTimeout(applyTheme, 200); }
735  }
736  applyTheme();
737})();
738
739const navItems = document.querySelectorAll('.nav-item:not(:last-child) a');
740
741navItems.forEach(item => {
742    item.addEventListener("touchstart", mouseOver);
743    item.addEventListener("touchend", mouseOut);
744    item.addEventListener("mouseover", mouseOver);
745    item.addEventListener("mouseout", mouseOut);
746});
747
748function mouseOver(e) {
749    if (document.querySelector('.content-wrapper .header-section').classList.contains('scrollSrink')) {
750        var thisElem = document.querySelector('.header-section.scrollSrink #app_header.main-header-container .subheader-menu .nm-widget.menuw')
751        var span = e.target.querySelector('span') != null ? e.target.querySelector('span') : e.target.nextElementSibling;
752
753        var scrollLeft = thisElem.scrollLeft;
754
755        var thisSpanLeft = getComputedStyle(span, null).left;
756        span.style.left = (parseInt(thisSpanLeft) - scrollLeft) + 'px';
757    }
758}
759
760function mouseOut(e) {
761    if (document.querySelector('.content-wrapper .header-section').classList.contains('scrollSrink')) {
762        var span = e.target.querySelector('span') != null ? e.target.querySelector('span') : e.target.nextElementSibling;
763        span.style.left = 'auto'
764    }
765}
766
767function openPromo(evt, tabName) {
768    var i, tabcontent, tablinks;
769
770    tabcontent = document.getElementsByClassName("promoTabContent");
771    for (i = 0; i < tabcontent.length; i++) {
772        tabcontent[i].className = tabcontent[i].className.replace(" active", "");
773    }
774    tablinks = document.getElementsByClassName("promoTabLinks");
775    for (i = 0; i < tablinks.length; i++) {
776        tablinks[i].className = tablinks[i].className.replace(" active", "");
777    }
778    document.getElementById(tabName).className += " active";
779    evt.currentTarget.className += " active";
780};
781
782function toggleMobileSportsMenu() {
783    var mobileSportsMenu = document.getElementById('mobileSportsMenu');
784    if (mobileSportsMenu.style.display == '' || mobileSportsMenu.style.display == 'none') {
785        mobileSportsMenu.style.display = "flex";
786    } else {
787        mobileSportsMenu.style.display = "none";
788    }
789}
790
791function hideDecimal() {
792    // Select the h3 element
793    const h3Element = document.querySelector('h3.komp-vip-xp');
794
795    // Get the current text content
796    if (h3Element) {
797        const textContent = h3Element.textContent;
798
799        // Extract the number part before the decimal
800        const cleanedText = textContent.replace(/\d+\.\d+/, function(match) {
801            return match.split('.')[0];
802        });
803
804        // Set the cleaned text back to the h3 element
805        h3Element.textContent = cleanedText;
806
807        // Store the cleaned text in localStorage for persistence
808        localStorage.setItem('h3Content', cleanedText);
809    }
810}
811
812// On page load, check if there's stored content and update the h3 element
813document.addEventListener('DOMContentLoaded', function() {
814    const storedValue = localStorage.getItem('h3Content');
815    if (storedValue) {
816        const h3Element = document.querySelector('h3.komp-vip-xp');
817        h3Element.textContent = storedValue;
818    }
819});
820
821// komp tab js 
822
823function openKomp(evt, kompTab) {
824    var i, tabcontent, tablinks;
825    tabcontent = document.getElementsByClassName("tabcontent");
826    for (i = 0; i < tabcontent.length; i++) {
827        tabcontent[i].style.display = "none";
828    }
829    tablinks = document.getElementsByClassName("komp-tablinks");
830    for (i = 0; i < tablinks.length; i++) {
831        tablinks[i].className = tablinks[i].className.replace(" active", "");
832    }
833    document.getElementById(kompTab).style.display = "block";
834    evt.currentTarget.className += " active";
835}
836
837// About Us Accordion
838
839function toggleMenuAccordion(element) {
840
841    var panel = element.nextElementSibling;
842    if (panel.style.display === "block" || panel.style.display === "") {
843        panel.style.display = "none";
844        element.classList.remove("active");
845    } else {
846        panel.style.display = "block";
847        element.classList.add("active");
848    }
849}
850
851function toggleBaccarat(element) {
852
853    var panel = element.nextElementSibling;
854    if (panel.classList.contains('shown')) {
855        panel.classList.remove("shown");
856        element.classList.remove("active");
857    } else {
858        panel.classList.add("shown");
859        element.classList.add("active");
860    }
861}
862
863const BT1KoreanSports = document.getElementById('bt1-korean-sports_frame_btis_launcher')
864if (BT1KoreanSports) {
865    BT1KoreanSports.onload = function() {
866        // Access the iframe's document
867        const iframeDoc = document.getElementById('myIframe').contentDocument;
868        // Select the button using its class name
869        const button = iframeDoc.getElementsByClassName('betslip_fe_Tabs_baseButton')[0]; // Access the first element with this class
870
871        // Add an event listener to the button
872        if (button) {
873            button.addEventListener('click', function() {
874                alert('Button inside iframe clicked!');
875                // Your custom function logic here
876            });
877        }
878    };
879}
880
881function scrollToReferral() {
882    const element = document.getElementById("referral-promotion");
883    element.scrollIntoView({
884        behavior: "smooth"
885    });
886}
887
888function scrollToHowToUse() {
889    const element = document.getElementById("referral-how-to-use");
890    element.scrollIntoView({
891        behavior: "smooth"
892    });
893}
894
895
896/* Product Category */
897document.addEventListener('mouseover', function(event) {
898    const link = event.target.closest('.w-product-categories-link');
899    if (link) {
900        const img = link.querySelector('img');
901        if (img) {
902            const originalSrc = img.src;
903            const newSrc = originalSrc.split('.').slice(0, -1).join('.') + '-active.' + originalSrc.split('.').pop();
904            img.src = newSrc;
905        }
906    }
907});
908
909document.addEventListener('mouseout', function(event) {
910    const link = event.target.closest('.w-product-categories-link');
911    if (link) {
912        const img = link.querySelector('img');
913        if (img) {
914            const originalSrc = img.src.split('-active')[0];
915            const newSrc = originalSrc + '.svg';
916            img.src = newSrc;
917        }
918    }
919});
920
921window.triggerAction.onRouteChange((newValue, oldValue) => {
922    setTimeout(() => {
923        showHideCatNav(newValue.path);
924    }, 1500);
925});
926
927function showHideCatNav(currentPath) {
928    if (currentPath.includes('casino-groups')) {
929        const liveCasino = [
930            'all-live-casino', 'korean-dealers', 'baccarat', 'blackjack',
931            'roulette', 'sic-bo', 'poker', 'game-shows', 'tv-games'
932        ];
933
934        const categoryNav = document.getElementsByClassName('product_categories-widget');
935
936        if (categoryNav.length < 2) {
937            console.warn('Expected at least two navigation elements.');
938            return;
939        }
940
941        const isLiveCasino = liveCasino.some(slug => currentPath.includes(slug));
942
943        if (isLiveCasino) {
944            categoryNav[0].style.display = 'block';
945            categoryNav[1].style.display = 'none';
946        } else {
947            categoryNav[0].style.display = 'none';
948            categoryNav[1].style.display = 'block';
949        }
950    }
951}
952
953/* End Product Category */
954
955/* FullScreen Mobile Sports*/
956
957
958// Function to trigger the event when resolution is 767px or below
959function handleRouteChange(newValue) {
960    if (window.innerWidth <= 767) {
961        setTimeout(() => {
962            checkAndApplyScrollShrink(newValue.path);
963        }, 800);
964    }
965}
966
967// Ensure triggerAction exists before using it
968if (window.triggerAction && typeof window.triggerAction.onRouteChange === "function") {
969    window.triggerAction.onRouteChange((newValue, oldValue) => {
970        handleRouteChange(newValue);
971    });
972}
973
974// Listen for window resize events to re-run function if screen size changes
975window.addEventListener("resize", function() {
976    if (window.innerWidth <= 767) {
977        handleRouteChange({ path: window.location.pathname });
978    }
979});
980
981function checkAndApplyScrollShrink(currentPath) {
982    // List of paths that should trigger the class addition
983    const shrinkPaths = ['bt1-korean-sports', 'winka-sports', 'winka-e-sports'];
984    // Get the header element
985    const header = document.querySelector('.content-wrapper .header-section');
986    const mobile_menu = document.querySelector('#home_operator #page_content_modern');
987    const iframe_wrapper = document.querySelector('#app_mobile_navigation');
988
989    if (!header || !mobile_menu || !iframe_wrapper) return; // Exit if header is not found
990
991    // Check if the current path includes any of the specified paths
992    const shouldShrink = shrinkPaths.some(path => currentPath.includes(path));
993
994    // Add or remove the class accordingly
995    if (shouldShrink) {
996        console.log('focus added');
997        header.classList.add('focused');
998        mobile_menu.classList.add('focused');
999        iframe_wrapper.classList.add('focused');
1000    } else {
1001        console.log('focus not added');
1002        header.classList.remove('focused');
1003        mobile_menu.classList.remove('focused');
1004        iframe_wrapper.classList.remove('focused');
1005    }
1006}
1007
1008function toggleSportsResolution() {
1009    const header = document.querySelector('.content-wrapper .header-section');
1010    const mobile_menu = document.querySelector('#home_operator #page_content_modern');
1011    const iframe_wrapper = document.querySelector('#app_mobile_navigation');
1012    const button_wrapper = document.querySelector('.sports-fullscreen');
1013    if (header.classList.contains('focused')) {
1014        header.classList.remove('focused');
1015        mobile_menu.classList.remove('focused');
1016        iframe_wrapper.classList.remove('focused');
1017        button_wrapper.classList.add('active');
1018    } else {
1019        header.classList.add('focused');
1020        mobile_menu.classList.add('focused');
1021        iframe_wrapper.classList.add('focused');
1022        button_wrapper.classList.remove('active');
1023    }
1024}
1025
1026function toggleHomeSportsResolution() {
1027    const header = document.querySelector('.content-wrapper .header-section');
1028    const mobile_menu = document.querySelector('#home_operator #page_content_modern');
1029    const iframe_wrapper = document.querySelector('#app_mobile_navigation');
1030    const button_wrapper = document.querySelector('.sports-fullscreen');
1031    if (header.classList.contains('focused')) {
1032        header.classList.remove('focused');
1033        mobile_menu.classList.remove('focused');
1034        iframe_wrapper.classList.remove('focused');
1035        button_wrapper.classList.remove('active');
1036    } else {
1037        console.log(':)');
1038    }
1039}
1040
1041var skinSwitcher = document.querySelector("input[name=switch-skin-mode]");
1042      var skinSwitcherMobile = document.querySelector("input[name=switch-skin-mode-mobile]");
1043
1044      function setTheme(value) {
1045          var isDark = value === "true" || value === true;
1046          document.body.classList.toggle("light-theme", isDark);
1047      }
1048
1049      function setThemeValue() {
1050          var checked = localStorage.getItem('skinSwitcherValue');
1051          var isChecked = checked === "true";
1052          setTheme(isChecked);
1053
1054          if (skinSwitcher) skinSwitcher.checked = isChecked;
1055          if (skinSwitcherMobile) skinSwitcherMobile.checked = isChecked;
1056      }
1057
1058      function handleChange(e) {
1059          localStorage.setItem('skinSwitcherValue', e.target.checked);
1060          setTheme(e.target.checked);
1061
1062          // Keep both switches in sync
1063          if (skinSwitcher) skinSwitcher.checked = e.target.checked;
1064          if (skinSwitcherMobile) skinSwitcherMobile.checked = e.target.checked;
1065      }
1066
1067      if (skinSwitcher) skinSwitcher.addEventListener('change', handleChange);
1068      if (skinSwitcherMobile) skinSwitcherMobile.addEventListener('change', handleChange);
1069
1070      setThemeValue();
1071</script>
1071
1072</body>
1073
1074</html>

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.