├── views ├── ad.ejs ├── ads-head.ejs ├── index.ejs ├── layout.ejs ├── settings.ejs ├── 404.ejs ├── apps.ejs └── games.ejs ├── public ├── logo.png ├── favicon.ico ├── shuttle.png ├── uv │ └── uv.config.js ├── dynamic.sw-handler.js ├── assets │ ├── js │ │ ├── games.js │ │ ├── 404.js │ │ ├── cursor.js │ │ ├── proxy.js │ │ ├── settings.js │ │ ├── particles.js │ │ ├── backdrop.js │ │ ├── home.js │ │ ├── index.js │ │ └── snow.js │ └── css │ │ ├── particles.css │ │ ├── loader.css │ │ ├── games.css │ │ ├── 404.css │ │ └── style.css ├── dynamic │ └── dynamic.config.js └── uv.sw-handler.js ├── app.json ├── package.json ├── .gitignore ├── index.js ├── README.md └── LICENSE.txt /views/ad.ejs: -------------------------------------------------------------------------------- 1 |
2 |
3 | -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2Cmo/shuttle/main/public/logo.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2Cmo/shuttle/main/public/favicon.ico -------------------------------------------------------------------------------- /public/shuttle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2Cmo/shuttle/main/public/shuttle.png -------------------------------------------------------------------------------- /public/uv/uv.config.js: -------------------------------------------------------------------------------- 1 | self.__uv$config = { 2 | prefix: "/shuttle-uv/", 3 | bare: "/bare/", 4 | encodeUrl: Ultraviolet.codec.xor.encode, 5 | decodeUrl: Ultraviolet.codec.xor.decode, 6 | handler: "/uv/uv.handler.js", 7 | bundle: "/uv/uv.bundle.js", 8 | config: "/uv/uv.config.js", 9 | sw: "/uv/uv.sw.js", 10 | }; 11 | -------------------------------------------------------------------------------- /views/ads-head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Shuttle V3", 3 | "description": "A simple web proxy", 4 | "image": "heroku/nodejs", 5 | "addons": [], 6 | "buildpacks": [ 7 | { 8 | "url": "https://github.com/heroku/heroku-buildpack-nodejs.git" 9 | } 10 | ], 11 | "env": { 12 | "NODE_ENV": "production" 13 | }, 14 | "scripts": { 15 | "start": "npm start" 16 | }, 17 | "formation": { 18 | "web": { 19 | "quantity": 1, 20 | "size": "Free" 21 | } 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /public/dynamic.sw-handler.js: -------------------------------------------------------------------------------- 1 | importScripts("/dynamic/dynamic.config.js"); 2 | importScripts("/dynamic/dynamic.worker.js"); 3 | 4 | const dynamic = new Dynamic(); 5 | 6 | self.dynamic = dynamic; 7 | 8 | self.addEventListener('fetch', 9 | event => { 10 | event.respondWith( 11 | (async () => { 12 | if (await dynamic.route(event)) { 13 | return await dynamic.fetch(event); 14 | } 15 | 16 | return await fetch(event.request); 17 | })() 18 | ); 19 | } 20 | ); 21 | -------------------------------------------------------------------------------- /public/assets/js/games.js: -------------------------------------------------------------------------------- 1 | document.getElementById("search").addEventListener("input", e => { 2 | var searchValue = e.target.value.toLowerCase(); 3 | var games = document.querySelectorAll(".game"); 4 | games.forEach(game => { 5 | var gameTitle = game.querySelector("h2").textContent.toLowerCase(); 6 | if (gameTitle.includes(searchValue)) { 7 | game.style.display = ""; 8 | } else { 9 | game.style.display = "none"; 10 | } 11 | }); 12 | }); 13 | 14 | document.querySelectorAll(".game").forEach(button => { 15 | button.addEventListener("click", function () { 16 | const url = this.getAttribute("data-href"); 17 | go(url); 18 | }); 19 | }); -------------------------------------------------------------------------------- /public/dynamic/dynamic.config.js: -------------------------------------------------------------------------------- 1 | // See documentation for more information 2 | 3 | self.__dynamic$config = { 4 | prefix: "/shuttle-dn/", 5 | encoding: "xor", 6 | mode: "production", 7 | logLevel: 0, 8 | bare: { 9 | version: 2, 10 | path: "/bare/", 11 | }, 12 | tab: { 13 | title: null, 14 | icon: null, 15 | ua: null, 16 | }, 17 | assets: { 18 | prefix: "/dynamic/", 19 | files: { 20 | handler: "dynamic.handler.js", 21 | client: "dynamic.client.js", 22 | worker: "dynamic.worker.js", 23 | config: "dynamic.config.js", 24 | inject: null, 25 | } 26 | }, 27 | block: [ 28 | 29 | ] 30 | }; 31 | -------------------------------------------------------------------------------- /public/uv.sw-handler.js: -------------------------------------------------------------------------------- 1 | /*global UVServiceWorker,__uv$config*/ 2 | /* 3 | * Stock service worker script. 4 | * Users can provide their own sw.js if they need to extend the functionality of the service worker. 5 | * Ideally, this will be registered under the scope in uv.config.js so it will not need to be modified. 6 | * However, if a user changes the location of uv.bundle.js/uv.config.js or sw.js is not relative to them, they will need to modify this script locally. 7 | */ 8 | importScripts("/uv/uv.bundle.js"); 9 | importScripts("/uv/uv.config.js"); 10 | importScripts(__uv$config.sw || "/uv/uv.sw.js"); 11 | 12 | const sw = new UVServiceWorker(); 13 | 14 | self.addEventListener("fetch", (event) => event.respondWith(sw.fetch(event))); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shuttle", 3 | "version": "3.0.0", 4 | "description": "Experience the global internet using Shuttle, the swiftest and most uncluttered proxy solution. Relish a heightened level of privacy during your online sessions, free from censorship.", 5 | "type": "module", 6 | "scripts": { 7 | "start": "node index.js" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/shuttlenetwork/shuttle" 12 | }, 13 | "keywords": [ 14 | "proxy" 15 | ], 16 | "author": "", 17 | "license": " GPL-3.0-or-later", 18 | "homepage": "https://shuttleproxy.com", 19 | "dependencies": { 20 | "@nebula-services/dynamic": "^0.7.2-patch.2", 21 | "@titaniumnetwork-dev/ultraviolet": "^2.0.0", 22 | "@tomphttp/bare-server-node": "^2.0.1", 23 | "ejs": "^3.1.9", 24 | "express": "^4.18.1" 25 | }, 26 | "engines": { 27 | "node": ">=18.0.0" 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Log files 2 | *.log 3 | npm-debug.log* 4 | yarn-debug.log* 5 | yarn-error.log* 6 | 7 | # Node modules 8 | node_modules/ 9 | 10 | # Don't want them envs 11 | .env 12 | 13 | # Runtime data 14 | pids 15 | *.pid 16 | *.seed 17 | *.pid.lock 18 | 19 | # Directory for instrumented libs generated by jscoverage/JSCover 20 | lib-cov 21 | 22 | # Coverage directory used by tools like istanbul 23 | coverage 24 | 25 | # nyc test coverage 26 | .nyc_output 27 | 28 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 29 | .grunt 30 | 31 | # Bower dependency directory (https://bower.io/) 32 | bower_components 33 | 34 | # node-waf configuration 35 | .lock-wscript 36 | 37 | # Compiled binary addons (https://nodejs.org/api/addons.html) 38 | build/Release 39 | 40 | # Dependency directories 41 | jspm_packages/ 42 | 43 | # TypeScript v1 declaration files 44 | typings/ 45 | 46 | # Optional npm cache directory 47 | .npm 48 | 49 | # Optional eslint cache 50 | .eslintcache 51 | 52 | # Optional REPL history 53 | .node_repl_history 54 | 55 | # Output of 'npm pack' 56 | *.tgz 57 | 58 | # Yarn Integrity file 59 | .yarn-integrity 60 | 61 | # dotenv environment variable files 62 | .env.test 63 | 64 | # Next.js build output 65 | .next 66 | out/ 67 | 68 | # Nuxt.js build / generate output 69 | .nuxt 70 | dist/ 71 | 72 | # Parcel 73 | .cache 74 | dist/ 75 | 76 | # Serverless directories 77 | .serverless/ 78 | 79 | # IDE - VSCode 80 | .vscode 81 | *.code-workspace 82 | 83 | # IDE - JetBrains 84 | .idea 85 | 86 | # macOS 87 | .DS_Store 88 | 89 | # Windows 90 | Thumbs.db -------------------------------------------------------------------------------- /public/assets/js/404.js: -------------------------------------------------------------------------------- 1 | function drawVisor() { 2 | const canvas = document.getElementById('visor'); 3 | const ctx = canvas.getContext('2d'); 4 | 5 | ctx.beginPath(); 6 | ctx.moveTo(5, 45); 7 | ctx.bezierCurveTo(15, 64, 45, 64, 55, 45); 8 | 9 | ctx.lineTo(55, 20); 10 | ctx.bezierCurveTo(55, 15, 50, 10, 45, 10); 11 | 12 | ctx.lineTo(15, 10); 13 | 14 | ctx.bezierCurveTo(15, 10, 5, 10, 5, 20); 15 | ctx.lineTo(5, 45); 16 | 17 | ctx.fillStyle = '#2f3640'; 18 | ctx.strokeStyle = '#f5f6fa'; 19 | ctx.fill(); 20 | ctx.stroke(); 21 | } 22 | 23 | const cordCanvas = document.getElementById('cord'); 24 | const ctx = cordCanvas.getContext('2d'); 25 | 26 | let y1 = 160; 27 | let y2 = 100; 28 | let y3 = 100; 29 | 30 | let y1Forward = true; 31 | let y2Forward = false; 32 | let y3Forward = true; 33 | 34 | function animate() { 35 | requestAnimationFrame(animate); 36 | ctx.clearRect(0, 0, innerWidth, innerHeight); 37 | 38 | ctx.beginPath(); 39 | ctx.moveTo(130, 170); 40 | ctx.bezierCurveTo(250, y1, 345, y2, 400, y3); 41 | 42 | ctx.strokeStyle = 'white'; 43 | ctx.lineWidth = 8; 44 | ctx.stroke(); 45 | 46 | if (y1 === 100) { 47 | y1Forward = true; 48 | } 49 | 50 | if (y1 === 300) { 51 | y1Forward = false; 52 | } 53 | 54 | if (y2 === 100) { 55 | y2Forward = true; 56 | } 57 | 58 | if (y2 === 310) { 59 | y2Forward = false; 60 | } 61 | 62 | if (y3 === 100) { 63 | y3Forward = true; 64 | } 65 | 66 | if (y3 === 317) { 67 | y3Forward = false; 68 | } 69 | 70 | y1Forward ? y1 += 1 : y1 -= 1; 71 | y2Forward ? y2 += 1 : y2 -= 1; 72 | y3Forward ? y3 += 1 : y3 -= 1; 73 | } 74 | 75 | drawVisor(); 76 | animate(); -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import { createBareServer } from "@tomphttp/bare-server-node"; 2 | import { createServer } from "node:http"; 3 | import { uvPath } from "@titaniumnetwork-dev/ultraviolet"; 4 | import { dynamicPath } from "@nebula-services/dynamic"; 5 | import express from "express"; 6 | 7 | const routes = [ 8 | ["/", "index"], 9 | ["/math", "games"], 10 | ["/physics", "apps"], 11 | ["/settings", "settings"] 12 | ]; 13 | 14 | const navItems = [ 15 | ["/", "Home"], 16 | ["/math", "Games"], 17 | ["/physics", "Apps"], 18 | ["/settings", "Settings"] 19 | ]; 20 | 21 | const bare = createBareServer("/bare/"); 22 | const app = express(); 23 | 24 | app.set("view engine", "ejs") 25 | 26 | app.use(express.static("./public")); 27 | app.use("/uv/", express.static(uvPath)); 28 | app.use("/dynamic/", express.static(dynamicPath)) 29 | 30 | for (const [path, page] of routes) { 31 | app.get(path, (_, res) => res.render("layout", { 32 | path, 33 | navItems, 34 | page 35 | })); 36 | } 37 | 38 | app.use((_, res) => res.status(404).render("404")); 39 | 40 | const httpServer = createServer(); 41 | 42 | httpServer.on("request", (req, res) => { 43 | if (bare.shouldRoute(req)) bare.routeRequest(req, res); 44 | else app(req, res); 45 | }); 46 | 47 | httpServer.on("error", (err) => console.log(err)); 48 | httpServer.on("upgrade", (req, socket, head) => { 49 | if (bare.shouldRoute(req)) bare.routeUpgrade(req, socket, head); 50 | else socket.end(); 51 | }); 52 | 53 | httpServer.listen({ port: process.env.PORT || 8080 }, () => { 54 | const addr = httpServer.address(); 55 | console.log(`\x1b[42m\x1b[1m shuttle\n Port: ${addr.port}\x1b[0m`); 56 | }); 57 | -------------------------------------------------------------------------------- /views/index.ejs: -------------------------------------------------------------------------------- 1 | 2 |
3 | 18 | 19 |
20 | 21 |
22 |
23 |
24 | Shuttle Logo 25 |
26 |
27 |
28 |
29 |
30 | 31 | 34 |
35 |
36 |
37 | <%- include("ad"); %> 38 |
39 | 40 | 41 | 45 |
46 | 47 | -------------------------------------------------------------------------------- /public/assets/js/cursor.js: -------------------------------------------------------------------------------- 1 | var i, j, k; 2 | var NS = 'http://www.w3.org/2000/svg'; 3 | var svg = d3.select("svg"), 4 | width = +svg.attr("width"), 5 | height = +svg.attr("height"); 6 | 7 | var delta = 0.001, 8 | i = 0, j, 9 | n = 500, // Total number of random points. 10 | k = 2; // Number of points to replace per frame. 11 | 12 | var rx = d3.randomNormal(width / 2, 80), 13 | ry = d3.randomNormal(height / 2, 80), 14 | points = d3.range(n).map(function() { return [rx(), ry()]; }); 15 | 16 | var color = d3.scaleSequential(d3.interpolateLab("#330066", "#601fa7")) 17 | .domain([0, 20]); 18 | 19 | var hexbin = d3.hexbin() 20 | .radius(12) // 60% smaller radius 21 | .extent([[0, 0], [width, height]]); 22 | 23 | var hexagon = svg.selectAll("path") 24 | .data(hexbin(points)) 25 | .enter().append("path") 26 | .attr("d", hexbin.hexagon(9.75)) 27 | .attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; }) 28 | .attr("fill", function(d) { return color(d.length); }); 29 | 30 | // Listen for mousemove events on the SVG element 31 | svg.on("mousemove", function() { 32 | var mouse = d3.mouse(this); 33 | rx = d3.randomNormal(mouse[0], 80), 34 | ry = d3.randomNormal(mouse[1], 80); 35 | }); 36 | 37 | d3.timer(function(elapsed) { 38 | for (j = 0; j < k; ++j, i = (i + 1) % n) points[i] = [rx(), ry()]; 39 | 40 | hexagon = hexagon 41 | .data(hexbin(points), function(d) { return d.x + "," + d.y; }); 42 | 43 | hexagon.exit().remove(); 44 | 45 | hexagon = hexagon.enter().append("path") 46 | .attr("d", hexbin.hexagon(9.75)) 47 | .attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; }) 48 | .merge(hexagon) 49 | .attr("fill", function(d) { return color(d.length); }); 50 | }); 51 | -------------------------------------------------------------------------------- /views/layout.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Shuttle 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | <%- include("ads-head") %> 23 | 24 | 25 | 26 | 43 | 44 | 45 | <%- include(page); %> 46 | 47 | 48 | -------------------------------------------------------------------------------- /public/assets/js/proxy.js: -------------------------------------------------------------------------------- 1 | const msg = document.getElementById("m"); 2 | const frame = document.getElementById("ifr"); 3 | 4 | frame.addEventListener("load", () => msg.innerText = frame.contentDocument.title); 5 | 6 | function searchurl(url) { 7 | switch (localStorage.getItem("shuttle||search")) { 8 | case "ddg": 9 | proxy(`https://duckduckgo.com/?q=${url}`) 10 | break; 11 | case "brave": 12 | proxy(`https://search.brave.com/search?q=${url}`) 13 | break; 14 | default: 15 | case "google": 16 | proxy(`https://www.google.com/search?q=${url}`) 17 | break; 18 | } 19 | } 20 | 21 | function go(url) { 22 | if (!isUrl(url)) searchurl(url); else { 23 | if (!(url.startsWith("https://") || url.startsWith("http://"))) url = "http://" + url 24 | proxy(url) 25 | } 26 | } 27 | 28 | function isUrl(val = "") { 29 | if (/^http(s?):\/\//.test(val) || val.includes(".") && val.substr(0, 1) !== " ") return true; 30 | return false; 31 | } 32 | 33 | function resolveURL(url) { 34 | switch(localStorage.getItem("shuttle||proxy")) { 35 | case "dy": 36 | return "/shuttle-dn/" + Ultraviolet.codec.xor.decode(url); 37 | default: 38 | case "uv": 39 | return __uv$config.prefix + __uv$config.encodeUrl(url); 40 | } 41 | } 42 | 43 | function proxy(url) { 44 | document.getElementById("align").style.display = "flex"; 45 | document.querySelector(".sidebar").style.display = "none"; 46 | registerSW().then(worker => { 47 | if(!worker) { 48 | return msg.innerHTML = "Error: Your browser does not support service workers or is blocking them (private browsing mode?), try using a different browser"; 49 | } 50 | frame.src = resolveURL(url); 51 | }); 52 | } 53 | 54 | function exit() { 55 | document.getElementById("align").style.display = "none"; 56 | document.querySelector(".sidebar").style.display = ""; 57 | frame.src = ""; 58 | } -------------------------------------------------------------------------------- /views/settings.ejs: -------------------------------------------------------------------------------- 1 | 20 | 21 |
22 |
23 |
24 |

