https://manacube.com/threads/prodentim-black-friday-deal-top-rated-alert.95258/

已提交的 URL:
https://manacube.com/threads/prodentim-black-friday-deal-top-rated-alert.95258/
報告完成時間:

連結 · 找到 6 個

連結Text
https://manalabs.io/ ManaLabs Inc.
https://youtube.com/manacube
https://twitter.com/manacubemc
https://instagram.com/manacubemc
https://discord.gg/manacube
https://manacube.wikiWiki

JavaScript 變數 · 找到 30 個

名稱類型
0object
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
__cfQRobject
XFobject
html5object
Modernizrobject
gtagfunction
dataLayerobject

主控台記錄訊息 · 找到 1 條

類型類別記錄
errornetwork
URL
https://manacube.com/threads/prodentim-black-friday-deal-top-rated-alert.95258/
Text
Failed to load resource: the server responded with a status of 403 ()

HTML

<!DOCTYPE html><html id="XF" lang="en-US" dir="LTR" data-app="public" data-template="login" data-container-key="" data-content-key="" data-logged-in="false" data-cookie-prefix="xf_" class="has-js template-login has-blobconstructor has-blob-constructor has-cors has-geolocation has-history has-postmessage has-svg has-websockets has-passiveeventlisteners has-webworkers has-no-contextmenu has-hashchange has-pointerevents has-audio has-canvas has-canvastext has-contenteditable has-emoji has-video has-webgl has-rgba has-placeholder has-hsla has-supports has-no-hiddenscroll has-no-touchevents has-fontface has-generatedcontent has-textshadow has-pagevisibility has-performance has-cssanimations has-csscolumns has-csscolumns-width has-csscolumns-span has-csscolumns-fill has-csscolumns-gap has-csscolumns-rule has-csscolumns-rulecolor has-csscolumns-rulestyle has-csscolumns-rulewidth has-csscolumns-breakbefore has-csscolumns-breakafter has-csscolumns-breakinside has-flexbox has-flexwrap has-cssreflections has-csstransforms has-csstransforms3d has-csstransitions has-indexeddb has-indexeddb-deletedatabase"><head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">

	
	
	

	<title>Log in | ManaCube</title>

	

	
		
	
	
	<meta property="og:site_name" content="ManaCube">


	
	
		
	
	
	<meta property="og:type" content="website">


	
	
		
	
	
	
		<meta property="og:title" content="Log in">
		<meta property="twitter:title" content="Log in">
	


	
	
	
		
	
	
	<meta property="og:url" content="https://manacube.com/threads/prodentim-black-friday-deal-top-rated-alert.95258/">


	
	

	
		<meta name="theme-color" content="rgb(167, 188, 216)">
	

	
	
	

	
		
		<link rel="preload" href="/styles/fonts/fa/fontawesome-webfont.woff2?v=4.7.0" as="font" type="font/woff2" crossorigin="anonymous">
	

	<link rel="stylesheet" href="/css.php?css=public%3Anormalize.css%2Cpublic%3Acore.less%2Cpublic%3Aapp.less%2Cpublic%3Afont_awesome.css&amp;s=18&amp;l=1&amp;d=1730581425&amp;k=fc1102d03ba2f04e706ca3524c62518c62de1699">

	
	<link rel="stylesheet" href="/css.php?css=public%3Aextra.less&amp;s=18&amp;l=1&amp;d=1730581425&amp;k=1ed09e0430687a2a9c2e8e0e163733ff46293791">

	
		<script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script><script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/js?id=G-FPRPRRJPEX&amp;l=dataLayer&amp;cx=c"></script><script src="/js/xf/preamble-compiled.js?_v=9aa377ab" type="text/javascript"></script>
	


	
		<link rel="icon" type="image/png" href="https://manacube.com/api/serverstatus/favicon.png" sizes="32x32">
	
	
	
	
		
	
	<script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-111062578-1" type="text/javascript"></script>
	<script type="text/javascript">
		window.dataLayer = window.dataLayer || [];
		function gtag(){dataLayer.push(arguments);}
		gtag('js', new Date());
		gtag('config', 'UA-111062578-1', {
			// 
			
			
		});
	</script>

	
	<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,400;0,600;0,700;0,800;1,400;1,700&amp;family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400;1,700&amp;display=swap">

<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/sweetalert2/6.6.0/sweetalert2.min.css">





	<link href="/styles/ndzn/manacube/style.css?v=18" rel="stylesheet">

	<link rel="stylesheet" href="//cdn.materialdesignicons.com/4.9.95/css/materialdesignicons.min.css">
