├── README.md
├── cryptomaze
├── __init__.py
├── calculate_time.py
├── cryptomaze.db
├── faucethub.py
├── forms.py
├── models.py
├── referrals.py
├── routes.py
├── settings.py
├── static
│ ├── bootstrap.min.css
│ ├── bootstrap.min.js
│ ├── claim-pg.js
│ ├── favicon.ico
│ ├── fonts
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.svg
│ │ ├── glyphicons-halflings-regular.ttf
│ │ ├── glyphicons-halflings-regular.woff
│ │ └── glyphicons-halflings-regular.woff2
│ ├── img
│ │ ├── ad-160x600.jpg
│ │ ├── ad-300x250.jpg
│ │ ├── ad-728x90.jpg
│ │ ├── bg-img.png
│ │ ├── btc-icon.png
│ │ ├── faucet-icon.png
│ │ ├── favicon.ico
│ │ ├── favicon.png
│ │ ├── j-back.png
│ │ ├── jumbotron-back.jpg
│ │ ├── jumbotron-back.png
│ │ └── logo.png
│ ├── jquery-2.2.4.min.js
│ ├── jquery-3.3.1.min.js
│ ├── signup-pg.js
│ ├── style.css
│ ├── sweetalert2.min.css
│ ├── sweetalert2.min.js
│ ├── toastr.css
│ ├── toastr.min.js
│ └── withdrawal-pg.js
├── templates
│ ├── claim.html
│ ├── index.html
│ ├── layout.html
│ ├── referral.html
│ └── withdrawals.html
└── validate_btc_address.py
├── requirements.txt
└── run.py
/README.md:
--------------------------------------------------------------------------------
1 | # Cryptomaze - Python-powered Bitcoin Faucet
2 | Cryptomaze Bitcoin faucet is a simple bitcoin faucet that gives the ability to registered users to claim simple amounts of bitcoin in every difined time, and has the ability to send user payments after their withdrawal limit to FaucetHUB.IO account.
3 |
4 | Cryptomaze is developed using python's flask microframework.
5 |
6 | # Installation
7 | Cryptomaze currently supports with python version 3 or above.
8 |
9 | I will guide you how to set up the application on c-panel of your hosting account. Now, let's get started!
10 |
11 | 1. In your c-panel homepage you can find a link that says 'Setup Python App'. Click on that link.
12 |
13 | 2. In this page now we're going to create a python application for Cryptomaze faucet script. Choose the python version to 3.6, and in 'App Directory' field enter a name to your python application, in my case it's cryptomaze. And then you'll have to select the faucet url to appear cryptomaze faucet. Select it from 'App Domain'.
14 |
15 | 3. Okay. Now we created our python application. Now we need to install necessary modules to our app. To do that, click on 'add' under the module field. You'll have to add all the modules and their versions one by one and click on update. Below you can find all the modules and their versions that should be installed; (also, there is available requirements.txt file which includes all the module names and versions sould be installed if you're using pip command)
16 |
17 | **flask==1.0.2, flask-bcrypt==0.7.1, flask-wtf==0.14.2, flask-SQLAlchemy==2.3.2, flask-login==0.4.1 requests==2.21.0**
18 |
19 | See this screenshot after installing above modules: https://i.imgur.com/GJD7Gbs.jpg
20 |
21 | 4. Now click on restart. And then go to 'File Manager' from c-panel home and find your application directory. You should see some files and directories inside that directory. Delete the public folder in that directory and upload the cryptomaze script. You have to edit the `passenger_wsgi.py` file. Delete all the code inside the `passenger_wsgi.py` file and add this line of code:`from run import application`
22 |
23 | See this screenshot how your script directory should be: https://i.imgur.com/Azkoypl.jpg
24 |
25 | Now everything should be working as expected!
26 |
27 | You can change the `settings.py` file according to your faucet settings.
28 |
29 |
--------------------------------------------------------------------------------
/cryptomaze/__init__.py:
--------------------------------------------------------------------------------
1 | from flask import Flask
2 | from flask_sqlalchemy import SQLAlchemy
3 | from flask_bcrypt import Bcrypt
4 | from flask_login import LoginManager
5 | from cryptomaze.settings import pri_key, pub_key
6 |
7 | app = Flask(__name__)
8 |
9 | app.config['SECRET_KEY'] = '0343c517a2005ef9540492aee77c16da'
10 | app.config['RECAPTCHA_PUBLIC_KEY'] = pri_key
11 | app.config['RECAPTCHA_PRIVATE_KEY'] = pub_key
12 | app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///cryptomaze.db'
13 | app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
14 | db = SQLAlchemy(app)
15 | bcrypt = Bcrypt(app)
16 | login_manager = LoginManager(app)
17 | login_manager.login_view = 'home'
18 | login_manager.login_message = 'Please enter your Bitcoin Address to access this page.'
19 | login_manager.login_message_category = 'info'
20 |
21 | from cryptomaze import routes
22 |
--------------------------------------------------------------------------------
/cryptomaze/calculate_time.py:
--------------------------------------------------------------------------------
1 | from datetime import datetime
2 | import datetime as dt
3 |
4 |
5 | def calc_time(last_claim_date):
6 | t1 = last_claim_date.strftime('%Y,%m,%d,%H,%M,%S')
7 | t2 = datetime.utcnow().strftime('%Y,%m,%d,%H,%M,%S')
8 |
9 | t1 = t1.split(',')
10 | t2 = t2.split(',')
11 |
12 | a = dt.datetime(int(t1[0]), int(t1[1]), int(t1[2]),
13 | int(t1[3]), int(t1[4]), int(t1[5]))
14 | b = dt.datetime(int(t2[0]), int(t2[1]), int(t2[2]),
15 | int(t2[3]), int(t2[4]), int(t2[5]))
16 |
17 | time_count = int((b-a).total_seconds())
18 |
19 | return time_count
20 |
--------------------------------------------------------------------------------
/cryptomaze/cryptomaze.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/cryptomaze.db
--------------------------------------------------------------------------------
/cryptomaze/faucethub.py:
--------------------------------------------------------------------------------
1 | import requests
2 | from cryptomaze.settings import faucethub_api
3 |
4 | def send_bitcoin(amount, address):
5 | url = 'https://faucethub.io/api/v1/send?api_key='+ str(faucethub_api) +'¤cy=BTC&amount='+ str(amount) +'&to='+ str(address)
6 | r = requests.post(url, data = {'key':'value'})
7 | data = r.json()
8 | if data['status'] == 200:
9 | return True
10 | else:
11 | return False
12 |
13 | def faucet_balance():
14 | url = 'https://faucethub.io/api/v1/balance?api_key='+ str(faucethub_api) +'¤cy=BTC'
15 | r = requests.post(url, data = {'key':'value'})
16 | data = r.json()
17 | if data['status'] == 200:
18 | return data['balance']
19 | else:
20 | False
21 |
--------------------------------------------------------------------------------
/cryptomaze/forms.py:
--------------------------------------------------------------------------------
1 | from flask_wtf import FlaskForm, RecaptchaField, Recaptcha
2 | from wtforms import StringField, SubmitField, ValidationError
3 | from wtforms.validators import DataRequired, Length
4 | from cryptomaze.models import User
5 | from cryptomaze.validate_btc_address import check_bc
6 |
7 |
8 | class SignUpForm(FlaskForm):
9 | bitcoin_address = StringField('Bitcoin Address', validators=[DataRequired(), Length(
10 | max=40)], render_kw={"placeholder": "Enter your Bitcoin Address here"})
11 | submit_signup = SubmitField('Start Earning Bitcoin')
12 |
13 | def validate_bitcoin_address(self, bitcoin_address):
14 | if not check_bc(bitcoin_address.data):
15 | raise ValidationError('Invalid Bitcoin Address.')
16 |
17 |
18 | class ClaimForm(FlaskForm):
19 | submit_claim = SubmitField('Claim')
20 | recaptcha = RecaptchaField(
21 | validators=[Recaptcha('Please solve recaptcha again.')])
22 |
23 |
24 | class WithdrawForm(FlaskForm):
25 | submit_withdraw = SubmitField('Withdraw')
26 | recaptcha = RecaptchaField(
27 | validators=[Recaptcha('Please solve recaptcha again.')])
28 |
--------------------------------------------------------------------------------
/cryptomaze/models.py:
--------------------------------------------------------------------------------
1 | from datetime import datetime
2 | from cryptomaze import db, login_manager
3 | from flask_login import UserMixin
4 |
5 |
6 | @login_manager.user_loader
7 | def load_user(user_id):
8 | return User.query.get(int(user_id))
9 |
10 |
11 | class User(db.Model, UserMixin):
12 | id = db.Column(db.Integer, primary_key=True)
13 | bitcoin_address = db.Column(db.String(120), nullable=False)
14 | register_date = db.Column(
15 | db.DateTime, nullable=False, default=datetime.utcnow)
16 | ref_balance = db.Column(db.Integer, default=0)
17 | btc_balance = db.Column(db.Integer, default=0)
18 | last_claim_date = db.Column(db.DateTime, default=datetime(2013, 9, 30, 7, 6, 5))
19 | referred_by = db.Column(db.Integer, default=0)
20 | withdrawals = db.relationship('Withdraw', backref='withdrawal', lazy=True)
21 |
22 | def __repr__(self):
23 | return "Users('{}', '{}')".format(self.id, self.btc_balance)
24 |
25 |
26 | class Withdraw(db.Model):
27 | id = db.Column(db.Integer, primary_key=True)
28 | amount = db.Column(db.Integer, nullable=False)
29 | bitcoin_address = db.Column(db.String(120), nullable=False)
30 | withdraw_date = db.Column(db.DateTime, nullable=False)
31 | status = db.Column(db.Boolean, nullable=False, default=1)
32 | user_id = db.Column(db.Integer, db.ForeignKey('user.id'), nullable=False)
33 |
34 | def __repr__(self):
35 | return "Withdraw('{}', '{}')".format(self.amount, self.status)
36 |
37 |
38 |
--------------------------------------------------------------------------------
/cryptomaze/referrals.py:
--------------------------------------------------------------------------------
1 | from cryptomaze.settings import discount_list
2 | from cryptomaze.models import User
3 |
4 |
5 | def ref_count(user_id):
6 | user = User.query.filter_by(referred_by=user_id)
7 | count = 0
8 | for ref in user:
9 | count += 1
10 | return count
11 |
12 |
13 | def apply_discount(refs):
14 | for key, val in discount_list.items():
15 | if refs in range(key[0], key[1]):
16 | return val
17 | if not refs == 0:
18 | return 70
19 |
--------------------------------------------------------------------------------
/cryptomaze/routes.py:
--------------------------------------------------------------------------------
1 | from flask import Flask, render_template, url_for, flash, redirect, request, jsonify
2 | from cryptomaze.forms import SignUpForm, ClaimForm, WithdrawForm
3 | from cryptomaze.models import User, Withdraw
4 | from cryptomaze import app, db, bcrypt
5 | from cryptomaze.referrals import ref_count, apply_discount
6 | from flask_login import login_user, current_user, logout_user, login_required
7 | from sqlalchemy import desc
8 | from random import randint
9 | from datetime import datetime
10 | import cryptomaze.settings as settings
11 | from cryptomaze.calculate_time import calc_time
12 | import cryptomaze.faucethub as faucethub
13 |
14 | #imports required for jQuery
15 | from cryptomaze.validate_btc_address import check_bc
16 |
17 |
18 | @app.route('/', methods=['GET', 'POST'])
19 | @app.route('/index', methods=['GET', 'POST'])
20 | def home():
21 | js_scripts = ['toastr.min.js', 'signup-pg.js']
22 | users = db.session.query(User).count()
23 | records = Withdraw.query.all()
24 | paid = 0
25 | for record in records:
26 | paid += record.amount
27 | all_time_paid = paid / 100000000
28 |
29 | if current_user.is_authenticated:
30 | return redirect(url_for('claim'))
31 | signupform = SignUpForm()
32 | if signupform.validate_on_submit():
33 | #users = db.session.query(User).count()
34 | user = User.query.filter_by(
35 | bitcoin_address=signupform.bitcoin_address.data).first()
36 | if user:
37 | login_user(user, remember=True)
38 | return redirect(url_for('claim'))
39 | else:
40 | referred_by = request.args.get('ref')
41 | if not referred_by:
42 | referred_by = 0
43 | user = User(bitcoin_address=signupform.bitcoin_address.data,
44 | referred_by=referred_by)
45 | db.session.add(user)
46 | db.session.commit()
47 | login_user(user, remember=True)
48 | return redirect(url_for('claim'))
49 | return render_template('index.html', faucet_name=settings.faucet_name, max_commission=settings.max_commission, time=int(settings.time/60), claim=settings.claim, signupform=signupform, users=users, paid=all_time_paid, index_page=True, js_scripts=js_scripts)
50 |
51 |
52 | @app.route('/claim', methods=['GET', 'POST'])
53 | @login_required
54 | def claim():
55 | js_scripts = ['sweetalert2.min.js', 'claim-pg.js']
56 | claimform = ClaimForm()
57 | if claimform.validate_on_submit():
58 | if current_user.last_claim_date:
59 | time_count = calc_time(current_user.last_claim_date)
60 | if time_count >= settings.time:
61 | claim_amount = randint(settings.claim['starting amount'], settings.claim['last amount'])
62 | current_user.btc_balance = current_user.btc_balance + claim_amount
63 | current_user.last_claim_date = datetime.utcnow()
64 | db.session.commit()
65 |
66 | # Calculating the referral amount and updating the database
67 | referred_user = User.query.get(current_user.referred_by)
68 | if referred_user:
69 | ref_amount = int(((apply_discount(ref_count(referred_user.id))) / 100.0) * claim_amount)
70 | referred_user.ref_balance = referred_user.ref_balance + ref_amount
71 | referred_user.btc_balance = referred_user.btc_balance + ref_amount
72 | db.session.commit()
73 |
74 | flash('Boom! You claimed {} Satoshi!'.format(str(claim_amount)), category='notify-claim-msg')
75 | return redirect(url_for('claim'))
76 | else:
77 | flash('Please wait {} minutes for next claim.'.format(
78 | str(int(settings.time/60) - int(time_count / 60))), category='notify-claim-warning')
79 | return redirect(url_for('claim'))
80 | else:
81 | claim_amount = randint(settings.claim['starting amount'], settings.claim['last amount'])
82 | current_user.btc_balance = current_user.btc_balance + claim_amount
83 | current_user.last_claim_date = datetime.utcnow()
84 | db.session.commit()
85 | flash('Boom! You claimed {} Satoshi!'.format(str(claim_amount)), category='notify-claim-msg')
86 | return redirect(url_for('claim'))
87 | return render_template('claim.html', title='Claim', faucet_balance=faucethub.faucet_balance(), faucet_name=settings.faucet_name, claimform=claimform, max_commission=settings.max_commission, time=int(settings.time/60), claim=settings.claim, js_scripts=js_scripts)
88 |
89 |
90 | @app.route('/referral')
91 | @login_required
92 | def referral():
93 | return render_template('referral.html', title='Referrals', faucet_name=settings.faucet_name, faucet_url=settings.faucet_url, ref_count=ref_count(current_user.id), ref_commission=apply_discount(ref_count(current_user.id)), discount_list=settings.sorted_discount_list, max_commission=settings.max_commission)
94 |
95 |
96 | @app.route('/withdrawals', methods=['GET', 'POST'])
97 | @login_required
98 | def withdrawals():
99 | js_scripts = ['sweetalert2.min.js', 'withdrawal-pg.js']
100 | withdrawform = WithdrawForm()
101 | btc_balance = current_user.btc_balance
102 | if withdrawform.validate_on_submit():
103 | if current_user.btc_balance >= settings.threshold:
104 | if faucethub.send_bitcoin(current_user.btc_balance, current_user.bitcoin_address):
105 | withdraw = Withdraw(amount=current_user.btc_balance, bitcoin_address=current_user.bitcoin_address,
106 | withdraw_date=datetime.utcnow(), user_id=current_user.id)
107 | current_user.btc_balance = 0
108 | db.session.add(withdraw)
109 | db.session.commit()
110 | flash("Successfully withdrawed", category="with-success")
111 | return redirect(url_for('withdrawals'))
112 | else:
113 | flash("We had some trouble sending Bitcoin", category="with-denied")
114 | return redirect(url_for('withdrawals'))
115 | else:
116 | flash('Please maintain at least {} Satoshi in your account to withdraw'.format(str(settings.threshold)), category='enough-balance')
117 | return redirect(url_for('withdrawals'))
118 |
119 | user_withdrawals = Withdraw.query.filter_by(user_id=current_user.id).order_by(desc(Withdraw.withdraw_date))
120 |
121 | if user_withdrawals:
122 | page = request.args.get('item', 1, type=int)
123 | user_withdrawals = user_withdrawals.paginate(page, per_page=10).items
124 | iter_pages = Withdraw.query.paginate(page, per_page=10).iter_pages(
125 | left_edge=1, right_edge=1, left_current=1, right_current=2)
126 |
127 | for row in user_withdrawals:
128 | if not row.status == 1:
129 | if calc_time(row.withdraw_date) >= settings.sending_time:
130 | row.status = 1
131 | db.session.commit()
132 | else:
133 | iter_pages = None
134 | page = None
135 |
136 | return render_template('withdrawals.html', title='Withdrawals', faucet_name=settings.faucet_name, withdrawform=withdrawform, btc_balance=btc_balance, user_withdrawals=user_withdrawals, iter_pages=iter_pages, page=page, js_scripts=js_scripts)
137 |
138 | @app.route('/ct65756587', methods=['POST'])
139 | def checkbtcaddress():
140 | bitcoin_address = request.form['bitcoin_address']
141 |
142 | return jsonify({
143 | 'status': check_bc(bitcoin_address)
144 | })
145 |
146 | @app.route('/t8746544', methods=['GET', 'POST'])
147 | def timecount():
148 | last_claim = current_user.last_claim_date.strftime('%c')
149 | return jsonify({
150 | 'last': last_claim,
151 | 'time': int(settings.time / 60)
152 | })
153 |
154 |
155 | @app.route('/nojs')
156 | def no_js():
157 | return '
We need you to enable JavaScript in your browser before accessing this site!
Go back home
'
158 |
159 | @app.errorhandler(404)
160 | def page_not_found(error):
161 | return redirect(url_for('home'))
162 |
--------------------------------------------------------------------------------
/cryptomaze/settings.py:
--------------------------------------------------------------------------------
1 | faucet_name = "Cryptomaze" # your faucet name
2 | faucet_url = "https://cryptomaze.win/" # your faucet site address url should be included with the trailing slash
3 | time = 1 # time for each cliam in seconds
4 | claim = {'starting amount': 5, 'last amount': 50}
5 | threshold = 1 # include the threshold in satoshi
6 | discount_list = {
7 | (1, 100): 5,
8 | (100, 500): 15,
9 | (500, 1000): 35,
10 | (1000, 10000): 50
11 | }
12 | sorted_discount_list = sorted(discount_list.items(), key=lambda kv: kv[1])
13 |
14 | max_commission = 70 # max commission as persentage
15 |
16 | # include your re-captcha public and private keys
17 | pri_key = "6LeEdHsUAAAAAEP676Av5roxNRcFc1kYs4USVjvU" # private key
18 | pub_key = "6LeEdHsUAAAAANH-6_C46-6yTPaMQiy96rk611wy" # public key
19 |
20 | # include your Faucethub.io api key
21 | faucethub_api = "josicoesiuowwe8iewocoicuw8e79weucou"
22 |
--------------------------------------------------------------------------------
/cryptomaze/static/bootstrap.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap v3.3.6 (http://getbootstrap.com)
3 | * Copyright 2011-2015 Twitter, Inc.
4 | * Licensed under the MIT license
5 | */
6 | if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.6",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.6",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.6",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.6",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.6",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.6",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.6",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.6",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
--------------------------------------------------------------------------------
/cryptomaze/static/claim-pg.js:
--------------------------------------------------------------------------------
1 | $(document).ready(function(){
2 |
3 | var $claimNoty = $('#notify-claim-msg');
4 | if ($claimNoty.length){
5 | Swal(
6 | $claimNoty.text(),
7 | 'Wait a bit and get your next free Bitcoin',
8 | 'success'
9 | )
10 | }
11 |
12 | var $verifyError = $('#recaptcha-fail');
13 | if ($verifyError.length){
14 | Swal(
15 | 'Whoops! That\'s an error!',
16 | 'We couldn\'t verify that was a legimate move',
17 | 'error'
18 | )
19 | }
20 |
21 | var $claimError = $('#notify-claim-warning');
22 | if ($claimError.length){
23 | Swal(
24 | $claimError.text(),
25 | )
26 | }
27 |
28 |
29 | });
--------------------------------------------------------------------------------
/cryptomaze/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/favicon.ico
--------------------------------------------------------------------------------
/cryptomaze/static/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/cryptomaze/static/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/cryptomaze/static/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/cryptomaze/static/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/cryptomaze/static/img/ad-160x600.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/ad-160x600.jpg
--------------------------------------------------------------------------------
/cryptomaze/static/img/ad-300x250.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/ad-300x250.jpg
--------------------------------------------------------------------------------
/cryptomaze/static/img/ad-728x90.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/ad-728x90.jpg
--------------------------------------------------------------------------------
/cryptomaze/static/img/bg-img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/bg-img.png
--------------------------------------------------------------------------------
/cryptomaze/static/img/btc-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/btc-icon.png
--------------------------------------------------------------------------------
/cryptomaze/static/img/faucet-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/faucet-icon.png
--------------------------------------------------------------------------------
/cryptomaze/static/img/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/favicon.ico
--------------------------------------------------------------------------------
/cryptomaze/static/img/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/favicon.png
--------------------------------------------------------------------------------
/cryptomaze/static/img/j-back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/j-back.png
--------------------------------------------------------------------------------
/cryptomaze/static/img/jumbotron-back.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/jumbotron-back.jpg
--------------------------------------------------------------------------------
/cryptomaze/static/img/jumbotron-back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/jumbotron-back.png
--------------------------------------------------------------------------------
/cryptomaze/static/img/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasmikash/cryptomaze/b3125baa29376ed7774d9af1f9b823dc5e4b494d/cryptomaze/static/img/logo.png
--------------------------------------------------------------------------------
/cryptomaze/static/signup-pg.js:
--------------------------------------------------------------------------------
1 | $(document).ready(function(){
2 |
3 | //script for sign up page
4 | var $startEarningBut = $('#submit_signup');
5 | var $bitcoinAddress = $('#bitcoin_address');
6 |
7 | $startEarningBut.prop('disabled', true);
8 |
9 | $bitcoinAddress.on('blur', function(){
10 | $.ajax({
11 | type: 'POST',
12 | url: '/ct65756587',
13 | data: $('form').serialize(),
14 | success: function(data){
15 | if (data.status === false){
16 | $startEarningBut.prop('disabled', true);
17 | $('#invalid-btc').remove();
18 |
19 | toastr.options = {
20 | "closeButton": false,
21 | "debug": false,
22 | "newestOnTop": false,
23 | "progressBar": false,
24 | "positionClass": "toast-bottom-right",
25 | "preventDuplicates": false,
26 | "onclick": null,
27 | "showDuration": "600",
28 | "hideDuration": "1000",
29 | "timeOut": "5000",
30 | "extendedTimeOut": "1000",
31 | "showEasing": "swing",
32 | "hideEasing": "linear",
33 | "showMethod": "fadeIn",
34 | "hideMethod": "fadeOut"
35 | }
36 |
37 | toastr["error"]("Invalid Bitcoin address.")
38 |
39 |
40 | }else{
41 | $startEarningBut.prop('disabled', false);
42 | $('#invalid-btc').remove();
43 | };
44 | }
45 | });
46 | });
47 | });
--------------------------------------------------------------------------------
/cryptomaze/static/style.css:
--------------------------------------------------------------------------------
1 | body{
2 | background-image: url("img/bg-img.png");
3 | font-family: 'Open Sans', sans-serif !important;
4 | }
5 |
6 | .site-stat{
7 | background: #123f69;
8 | color: #ffffff;
9 | margin-top: -20px;
10 | padding: 12px;
11 | text-align: center;
12 | font-size: 18px;
13 | border-radius: 3px;
14 | }
15 |
16 | .price-dis{
17 | text-align: center;
18 | }
19 |
20 | .jumbotron{
21 | background-color: #6DB3F2;
22 | background:url("img/jumbotron-back.jpg");
23 | background-position: center;
24 | border: 1px solid #dadada;
25 | color: #ffffff;
26 | }
27 |
28 | ul{
29 | list-style-type: none;
30 | }
31 |
32 | .logo{
33 | width: 125px;
34 | height: 30px;
35 | }
36 |
37 | #advertising {
38 | padding-top: 10px;
39 |
40 | }
41 |
42 | #containertop {
43 | padding-top: 5px;
44 | padding-bottom: 10px;
45 | text-align: center;
46 | margin-right: auto;
47 | margin-left: auto;
48 | }
49 |
50 |
51 | .content {
52 | background: #fdfdfd;
53 | border: solid 1px #e4edf6;
54 | border-radius: 4px;
55 | text-align: center;
56 | margin-right: auto;
57 | margin-left: auto;
58 | padding: 10px;
59 | }
60 |
61 | .claim-box{
62 | margin-top: 5px;
63 | }
64 |
65 | .balance-box{
66 | background: #f5f6f7;
67 | font-family: sans-serif;
68 | margin-left: 20px;
69 | margin-right: 20px;
70 | padding: 5px;
71 | font-size: 20px;
72 | color: #6a94be;
73 | text-shadow: 1px 1px #ffffff;
74 | }
75 |
76 | .btc{
77 | background-image: url(../static/img/btc-icon.png);
78 | background-position: left center;
79 | background-repeat: no-repeat;
80 |
81 | padding-left: 17px; /* Or size of icon + spacing */
82 | padding-right: 17px;
83 | }
84 |
85 | .faucet{
86 | background-image: url(../static/img/faucet-icon.png);
87 | background-position: left center;
88 | background-repeat: no-repeat;
89 |
90 | padding-left: 17px; /* Or size of icon + spacing */
91 | padding-right: 17px;
92 | }
93 |
94 | .time{
95 | background: #f5f6f7;
96 | font-family: sans-serif;
97 | margin-left: 20px;
98 | margin-right: 20px;
99 | padding: 5px;
100 | font-size: 30px;
101 | font-weight: bolder;
102 | color: #6a94be;
103 | text-shadow: 1px 1px #ffffff;
104 | }
105 |
106 |
107 | .align-center {
108 | display: block;
109 | margin: 1.0em auto;
110 | text-align: right;
111 | }
112 |
113 | .main-content{
114 | padding: 5px 5px 5px;
115 | margin: 20px 5px 5px 5px;
116 | }
117 |
118 | .history-area{
119 | padding: 5px 5px 5px;
120 | margin: 0px 0px 0px 0px;
121 | border: 1px solid #dadada;
122 | border-radius: 5px;
123 | }
124 |
125 | .history-table{
126 | margin: 0px 0px -30px 0px;
127 | }
128 |
129 | .ref-table{
130 | margin: -20px 0px -30px 0px;
131 | }
132 |
133 |
134 |
135 |
--------------------------------------------------------------------------------
/cryptomaze/static/sweetalert2.min.css:
--------------------------------------------------------------------------------
1 | @-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-shown{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;box-shadow:0 0 .625em #d9d9d9;overflow-y:hidden}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:initial;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon-text{font-size:2em;font-weight:700;line-height:1em}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 .0625em #fff,0 0 0 .125em rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:2em;height:2.8125em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.25em;left:-.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:2em 2em;transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;-webkit-transform-origin:0 2em;transform-origin:0 2em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:showSweetToast .5s;animation:showSweetToast .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:hideSweetToast .2s forwards;animation:hideSweetToast .2s forwards}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:animate-toast-success-tip .75s;animation:animate-toast-success-tip .75s}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:animate-toast-success-long .75s;animation:animate-toast-success-long .75s}@-webkit-keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@-webkit-keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-shown{top:auto;right:auto;bottom:auto;left:auto;background-color:transparent}body.swal2-no-backdrop .swal2-shown>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}.swal2-container{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:10px;background-color:transparent;z-index:1060;overflow-x:hidden;-webkit-overflow-scrolling:touch}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-container.swal2-fade{transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem;box-sizing:border-box}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-popup .swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-popup .swal2-title{display:block;position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-popup .swal2-actions{flex-wrap:wrap;align-items:center;justify-content:center;margin:1.25em auto 0;z-index:1}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-confirm{width:2.5em;height:2.5em;margin:.46875em;padding:0;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;box-sizing:border-box;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-popup .swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{display:inline-block;width:15px;height:15px;margin-left:5px;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff;content:'';-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal}.swal2-popup .swal2-styled{margin:.3125em;padding:.625em 2em;font-weight:500;box-shadow:none}.swal2-popup .swal2-styled:not([disabled]){cursor:pointer}.swal2-popup .swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-popup .swal2-styled::-moz-focus-inner{border:0}.swal2-popup .swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-popup .swal2-image{max-width:100%;margin:1.25em auto}.swal2-popup .swal2-close{position:absolute;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer;overflow:hidden}.swal2-popup .swal2-close:hover{-webkit-transform:none;transform:none;color:#f27474}.swal2-popup>.swal2-checkbox,.swal2-popup>.swal2-file,.swal2-popup>.swal2-input,.swal2-popup>.swal2-radio,.swal2-popup>.swal2-select,.swal2-popup>.swal2-textarea{display:none}.swal2-popup .swal2-content{justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:300;line-height:normal;z-index:1;word-wrap:break-word}.swal2-popup #swal2-content{text-align:center}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-radio,.swal2-popup .swal2-select,.swal2-popup .swal2-textarea{margin:1em auto}.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-textarea{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box}.swal2-popup .swal2-file.swal2-inputerror,.swal2-popup .swal2-input.swal2-inputerror,.swal2-popup .swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-popup .swal2-file:focus,.swal2-popup .swal2-input:focus,.swal2-popup .swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-popup .swal2-file::-webkit-input-placeholder,.swal2-popup .swal2-input::-webkit-input-placeholder,.swal2-popup .swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-popup .swal2-file:-ms-input-placeholder,.swal2-popup .swal2-input:-ms-input-placeholder,.swal2-popup .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::-ms-input-placeholder,.swal2-popup .swal2-input::-ms-input-placeholder,.swal2-popup .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::placeholder,.swal2-popup .swal2-input::placeholder,.swal2-popup .swal2-textarea::placeholder{color:#ccc}.swal2-popup .swal2-range input{width:80%}.swal2-popup .swal2-range output{width:20%;font-weight:600;text-align:center}.swal2-popup .swal2-range input,.swal2-popup .swal2-range output{height:2.625em;margin:1em auto;padding:0;font-size:1.125em;line-height:2.625em}.swal2-popup .swal2-input{height:2.625em;padding:0 .75em}.swal2-popup .swal2-input[type=number]{max-width:10em}.swal2-popup .swal2-file{font-size:1.125em}.swal2-popup .swal2-textarea{height:6.75em;padding:.75em}.swal2-popup .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;color:#545454;font-size:1.125em}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-radio{align-items:center;justify-content:center}.swal2-popup .swal2-checkbox label,.swal2-popup .swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-popup .swal2-checkbox input,.swal2-popup .swal2-radio input{margin:0 .4em}.swal2-popup .swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;background:#f0f0f0;color:#666;font-size:1em;font-weight:300;overflow:hidden}.swal2-popup .swal2-validation-message::before{display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center;content:'!';zoom:normal}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}.swal2-icon{position:relative;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;line-height:5em;cursor:default;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;zoom:normal}.swal2-icon-text{font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;top:-.25em;left:-.25em;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%;z-index:2;box-sizing:content-box}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);z-index:1}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;height:.3125em;border-radius:.125em;background-color:#a5dc86;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progresssteps{align-items:center;margin:0 0 1.25em;padding:0;font-weight:600}.swal2-progresssteps li{display:inline-block;position:relative}.swal2-progresssteps .swal2-progresscircle{width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center;z-index:20}.swal2-progresssteps .swal2-progresscircle:first-child{margin-left:0}.swal2-progresssteps .swal2-progresscircle:last-child{margin-right:0}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep{background:#3085d6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progresscircle{background:#add8e6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progressline{background:#add8e6}.swal2-progresssteps .swal2-progressline{width:2.5em;height:.4em;margin:0 -1px;background:#3085d6;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:initial!important}}
--------------------------------------------------------------------------------
/cryptomaze/static/sweetalert2.min.js:
--------------------------------------------------------------------------------
1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Sweetalert2=t()}(this,function(){"use strict";function q(e){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n