├── requirements.txt ├── docs ├── screenshot.png └── manual installation.md ├── frontend ├── build │ ├── icon.png │ ├── thumb.jpg │ ├── openvpn.png │ ├── wireguard.png │ ├── asset-manifest.json │ ├── static │ │ ├── js │ │ │ └── main.49f28130.js.LICENSE.txt │ │ └── css │ │ │ ├── main.6ee92f6a.css.map │ │ │ └── main.6ee92f6a.css │ └── index.html ├── public │ ├── icon.png │ ├── thumb.jpg │ ├── openvpn.png │ ├── wireguard.png │ └── index.html ├── src │ ├── index.css │ ├── index.js │ ├── utils │ │ └── hideLoader.js │ ├── NavBar.js │ └── App.js ├── tailwind.config.js ├── .gitignore └── package.json ├── .gitignore ├── README.md ├── main.py ├── openvpn.py ├── setup.sh ├── wireguard.py └── LICENSE /requirements.txt: -------------------------------------------------------------------------------- 1 | flask==2.3.2 2 | psutil==5.9.5 -------------------------------------------------------------------------------- /docs/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dashroshan/openvpn-wireguard-admin/HEAD/docs/screenshot.png -------------------------------------------------------------------------------- /frontend/build/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dashroshan/openvpn-wireguard-admin/HEAD/frontend/build/icon.png -------------------------------------------------------------------------------- /frontend/build/thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dashroshan/openvpn-wireguard-admin/HEAD/frontend/build/thumb.jpg -------------------------------------------------------------------------------- /frontend/public/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dashroshan/openvpn-wireguard-admin/HEAD/frontend/public/icon.png -------------------------------------------------------------------------------- /frontend/build/openvpn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dashroshan/openvpn-wireguard-admin/HEAD/frontend/build/openvpn.png -------------------------------------------------------------------------------- /frontend/public/thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dashroshan/openvpn-wireguard-admin/HEAD/frontend/public/thumb.jpg -------------------------------------------------------------------------------- /frontend/build/wireguard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dashroshan/openvpn-wireguard-admin/HEAD/frontend/build/wireguard.png -------------------------------------------------------------------------------- /frontend/public/openvpn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dashroshan/openvpn-wireguard-admin/HEAD/frontend/public/openvpn.png -------------------------------------------------------------------------------- /frontend/public/wireguard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dashroshan/openvpn-wireguard-admin/HEAD/frontend/public/wireguard.png -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | 5 | ::-webkit-scrollbar { 6 | width: 15px; 7 | } 8 | 9 | ::-webkit-scrollbar-track { 10 | background: #111827; 11 | } 12 | 13 | ::-webkit-scrollbar-thumb { 14 | background: #4a07da; 15 | } 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | config.py 2 | configWireguard.py 3 | 4 | .DS_Store 5 | .env 6 | .flaskenv 7 | *.pyc 8 | *.pyo 9 | env/ 10 | venv/ 11 | .venv/ 12 | env* 13 | dist 14 | *.egg 15 | *.egg-info/ 16 | .tox/ 17 | .cache/ 18 | .pytest_cache/ 19 | .idea/ 20 | docs/_build/ 21 | .vscode 22 | 23 | # Coverage reports 24 | htmlcov/ 25 | .coverage 26 | .coverage.* 27 | *,cover -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: [ 4 | "./src/**/*.{js,jsx,ts,tsx}", 5 | ], 6 | theme: { 7 | extend: {}, 8 | }, 9 | plugins: [require("daisyui")], 10 | daisyui: { 11 | themes: ["light"], 12 | }, 13 | darkMode: ['class', '[data-mode="dark"]'], 14 | } 15 | 16 | -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # misc 12 | .DS_Store 13 | .env.local 14 | .env.development.local 15 | .env.test.local 16 | .env.production.local 17 | 18 | npm-debug.log* 19 | yarn-debug.log* 20 | yarn-error.log* 21 | -------------------------------------------------------------------------------- /frontend/src/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom/client'; 3 | import './index.css'; 4 | import App from './App'; 5 | 6 | // window.APIROOT = "http://127.0.0.1:5000/"; 7 | window.APIROOT = "/"; 8 | 9 | const root = ReactDOM.createRoot(document.getElementById('root')); 10 | 11 | root.render( 12 | 13 | 14 | 15 | ); 16 | -------------------------------------------------------------------------------- /frontend/build/asset-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": { 3 | "main.css": "/static/css/main.6ee92f6a.css", 4 | "main.js": "/static/js/main.49f28130.js", 5 | "index.html": "/index.html", 6 | "main.6ee92f6a.css.map": "/static/css/main.6ee92f6a.css.map", 7 | "main.49f28130.js.map": "/static/js/main.49f28130.js.map" 8 | }, 9 | "entrypoints": [ 10 | "static/css/main.6ee92f6a.css", 11 | "static/js/main.49f28130.js" 12 | ] 13 | } -------------------------------------------------------------------------------- /frontend/src/utils/hideLoader.js: -------------------------------------------------------------------------------- 1 | export default function hideLoader() { 2 | const onPageLoad = () => { 3 | setTimeout(() => { 4 | document.getElementById("loader_block").style.opacity = 0; 5 | setTimeout(() => { 6 | document.getElementById("loader_block").style.display = "none"; 7 | }, 310); 8 | }, 200); 9 | }; 10 | if (document.readyState === 'complete') { 11 | onPageLoad(); 12 | } else { 13 | window.addEventListener('load', onPageLoad, false); 14 | return () => window.removeEventListener('load', onPageLoad); 15 | } 16 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OpenVPN • WireGuard 2 | 3 | Install OpenVPN or WireGuard along with a web admin panel on a freshly created virtual machine using just a single line of command. 4 | 5 | ```bash 6 | sudo wget https://raw.githubusercontent.com/dashroshan/openvpn-wireguard-admin/main/setup.sh -O setup.sh && sudo chmod +x setup.sh && sudo bash setup.sh 7 | ``` 8 | 9 | ### Prerequisites 10 | 11 | - Open port 80, 443, and whichever port you want to use for the VPN in your VM hosting network panel. 12 | - Create a domain pointing to your VM for the web admin panel. 13 | 14 | ### Admin panel 15 | 16 | 17 | 18 | ### Credits 19 | 20 | This project uses the easy install scripts by [Nyr](https://github.com/Nyr) for setting up the OpenVPN and WireGuard services. -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "frontend", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@testing-library/jest-dom": "^5.16.5", 7 | "@testing-library/react": "^13.4.0", 8 | "@testing-library/user-event": "^13.5.0", 9 | "axios": "^1.4.0", 10 | "react": "^18.2.0", 11 | "react-dom": "^18.2.0", 12 | "react-scripts": "5.0.1", 13 | "web-vitals": "^2.1.4" 14 | }, 15 | "scripts": { 16 | "start": "react-scripts start", 17 | "build": "react-scripts build", 18 | "test": "react-scripts test", 19 | "eject": "react-scripts eject" 20 | }, 21 | "eslintConfig": { 22 | "extends": [ 23 | "react-app", 24 | "react-app/jest" 25 | ] 26 | }, 27 | "browserslist": { 28 | "production": [ 29 | ">0.2%", 30 | "not dead", 31 | "not op_mini all" 32 | ], 33 | "development": [ 34 | "last 1 chrome version", 35 | "last 1 firefox version", 36 | "last 1 safari version" 37 | ] 38 | }, 39 | "devDependencies": { 40 | "daisyui": "^3.2.1", 41 | "tailwindcss": "^3.3.2" 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /frontend/build/static/js/main.49f28130.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ 2 | 3 | /** 4 | * @license React 5 | * react-dom.production.min.js 6 | * 7 | * Copyright (c) Facebook, Inc. and its affiliates. 8 | * 9 | * This source code is licensed under the MIT license found in the 10 | * LICENSE file in the root directory of this source tree. 11 | */ 12 | 13 | /** 14 | * @license React 15 | * react-jsx-runtime.production.min.js 16 | * 17 | * Copyright (c) Facebook, Inc. and its affiliates. 18 | * 19 | * This source code is licensed under the MIT license found in the 20 | * LICENSE file in the root directory of this source tree. 21 | */ 22 | 23 | /** 24 | * @license React 25 | * react.production.min.js 26 | * 27 | * Copyright (c) Facebook, Inc. and its affiliates. 28 | * 29 | * This source code is licensed under the MIT license found in the 30 | * LICENSE file in the root directory of this source tree. 31 | */ 32 | 33 | /** 34 | * @license React 35 | * scheduler.production.min.js 36 | * 37 | * Copyright (c) Facebook, Inc. and its affiliates. 38 | * 39 | * This source code is licensed under the MIT license found in the 40 | * LICENSE file in the root directory of this source tree. 41 | */ 42 | -------------------------------------------------------------------------------- /docs/manual installation.md: -------------------------------------------------------------------------------- 1 | Open ports in Azure portal then these in VM 2 | 3 | ``` 4 | sudo ufw allow 80 5 | sudo ufw allow 443 6 | sudo ufw allow 4000 7 | ``` 8 | 9 | Create 1GB Swap memeory `(1M * 1000 ~= 1GB)` 10 | 11 | ``` 12 | mkdir -p /var/swapmemory 13 | cd /var/swapmemory 14 | dd if=/dev/zero of=swapfile bs=1M count=1000 15 | mkswap swapfile 16 | swapon swapfile 17 | chmod 600 swapfile 18 | free -m 19 | ``` 20 | 21 | Boost network performance 22 | 23 | ``` 24 | sudo sysctl -w net.core.rmem_max=26214400 25 | sudo sysctl -w net.core.rmem_default=26214400 26 | ``` 27 | 28 | Install python 29 | 30 | ``` 31 | sudo apt update && sudo apt install python3 python3-pip screen 32 | ``` 33 | 34 | Install caddy 35 | 36 | ``` 37 | sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https 38 | curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg 39 | curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list 40 | sudo apt update 41 | sudo apt install caddy 42 | ``` 43 | 44 | Create Caddyfile 45 | 46 | ``` 47 | xvpn-username.dashroshan.com { 48 | reverse_proxy localhost:5000 49 | } 50 | ``` 51 | 52 | Reload caddy 53 | 54 | ``` 55 | sudo caddy reload 56 | ``` 57 | 58 | Setup desired vpn service 59 | 60 | > OpenVPN 61 | 62 | ``` 63 | wget https://git.io/vpn -O openvpn-install.sh 64 | sudo chmod +x openvpn-install.sh 65 | sudo bash openvpn-install.sh 66 | ``` 67 | 68 | > Wireguard 69 | 70 | ``` 71 | wget https://git.io/wireguard -O wireguard-install.sh 72 | sudo chmod +x wireguard-install.sh 73 | sudo bash wireguard-install.sh 74 | ``` 75 | 76 | Setup this admin portal 77 | 78 | ``` 79 | git clone https://github.com/dashroshan/openvpn-wireguard-admin ov 80 | cd ov 81 | sudo python3 -m pip install -r requirements.txt 82 | sudo nano config.py 83 | ``` 84 | 85 | Fill config.py with below content and uncomment desired vpn 86 | 87 | ```py 88 | # import openvpn as vpn 89 | # import wireguard as vpn 90 | 91 | creds = { 92 | "username": "roshan", 93 | "password": "dash", 94 | } 95 | ``` 96 | 97 | If using wireguard create configWireguard.py with 98 | 99 | ```py 100 | wireGuardBlockAds = False 101 | ``` 102 | 103 | Start portal in screen session 104 | 105 | ``` 106 | screen -S ov 107 | sudo python3 main.py 108 | ``` 109 | 110 | `Ctrl+A+D` to deattach screen session and `screen -r ov` to reattach. `screen -ls` can be used to list screen session, and `screen -r ov -X quit` can be used to delete the session. 111 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | from flask import * 2 | import os 3 | import psutil 4 | from config import creds, vpn 5 | from hashlib import sha256 6 | import logging 7 | 8 | username = creds["username"] 9 | password = creds["password"] 10 | 11 | 12 | log = logging.getLogger("werkzeug") 13 | log.setLevel(logging.ERROR) 14 | 15 | app = Flask( 16 | f"{vpn.vpnName} Admin", 17 | static_folder=os.path.abspath("frontend/build/static"), 18 | template_folder=os.path.abspath("frontend/build"), 19 | ) 20 | 21 | app.logger.disabled = True 22 | log.disabled = True 23 | 24 | 25 | def isAdmin(reqArgs): 26 | adminUserName = reqArgs.get("username") 27 | adminPassWord = reqArgs.get("password") 28 | 29 | hashedInput = sha256(adminPassWord.encode('utf-8')).hexdigest() 30 | 31 | return adminUserName == username and hashedInput == password 32 | 33 | 34 | @app.route("/") 35 | def homePage(): 36 | return render_template("index.html") 37 | 38 | 39 | @app.route("/type") 40 | def vpnType(): 41 | return {"type": vpn.vpnName} 42 | 43 | 44 | @app.route("/login") 45 | def loginCheck(): 46 | return { 47 | "success": isAdmin(request.args), 48 | "memory": max( 49 | (psutil.swap_memory().used + psutil.virtual_memory().used) 50 | / (psutil.swap_memory().total + psutil.virtual_memory().total) 51 | * 100, 52 | 5, 53 | ), 54 | "cpu": max(psutil.cpu_percent(), 5), 55 | } 56 | 57 | 58 | @app.route("/list") 59 | def listUsers(): 60 | if isAdmin(request.args): 61 | return vpn.listUsers() 62 | else: 63 | return [] 64 | 65 | 66 | @app.route("/create/") 67 | def createUser(name): 68 | if isAdmin(request.args): 69 | vpn.createUser(name) 70 | return {"success": True} 71 | else: 72 | return {"success": False} 73 | 74 | 75 | @app.route("/remove/") 76 | def removeUser(name): 77 | if isAdmin(request.args): 78 | vpn.removeUser(name) 79 | return {"success": True} 80 | else: 81 | return {"success": False} 82 | 83 | 84 | @app.route("/getConfig/") 85 | def getConfig(name): 86 | if isAdmin(request.args): 87 | return Response( 88 | vpn.getConfig(name), 89 | mimetype=f"text/x-{vpn.vpnExtension}", 90 | headers={ 91 | "Content-Disposition": f"attachment;filename={name}.{vpn.vpnExtension}" 92 | }, 93 | ) 94 | else: 95 | return {"error": "Incorrect admin credentials!"} 96 | 97 | 98 | if __name__ == "__main__": 99 | app.run(port=5000) 100 | -------------------------------------------------------------------------------- /openvpn.py: -------------------------------------------------------------------------------- 1 | from subprocess import Popen, PIPE 2 | 3 | vpnName = "OpenVPN" 4 | vpnExtension = "ovpn" 5 | 6 | 7 | def createUser(user): 8 | if user in listUsers(): 9 | return 10 | 11 | commandsRSA = [ 12 | "cd /etc/openvpn/server/easy-rsa/", 13 | f'sudo ./easyrsa --batch --days=3650 build-client-full "{user}" nopass', 14 | ] 15 | 16 | processRSA = Popen( 17 | "/bin/bash", 18 | shell=False, 19 | universal_newlines=True, 20 | stdin=PIPE, 21 | stdout=PIPE, 22 | stderr=PIPE, 23 | ) 24 | processRSA.communicate("\n".join(commandsRSA)) 25 | 26 | 27 | def getConfig(user): 28 | commands = [ 29 | "{", 30 | "cat /etc/openvpn/server/client-common.txt", 31 | 'echo ""', 32 | "sudo cat /etc/openvpn/server/easy-rsa/pki/ca.crt", 33 | 'echo ""', 34 | 'echo ""', 35 | f'sudo sed -ne "/BEGIN CERTIFICATE/,$ p" /etc/openvpn/server/easy-rsa/pki/issued/"{user}".crt', 36 | 'echo ""', 37 | 'echo ""', 38 | f'sudo cat /etc/openvpn/server/easy-rsa/pki/private/"{user}".key', 39 | 'echo ""', 40 | 'echo ""', 41 | f'sudo sed -ne "/BEGIN OpenVPN Static key/,$ p" /etc/openvpn/server/tc.key', 42 | 'echo ""', 43 | "}", 44 | ] 45 | 46 | process = Popen( 47 | "/bin/bash", 48 | shell=False, 49 | universal_newlines=True, 50 | stdin=PIPE, 51 | stdout=PIPE, 52 | stderr=PIPE, 53 | ) 54 | config, err = process.communicate("\n".join(commands)) 55 | 56 | config = config.replace( 57 | "cipher AES-256-CBC", 58 | "cipher AES-128-CBC\ntun-mtu 60000\ntun-mtu-extra 32\nmssfix 1450\nfast-io", 59 | ) 60 | 61 | return config 62 | 63 | 64 | def listUsers(): 65 | commands = [ 66 | 'sudo tail -n +2 /etc/openvpn/server/easy-rsa/pki/index.txt | grep "^V" | cut -d "=" -f 2' 67 | ] 68 | process = Popen( 69 | "/bin/bash", 70 | shell=False, 71 | universal_newlines=True, 72 | stdin=PIPE, 73 | stdout=PIPE, 74 | stderr=PIPE, 75 | ) 76 | users, err = process.communicate("\n".join(commands)) 77 | 78 | return [user for user in users.split("\n") if user] 79 | 80 | 81 | def removeUser(user): 82 | if user not in listUsers(): 83 | return 84 | 85 | commands = [ 86 | "cd /etc/openvpn/server/easy-rsa/", 87 | f'sudo ./easyrsa --batch revoke "{user}"', 88 | "sudo ./easyrsa --batch --days=3650 gen-crl", 89 | "sudo rm -f /etc/openvpn/server/crl.pem", 90 | "sudo cp /etc/openvpn/server/easy-rsa/pki/crl.pem /etc/openvpn/server/crl.pem", 91 | 'chown nobody:"nogroup" /etc/openvpn/server/crl.pem', 92 | ] 93 | process = Popen( 94 | "/bin/bash", 95 | shell=False, 96 | universal_newlines=True, 97 | stdin=PIPE, 98 | stdout=PIPE, 99 | stderr=PIPE, 100 | ) 101 | process.communicate("\n".join(commands)) 102 | -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- 1 | # Open ports 2 | read -p "VPN connection port: " vpnport 3 | ufw allow 80 4 | ufw allow 443 5 | ufw allow $vpnport 6 | echo "Ports 80, 443, and $vpnport opened, ensure they are open on VM hosting service too." 7 | 8 | # Create 1GB swap memory 9 | mkdir -p /var/swapmemory 10 | cd /var/swapmemory 11 | dd if=/dev/zero of=swapfile bs=1M count=1000 12 | mkswap swapfile 13 | swapon swapfile 14 | chmod 600 swapfile 15 | free -m 16 | echo "Swap memory created." 17 | 18 | # Boost network performance 19 | sysctl -w net.core.rmem_max=26214400 20 | sysctl -w net.core.rmem_default=26214400 21 | sysctl -w net.core.dev_weight=40 22 | sysctl -w net.core.netdev_tstamp_prequeue=0 23 | sysctl -w kernel.randomize_va_space=0 24 | echo "Network performance boosted." 25 | 26 | # Install python, pip, and screen 27 | apt update 28 | apt install python3 python3-pip screen 29 | echo "Installed python, pip, and screen." 30 | 31 | # Install caddy 32 | apt install -y debian-keyring debian-archive-keyring apt-transport-https 33 | curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg 34 | curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list 35 | apt update 36 | apt install caddy 37 | echo "Caddy installed." 38 | 39 | # Configure reverse proxy with caddy 40 | read -p "Web admin panel domain: " admindomain 41 | cat << EOF > /etc/caddy/Caddyfile 42 | $admindomain { 43 | reverse_proxy localhost:5000 44 | } 45 | EOF 46 | caddy reload --config /etc/caddy/Caddyfile 47 | echo "Reverse proxy configured with caddy." 48 | 49 | # Setup the web admin panel 50 | cd 51 | git clone https://github.com/dashroshan/openvpn-wireguard-admin vpn 52 | cd vpn 53 | python3 -m pip install -r requirements.txt 54 | echo "Web admin panel cloned and packages installed." 55 | 56 | # Create the configWireguard.py 57 | read -p "Enter 'wireguard' or 'openvpn' as needed: " vpntype 58 | if [ "$vpntype" == "wireguard" ]; then 59 | read -p "Enter 'True' or 'False' for AdBlock: " adblock 60 | cat << EOF > configWireguard.py 61 | wireGuardBlockAds = $adblock 62 | EOF 63 | echo "configureWireguard.py file created for AdBlock settings." 64 | fi 65 | 66 | # Create the config.py 67 | read -p "Web admin panel username: " adminuser 68 | read -p "Web admin panel password: " adminpass 69 | 70 | passwordhash=$(echo -n $adminpass | sha256sum | cut -d" " -f1) 71 | 72 | cat << EOF > config.py 73 | import $vpntype as vpn 74 | creds = { 75 | "username": "$adminuser", 76 | "password": "$passwordhash", 77 | } 78 | EOF 79 | echo "config.py file created for web admin panel." 80 | 81 | # Download vpn setup script 82 | cd 83 | if [ "$vpntype" == "wireguard" ]; then 84 | wget https://raw.githubusercontent.com/Nyr/wireguard-install/master/wireguard-install.sh -O vpn-install.sh 85 | else 86 | wget https://raw.githubusercontent.com/Nyr/openvpn-install/master/openvpn-install.sh -O vpn-install.sh 87 | fi 88 | echo "VPN setup script downloaded." 89 | 90 | # Setup vpn 91 | chmod +x vpn-install.sh 92 | bash vpn-install.sh 93 | echo "VPN service installed." 94 | 95 | # Run web admin portal 96 | cd vpn 97 | screen -dmS vpn bash -c 'python3 main.py; bash' 98 | echo "Web admin portal started at $admindomain" 99 | echo "Done!" 100 | -------------------------------------------------------------------------------- /frontend/build/index.html: -------------------------------------------------------------------------------- 1 | VPN Admin
-------------------------------------------------------------------------------- /wireguard.py: -------------------------------------------------------------------------------- 1 | from subprocess import Popen, PIPE 2 | from configWireguard import wireGuardBlockAds 3 | 4 | vpnName = "WireGuard" 5 | vpnExtension = "conf" 6 | 7 | 8 | def createUser(user): 9 | if user in listUsers(): 10 | return 11 | 12 | if wireGuardBlockAds: 13 | dns = "94.140.14.14, 94.140.15.15" 14 | else: 15 | dns = "1.1.1.1, 1.0.0.1" 16 | 17 | commandsOctet = [ 18 | "sudo grep AllowedIPs /etc/wireguard/wg0.conf | cut -d '.' -f 4 | cut -d '/' -f 1", 19 | ] 20 | 21 | processOctet = Popen( 22 | "/bin/bash", 23 | shell=False, 24 | universal_newlines=True, 25 | stdin=PIPE, 26 | stdout=PIPE, 27 | stderr=PIPE, 28 | ) 29 | octets, err = processOctet.communicate("\n".join(commandsOctet)) 30 | octets = [octet for octet in octets.split("\n") if octet] 31 | 32 | octet = -1 33 | for i in range(2, 255): 34 | if str(i) not in octets: 35 | octet = i 36 | break 37 | 38 | if octet == -1: 39 | return 40 | 41 | commandsRSA = [ 42 | f"octet={octet}", 43 | "key=$(wg genkey)", 44 | "psk=$(wg genpsk)", 45 | "sudo bash -c 'cat >> /etc/wireguard/wg0.conf' << EOF", 46 | f"# BEGIN_PEER {user}", 47 | "[Peer]", 48 | "PublicKey = $(wg pubkey <<< $key)", 49 | "PresharedKey = $psk", 50 | "AllowedIPs = 10.7.0.$octet/32$(sudo grep -q 'fddd:2c4:2c4:2c4::1' /etc/wireguard/wg0.conf && echo ', fddd:2c4:2c4:2c4::$octet/128')", 51 | f"# END_PEER {user}", 52 | "EOF", 53 | f"sudo bash -c 'cat >> ~/{user}.conf' << EOF", 54 | "[Interface]", 55 | "Address = 10.7.0.$octet/24$(sudo grep -q 'fddd:2c4:2c4:2c4::1' /etc/wireguard/wg0.conf && echo ', fddd:2c4:2c4:2c4::$octet/64')", 56 | f"DNS = {dns}", 57 | "PrivateKey = $key", 58 | " ", 59 | "[Peer]", 60 | "PublicKey = $(sudo grep PrivateKey /etc/wireguard/wg0.conf | cut -d ' ' -f 3 | wg pubkey)", 61 | "PresharedKey = $psk", 62 | "AllowedIPs = 0.0.0.0/0, ::/0", 63 | "Endpoint = $(sudo grep '^# ENDPOINT' /etc/wireguard/wg0.conf | cut -d ' ' -f 3):$(sudo grep ListenPort /etc/wireguard/wg0.conf | cut -d ' ' -f 3)", 64 | "PersistentKeepalive = 25", 65 | "EOF", 66 | f'''sudo bash -c "wg addconf wg0 <(sed -n '/^# BEGIN_PEER {user}/,/^# END_PEER {user}/p' /etc/wireguard/wg0.conf)"''', 67 | ] 68 | 69 | processRSA = Popen( 70 | "/bin/bash", 71 | shell=False, 72 | universal_newlines=True, 73 | stdin=PIPE, 74 | stdout=PIPE, 75 | stderr=PIPE, 76 | ) 77 | processRSA.communicate("\n".join(commandsRSA)) 78 | 79 | 80 | def getConfig(user): 81 | commands = [ 82 | f"sudo cat /root/{user}.conf", 83 | ] 84 | 85 | process = Popen( 86 | "/bin/bash", 87 | shell=False, 88 | universal_newlines=True, 89 | stdin=PIPE, 90 | stdout=PIPE, 91 | stderr=PIPE, 92 | ) 93 | config, err = process.communicate("\n".join(commands)) 94 | 95 | return config 96 | 97 | 98 | def listUsers(): 99 | commands = ['sudo grep "^# BEGIN_PEER" /etc/wireguard/wg0.conf | cut -d " " -f 3'] 100 | process = Popen( 101 | "/bin/bash", 102 | shell=False, 103 | universal_newlines=True, 104 | stdin=PIPE, 105 | stdout=PIPE, 106 | stderr=PIPE, 107 | ) 108 | users, err = process.communicate("\n".join(commands)) 109 | 110 | return [user for user in users.split("\n") if user] 111 | 112 | 113 | def removeUser(user): 114 | if user not in listUsers(): 115 | return 116 | 117 | commands = [ 118 | f"""sudo bash -c 'wg set wg0 peer "$(sed -n "/^# BEGIN_PEER {user}$/,\$p" /etc/wireguard/wg0.conf | grep -m 1 PublicKey | cut -d " " -f 3)" remove'""", 119 | f"sudo sed -i '/^# BEGIN_PEER {user}$/,/^# END_PEER {user}$/d' /etc/wireguard/wg0.conf", 120 | ] 121 | process = Popen( 122 | "/bin/bash", 123 | shell=False, 124 | universal_newlines=True, 125 | stdin=PIPE, 126 | stdout=PIPE, 127 | stderr=PIPE, 128 | ) 129 | process.communicate("\n".join(commands)) 130 | -------------------------------------------------------------------------------- /frontend/src/NavBar.js: -------------------------------------------------------------------------------- 1 | import { useState } from "react"; 2 | 3 | export default function NavBar(props) { 4 | const [navOpen, setNavOpen] = useState(false); 5 | 6 | const logoImgs = { 7 | OpenVPN: "https://i.imgur.com/rvMXsbm.png", 8 | WireGuard: "https://i.imgur.com/WZXbuW5.png", 9 | } 10 | 11 | const clientLinks = { 12 | OpenVPN: [ 13 | { name: "Windows Client", link: "https://openvpn.net/downloads/openvpn-connect-v3-windows.msi" }, 14 | { name: "MacOS Client", link: "https://openvpn.net/downloads/openvpn-connect-v3-macos.dmg" }, 15 | { name: "Linux Client", link: "https://openvpn.net/cloud-docs/owner/connectors/connector-user-guides/openvpn-3-client-for-linux.html" }, 16 | { name: "Android Client", link: "https://play.google.com/store/apps/details?id=net.openvpn.openvpn" }, 17 | { name: "iOS Client", link: "https://apps.apple.com/us/app/openvpn-connect/id590379981" }, 18 | ], 19 | WireGuard: [ 20 | { name: "Windows Client", link: "https://download.wireguard.com/windows-client/wireguard-installer.exe" }, 21 | { name: "MacOS Client", link: "https://itunes.apple.com/us/app/wireguard/id1451685025?ls=1&mt=12" }, 22 | { name: "Linux Client", link: "https://www.wireguard.com/install" }, 23 | { name: "Android Client", link: "https://play.google.com/store/apps/details?id=com.wireguard.android" }, 24 | { name: "iOS Client", link: "https://itunes.apple.com/us/app/wireguard/id1441195209?ls=1&mt=8" }, 25 | ], 26 | } 27 | 28 | return ( 29 |
30 | 81 |
82 | ); 83 | } -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | VPN Admin 13 | 14 | 15 | 16 | 17 | 18 | 19 | 23 | 24 | 25 | 26 | 29 | 30 | 31 | 34 | 37 | 40 | 43 | 44 | 45 | 46 | 49 | 50 | 228 | 229 | 230 | 231 | 232 |
233 |
234 |
235 |
236 | 237 | 238 | -------------------------------------------------------------------------------- /frontend/src/App.js: -------------------------------------------------------------------------------- 1 | import { useEffect, useState } from "react"; 2 | import hideLoader from "./utils/hideLoader"; 3 | import axios from "axios"; 4 | import NavBar from "./NavBar"; 5 | 6 | export default function App() { 7 | const [vpnType, setVpnType] = useState("OpenVPN"); 8 | 9 | useEffect(() => { 10 | const fetchVpnType = async () => { 11 | try { 12 | const { data: response } = await axios.get(window.APIROOT + 'type'); 13 | setVpnType(response.type); 14 | hideLoader(); 15 | } 16 | catch (error) { 17 | console.log(error); 18 | } 19 | } 20 | 21 | fetchVpnType(); 22 | }, []); 23 | 24 | const [loggedIn, setLoggedIn] = useState(false); 25 | const [systemStats, setSetsystemStats] = useState({ cpu: 0, memory: 0 }); 26 | 27 | const [newUser, setNewUser] = useState(""); 28 | const [wrongUserName, setwrongUserName] = useState(true); 29 | 30 | const [usersList, setUsersList] = useState([]); 31 | 32 | const [adminUser, setadminUser] = useState(""); 33 | const [adminPass, setadminPass] = useState(""); 34 | 35 | const loginLogoutBtn = async () => { 36 | if (loggedIn) { 37 | setadminUser(""); 38 | setadminPass(""); 39 | setLoggedIn(false); 40 | } 41 | else { 42 | try { 43 | const { data: response } = await axios.get(window.APIROOT + 'login', { 44 | params: { 45 | "username": adminUser, 46 | "password": adminPass, 47 | } 48 | }); 49 | if (response.success === true) { 50 | setSetsystemStats({ "cpu": response.cpu, "memory": response.memory }); 51 | setLoggedIn(true); 52 | syncUserList(); 53 | } 54 | } catch (error) { 55 | console.log(error); 56 | } 57 | } 58 | } 59 | 60 | const createUser = async () => { 61 | try { 62 | const { data: response } = await axios.get(window.APIROOT + 'create/' + newUser, { 63 | params: { 64 | "username": adminUser, 65 | "password": adminPass, 66 | } 67 | }); 68 | if (response.success === true) 69 | await syncUserList(); 70 | } catch (error) { 71 | console.log(error); 72 | } 73 | } 74 | 75 | const removeUser = async (name) => { 76 | try { 77 | const { data: response } = await axios.get(window.APIROOT + 'remove/' + name, { 78 | params: { 79 | "username": adminUser, 80 | "password": adminPass, 81 | } 82 | }); 83 | if (response.success === true) 84 | await syncUserList(); 85 | } catch (error) { 86 | console.log(error); 87 | } 88 | } 89 | 90 | const syncUserList = async () => { 91 | try { 92 | const { data: response } = await axios.get(window.APIROOT + 'list', { 93 | params: { 94 | "username": adminUser, 95 | "password": adminPass, 96 | } 97 | }); 98 | setUsersList(response); 99 | } catch (error) { 100 | console.log(error); 101 | } 102 | } 103 | 104 | return ( 105 | <> 106 | 107 |
108 |
109 |
110 |

{loggedIn ? `${vpnType} Admin` : `Login to ${vpnType}`}

111 | {loggedIn ? <> 112 |

113 | Current load on CPU 114 | 115 |

116 |

117 | Current RAM usage 118 | 119 |

: null} 120 | {loggedIn ? null : <> 121 |
122 | 123 | setadminUser(e.target.value)} /> 124 |
125 |
126 | 127 | setadminPass(e.target.value)} /> 128 |
129 | } 130 |
131 | 136 |
137 |
138 |
139 | 140 | {loggedIn ? 141 |
142 |
143 |

Create new user

144 |
145 | 146 | { 147 | const text = e.target.value; 148 | if (/^[a-zA-Z]+$/.test(text)) { 149 | setNewUser(text); 150 | if (wrongUserName === true) setwrongUserName(false); 151 | } 152 | else setwrongUserName(true); 153 | }} /> 154 |
155 |
156 | 161 |
162 |
163 |
: null} 164 | 165 |
166 | 167 | 168 | 169 | {loggedIn ? 170 |
171 |
172 |
173 |
174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | {usersList.map(e => 183 | 184 | 196 | 197 | 198 | )} 199 | 200 |
ActionsUser
185 | 186 | 187 | 188 | 195 | {e}
201 |
202 |
203 |
204 |
: null} 205 | 206 | ) 207 | } -------------------------------------------------------------------------------- /frontend/build/static/css/main.6ee92f6a.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"static/css/main.6ee92f6a.css","mappings":"AAAA;;CAAc,CAAd,uCAAc,CAAd,qBAAc,CAAd,8BAAc,CAAd,kCAAc,CAAd,oCAAc,CAAd,4BAAc,CAAd,gMAAc,CAAd,8BAAc,CAAd,eAAc,CAAd,UAAc,CAAd,wBAAc,CAAd,QAAc,CAAd,uBAAc,CAAd,aAAc,CAAd,QAAc,CAAd,4DAAc,CAAd,gCAAc,CAAd,mCAAc,CAAd,mBAAc,CAAd,eAAc,CAAd,uBAAc,CAAd,2BAAc,CAAd,qHAAc,CAAd,aAAc,CAAd,mBAAc,CAAd,qBAAc,CAAd,aAAc,CAAd,iBAAc,CAAd,sBAAc,CAAd,iBAAc,CAAd,aAAc,CAAd,8BAAc,CAAd,oBAAc,CAAd,aAAc,CAAd,mDAAc,CAAd,mBAAc,CAAd,cAAc,CAAd,mBAAc,CAAd,mBAAc,CAAd,QAAc,CAAd,SAAc,CAAd,iCAAc,CAAd,yEAAc,CAAd,wBAAc,CAAd,qBAAc,CAAd,4BAAc,CAAd,gCAAc,CAAd,+BAAc,CAAd,mEAAc,CAAd,0CAAc,CAAd,mBAAc,CAAd,mDAAc,CAAd,sDAAc,CAAd,YAAc,CAAd,yBAAc,CAAd,2DAAc,CAAd,iBAAc,CAAd,yBAAc,CAAd,0BAAc,CAAd,QAAc,CAAd,SAAc,CAAd,wBAAc,CAAd,kFAAc,CAAd,SAAc,CAAd,sDAAc,CAAd,SAAc,CAAd,mCAAc,CAAd,wBAAc,CAAd,4DAAc,CAAd,qBAAc,CAAd,qBAAc,CAAd,cAAc,CAAd,qBAAc,CAAd,wCAAc,CAAd,sDAAc,CAAd,aAAc,CAAd,6CAAc,CAAd,4CAAc,CAAd,sBAAc,CAAd,iBAAc,CAAd,gBAAc,CAAd,gBAAc,CA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AAnB,qCAAmB,CAAnB,6BAAmB,CAAnB,+BAAmB,CAAnB,wBAAmB,CAAnB,sCAAmB,CAAnB,sDAAmB,CAAnB,sCAAmB,CAAnB,sDAAmB,CAAnB,8BAAmB,CAAnB,oDAAmB,CAAnB,oDAAmB,CAAnB,6BAAmB,CAAnB,sDAAmB,CAAnB,2BAAmB,CAAnB,sDAAmB,CAAnB,kBAAmB,CAAnB,iBAAmB,CAAnB,uBAAmB,CAAnB,kBAAmB,CAAnB,4CAAmB,CAAnB,yBAAmB,CAAnB,wBAAmB,CAAnB,0BAAmB,CAAnB,gBAAmB,CAAnB,0BAAmB,CAAnB,mBAAmB,CAAnB,4BAAmB,CAAnB,8BAAmB,CAAnB,kCAAmB,CAAnB,6CAAmB,CAAnB,kCAAmB,CAAnB,0CAAmB,CAAnB,oFAAmB,CAAnB,iGAAmB,CAAnB,+CAAmB,CAAnB,kGAAmB,CAEnB,oBACI,UACJ,CAEA,0BACI,kBACJ,CAEA,0BACI,kBACJ,CAdA,kG,CAAA,2E,CAAA,yY,CAAA,uG,CAAA,sH,CAAA,8G,CAAA,8G,CAAA,4G,CAAA,yG,CAAA,2H,CAAA,sH,CAAA,gI,CAAA,wD,CAAA,gC,CAAA,0C,CAAA,sB,CAAA,kD,EAAA,gD,CAAA,wB,CAAA,wB,CAAA,sB,CAAA,gC,CAAA,4K,CAAA,4B,CAAA,sF,CAAA,kB,CAAA,yD,CAAA,+F,CAAA,kH,CAAA,qF,CAAA,4H","sources":["index.css"],"sourcesContent":["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n::-webkit-scrollbar {\n width: 15px;\n}\n\n::-webkit-scrollbar-track {\n background: #111827;\n}\n\n::-webkit-scrollbar-thumb {\n background: #4a07da;\n}\n"],"names":[],"sourceRoot":""} -------------------------------------------------------------------------------- /frontend/build/static/css/main.6ee92f6a.css: -------------------------------------------------------------------------------- 1 | /* 2 | ! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com 3 | */*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}:root,[data-theme]{background-color:#fff;background-color:hsl(var(--b1)/var(--tw-bg-opacity,1));color:#1f2937;color:hsl(var(--bc)/var(--tw-text-opacity,1))}html{-webkit-tap-highlight-color:transparent}:root{--pf:259 94% 44%;--sf:314 100% 40%;--af:174 75% 39%;--nf:214 20% 14%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:0.5rem;--rounded-badge:1.9rem;--animation-btn:0.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:0.95;--border-btn:1px;--tab-border:1px;--tab-radius:0.5rem;--p:259 94% 51%;--pc:259 96% 91%;--s:314 100% 47%;--sc:314 100% 91%;--a:174 75% 46%;--ac:174 75% 11%;--n:214 20% 21%;--nc:212 19% 87%;--b1:0 0% 100%;--b2:0 0% 95%;--b3:180 2% 90%;--bc:215 28% 17%;color-scheme:light}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.avatar.placeholder>div{align-items:center;display:flex;justify-content:center}@media (hover:hover){.label a:hover{--tw-text-opacity:1;color:hsl(215 28% 17%/var(--tw-text-opacity));color:hsl(var(--bc)/var(--tw-text-opacity))}.menu li>:not(ul):not(details).active,.menu li>:not(ul):not(details):active,.menu li>details>summary:active{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(214 20% 21%/var(--tw-bg-opacity));background-color:hsl(var(--n)/var(--tw-bg-opacity));color:hsl(212 19% 87%/var(--tw-text-opacity));color:hsl(var(--nc)/var(--tw-text-opacity))}.table tr.hover:hover,.table tr.hover:nth-child(2n):hover{--tw-bg-opacity:1;background-color:hsl(0 0% 95%/var(--tw-bg-opacity));background-color:hsl(var(--b2)/var(--tw-bg-opacity))}}.btn{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;-webkit-animation:button-pop .25s ease-out;animation:button-pop .25s ease-out;-webkit-animation:button-pop var(--animation-btn,.25s) ease-out;animation:button-pop var(--animation-btn,.25s) ease-out;background-color:hsl(0 0% 95%/var(--tw-bg-opacity));background-color:hsl(var(--b2)/var(--tw-bg-opacity));border-color:transparent;border-color:hsl(var(--b2)/var(--tw-border-opacity));border-radius:.5rem;border-radius:var(--rounded-btn,.5rem);border-width:1px;border-width:var(--border-btn,1px);color:hsl(215 28% 17%/var(--tw-text-opacity));color:hsl(var(--bc)/var(--tw-text-opacity));cursor:pointer;display:inline-flex;flex-shrink:0;flex-wrap:wrap;font-size:.875rem;font-weight:600;gap:.5rem;height:3rem;justify-content:center;line-height:1.25rem;line-height:1em;min-height:3rem;outline-color:#1f2937;outline-color:hsl(var(--bc)/1);padding-left:1rem;padding-right:1rem;text-align:center;text-decoration-line:none;text-transform:uppercase;text-transform:var(--btn-text-case,uppercase);transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;user-select:none}.btn-disabled,.btn:disabled,.btn[disabled]{pointer-events:none}.btn-square{height:3rem;padding:0;width:3rem}.btn-group>input[type=radio].btn{-webkit-appearance:none;appearance:none}.btn-group>input[type=radio].btn:before{content:attr(data-title)}.btn:is(input[type=checkbox]),.btn:is(input[type=radio]){-webkit-appearance:none;appearance:none}.btn:is(input[type=checkbox]):after,.btn:is(input[type=radio]):after{--tw-content:attr(aria-label);content:var(--tw-content)}.card{border-radius:1rem;border-radius:var(--rounded-box,1rem);display:flex;flex-direction:column;position:relative}.card:focus{outline:2px solid transparent;outline-offset:2px}.card-body{display:flex;flex:1 1 auto;flex-direction:column;gap:.5rem;padding:2rem;padding:var(--padding-card,2rem)}.card-body :where(p){flex-grow:1}.card-actions{align-items:flex-start;display:flex;flex-wrap:wrap;gap:.5rem}.card figure{align-items:center;display:flex;justify-content:center}.card.image-full{display:grid}.card.image-full:before{--tw-bg-opacity:1;background-color:hsl(214 20% 21%/var(--tw-bg-opacity));background-color:hsl(var(--n)/var(--tw-bg-opacity));border-radius:1rem;border-radius:var(--rounded-box,1rem);content:"";opacity:.75;position:relative;z-index:10}.card.image-full:before,.card.image-full>*{grid-column-start:1;grid-row-start:1}.card.image-full>figure img{height:100%;object-fit:cover}.card.image-full>.card-body{--tw-text-opacity:1;color:hsl(212 19% 87%/var(--tw-text-opacity));color:hsl(var(--nc)/var(--tw-text-opacity));position:relative;z-index:20}@media (hover:hover){.btm-nav>.disabled:hover,.btm-nav>[disabled]:hover{--tw-border-opacity:0;--tw-bg-opacity:0.1;--tw-text-opacity:0.2;background-color:hsl(214 20% 21%/var(--tw-bg-opacity));background-color:hsl(var(--n)/var(--tw-bg-opacity));color:hsl(215 28% 17%/var(--tw-text-opacity));color:hsl(var(--bc)/var(--tw-text-opacity));pointer-events:none}.btn:hover{background-color:hsl(180 2% 90%/var(--tw-bg-opacity));background-color:hsl(var(--b3)/var(--tw-bg-opacity));border-color:hsl(var(--b3)/var(--tw-border-opacity))}.btn-primary:hover,.btn:hover{--tw-border-opacity:1;--tw-bg-opacity:1}.btn-primary:hover{background-color:hsl(259 94% 44%/var(--tw-bg-opacity));background-color:hsl(var(--pf)/var(--tw-bg-opacity));border-color:hsl(var(--pf)/var(--tw-border-opacity))}.btn.glass:hover{--glass-opacity:25%;--glass-border-opacity:15%}.btn-outline.btn-primary:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(259 94% 44%/var(--tw-bg-opacity));background-color:hsl(var(--pf)/var(--tw-bg-opacity));border-color:hsl(var(--pf)/var(--tw-border-opacity));color:hsl(259 96% 91%/var(--tw-text-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-disabled:hover,.btn:disabled:hover,.btn[disabled]:hover{--tw-border-opacity:0;--tw-bg-opacity:0.2;--tw-text-opacity:0.2;background-color:hsl(214 20% 21%/var(--tw-bg-opacity));background-color:hsl(var(--n)/var(--tw-bg-opacity));color:hsl(215 28% 17%/var(--tw-text-opacity));color:hsl(var(--bc)/var(--tw-text-opacity))}.btn:is(input[type=checkbox]:checked):hover,.btn:is(input[type=radio]:checked):hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(259 94% 44%/var(--tw-bg-opacity));background-color:hsl(var(--pf)/var(--tw-bg-opacity));border-color:hsl(var(--pf)/var(--tw-border-opacity))}:where(.menu li:not(.menu-title):not(.disabled)>:not(ul):not(details):not(.menu-title)):not(.active):hover,:where(.menu li:not(.menu-title):not(.disabled)>details>summary:not(.menu-title)):not(.active):hover{--tw-text-opacity:1;background-color:rgba(31,41,55,.1);background-color:hsl(var(--bc)/.1);color:hsl(215 28% 17%/var(--tw-text-opacity));color:hsl(var(--bc)/var(--tw-text-opacity));cursor:pointer;outline:2px solid transparent;outline-offset:2px}}.form-control{display:flex;flex-direction:column}.label{align-items:center;display:flex;justify-content:space-between;padding:.5rem .25rem;-webkit-user-select:none;user-select:none}.input{--tw-border-opacity:0;--tw-bg-opacity:1;background-color:hsl(0 0% 100%/var(--tw-bg-opacity));background-color:hsl(var(--b1)/var(--tw-bg-opacity));border-color:hsl(var(--bc)/var(--tw-border-opacity));border-radius:.5rem;border-radius:var(--rounded-btn,.5rem);border-width:1px;flex-shrink:1;font-size:1rem;height:3rem;line-height:2;line-height:1.5rem;padding-left:1rem;padding-right:1rem}.input-group>.input{isolation:isolate}.input-group>*,.input-group>.input,.input-group>.select,.input-group>.textarea{border-radius:0}.link{cursor:pointer;text-decoration-line:underline}.menu{display:flex;flex-direction:column;flex-wrap:wrap;font-size:.875rem;line-height:1.25rem;padding:.5rem}.menu :where(li ul){margin-left:1rem;padding-left:.5rem;position:relative;white-space:nowrap}.menu :where(li:not(.menu-title)>:not(ul):not(details):not(.menu-title)),.menu :where(li:not(.menu-title)>details>summary:not(.menu-title)){grid-gap:.5rem;align-content:flex-start;align-items:center;display:grid;gap:.5rem;grid-auto-columns:-webkit-max-content auto -webkit-max-content;grid-auto-columns:max-content auto max-content;grid-auto-flow:column;-webkit-user-select:none;user-select:none}.menu li.disabled{color:rgba(31,41,55,.3);color:hsl(var(--bc)/.3);cursor:not-allowed;-webkit-user-select:none;user-select:none}.menu :where(li>.menu-dropdown:not(.menu-dropdown-show)){display:none}:where(.menu li){align-items:stretch;display:flex;flex-direction:column;flex-shrink:0;flex-wrap:wrap;position:relative}:where(.menu li) .badge{justify-self:end}.progress{-webkit-appearance:none;appearance:none;background-color:rgba(31,41,55,.2);background-color:hsl(var(--bc)/.2);height:.5rem;overflow:hidden}.progress,.table{border-radius:1rem;border-radius:var(--rounded-box,1rem);position:relative;width:100%}.table{font-size:.875rem;line-height:1.25rem;text-align:left}.table :where(.table-pin-rows thead tr){--tw-bg-opacity:1;background-color:hsl(0 0% 100%/var(--tw-bg-opacity));background-color:hsl(var(--b1)/var(--tw-bg-opacity));position:-webkit-sticky;position:sticky;top:0;z-index:1}.table :where(.table-pin-rows tfoot tr){--tw-bg-opacity:1;background-color:hsl(0 0% 100%/var(--tw-bg-opacity));background-color:hsl(var(--b1)/var(--tw-bg-opacity));bottom:0;position:-webkit-sticky;position:sticky;z-index:1}.table :where(.table-pin-cols tr th){--tw-bg-opacity:1;background-color:hsl(0 0% 100%/var(--tw-bg-opacity));background-color:hsl(var(--b1)/var(--tw-bg-opacity));left:0;position:-webkit-sticky;position:sticky;right:0}.btm-nav>.disabled,.btm-nav>[disabled]{--tw-border-opacity:0;--tw-bg-opacity:0.1;--tw-text-opacity:0.2;background-color:hsl(214 20% 21%/var(--tw-bg-opacity));background-color:hsl(var(--n)/var(--tw-bg-opacity));color:hsl(215 28% 17%/var(--tw-text-opacity));color:hsl(var(--bc)/var(--tw-text-opacity));pointer-events:none}.btm-nav>* .label{font-size:1rem;line-height:1.5rem}.btn:active:focus,.btn:active:hover{-webkit-animation:button-pop 0s ease-out;animation:button-pop 0s ease-out;-webkit-transform:scale(.95);transform:scale(.95);-webkit-transform:scale(var(--btn-focus-scale,.97));transform:scale(var(--btn-focus-scale,.97))}.btn:focus-visible{outline-offset:2px;outline-style:solid;outline-width:2px}.btn-primary{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(259 94% 51%/var(--tw-bg-opacity));background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(259 96% 91%/var(--tw-text-opacity));color:hsl(var(--pc)/var(--tw-text-opacity));outline-color:#570df8;outline-color:hsl(var(--p)/1)}.btn-primary.btn-active{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(259 94% 44%/var(--tw-bg-opacity));background-color:hsl(var(--pf)/var(--tw-bg-opacity));border-color:hsl(var(--pf)/var(--tw-border-opacity))}.btn.glass{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);outline-color:currentColor}.btn.glass.btn-active{--glass-opacity:25%;--glass-border-opacity:15%}.btn-outline.btn-primary{--tw-text-opacity:1;color:hsl(259 94% 51%/var(--tw-text-opacity));color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.btn-primary.btn-active{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(259 94% 44%/var(--tw-bg-opacity));background-color:hsl(var(--pf)/var(--tw-bg-opacity));border-color:hsl(var(--pf)/var(--tw-border-opacity));color:hsl(259 96% 91%/var(--tw-text-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn.btn-disabled,.btn:disabled,.btn[disabled]{--tw-border-opacity:0;--tw-bg-opacity:0.2;--tw-text-opacity:0.2;background-color:hsl(214 20% 21%/var(--tw-bg-opacity));background-color:hsl(var(--n)/var(--tw-bg-opacity));color:hsl(215 28% 17%/var(--tw-text-opacity));color:hsl(var(--bc)/var(--tw-text-opacity))}.btn-group>.btn-active,.btn-group>input[type=radio]:checked.btn{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(259 94% 51%/var(--tw-bg-opacity));background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(259 96% 91%/var(--tw-text-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-group>.btn-active:focus-visible,.btn-group>input[type=radio]:checked.btn:focus-visible{outline-color:#570df8;outline-color:hsl(var(--p)/1);outline-style:solid;outline-width:2px}.btn:is(input[type=checkbox]:checked),.btn:is(input[type=radio]:checked){--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(259 94% 51%/var(--tw-bg-opacity));background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(259 96% 91%/var(--tw-text-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn:is(input[type=checkbox]:checked):focus-visible,.btn:is(input[type=radio]:checked):focus-visible{outline-color:#570df8;outline-color:hsl(var(--p)/1)}@-webkit-keyframes button-pop{0%{-webkit-transform:scale(.95);transform:scale(.95);-webkit-transform:scale(var(--btn-focus-scale,.98));transform:scale(var(--btn-focus-scale,.98))}40%{-webkit-transform:scale(1.02);transform:scale(1.02)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes button-pop{0%{-webkit-transform:scale(.95);transform:scale(.95);-webkit-transform:scale(var(--btn-focus-scale,.98));transform:scale(var(--btn-focus-scale,.98))}40%{-webkit-transform:scale(1.02);transform:scale(1.02)}to{-webkit-transform:scale(1);transform:scale(1)}}.card :where(figure:first-child){border-end-end-radius:unset;border-end-start-radius:unset;border-start-end-radius:inherit;border-start-start-radius:inherit;overflow:hidden}.card :where(figure:last-child){border-end-end-radius:inherit;border-end-start-radius:inherit;border-start-end-radius:unset;border-start-start-radius:unset;overflow:hidden}.card:focus-visible{outline:2px solid currentColor;outline-offset:2px}.card.bordered{--tw-border-opacity:1;border-color:hsl(var(--b2)/var(--tw-border-opacity));border-width:1px}.card.compact .card-body{font-size:.875rem;line-height:1.25rem;padding:1rem}.card-title{align-items:center;display:flex;font-size:1.25rem;font-weight:600;gap:.5rem;line-height:1.75rem}.card.image-full :where(figure){border-radius:inherit;overflow:hidden}@-webkit-keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}@keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}.label-text{--tw-text-opacity:1;color:hsl(215 28% 17%/var(--tw-text-opacity));color:hsl(var(--bc)/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}.input[list]::-webkit-calendar-picker-indicator{line-height:1em}.input-bordered{--tw-border-opacity:0.2}.input:focus{outline-color:rgba(31,41,55,.2);outline-color:hsl(var(--bc)/.2);outline-offset:2px;outline-style:solid;outline-width:2px}.input-disabled,.input:disabled,.input[disabled]{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:0.2;background-color:hsl(0 0% 95%/var(--tw-bg-opacity));background-color:hsl(var(--b2)/var(--tw-bg-opacity));border-color:hsl(var(--b2)/var(--tw-border-opacity));cursor:not-allowed}.input-disabled::-webkit-input-placeholder,.input:disabled::-webkit-input-placeholder,.input[disabled]::-webkit-input-placeholder{--tw-placeholder-opacity:0.2;color:hsl(215 28% 17%/var(--tw-placeholder-opacity));color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.input-disabled::placeholder,.input:disabled::placeholder,.input[disabled]::placeholder{--tw-placeholder-opacity:0.2;color:hsl(215 28% 17%/var(--tw-placeholder-opacity));color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{outline:2px solid currentColor;outline-offset:2px}:where(.menu li:empty){background-color:rgba(31,41,55,.1);background-color:hsl(var(--bc)/.1);height:1px;margin:.5rem 1rem}.menu :where(li ul):before{background-color:rgba(31,41,55,.1);background-color:hsl(var(--bc)/.1);bottom:.75rem;content:"";left:0;position:absolute;top:.75rem;width:1px}.menu :where(li:not(.menu-title)>:not(ul):not(details):not(.menu-title)),.menu :where(li:not(.menu-title)>details>summary:not(.menu-title)){border-radius:.5rem;border-radius:var(--rounded-btn,.5rem);padding:.5rem 1rem;text-align:left;transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:where(.menu li:not(.menu-title):not(.disabled)>:not(ul):not(details):not(.menu-title)):is(summary):not(.active):focus-visible,:where(.menu li:not(.menu-title):not(.disabled)>:not(ul):not(details):not(.menu-title)):not(summary):not(.active).focus,:where(.menu li:not(.menu-title):not(.disabled)>:not(ul):not(details):not(.menu-title)):not(summary):not(.active):focus,:where(.menu li:not(.menu-title):not(.disabled)>details>summary:not(.menu-title)):is(summary):not(.active):focus-visible,:where(.menu li:not(.menu-title):not(.disabled)>details>summary:not(.menu-title)):not(summary):not(.active).focus,:where(.menu li:not(.menu-title):not(.disabled)>details>summary:not(.menu-title)):not(summary):not(.active):focus{--tw-text-opacity:1;background-color:rgba(31,41,55,.1);background-color:hsl(var(--bc)/.1);color:hsl(215 28% 17%/var(--tw-text-opacity));color:hsl(var(--bc)/var(--tw-text-opacity));cursor:pointer;outline:2px solid transparent;outline-offset:2px}.menu li>:not(ul):not(details).active,.menu li>:not(ul):not(details):active,.menu li>details>summary:active{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(214 20% 21%/var(--tw-bg-opacity));background-color:hsl(var(--n)/var(--tw-bg-opacity));color:hsl(212 19% 87%/var(--tw-text-opacity));color:hsl(var(--nc)/var(--tw-text-opacity))}.menu :where(li>details>summary)::-webkit-details-marker{display:none}.menu :where(li>.menu-dropdown-toggle):after,.menu :where(li>details>summary):after{box-shadow:2px 2px;content:"";display:block;height:.5rem;justify-self:end;margin-top:-.5rem;pointer-events:none;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:75% 75%;transform-origin:75% 75%;transition-duration:.3s;transition-property:margin-top,-webkit-transform;transition-property:transform,margin-top;transition-property:transform,margin-top,-webkit-transform;transition-timing-function:cubic-bezier(.4,0,.2,1);width:.5rem}.menu :where(li>.menu-dropdown-toggle.menu-dropdown-show):after,.menu :where(li>details[open]>summary):after{margin-top:0;-webkit-transform:rotate(225deg);transform:rotate(225deg)}.mockup-phone .display{border-radius:40px;margin-top:-25px;overflow:hidden}@-webkit-keyframes modal-pop{0%{opacity:0}}@keyframes modal-pop{0%{opacity:0}}.progress::-moz-progress-bar{--tw-bg-opacity:1;background-color:hsl(215 28% 17%/var(--tw-bg-opacity));background-color:hsl(var(--bc)/var(--tw-bg-opacity))}.progress-primary::-moz-progress-bar{--tw-bg-opacity:1;background-color:hsl(259 94% 51%/var(--tw-bg-opacity));background-color:hsl(var(--p)/var(--tw-bg-opacity))}.progress:indeterminate{--progress-color:hsl(var(--bc));-webkit-animation:progress-loading 5s ease-in-out infinite;animation:progress-loading 5s ease-in-out infinite;background-image:repeating-linear-gradient(90deg,var(--progress-color) -1%,var(--progress-color) 10%,transparent 10%,transparent 90%);background-position-x:15%;background-size:200%}.progress-primary:indeterminate{--progress-color:hsl(var(--p))}.progress::-webkit-progress-bar{background-color:initial;border-radius:1rem;border-radius:var(--rounded-box,1rem)}.progress::-webkit-progress-value{--tw-bg-opacity:1;background-color:hsl(215 28% 17%/var(--tw-bg-opacity));background-color:hsl(var(--bc)/var(--tw-bg-opacity));border-radius:1rem;border-radius:var(--rounded-box,1rem)}.progress-primary::-webkit-progress-value{--tw-bg-opacity:1;background-color:hsl(259 94% 51%/var(--tw-bg-opacity));background-color:hsl(var(--p)/var(--tw-bg-opacity))}.progress:indeterminate::-moz-progress-bar{animation:progress-loading 5s ease-in-out infinite;background-color:initial;background-image:repeating-linear-gradient(90deg,var(--progress-color) -1%,var(--progress-color) 10%,transparent 10%,transparent 90%);background-position-x:15%;background-size:200%}@-webkit-keyframes progress-loading{50%{background-position-x:-115%}}@keyframes progress-loading{50%{background-position-x:-115%}}@-webkit-keyframes radiomark{0%{box-shadow:inset 0 0 0 12px #fff,inset 0 0 0 12px #fff;box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset}50%{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 3px #fff;box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset}to{box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 4px #fff;box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}}@keyframes radiomark{0%{box-shadow:inset 0 0 0 12px #fff,inset 0 0 0 12px #fff;box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset}50%{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 3px #fff;box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset}to{box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 4px #fff;box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}}@-webkit-keyframes rating-pop{0%{-webkit-transform:translateY(-.125em);transform:translateY(-.125em)}40%{-webkit-transform:translateY(-.125em);transform:translateY(-.125em)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes rating-pop{0%{-webkit-transform:translateY(-.125em);transform:translateY(-.125em)}40%{-webkit-transform:translateY(-.125em);transform:translateY(-.125em)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.table :where(th,td){padding:.75rem 1rem;vertical-align:middle}.table tr.active,.table tr.active:nth-child(2n),.table-zebra tbody tr:nth-child(2n){--tw-bg-opacity:1;background-color:hsl(0 0% 95%/var(--tw-bg-opacity));background-color:hsl(var(--b2)/var(--tw-bg-opacity))}.table :where(thead,tbody) :where(tr:first-child:last-child),.table :where(thead,tbody) :where(tr:not(:last-child)){--tw-border-opacity:1;border-bottom-color:hsl(var(--b2)/var(--tw-border-opacity));border-bottom-width:1px}.table :where(thead,tfoot){color:rgba(31,41,55,.6);color:hsl(var(--bc)/.6);font-size:.75rem;font-weight:700;line-height:1rem;white-space:nowrap}@-webkit-keyframes toast-pop{0%{opacity:0;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes toast-pop{0%{opacity:0;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.btn-square:where(.btn-xs){height:1.5rem;padding:0;width:1.5rem}.btn-square:where(.btn-sm){height:2rem;padding:0;width:2rem}.btn-square:where(.btn-md){height:3rem;padding:0;width:3rem}.btn-square:where(.btn-lg){height:4rem;padding:0;width:4rem}.btn-group .btn:not(:first-child):not(:last-child){border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0;border-top-right-radius:0}.btn-group .btn:first-child:not(:last-child){border-bottom-left-radius:.5rem;border-bottom-left-radius:var(--rounded-btn,.5rem);border-bottom-right-radius:0;border-top-left-radius:.5rem;border-top-left-radius:var(--rounded-btn,.5rem);border-top-right-radius:0;margin-left:-1px;margin-top:0}.btn-group .btn:last-child:not(:first-child){border-bottom-left-radius:0;border-bottom-right-radius:.5rem;border-bottom-right-radius:var(--rounded-btn,.5rem);border-top-left-radius:0;border-top-right-radius:.5rem;border-top-right-radius:var(--rounded-btn,.5rem)}.btn-group-horizontal .btn:not(:first-child):not(:last-child){border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0;border-top-right-radius:0}.btn-group-horizontal .btn:first-child:not(:last-child){border-bottom-left-radius:.5rem;border-bottom-left-radius:var(--rounded-btn,.5rem);border-bottom-right-radius:0;border-top-left-radius:.5rem;border-top-left-radius:var(--rounded-btn,.5rem);border-top-right-radius:0;margin-left:-1px;margin-top:0}.btn-group-horizontal .btn:last-child:not(:first-child){border-bottom-left-radius:0;border-bottom-right-radius:.5rem;border-bottom-right-radius:var(--rounded-btn,.5rem);border-top-left-radius:0;border-top-right-radius:.5rem;border-top-right-radius:var(--rounded-btn,.5rem)}.btn-group-vertical .btn:first-child:not(:last-child){border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:.5rem;border-top-left-radius:var(--rounded-btn,.5rem);border-top-right-radius:.5rem;border-top-right-radius:var(--rounded-btn,.5rem);margin-left:0;margin-top:-1px}.btn-group-vertical .btn:last-child:not(:first-child){border-bottom-left-radius:.5rem;border-bottom-left-radius:var(--rounded-btn,.5rem);border-bottom-right-radius:.5rem;border-bottom-right-radius:var(--rounded-btn,.5rem);border-top-left-radius:0;border-top-right-radius:0}.card-compact .card-body{font-size:.875rem;line-height:1.25rem;padding:1rem}.card-compact .card-title{margin-bottom:.25rem}.card-normal .card-body{font-size:1rem;line-height:1.5rem;padding:2rem;padding:var(--padding-card,2rem)}.card-normal .card-title{margin-bottom:.75rem}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.fixed{position:fixed}.left-0{left:0}.top-0{top:0}.z-20{z-index:20}.mx-auto{margin-left:auto;margin-right:auto}.-mb-2{margin-bottom:-.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-5{margin-bottom:1.25rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mt-1{margin-top:.25rem}.mt-4{margin-top:1rem}.mt-\[4\.7rem\]{margin-top:4.7rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.w-10{width:2.5rem}.w-20{width:5rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-\[91vw\]{width:91vw}.w-full{width:100%}.max-w-\[49\.3rem\]{max-width:49.3rem}.max-w-screen-xl{max-width:1280px}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.translate-y-\[0\.1rem\]{--tw-translate-y:0.1rem;-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.self-center{align-self:center}.overflow-x-auto{overflow-x:auto}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.bg-base-100{--tw-bg-opacity:1;background-color:hsl(0 0% 100%/var(--tw-bg-opacity));background-color:hsl(var(--b1)/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pl-3{padding-left:.75rem}.pr-4{padding-right:1rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}::-webkit-scrollbar{width:15px}::-webkit-scrollbar-track{background:#111827}::-webkit-scrollbar-thumb{background:#4a07da}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-gray-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))}:is([data-mode=dark] .dark\:border-gray-700){--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity))}:is([data-mode=dark] .dark\:bg-gray-800){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}:is([data-mode=dark] .dark\:bg-gray-900){--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}:is([data-mode=dark] .dark\:text-gray-400){--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}:is([data-mode=dark] .dark\:text-white){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}:is([data-mode=dark] .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}:is([data-mode=dark] .dark\:hover\:text-white:hover){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}:is([data-mode=dark] .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:768px){.md\:w-\[93\.5vw\]{width:93.5vw}.md\:flex-row{flex-direction:row}.md\:justify-center{justify-content:center}.md\:gap-5{gap:1.25rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}}@media (min-width:1024px){.lg\:mt-0{margin-top:0}.lg\:block{display:block}.lg\:hidden{display:none}.lg\:w-auto{width:auto}.lg\:flex-row{flex-direction:row}.lg\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(2rem*var(--tw-space-x-reverse))}.lg\:border-0{border-width:0}.lg\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.lg\:p-0{padding:0}.lg\:hover\:bg-transparent:hover{background-color:initial}.lg\:hover\:text-blue-700:hover{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}:is([data-mode=dark] .lg\:dark\:bg-gray-900){--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}:is([data-mode=dark] .lg\:dark\:hover\:bg-transparent:hover){background-color:initial}:is([data-mode=dark] .lg\:dark\:hover\:text-blue-500:hover){--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}} 4 | /*# sourceMappingURL=main.6ee92f6a.css.map*/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 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 | . 675 | --------------------------------------------------------------------------------