</head>
<body data-template="login">

<div class="p-pageWrapper" id="top">

<!---->
	<div class="p-staffBar">
		<div class="p-staffBar-inner hScroller" data-xf-init="h-scroller">
			<div class="hScroller-scroll is-calculated" style="margin-bottom: -40px;">
			<!---->
				

				

				

				
			<!---->
				
				
					<a href="/misc/style?style_id=21" class="p-staffBar-link" data-xf-click="" data-xf-init="tooltip" rel="nofollow" style="float:right" data-original-title="Switch to Light Theme" id="js-XFUniqueId1">
						Switch to Light Theme
						<i class="fa fa-paint-brush" aria-hidden="true" style="margin-left:5px"></i>
					</a>
				
			</div><i class="hScroller-action hScroller-action--end" aria-hidden="true"></i><i class="hScroller-action hScroller-action--start" aria-hidden="true"></i>
		</div>
	</div>
<!---->

<header class="header" id="header">

	<div id="ndzn-js--logoShadow">
		<div class="logoShadowPreload orange"></div>
		<div class="logoShadowPreload lime"></div>
		<div class="logoShadowPreload cyan"></div>
		<div class="logoShadowPreload red"></div>
		<div class="logoShadowPreload purple"></div>
	</div>
	
	<div class="header-nav">
		<div class="p-header-inner ndzn-js--navItems">
			<button class="header-mobile-navOpen" data-xf-click="off-canvas" data-menu=".js-headerOffCanvasMenu" role="button" tabindex="0">
				<i class="fa fa-bars"></i> Navigation
			</button>
			
			
				<div class="header-nav-left">
					<a href="/">Home</a>
					<a href="/forums/">Forum</a>
					<a href="/stats/player/">Stats</a>
					<a href="/updates/">Updates</a>
				</div>
				<div class="header-nav-right">
					<a href="//manacube.wiki">Wiki</a>
					<a href="/support/">Support</a>
					<div class="more-dd">
						<a href="#">
							More <i class="fa fa-caret-down" style="font-size:11px;margin-left:4px;position:relative;top:-1px"></i>
						</a>
						<div class="dropdown-menu">
							<a href="/staff/">Staff</a>
							<a href="/members/">Members</a>
							<a href="/rules">Rules</a>
							<a href="https://api.manacube.com">Public API</a>
							<a href="/bounty">Bug Bounty</a>
							<a href="https://bans.manacube.com">Bans &amp; Mutes</a>
							<a href="/play">Welcome Page</a>

						</div>
					</div>
					<a href="https://store.manacube.com" target="_blank">Store</a>
				</div>
			
		</div>
	</div>
	
	
	
	<div class="header-subNav">
		<div class="p-header-inner">
			<div id="ndzn-js--copyip" class="block block--ip">
				<div class="block-content">
					<h3 id="ip-value-h3">play.manacube.com</h3>
					<span class="ndzn-js--playerTotal">881 Players Online</span>
				</div>
				<i class="icon"></i>
			</div>
			<div class="block block--logocube"></div>
			<div class="block block--search">
				<i class="icon"></i>
<form id="players-search-navbar" class="block-content" autocomplete="off" onsubmit="if (!window.__cfRLUnblockHandlers) return false; redirectToPlayerProfile(event)">
    <input type="text" id="players-search-navbar-value" placeholder="Search Username">
    <button type="submit">Search</button>
</form>

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

<script type="text/javascript">
function redirectToPlayerProfile(event) {
    event.preventDefault(); // Prevent the default form submission behavior
    var username = document.getElementById('players-search-navbar-value').value;
    window.location.href = 'https://manacube.com/stats/player/' + encodeURIComponent(username);
}
</script>



	
	<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js" type="text/javascript"></script>
	<script type="text/javascript">
	$('#players-search-navbar').on('submit', function(e) {
        e.preventDefault();
        var data = $("#players-search-navbar-value").val();
		
		
		window.location.href = "/stats/player/" + data + "/";
    });
	</script>

	<div class="header-splash">
		<div class="p-header-inner">
			<div class="block block--visitor">
				
			<div class="p-nav-opposite">
				<div class="p-navgroup p-account p-navgroup--guest">
					
						<a href="/login/" class="guest-link p-navgroup-link p-navgroup-link--textual p-navgroup-link--logIn" rel="nofollow" data-xf-click="overlay">
							<span class="p-navgroup-linkText">Log in</span>
						</a>
						
							<a href="/register/" class="guest-link p-navgroup-link p-navgroup-link--textual p-navgroup-link--register" rel="nofollow" data-xf-click="overlay">
								<span class="p-navgroup-linkText">Register</span>
							</a>
						
					
				</div>

			</div>

			</div>
			<a href="/" class="logo-link"><div class="block block--logotext"></div></a>
			<div class="block block--news" onclick="if (!window.__cfRLUnblockHandlers) return false; window.location.href='/threads/october-2024-recap.95237/'">
				<i class="icon"></i>
				<div class="block-content">
					<small>Latest News Article</small>
					<h3>
						<b>Nov. 04</b> by Dacon
					</h3>
				</div>
			</div>
		</div>
	</div>
	