Search Engine

25 | 30 |
31 |
32 |

Title

33 | 35 | 37 |
38 |
39 |

Proxy Type

40 | 44 |
45 |
46 | 47 |
48 |
49 |

Mystery

50 | 51 |
52 |
53 |

Custom Themes

54 | 55 | 56 |
57 |
58 |

About:Blank Cloaking

59 | 60 |
61 |
62 |
63 | 64 |
65 | <%- include("ad"); %> 66 |
67 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Shuttle V3 2 | ### Shittle V3 🔥🔥🔥 bext prxy ever! 3 | 4 | [![Deploy to Render](https://binbashbanana.github.io/deploy-buttons/buttons/remade/render.svg)](https://github.com/shuttlenetwork/shuttle/wiki#how-to-deploy-to-onrender) 5 | [![Deploy to Cyclic](https://binbashbanana.github.io/deploy-buttons/buttons/remade/cyclic.svg)](https://app.cyclic.sh/api/app/deploy/shuttlenetwork/shuttle) 6 | [![Remix on Glitch](https://raw.githubusercontent.com/BinBashBanana/deploy-buttons/master/buttons/remade/glitch.svg)](https://glitch.com/edit/#!/import/github/shuttlenetwork/shuttle) 7 | [![Deploy to Heroku](https://raw.githubusercontent.com/BinBashBanana/deploy-buttons/master/buttons/remade/heroku.svg)](https://heroku.com/deploy/?template=https://github.com/shuttlenetwork/shuttle) 8 | [![Deploy to Azure](https://raw.githubusercontent.com/BinBashBanana/deploy-buttons/master/buttons/remade/azure.svg)](https://deploy.azure.com/?repository=https://github.com/shuttlenetwork/shuttle) 9 | [![Deploy to IBM Cloud](https://raw.githubusercontent.com/BinBashBanana/deploy-buttons/master/buttons/remade/ibmcloud.svg)](https://cloud.ibm.com/devops/setup/deploy?repository=https://github.com/shuttlenetwork/shuttle) 10 | [![Deploy to Amplify Console](https://raw.githubusercontent.com/BinBashBanana/deploy-buttons/master/buttons/remade/amplifyconsole.svg)](https://console.aws.amazon.com/amplify/home#/deploy?repo=https://github.com/shuttlenetwork/shuttle) 11 | [![Run on Google Cloud](https://raw.githubusercontent.com/BinBashBanana/deploy-buttons/master/buttons/remade/googlecloud.svg)](https://deploy.cloud.run/?git_repo=https://github.com/shuttlenetwork/shuttle) 12 | 13 | ## Discord Server 14 | 15 | [![Join us on Discord](https://invidget.switchblade.xyz/xi)](https://discord.gg/xi) 16 | 17 | ## Setup 18 | 19 | ```sh 20 | git clone https://github.com/shuttlenetwork/shuttle.git 21 | cd shuttle 22 | npm install 23 | npm start 24 | ``` 25 | ## Info 26 | - If you are running this site on replit or other hosting platform that bans proxies, use [Shuttle Lite](https://github.com/shuttlenetwork/shuttle-lite) 27 | -------------------------------------------------------------------------------- /views/404.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Shuttle 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 |
17 |
18 | 19 |
20 |
21 |
22 |
23 |
24 | 25 |
26 |
404
27 |
Hmmm...
28 |
It looks like one of the developers fell asleep
29 | 30 | 31 | 32 |
33 | 34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 |
59 |
60 |
61 | 62 | -------------------------------------------------------------------------------- /public/assets/js/settings.js: -------------------------------------------------------------------------------- 1 | function findSel(sel, name) { 2 | return [...sel.querySelectorAll("option")].filter(e => e.value == name)[0]; 3 | } 4 | 5 | function changeFavicon(value) { 6 | setFavicon(value); 7 | localStorage.setItem("shuttle||favicon", value); 8 | } 9 | 10 | function changeTitle(value) { 11 | document.title = value; 12 | localStorage.setItem("shuttle||title", value); 13 | } 14 | 15 | 16 | window.addEventListener("load", () => { 17 | const searchSelector = document.getElementById("se"); 18 | const proxySelector = document.getElementById("proxy"); 19 | try { 20 | const st = localStorage.getItem("shuttle||themehex"); 21 | if (st) document.querySelector("#colorPicker").value = savedTheme; 22 | if(localStorage.getItem("shuttle||search")) findSel(searchSelector, localStorage.getItem("shuttle||search")).selected = true; 23 | if(localStorage.getItem("shuttle||proxy")) findSel(proxySelector, localStorage.getItem("shuttle||proxy")).selected = true; 24 | } catch {} 25 | searchSelector.addEventListener("change", e => localStorage.setItem("shuttle||search", e.target.value)); 26 | proxySelector.addEventListener("change", e => localStorage.setItem("shuttle||proxy", e.target.value)); 27 | document.querySelector("#reset-theme").addEventListener("click", resetTheme); 28 | document.querySelector("#abc").addEventListener("click", abc); 29 | document.querySelector("#mystery-button").addEventListener("click", setFortniteMode); 30 | }); 31 | 32 | function changeTheme(value) { 33 | localStorage.setItem("shuttle||themehex", value); 34 | document.body.style.backgroundColor = value; 35 | } 36 | 37 | function resetTheme() { 38 | localStorage.removeItem("shuttle||themehex"); 39 | document.body.style.backgroundColor = "#0b0b0b"; 40 | document.querySelector("#colorPicker").value = "#0b0b0b"; 41 | } 42 | 43 | function setFortniteMode() { 44 | if (localStorage.getItem("shuttle||fortniteMode") === "activated") { 45 | // If Fortnite Mode is already activated, deactivate it 46 | document.body.style.backgroundImage = ""; 47 | localStorage.removeItem("shuttle||fortniteMode") 48 | } else { 49 | // Otherwise, activate it 50 | document.body.style.backgroundImage = "url(\"https://i.ytimg.com/vi/6evDWowLMbE/maxresdefault.jpg\")"; 51 | localStorage.setItem("shuttle||fortniteMode", "activated"); 52 | } 53 | } -------------------------------------------------------------------------------- /public/assets/css/particles.css: -------------------------------------------------------------------------------- 1 | @import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap"); 2 | 3 | .classic { 4 | background: #111; 5 | color: white; 6 | margin: 0; 7 | --bg-c: #111; 8 | overflow: hidden; 9 | } 10 | 11 | .header { 12 | top: 0%; 13 | right: 0%; 14 | margin: 20px; 15 | position: absolute; 16 | overflow: hidden; 17 | } 18 | 19 | .ocean { 20 | margin: 0; 21 | color: white; 22 | background: #161923; 23 | --bg-c: #161923; 24 | 25 | } 26 | 27 | .center { 28 | margin: 0; 29 | position: absolute; 30 | top: 50%; 31 | left: 50%; 32 | transform: translate(-50%, -50%); 33 | text-align: center; 34 | font-family: "Montserrat", sans-serif; 35 | } 36 | 37 | .input { 38 | width: 150px; 39 | transition: 1s; 40 | text-align: center; 41 | height: 30px; 42 | border-radius: 10px; 43 | border-style: solid; 44 | border-width: 2px; 45 | font-family: "Montserrat", sans-serif; 46 | } 47 | 48 | .input ::placeholder { 49 | font-family: "Montserrat", sans-serif; 50 | color: white; 51 | } 52 | 53 | .btn { 54 | border-radius: 15px; 55 | border-style: solid; 56 | width: 100px; 57 | height: 25px; 58 | cursor: pointer; 59 | } 60 | 61 | .material-symbols-outlined { 62 | font-size: 32px; 63 | margin: 10px; 64 | } 65 | 66 | .input:focus { 67 | width: 225px; 68 | } 69 | 70 | .topinput { 71 | width: 70%; 72 | height: 30px; 73 | text-align: center; 74 | border-style: solid; 75 | border-width: 2px; 76 | border-radius: 15px; 77 | transition: 1s; 78 | left: 10%; 79 | margin: 0; 80 | position: absolute; 81 | } 82 | 83 | .topinput:focus { 84 | width: 80%; 85 | } 86 | 87 | #particles-js { 88 | position: absolute; 89 | width: 100%; 90 | height: 100%; 91 | background-color: var(--bg-c); 92 | background-repeat: no-repeat; 93 | background-size: cover; 94 | background-position: 50% 50%; 95 | overflow: hidden; 96 | } 97 | 98 | .particles-js-canvas-el { 99 | z-index: 0; 100 | top: 0; 101 | left: 0; 102 | position: absolute; 103 | width: 100%; 104 | height: 100%; 105 | pointer-events: none; 106 | } -------------------------------------------------------------------------------- /public/assets/css/loader.css: -------------------------------------------------------------------------------- 1 | body { 2 | position: relative; 3 | } 4 | 5 | .loader-container { 6 | position: fixed; 7 | top: 0; 8 | left: 0; 9 | width: 100%; 10 | height: 100%; 11 | display: flex; 12 | justify-content: center; 13 | align-items: center; 14 | background-color: #000; 15 | z-index: 9999; 16 | transition: opacity 0.3s ease-out; 17 | } 18 | 19 | .lds-ripple { 20 | display: inline-block; 21 | position: relative; 22 | width: 80px; 23 | height: 80px; 24 | } 25 | 26 | .lds-ripple div { 27 | position: absolute; 28 | border: 4px solid #fff; 29 | opacity: 1; 30 | border-radius: 50%; 31 | animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite; 32 | } 33 | 34 | .lds-ripple div:nth-child(2) { 35 | animation-delay: -0.5s; 36 | } 37 | 38 | @keyframes lds-ripple { 39 | 0% { 40 | top: 36px; 41 | left: 36px; 42 | width: 0; 43 | height: 0; 44 | opacity: 0; 45 | } 46 | 47 | 4.9% { 48 | top: 36px; 49 | left: 36px; 50 | width: 0; 51 | height: 0; 52 | opacity: 0; 53 | } 54 | 55 | 5% { 56 | top: 36px; 57 | left: 36px; 58 | width: 0; 59 | height: 0; 60 | opacity: 1; 61 | } 62 | 63 | 100% { 64 | top: 0px; 65 | left: 0px; 66 | width: 72px; 67 | height: 72px; 68 | opacity: 0; 69 | } 70 | } 71 | 72 | body { 73 | position: relative; 74 | } 75 | 76 | .loader-container { 77 | position: fixed; 78 | top: 0; 79 | left: 0; 80 | width: 100%; 81 | height: 100%; 82 | display: flex; 83 | justify-content: center; 84 | align-items: center; 85 | background-color: #000; 86 | z-index: 9999; 87 | transition: opacity 0.3s ease-out; 88 | } 89 | 90 | .lds-ripple { 91 | display: inline-block; 92 | position: relative; 93 | width: 80px; 94 | height: 80px; 95 | } 96 | 97 | .lds-ripple div { 98 | position: absolute; 99 | border: 4px solid #fff; 100 | opacity: 1; 101 | border-radius: 50%; 102 | animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite; 103 | } 104 | 105 | .lds-ripple div:nth-child(2) { 106 | animation-delay: -0.5s; 107 | } 108 | 109 | @keyframes lds-ripple { 110 | 0% { 111 | top: 36px; 112 | left: 36px; 113 | width: 0; 114 | height: 0; 115 | opacity: 0; 116 | } 117 | 118 | 4.9% { 119 | top: 36px; 120 | left: 36px; 121 | width: 0; 122 | height: 0; 123 | opacity: 0; 124 | } 125 | 126 | 5% { 127 | top: 36px; 128 | left: 36px; 129 | width: 0; 130 | height: 0; 131 | opacity: 1; 132 | } 133 | 134 | 100% { 135 | top: 0px; 136 | left: 0px; 137 | width: 72px; 138 | height: 72px; 139 | opacity: 0; 140 | } 141 | } -------------------------------------------------------------------------------- /public/assets/js/particles.js: -------------------------------------------------------------------------------- 1 | /* ---- particles.js config ---- */ 2 | 3 | particlesJS("particles-js", { 4 | "particles": { 5 | "number": { 6 | "value": 200, 7 | "density": { 8 | "enable": true, 9 | "value_area": 600 10 | } 11 | }, 12 | "color": { 13 | "value": "#ffffff" 14 | }, 15 | "shape": { 16 | "type": "circle", 17 | "stroke": { 18 | "width": 0, 19 | "color": "#000000" 20 | }, 21 | "polygon": { 22 | "nb_sides": 5 23 | }, 24 | "image": { 25 | "src": "img/github.svg", 26 | "width": 100, 27 | "height": 100 28 | } 29 | }, 30 | "opacity": { 31 | "value": 1, 32 | "random": true, 33 | "anim": { 34 | "enable": false, 35 | "speed": 1, 36 | "opacity_min": 0.1, 37 | "sync": false 38 | } 39 | }, 40 | "size": { 41 | "value": 3, 42 | "random": true, 43 | "anim": { 44 | "enable": false, 45 | "speed": 40, 46 | "size_min": 0.1, 47 | "sync": false 48 | } 49 | }, 50 | "line_linked": { 51 | "enable": false, 52 | "distance": 150, 53 | "color": "#ffffff", 54 | "opacity": 0.4, 55 | "width": 1 56 | }, 57 | "move": { 58 | "enable": true, 59 | "speed": 2, 60 | "direction": "bottom", 61 | "random": true, 62 | "straight": false, 63 | "out_mode": "out", 64 | "bounce": false, 65 | "attract": { 66 | "enable": false, 67 | "rotateX": 600, 68 | "rotateY": 1200 69 | } 70 | } 71 | }, 72 | "interactivity": { 73 | "detect_on": "canvas", 74 | "events": { 75 | "onhover": { 76 | "enable": true, 77 | "mode": "repulse" 78 | }, 79 | "onclick": { 80 | "enable": false, 81 | "mode": "push" 82 | }, 83 | "resize": true 84 | }, 85 | "modes": { 86 | "grab": { 87 | "distance": 400, 88 | "line_linked": { 89 | "opacity": 1 90 | } 91 | }, 92 | "bubble": { 93 | "distance": 400, 94 | "size": 40, 95 | "duration": 2, 96 | "opacity": 8, 97 | "speed": 3 98 | }, 99 | "repulse": { 100 | "distance": 40, 101 | "duration": 0.4 102 | }, 103 | "push": { 104 | "particles_nb": 4 105 | }, 106 | "remove": { 107 | "particles_nb": 2 108 | } 109 | } 110 | }, 111 | "retina_detect": true 112 | }); 113 | 114 | -------------------------------------------------------------------------------- /public/assets/js/backdrop.js: -------------------------------------------------------------------------------- 1 | function GEBI(tgt){return document.getElementById(tgt);} 2 | function pGEBI(parent,id) {return parent.getElementById(id);} 3 | function QS(tgt){return document.querySelector(tgt);} 4 | function QSA(tgt){return document.querySelectorAll(tgt);} 5 | function pQSA(parent,tgt){return parent.querySelectorAll(tgt);} 6 | function pQS(parent,tgt){return parent.querySelector(tgt);} 7 | function DCE(type){return document.createElement(type);} 8 | function DCEns(NS,type){return document.createElementNS(NS,type);} 9 | function AC(parent,tgt){return parent.appendChild(tgt);} 10 | function ATTR(elem,attr,value){return elem.setAttribute(attr,value);} 11 | function gATTR(elem,attr){return elem.getAttribute(attr);} 12 | function AEL(target,type,listener){return target.addEventListener(type,listener);} 13 | function REL(target,type,listener){return target.removeEventListener(type,listener);} 14 | function CLEAN(tgt,sty,symbol){return Number(tgt.style[sty].replace(symbol,''))} 15 | function gST(tgt,sty){return tgt.style[sty];} 16 | function sST(tgt,sty,val){ 17 | if(Array.isArray(sty)){ //if arrays sty and val should be same size 18 | let i,n=sty.length; 19 | for(i=0;i { 26 | document.querySelector("#splash").innerHTML = splash[Math.floor(Math.random() * (splash.length))]; 27 | }); 28 | */ 29 | 30 | window.addEventListener("DOMContentLoaded", () => { 31 | const link = btoa(window.location.hash.slice(1)); 32 | if (link) go(link); 33 | }); 34 | 35 | document.getElementById("form").addEventListener("submit", (event) => { 36 | event.preventDefault(); 37 | go(search.value); 38 | }); 39 | 40 | async function fetchResults(searchText) { 41 | try { 42 | const response = await bare.fetch(`https://duckduckgo.com/ac/?q=${encodeURIComponent(searchText)}`); 43 | const data = await response.json(); 44 | isRequestPending = false; 45 | if (!Array.isArray(data)) { 46 | console.log(`Error: Invalid response format. Expected Array (got ${typeof data})`); 47 | return; 48 | } 49 | const suggestions = document.getElementById("suggestions"); 50 | suggestions.innerHTML = ""; 51 | for(const result of (data.map(r => r.phrase))) { 52 | const suggestionItem = document.createElement("div"); 53 | const suggestionLink = document.createElement("a"); 54 | suggestionItem.classList = ["suggestions"]; 55 | 56 | const boldText = result.includes(searchText) ? `${searchText}` : searchText; 57 | suggestionLink.innerHTML = result.replace(searchText, boldText); 58 | 59 | suggestionLink.addEventListener("click", (event) => { 60 | event.preventDefault(); 61 | searchurl(result); 62 | }); 63 | suggestionItem.appendChild(suggestionLink); 64 | suggestions.appendChild(suggestionItem); 65 | } 66 | } catch (e) { 67 | isRequestPending = false; 68 | console.error(e); 69 | } 70 | } 71 | 72 | searchInput.addEventListener("input", (event) => { 73 | clearTimeout(debounceTimeout); 74 | const searchText = event.target.value; 75 | 76 | debounceTimeout = setTimeout(() => { 77 | if (searchText.length >= 1) { 78 | fetchResults(searchText) 79 | } 80 | if (searchText.length < 1) { 81 | document.getElementById("suggestions").style.display = "none"; 82 | } else { 83 | document.getElementById("suggestions").style.display = "block"; 84 | } 85 | }, 100); 86 | }); 87 | 88 | const form = document.getElementById("form"); 89 | 90 | searchInput.addEventListener("input", (event) => { 91 | const searchText = event.target.value; 92 | 93 | if (searchText.trim().length > 0) { 94 | form.focus(); 95 | } 96 | }); 97 | 98 | function erudaToggle() { 99 | var elem = document.getElementById("ifr"); 100 | 101 | if (erudaScript) { 102 | elem.contentWindow.eruda.destroy(); 103 | elem.removeChild(erudaScript); 104 | erudaScript = undefined; 105 | } else { 106 | erudaScript = document.createElement("script"); 107 | erudaScript.src = "https://cdn.jsdelivr.net/npm/eruda"; 108 | elem.contentDocument.body.appendChild(erudaScript); 109 | erudaScript.onload = function() { 110 | elem.contentWindow.eruda.init(); 111 | elem.contentWindow.eruda.show(); 112 | }; 113 | } 114 | } -------------------------------------------------------------------------------- /public/assets/js/index.js: -------------------------------------------------------------------------------- 1 | window.bare = new Ultraviolet.BareClient(new URL(__uv$config.bare, window.location)); 2 | 3 | function fullscreen() { 4 | var elem = document.getElementById("ifr") 5 | if (elem.requestFullscreen) { 6 | elem.requestFullscreen(); 7 | } else if (elem.webkitRequestFullscreen) { /* Safari */ 8 | elem.webkitRequestFullscreen(); 9 | } else if (elem.msRequestFullscreen) { /* IE11 */ 10 | elem.msRequestFullscreen(); 11 | } 12 | } 13 | 14 | 15 | async function registerSW() { 16 | await navigator.serviceWorker.register("/dynamic.sw-handler.js", { 17 | scope: "/shuttle-dn", 18 | }); 19 | const workerURL = "/uv.sw-handler.js"; 20 | const worker = await navigator.serviceWorker.getRegistration(workerURL, { 21 | scope: "/shuttle-uv", 22 | }); 23 | if (worker) return worker; 24 | return navigator.serviceWorker.register(workerURL, { scope: __uv$config.prefix }); 25 | } 26 | 27 | function setFavicon(f) { 28 | var link = document.querySelector("link[rel~='icon']"); 29 | if (!link) { 30 | link = document.createElement("link"); 31 | link.rel = "icon"; 32 | document.head.appendChild(link); 33 | } 34 | link.href = f; 35 | } 36 | 37 | function encodeUVUrlWithPath(url = "") { 38 | return __uv$config.prefix + __uv$config.encodeUrl(url); 39 | } 40 | 41 | function abc() { 42 | let inFrame; 43 | 44 | try { 45 | inFrame = window !== top; 46 | } catch (e) { 47 | inFrame = true; 48 | } 49 | 50 | if (inFrame) return; 51 | const popup = window.open(); 52 | if (!popup || popup.closed) { 53 | alert("Auto tab mask failed to open a new tab, allow popups and reload"); 54 | return; 55 | } 56 | 57 | popup.document.body.innerHTML = `${localStorage.getItem("shuttle||name") || "Sign in to your account"} 58 | 59 | `; 60 | 61 | window.location.replace("https://www.google.com/"); 62 | } 63 | 64 | registerSW(); 65 | 66 | window.addEventListener("load", () => { 67 | if (localStorage.getItem("shuttle||title")) document.title = localStorage.getItem("shuttle||title"); 68 | if (localStorage.getItem("shuttle||favicon")) setFavicon(localStorage.getItem("shuttle||favicon")); 69 | 70 | const savedTheme = localStorage.getItem("shuttle||themehex"); 71 | if (savedTheme) { 72 | document.body.style.backgroundColor = savedTheme; 73 | } 74 | if (localStorage.getItem("shuttle||fortniteMode") === "activated") { 75 | document.body.style.backgroundImage = "url(\"https://i.ytimg.com/vi/6evDWowLMbE/maxresdefault.jpg\")"; 76 | } 77 | }); 78 | 79 | const checkbox = document.getElementById("checkbox"); 80 | const darkMode = localStorage.getItem("shuttle||darkMode"); 81 | 82 | function setLightMode(enable = true) { 83 | enable ? document.body.classList.add("dark") : document.body.classList.remove("dark"); 84 | checkbox.checked = enable; 85 | } 86 | 87 | function toggleDarkMode() { 88 | if (document.body.classList.contains("dark")) { 89 | setLightMode(false); 90 | localStorage.setItem("shuttle||darkMode", "false"); 91 | } else { 92 | setLightMode(true); 93 | localStorage.setItem("shuttle||darkMode", "true"); 94 | } 95 | } 96 | 97 | checkbox.addEventListener("change", toggleDarkMode); 98 | 99 | setLightMode(darkMode == "true"); 100 | 101 | /** 102 | * Why is this a thing 103 | * @useless true 104 | */ 105 | function mostUselessFunction() { 106 | var currentTime = new Date(); 107 | 108 | var year = currentTime.getFullYear(); 109 | var month = currentTime.getMonth() + 1; // Months are zero-based 110 | var day = currentTime.getDate(); 111 | 112 | var hours = currentTime.getHours(); 113 | var minutes = currentTime.getMinutes(); 114 | var seconds = currentTime.getSeconds(); 115 | 116 | var ampm = hours >= 12 ? "PM" : "AM"; 117 | 118 | hours = (hours % 12) || 12; 119 | 120 | month = (month < 10 ? "0" : "") + month; 121 | day = (day < 10 ? "0" : "") + day; 122 | hours = (hours < 10 ? "0" : "") + hours; 123 | minutes = (minutes < 10 ? "0" : "") + minutes; 124 | seconds = (seconds < 10 ? "0" : "") + seconds; 125 | 126 | document.getElementById("time").innerHTML = year + "/" + month + "/" + day + " " + hours + ":" + minutes + ":" + seconds + " " + ampm; 127 | } 128 | 129 | setInterval(mostUselessFunction, 1000); -------------------------------------------------------------------------------- /public/assets/css/404.css: -------------------------------------------------------------------------------- 1 | html, 2 | body { 3 | height: 100%; 4 | width: 100%; 5 | margin: 0px; 6 | background: linear-gradient(90deg, rgb(48, 41, 61) 23%, rgb(7, 6, 10) 100%); 7 | } 8 | 9 | .moon { 10 | background: linear-gradient(90deg, rgb(138, 137, 137) 48%, rgb(102, 102, 102) 100%); 11 | position: absolute; 12 | top: -100px; 13 | left: -300px; 14 | width: 900px; 15 | height: 900px; 16 | content: ''; 17 | border-radius: 100%; 18 | box-shadow: 0px 0px 30px -4px rgba(0, 0, 0, 0.5); 19 | } 20 | 21 | .moon__crater { 22 | position: absolute; 23 | content: ''; 24 | border-radius: 100%; 25 | background: linear-gradient(90deg, rgba(122, 122, 122, 1) 38%, rgba(195, 195, 195, 1) 100%); 26 | opacity: 0.6; 27 | } 28 | 29 | .moon__crater1 { 30 | top: 250px; 31 | left: 500px; 32 | width: 60px; 33 | height: 180px; 34 | } 35 | 36 | .moon__crater2 { 37 | top: 650px; 38 | left: 340px; 39 | width: 40px; 40 | height: 80px; 41 | transform: rotate(55deg); 42 | } 43 | 44 | .moon__crater3 { 45 | top: -20px; 46 | left: 40px; 47 | width: 65px; 48 | height: 120px; 49 | transform: rotate(250deg); 50 | } 51 | 52 | .star { 53 | background: grey; 54 | position: absolute; 55 | width: 5px; 56 | height: 5px; 57 | content: ''; 58 | border-radius: 100%; 59 | transform: rotate(250deg); 60 | opacity: 0.4; 61 | animation-name: shimmer; 62 | animation-duration: 1.5s; 63 | animation-iteration-count: infinite; 64 | animation-direction: alternate; 65 | } 66 | 67 | @keyframes shimmer { 68 | from { 69 | opacity: 0; 70 | } 71 | 72 | to { 73 | opacity: 0.7; 74 | } 75 | } 76 | 77 | .star1 { 78 | top: 40%; 79 | left: 50%; 80 | animation-delay: 1s; 81 | } 82 | 83 | .star2 { 84 | top: 60%; 85 | left: 90%; 86 | animation-delay: 3s; 87 | } 88 | 89 | .star3 { 90 | top: 10%; 91 | left: 70%; 92 | animation-delay: 2s; 93 | } 94 | 95 | .star4 { 96 | top: 90%; 97 | left: 40%; 98 | } 99 | 100 | .star5 { 101 | top: 20%; 102 | left: 30%; 103 | animation-delay: 0.5s; 104 | } 105 | 106 | .error { 107 | position: absolute; 108 | left: 100px; 109 | top: 400px; 110 | transform: translateY(-60%); 111 | font-family: 'Righteous', cursive; 112 | color: #363e49; 113 | } 114 | 115 | .error__title { 116 | font-size: 10em; 117 | } 118 | 119 | .error__subtitle { 120 | font-size: 2em; 121 | } 122 | 123 | .error__description { 124 | opacity: 0.5; 125 | } 126 | 127 | .error__button { 128 | min-width: 7em; 129 | margin-top: 3em; 130 | margin-right: 0.5em; 131 | padding: 0.5em 2em; 132 | outline: none; 133 | border: 2px solid #2f3640; 134 | background-color: transparent; 135 | border-radius: 8em; 136 | color: #576375; 137 | cursor: pointer; 138 | transition-duration: 0.2s; 139 | font-size: 0.75em; 140 | font-family: 'Righteous', cursive; 141 | } 142 | 143 | .error__button:hover { 144 | color: #21252c; 145 | } 146 | 147 | .error__button--active { 148 | background-color: #7909e2; 149 | border: 2px solid #7909e2; 150 | color: white; 151 | } 152 | 153 | .error__button--active:hover { 154 | box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.5); 155 | color: white; 156 | } 157 | 158 | .astronaut { 159 | position: absolute; 160 | width: 185px; 161 | height: 300px; 162 | left: 70%; 163 | top: 50%; 164 | transform: translate(-50%, -50%) rotate(20deg) scale(1.2); 165 | } 166 | 167 | .astronaut__head { 168 | background-color: white; 169 | position: absolute; 170 | top: 60px; 171 | left: 60px; 172 | width: 60px; 173 | height: 60px; 174 | content: ''; 175 | border-radius: 2em; 176 | } 177 | 178 | .astronaut__head-visor-flare1 { 179 | background-color: #7f8fa6; 180 | position: absolute; 181 | top: 28px; 182 | left: 40px; 183 | width: 10px; 184 | height: 10px; 185 | content: ''; 186 | border-radius: 2em; 187 | opacity: 0.5; 188 | } 189 | 190 | .astronaut__head-visor-flare2 { 191 | background-color: #718093; 192 | position: absolute; 193 | top: 40px; 194 | left: 38px; 195 | width: 5px; 196 | height: 5px; 197 | content: ''; 198 | border-radius: 2em; 199 | opacity: 0.3; 200 | } 201 | 202 | .astronaut__backpack { 203 | background-color: #bfbfbf; 204 | position: absolute; 205 | top: 90px; 206 | left: 47px; 207 | width: 86px; 208 | height: 90px; 209 | content: ''; 210 | border-radius: 8px; 211 | } 212 | 213 | .astronaut__body { 214 | background-color: #e6e6e6; 215 | position: absolute; 216 | top: 115px; 217 | left: 55px; 218 | width: 70px; 219 | height: 80px; 220 | content: ''; 221 | border-radius: 8px; 222 | } 223 | 224 | .astronaut__body__chest { 225 | background-color: #d9d9d9; 226 | position: absolute; 227 | top: 140px; 228 | left: 68px; 229 | width: 45px; 230 | height: 25px; 231 | content: ''; 232 | border-radius: 6px; 233 | } 234 | 235 | .astronaut__arm-left1 { 236 | background-color: #e6e6e6; 237 | position: absolute; 238 | top: 127px; 239 | left: 9px; 240 | width: 65px; 241 | height: 20px; 242 | content: ''; 243 | border-radius: 8px; 244 | transform: rotate(-30deg); 245 | } 246 | 247 | .astronaut__arm-left2 { 248 | background-color: #e6e6e6; 249 | position: absolute; 250 | top: 102px; 251 | left: 7px; 252 | width: 20px; 253 | height: 45px; 254 | content: ''; 255 | border-radius: 8px; 256 | transform: rotate(-12deg); 257 | border-top-left-radius: 8em; 258 | border-top-right-radius: 8em; 259 | } 260 | 261 | .astronaut__arm-right1 { 262 | background-color: #e6e6e6; 263 | position: absolute; 264 | top: 113px; 265 | left: 100px; 266 | width: 65px; 267 | height: 20px; 268 | content: ''; 269 | border-radius: 8px; 270 | transform: rotate(-10deg); 271 | } 272 | 273 | .astronaut__arm-right2 { 274 | background-color: #e6e6e6; 275 | position: absolute; 276 | top: 78px; 277 | left: 141px; 278 | width: 20px; 279 | height: 45px; 280 | content: ''; 281 | border-radius: 8px; 282 | transform: rotate(-10deg); 283 | border-top-left-radius: 8em; 284 | border-top-right-radius: 8em; 285 | } 286 | 287 | .astronaut__arm-thumb-left { 288 | background-color: #e6e6e6; 289 | position: absolute; 290 | top: 110px; 291 | left: 21px; 292 | width: 10px; 293 | height: 6px; 294 | content: ''; 295 | border-radius: 8em; 296 | transform: rotate(-35deg); 297 | } 298 | 299 | .astronaut__arm-thumb-right { 300 | background-color: #e6e6e6; 301 | position: absolute; 302 | top: 90px; 303 | left: 133px; 304 | width: 10px; 305 | height: 6px; 306 | content: ''; 307 | border-radius: 8em; 308 | transform: rotate(20deg); 309 | } 310 | 311 | .astronaut__wrist-left { 312 | background-color: #7909e2; 313 | position: absolute; 314 | top: 122px; 315 | left: 6.5px; 316 | width: 21px; 317 | height: 4px; 318 | content: ''; 319 | border-radius: 8em; 320 | transform: rotate(-15deg); 321 | } 322 | 323 | .astronaut__wrist-right { 324 | background-color: #7909e2; 325 | position: absolute; 326 | top: 98px; 327 | left: 141px; 328 | width: 21px; 329 | height: 4px; 330 | content: ''; 331 | border-radius: 8em; 332 | transform: rotate(-10deg); 333 | } 334 | 335 | .astronaut__leg-left { 336 | background-color: #e6e6e6; 337 | position: absolute; 338 | top: 188px; 339 | left: 50px; 340 | width: 23px; 341 | height: 75px; 342 | content: ''; 343 | transform: rotate(10deg); 344 | } 345 | 346 | .astronaut__leg-right { 347 | background-color: #e6e6e6; 348 | position: absolute; 349 | top: 188px; 350 | left: 108px; 351 | width: 23px; 352 | height: 75px; 353 | content: ''; 354 | transform: rotate(-10deg); 355 | } 356 | 357 | .astronaut__foot-left { 358 | background-color: white; 359 | position: absolute; 360 | top: 240px; 361 | left: 43px; 362 | width: 28px; 363 | height: 20px; 364 | content: ''; 365 | transform: rotate(10deg); 366 | border-radius: 3px; 367 | border-top-left-radius: 8em; 368 | border-top-right-radius: 8em; 369 | border-bottom: 4px solid #7909e2; 370 | } 371 | 372 | .astronaut__foot-right { 373 | background-color: white; 374 | position: absolute; 375 | top: 240px; 376 | left: 111px; 377 | width: 28px; 378 | height: 20px; 379 | content: ''; 380 | transform: rotate(-10deg); 381 | border-radius: 3px; 382 | border-top-left-radius: 8em; 383 | border-top-right-radius: 8em; 384 | border-bottom: 4px solid #7909e2; 385 | } -------------------------------------------------------------------------------- /views/apps.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 15 | 16 |
17 |
18 |

Apps

19 | 20 | 22 | 23 |
24 |
25 | ShuttleAI Icon 26 |

ShuttleAI

27 |
28 |
29 | Tiktok Icon 31 |

TikTok

32 |
33 | 34 |
35 | Discord icon 37 |

Discord

38 |
39 |
40 | Youtube icon 41 |

Youtube

42 |
43 |
44 | Netflix icon 45 |

Netflix

46 |
47 |
48 | Disney+ icon 49 |

Disney+

50 |
51 |
52 | Twitch icon 54 |

Twitch

55 |
56 |
57 | Snapchat icon 59 |

Snapchat

60 |
61 |
62 | Spotify icon 63 |

Spotify

64 |
65 |
66 | Instagram icon 68 |

Instagram

69 |
70 |
71 | Gmail icon 73 |

Gmail

74 |
75 |
76 | Prime Video icon 78 |

Prime Video

79 |
80 |
81 | SoundCloud icon 83 |

SoundCloud

84 |
85 |
86 | Google icon 88 |

Google

89 |
90 |
91 |
92 | 93 | 94 | -------------------------------------------------------------------------------- /views/games.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 15 | 16 |
17 |
18 |

Games

19 | 20 | 22 | 23 |
24 |
25 | now.gg logo 26 |

now.gg

27 |
28 |
29 | monkey mart 31 |

Monkey Mart

32 |
33 |
34 | 1v1.lol 36 |

1v1.lol

37 |
38 |
39 | Slope 40 |

Slope

41 |
42 |
43 | Happy Wheels 45 |

Happy Wheels

46 |
47 |
48 | 10mTD 49 |

10 Minutes Till Dawn

50 |
51 |
52 | 1 53 |

1

54 |
55 |
56 | 2048 57 |

2048

58 |
59 |
60 | 1v1.space 61 |

1v1.space

62 |
63 |
64 | 99 Balls 65 |

99 Balls

66 |
67 |
68 | DogeMiner 70 |

DogeMiner

71 |
72 |
73 | Dogeminer 2 74 |

DogeMiner 2

75 |
76 |
77 | Dogeminer 2 78 |

HexGL

79 |
80 |
81 |
82 | 83 | -------------------------------------------------------------------------------- /public/assets/css/style.css: -------------------------------------------------------------------------------- 1 | @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); 2 | @import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap"); 3 | @import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap"); 4 | 5 | :root { 6 | --bg: #19191a; 7 | --font: "Montserrat", sans-serif; 8 | --color-1: #3a027e; 9 | --color-2: #c800ff; 10 | --border-card: rgba(49, 49, 49, 1); 11 | --card-background: rgb(83, 77, 77); 12 | --accent: #8b3dff; 13 | } 14 | 15 | /* ---- reset ---- */ 16 | body { 17 | margin: 0; 18 | font: normal 75% Arial, Helvetica, sans-serif; 19 | } 20 | 21 | canvas { 22 | display: block; 23 | vertical-align: bottom; 24 | } 25 | 26 | /* ---- particles.js container ---- */ 27 | #particles-js { 28 | position: absolute; 29 | width: 100%; 30 | height: 100%; 31 | background-image: url(""); 32 | background-repeat: no-repeat; 33 | background-size: cover; 34 | background-position: 50% 50%; 35 | } 36 | 37 | /* ---- stats.js ---- */ 38 | .count-particles { 39 | background: #000022; 40 | position: absolute; 41 | top: 48px; 42 | left: 0; 43 | width: 80px; 44 | color: #13E8E9; 45 | font-size: .8em; 46 | text-align: left; 47 | text-indent: 4px; 48 | line-height: 14px; 49 | padding-bottom: 2px; 50 | font-family: Helvetica, Arial, sans-serif; 51 | font-weight: bold; 52 | } 53 | 54 | .js-count-particles { 55 | font-size: 1.1em; 56 | } 57 | 58 | #stats, 59 | .count-particles { 60 | -webkit-user-select: none; 61 | margin-top: 5px; 62 | margin-left: 5px; 63 | } 64 | 65 | #stats { 66 | border-radius: 3px 3px 0 0; 67 | overflow: hidden; 68 | } 69 | 70 | .count-particles { 71 | border-radius: 0 0 3px 3px; 72 | } 73 | 74 | .frame-container { 75 | position: fixed; 76 | top: 60px; 77 | left: 0; 78 | right: 0; 79 | bottom: 0; 80 | border: none; 81 | display: none; 82 | width: 100%; 83 | height: 100%; 84 | } 85 | 86 | footer { 87 | margin-top: auto; 88 | width: 93%; 89 | align-self: center; 90 | height: 80px; 91 | display: flex; 92 | justify-content: left; 93 | align-items: center; 94 | z-index: 1; 95 | } 96 | 97 | footer a, 98 | footer span { 99 | margin: auto; 100 | text-decoration: none; 101 | color: #fff; 102 | font-size: 15px; 103 | font-family: "Poppins"; 104 | } 105 | 106 | footer a { 107 | cursor: pointer; 108 | } 109 | 110 | footer a:hover { 111 | text-decoration: underline; 112 | } 113 | 114 | #form { 115 | border: solid 2px transparent; 116 | background-clip: padding-box; 117 | display: flex; 118 | align-items: center; 119 | justify-content: center; 120 | position: relative; 121 | border-radius: 15px; 122 | outline: none; 123 | font-size: 15px; 124 | padding: 8px; 125 | height: 25px; 126 | background-color: transparent; 127 | padding-right: 10px; 128 | color: #ffffff; 129 | z-index: 1; 130 | width: 170px; 131 | transition: width 0.5s ease, border-radius 0.5s ease, box-shadow 0.5s ease; 132 | box-shadow: 0 0 10px rgba(119, 0, 255, 0.7), 0 0 20px rgba(49, 0, 128, 0.7); 133 | } 134 | 135 | #form:hover { 136 | width: 230px; 137 | font-size: 16px; 138 | border-radius: 20px; 139 | box-shadow: 0 0 15px rgb(140, 0, 255), 0 0 30px rgb(77, 0, 128); 140 | } 141 | 142 | #form:valid { 143 | width: 230px; 144 | font-size: 16px; 145 | border-radius: 20px; 146 | } 147 | 148 | .background { 149 | z-index: 0; 150 | position: fixed; 151 | top: 50%; 152 | left: 50%; 153 | height: 1px; 154 | width: 1px; 155 | background-color: #fff; 156 | border-radius: 50%; 157 | box-shadow: -42vw -4vh 0px 0px #fff, 25vw -41vh 0px 0px #fff, -20vw 49vh 0px 1px #fff, 5vw 40vh 1px 1px #fff, 29vw 19vh 1px 0px #fff, -44vw -13vh 0px 0px #fff, 46vw 41vh 0px 1px #fff, -3vw -45vh 0px 1px #fff, 47vw 35vh 1px 0px #fff, 12vw -8vh 1px 0px #fff, -34vw 48vh 1px 1px #fff, 32vw 26vh 1px 1px #fff, 32vw -41vh 1px 1px #fff, 0vw 37vh 1px 1px #fff, 34vw -26vh 1px 0px #fff, -14vw -49vh 1px 0px #fff, -12vw 45vh 0px 1px #fff, -44vw -33vh 0px 1px #fff, -13vw 41vh 0px 0px #fff, -36vw -11vh 0px 1px #fff, -23vw -24vh 1px 0px #fff, -38vw -27vh 0px 1px #fff, 16vw -19vh 0px 0px #fff, 28vw 33vh 1px 0px #fff, -49vw -4vh 0px 0px #fff, 16vw 32vh 0px 1px #fff, 36vw -18vh 1px 0px #fff, -25vw -30vh 1px 0px #fff, -23vw 24vh 0px 1px #fff, -2vw -35vh 1px 1px #fff, -25vw 9vh 0px 0px #fff, -15vw -34vh 0px 0px #fff, -8vw -19vh 1px 0px #fff, -20vw -20vh 1px 1px #fff, 42vw 50vh 0px 1px #fff, -32vw 10vh 1px 0px #fff, -23vw -17vh 0px 0px #fff, 44vw 15vh 1px 0px #fff, -40vw 33vh 1px 1px #fff, -43vw 8vh 0px 0px #fff, -48vw -15vh 1px 1px #fff, -24vw 17vh 0px 0px #fff, -31vw 50vh 1px 0px #fff, 36vw -38vh 0px 1px #fff, -7vw 48vh 0px 0px #fff, 15vw -32vh 0px 0px #fff, 29vw -41vh 0px 0px #fff, 2vw 37vh 1px 0px #fff, 7vw -40vh 1px 1px #fff, 15vw 18vh 0px 0px #fff, 25vw -13vh 1px 1px #fff, -46vw -12vh 1px 1px #fff, -18vw 22vh 0px 0px #fff, 23vw -9vh 1px 0px #fff, 50vw 12vh 0px 1px #fff, 45vw 2vh 0px 0px #fff, 14vw -48vh 1px 0px #fff, 23vw 43vh 0px 1px #fff, -40vw 16vh 1px 1px #fff, 20vw -31vh 0px 1px #fff, -17vw 44vh 1px 1px #fff, 18vw -45vh 0px 0px #fff, 33vw -6vh 0px 0px #fff, 0vw 7vh 0px 1px #fff, -10vw -18vh 0px 1px #fff, -19vw 5vh 1px 0px #fff, 1vw 42vh 0px 0px #fff, 22vw 48vh 0px 1px #fff, 39vw -8vh 1px 1px #fff, -6vw -42vh 1px 0px #fff, -47vw 34vh 0px 0px #fff, -46vw 19vh 0px 1px #fff, -12vw -32vh 0px 0px #fff, -45vw -38vh 0px 1px #fff, -28vw 18vh 1px 0px #fff, -38vw -46vh 1px 1px #fff, 49vw -6vh 1px 1px #fff, -28vw 18vh 1px 1px #fff, 10vw -24vh 0px 1px #fff, -5vw -11vh 1px 1px #fff, 33vw -8vh 1px 0px #fff, -16vw 17vh 0px 0px #fff, 18vw 27vh 0px 1px #fff, -8vw -10vh 1px 1px #fff; 158 | 159 | /* stars were too big with the layers above but left the code in case no one cares -- as in, if noone's just that one other loner who actually cares */ 160 | 161 | box-shadow: 24vw 9vh 1px 0px #fff, 12vw -24vh 0px 1px #fff, -45vw -22vh 0px 0px #fff, -37vw -40vh 0px 1px #fff, 29vw 19vh 0px 1px #fff, 4vw -8vh 0px 1px #fff, -5vw 21vh 1px 1px #fff, -27vw 26vh 1px 1px #fff, -47vw -3vh 1px 1px #fff, -28vw -30vh 0px 1px #fff, -43vw -27vh 0px 1px #fff, 4vw 22vh 1px 1px #fff, 36vw 23vh 0px 0px #fff, -21vw 24vh 1px 1px #fff, -16vw 2vh 1px 0px #fff, -16vw -6vh 0px 0px #fff, 5vw 26vh 0px 0px #fff, -34vw 41vh 0px 0px #fff, 1vw 42vh 1px 1px #fff, 11vw -13vh 1px 1px #fff, 48vw -8vh 1px 0px #fff, 22vw -15vh 0px 0px #fff, 45vw 49vh 0px 0px #fff, 43vw -27vh 1px 1px #fff, 20vw -2vh 0px 0px #fff, 8vw 22vh 0px 1px #fff, 39vw 48vh 1px 1px #fff, -21vw -11vh 0px 1px #fff, -40vw 45vh 0px 1px #fff, 11vw -30vh 1px 0px #fff, 26vw 30vh 1px 0px #fff, 45vw -29vh 0px 1px #fff, -2vw 18vh 0px 0px #fff, -29vw -45vh 1px 0px #fff, -7vw -27vh 1px 1px #fff, 42vw 24vh 0px 0px #fff, 45vw -48vh 1px 0px #fff, -36vw -18vh 0px 0px #fff, -44vw 13vh 0px 1px #fff, 36vw 16vh 0px 1px #fff, 40vw 24vh 0px 0px #fff, 18vw 11vh 0px 0px #fff, -15vw -23vh 1px 0px #fff, -24vw 48vh 0px 1px #fff, 27vw -45vh 1px 0px #fff, -2vw -24vh 0px 1px #fff, -15vw -28vh 0px 0px #fff, -43vw 13vh 1px 0px #fff, 7vw 27vh 1px 0px #fff, 47vw 5vh 0px 0px #fff, -45vw 15vh 1px 1px #fff, -5vw -28vh 0px 1px #fff, 38vw 25vh 1px 1px #fff, -39vw -1vh 1px 0px #fff, 5vw 0vh 1px 0px #fff, 49vw 13vh 0px 0px #fff, 48vw 10vh 0px 1px #fff, 19vw -28vh 0px 0px #fff, 4vw 7vh 0px 0px #fff, 21vw 21vh 1px 1px #fff, -15vw -15vh 0px 1px #fff, -6vw -42vh 1px 0px #fff, -15vw 48vh 1px 1px #fff, -23vw 25vh 1px 1px #fff, -48vw 25vh 0px 1px #fff, -31vw -19vh 0px 1px #fff, 4vw 37vh 1px 1px #fff, -43vw 28vh 0px 0px #fff, 3vw -25vh 0px 1px #fff, -39vw 14vh 0px 1px #fff, -40vw 31vh 0px 1px #fff, 35vw -36vh 1px 1px #fff, 16vw 49vh 0px 0px #fff, 6vw 39vh 0px 0px #fff, 3vw -35vh 0px 1px #fff, -44vw -2vh 1px 0px #fff, -6vw 21vh 1px 0px #fff, 48vw 9vh 1px 1px #fff, -43vw 30vh 1px 1px #fff, 29vw -12vh 1px 1px #fff, -48vw 13vh 1px 0px #fff, -42vw 32vh 1px 1px #fff, 34vw 15vh 1px 1px #fff, 29vw -37vh 1px 1px #fff, 28vw 2vh 0px 0px #fff; 162 | animation: zoom 16s alternate infinite; 163 | } 164 | 165 | @keyframes zoom { 166 | 0% { 167 | transform: scale(1); 168 | } 169 | 170 | 100% { 171 | transform: scale(1.5); 172 | } 173 | } 174 | 175 | .search { 176 | border-radius: 5px; 177 | outline: none; 178 | font-size: 16px; 179 | padding: 5px; 180 | width: 100%; 181 | height: 30px; 182 | background-color: transparent; 183 | color: #ffffff; 184 | border: none; 185 | transition: 0.5s; 186 | } 187 | 188 | .submit-button { 189 | background: transparent; 190 | border: none !important; 191 | } 192 | 193 | .head { 194 | font-family: "Poppins"; 195 | font-size: 36px; 196 | color: #824dff; 197 | width: 100%; 198 | text-align: center; 199 | animation: float 6s ease-out infinite; 200 | } 201 | 202 | .nav-logo { 203 | width: 100px; 204 | height: 100px; 205 | display: block; 206 | margin-left: auto; 207 | margin-right: auto; 208 | padding: 0px 0px 0px 0px; 209 | margin-bottom: 0px; 210 | } 211 | 212 | html { 213 | margin: 0; 214 | padding: 0; 215 | text-decoration: none; 216 | } 217 | 218 | :root { 219 | --accent-color: #fff; 220 | --gradient-color: #fbfbfb; 221 | } 222 | 223 | body { 224 | display: flex; 225 | flex-direction: column; 226 | align-items: center; 227 | overflow: hidden; 228 | margin: 0px; 229 | padding: 0px; 230 | } 231 | 232 | .alignment-container-1 { 233 | height: 100%; 234 | display: flex; 235 | justify-content: center; 236 | flex-direction: column; 237 | align-items: center; 238 | } 239 | 240 | .i1 { 241 | background-color: #824dff; 242 | border-radius: 12px; 243 | border: 0; 244 | box-sizing: border-box; 245 | color: #eee; 246 | font-size: 18px; 247 | height: 50px; 248 | outline: 0; 249 | padding: 4px 20px 0; 250 | width: 400px; 251 | text-align: center; 252 | } 253 | 254 | .i1::placeholder { 255 | color: white; 256 | text-align: center; 257 | font-family: "Poppins"; 258 | } 259 | 260 | .sidebar { 261 | display: flex; 262 | justify-content: flex-start; 263 | align-items: center; 264 | width: 100%; 265 | height: 80px; 266 | z-index: 1; 267 | border-radius: 15px; 268 | background: rgba(35, 37, 36, 0.1); 269 | backdrop-filter: blur(8px); 270 | -webkit-backdrop-filter: blur(8px); 271 | -moz-backdrop-filter: blur(8px); 272 | -ms-backdrop-filter: blur(8px); 273 | -webkit-box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.75); 274 | -moz-box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.75); 275 | box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.75); 276 | border: 1px solid rgba(0, 0, 0, 0.2); 277 | } 278 | 279 | .sidebar a { 280 | color: #fff; 281 | padding: 13px; 282 | text-decoration: none; 283 | box-sizing: border-box; 284 | font-family: "Lato", sans-serif; 285 | transition: all 0.5s ease; 286 | z-index: 1; 287 | } 288 | 289 | .sidebar a.active { 290 | color: #ffffff; 291 | background: #a772ff; 292 | border-radius: 10px; 293 | z-index: 1; 294 | } 295 | 296 | .sidebar a span { 297 | letter-spacing: 1px; 298 | text-transform: uppercase; 299 | z-index: 1; 300 | } 301 | 302 | #check { 303 | display: none; 304 | } 305 | 306 | .settingsInput { 307 | background-color: rgba(0, 0, 0, 0); 308 | color: white; 309 | border-color: #ffffff; 310 | border-style: solid; 311 | border-radius: 5px; 312 | height: 40px; 313 | width: 150px; 314 | z-index: 100; 315 | } 316 | 317 | label #btn, 318 | label #cancel { 319 | position: absolute; 320 | left: 5px; 321 | cursor: pointer; 322 | color: #ffffff; 323 | border-radius: 15px; 324 | margin: 15px 30px; 325 | font-size: 29px; 326 | background-color: transparent; 327 | height: 45px; 328 | width: 45px; 329 | text-align: center; 330 | 331 | line-height: 45px; 332 | transition: all 0.5s ease; 333 | } 334 | 335 | label #cancel { 336 | opacity: 0; 337 | visibility: hidden; 338 | } 339 | 340 | #check:checked~.sidebar { 341 | left: 0; 342 | } 343 | 344 | #check:checked~label #btn { 345 | margin-left: 245px; 346 | opacity: 0; 347 | visibility: hidden; 348 | } 349 | 350 | #check:checked~label #cancel { 351 | margin-left: 245px; 352 | opacity: 1; 353 | visibility: visible; 354 | } 355 | 356 | .sidebar>a.active, 357 | .sidebar>a:hover:nth-child(even) { 358 | --accent-color: #555555; 359 | --gradient-color: #222222; 360 | z-index: 1; 361 | } 362 | 363 | .sidebar a.active, 364 | .sidebar>a:hover:nth-child(odd) { 365 | --accent-color: #555555; 366 | --gradient-color: #222222; 367 | z-index: 1; 368 | } 369 | 370 | .container { 371 | display: flex; 372 | justify-content: center; 373 | align-items: center; 374 | height: 100vh; 375 | } 376 | 377 | .frame { 378 | width: 50%; 379 | height: 30%; 380 | margin: auto; 381 | text-align: center; 382 | display: flex; 383 | justify-content: center; 384 | flex-direction: column; 385 | } 386 | 387 | .button-1:hover, 388 | .button-1:focus { 389 | background-color: rgba(0, 0, 0, 0); 390 | } 391 | 392 | .button { 393 | background-color: rgba(0, 0, 0, 0); 394 | color: #ffffff; 395 | border-color: #ffffff; 396 | border-style: solid; 397 | border-radius: 5px; 398 | width: 150px; 399 | cursor: pointer; 400 | margin-bottom: 5px; 401 | height: 40px; 402 | transition: transform 0.3s ease; 403 | z-index: 100; 404 | } 405 | 406 | .button:hover, 407 | .button:focus { 408 | border-radius: 5px; 409 | background-color: rgba(0, 0, 0, 0); 410 | transform: scale(1.1); 411 | } 412 | 413 | .settings-head { 414 | font-family: "Poppins"; 415 | font-size: 36px; 416 | color: #8151ff; 417 | padding: 0px 0px 0px 0px; 418 | margin: 0px 0px 0px 0px; 419 | } 420 | 421 | .settings-head2 { 422 | font-family: "Poppins"; 423 | font-size: 24px; 424 | color: #8151ff; 425 | } 426 | 427 | .browsers { 428 | font-family: "Poppins"; 429 | background-color: rgba(0, 0, 0, 0); 430 | color: white; 431 | cursor: pointer; 432 | width: 150px; 433 | height: 30px; 434 | border-radius: 5px; 435 | border: none; 436 | border-color: #ffffff; 437 | border-style: solid; 438 | z-index: 100; 439 | } 440 | 441 | option { 442 | font-family: "Poppins"; 443 | border-radius: 5px; 444 | background-color: #000; 445 | color: #fff; 446 | } 447 | 448 | .box { 449 | width: 400px; 450 | height: 100px; 451 | background-color: #000; 452 | border-image: linear-gradient(to right, green, blue); 453 | border-radius: 10px; 454 | display: flex; 455 | float: left; 456 | margin-left: 50px; 457 | box-shadow: #242424 2px; 458 | margin-bottom: 15px; 459 | } 460 | 461 | .b2 { 462 | width: 100%; 463 | height: 100%; 464 | display: flex; 465 | justify-content: center; 466 | align-items: center; 467 | margin-top: 10px; 468 | } 469 | 470 | .gs-img { 471 | width: 70px; 472 | height: 70px; 473 | border-radius: 10px; 474 | margin-left: 20px; 475 | margin-top: 10px; 476 | } 477 | 478 | .gs-img:hover { 479 | transition: 1s; 480 | transform: scale(1.3); 481 | z-index: 2; 482 | } 483 | 484 | .h7 { 485 | text-align: center; 486 | margin-left: 140px; 487 | position: absolute; 488 | font-size: 30px; 489 | } 490 | 491 | .h7:hover { 492 | transition: 1s; 493 | transform: scale(1.1); 494 | z-index: 2; 495 | } 496 | 497 | .gs-box-header { 498 | font-family: "Montserrat", sans-serif; 499 | color: white; 500 | } 501 | 502 | .gs-box-button:hover { 503 | color: black; 504 | } 505 | 506 | html, 507 | body { 508 | background-size: cover; 509 | background-repeat: no-repeat; 510 | background-position: center center; 511 | width: 100%; 512 | height: 100%; 513 | background-color: #0b0b0b; 514 | } 515 | 516 | /* SEARCH */ 517 | #nav { 518 | min-height: 5vh; 519 | height: 100%; 520 | width: 100%; 521 | display: flex; 522 | align-items: center; 523 | justify-content: center; 524 | } 525 | 526 | #message { 527 | text-align: center; 528 | } 529 | 530 | #ifr { 531 | border-radius: 15px; 532 | width: 100%; 533 | height: 90%; 534 | min-height: 95vh; 535 | display: block; 536 | border: 0px; 537 | border-color: transparent; 538 | z-index: 1; 539 | } 540 | 541 | #nav a { 542 | margin-left: 10px; 543 | } 544 | 545 | #nav span { 546 | color: white; 547 | font-family: "Poppins"; 548 | } 549 | 550 | #align { 551 | display: none; 552 | z-index: 100000; 553 | flex-direction: column; 554 | width: 100%; 555 | height: 100%; 556 | } 557 | 558 | ul { 559 | list-style: none; 560 | /* Remove default bullets */ 561 | } 562 | 563 | ul li::before { 564 | content: "\2022"; 565 | /* Add content: \2022 is the CSS Code/unicode for a bullet */ 566 | color: white; 567 | /* Change the color */ 568 | font-weight: bold; 569 | /* If you want it to be bold */ 570 | display: inline-block; 571 | /* Needed to add space between the bullet and the text */ 572 | width: 1em; 573 | /* Also needed for space (tweak if needed) */ 574 | margin-left: -1em; 575 | /* Also needed for space (tweak if needed) */ 576 | } 577 | 578 | .big-text { 579 | font-size: 1.2rem; 580 | text-align: center; 581 | margin-top: 10px; 582 | background-image: linear-gradient(90deg, #3a027e, #c800ff); 583 | background-clip: text; 584 | font-family: "Poppins"; 585 | -webkit-background-clip: text; 586 | -webkit-text-fill-color: transparent; 587 | z-index: 1; 588 | } 589 | 590 | a { 591 | font-family: "Poppins"; 592 | } 593 | 594 | #starsContainer { 595 | width: 100%; 596 | } 597 | 598 | #404 { 599 | color: #824dff; 600 | font-size: 24px; 601 | font-family: "Poppins"; 602 | } 603 | 604 | #logo { 605 | height: 45px; 606 | color: black; 607 | margin-bottom: 15px 608 | } 609 | 610 | #logo img { 611 | width: 35px; 612 | height: 35px; 613 | border-radius: 20%; 614 | } 615 | 616 | iframe { 617 | width: 100%; 618 | height: 100%; 619 | border: none; 620 | } 621 | 622 | .ad-container { 623 | display: inline-block; 624 | margin-bottom: -50px; 625 | width: 728px; 626 | z-index: 1; 627 | } 628 | 629 | #splash { 630 | color: rgba(180, 180, 180, 0.5); 631 | font-family: "Poppins"; 632 | margin-bottom: 30px; 633 | text-align: center; 634 | } 635 | 636 | .searchicon { 637 | color: white; 638 | } 639 | 640 | .logo-image { 641 | max-width: 10%; 642 | height: auto; 643 | z-index: 1; 644 | pointer-events: none; 645 | user-select: none; 646 | } 647 | 648 | 649 | .header-container { 650 | display: flex; 651 | justify-content: center; 652 | align-items: center; 653 | } 654 | 655 | #suggestions { 656 | z-index: 5; 657 | margin-top: 10px; 658 | border-radius: 10px; 659 | transition: width 0.5s ease, border-radius 0.5s ease, box-shadow 0.5s ease; 660 | box-shadow: 0 0 10px rgba(119, 0, 255, 0.7), 0 0 20px rgba(49, 0, 128, 0.7); 661 | } 662 | 663 | .suggestions a { 664 | z-index: 1; 665 | display: block; 666 | padding: 10px; 667 | width: 230px; 668 | font-family: "poppins"; 669 | color: white; 670 | font-size: 0.8vw; 671 | text-decoration: none; 672 | background-color: transparent; 673 | border-radius: 10px; 674 | margin: 0 auto; 675 | margin-top: 2px; 676 | } 677 | 678 | .suggestions a:link { 679 | text-decoration: none; 680 | color: white; 681 | font-family: "poppins" 682 | } 683 | 684 | .suggestions a:hover { 685 | background-color: #a872ff5b; 686 | } 687 | 688 | svg { 689 | position: absolute; 690 | top: 0; 691 | left: 0; 692 | z-index: -1; 693 | filter: blur(97px); 694 | } 695 | 696 | .nav-active { 697 | position: relative; 698 | border: none; 699 | border-radius: 3px; 700 | padding: 10px 20px; 701 | background-color: transparent; 702 | color: #ffffff; 703 | cursor: pointer; 704 | text-decoration: none; 705 | } 706 | 707 | .nav-active::after { 708 | content: ''; 709 | position: absolute; 710 | left: 50%; 711 | transform: translateX(-50%); 712 | bottom: 0; 713 | width: 50%; 714 | height: 2px; 715 | background-color: #fff; 716 | } 717 | 718 | .nav-active:hover { 719 | background-color: #302f2f; 720 | } 721 | 722 | .nav-btn { 723 | position: relative; 724 | border: none; 725 | border-radius: 3px; 726 | padding: 10px 20px; 727 | background-color: transparent; 728 | color: #ffffff; 729 | cursor: pointer; 730 | text-decoration: none; 731 | } 732 | 733 | .nav-btn:hover { 734 | background-color: #302f2f; 735 | } 736 | 737 | a { 738 | margin-right: 10px; 739 | } 740 | 741 | .box { 742 | z-index: 5; 743 | background: rgba(35, 37, 36, 0.1); 744 | backdrop-filter: blur(8px); 745 | -webkit-backdrop-filter: blur(8px); 746 | -moz-backdrop-filter: blur(8px); 747 | -ms-backdrop-filter: blur(8px); 748 | -webkit-box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.75); 749 | -moz-box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.75); 750 | box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.75); 751 | border: 1px solid rgba(0, 0, 0, 0.2); 752 | width: 300px; 753 | height: 200px; 754 | color: white; 755 | text-align: center; 756 | display: flex; 757 | flex-direction: column; 758 | justify-content: space-between; 759 | padding: 20px; 760 | margin: 0 auto; 761 | box-sizing: border-box; 762 | margin-top: 5%; 763 | position: sticky; 764 | } 765 | 766 | .box p { 767 | font-size: 25px; 768 | opacity: 100%; 769 | } 770 | 771 | body.dark {background-color: #292c35;} 772 | 773 | body.dark h1, body.dark .support a {color: #fff;} 774 | 775 | .checkbox { 776 | opacity: 0; 777 | position: absolute; 778 | } 779 | 780 | .checkbox-label { 781 | background-color: #111; 782 | width: 40px; 783 | height: 16px; 784 | border-radius: 50px; 785 | position: relative; 786 | padding: 5px; 787 | cursor: pointer; 788 | display: flex; 789 | justify-content: space-between; 790 | align-items: center; 791 | margin-right: 50px; 792 | } 793 | 794 | .fa-moon {color: #f1c40f;} 795 | 796 | .fa-sun {color: #f39c12;} 797 | 798 | .checkbox-label .ball { 799 | background-color: #fff; 800 | width: 22px; 801 | height: 22px; 802 | position: absolute; 803 | left: 2px; 804 | top: 2px; 805 | border-radius: 50%; 806 | transition: transform 0.2s linear; 807 | } 808 | 809 | .checkbox:checked + .checkbox-label .ball { 810 | transform: translateX(24px); 811 | } -------------------------------------------------------------------------------- /public/assets/js/snow.js: -------------------------------------------------------------------------------- 1 | /** @license 2 | * DHTML Snowstorm! JavaScript-based snow for web pages 3 | * Making it snow on the internets since 2003. You're welcome. 4 | * ----------------------------------------------------------- 5 | * Version 1.44.20131208 (Previous rev: 1.44.20131125) 6 | * Copyright (c) 2007, Scott Schiller. All rights reserved. 7 | * Code provided under the BSD License 8 | * http://schillmania.com/projects/snowstorm/license.txt 9 | */ 10 | 11 | /*jslint nomen: true, plusplus: true, sloppy: true, vars: true, white: true */ 12 | /*global window, document, navigator, clearInterval, setInterval */ 13 | 14 | var snowStorm = (function(window, document) { 15 | 16 | // --- common properties --- 17 | 18 | this.autoStart = true; // Whether the snow should start automatically or not. 19 | this.excludeMobile = true; // Snow is likely to be bad news for mobile phones' CPUs (and batteries.) Enable at your own risk. 20 | this.flakesMax = 128; // Limit total amount of snow made (falling + sticking) 21 | this.flakesMaxActive = 100; // Limit amount of snow falling at once (less = lower CPU use) 22 | this.animationInterval = 1000; // Theoretical "miliseconds per frame" measurement. 20 = fast + smooth, but high CPU use. 50 = more conservative, but slower 23 | this.useGPU = true; // Enable transform-based hardware acceleration, reduce CPU load. 24 | this.className = null; // CSS class name for further customization on snow elements 25 | this.excludeMobile = true; // Snow is likely to be bad news for mobile phones' CPUs (and batteries.) By default, be nice. 26 | this.flakeBottom = null; // Integer for Y axis snow limit, 0 or null for "full-screen" snow effect 27 | this.followMouse = false; // Snow movement can respond to the user's mouse 28 | this.snowColor = '#fff'; // Don't eat (or use?) yellow snow. 29 | this.snowCharacter = '•'; // • = bullet, · is square on some systems etc. 30 | this.snowStick = true; // Whether or not snow should "stick" at the bottom. When off, will never collect. 31 | this.targetElement = null; // element which snow will be appended to (null = document.body) - can be an element ID eg. 'myDiv', or a DOM node reference 32 | this.useMeltEffect = true; // When recycling fallen snow (or rarely, when falling), have it "melt" and fade out if browser supports it 33 | this.useTwinkleEffect = false; // Allow snow to randomly "flicker" in and out of view while falling 34 | this.usePositionFixed = false; // true = snow does not shift vertically when scrolling. May increase CPU load, disabled by default - if enabled, used only where supported 35 | this.usePixelPosition = false; // Whether to use pixel values for snow top/left vs. percentages. Auto-enabled if body is position:relative or targetElement is specified. 36 | 37 | // --- less-used bits --- 38 | 39 | this.freezeOnBlur = true; // Only snow when the window is in focus (foreground.) Saves CPU. 40 | this.flakeLeftOffset = 0; // Left margin/gutter space on edge of container (eg. browser window.) Bump up these values if seeing horizontal scrollbars. 41 | this.flakeRightOffset = 0; // Right margin/gutter space on edge of container 42 | this.flakeWidth = 8; // Max pixel width reserved for snow element 43 | this.flakeHeight = 8; // Max pixel height reserved for snow element 44 | this.vMaxX = 5; // Maximum X velocity range for snow 45 | this.vMaxY = 4; // Maximum Y velocity range for snow 46 | this.zIndex = 0; // CSS stacking order applied to each snowflake 47 | 48 | // --- "No user-serviceable parts inside" past this point, yadda yadda --- 49 | 50 | var storm = this, 51 | features, 52 | // UA sniffing and backCompat rendering mode checks for fixed position, etc. 53 | isIE = navigator.userAgent.match(/msie/i), 54 | isIE6 = navigator.userAgent.match(/msie 6/i), 55 | isMobile = navigator.userAgent.match(/mobile|opera m(ob|in)/i), 56 | isBackCompatIE = (isIE && document.compatMode === 'BackCompat'), 57 | noFixed = (isBackCompatIE || isIE6), 58 | screenX = null, screenX2 = null, screenY = null, scrollY = null, docHeight = null, vRndX = null, vRndY = null, 59 | windOffset = 1, 60 | windMultiplier = 2, 61 | flakeTypes = 6, 62 | fixedForEverything = false, 63 | targetElementIsRelative = false, 64 | opacitySupported = (function(){ 65 | try { 66 | document.createElement('div').style.opacity = '0.5'; 67 | } catch(e) { 68 | return false; 69 | } 70 | return true; 71 | }()), 72 | didInit = false, 73 | docFrag = document.createDocumentFragment(); 74 | 75 | features = (function() { 76 | 77 | var getAnimationFrame; 78 | 79 | /** 80 | * hat tip: paul irish 81 | * http://paulirish.com/2011/requestanimationframe-for-smart-animating/ 82 | * https://gist.github.com/838785 83 | */ 84 | 85 | function timeoutShim(callback) { 86 | window.setTimeout(callback, 1000/(storm.animationInterval || 20)); 87 | } 88 | 89 | var _animationFrame = (window.requestAnimationFrame || 90 | window.webkitRequestAnimationFrame || 91 | window.mozRequestAnimationFrame || 92 | window.oRequestAnimationFrame || 93 | window.msRequestAnimationFrame || 94 | timeoutShim); 95 | 96 | // apply to window, avoid "illegal invocation" errors in Chrome 97 | getAnimationFrame = _animationFrame ? function() { 98 | return _animationFrame.apply(window, arguments); 99 | } : null; 100 | 101 | var testDiv; 102 | 103 | testDiv = document.createElement('div'); 104 | 105 | function has(prop) { 106 | 107 | // test for feature support 108 | var result = testDiv.style[prop]; 109 | return (result !== undefined ? prop : null); 110 | 111 | } 112 | 113 | // note local scope. 114 | var localFeatures = { 115 | 116 | transform: { 117 | ie: has('-ms-transform'), 118 | moz: has('MozTransform'), 119 | opera: has('OTransform'), 120 | webkit: has('webkitTransform'), 121 | w3: has('transform'), 122 | prop: null // the normalized property value 123 | }, 124 | 125 | getAnimationFrame: getAnimationFrame 126 | 127 | }; 128 | 129 | localFeatures.transform.prop = ( 130 | localFeatures.transform.w3 || 131 | localFeatures.transform.moz || 132 | localFeatures.transform.webkit || 133 | localFeatures.transform.ie || 134 | localFeatures.transform.opera 135 | ); 136 | 137 | testDiv = null; 138 | 139 | return localFeatures; 140 | 141 | }()); 142 | 143 | this.timer = null; 144 | this.flakes = []; 145 | this.disabled = false; 146 | this.active = false; 147 | this.meltFrameCount = 20; 148 | this.meltFrames = []; 149 | 150 | this.setXY = function(o, x, y) { 151 | 152 | if (!o) { 153 | return false; 154 | } 155 | 156 | if (storm.usePixelPosition || targetElementIsRelative) { 157 | 158 | o.style.left = (x - storm.flakeWidth) + 'px'; 159 | o.style.top = (y - storm.flakeHeight) + 'px'; 160 | 161 | } else if (noFixed) { 162 | 163 | o.style.right = (100-(x/screenX*100)) + '%'; 164 | // avoid creating vertical scrollbars 165 | o.style.top = (Math.min(y, docHeight-storm.flakeHeight)) + 'px'; 166 | 167 | } else { 168 | 169 | if (!storm.flakeBottom) { 170 | 171 | // if not using a fixed bottom coordinate... 172 | o.style.right = (100-(x/screenX*100)) + '%'; 173 | o.style.bottom = (100-(y/screenY*100)) + '%'; 174 | 175 | } else { 176 | 177 | // absolute top. 178 | o.style.right = (100-(x/screenX*100)) + '%'; 179 | o.style.top = (Math.min(y, docHeight-storm.flakeHeight)) + 'px'; 180 | 181 | } 182 | 183 | } 184 | 185 | }; 186 | 187 | this.events = (function() { 188 | 189 | var old = (!window.addEventListener && window.attachEvent), slice = Array.prototype.slice, 190 | evt = { 191 | add: (old?'attachEvent':'addEventListener'), 192 | remove: (old?'detachEvent':'removeEventListener') 193 | }; 194 | 195 | function getArgs(oArgs) { 196 | var args = slice.call(oArgs), len = args.length; 197 | if (old) { 198 | args[1] = 'on' + args[1]; // prefix 199 | if (len > 3) { 200 | args.pop(); // no capture 201 | } 202 | } else if (len === 3) { 203 | args.push(false); 204 | } 205 | return args; 206 | } 207 | 208 | function apply(args, sType) { 209 | var element = args.shift(), 210 | method = [evt[sType]]; 211 | if (old) { 212 | element[method](args[0], args[1]); 213 | } else { 214 | element[method].apply(element, args); 215 | } 216 | } 217 | 218 | function addEvent() { 219 | apply(getArgs(arguments), 'add'); 220 | } 221 | 222 | function removeEvent() { 223 | apply(getArgs(arguments), 'remove'); 224 | } 225 | 226 | return { 227 | add: addEvent, 228 | remove: removeEvent 229 | }; 230 | 231 | }()); 232 | 233 | function rnd(n,min) { 234 | if (isNaN(min)) { 235 | min = 0; 236 | } 237 | return (Math.random()*n)+min; 238 | } 239 | 240 | function plusMinus(n) { 241 | return (parseInt(rnd(2),10)===1?n*-1:n); 242 | } 243 | 244 | this.randomizeWind = function() { 245 | var i; 246 | vRndX = plusMinus(rnd(storm.vMaxX,0.2)); 247 | vRndY = rnd(storm.vMaxY,0.2); 248 | if (this.flakes) { 249 | for (i=0; i=0 && s.vX<0.2) { 412 | s.vX = 0.2; 413 | } else if (s.vX<0 && s.vX>-0.2) { 414 | s.vX = -0.2; 415 | } 416 | if (s.vY>=0 && s.vY<0.2) { 417 | s.vY = 0.2; 418 | } 419 | }; 420 | 421 | this.move = function() { 422 | var vX = s.vX*windOffset, yDiff; 423 | s.x += vX; 424 | s.y += (s.vY*s.vAmp); 425 | if (s.x >= screenX || screenX-s.x < storm.flakeWidth) { // X-axis scroll check 426 | s.x = 0; 427 | } else if (vX < 0 && s.x-storm.flakeLeftOffset < -storm.flakeWidth) { 428 | s.x = screenX-storm.flakeWidth-1; // flakeWidth; 429 | } 430 | s.refresh(); 431 | yDiff = screenY+scrollY-s.y+storm.flakeHeight; 432 | if (yDiff0.998) { 441 | // ~1/1000 chance of melting mid-air, with each frame 442 | s.melting = true; 443 | s.melt(); 444 | // only incrementally melt one frame 445 | // s.melting = false; 446 | } 447 | if (storm.useTwinkleEffect) { 448 | if (s.twinkleFrame < 0) { 449 | if (Math.random() > 0.97) { 450 | s.twinkleFrame = parseInt(Math.random() * 8, 10); 451 | } 452 | } else { 453 | s.twinkleFrame--; 454 | if (!opacitySupported) { 455 | s.o.style.visibility = (s.twinkleFrame && s.twinkleFrame % 2 === 0 ? 'hidden' : 'visible'); 456 | } else { 457 | s.o.style.opacity = (s.twinkleFrame && s.twinkleFrame % 2 === 0 ? 0 : 1); 458 | } 459 | } 460 | } 461 | } 462 | }; 463 | 464 | this.animate = function() { 465 | // main animation loop 466 | // move, check status, die etc. 467 | s.move(); 468 | }; 469 | 470 | this.setVelocities = function() { 471 | s.vX = vRndX+rnd(storm.vMaxX*0.12,0.1); 472 | s.vY = vRndY+rnd(storm.vMaxY*0.12,0.1); 473 | }; 474 | 475 | this.setOpacity = function(o,opacity) { 476 | if (!opacitySupported) { 477 | return false; 478 | } 479 | o.style.opacity = opacity; 480 | }; 481 | 482 | this.melt = function() { 483 | if (!storm.useMeltEffect || !s.melting) { 484 | s.recycle(); 485 | } else { 486 | if (s.meltFrame < s.meltFrameCount) { 487 | s.setOpacity(s.o,s.meltFrames[s.meltFrame]); 488 | s.o.style.fontSize = s.fontSize-(s.fontSize*(s.meltFrame/s.meltFrameCount))+'px'; 489 | s.o.style.lineHeight = storm.flakeHeight+2+(storm.flakeHeight*0.75*(s.meltFrame/s.meltFrameCount))+'px'; 490 | s.meltFrame++; 491 | } else { 492 | s.recycle(); 493 | } 494 | } 495 | }; 496 | 497 | this.recycle = function() { 498 | s.o.style.display = 'none'; 499 | s.o.style.position = (fixedForEverything?'fixed':'absolute'); 500 | s.o.style.bottom = 'auto'; 501 | s.setVelocities(); 502 | s.vCheck(); 503 | s.meltFrame = 0; 504 | s.melting = false; 505 | s.setOpacity(s.o,1); 506 | s.o.style.padding = '0px'; 507 | s.o.style.margin = '0px'; 508 | s.o.style.fontSize = s.fontSize+'px'; 509 | s.o.style.lineHeight = (storm.flakeHeight+2)+'px'; 510 | s.o.style.textAlign = 'center'; 511 | s.o.style.verticalAlign = 'baseline'; 512 | s.x = parseInt(rnd(screenX-storm.flakeWidth-20),10); 513 | s.y = parseInt(rnd(screenY)*-1,10)-storm.flakeHeight; 514 | s.refresh(); 515 | s.o.style.display = 'block'; 516 | s.active = 1; 517 | }; 518 | 519 | this.recycle(); // set up x/y coords etc. 520 | this.refresh(); 521 | 522 | }; 523 | 524 | this.snow = function() { 525 | var active = 0, flake = null, i, j; 526 | for (i=0, j=storm.flakes.length; istorm.flakesMaxActive) { 564 | storm.flakes[storm.flakes.length-1].active = -1; 565 | } 566 | } 567 | storm.targetElement.appendChild(docFrag); 568 | }; 569 | 570 | this.timerInit = function() { 571 | storm.timer = true; 572 | storm.snow(); 573 | }; 574 | 575 | this.init = function() { 576 | var i; 577 | for (i=0; i 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . --------------------------------------------------------------------------------