a lot
8
404.html
@ -15,19 +15,13 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
||||
|
||||
|
||||
<script src='https://cdn.jsdelivr.net/npm/@widgetbot/crate@3' async defer>
|
||||
new Crate({
|
||||
server: '1148719137238040606', // Selenite
|
||||
channel: '1173731814196645909', // #commands
|
||||
color: getComputedStyle(document.body).getPropertyValue("--uibg")
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
<!-- seo + other things -->
|
||||
|
12
about.html
@ -14,6 +14,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
@ -33,7 +34,7 @@
|
||||
<script></script>
|
||||
</head>
|
||||
|
||||
<body id="noscroll">
|
||||
<body>
|
||||
<header>
|
||||
<a href="/index.html">Home</a>
|
||||
<a href="/bookmarklets.html">Bookmarklets</a>
|
||||
@ -45,7 +46,7 @@
|
||||
<p id="time">00:00 AM</p>
|
||||
</div>
|
||||
</header>
|
||||
<main id="main" class="noscroll">
|
||||
<main id="main">
|
||||
<h1>About Selenite</h1>
|
||||
<p style="padding-left: 100px; padding-right: 100px; padding-bottom: 20px">Selenite is a unblocked games website with over 200 games, with a simple tab cloak. Selenite was started as a small project started on Padlet, shared between friends. After ~1 month, we transferred to a custom made website. After a few rebrandings and redesigns, we've ended up at the Selenite you know and love (unless you work at a school).</p>
|
||||
|
||||
@ -53,7 +54,6 @@
|
||||
<p><a href="https://jquery.com/">jQuery</a>: a lot of the more technical stuff.</p>
|
||||
<p><a href="https://github.com/js-cookie/js-cookie/">js-cookie</a>: working with cookies.</p>
|
||||
<p><a href="https://shoelace.style">Shoelace</a>: a lot of smaller styling, such as the safe mode alert</p>
|
||||
<p><a href="https://necolas.github.io/normalize.css/">Normalize.css</a>: normalizes css across different browsers</p>
|
||||
<p><a href="https://www.bootcss.com/">Bootstrap</a>: useful as a base for some smaller, styling such as the new games popup</p>
|
||||
<p><a href="https://3kh0.net">3kh0</a>: a lot of games, the download/upload save feature, and the main inspiration</p>
|
||||
<p><a href="/backgrounds.html">View Background Credits</a></p>
|
||||
@ -66,7 +66,7 @@
|
||||
>
|
||||
<a href="https://codeberg.org/LEGALISE_PIRACY"
|
||||
><sl-avatar image="/img/pfps/legalise.webp" label="LEGALISE_PIRACY"></sl-avatar>
|
||||
<p>LEGALLISE</p></a
|
||||
<p>LEGALISE</p></a
|
||||
>
|
||||
<a href="https://github.com/a456pur"
|
||||
><sl-avatar image="/img/pfps/astra.webp" label="a456pur"></sl-avatar>
|
||||
@ -89,7 +89,7 @@
|
||||
<p>ayo</p></a
|
||||
>
|
||||
<a class="avatar" href="https://discord.com/users/510677660775743500"
|
||||
><sl-avatar image="/img/pfps/astra.webp" label="ayo"></sl-avatar>
|
||||
><sl-avatar image="/img/pfps/astra.webp" label="astra"></sl-avatar>
|
||||
<p>a456pur</p></a
|
||||
>
|
||||
<a class="avatar" href="https://discord.com/users/724793658011811862"
|
||||
@ -103,7 +103,7 @@
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="noscroll">
|
||||
<footer>
|
||||
<a href="https://codeberg.org/skysthelimitt/selenite">Source</a>
|
||||
<a href="https://discord.gg/7jyufnwJNf">Discord</a>
|
||||
<a href="/suggest.html">Suggestions & Bugs</a>
|
||||
|
1
ad.html
@ -14,6 +14,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
@ -12,16 +12,11 @@
|
||||
<script src="/js/apps.js"></script>
|
||||
<script src="/js/search.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<script src="/js/cookie.js"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
|
||||
new Crate({
|
||||
server: '1148719137238040606', // Selenite
|
||||
channel: '1173731814196645909', // #commands
|
||||
color: getComputedStyle(document.body).getPropertyValue("--uibg")
|
||||
})
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
@ -14,6 +14,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
@ -15,6 +15,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": "1.0.4",
|
||||
"desc": "a few new games and new apps page",
|
||||
"timestamp": "1710174020"
|
||||
"desc": "a few new games and new apps page, alongside other fixes",
|
||||
"timestamp": "1711935359"
|
||||
}
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
"image": "cover.svg",
|
||||
"directory": "mind"
|
||||
},
|
||||
{
|
||||
"name": "House of Hazards",
|
||||
"image": "favicon.ico",
|
||||
"directory": "houseofhazards"
|
||||
},
|
||||
{
|
||||
"name": "Shape Shipper",
|
||||
"image": "cover.svg",
|
||||
|
BIN
img/backgrounds/bgs_theme.png
Normal file
After Width: | Height: | Size: 73 KiB |
10
index.html
@ -14,6 +14,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<script src="/js/randomquote.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
@ -21,13 +22,7 @@
|
||||
|
||||
|
||||
|
||||
<script src='https://cdn.jsdelivr.net/npm/@widgetbot/crate@3' async defer>
|
||||
new Crate({
|
||||
server: '1148719137238040606', // Selenite
|
||||
channel: '1173731814196645909', // #commands
|
||||
color: getComputedStyle(document.body).getPropertyValue("--uibg")
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<!-- seo + other things -->
|
||||
@ -76,6 +71,7 @@
|
||||
</div>
|
||||
<BR>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
const adContainers = document.querySelectorAll("[id=adcontainer]");
|
||||
|
123
js/main.js
@ -1,6 +1,6 @@
|
||||
|
||||
var interval;
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
initTime();
|
||||
if (localStorage.getItem("theme")) {
|
||||
localStorage.setItem("selenite.theme", localStorage.getItem("theme"));
|
||||
localStorage.removeItem("theme");
|
||||
@ -18,12 +18,13 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
const iconSetting = document.querySelector("input#discordIcon");
|
||||
const blockClose = document.querySelector("input#blockClose");
|
||||
const openBlank = document.getElementById("blank");
|
||||
if (document.querySelector("widgetbot-crate")) {
|
||||
if (localStorage.getItem("selenite.discordIcon") == "true") {
|
||||
const widget = document.querySelector("widgetbot-crate");
|
||||
widget.setAttribute("style", "display:none");
|
||||
}
|
||||
}
|
||||
const bgTheme = document.querySelector("input#bgTheme");
|
||||
// if (document.querySelector("widgetbot-crate")) {
|
||||
// if (localStorage.getItem("selenite.discordIcon") == "true") {
|
||||
// const widget = document.querySelector("widgetbot-crate");
|
||||
// widget.setAttribute("style", "display:none");
|
||||
// }
|
||||
// }
|
||||
if (document.querySelector("input#discordIcon")) {
|
||||
if (localStorage.getItem("selenite.discordIcon") == "true") {
|
||||
iconSetting.checked = true;
|
||||
@ -48,6 +49,9 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
localStorage.setItem("selenite.tabDisguise", tabDisguise.checked);
|
||||
});
|
||||
}
|
||||
if (document.querySelector("input#bgTheme")) {
|
||||
bgTheme.checked = true;
|
||||
}
|
||||
document.getElementById("blank").addEventListener("click", () => {
|
||||
win = window.open();
|
||||
win.document.body.style.margin = "0";
|
||||
@ -71,14 +75,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
$(".caraxle").prop({ href: `javascript:${encodeURI(data)}` });
|
||||
});
|
||||
}
|
||||
if(document.body) {
|
||||
for(let i = 0;i<10;i++) {
|
||||
setTimeout(() => {
|
||||
crate.options.color = getComputedStyle(document.body).getPropertyValue("--uibg");
|
||||
}, 100)
|
||||
}
|
||||
}
|
||||
|
||||
initTime();
|
||||
});
|
||||
function setPanicMode() {
|
||||
if (!$("#panic").val().startsWith("https")) {
|
||||
@ -117,42 +114,80 @@ function delPassword() {
|
||||
}
|
||||
|
||||
function getCurrentTime() {
|
||||
const n = document.getElementById("time");
|
||||
const n = document.getElementById("time");
|
||||
|
||||
fetch("https://worldtimeapi.org/api/ip")
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const t = new Date(data.utc_datetime);
|
||||
const formattedTime = t.toLocaleTimeString(undefined, {
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
second: "numeric",
|
||||
hour12: true
|
||||
});
|
||||
n.textContent = formattedTime;
|
||||
})
|
||||
.catch(() => {
|
||||
|
||||
const currentTime = new Date();
|
||||
const formattedTime = currentTime.toLocaleTimeString(undefined, {
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
second: "numeric",
|
||||
hour12: true
|
||||
});
|
||||
n.textContent = formattedTime;
|
||||
});
|
||||
fetch("https://worldtimeapi.org/api/ip")
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
const t = new Date(data.utc_datetime);
|
||||
const formattedTime = t.toLocaleTimeString(undefined, {
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
second: "numeric",
|
||||
hour12: true,
|
||||
});
|
||||
n.textContent = formattedTime;
|
||||
})
|
||||
.catch(() => {
|
||||
const currentTime = new Date();
|
||||
const formattedTime = currentTime.toLocaleTimeString(undefined, {
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
second: "numeric",
|
||||
hour12: true,
|
||||
});
|
||||
n.textContent = formattedTime;
|
||||
});
|
||||
}
|
||||
|
||||
getCurrentTime();
|
||||
setInterval(getCurrentTime, 900);
|
||||
|
||||
$(function() { $('.game').on('error', function() { $(this).attr('src', decodeURIComponent(atob('aHR0cHM6Ly93ZWIuYXJjaGl2ZS5vcmcvd2ViLzIwMjQwMzEyMDA1NTQ3aWZfL2h0dHBzOi8vbmF0ZS1nYW1lcy5jb20vc3RhdGljL2ltYWdlLXBsYWNlaG9sZGVyLnN2Zw=='))); }); });
|
||||
$(document).ready(function(){if(!window.location.href.startsWith('about:')){$("#webicon").attr("placeholder",window.location.href.replace(/\/[^\/]*$/,'/'));}});
|
||||
function loadScript(a,b){var c=document.createElement("script");c.type="text/javascript",c.src=a,c.onload=b,document.head.appendChild(c)}loadScript("https://cdn.jsdelivr.net/gh/proudparrot2/quick.js/quick.js",function(){console.log("Script loaded successfully.");function getRandomNumber(){return Math.floor(1e6*Math.random())+1}if(1===getRandomNumber()){var a=_.get(".chan");_.edit(a,"selentine.")}});
|
||||
function loadUnderscore(e){var t=document.createElement("script");t.src="https://underscorejs.org/underscore-min.js",t.onload=e,document.head.appendChild(t)}function updatePlaceholder(){var e=document.title,t=document.getElementById("webname");t.placeholder=_.escape(e)}loadUnderscore(function(){updatePlaceholder()});setInterval(function(){var e=document.title,t=document.getElementById("webname").getAttribute("data-title");e!==t&&(updatePlaceholder(),document.getElementById("webname").setAttribute("data-title",e))},1e3);
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
if (!window.location.href.startsWith("about:")) {
|
||||
$("#webicon").attr("placeholder", window.location.href.replace(/\/[^\/]*$/, "/"));
|
||||
}
|
||||
});
|
||||
function loadScript(a, b) {
|
||||
var c = document.createElement("script");
|
||||
(c.type = "text/javascript"), (c.src = a), (c.onload = b), document.head.appendChild(c);
|
||||
}
|
||||
function toast(message, onclick) {
|
||||
const toast = document.createElement("div");
|
||||
toast.setAttribute("id", "toast");
|
||||
console.log(message.time);
|
||||
toast.innerHTML = `<div class=samerow><h1>${message.title}${message.time ? ` - ${timeAgo(new Date(message.time * 1000))}` : ""}</h1></div><p>${message.message}</p>`;
|
||||
toast.style.animation = "toastFade 6s";
|
||||
document.body.appendChild(toast);
|
||||
if(onclick){
|
||||
toast.addEventListener("click", onclick);
|
||||
toast.style.cursor = 'pointer';
|
||||
}
|
||||
setTimeout(() => {
|
||||
toast.remove();
|
||||
}, 6000);
|
||||
}
|
||||
function timeAgo(input) {
|
||||
const date = input instanceof Date ? input : new Date(input);
|
||||
const formatter = new Intl.RelativeTimeFormat("en");
|
||||
const ranges = {
|
||||
years: 3600 * 24 * 365,
|
||||
months: 3600 * 24 * 30,
|
||||
weeks: 3600 * 24 * 7,
|
||||
days: 3600 * 24,
|
||||
hours: 3600,
|
||||
minutes: 60,
|
||||
seconds: 1,
|
||||
};
|
||||
const secondsElapsed = (date.getTime() - Date.now()) / 1000;
|
||||
for (let key in ranges) {
|
||||
if (ranges[key] < Math.abs(secondsElapsed)) {
|
||||
const delta = secondsElapsed / ranges[key];
|
||||
return formatter.format(Math.round(delta), key);
|
||||
}
|
||||
}
|
||||
}
|
||||
let cookieConsentScript = document.createElement("script");
|
||||
cookieConsentScript.src = "/js/cookieConsent.js";
|
||||
document.head.appendChild(cookieConsentScript);
|
||||
|
25
js/widget.js
Normal file
@ -0,0 +1,25 @@
|
||||
let firstLoadWidget = 1;
|
||||
let widgetOpen = 0;
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
let button = document.createElement("button");
|
||||
button.setAttribute("id", "discord");
|
||||
document.body.appendChild(button);
|
||||
button.addEventListener("click", () => {
|
||||
if(firstLoadWidget) {
|
||||
toast({ title: "Do you want to load Discord?", message: "This may be blocked in certain schools.\nClick here to load Discord." }, loadWidget);
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
function loadWidget() {
|
||||
if(firstLoadWidget) {
|
||||
firstLoadWidget = 0;
|
||||
loadScript("https://cdn.jsdelivr.net/npm/@widgetbot/crate@3", loadCrate);
|
||||
}
|
||||
}
|
||||
function loadCrate() {
|
||||
new Crate({server: '1148719137238040606',channel: '1173731814196645909', color: "#00000000", glyph: ["data:;base64,=", "100%"]});
|
||||
crate.toggle(true);
|
||||
let element = document.querySelector('[aria-label="Discord chat embed"]');
|
||||
element.remove();
|
||||
}
|
@ -12,16 +12,11 @@
|
||||
<script src="/js/games.js"></script>
|
||||
<script src="/js/search.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<script src="/js/cookie.js"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
|
||||
new Crate({
|
||||
server: '1148719137238040606', // Selenite
|
||||
channel: '1173731814196645909', // #commands
|
||||
color: getComputedStyle(document.body).getPropertyValue("--uibg")
|
||||
})
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
|
||||
@ -43,32 +38,6 @@
|
||||
localStorage.setItem("selenite.version", data.version);
|
||||
}
|
||||
});
|
||||
function toast(message, type) {
|
||||
const toast = document.getElementById("toast");
|
||||
toast.innerHTML = `<div class=samerow><h1>${message.title} - ${timeAgo(new Date(message.time * 1000))}</h1></div><p>${message.message}</p>`;
|
||||
toast.style.animation = "toastFade 6s";
|
||||
}
|
||||
|
||||
function timeAgo(input) {
|
||||
const date = input instanceof Date ? input : new Date(input);
|
||||
const formatter = new Intl.RelativeTimeFormat("en");
|
||||
const ranges = {
|
||||
years: 3600 * 24 * 365,
|
||||
months: 3600 * 24 * 30,
|
||||
weeks: 3600 * 24 * 7,
|
||||
days: 3600 * 24,
|
||||
hours: 3600,
|
||||
minutes: 60,
|
||||
seconds: 1,
|
||||
};
|
||||
const secondsElapsed = (date.getTime() - Date.now()) / 1000;
|
||||
for (let key in ranges) {
|
||||
if (ranges[key] < Math.abs(secondsElapsed)) {
|
||||
const delta = secondsElapsed / ranges[key];
|
||||
return formatter.format(Math.round(delta), key);
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</alerts>
|
||||
<body>
|
||||
|
@ -31384,7 +31384,7 @@ function $rt_array(cls,data){this.h5=null;this.$id$=0;this.type=cls;this.data=da
|
||||
"random.door_close","mob.ghast.charge","mob.ghast.fireball","mob.zombie.wood","mob.zombie.metal","mob.zombie.woodbreak","mob.wither.shoot","mob.bat.takeoff","mob.zombie.infect","mob.zombie.unfect","random.anvil_break","random.anvil_use","game.potion.smash","fps | C: ",", E: ","textures/environment/moon_phases.png","textures/environment/sun.png","textures/environment/clouds.png","textures/environment/end_sky.png","textures/misc/forcefield.png","achievement.get","textures/gui/achievement/achievement_background.png",
|
||||
"Ticking Particle","Particle being ticked","Particle","Particle Type","Rendering Particle","Particle being rendered","textures/particle/particles.png","bossHealth","sleep","overlayMessage","titleAndSubtitle","chat","jumpBar","expBar","expLevel","selectedItemName","demo","demo.demoExpired","demo.remainingTime","number to skip cannot be negative","mountHealth","record.nowPlaying","textures/misc/vignette.png","textures/gui/widgets.png","textures/misc/pumpkinblur.png","Couldn\'t load server list","Couldn\'t save server list",
|
||||
"Server {} locked this client out on a previous connection, will not attempt to reconnect","MOTD","Sending {} query to: \"{}\"","Could not send query to \"{}\"!","Too Many Requests!\nTry again later","Server {} ratelimited this client out on a previous connection, assuming lockout","Edit Profile","editProfile.title","gui.done","editProfile.addSkin","editProfile.clearSkin","editProfile.username","editProfile.playerSkin","Steve","Alex","image/png","png","The selected file \'","\' is not a PNG file!","The selected image \'",
|
||||
"\' is not the right size!\nEaglercraft only supports 64x32 or 64x64 skins","eagler:gui/eagler_gui.png","background","Merry X-mas!","lax1dude","Made by lax1dude","Servers","Happy new year!","OOoooOOOoooo! Spooky!","Codeberg","menu.options","menu.editProfile","EaglercraftX u16","Singleplayer was removed dumbass","https://codeberg.org/skysthelimitt/selenite","Minecraft 1.12.2","Selenite Edition","only niggers respect copyright","Go Home","http://selenite.cc","gui.button.press",
|
||||
"\' is not the right size!\nEaglercraft only supports 64x32 or 64x64 skins","eagler:gui/eagler_gui.png","background","Merry X-mas!","lax1dude","Made by lax1dude","Servers","Happy new year!","OOoooOOOoooo! Spooky!","Codeberg","menu.options","menu.editProfile","EaglercraftX u16","Singleplayer was removed dumbass","https://codeberg.org/skysthelimitt/selenite","Minecraft 1.12.2","Selenite Edition","Go Home","http://selenite.cc","gui.button.press",
|
||||
"_blank","top=",",left=",",width=",",height=",",menubar=0,status=0,titlebar=0,toolbar=0","<html><head><title>EaglercraftX 1.8 Credits</title></head><body><pre>","</pre></body></html>","texts/splashes.txt","textures/gui/title/minecraft.png","textures/gui/title/background/panorama_0.png","textures/gui/title/background/panorama_1.png","textures/gui/title/background/panorama_2.png","textures/gui/title/background/panorama_3.png","textures/gui/title/background/panorama_4.png","textures/gui/title/background/panorama_5.png",
|
||||
"Connecting to: {}","Logging in: {}","Handshake Success","Handshake Failure","connect.failed","Connection Refused","Handshake Failure\n\nAre you sure this is an eagler 1.8 server?","gui.cancel","Aborted","connect.connecting","connect.authorizing","Handshake Failure: Too Many Requests!","Server has locked this client out","%.2f,%.2f,%.2f - %s","World: (%d,%d,%d)","(Error finding world loc)","Chunk: (at %d,%d,%d in %d,%d; contains blocks %d,0,%d to %d,255,%d)","(Error finding chunk loc)","Region: (%d,%d; contains chunks %d,%d to %d,%d, blocks %d,0,%d to %d,255,%d)",
|
||||
"~~NULL~~","~~ERROR~~ ","-- "," --\n","Details:","\n\t","\nStacktrace:","\n\tat ","Block type","Block data value","Block location","Wrong number of repetitions of X pattern at ","Multiple entries with same ","key","game.player.swim","game.player.swim.splash","random.drink","random.eat","naturalRegeneration","keepInventory","game.player.hurt","game.player.die","SelectedItemSlot","Sleeping","SleepTimer","XpP","XpLevel","XpTotal","XpSeed","Score","SpawnX","EnderItems","SelectedItem","SpawnY","SpawnZ","SpawnForced",
|
||||
|
BIN
semag/houseofhazards/Build/HouseOfHazardsPoki.data.unityweb
Normal file
16
semag/houseofhazards/Build/HouseOfHazardsPoki.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"companyName": "New Eich Games",
|
||||
"productName": "House of Hazards",
|
||||
"productVersion": "0.1",
|
||||
"dataUrl": "HouseOfHazardsPoki.data.unityweb",
|
||||
"wasmCodeUrl": "HouseOfHazardsPoki.wasm.code.unityweb",
|
||||
"wasmFrameworkUrl": "HouseOfHazardsPoki.wasm.framework.unityweb",
|
||||
"graphicsAPI": ["WebGL 2.0","WebGL 1.0"],
|
||||
"webglContextAttributes": {"preserveDrawingBuffer": false},
|
||||
"splashScreenStyle": "Dark",
|
||||
"backgroundColor": "#5FDEE7",
|
||||
"cacheControl": {"default": "must-revalidate"},
|
||||
"developmentBuild": false,
|
||||
"multithreading": false,
|
||||
"unityVersion": "2019.3.10f1"
|
||||
}
|
BIN
semag/houseofhazards/Build/HouseOfHazardsPoki.wasm.code.unityweb
Normal file
BIN
semag/houseofhazards/favicon.ico
Normal file
After Width: | Height: | Size: 25 KiB |
35
semag/houseofhazards/index.html
Normal file
@ -0,0 +1,35 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>House of Hazards</title>
|
||||
<script src="/js/all.js"></script>
|
||||
<script>
|
||||
window.config = {
|
||||
loader: 'unity',
|
||||
debug: false,
|
||||
maxRatio: 16 / 9,
|
||||
minRatio: 9 / 16,
|
||||
|
||||
title: 'House of Hazards',
|
||||
thumbnail: 'patch/png/null.png?https:\/\/img.poki.com\/0609b0ba2889859b21cf47ca205818fe.png',
|
||||
numScreenshots: 4 ,
|
||||
|
||||
unityVersion: '2019.3.10f1',
|
||||
unityWebglBuildUrl: 'Build\/HouseOfHazardsPoki.json',
|
||||
|
||||
fileSize: 12 ,
|
||||
cachedDecompressedFileSizes: {
|
||||
'HouseOfHazardsPoki.data.unityweb': 6247832 ,
|
||||
'HouseOfHazardsPoki.wasm.code.unityweb': 5830707 ,
|
||||
'HouseOfHazardsPoki.wasm.framework.unityweb': 89458 ,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<script src="patch/js/poki-master-loader.js"></script>
|
||||
</body>
|
||||
</html>
|
4
semag/houseofhazards/patch/cdn/jquery/jquery.3.1.1.min.js
vendored
Normal file
53
semag/houseofhazards/patch/cdn/phaser-ce/BlurX.js
Normal file
@ -0,0 +1,53 @@
|
||||
/**
|
||||
* A horizontal blur filter by Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
Phaser.Filter.BlurX = function (game) {
|
||||
|
||||
Phaser.Filter.call(this, game);
|
||||
|
||||
this.uniforms.blur = { type: '1f', value: 1 / 512 };
|
||||
|
||||
this.fragmentSrc = [
|
||||
|
||||
"precision mediump float;",
|
||||
"varying vec2 vTextureCoord;",
|
||||
"varying vec4 vColor;",
|
||||
"uniform float blur;",
|
||||
"uniform sampler2D uSampler;",
|
||||
|
||||
"void main(void) {",
|
||||
|
||||
"vec4 sum = vec4(0.0);",
|
||||
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x - 4.0*blur, vTextureCoord.y)) * 0.05;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x - 3.0*blur, vTextureCoord.y)) * 0.09;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x - 2.0*blur, vTextureCoord.y)) * 0.12;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x - blur, vTextureCoord.y)) * 0.15;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x + blur, vTextureCoord.y)) * 0.15;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x + 2.0*blur, vTextureCoord.y)) * 0.12;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x + 3.0*blur, vTextureCoord.y)) * 0.09;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x + 4.0*blur, vTextureCoord.y)) * 0.05;",
|
||||
|
||||
"gl_FragColor = sum;",
|
||||
|
||||
"}"
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
Phaser.Filter.BlurX.prototype = Object.create(Phaser.Filter.prototype);
|
||||
Phaser.Filter.BlurX.prototype.constructor = Phaser.Filter.BlurX;
|
||||
|
||||
Object.defineProperty(Phaser.Filter.BlurX.prototype, 'blur', {
|
||||
|
||||
get: function() {
|
||||
return this.uniforms.blur.value / (1/7000);
|
||||
},
|
||||
|
||||
set: function(value) {
|
||||
this.dirty = true;
|
||||
this.uniforms.blur.value = (1/7000) * value;
|
||||
}
|
||||
|
||||
});
|
54
semag/houseofhazards/patch/cdn/phaser-ce/BlurY.js
Normal file
@ -0,0 +1,54 @@
|
||||
/**
|
||||
* A vertical blur filter by Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
Phaser.Filter.BlurY = function (game) {
|
||||
|
||||
Phaser.Filter.call(this, game);
|
||||
|
||||
this.uniforms.blur = { type: '1f', value: 1 / 512 };
|
||||
|
||||
this.fragmentSrc = [
|
||||
|
||||
"precision mediump float;",
|
||||
"varying vec2 vTextureCoord;",
|
||||
"varying vec4 vColor;",
|
||||
"uniform float blur;",
|
||||
"uniform sampler2D uSampler;",
|
||||
|
||||
"void main(void) {",
|
||||
|
||||
"vec4 sum = vec4(0.0);",
|
||||
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 4.0*blur)) * 0.05;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 3.0*blur)) * 0.09;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 2.0*blur)) * 0.12;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - blur)) * 0.15;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + blur)) * 0.15;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 2.0*blur)) * 0.12;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 3.0*blur)) * 0.09;",
|
||||
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 4.0*blur)) * 0.05;",
|
||||
|
||||
"gl_FragColor = sum;",
|
||||
|
||||
"}"
|
||||
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
Phaser.Filter.BlurY.prototype = Object.create(Phaser.Filter.prototype);
|
||||
Phaser.Filter.BlurY.prototype.constructor = Phaser.Filter.BlurY;
|
||||
|
||||
Object.defineProperty(Phaser.Filter.BlurY.prototype, 'blur', {
|
||||
|
||||
get: function() {
|
||||
return this.uniforms.blur.value / (1/7000);
|
||||
},
|
||||
|
||||
set: function(value) {
|
||||
this.dirty = true;
|
||||
this.uniforms.blur.value = (1/7000) * value;
|
||||
}
|
||||
|
||||
});
|
45
semag/houseofhazards/patch/cdn/webfont/webfont.1.5.18.js
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2015 Small Batch, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
/* Web Font Loader v1.5.18 - (c) Adobe Systems, Google. License: Apache 2.0 */
|
||||
;(function(window,document,undefined){function aa(a,b,c){return a.call.apply(a.bind,arguments)}function ba(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function k(a,b,c){k=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?aa:ba;return k.apply(null,arguments)}var n=Date.now||function(){return+new Date};function q(a,b){this.K=a;this.w=b||a;this.G=this.w.document}q.prototype.createElement=function(a,b,c){a=this.G.createElement(a);if(b)for(var d in b)b.hasOwnProperty(d)&&("style"==d?a.style.cssText=b[d]:a.setAttribute(d,b[d]));c&&a.appendChild(this.G.createTextNode(c));return a};function r(a,b,c){a=a.G.getElementsByTagName(b)[0];a||(a=document.documentElement);a&&a.lastChild&&a.insertBefore(c,a.lastChild)}function ca(a,b){function c(){a.G.body?b():setTimeout(c,0)}c()}
|
||||
function s(a,b,c){b=b||[];c=c||[];for(var d=a.className.split(/\s+/),e=0;e<b.length;e+=1){for(var f=!1,g=0;g<d.length;g+=1)if(b[e]===d[g]){f=!0;break}f||d.push(b[e])}b=[];for(e=0;e<d.length;e+=1){f=!1;for(g=0;g<c.length;g+=1)if(d[e]===c[g]){f=!0;break}f||b.push(d[e])}a.className=b.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function t(a,b){for(var c=a.className.split(/\s+/),d=0,e=c.length;d<e;d++)if(c[d]==b)return!0;return!1}
|
||||
function u(a){if("string"===typeof a.na)return a.na;var b=a.w.location.protocol;"about:"==b&&(b=a.K.location.protocol);return"https:"==b?"https:":"http:"}function v(a,b){var c=a.createElement("link",{rel:"stylesheet",href:b,media:"all"}),d=!1;c.onload=function(){d||(d=!0)};c.onerror=function(){d||(d=!0)};r(a,"head",c)}
|
||||
function w(a,b,c,d){var e=a.G.getElementsByTagName("head")[0];if(e){var f=a.createElement("script",{src:b}),g=!1;f.onload=f.onreadystatechange=function(){g||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(g=!0,c&&c(null),f.onload=f.onreadystatechange=null,"HEAD"==f.parentNode.tagName&&e.removeChild(f))};e.appendChild(f);window.setTimeout(function(){g||(g=!0,c&&c(Error("Script load timeout")))},d||5E3);return f}return null};function x(a,b){this.Y=a;this.ga=b};function y(a,b,c,d){this.c=null!=a?a:null;this.g=null!=b?b:null;this.D=null!=c?c:null;this.e=null!=d?d:null}var da=/^([0-9]+)(?:[\._-]([0-9]+))?(?:[\._-]([0-9]+))?(?:[\._+-]?(.*))?$/;y.prototype.compare=function(a){return this.c>a.c||this.c===a.c&&this.g>a.g||this.c===a.c&&this.g===a.g&&this.D>a.D?1:this.c<a.c||this.c===a.c&&this.g<a.g||this.c===a.c&&this.g===a.g&&this.D<a.D?-1:0};y.prototype.toString=function(){return[this.c,this.g||"",this.D||"",this.e||""].join("")};
|
||||
function z(a){a=da.exec(a);var b=null,c=null,d=null,e=null;a&&(null!==a[1]&&a[1]&&(b=parseInt(a[1],10)),null!==a[2]&&a[2]&&(c=parseInt(a[2],10)),null!==a[3]&&a[3]&&(d=parseInt(a[3],10)),null!==a[4]&&a[4]&&(e=/^[0-9]+$/.test(a[4])?parseInt(a[4],10):a[4]));return new y(b,c,d,e)};function A(a,b,c,d,e,f,g,h){this.N=a;this.k=h}A.prototype.getName=function(){return this.N};function B(a){this.a=a}var ea=new A("Unknown",0,0,0,0,0,0,new x(!1,!1));
|
||||
B.prototype.parse=function(){var a;if(-1!=this.a.indexOf("MSIE")||-1!=this.a.indexOf("Trident/")){a=C(this);var b=z(D(this)),c=null,d=E(this.a,/Trident\/([\d\w\.]+)/,1),c=-1!=this.a.indexOf("MSIE")?z(E(this.a,/MSIE ([\d\w\.]+)/,1)):z(E(this.a,/rv:([\d\w\.]+)/,1));""!=d&&z(d);a=new A("MSIE",0,0,0,0,0,0,new x("Windows"==a&&6<=c.c||"Windows Phone"==a&&8<=b.c,!1))}else if(-1!=this.a.indexOf("Opera"))a:if(a=z(E(this.a,/Presto\/([\d\w\.]+)/,1)),z(D(this)),null!==a.c||z(E(this.a,/rv:([^\)]+)/,1)),-1!=this.a.indexOf("Opera Mini/"))a=
|
||||
z(E(this.a,/Opera Mini\/([\d\.]+)/,1)),a=new A("OperaMini",0,0,0,C(this),0,0,new x(!1,!1));else{if(-1!=this.a.indexOf("Version/")&&(a=z(E(this.a,/Version\/([\d\.]+)/,1)),null!==a.c)){a=new A("Opera",0,0,0,C(this),0,0,new x(10<=a.c,!1));break a}a=z(E(this.a,/Opera[\/ ]([\d\.]+)/,1));a=null!==a.c?new A("Opera",0,0,0,C(this),0,0,new x(10<=a.c,!1)):new A("Opera",0,0,0,C(this),0,0,new x(!1,!1))}else/OPR\/[\d.]+/.test(this.a)?a=F(this):/AppleWeb(K|k)it/.test(this.a)?a=F(this):-1!=this.a.indexOf("Gecko")?
|
||||
(a="Unknown",b=new y,z(D(this)),b=!1,-1!=this.a.indexOf("Firefox")?(a="Firefox",b=z(E(this.a,/Firefox\/([\d\w\.]+)/,1)),b=3<=b.c&&5<=b.g):-1!=this.a.indexOf("Mozilla")&&(a="Mozilla"),c=z(E(this.a,/rv:([^\)]+)/,1)),b||(b=1<c.c||1==c.c&&9<c.g||1==c.c&&9==c.g&&2<=c.D),a=new A(a,0,0,0,C(this),0,0,new x(b,!1))):a=ea;return a};
|
||||
function C(a){var b=E(a.a,/(iPod|iPad|iPhone|Android|Windows Phone|BB\d{2}|BlackBerry)/,1);if(""!=b)return/BB\d{2}/.test(b)&&(b="BlackBerry"),b;a=E(a.a,/(Linux|Mac_PowerPC|Macintosh|Windows|CrOS|PlayStation|CrKey)/,1);return""!=a?("Mac_PowerPC"==a?a="Macintosh":"PlayStation"==a&&(a="Linux"),a):"Unknown"}
|
||||
function D(a){var b=E(a.a,/(OS X|Windows NT|Android) ([^;)]+)/,2);if(b||(b=E(a.a,/Windows Phone( OS)? ([^;)]+)/,2))||(b=E(a.a,/(iPhone )?OS ([\d_]+)/,2)))return b;if(b=E(a.a,/(?:Linux|CrOS|CrKey) ([^;)]+)/,1))for(var b=b.split(/\s/),c=0;c<b.length;c+=1)if(/^[\d\._]+$/.test(b[c]))return b[c];return(a=E(a.a,/(BB\d{2}|BlackBerry).*?Version\/([^\s]*)/,2))?a:"Unknown"}
|
||||
function F(a){var b=C(a),c=z(D(a)),d=z(E(a.a,/AppleWeb(?:K|k)it\/([\d\.\+]+)/,1)),e="Unknown",f=new y,f="Unknown",g=!1;/OPR\/[\d.]+/.test(a.a)?e="Opera":-1!=a.a.indexOf("Chrome")||-1!=a.a.indexOf("CrMo")||-1!=a.a.indexOf("CriOS")?e="Chrome":/Silk\/\d/.test(a.a)?e="Silk":"BlackBerry"==b||"Android"==b?e="BuiltinBrowser":-1!=a.a.indexOf("PhantomJS")?e="PhantomJS":-1!=a.a.indexOf("Safari")?e="Safari":-1!=a.a.indexOf("AdobeAIR")?e="AdobeAIR":-1!=a.a.indexOf("PlayStation")&&(e="BuiltinBrowser");"BuiltinBrowser"==
|
||||
e?f="Unknown":"Silk"==e?f=E(a.a,/Silk\/([\d\._]+)/,1):"Chrome"==e?f=E(a.a,/(Chrome|CrMo|CriOS)\/([\d\.]+)/,2):-1!=a.a.indexOf("Version/")?f=E(a.a,/Version\/([\d\.\w]+)/,1):"AdobeAIR"==e?f=E(a.a,/AdobeAIR\/([\d\.]+)/,1):"Opera"==e?f=E(a.a,/OPR\/([\d.]+)/,1):"PhantomJS"==e&&(f=E(a.a,/PhantomJS\/([\d.]+)/,1));f=z(f);g="AdobeAIR"==e?2<f.c||2==f.c&&5<=f.g:"BlackBerry"==b?10<=c.c:"Android"==b?2<c.c||2==c.c&&1<c.g:526<=d.c||525<=d.c&&13<=d.g;return new A(e,0,0,0,0,0,0,new x(g,536>d.c||536==d.c&&11>d.g))}
|
||||
function E(a,b,c){return(a=a.match(b))&&a[c]?a[c]:""};function G(a){this.ma=a||"-"}G.prototype.e=function(a){for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c].replace(/[\W_]+/g,"").toLowerCase());return b.join(this.ma)};function H(a,b){this.N=a;this.Z=4;this.O="n";var c=(b||"n4").match(/^([nio])([1-9])$/i);c&&(this.O=c[1],this.Z=parseInt(c[2],10))}H.prototype.getName=function(){return this.N};function I(a){return a.O+a.Z}function ga(a){var b=4,c="n",d=null;a&&((d=a.match(/(normal|oblique|italic)/i))&&d[1]&&(c=d[1].substr(0,1).toLowerCase()),(d=a.match(/([1-9]00|normal|bold)/i))&&d[1]&&(/bold/i.test(d[1])?b=7:/[1-9]00/.test(d[1])&&(b=parseInt(d[1].substr(0,1),10))));return c+b};function ha(a,b){this.d=a;this.q=a.w.document.documentElement;this.Q=b;this.j="wf";this.h=new G("-");this.ha=!1!==b.events;this.F=!1!==b.classes}function J(a){if(a.F){var b=t(a.q,a.h.e(a.j,"active")),c=[],d=[a.h.e(a.j,"loading")];b||c.push(a.h.e(a.j,"inactive"));s(a.q,c,d)}K(a,"inactive")}function K(a,b,c){if(a.ha&&a.Q[b])if(c)a.Q[b](c.getName(),I(c));else a.Q[b]()};function ia(){this.C={}};function L(a,b){this.d=a;this.I=b;this.o=this.d.createElement("span",{"aria-hidden":"true"},this.I)}
|
||||
function M(a,b){var c=a.o,d;d=[];for(var e=b.N.split(/,\s*/),f=0;f<e.length;f++){var g=e[f].replace(/['"]/g,"");-1==g.indexOf(" ")?d.push(g):d.push("'"+g+"'")}d=d.join(",");e="normal";"o"===b.O?e="oblique":"i"===b.O&&(e="italic");c.style.cssText="display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+d+";"+("font-style:"+e+";font-weight:"+(b.Z+"00")+";")}
|
||||
function N(a){r(a.d,"body",a.o)}L.prototype.remove=function(){var a=this.o;a.parentNode&&a.parentNode.removeChild(a)};function O(a,b,c,d,e,f,g,h){this.$=a;this.ka=b;this.d=c;this.m=d;this.k=e;this.I=h||"BESbswy";this.v={};this.X=f||3E3;this.ca=g||null;this.H=this.u=this.t=null;this.t=new L(this.d,this.I);this.u=new L(this.d,this.I);this.H=new L(this.d,this.I);M(this.t,new H("serif",I(this.m)));M(this.u,new H("sans-serif",I(this.m)));M(this.H,new H("monospace",I(this.m)));N(this.t);N(this.u);N(this.H);this.v.serif=this.t.o.offsetWidth;this.v["sans-serif"]=this.u.o.offsetWidth;this.v.monospace=this.H.o.offsetWidth}
|
||||
var P={sa:"serif",ra:"sans-serif",qa:"monospace"};O.prototype.start=function(){this.oa=n();M(this.t,new H(this.m.getName()+",serif",I(this.m)));M(this.u,new H(this.m.getName()+",sans-serif",I(this.m)));Q(this)};function R(a,b,c){for(var d in P)if(P.hasOwnProperty(d)&&b===a.v[P[d]]&&c===a.v[P[d]])return!0;return!1}
|
||||
function Q(a){var b=a.t.o.offsetWidth,c=a.u.o.offsetWidth;b===a.v.serif&&c===a.v["sans-serif"]||a.k.ga&&R(a,b,c)?n()-a.oa>=a.X?a.k.ga&&R(a,b,c)&&(null===a.ca||a.ca.hasOwnProperty(a.m.getName()))?S(a,a.$):S(a,a.ka):ja(a):S(a,a.$)}function ja(a){setTimeout(k(function(){Q(this)},a),50)}function S(a,b){a.t.remove();a.u.remove();a.H.remove();b(a.m)};function T(a,b,c,d){this.d=b;this.A=c;this.S=0;this.ea=this.ba=!1;this.X=d;this.k=a.k}function ka(a,b,c,d,e){c=c||{};if(0===b.length&&e)J(a.A);else for(a.S+=b.length,e&&(a.ba=e),e=0;e<b.length;e++){var f=b[e],g=c[f.getName()],h=a.A,m=f;h.F&&s(h.q,[h.h.e(h.j,m.getName(),I(m).toString(),"loading")]);K(h,"fontloading",m);h=null;h=new O(k(a.ia,a),k(a.ja,a),a.d,f,a.k,a.X,d,g);h.start()}}
|
||||
T.prototype.ia=function(a){var b=this.A;b.F&&s(b.q,[b.h.e(b.j,a.getName(),I(a).toString(),"active")],[b.h.e(b.j,a.getName(),I(a).toString(),"loading"),b.h.e(b.j,a.getName(),I(a).toString(),"inactive")]);K(b,"fontactive",a);this.ea=!0;la(this)};
|
||||
T.prototype.ja=function(a){var b=this.A;if(b.F){var c=t(b.q,b.h.e(b.j,a.getName(),I(a).toString(),"active")),d=[],e=[b.h.e(b.j,a.getName(),I(a).toString(),"loading")];c||d.push(b.h.e(b.j,a.getName(),I(a).toString(),"inactive"));s(b.q,d,e)}K(b,"fontinactive",a);la(this)};function la(a){0==--a.S&&a.ba&&(a.ea?(a=a.A,a.F&&s(a.q,[a.h.e(a.j,"active")],[a.h.e(a.j,"loading"),a.h.e(a.j,"inactive")]),K(a,"active")):J(a.A))};function U(a){this.K=a;this.B=new ia;this.pa=new B(a.navigator.userAgent);this.a=this.pa.parse();this.U=this.V=0;this.R=this.T=!0}
|
||||
U.prototype.load=function(a){this.d=new q(this.K,a.context||this.K);this.T=!1!==a.events;this.R=!1!==a.classes;var b=new ha(this.d,a),c=[],d=a.timeout;b.F&&s(b.q,[b.h.e(b.j,"loading")]);K(b,"loading");var c=this.B,e=this.d,f=[],g;for(g in a)if(a.hasOwnProperty(g)){var h=c.C[g];h&&f.push(h(a[g],e))}c=f;this.U=this.V=c.length;a=new T(this.a,this.d,b,d);d=0;for(g=c.length;d<g;d++)e=c[d],e.L(this.a,k(this.la,this,e,b,a))};
|
||||
U.prototype.la=function(a,b,c,d){var e=this;d?a.load(function(a,b,d){ma(e,c,a,b,d)}):(a=0==--this.V,this.U--,a&&0==this.U?J(b):(this.R||this.T)&&ka(c,[],{},null,a))};function ma(a,b,c,d,e){var f=0==--a.V;(a.R||a.T)&&setTimeout(function(){ka(b,c,d||null,e||null,f)},0)};function na(a,b,c){this.P=a?a:b+oa;this.s=[];this.W=[];this.fa=c||""}var oa="//fonts.googleapis.com/css";na.prototype.e=function(){if(0==this.s.length)throw Error("No fonts to load!");if(-1!=this.P.indexOf("kit="))return this.P;for(var a=this.s.length,b=[],c=0;c<a;c++)b.push(this.s[c].replace(/ /g,"+"));a=this.P+"?family="+b.join("%7C");0<this.W.length&&(a+="&subset="+this.W.join(","));0<this.fa.length&&(a+="&text="+encodeURIComponent(this.fa));return a};function pa(a){this.s=a;this.da=[];this.M={}}
|
||||
var qa={latin:"BESbswy",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},ra={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},sa={i:"i",italic:"i",n:"n",normal:"n"},ta=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
|
||||
pa.prototype.parse=function(){for(var a=this.s.length,b=0;b<a;b++){var c=this.s[b].split(":"),d=c[0].replace(/\+/g," "),e=["n4"];if(2<=c.length){var f;var g=c[1];f=[];if(g)for(var g=g.split(","),h=g.length,m=0;m<h;m++){var l;l=g[m];if(l.match(/^[\w-]+$/)){l=ta.exec(l.toLowerCase());var p=void 0;if(null==l)p="";else{p=void 0;p=l[1];if(null==p||""==p)p="4";else var fa=ra[p],p=fa?fa:isNaN(p)?"4":p.substr(0,1);l=l[2];p=[null==l||""==l?"n":sa[l],p].join("")}l=p}else l="";l&&f.push(l)}0<f.length&&(e=f);
|
||||
3==c.length&&(c=c[2],f=[],c=c?c.split(","):f,0<c.length&&(c=qa[c[0]])&&(this.M[d]=c))}this.M[d]||(c=qa[d])&&(this.M[d]=c);for(c=0;c<e.length;c+=1)this.da.push(new H(d,e[c]))}};function V(a,b){this.a=(new B(navigator.userAgent)).parse();this.d=a;this.f=b}var ua={Arimo:!0,Cousine:!0,Tinos:!0};V.prototype.L=function(a,b){b(a.k.Y)};V.prototype.load=function(a){var b=this.d;"MSIE"==this.a.getName()&&1!=this.f.blocking?ca(b,k(this.aa,this,a)):this.aa(a)};
|
||||
V.prototype.aa=function(a){for(var b=this.d,c=new na(this.f.api,u(b),this.f.text),d=this.f.families,e=d.length,f=0;f<e;f++){var g=d[f].split(":");3==g.length&&c.W.push(g.pop());var h="";2==g.length&&""!=g[1]&&(h=":");c.s.push(g.join(h))}d=new pa(d);d.parse();v(b,c.e());a(d.da,d.M,ua)};function W(a,b){this.d=a;this.f=b;this.p=[]}W.prototype.J=function(a){var b=this.d;return u(this.d)+(this.f.api||"//f.fontdeck.com/s/css/js/")+(b.w.location.hostname||b.K.location.hostname)+"/"+a+".js"};
|
||||
W.prototype.L=function(a,b){var c=this.f.id,d=this.d.w,e=this;c?(d.__webfontfontdeckmodule__||(d.__webfontfontdeckmodule__={}),d.__webfontfontdeckmodule__[c]=function(a,c){for(var d=0,m=c.fonts.length;d<m;++d){var l=c.fonts[d];e.p.push(new H(l.name,ga("font-weight:"+l.weight+";font-style:"+l.style)))}b(a)},w(this.d,this.J(c),function(a){a&&b(!1)})):b(!1)};W.prototype.load=function(a){a(this.p)};function X(a,b){this.d=a;this.f=b;this.p=[]}X.prototype.J=function(a){var b=u(this.d);return(this.f.api||b+"//use.typekit.net")+"/"+a+".js"};X.prototype.L=function(a,b){var c=this.f.id,d=this.d.w,e=this;c?w(this.d,this.J(c),function(a){if(a)b(!1);else{if(d.Typekit&&d.Typekit.config&&d.Typekit.config.fn){a=d.Typekit.config.fn;for(var c=0;c<a.length;c+=2)for(var h=a[c],m=a[c+1],l=0;l<m.length;l++)e.p.push(new H(h,m[l]));try{d.Typekit.load({events:!1,classes:!1})}catch(p){}}b(!0)}},2E3):b(!1)};
|
||||
X.prototype.load=function(a){a(this.p)};function Y(a,b){this.d=a;this.f=b;this.p=[]}Y.prototype.L=function(a,b){var c=this,d=c.f.projectId,e=c.f.version;if(d){var f=c.d.w;w(this.d,c.J(d,e),function(e){if(e)b(!1);else{if(f["__mti_fntLst"+d]&&(e=f["__mti_fntLst"+d]()))for(var h=0;h<e.length;h++)c.p.push(new H(e[h].fontfamily));b(a.k.Y)}}).id="__MonotypeAPIScript__"+d}else b(!1)};Y.prototype.J=function(a,b){var c=u(this.d),d=(this.f.api||"fast.fonts.net/jsapi").replace(/^.*http(s?):(\/\/)?/,"");return c+"//"+d+"/"+a+".js"+(b?"?v="+b:"")};
|
||||
Y.prototype.load=function(a){a(this.p)};function Z(a,b){this.d=a;this.f=b}Z.prototype.load=function(a){var b,c,d=this.f.urls||[],e=this.f.families||[],f=this.f.testStrings||{};b=0;for(c=d.length;b<c;b++)v(this.d,d[b]);d=[];b=0;for(c=e.length;b<c;b++){var g=e[b].split(":");if(g[1])for(var h=g[1].split(","),m=0;m<h.length;m+=1)d.push(new H(g[0],h[m]));else d.push(new H(g[0]))}a(d,f)};Z.prototype.L=function(a,b){return b(a.k.Y)};var $=new U(this);$.B.C.custom=function(a,b){return new Z(b,a)};$.B.C.fontdeck=function(a,b){return new W(b,a)};$.B.C.monotype=function(a,b){return new Y(b,a)};$.B.C.typekit=function(a,b){return new X(b,a)};$.B.C.google=function(a,b){return new V(b,a)};this.WebFont||(this.WebFont={},this.WebFont.load=k($.load,$),this.WebFontConfig&&$.load(this.WebFontConfig));})(this,document);
|
||||
|
33
semag/houseofhazards/patch/cdn/webfont/webfont.1.6.26.js
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright 2016 Small Batch, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
/* Web Font Loader v1.6.26 - (c) Adobe Systems, Google. License: Apache 2.0 */(function(){function aa(a,b,c){return a.call.apply(a.bind,arguments)}function ba(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function p(a,b,c){p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?aa:ba;return p.apply(null,arguments)}var q=Date.now||function(){return+new Date};function ca(a,b){this.a=a;this.m=b||a;this.c=this.m.document}var da=!!window.FontFace;function t(a,b,c,d){b=a.c.createElement(b);if(c)for(var e in c)c.hasOwnProperty(e)&&("style"==e?b.style.cssText=c[e]:b.setAttribute(e,c[e]));d&&b.appendChild(a.c.createTextNode(d));return b}function u(a,b,c){a=a.c.getElementsByTagName(b)[0];a||(a=document.documentElement);a.insertBefore(c,a.lastChild)}function v(a){a.parentNode&&a.parentNode.removeChild(a)}
|
||||
function w(a,b,c){b=b||[];c=c||[];for(var d=a.className.split(/\s+/),e=0;e<b.length;e+=1){for(var f=!1,g=0;g<d.length;g+=1)if(b[e]===d[g]){f=!0;break}f||d.push(b[e])}b=[];for(e=0;e<d.length;e+=1){f=!1;for(g=0;g<c.length;g+=1)if(d[e]===c[g]){f=!0;break}f||b.push(d[e])}a.className=b.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function y(a,b){for(var c=a.className.split(/\s+/),d=0,e=c.length;d<e;d++)if(c[d]==b)return!0;return!1}
|
||||
function z(a){if("string"===typeof a.f)return a.f;var b=a.m.location.protocol;"about:"==b&&(b=a.a.location.protocol);return"https:"==b?"https:":"http:"}function ea(a){return a.m.location.hostname||a.a.location.hostname}
|
||||
function A(a,b,c){function d(){k&&e&&f&&(k(g),k=null)}b=t(a,"link",{rel:"stylesheet",href:b,media:"all"});var e=!1,f=!0,g=null,k=c||null;da?(b.onload=function(){e=!0;d()},b.onerror=function(){e=!0;g=Error("Stylesheet failed to load");d()}):setTimeout(function(){e=!0;d()},0);u(a,"head",b)}
|
||||
function B(a,b,c,d){var e=a.c.getElementsByTagName("head")[0];if(e){var f=t(a,"script",{src:b}),g=!1;f.onload=f.onreadystatechange=function(){g||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(g=!0,c&&c(null),f.onload=f.onreadystatechange=null,"HEAD"==f.parentNode.tagName&&e.removeChild(f))};e.appendChild(f);setTimeout(function(){g||(g=!0,c&&c(Error("Script load timeout")))},d||5E3);return f}return null};function C(){this.a=0;this.c=null}function D(a){a.a++;return function(){a.a--;E(a)}}function F(a,b){a.c=b;E(a)}function E(a){0==a.a&&a.c&&(a.c(),a.c=null)};function G(a){this.a=a||"-"}G.prototype.c=function(a){for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c].replace(/[\W_]+/g,"").toLowerCase());return b.join(this.a)};function H(a,b){this.c=a;this.f=4;this.a="n";var c=(b||"n4").match(/^([nio])([1-9])$/i);c&&(this.a=c[1],this.f=parseInt(c[2],10))}function fa(a){return I(a)+" "+(a.f+"00")+" 300px "+J(a.c)}function J(a){var b=[];a=a.split(/,\s*/);for(var c=0;c<a.length;c++){var d=a[c].replace(/['"]/g,"");-1!=d.indexOf(" ")||/^\d/.test(d)?b.push("'"+d+"'"):b.push(d)}return b.join(",")}function K(a){return a.a+a.f}function I(a){var b="normal";"o"===a.a?b="oblique":"i"===a.a&&(b="italic");return b}
|
||||
function ga(a){var b=4,c="n",d=null;a&&((d=a.match(/(normal|oblique|italic)/i))&&d[1]&&(c=d[1].substr(0,1).toLowerCase()),(d=a.match(/([1-9]00|normal|bold)/i))&&d[1]&&(/bold/i.test(d[1])?b=7:/[1-9]00/.test(d[1])&&(b=parseInt(d[1].substr(0,1),10))));return c+b};function ha(a,b){this.c=a;this.f=a.m.document.documentElement;this.h=b;this.a=new G("-");this.j=!1!==b.events;this.g=!1!==b.classes}function ia(a){a.g&&w(a.f,[a.a.c("wf","loading")]);L(a,"loading")}function M(a){if(a.g){var b=y(a.f,a.a.c("wf","active")),c=[],d=[a.a.c("wf","loading")];b||c.push(a.a.c("wf","inactive"));w(a.f,c,d)}L(a,"inactive")}function L(a,b,c){if(a.j&&a.h[b])if(c)a.h[b](c.c,K(c));else a.h[b]()};function ja(){this.c={}}function ka(a,b,c){var d=[],e;for(e in b)if(b.hasOwnProperty(e)){var f=a.c[e];f&&d.push(f(b[e],c))}return d};function N(a,b){this.c=a;this.f=b;this.a=t(this.c,"span",{"aria-hidden":"true"},this.f)}function O(a){u(a.c,"body",a.a)}function P(a){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+J(a.c)+";"+("font-style:"+I(a)+";font-weight:"+(a.f+"00")+";")};function Q(a,b,c,d,e,f){this.g=a;this.j=b;this.a=d;this.c=c;this.f=e||3E3;this.h=f||void 0}Q.prototype.start=function(){var a=this.c.m.document,b=this,c=q(),d=new Promise(function(d,e){function k(){q()-c>=b.f?e():a.fonts.load(fa(b.a),b.h).then(function(a){1<=a.length?d():setTimeout(k,25)},function(){e()})}k()}),e=new Promise(function(a,d){setTimeout(d,b.f)});Promise.race([e,d]).then(function(){b.g(b.a)},function(){b.j(b.a)})};function R(a,b,c,d,e,f,g){this.v=a;this.B=b;this.c=c;this.a=d;this.s=g||"BESbswy";this.f={};this.w=e||3E3;this.u=f||null;this.o=this.j=this.h=this.g=null;this.g=new N(this.c,this.s);this.h=new N(this.c,this.s);this.j=new N(this.c,this.s);this.o=new N(this.c,this.s);a=new H(this.a.c+",serif",K(this.a));a=P(a);this.g.a.style.cssText=a;a=new H(this.a.c+",sans-serif",K(this.a));a=P(a);this.h.a.style.cssText=a;a=new H("serif",K(this.a));a=P(a);this.j.a.style.cssText=a;a=new H("sans-serif",K(this.a));a=
|
||||
P(a);this.o.a.style.cssText=a;O(this.g);O(this.h);O(this.j);O(this.o)}var S={D:"serif",C:"sans-serif"},T=null;function U(){if(null===T){var a=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);T=!!a&&(536>parseInt(a[1],10)||536===parseInt(a[1],10)&&11>=parseInt(a[2],10))}return T}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth;this.f["sans-serif"]=this.o.a.offsetWidth;this.A=q();la(this)};
|
||||
function ma(a,b,c){for(var d in S)if(S.hasOwnProperty(d)&&b===a.f[S[d]]&&c===a.f[S[d]])return!0;return!1}function la(a){var b=a.g.a.offsetWidth,c=a.h.a.offsetWidth,d;(d=b===a.f.serif&&c===a.f["sans-serif"])||(d=U()&&ma(a,b,c));d?q()-a.A>=a.w?U()&&ma(a,b,c)&&(null===a.u||a.u.hasOwnProperty(a.a.c))?V(a,a.v):V(a,a.B):na(a):V(a,a.v)}function na(a){setTimeout(p(function(){la(this)},a),50)}function V(a,b){setTimeout(p(function(){v(this.g.a);v(this.h.a);v(this.j.a);v(this.o.a);b(this.a)},a),0)};function W(a,b,c){this.c=a;this.a=b;this.f=0;this.o=this.j=!1;this.s=c}var X=null;W.prototype.g=function(a){var b=this.a;b.g&&w(b.f,[b.a.c("wf",a.c,K(a).toString(),"active")],[b.a.c("wf",a.c,K(a).toString(),"loading"),b.a.c("wf",a.c,K(a).toString(),"inactive")]);L(b,"fontactive",a);this.o=!0;oa(this)};
|
||||
W.prototype.h=function(a){var b=this.a;if(b.g){var c=y(b.f,b.a.c("wf",a.c,K(a).toString(),"active")),d=[],e=[b.a.c("wf",a.c,K(a).toString(),"loading")];c||d.push(b.a.c("wf",a.c,K(a).toString(),"inactive"));w(b.f,d,e)}L(b,"fontinactive",a);oa(this)};function oa(a){0==--a.f&&a.j&&(a.o?(a=a.a,a.g&&w(a.f,[a.a.c("wf","active")],[a.a.c("wf","loading"),a.a.c("wf","inactive")]),L(a,"active")):M(a.a))};function pa(a){this.j=a;this.a=new ja;this.h=0;this.f=this.g=!0}pa.prototype.load=function(a){this.c=new ca(this.j,a.context||this.j);this.g=!1!==a.events;this.f=!1!==a.classes;qa(this,new ha(this.c,a),a)};
|
||||
function ra(a,b,c,d,e){var f=0==--a.h;(a.f||a.g)&&setTimeout(function(){var a=e||null,k=d||null||{};if(0===c.length&&f)M(b.a);else{b.f+=c.length;f&&(b.j=f);var h,m=[];for(h=0;h<c.length;h++){var l=c[h],n=k[l.c],r=b.a,x=l;r.g&&w(r.f,[r.a.c("wf",x.c,K(x).toString(),"loading")]);L(r,"fontloading",x);r=null;null===X&&(X=window.FontFace?(x=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent))?42<parseInt(x[1],10):!0:!1);X?r=new Q(p(b.g,b),p(b.h,b),b.c,l,b.s,n):r=new R(p(b.g,b),p(b.h,b),b.c,l,b.s,a,
|
||||
n);m.push(r)}for(h=0;h<m.length;h++)m[h].start()}},0)}function qa(a,b,c){var d=[],e=c.timeout;ia(b);var d=ka(a.a,c,a.c),f=new W(a.c,b,e);a.h=d.length;b=0;for(c=d.length;b<c;b++)d[b].load(function(b,d,c){ra(a,f,b,d,c)})};function sa(a,b){this.c=a;this.a=b}function ta(a,b,c){var d=z(a.c);a=(a.a.api||"fast.fonts.net/jsapi").replace(/^.*http(s?):(\/\/)?/,"");return d+"//"+a+"/"+b+".js"+(c?"?v="+c:"")}
|
||||
sa.prototype.load=function(a){function b(){if(f["__mti_fntLst"+d]){var c=f["__mti_fntLst"+d](),e=[],h;if(c)for(var m=0;m<c.length;m++){var l=c[m].fontfamily;void 0!=c[m].fontStyle&&void 0!=c[m].fontWeight?(h=c[m].fontStyle+c[m].fontWeight,e.push(new H(l,h))):e.push(new H(l))}a(e)}else setTimeout(function(){b()},50)}var c=this,d=c.a.projectId,e=c.a.version;if(d){var f=c.c.m;B(this.c,ta(c,d,e),function(e){e?a([]):(f["__MonotypeConfiguration__"+d]=function(){return c.a},b())}).id="__MonotypeAPIScript__"+
|
||||
d}else a([])};function ua(a,b){this.c=a;this.a=b}ua.prototype.load=function(a){var b,c,d=this.a.urls||[],e=this.a.families||[],f=this.a.testStrings||{},g=new C;b=0;for(c=d.length;b<c;b++)A(this.c,d[b],D(g));var k=[];b=0;for(c=e.length;b<c;b++)if(d=e[b].split(":"),d[1])for(var h=d[1].split(","),m=0;m<h.length;m+=1)k.push(new H(d[0],h[m]));else k.push(new H(d[0]));F(g,function(){a(k,f)})};function va(a,b,c){a?this.c=a:this.c=b+wa;this.a=[];this.f=[];this.g=c||""}var wa="//fonts.googleapis.com/css";function xa(a,b){for(var c=b.length,d=0;d<c;d++){var e=b[d].split(":");3==e.length&&a.f.push(e.pop());var f="";2==e.length&&""!=e[1]&&(f=":");a.a.push(e.join(f))}}
|
||||
function ya(a){if(0==a.a.length)throw Error("No fonts to load!");if(-1!=a.c.indexOf("kit="))return a.c;for(var b=a.a.length,c=[],d=0;d<b;d++)c.push(a.a[d].replace(/ /g,"+"));b=a.c+"?family="+c.join("%7C");0<a.f.length&&(b+="&subset="+a.f.join(","));0<a.g.length&&(b+="&text="+encodeURIComponent(a.g));return b};function za(a){this.f=a;this.a=[];this.c={}}
|
||||
var Aa={latin:"BESbswy","latin-ext":"\u00e7\u00f6\u00fc\u011f\u015f",cyrillic:"\u0439\u044f\u0416",greek:"\u03b1\u03b2\u03a3",khmer:"\u1780\u1781\u1782",Hanuman:"\u1780\u1781\u1782"},Ba={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},Ca={i:"i",italic:"i",n:"n",normal:"n"},
|
||||
Da=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
|
||||
function Ea(a){for(var b=a.f.length,c=0;c<b;c++){var d=a.f[c].split(":"),e=d[0].replace(/\+/g," "),f=["n4"];if(2<=d.length){var g;var k=d[1];g=[];if(k)for(var k=k.split(","),h=k.length,m=0;m<h;m++){var l;l=k[m];if(l.match(/^[\w-]+$/)){var n=Da.exec(l.toLowerCase());if(null==n)l="";else{l=n[2];l=null==l||""==l?"n":Ca[l];n=n[1];if(null==n||""==n)n="4";else var r=Ba[n],n=r?r:isNaN(n)?"4":n.substr(0,1);l=[l,n].join("")}}else l="";l&&g.push(l)}0<g.length&&(f=g);3==d.length&&(d=d[2],g=[],d=d?d.split(","):
|
||||
g,0<d.length&&(d=Aa[d[0]])&&(a.c[e]=d))}a.c[e]||(d=Aa[e])&&(a.c[e]=d);for(d=0;d<f.length;d+=1)a.a.push(new H(e,f[d]))}};function Fa(a,b){this.c=a;this.a=b}var Ga={Arimo:!0,Cousine:!0,Tinos:!0};Fa.prototype.load=function(a){var b=new C,c=this.c,d=new va(this.a.api,z(c),this.a.text),e=this.a.families;xa(d,e);var f=new za(e);Ea(f);A(c,ya(d),D(b));F(b,function(){a(f.a,f.c,Ga)})};function Ha(a,b){this.c=a;this.a=b}Ha.prototype.load=function(a){var b=this.a.id,c=this.c.m;b?B(this.c,(this.a.api||"https://use.typekit.net")+"/"+b+".js",function(b){if(b)a([]);else if(c.Typekit&&c.Typekit.config&&c.Typekit.config.fn){b=c.Typekit.config.fn;for(var e=[],f=0;f<b.length;f+=2)for(var g=b[f],k=b[f+1],h=0;h<k.length;h++)e.push(new H(g,k[h]));try{c.Typekit.load({events:!1,classes:!1,async:!0})}catch(m){}a(e)}},2E3):a([])};function Ia(a,b){this.c=a;this.f=b;this.a=[]}Ia.prototype.load=function(a){var b=this.f.id,c=this.c.m,d=this;b?(c.__webfontfontdeckmodule__||(c.__webfontfontdeckmodule__={}),c.__webfontfontdeckmodule__[b]=function(b,c){for(var g=0,k=c.fonts.length;g<k;++g){var h=c.fonts[g];d.a.push(new H(h.name,ga("font-weight:"+h.weight+";font-style:"+h.style)))}a(d.a)},B(this.c,z(this.c)+(this.f.api||"//f.fontdeck.com/s/css/js/")+ea(this.c)+"/"+b+".js",function(b){b&&a([])})):a([])};var Y=new pa(window);Y.a.c.custom=function(a,b){return new ua(b,a)};Y.a.c.fontdeck=function(a,b){return new Ia(b,a)};Y.a.c.monotype=function(a,b){return new sa(b,a)};Y.a.c.typekit=function(a,b){return new Ha(b,a)};Y.a.c.google=function(a,b){return new Fa(b,a)};var Z={load:p(Y.load,Y)};"function"===typeof define&&define.amd?define(function(){return Z}):"undefined"!==typeof module&&module.exports?module.exports=Z:(window.WebFont=Z,window.WebFontConfig&&Y.load(window.WebFontConfig));}());
|
BIN
semag/houseofhazards/patch/fonts/torus-bold-webfont.woff
Normal file
BIN
semag/houseofhazards/patch/fonts/torus-bold-webfont.woff2
Normal file
5
semag/houseofhazards/patch/js/UnityLoader.2019.2.js
Normal file
5
semag/houseofhazards/patch/js/UnityLoader.js
Normal file
2
semag/houseofhazards/patch/js/null.js
Normal file
@ -0,0 +1,2 @@
|
||||
// Null JS
|
||||
console.log("Null JS");
|
39
semag/houseofhazards/patch/js/poki-master-loader.js
Normal file
@ -0,0 +1,39 @@
|
||||
"use strict";
|
||||
var scripts = document.getElementsByTagName("script")
|
||||
, scriptUrl = scripts[scripts.length - 1].src
|
||||
, root = scriptUrl.split("master-loader.js")[0]
|
||||
, loaders = {
|
||||
unity: "unity.js",
|
||||
"unity-beta": "unity-beta.js",
|
||||
"unity-2020": "unity-2020.js"
|
||||
};
|
||||
if (0 <= window.location.href.indexOf("pokiForceLocalLoader") && (loaders.unity = "/unity/dist/unity.js",
|
||||
loaders["unity-beta"] = "/unity-beta/dist/unity-beta.js",
|
||||
loaders["unity-2020"] = "/unity-2020/dist/unity-2020.js",
|
||||
root = "/loaders"),
|
||||
!window.config)
|
||||
throw Error("window.config not found");
|
||||
var loader = loaders[window.config.loader];
|
||||
if (!loader)
|
||||
throw Error('Loader "' + window.config.loader + '" not found');
|
||||
if (!window.config.unityWebglLoaderUrl) {
|
||||
var versionSplit = window.config.unityVersion ? window.config.unityVersion.split(".") : []
|
||||
, year = versionSplit[0]
|
||||
, minor = versionSplit[1];
|
||||
switch (year) {
|
||||
case "2019":
|
||||
window.config.unityWebglLoaderUrl = 1 === minor ? "patch/js/UnityLoader.2019.1.js" : "patch/js/UnityLoader.2019.2.js";
|
||||
break;
|
||||
default:
|
||||
window.config.unityWebglLoaderUrl = "patch/js/UnityLoader.js"
|
||||
}
|
||||
}
|
||||
var sdkScript = document.createElement("script");
|
||||
sdkScript.src = "patch/js/poki-sdk.js",
|
||||
sdkScript.onload = function() {
|
||||
var i = document.createElement("script");
|
||||
i.src = root + loader,
|
||||
document.body.appendChild(i)
|
||||
}
|
||||
,
|
||||
document.body.appendChild(sdkScript);
|
176
semag/houseofhazards/patch/js/poki-sdk.js
Normal file
@ -0,0 +1,176 @@
|
||||
document.xURL= "https://poki.com/";
|
||||
|
||||
if (typeof consoleLog== 'undefined') {
|
||||
consoleLog= console.log;
|
||||
}
|
||||
|
||||
var originalEval= eval;
|
||||
evalx= function() {
|
||||
// consoleLog("--fx--eval--", arguments);
|
||||
// debugger;
|
||||
// return;
|
||||
arguments[0]= arguments[0].replace("aHR0cHM6Ly9wb2tpLmNvbS9zaXRlbG9jaw==", "I3ViZzIzNQ==");
|
||||
arguments[0]= arguments[0].replace("'location'", "'xlocation'");
|
||||
return originalEval.apply(this, arguments);
|
||||
}
|
||||
|
||||
navigator.sendBeacon= function() {
|
||||
consoleLog("--fx--navigator.sendBeacon--", arguments);
|
||||
}
|
||||
|
||||
WebSocket= function() {
|
||||
|
||||
}
|
||||
|
||||
xlocation= new Proxy(location, {
|
||||
get: function(target, property, receiver) {
|
||||
consoleLog("--fx--xlocation--get--property--", property);
|
||||
let targetObj = target[property];
|
||||
if (typeof targetObj == "function") {
|
||||
return (...args) => target[property].apply(target, args);
|
||||
} else {
|
||||
if (property== "host" || property=="hostname") {
|
||||
return "localhost";
|
||||
}
|
||||
if (property== "href") {
|
||||
return "https://localhost/";
|
||||
}
|
||||
if (property== "origin") {
|
||||
return "https://localhost/";
|
||||
}
|
||||
return targetObj;
|
||||
}
|
||||
},
|
||||
set: function(target, property, receiver) {
|
||||
consoleLog("--fx--xlocation--set--property--", property, receiver);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
xwindow = new Proxy(window, {
|
||||
get: function(target, property, receiver) {
|
||||
// consoleLog("--fx--xWindow--property--", property, receiver);
|
||||
if (typeof target[property] == "function") {
|
||||
return (...args) => target[property].apply(target,args);
|
||||
} else {
|
||||
if (property== "location") {
|
||||
return target["xlocation"];
|
||||
}
|
||||
// consoleLog("--fx--xwindow--targetObj--", targetObj);
|
||||
return target[property];
|
||||
}
|
||||
}
|
||||
});
|
||||
// consoleLog(xwindow.location.href);
|
||||
// consoleLog("window.xlocation.href", window.xlocation.href);
|
||||
|
||||
PokiSDK= function() {
|
||||
// ***** UTILS *****
|
||||
function loadJS(FILE_URL, callback) {
|
||||
let scriptEle = document.createElement("script");
|
||||
|
||||
scriptEle.setAttribute("src", FILE_URL);
|
||||
scriptEle.setAttribute("type", "text/javascript");
|
||||
scriptEle.setAttribute("async", true);
|
||||
|
||||
document.body.appendChild(scriptEle);
|
||||
|
||||
// Success
|
||||
scriptEle.addEventListener("load", () => {
|
||||
consoleLog("--fx--PokiSDK--loadJS Done--");
|
||||
callback(true);
|
||||
});
|
||||
|
||||
// Error
|
||||
scriptEle.addEventListener("error", () => {
|
||||
consoleLog("--fx--PokiSDK--loadJS Error--");
|
||||
callback(false);
|
||||
});
|
||||
}
|
||||
|
||||
this.getURLParam= function(name) {
|
||||
return "";
|
||||
}
|
||||
|
||||
// ***** INIT *****
|
||||
this.init= function() {
|
||||
return new Promise((resolve, reject)=> {
|
||||
resolve("InitDone");
|
||||
});
|
||||
}
|
||||
|
||||
this.setDebug= function(debug) {
|
||||
consoleLog("--fx--PokiSDK--setDebug--", debug);
|
||||
}
|
||||
|
||||
this.setDebugTouchOverlayController= function (debug) {
|
||||
consoleLog("--fx--PokiSDK--setDebugTouchOverlayController--", debug);
|
||||
}
|
||||
|
||||
this.isAdBlocked= function() {
|
||||
consoleLog("--fx--PokiSDK--isAdBlocked--");
|
||||
return false;
|
||||
}
|
||||
|
||||
this.happyTime= function(scale) {
|
||||
consoleLog("--fx--PokiSDK--happyTime--", scale);
|
||||
}
|
||||
|
||||
// ***** LOADING *****
|
||||
this.gameLoadingStart= function(){
|
||||
consoleLog("--fx--PokiSDK--gameLoadingStart--");
|
||||
}
|
||||
|
||||
this.gameLoadingProgress= function(progress){
|
||||
consoleLog("--fx--PokiSDK--gameLoadingProgress--", progress);
|
||||
}
|
||||
|
||||
this.gameLoadingFinished= function(){
|
||||
consoleLog("--fx--PokiSDK--gameLoadingFinished--");
|
||||
}
|
||||
|
||||
// ***** GAME CONTROL *****
|
||||
this.gameplayStart= function(){
|
||||
consoleLog("--fx--PokiSDK--gameplayStart--");
|
||||
}
|
||||
|
||||
this.gameplayStop= function() {
|
||||
consoleLog("--fx--PokiSDK--gameplayStop--");
|
||||
}
|
||||
|
||||
// ***** ADS CONTROL *****
|
||||
this.commercialBreak= function(){
|
||||
consoleLog("--fx--PokiSDK--commercialBreak--");
|
||||
return new Promise((resolve, reject)=> {
|
||||
loadJS("https://www.ubg235.com/ads/commercial.js", resolve);
|
||||
});
|
||||
}
|
||||
|
||||
this.rewardedBreak= function() {
|
||||
consoleLog("--fx--PokiSDK--rewardedBreak--");
|
||||
return new Promise((resolve, reject)=> {
|
||||
loadJS("https://www.ubg235.com/ads/rewarded.js", resolve);
|
||||
});
|
||||
}
|
||||
|
||||
this.displayAd= function() {
|
||||
consoleLog("--fx--PokiSDK--displayAd--", arguments);
|
||||
}
|
||||
|
||||
this.destroyAd= function() {
|
||||
consoleLog("--fx--PokiSDK--destroyAd--", arguments);
|
||||
}
|
||||
}
|
||||
|
||||
PokiSDK.prototype.initWithVideoHB= function() {
|
||||
consoleLog("--fx--PokiSDK--initWithVideoHB--");
|
||||
return new Promise((resolve, reject)=> {
|
||||
resolve("")
|
||||
});
|
||||
}
|
||||
|
||||
PokiSDK.prototype.customEvent= function() {
|
||||
consoleLog("--fx--PokiSDK--customEvent--");
|
||||
}
|
||||
|
||||
PokiSDK= new PokiSDK();
|
1
semag/houseofhazards/patch/js/poki-unity-2020.js
Normal file
5
semag/houseofhazards/patch/js/poki-unity-loader.js
Normal file
1
semag/houseofhazards/patch/js/poki-unity-o.js
Normal file
1186
semag/houseofhazards/patch/js/poki-unity.js
Normal file
63
semag/houseofhazards/patch/js/poki-utils.js
Normal file
@ -0,0 +1,63 @@
|
||||
document.xURL= "https://poki.com/";
|
||||
|
||||
if (typeof consoleLog== 'undefined') {
|
||||
consoleLog= console.log;
|
||||
}
|
||||
|
||||
var originalEval= eval;
|
||||
evalx= function() {
|
||||
// consoleLog("--fx--eval--", arguments);
|
||||
arguments[0]= arguments[0].replace("aHR0cHM6Ly9wb2tpLmNvbS9zaXRlbG9jaw==", "I3ViZzIzNQ==");
|
||||
arguments[0]= arguments[0].replace("'location'", "'xlocation'");
|
||||
return originalEval.apply(this, arguments);
|
||||
}
|
||||
|
||||
navigator.sendBeacon= function() {
|
||||
consoleLog("--fx--navigator.sendBeacon--", arguments);
|
||||
}
|
||||
|
||||
WebSocket= function() {
|
||||
|
||||
}
|
||||
|
||||
xlocation= new Proxy(location, {
|
||||
get: function(target, property, receiver) {
|
||||
consoleLog("--fx--xlocation--get--property--", property);
|
||||
let targetObj = target[property];
|
||||
if (typeof targetObj == "function") {
|
||||
return (...args) => target[property].apply(target, args);
|
||||
} else {
|
||||
if (property== "host" || property=="hostname") {
|
||||
return "localhost";
|
||||
}
|
||||
if (property== "href") {
|
||||
return "https://localhost/";
|
||||
}
|
||||
if (property== "origin") {
|
||||
return "https://localhost/";
|
||||
}
|
||||
return targetObj;
|
||||
}
|
||||
},
|
||||
set: function(target, property, receiver) {
|
||||
consoleLog("--fx--xlocation--set--property--", property, receiver);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
xwindow = new Proxy(window, {
|
||||
get: function(target, property, receiver) {
|
||||
// consoleLog("--fx--xWindow--property--", property, receiver);
|
||||
if (typeof target[property] == "function") {
|
||||
return (...args) => target[property].apply(target,args);
|
||||
} else {
|
||||
if (property== "location") {
|
||||
return target["xlocation"];
|
||||
}
|
||||
// consoleLog("--fx--xwindow--targetObj--", targetObj);
|
||||
return target[property];
|
||||
}
|
||||
}
|
||||
});
|
||||
// consoleLog(xwindow.location.href);
|
||||
// consoleLog("window.xlocation.href", window.xlocation.href);
|
1
semag/houseofhazards/patch/json/geo.json
Normal file
@ -0,0 +1 @@
|
||||
{"ISO":"US","ccpaApplies":false}
|
76969
semag/houseofhazards/patch/json/gl-narenjo.json
Normal file
1
semag/houseofhazards/patch/json/null.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
3
semag/houseofhazards/patch/json/settings.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"game": "Cloner"
|
||||
}
|
1
semag/houseofhazards/patch/json/tracking.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
1
semag/houseofhazards/patch/phaser/nineslice-v0.5.0.min.js
vendored
Normal file
215846
semag/houseofhazards/patch/phaser/phaser-3.52.0.js
Normal file
BIN
semag/houseofhazards/patch/png/null.png
Normal file
After Width: | Height: | Size: 8.2 KiB |
BIN
semag/houseofhazards/screenshots/1-small.jpg
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
semag/houseofhazards/screenshots/1.jpg
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
semag/houseofhazards/screenshots/2-small.jpg
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
semag/houseofhazards/screenshots/2.jpg
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
semag/houseofhazards/screenshots/3-small.jpg
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
semag/houseofhazards/screenshots/3.jpg
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
semag/houseofhazards/screenshots/4-small.jpg
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
semag/houseofhazards/screenshots/4.jpg
Normal file
After Width: | Height: | Size: 55 KiB |
@ -1,107 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Unity WebGL Player | KARLSON'T</title>
|
||||
<link rel="shortcut icon" href="TemplateData/favicon.ico">
|
||||
<link rel="stylesheet" href="TemplateData/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="unity-container" class="unity-desktop">
|
||||
<canvas id="unity-canvas" width=960 height=600></canvas>
|
||||
<div id="unity-loading-bar">
|
||||
<div id="unity-logo"></div>
|
||||
<div id="unity-progress-bar-empty">
|
||||
<div id="unity-progress-bar-full"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="unity-warning"> </div>
|
||||
<div id="unity-footer">
|
||||
<div id="unity-webgl-logo"></div>
|
||||
<div id="unity-fullscreen-button"></div>
|
||||
<div id="unity-build-title">KARLSON'T</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var container = document.querySelector("#unity-container");
|
||||
var canvas = document.querySelector("#unity-canvas");
|
||||
var loadingBar = document.querySelector("#unity-loading-bar");
|
||||
var progressBarFull = document.querySelector("#unity-progress-bar-full");
|
||||
var fullscreenButton = document.querySelector("#unity-fullscreen-button");
|
||||
var warningBanner = document.querySelector("#unity-warning");
|
||||
|
||||
// Shows a temporary message banner/ribbon for a few seconds, or
|
||||
// a permanent error message on top of the canvas if type=='error'.
|
||||
// If type=='warning', a yellow highlight color is used.
|
||||
// Modify or remove this function to customize the visually presented
|
||||
// way that non-critical warnings and error messages are presented to the
|
||||
// user.
|
||||
function unityShowBanner(msg, type) {
|
||||
function updateBannerVisibility() {
|
||||
warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
|
||||
}
|
||||
var div = document.createElement('div');
|
||||
div.innerHTML = msg;
|
||||
warningBanner.appendChild(div);
|
||||
if (type == 'error') div.style = 'background: red; padding: 10px;';
|
||||
else {
|
||||
if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
|
||||
setTimeout(function() {
|
||||
warningBanner.removeChild(div);
|
||||
updateBannerVisibility();
|
||||
}, 5000);
|
||||
}
|
||||
updateBannerVisibility();
|
||||
}
|
||||
|
||||
var buildUrl = "Build";
|
||||
var loaderUrl = buildUrl + "/KARLSON'T.loader.js";
|
||||
var config = {
|
||||
dataUrl: buildUrl + "/KARLSON'T.data.unityweb",
|
||||
frameworkUrl: buildUrl + "/KARLSON'T.framework.js.unityweb",
|
||||
codeUrl: buildUrl + "/KARLSON'T.wasm.unityweb",
|
||||
streamingAssetsUrl: "StreamingAssets",
|
||||
companyName: "CompanyName",
|
||||
productName: "KARLSON'T",
|
||||
productVersion: "0.1.0",
|
||||
showBanner: unityShowBanner,
|
||||
};
|
||||
|
||||
// By default Unity keeps WebGL canvas render target size matched with
|
||||
// the DOM size of the canvas element (scaled by window.devicePixelRatio)
|
||||
// Set this to false if you want to decouple this synchronization from
|
||||
// happening inside the engine, and you would instead like to size up
|
||||
// the canvas DOM size and WebGL render target sizes yourself.
|
||||
// config.matchWebGLToCanvasSize = false;
|
||||
|
||||
if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
|
||||
container.className = "unity-mobile";
|
||||
// Avoid draining fillrate performance on mobile devices,
|
||||
// and default/override low DPI mode on mobile browsers.
|
||||
config.devicePixelRatio = 1;
|
||||
unityShowBanner('WebGL builds are not supported on mobile devices.');
|
||||
} else {
|
||||
canvas.style.width = "960px";
|
||||
canvas.style.height = "600px";
|
||||
}
|
||||
loadingBar.style.display = "block";
|
||||
|
||||
var script = document.createElement("script");
|
||||
script.src = loaderUrl;
|
||||
script.onload = () => {
|
||||
createUnityInstance(canvas, config, (progress) => {
|
||||
progressBarFull.style.width = 100 * progress + "%";
|
||||
}).then((unityInstance) => {
|
||||
loadingBar.style.display = "none";
|
||||
fullscreenButton.onclick = () => {
|
||||
unityInstance.SetFullscreen(1);
|
||||
};
|
||||
}).catch((message) => {
|
||||
alert(message);
|
||||
});
|
||||
};
|
||||
document.body.appendChild(script);
|
||||
</script>
|
||||
</body>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>karlsont</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>by request of the game creator, karlsont has been removed</h1>
|
||||
<p>do not harass them, theyre still a cool person, they just didnt want karlsont on selenite :)</p>
|
||||
</body>
|
||||
</html>
|
@ -14,6 +14,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<script src="/js/cloaks.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
@ -83,19 +84,27 @@
|
||||
<label for="tabDisguise">Disguise your tab when you click off (currently only Google)</label><br>
|
||||
</div>
|
||||
<h3>Themes</h3>
|
||||
<div class="samerow">
|
||||
<input type="checkbox" id="bgTheme" name="bgTheme">
|
||||
<label for="bgTheme">Background:</label><br>
|
||||
</div>
|
||||
<div class="samerow themebtns">
|
||||
<button onclick="setTheme('main')" style="background-color: #3c096c; color: #fff; border: 5px solid #5a189a">selenite</button>
|
||||
<button onclick="setTheme('light')" style="background-color: #bbbbbb; color: #1a1a1a; border: 5px solid #e6e6e6">light mode</button>
|
||||
<button onclick="setTheme('dark')" style="background-color: #333333; color: #fff; border: 5px solid #444444">dark mode</button>
|
||||
<button onclick="setTheme('egamepass')" style="background-color: #596eb1; color: #cbe0ff; border: 5px solid #5586e0">e-gamepass</button>
|
||||
<button onclick="setTheme('cools1te')" style="background-color: #a134dc; color: #d3a4fa; border: 5px solid #b153e3">cools1te</button>
|
||||
<button onclick="setTheme('sunset')" style="background-color: #537294; color: #fff; border: 5px solid #30719c">sunset</button>
|
||||
<button onclick="setTheme('mountains')" style="background-color: #d37f7f; color: #fff; border: 5px solid #e28a8a">mountains</button>
|
||||
<button onclick="setTheme('vaporwave')" style="background-color: #4b2d64; color: #fff; border: 5px solid #74568d">vaporwave</button>
|
||||
<button onclick="setTheme('sunset' + (bgTheme.checked ? '' : 'false'))" style="background-color: #537294; color: #fff; border: 5px solid #30719c">sunset</button>
|
||||
<button onclick="setTheme('mountains' + (bgTheme.checked ? '' : 'false'))" style="background-color: #d37f7f; color: #fff; border: 5px solid #e28a8a">mountains</button>
|
||||
<button onclick="setTheme('vaporwave' + (bgTheme.checked ? '' : 'false'))" style="background-color: #4b2d64; color: #fff; border: 5px solid #74568d">vaporwave</button>
|
||||
<button onclick="setTheme('threekho')" style="background-color: #28A018; color: #fff; border: 5px solid #0A8F00">3kh0</button>
|
||||
<button onclick="setTheme('bgs')" style="background-color: #553113; color: #fff; border: 5px solid #3d220c">bigfoot</button>
|
||||
<button onclick="setTheme('seraph')" style="background-color: #000; color: #fff; border: 2px solid #fff">seraph</button>
|
||||
<button onclick="setTheme('nighttime')" style="background-color: #29374d; color: #fff; border: 2px solid #fff">nighttime</button>
|
||||
<button onclick="setTheme('bgs' + (bgTheme.checked ? '' : 'false'))" style="background-color: #553113; color: #fff; border: 5px solid #3d220c">bigfoot</button>
|
||||
<button onclick="setTheme('seraph' + (bgTheme.checked ? '' : 'false'))" style="background-color: #000; color: #fff; border: 2px solid #fff">seraph</button>
|
||||
<button onclick="setTheme('nighttime' + (bgTheme.checked ? '' : 'false'))" style="background-color: #29374d; color: #fff; border: 2px solid #fff">nighttime</button>
|
||||
<button onclick="setTheme('mocha' + (bgTheme.checked ? '' : 'false'))" style="background-color: #6c7086; color: #fff; border: 2px solid #7f849c">Mocha</button>
|
||||
<button onclick="setTheme('macchiato' + (bgTheme.checked ? '' : 'false'))" style="background-color: #6e738d; color: #fff; border: 5px solid #8087a2">Macchiato</button>
|
||||
<button onclick="setTheme('frappe' + (bgTheme.checked ? '' : 'false'))" style="background-color: #737994; color: #cad3f5; border: 2px solid #838ba7">Frappe</button>
|
||||
<button onclick="setTheme('latte' + (bgTheme.checked ? '' : 'false'))" style="background-color: #9ca0b0; color: #4c4f69; border: 5px solid #8c8fa1">Latte</button>
|
||||
<button onclick="customTheme()">custom</button>
|
||||
</div>
|
||||
<div id="customMenu" style="display: none;">
|
||||
|
15
style.css
@ -1,5 +1,4 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@300&display=swap");
|
||||
@import url("https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css");
|
||||
|
||||
@keyframes loadInAnimation {
|
||||
0% {
|
||||
@ -376,6 +375,20 @@ label {
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
#discord {
|
||||
position: fixed;
|
||||
bottom: 10px;
|
||||
right: 10px;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
z-index: 199975;
|
||||
border-radius: 100%;
|
||||
background-image: url("/img/discord-mark-white.png");
|
||||
background-size: 60%;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
border-width: 0;
|
||||
}
|
||||
@keyframes toastFade {
|
||||
0% {
|
||||
opacity: 0;
|
||||
|
@ -16,6 +16,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
@ -15,6 +15,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
@ -16,6 +16,7 @@
|
||||
<script src="/js/games.js"></script>
|
||||
<script src="/js/search.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<script src="/js/cookie.js"></script>
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|