</header>

<div class="offCanvasMenu offCanvasMenu--nav js-headerOffCanvasMenu" data-menu="menu" aria-hidden="true" data-ocm-builder="navigation">
	<div class="offCanvasMenu-backdrop" data-menu-close="true"></div>
	<div class="offCanvasMenu-content">
		<div class="offCanvasMenu-header">
			Menu
			<a class="offCanvasMenu-closer" data-menu-close="true" role="button" tabindex="0" aria-label="Close"></a>
		</div>
		
			<div class="p-offCanvasRegisterLink">
				<div class="offCanvasMenu-linkHolder">
					<a href="/login/" class="offCanvasMenu-link" rel="nofollow" data-xf-click="overlay" data-menu-close="true">
						Log in
					</a>
				</div>
				<hr class="offCanvasMenu-separator">
				
					<div class="offCanvasMenu-linkHolder">
						<a href="/register/" class="offCanvasMenu-link" rel="nofollow" data-xf-click="overlay" data-menu-close="true">
							Register
						</a>
					</div>
					<hr class="offCanvasMenu-separator">
				
			</div>
		
		<div class="js-offCanvasNavTarget ndzn-js--navItems">
			
				<div class="header-nav-left">
					<a href="/">Home</a>
					<a href="/forums/">Forum</a>
					<a href="/stats/player/">Stats</a>
					<a href="/updates/">Updates</a>
				</div>
				<div class="header-nav-right">
					<a href="//manacube.wiki">Wiki</a>
					<a href="/support/">Support</a>
					<div class="more-dd">
						<a href="#">
							More <i class="fa fa-caret-down" style="font-size:11px;margin-left:4px;position:relative;top:-1px"></i>
						</a>
						<div class="dropdown-menu">
							<a href="/staff/">Staff</a>
							<a href="/members/">Members</a>
							<a href="/rules">Rules</a>
							<a href="https://api.manacube.com">Public API</a>
							<a href="/bounty">Bug Bounty</a>
							<a href="https://bans.manacube.com">Bans &amp; Mutes</a>
							<a href="/play">Welcome Page</a>

						</div>
					</div>
					<a href="https://store.manacube.com" target="_blank">Store</a>
				</div>
			
		</div>
	</div>
</div>

<div class="p-body">
	<div class="p-body-inner">

		<div class="p-body-main  ">
			

			<div class="p-body-content">

				<!--XF:EXTRA_OUTPUT-->

				

				

				
	<noscript><div class="blockMessage blockMessage--important blockMessage--iconic u-noJsOnly">JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.</div></noscript>

				
	<!--[if lt IE 9]><div class="blockMessage blockMessage&#45;&#45;important blockMessage&#45;&#45;iconic">You are using an out of date browser. It  may not display this or other websites correctly.<br />You should upgrade or use an <a href="https://www.google.com/chrome/browser/" target="_blank">alternative browser</a>.</div><![endif]-->

				
				
					<div class="p-body-header">
					
						
							<div class="p-title ">
							
								
									<h1 class="p-title-value">Log in</h1>
								
								
							
							</div>
						

						
					
					</div>
				
								
				
	
		<ul class="p-breadcrumbs p-breadcrumbs--top" itemscope="" itemtype="https://schema.org/BreadcrumbList">
		

			
			

			
				
	<li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
		<a href="/forums/" itemprop="item">
			<span itemprop="name">Forums</span>
		</a>
	</li>

			
			

		
		</ul>
	

				
				
				<div class="p-body-pageContent">




	<div class="blockMessage blockMessage--error blockMessage--iconic">
		You must be logged-in to do that.
	</div>


<div class="blocks">
	
			<form action="/login/login" method="post" class="block" onsubmit="if (!window.__cfRLUnblockHandlers) return false; ssubmit()">
				
		<div class="block-container">
			<div class="block-body">
				
			<dl class="formRow formRow--input">
				<dt>
					<div class="formRow-labelWrapper">
					<label class="formRow-label" for="_xfUid-1-1730899998">Your name or email address</label></div>
				</dt>
				<dd>
					<input type="text" class="input" name="login" autofocus="autofocus" autocomplete="username" id="_xfUid-1-1730899998">
				</dd>
			</dl>
		

				
			<dl class="formRow formRow--input">
				<dt>
					<div class="formRow-labelWrapper">
					<label class="formRow-label" for="_xfUid-2-1730899998">Password</label></div>
				</dt>
				<dd>
					<input type="password" class="input" name="password" autocomplete="current-password" id="_xfUid-2-1730899998">
					
						<a href="/lost-password/" data-xf-click="overlay">Forgot your password?</a>
					
				</dd>
			</dl>
		

				

				
			<dl class="formRow">
				<dt>
					<div class="formRow-labelWrapper"></div>
				</dt>
				<dd>
					
			<ul class="inputChoices">
				<li class="inputChoices-choice"><label class="iconic iconic--checkbox iconic--labelled"><input type="checkbox" name="remember" value="1" checked="checked"><i aria-hidden="true"></i>Stay logged in</label></li>

			</ul>
		
				</dd>
			</dl>
		
			</div>
			
			<dl class="formRow formSubmitRow">
				<dt></dt>
				<dd>
					<div class="formSubmitRow-main">
						<div class="formSubmitRow-bar"></div>
						<div class="formSubmitRow-controls"><button class="button button--primary button--icon button--icon--login"><span class="button-text">Log in</span></button></div>
					</div>
				</dd>
			</dl>
		
		</div>
		
			<div class="block-outer block-outer--after">
				<div class="block-outer-middle">
					Don't have an account? <a href="/register/" class="button"><span class="button-text">Register now</span></a>
				</div>
			</div>
		
	
				<input type="hidden" name="_xfToken" value="1730899998,b6b9b30c24f015e20beab9580dd91b10">
				
			</form>
		

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

			
		</div>

	</div>
</div>

<div id="ndzn-footer-2">
	<div class="container p-body-inner">
		<div class="footer-logo"></div>
		<div class="box-footer box-left">
			<div class="big">2013 - 2024 © <a href="https://manalabs.io/" target="_blank"> ManaLabs Inc.</a></div>
			<div class="small">ManaLabs is an Official Minecraft Partner<br>ManaCube is a multiplayer network for Minecraft Java Edition. IP: play.manacube.com<br>The ManaCube server is not endorsed by Mojang, AB.</div>
			<div class="icons">
				<a href="https://youtube.com/manacube" target="_blank" class="mdi mdi-youtube"></a>
				<a href="https://twitter.com/manacubemc" target="_blank" class="mdi mdi-twitter"></a>
				<a href="https://instagram.com/manacubemc" target="_blank" class="mdi mdi-instagram"></a>
				<a href="https://discord.gg/manacube" target="_blank" class="mdi mdi-discord"></a>
			</div>
		</div>
<div id="footer-links" class="box-footer box-right">
    <div class="column">
        <a href="/rules" class="footer-link rules">Rules</a>
        <a href="https://store.manacube.com/" class="footer-link store">Store</a>
        <a href="/updates/" class="footer-link updates">Updates</a>
    </div>
    <div class="column">
        <a href="/staff/" class="footer-link staff">Staff</a>
        <a href="/support" class="footer-link support">Support</a>
        <a href="https://manacube.wiki" class="footer-link wiki">Wiki</a>
    </div>
    <div class="column">
        <a href="https://api.manacube.com" class="footer-link wiki">Public API</a>
        <a href="/bounty" class="footer-link wiki">Bug Bounty</a>
        <a href="https://manacube.com/forums/suggestions/" class="footer-link wiki">Suggestions</a>
    </div>
    <div class="column">
        <a href="/play" class="footer-link wiki">Play</a>
        <a href="/stats/" class="footer-link wiki">Stats</a>
        <a href="https://bans.manacube.com" class="footer-link wiki">Bans</a>
    </div>
</div>



		</div>
	</div>
</div>
	
 <!-- closing p-pageWrapper -->

<div class="u-bottomFixer js-bottomFixTarget">
	
</div>


	<div class="u-scrollButtons js-scrollButtons" data-trigger-type="up">
		<a href="#top" class="button--scroll button" data-xf-click="scroll-to"><span class="button-text"><i class="fa fa-arrow-up"></i></span></a>
		
	</div>



	<script src="/js/vendor/jquery/jquery-3.2.1.min.js?_v=9aa377ab" type="text/javascript"></script>
	<script src="/js/vendor/vendor-compiled.js?_v=9aa377ab" type="text/javascript"></script>
	<script src="/js/xf/core-compiled.js?_v=9aa377ab" type="text/javascript"></script>
	<script src="/js/xf/login_signup.min.js?_v=9aa377ab" type="text/javascript"></script>
<script type="text/javascript">

	  $(document).ready(function() {
		if (window.location.href.indexOf("play") > -1) {
		  $("#ip-value-h3").text("play.manacube.com");
		}
		
		if (window.location.href.indexOf("join") > -1) {
		  $("#ip-value-h3").text("play.manacube.com");
		}
	  });
	
</script>
<script type="text/javascript">

jQuery.extend(XF.config, {
	contentrating : {
		tooltipDelay: 300,
		menuDelay: 100,
	}
});

</script>


	<script type="text/javascript">
		jQuery.extend(true, XF.config, {
			// 
			userId: 0,
			url: {
				fullBase: 'https://manacube.com/',
				basePath: '/',
				css: '/css.php?css=__SENTINEL__&s=18&l=1&d=1730581425',
				keepAlive: '/login/keep-alive'
			},
			cookie: {
				path: '/',
				domain: '',
				prefix: 'xf_',
				secure: true
			},
			csrf: '1730899998,b6b9b30c24f015e20beab9580dd91b10',
			js: {"\/js\/xf\/login_signup.min.js?_v=9aa377ab":true},
			css: {"public:extra.less":true},
			time: {
				now: 1730899998,
				today: 1730869200,
				todayDow: 3
			},
			borderSizeFeature: '3px',
			enableRtnProtect: true,
			enableFormSubmitSticky: true,
			uploadMaxFilesize: 2097152,
			visitorCounts: {
				conversations_unread: '0',
				alerts_unread: '0',
				total_unread: '0',
				title_count: true,
				icon_indicator: true
			},
			jsState: {}
		});

		jQuery.extend(XF.phrases, {
			// 
			date_x_at_time_y: "{date} at {time}",
			day_x_at_time_y:  "{day} at {time}",
			yesterday_at_x:   "Yesterday at {time}",
			x_minutes_ago:    "{minutes} minutes ago",
			one_minute_ago:   "1 minute ago",
			a_moment_ago:     "A moment ago",
			today_at_x:       "Today at {time}",
			in_a_moment:      "In a moment",
			in_a_minute:      "In a minute",
			in_x_minutes:     "In {minutes} minutes",
			later_today_at_x: "Later today at {time}",
			tomorrow_at_x:    "Tomorrow at {time}",

			day0: "Sunday",
			day1: "Monday",
			day2: "Tuesday",
			day3: "Wednesday",
			day4: "Thursday",
			day5: "Friday",
			day6: "Saturday",

			dayShort0: "Sun",
			dayShort1: "Mon",
			dayShort2: "Tue",
			dayShort3: "Wed",
			dayShort4: "Thu",
			dayShort5: "Fri",
			dayShort6: "Sat",

			month0: "January",
			month1: "February",
			month2: "March",
			month3: "April",
			month4: "May",
			month5: "June",
			month6: "July",
			month7: "August",
			month8: "September",
			month9: "October",
			month10: "November",
			month11: "December",

			active_user_changed_reload_page: "The active user has changed. Reload the page for the latest version.",
			server_did_not_respond_in_time_try_again: "The server did not respond in time. Please try again.",
			oops_we_ran_into_some_problems: "Oops! We ran into some problems.",
			oops_we_ran_into_some_problems_more_details_console: "Oops! We ran into some problems. Please try again later. More error details may be in the browser console.",
			file_too_large_to_upload: "The file is too large to be uploaded.",
			uploaded_file_is_too_large_for_server_to_process: "The uploaded file is too large for the server to process.",
			files_being_uploaded_are_you_sure: "Files are still being uploaded. Are you sure you want to submit this form?",
			attach: "Attach files",
			rich_text_box: "Rich text box",
			close: "Close",

			showing_x_of_y_items: "Showing {count} of {total} items",
			showing_all_items: "Showing all items",
			no_items_to_display: "No items to display"
		});
	</script>

	<form style="display:none" hidden="hidden">
		<input type="text" name="_xfClientLoadTime" value="" id="_xfClientLoadTime" title="_xfClientLoadTime" tabindex="-1">
	</form>

	




<script src="https://cdn.jsdelivr.net/sweetalert2/6.6.0/sweetalert2.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Cookies.js/1.2.1/cookies.min.js" type="text/javascript"></script>
<script type="text/javascript">

// click to copy
new ClipboardJS('#ndzn-js--copyip', {
	text: () => ip
}).on('success', e => {
	swal(
		'Server IP Copied',
		'We hope to see you online soon!',
		'success'
	)
});

// copy mc ip
new ClipboardJS('#ndzn-js--copyip-mc', {
	text: () => "mc.manacube.com"
}).on('success', e => {
	swal(
		'Server IP Copied',
		'We hope to see you online soon!',
		'success'
	)
});	
	
// copy mc ip
new ClipboardJS('#ndzn-js--copyip-join', {
	text: () => "join.manacube.net"
}).on('success', e => {
	swal(
		'Server IP Copied',
		'We hope to see you online soon!',
		'success'
	)
});	

// server playercount
let ip = 'play.manacube.com';
// $.get('https://mcapi.us/server/status?ip=' + ip, function(res){
// 	if (res.status !== 'success') return null;
// 	$('#ndzn-js--playercount').html(res.players.now);
// });

// discord count
if ($('.ndzn-js--discordcount').length) {
	$.get('https://discordapp.com/api/guilds/224546291663896578/embed.json', function(d){
		$('.ndzn-js--discordcount').html(d['presence_count']);
	});
}

// discord top popup
$(function(){
	if (Cookies.get('ndzn_discord_hidden') != 'yes') {
		$('#ndzn-discord-popup').addClass('visible');
	}
	$('#ndzn-discord-popup .button.muted').click(function(){
		Cookies.set('ndzn_discord_hidden', 'yes', { expires: 60 * 60 * 24 * 30 });
		$('#ndzn-discord-popup').removeClass('visible');
	});
});

// active page
$(function(){
	if (typeof NDZN_ACTIVE_PAGE === 'undefined') {
		$('#ndzn-nav-items .item:nth-of-type(2)').addClass('active');
	} else {
		$('#ndzn-nav-items .item:nth-of-type('+NDZN_ACTIVE_PAGE+')').addClass('active');	
	}
});

// minimize block
$(document).on('click', '.ndzn-js--minimizeBlock', function(e){
	e.preventDefault();
	$(this).closest('.block').toggleClass('minimized');
});

// show mc servers
$('.ndzn-js--showMcServers').click(function(){
	$(this).closest('.group').toggleClass('expanded');
});

$(document).on('click', '.more-dd > a', function(e){
	e.stopImmediatePropagation();
	$(this).closest('.more-dd').toggleClass('more-dd--open');
});

$(document).click(function(){
	$('.more-dd--open').removeClass('more-dd--open');
});
	
	
	
// SERVER STATUS WIDGET

	$(function(){
		let el = '.block[data-widget-key=ndzn_widget__serverstatus]';

		$.get('/api/serverstatus/', function(res){
			if (!res.success) {
				console.error('Could not load server status widget. Removing it :(');
				$(el).remove();
				return null;
			}

			$(el).find('.block-minorHeader small').html(res.server_total);
			$('.ndzn-js--playercount').html(res.server_total);
			$('.ndzn-js--playerTotal').html(res.server_total + ' Players Online');	

			let mc_servers_online_total = 0;

			for (var server_name in res.group_counts) {
				let server_count = res.group_counts[server_name];

				if (server_count === -1) {
					$(el).find('.group--minecraft .group-extra').append(
						'<li class="server offline">' +
						server_name +
						'</li>'
					);
				} else {
					mc_servers_online_total += 1;
					$(el).find('.group--minecraft .group-extra').append(
						'<li class="server online">' +
						server_name +
						'<small>'+server_count+'</small>' +
						'</li>'
					);
				}
			}

			$(el).find('.group--minecraft .group-thumb-text small').html(
				mc_servers_online_total + '/' + Object.keys(res.group_counts).length + ' Servers Online'
			);

			$(el).removeClass('loading');
		});

	});

</script>
	
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'8de5745e8e162159',t:'MTczMDg5OTk5OC4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><iframe height="1" width="1" style="position: absolute; top: 0px; left: 0px; border: none; visibility: hidden;"></iframe>













<span class="globalAction"><span class="globalAction-bar"></span><span class="globalAction-block"><i></i><i></i><i></i></span></span></body></html>