diff --git a/.DS_Store b/.DS_Store index 602b3a8..e2fb3cb 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/app/__init__.py b/app/__init__.py index 420b1b2..24660c2 100755 --- a/app/__init__.py +++ b/app/__init__.py @@ -1,6 +1,9 @@ from flask import Flask from flask_sqlalchemy import SQLAlchemy from marshmallow import Schema, fields, ValidationError, pre_load +from flask_socketio import SocketIO, emit +from os import environ +from dotenv import load_dotenv, find_dotenv import os import click from werkzeug.utils import secure_filename @@ -12,15 +15,21 @@ basedir = os.path.abspath(os.path.dirname(__file__)) UPLOAD_FOLDER = os.path.join(basedir, 'uploads') UPLOAD_FOLDER_COVER = os.path.join(basedir, 'uploads/cover') #ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif']) - +load_dotenv(find_dotenv()) app = Flask(__name__) app.config['SECRET_KEY'] = 'super secret key' #app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/mydatabase.db' app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER app.config['SQLALCHEMY_DATABASE_URI'] = 'rqlite+pyrqlite://localhost:4001/' +app.config['DEBUG'] = True +app.config['PORT'] = 80 + #app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + os.path.join(basedir, 'mydatabase.db') db = SQLAlchemy(app) +DOMAIN = environ.get('DOMAIN') +socketio = SocketIO(app) + app.config.from_object(__name__) from app import views diff --git a/app/forms.py b/app/forms.py index f7b8a4c..47cd54d 100755 --- a/app/forms.py +++ b/app/forms.py @@ -26,6 +26,10 @@ class EditForm(FlaskForm): category = StringField('category', validators=[InputRequired()]) year_published = StringField('year published', [validators.Length(max=4)],default=None) +class ChatForm(FlaskForm): + message = StringField('message', validators=[InputRequired()]) + send = SubmitField(label='Send') + class SearchForm(FlaskForm): choices = [('Title', 'Title'), diff --git a/app/models.py b/app/models.py index 7f9e437..43e94d1 100755 --- a/app/models.py +++ b/app/models.py @@ -1,5 +1,7 @@ from app import db from marshmallow import Schema, fields, ValidationError, pre_load +import datetime +from sqlalchemy import Column, Integer, DateTime authors = db.Table('books_authors', db.Column('book_id', db.Integer, db.ForeignKey('books.id'), primary_key=True), @@ -21,6 +23,7 @@ class Book(db.Model): fileformat = db.Column(db.String(255)) category = db.Column(db.String(255)) year_published = db.Column(db.Numeric(4,0)) + description = db.Column(db.String(2500)) html = db.Column(db.String(255)) authors = db.relationship('Author', secondary=authors,cascade="delete", lazy='subquery', backref=db.backref('books', lazy=True),passive_deletes=True) @@ -68,6 +71,17 @@ class UserIns(db.Model): self.title = title self.info = info +class Chat(db.Model): + __tablename__ = 'chat' + + id = db.Column(db.Integer(), primary_key=True) + message = db.Column(db.String(1000)) + time = Column(DateTime, default=datetime.datetime.utcnow) + + def __init__(self, message): + self.message = message + self.time = datetime.datetime.utcnow() + class Stack(db.Model): __tablename__ = 'stacks' @@ -82,9 +96,6 @@ class Stack(db.Model): def __repr__(self): return '' % self.stack - def get_id(self): - return self.id - class AuthorSchema(Schema): id = fields.Int(dump_only=True) author_name = fields.Str() @@ -94,6 +105,11 @@ class StackSchema(Schema): stack_name = fields.Str() stack_description = fields.Str() +class ChatSchema(Schema): + id = fields.Int(dump_only=True) + message = fields.Str() + time = fields.DateTime() + class BookSchema(Schema): id = fields.Int(dump_only=True) title = fields.Str() diff --git a/app/static/css/style.css b/app/static/css/style.css index 2e26275..83127e1 100755 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -12,7 +12,7 @@ junicodebolditaliccondensed */ *{ -font-family: junicoderegularcondensed; +font-family: "Archivo Narrow"; } p{ @@ -206,3 +206,97 @@ div.marquee > div.marquee-text { display:inline; width:auto; } + +#home_content{ + width: 70%; + +} + +#app{ + position: fixed; + bottom: 0; + right: 0; + width: 30%; + height: 100%; +} + +.messages{ + position: absolute; + bottom: 40px; + display: block; + width:100%; + padding: 10px; + margin: 0px; + height: 100%; + background-color: #551A8B; + overflow-y: scroll; + overflow-x: hidden; + color: white; + word-wrap:break-word; + box-sizing: border-box; +-webkit-box-sizing: border-box; +-moz-box-sizing: border-box; +z-index: -100000; +} + +.new-message { + position: absolute; + bottom: 0; + display: block; +width:100%; +margin:0; +padding:0; +z-index: 100000; +} +.control{ + display: block; + margin:0!important; + padding:0!important; + +} +.field{ + display: block; + margin:0!important; + padding:0!important; +} +.new-message input{ + width: 80%; + display: block; + margin:0px!important; + padding:0px!important; + height: 40px; + font-size: 20px; + word-wrap: break-word; + word-break: break-all; + float: left; + box-sizing: border-box; +-webkit-box-sizing: border-box; +-moz-box-sizing: border-box; +} +.new-message button{ + display: block; + width: 20%; +float: right; +margin:0px!important; +padding:0px!important; +box-sizing: border-box; +-webkit-box-sizing: border-box; +-moz-box-sizing: border-box; +} + +.messages .user{ + font-size: 16px; + margin-bottom: -15px; + margin-top: 20px; +} +.messages .msg{ + font-size: 30px; + margin: 0px; + margin-top: -15px; + margin-bottom: 10px; + padding: 0; +} +.messages .time{ + font-size: 16px; + font-style: italic; +} diff --git a/app/static/fonts/ArchivoNarrow-Bold.eot b/app/static/fonts/ArchivoNarrow-Bold.eot new file mode 100644 index 0000000..f5b183e Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Bold.eot differ diff --git a/app/static/fonts/ArchivoNarrow-Bold.ttf b/app/static/fonts/ArchivoNarrow-Bold.ttf new file mode 100644 index 0000000..b70c9d1 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Bold.ttf differ diff --git a/app/static/fonts/ArchivoNarrow-Bold.woff b/app/static/fonts/ArchivoNarrow-Bold.woff new file mode 100644 index 0000000..436b146 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Bold.woff differ diff --git a/app/static/fonts/ArchivoNarrow-Bold.woff2 b/app/static/fonts/ArchivoNarrow-Bold.woff2 new file mode 100644 index 0000000..2590130 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Bold.woff2 differ diff --git a/app/static/fonts/ArchivoNarrow-BoldItalic.eot b/app/static/fonts/ArchivoNarrow-BoldItalic.eot new file mode 100644 index 0000000..b2ab75e Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-BoldItalic.eot differ diff --git a/app/static/fonts/ArchivoNarrow-BoldItalic.ttf b/app/static/fonts/ArchivoNarrow-BoldItalic.ttf new file mode 100644 index 0000000..a272194 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-BoldItalic.ttf differ diff --git a/app/static/fonts/ArchivoNarrow-BoldItalic.woff b/app/static/fonts/ArchivoNarrow-BoldItalic.woff new file mode 100644 index 0000000..3aead37 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-BoldItalic.woff differ diff --git a/app/static/fonts/ArchivoNarrow-BoldItalic.woff2 b/app/static/fonts/ArchivoNarrow-BoldItalic.woff2 new file mode 100644 index 0000000..e7ada40 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-BoldItalic.woff2 differ diff --git a/app/static/fonts/ArchivoNarrow-Italic.eot b/app/static/fonts/ArchivoNarrow-Italic.eot new file mode 100644 index 0000000..286dd98 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Italic.eot differ diff --git a/app/static/fonts/ArchivoNarrow-Italic.ttf b/app/static/fonts/ArchivoNarrow-Italic.ttf new file mode 100644 index 0000000..8a2e409 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Italic.ttf differ diff --git a/app/static/fonts/ArchivoNarrow-Italic.woff b/app/static/fonts/ArchivoNarrow-Italic.woff new file mode 100644 index 0000000..cab5ef1 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Italic.woff differ diff --git a/app/static/fonts/ArchivoNarrow-Italic.woff2 b/app/static/fonts/ArchivoNarrow-Italic.woff2 new file mode 100644 index 0000000..8f8b41d Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Italic.woff2 differ diff --git a/app/static/fonts/ArchivoNarrow-Medium.eot b/app/static/fonts/ArchivoNarrow-Medium.eot new file mode 100644 index 0000000..79d527c Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Medium.eot differ diff --git a/app/static/fonts/ArchivoNarrow-Medium.ttf b/app/static/fonts/ArchivoNarrow-Medium.ttf new file mode 100644 index 0000000..164029a Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Medium.ttf differ diff --git a/app/static/fonts/ArchivoNarrow-Medium.woff b/app/static/fonts/ArchivoNarrow-Medium.woff new file mode 100644 index 0000000..b452157 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Medium.woff differ diff --git a/app/static/fonts/ArchivoNarrow-Medium.woff2 b/app/static/fonts/ArchivoNarrow-Medium.woff2 new file mode 100644 index 0000000..00595a8 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Medium.woff2 differ diff --git a/app/static/fonts/ArchivoNarrow-MediumItalic.eot b/app/static/fonts/ArchivoNarrow-MediumItalic.eot new file mode 100644 index 0000000..5a4f0db Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-MediumItalic.eot differ diff --git a/app/static/fonts/ArchivoNarrow-MediumItalic.ttf b/app/static/fonts/ArchivoNarrow-MediumItalic.ttf new file mode 100644 index 0000000..087db49 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-MediumItalic.ttf differ diff --git a/app/static/fonts/ArchivoNarrow-MediumItalic.woff b/app/static/fonts/ArchivoNarrow-MediumItalic.woff new file mode 100644 index 0000000..892cf47 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-MediumItalic.woff differ diff --git a/app/static/fonts/ArchivoNarrow-MediumItalic.woff2 b/app/static/fonts/ArchivoNarrow-MediumItalic.woff2 new file mode 100644 index 0000000..3504c65 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-MediumItalic.woff2 differ diff --git a/app/static/fonts/ArchivoNarrow-Regular.eot b/app/static/fonts/ArchivoNarrow-Regular.eot new file mode 100644 index 0000000..091d299 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Regular.eot differ diff --git a/app/static/fonts/ArchivoNarrow-Regular.ttf b/app/static/fonts/ArchivoNarrow-Regular.ttf new file mode 100644 index 0000000..52721af Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Regular.ttf differ diff --git a/app/static/fonts/ArchivoNarrow-Regular.woff b/app/static/fonts/ArchivoNarrow-Regular.woff new file mode 100644 index 0000000..35e2b4f Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Regular.woff differ diff --git a/app/static/fonts/ArchivoNarrow-Regular.woff2 b/app/static/fonts/ArchivoNarrow-Regular.woff2 new file mode 100644 index 0000000..4f729b1 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-Regular.woff2 differ diff --git a/app/static/fonts/ArchivoNarrow-SemiBold.eot b/app/static/fonts/ArchivoNarrow-SemiBold.eot new file mode 100644 index 0000000..6ec18cd Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-SemiBold.eot differ diff --git a/app/static/fonts/ArchivoNarrow-SemiBold.ttf b/app/static/fonts/ArchivoNarrow-SemiBold.ttf new file mode 100644 index 0000000..ef9b1ca Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-SemiBold.ttf differ diff --git a/app/static/fonts/ArchivoNarrow-SemiBold.woff b/app/static/fonts/ArchivoNarrow-SemiBold.woff new file mode 100644 index 0000000..bddea4c Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-SemiBold.woff differ diff --git a/app/static/fonts/ArchivoNarrow-SemiBold.woff2 b/app/static/fonts/ArchivoNarrow-SemiBold.woff2 new file mode 100644 index 0000000..1d4a11d Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-SemiBold.woff2 differ diff --git a/app/static/fonts/ArchivoNarrow-SemiBoldItalic.eot b/app/static/fonts/ArchivoNarrow-SemiBoldItalic.eot new file mode 100644 index 0000000..4e2a5c2 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-SemiBoldItalic.eot differ diff --git a/app/static/fonts/ArchivoNarrow-SemiBoldItalic.ttf b/app/static/fonts/ArchivoNarrow-SemiBoldItalic.ttf new file mode 100644 index 0000000..be56546 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-SemiBoldItalic.ttf differ diff --git a/app/static/fonts/ArchivoNarrow-SemiBoldItalic.woff b/app/static/fonts/ArchivoNarrow-SemiBoldItalic.woff new file mode 100644 index 0000000..6692517 Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-SemiBoldItalic.woff differ diff --git a/app/static/fonts/ArchivoNarrow-SemiBoldItalic.woff2 b/app/static/fonts/ArchivoNarrow-SemiBoldItalic.woff2 new file mode 100644 index 0000000..1d0290b Binary files /dev/null and b/app/static/fonts/ArchivoNarrow-SemiBoldItalic.woff2 differ diff --git a/app/static/fonts/fonts_style.css b/app/static/fonts/fonts_style.css old mode 100755 new mode 100644 index 41880f6..e357632 --- a/app/static/fonts/fonts_style.css +++ b/app/static/fonts/fonts_style.css @@ -1,128 +1,88 @@ -/* Generated by Font Squirrel (http://www.fontsquirrel.com) on December 2, 2015 */ - - - @font-face { - font-family: 'junicodebold'; - src: url('junicode-bold-webfont.eot'); - src: url('junicode-bold-webfont.eot?#iefix') format('embedded-opentype'), - url('junicode-bold-webfont.woff2') format('woff2'), - url('junicode-bold-webfont.woff') format('woff'), - url('junicode-bold-webfont.ttf') format('truetype'), - url('junicode-bold-webfont.svg#junicodebold') format('svg'); - font-weight: normal; + font-family: 'Archivo Narrow'; + src: url('ArchivoNarrow-Bold.eot'); + src: url('ArchivoNarrow-Bold.eot?#iefix') format('embedded-opentype'), + url('ArchivoNarrow-Bold.woff2') format('woff2'), + url('ArchivoNarrow-Bold.woff') format('woff'), + url('ArchivoNarrow-Bold.ttf') format('truetype'); + font-weight: bold; font-style: normal; - } - - - @font-face { - font-family: 'junicodeboldcondensed'; - src: url('junicode-boldcondensed-webfont.eot'); - src: url('junicode-boldcondensed-webfont.eot?#iefix') format('embedded-opentype'), - url('junicode-boldcondensed-webfont.woff2') format('woff2'), - url('junicode-boldcondensed-webfont.woff') format('woff'), - url('junicode-boldcondensed-webfont.ttf') format('truetype'), - url('junicode-boldcondensed-webfont.svg#junicodeboldcondensed') format('svg'); + font-family: 'Archivo Narrow'; + src: url('ArchivoNarrow-Italic.eot'); + src: url('ArchivoNarrow-Italic.eot?#iefix') format('embedded-opentype'), + url('ArchivoNarrow-Italic.woff2') format('woff2'), + url('ArchivoNarrow-Italic.woff') format('woff'), + url('ArchivoNarrow-Italic.ttf') format('truetype'); font-weight: normal; - font-style: normal; - + font-style: italic; } - - - @font-face { - font-family: 'junicodebolditalic'; - src: url('junicode-bolditalic-webfont.eot'); - src: url('junicode-bolditalic-webfont.eot?#iefix') format('embedded-opentype'), - url('junicode-bolditalic-webfont.woff2') format('woff2'), - url('junicode-bolditalic-webfont.woff') format('woff'), - url('junicode-bolditalic-webfont.ttf') format('truetype'), - url('junicode-bolditalic-webfont.svg#junicodebolditalic') format('svg'); - font-weight: normal; - font-style: normal; - + font-family: 'Archivo Narrow'; + src: url('ArchivoNarrow-SemiBoldItalic.eot'); + src: url('ArchivoNarrow-SemiBoldItalic.eot?#iefix') format('embedded-opentype'), + url('ArchivoNarrow-SemiBoldItalic.woff2') format('woff2'), + url('ArchivoNarrow-SemiBoldItalic.woff') format('woff'), + url('ArchivoNarrow-SemiBoldItalic.ttf') format('truetype'); + font-weight: 600; + font-style: italic; } - - - @font-face { - font-family: 'junicodebolditaliccondensed'; - src: url('junicode-bolditaliccondensed-webfont.eot'); - src: url('junicode-bolditaliccondensed-webfont.eot?#iefix') format('embedded-opentype'), - url('junicode-bolditaliccondensed-webfont.woff2') format('woff2'), - url('junicode-bolditaliccondensed-webfont.woff') format('woff'), - url('junicode-bolditaliccondensed-webfont.ttf') format('truetype'), - url('junicode-bolditaliccondensed-webfont.svg#junicodebolditaliccondensed') format('svg'); - font-weight: normal; - font-style: normal; - + font-family: 'Archivo Narrow'; + src: url('ArchivoNarrow-MediumItalic.eot'); + src: url('ArchivoNarrow-MediumItalic.eot?#iefix') format('embedded-opentype'), + url('ArchivoNarrow-MediumItalic.woff2') format('woff2'), + url('ArchivoNarrow-MediumItalic.woff') format('woff'), + url('ArchivoNarrow-MediumItalic.ttf') format('truetype'); + font-weight: 500; + font-style: italic; } - - - @font-face { - font-family: 'junicodeitalic'; - src: url('junicode-italic-webfont.eot'); - src: url('junicode-italic-webfont.eot?#iefix') format('embedded-opentype'), - url('junicode-italic-webfont.woff2') format('woff2'), - url('junicode-italic-webfont.woff') format('woff'), - url('junicode-italic-webfont.ttf') format('truetype'), - url('junicode-italic-webfont.svg#junicodeitalic') format('svg'); - font-weight: normal; + font-family: 'Archivo Narrow'; + src: url('ArchivoNarrow-Medium.eot'); + src: url('ArchivoNarrow-Medium.eot?#iefix') format('embedded-opentype'), + url('ArchivoNarrow-Medium.woff2') format('woff2'), + url('ArchivoNarrow-Medium.woff') format('woff'), + url('ArchivoNarrow-Medium.ttf') format('truetype'); + font-weight: 500; font-style: normal; - } - - - @font-face { - font-family: 'junicodeitaliccondensed'; - src: url('junicode-italiccondensed-webfont.eot'); - src: url('junicode-italiccondensed-webfont.eot?#iefix') format('embedded-opentype'), - url('junicode-italiccondensed-webfont.woff2') format('woff2'), - url('junicode-italiccondensed-webfont.woff') format('woff'), - url('junicode-italiccondensed-webfont.ttf') format('truetype'), - url('junicode-italiccondensed-webfont.svg#junicodeitaliccondensed') format('svg'); - font-weight: normal; - font-style: normal; - + font-family: 'Archivo Narrow'; + src: url('ArchivoNarrow-BoldItalic.eot'); + src: url('ArchivoNarrow-BoldItalic.eot?#iefix') format('embedded-opentype'), + url('ArchivoNarrow-BoldItalic.woff2') format('woff2'), + url('ArchivoNarrow-BoldItalic.woff') format('woff'), + url('ArchivoNarrow-BoldItalic.ttf') format('truetype'); + font-weight: bold; + font-style: italic; } - - - @font-face { - font-family: 'junicoderegular'; - src: url('junicode-regular-webfont.eot'); - src: url('junicode-regular-webfont.eot?#iefix') format('embedded-opentype'), - url('junicode-regular-webfont.woff2') format('woff2'), - url('junicode-regular-webfont.woff') format('woff'), - url('junicode-regular-webfont.ttf') format('truetype'), - url('junicode-regular-webfont.svg#junicoderegular') format('svg'); + font-family: 'Archivo Narrow'; + src: url('ArchivoNarrow-Regular.eot'); + src: url('ArchivoNarrow-Regular.eot?#iefix') format('embedded-opentype'), + url('ArchivoNarrow-Regular.woff2') format('woff2'), + url('ArchivoNarrow-Regular.woff') format('woff'), + url('ArchivoNarrow-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; - } - - - @font-face { - font-family: 'junicoderegularcondensed'; - src: url('junicode-regularcondensed-webfont.eot'); - src: url('junicode-regularcondensed-webfont.eot?#iefix') format('embedded-opentype'), - url('junicode-regularcondensed-webfont.woff2') format('woff2'), - url('junicode-regularcondensed-webfont.woff') format('woff'), - url('junicode-regularcondensed-webfont.ttf') format('truetype'), - url('junicode-regularcondensed-webfont.svg#junicoderegularcondensed') format('svg'); - font-weight: normal; + font-family: 'Archivo Narrow'; + src: url('ArchivoNarrow-SemiBold.eot'); + src: url('ArchivoNarrow-SemiBold.eot?#iefix') format('embedded-opentype'), + url('ArchivoNarrow-SemiBold.woff2') format('woff2'), + url('ArchivoNarrow-SemiBold.woff') format('woff'), + url('ArchivoNarrow-SemiBold.ttf') format('truetype'); + font-weight: 600; font-style: normal; - } + diff --git a/app/static/fonts/junicode-bold-webfont.eot b/app/static/fonts/junicode-bold-webfont.eot deleted file mode 100755 index 97dae11..0000000 Binary files a/app/static/fonts/junicode-bold-webfont.eot and /dev/null differ diff --git a/app/static/fonts/junicode-bold-webfont.svg b/app/static/fonts/junicode-bold-webfont.svg deleted file mode 100755 index 3294118..0000000 --- a/app/static/fonts/junicode-bold-webfont.svg +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/static/fonts/junicode-bold-webfont.ttf b/app/static/fonts/junicode-bold-webfont.ttf deleted file mode 100755 index 039645b..0000000 Binary files a/app/static/fonts/junicode-bold-webfont.ttf and /dev/null differ diff --git a/app/static/fonts/junicode-bold-webfont.woff b/app/static/fonts/junicode-bold-webfont.woff deleted file mode 100755 index a6e0c71..0000000 Binary files a/app/static/fonts/junicode-bold-webfont.woff and /dev/null differ diff --git a/app/static/fonts/junicode-bold-webfont.woff2 b/app/static/fonts/junicode-bold-webfont.woff2 deleted file mode 100755 index 992d437..0000000 Binary files a/app/static/fonts/junicode-bold-webfont.woff2 and /dev/null differ diff --git a/app/static/fonts/junicode-boldcondensed-webfont.eot b/app/static/fonts/junicode-boldcondensed-webfont.eot deleted file mode 100755 index 2090b43..0000000 Binary files a/app/static/fonts/junicode-boldcondensed-webfont.eot and /dev/null differ diff --git a/app/static/fonts/junicode-boldcondensed-webfont.svg b/app/static/fonts/junicode-boldcondensed-webfont.svg deleted file mode 100755 index 2cecb8b..0000000 --- a/app/static/fonts/junicode-boldcondensed-webfont.svg +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/static/fonts/junicode-boldcondensed-webfont.ttf b/app/static/fonts/junicode-boldcondensed-webfont.ttf deleted file mode 100755 index 8364570..0000000 Binary files a/app/static/fonts/junicode-boldcondensed-webfont.ttf and /dev/null differ diff --git a/app/static/fonts/junicode-boldcondensed-webfont.woff b/app/static/fonts/junicode-boldcondensed-webfont.woff deleted file mode 100755 index 840f72d..0000000 Binary files a/app/static/fonts/junicode-boldcondensed-webfont.woff and /dev/null differ diff --git a/app/static/fonts/junicode-boldcondensed-webfont.woff2 b/app/static/fonts/junicode-boldcondensed-webfont.woff2 deleted file mode 100755 index e1b46c6..0000000 Binary files a/app/static/fonts/junicode-boldcondensed-webfont.woff2 and /dev/null differ diff --git a/app/static/fonts/junicode-bolditalic-webfont.eot b/app/static/fonts/junicode-bolditalic-webfont.eot deleted file mode 100755 index c203acb..0000000 Binary files a/app/static/fonts/junicode-bolditalic-webfont.eot and /dev/null differ diff --git a/app/static/fonts/junicode-bolditalic-webfont.svg b/app/static/fonts/junicode-bolditalic-webfont.svg deleted file mode 100755 index ee945d6..0000000 --- a/app/static/fonts/junicode-bolditalic-webfont.svg +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/static/fonts/junicode-bolditalic-webfont.ttf b/app/static/fonts/junicode-bolditalic-webfont.ttf deleted file mode 100755 index 857efca..0000000 Binary files a/app/static/fonts/junicode-bolditalic-webfont.ttf and /dev/null differ diff --git a/app/static/fonts/junicode-bolditalic-webfont.woff b/app/static/fonts/junicode-bolditalic-webfont.woff deleted file mode 100755 index 710ad88..0000000 Binary files a/app/static/fonts/junicode-bolditalic-webfont.woff and /dev/null differ diff --git a/app/static/fonts/junicode-bolditalic-webfont.woff2 b/app/static/fonts/junicode-bolditalic-webfont.woff2 deleted file mode 100755 index d39dc13..0000000 Binary files a/app/static/fonts/junicode-bolditalic-webfont.woff2 and /dev/null differ diff --git a/app/static/fonts/junicode-bolditaliccondensed-webfont.eot b/app/static/fonts/junicode-bolditaliccondensed-webfont.eot deleted file mode 100755 index a896261..0000000 Binary files a/app/static/fonts/junicode-bolditaliccondensed-webfont.eot and /dev/null differ diff --git a/app/static/fonts/junicode-bolditaliccondensed-webfont.svg b/app/static/fonts/junicode-bolditaliccondensed-webfont.svg deleted file mode 100755 index 69553a9..0000000 --- a/app/static/fonts/junicode-bolditaliccondensed-webfont.svg +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/static/fonts/junicode-bolditaliccondensed-webfont.ttf b/app/static/fonts/junicode-bolditaliccondensed-webfont.ttf deleted file mode 100755 index 2f054c6..0000000 Binary files a/app/static/fonts/junicode-bolditaliccondensed-webfont.ttf and /dev/null differ diff --git a/app/static/fonts/junicode-bolditaliccondensed-webfont.woff b/app/static/fonts/junicode-bolditaliccondensed-webfont.woff deleted file mode 100755 index 169edc6..0000000 Binary files a/app/static/fonts/junicode-bolditaliccondensed-webfont.woff and /dev/null differ diff --git a/app/static/fonts/junicode-bolditaliccondensed-webfont.woff2 b/app/static/fonts/junicode-bolditaliccondensed-webfont.woff2 deleted file mode 100755 index b2d5f50..0000000 Binary files a/app/static/fonts/junicode-bolditaliccondensed-webfont.woff2 and /dev/null differ diff --git a/app/static/fonts/junicode-italic-webfont.eot b/app/static/fonts/junicode-italic-webfont.eot deleted file mode 100755 index fe289f7..0000000 Binary files a/app/static/fonts/junicode-italic-webfont.eot and /dev/null differ diff --git a/app/static/fonts/junicode-italic-webfont.svg b/app/static/fonts/junicode-italic-webfont.svg deleted file mode 100755 index 64a431e..0000000 --- a/app/static/fonts/junicode-italic-webfont.svg +++ /dev/null @@ -1,396 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/static/fonts/junicode-italic-webfont.ttf b/app/static/fonts/junicode-italic-webfont.ttf deleted file mode 100755 index e72f1c9..0000000 Binary files a/app/static/fonts/junicode-italic-webfont.ttf and /dev/null differ diff --git a/app/static/fonts/junicode-italic-webfont.woff b/app/static/fonts/junicode-italic-webfont.woff deleted file mode 100755 index 496bacc..0000000 Binary files a/app/static/fonts/junicode-italic-webfont.woff and /dev/null differ diff --git a/app/static/fonts/junicode-italic-webfont.woff2 b/app/static/fonts/junicode-italic-webfont.woff2 deleted file mode 100755 index 61c0112..0000000 Binary files a/app/static/fonts/junicode-italic-webfont.woff2 and /dev/null differ diff --git a/app/static/fonts/junicode-italiccondensed-webfont.eot b/app/static/fonts/junicode-italiccondensed-webfont.eot deleted file mode 100755 index dacb29c..0000000 Binary files a/app/static/fonts/junicode-italiccondensed-webfont.eot and /dev/null differ diff --git a/app/static/fonts/junicode-italiccondensed-webfont.svg b/app/static/fonts/junicode-italiccondensed-webfont.svg deleted file mode 100755 index 27ed27b..0000000 --- a/app/static/fonts/junicode-italiccondensed-webfont.svg +++ /dev/null @@ -1,396 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/static/fonts/junicode-italiccondensed-webfont.ttf b/app/static/fonts/junicode-italiccondensed-webfont.ttf deleted file mode 100755 index 4fea238..0000000 Binary files a/app/static/fonts/junicode-italiccondensed-webfont.ttf and /dev/null differ diff --git a/app/static/fonts/junicode-italiccondensed-webfont.woff b/app/static/fonts/junicode-italiccondensed-webfont.woff deleted file mode 100755 index d60b535..0000000 Binary files a/app/static/fonts/junicode-italiccondensed-webfont.woff and /dev/null differ diff --git a/app/static/fonts/junicode-italiccondensed-webfont.woff2 b/app/static/fonts/junicode-italiccondensed-webfont.woff2 deleted file mode 100755 index 1461996..0000000 Binary files a/app/static/fonts/junicode-italiccondensed-webfont.woff2 and /dev/null differ diff --git a/app/static/fonts/junicode-regular-webfont.eot b/app/static/fonts/junicode-regular-webfont.eot deleted file mode 100755 index eb20715..0000000 Binary files a/app/static/fonts/junicode-regular-webfont.eot and /dev/null differ diff --git a/app/static/fonts/junicode-regular-webfont.svg b/app/static/fonts/junicode-regular-webfont.svg deleted file mode 100755 index a23fe46..0000000 --- a/app/static/fonts/junicode-regular-webfont.svg +++ /dev/null @@ -1,430 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/static/fonts/junicode-regular-webfont.ttf b/app/static/fonts/junicode-regular-webfont.ttf deleted file mode 100755 index f700db7..0000000 Binary files a/app/static/fonts/junicode-regular-webfont.ttf and /dev/null differ diff --git a/app/static/fonts/junicode-regular-webfont.woff b/app/static/fonts/junicode-regular-webfont.woff deleted file mode 100755 index b2a15ae..0000000 Binary files a/app/static/fonts/junicode-regular-webfont.woff and /dev/null differ diff --git a/app/static/fonts/junicode-regular-webfont.woff2 b/app/static/fonts/junicode-regular-webfont.woff2 deleted file mode 100755 index 0429227..0000000 Binary files a/app/static/fonts/junicode-regular-webfont.woff2 and /dev/null differ diff --git a/app/static/fonts/junicode-regularcondensed-webfont.eot b/app/static/fonts/junicode-regularcondensed-webfont.eot deleted file mode 100755 index 0689196..0000000 Binary files a/app/static/fonts/junicode-regularcondensed-webfont.eot and /dev/null differ diff --git a/app/static/fonts/junicode-regularcondensed-webfont.svg b/app/static/fonts/junicode-regularcondensed-webfont.svg deleted file mode 100755 index 64be161..0000000 --- a/app/static/fonts/junicode-regularcondensed-webfont.svg +++ /dev/null @@ -1,430 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/static/fonts/junicode-regularcondensed-webfont.ttf b/app/static/fonts/junicode-regularcondensed-webfont.ttf deleted file mode 100755 index 956ae04..0000000 Binary files a/app/static/fonts/junicode-regularcondensed-webfont.ttf and /dev/null differ diff --git a/app/static/fonts/junicode-regularcondensed-webfont.woff b/app/static/fonts/junicode-regularcondensed-webfont.woff deleted file mode 100755 index 441956e..0000000 Binary files a/app/static/fonts/junicode-regularcondensed-webfont.woff and /dev/null differ diff --git a/app/static/fonts/junicode-regularcondensed-webfont.woff2 b/app/static/fonts/junicode-regularcondensed-webfont.woff2 deleted file mode 100755 index 94b6ee6..0000000 Binary files a/app/static/fonts/junicode-regularcondensed-webfont.woff2 and /dev/null differ diff --git a/app/static/js/app.js b/app/static/js/app.js index 98b555d..653b5e6 100755 --- a/app/static/js/app.js +++ b/app/static/js/app.js @@ -111,24 +111,49 @@ function colorHash(inputString) { //newsticker -var marquee = $('div.marquee'); -marquee.each(function() { - var mar = $(this), - indent = mar.width(); - mar.marquee = function() { - indent--; - mar.css('text-indent', indent); - if (indent < -1 * mar.children('div.marquee-text').width()) { - indent = mar.width(); - } - }; - mar.data('interval', setInterval(mar.marquee, 10)); + +$('.marquee').marquee({ + duplicated: true, + pauseOnHover: true }); +$( document ).ready(function() { + + update(); + function update() { + $.ajax({ + url: "/updates", + type: 'GET', + async: false, + success : function(text) + { + response = text; + $('.marquee').marquee('destroy') + $('.marquee-text').text(response) + $('.marquee').marquee({ + duplicated: true, + pauseOnHover: true, + duration: 7000, + speed: 8, + gap: 100, + startVisible:true + }); + console.log(response) + }, + cache: false, + contentType: false, + processData: false + }); + } + }); $(document).ready(function() { + $('.messages').scrollTop($('.messages')[0].scrollHeight) + $("#table").tablesorter(); + } + ); diff --git a/app/static/js/vendor/socket.io.slim.js b/app/static/js/vendor/socket.io.slim.js new file mode 100755 index 0000000..03f8b00 --- /dev/null +++ b/app/static/js/vendor/socket.io.slim.js @@ -0,0 +1,3 @@ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.io=e():t.io=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t,e){"object"===("undefined"==typeof t?"undefined":o(t))&&(e=t,t=void 0),e=e||{};var r,n=i(t),s=n.source,h=n.id,p=n.path,u=c[h]&&p in c[h].nsps,f=e.forceNew||e["force new connection"]||!1===e.multiplex||u;return f?r=a(s,e):(c[h]||(c[h]=a(s,e)),r=c[h]),n.query&&!e.query&&(e.query=n.query),r.socket(n.path,e)}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=r(1),s=r(4),a=r(10);r(3)("socket.io-client");t.exports=e=n;var c=e.managers={};e.protocol=s.protocol,e.connect=n,e.Manager=r(10),e.Socket=r(34)},function(t,e,r){(function(e){"use strict";function n(t,r){var n=t;r=r||e.location,null==t&&(t=r.protocol+"//"+r.host),"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?r.protocol+t:r.host+t),/^(https?|wss?):\/\//.test(t)||(t="undefined"!=typeof r?r.protocol+"//"+t:"https://"+t),n=o(t)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";var i=n.host.indexOf(":")!==-1,s=i?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+s+":"+n.port,n.href=n.protocol+"://"+s+(r&&r.port===n.port?"":":"+n.port),n}var o=r(2);r(3)("socket.io-client:url");t.exports=n}).call(e,function(){return this}())},function(t,e){var r=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.exports=function(t){var e=t,o=t.indexOf("["),i=t.indexOf("]");o!=-1&&i!=-1&&(t=t.substring(0,o)+t.substring(o,i).replace(/:/g,";")+t.substring(i,t.length));for(var s=r.exec(t||""),a={},c=14;c--;)a[n[c]]=s[c]||"";return o!=-1&&i!=-1&&(a.source=e,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a}},function(t,e){"use strict";t.exports=function(){return function(){}}},function(t,e,r){function n(){}function o(t){var r=""+t.type;return e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(r+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(r+=t.nsp+","),null!=t.id&&(r+=t.id),null!=t.data&&(r+=JSON.stringify(t.data)),r}function i(t,e){function r(t){var r=l.deconstructPacket(t),n=o(r.packet),i=r.buffers;i.unshift(n),e(i)}l.removeBlobs(t,r)}function s(){this.reconstructor=null}function a(t){var r=0,n={type:Number(t.charAt(0))};if(null==e.types[n.type])return p();if(e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type){for(var o="";"-"!==t.charAt(++r)&&(o+=t.charAt(r),r!=t.length););if(o!=Number(o)||"-"!==t.charAt(r))throw new Error("Illegal attachments");n.attachments=Number(o)}if("/"===t.charAt(r+1))for(n.nsp="";++r;){var i=t.charAt(r);if(","===i)break;if(n.nsp+=i,r===t.length)break}else n.nsp="/";var s=t.charAt(r+1);if(""!==s&&Number(s)==s){for(n.id="";++r;){var i=t.charAt(r);if(null==i||Number(i)!=i){--r;break}if(n.id+=t.charAt(r),r===t.length)break}n.id=Number(n.id)}return t.charAt(++r)&&(n=c(n,t.substr(r))),n}function c(t,e){try{t.data=JSON.parse(e)}catch(t){return p()}return t}function h(t){this.reconPack=t,this.buffers=[]}function p(){return{type:e.ERROR,data:"parser error"}}var u=(r(3)("socket.io-parser"),r(5)),f=r(6),l=r(8),d=r(9);e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=n,e.Decoder=s,n.prototype.encode=function(t,r){if(t.type!==e.EVENT&&t.type!==e.ACK||!f(t.data)||(t.type=t.type===e.EVENT?e.BINARY_EVENT:e.BINARY_ACK),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type)i(t,r);else{var n=o(t);r([n])}},u(s.prototype),s.prototype.add=function(t){var r;if("string"==typeof t)r=a(t),e.BINARY_EVENT===r.type||e.BINARY_ACK===r.type?(this.reconstructor=new h(r),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",r)):this.emit("decoded",r);else{if(!d(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");r=this.reconstructor.takeBinaryData(t),r&&(this.reconstructor=null,this.emit("decoded",r))}},s.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},h.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=l.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},h.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},function(t,e,r){function n(t){if(t)return o(t)}function o(t){for(var e in n.prototype)t[e]=n.prototype[e];return t}t.exports=n,n.prototype.on=n.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},n.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var n,o=0;o0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},n.prototype.cleanup=function(){for(var t=this.subs.length,e=0;e=this._reconnectionAttempts)this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();this.reconnecting=!0;var r=setTimeout(function(){t.skipReconnect||(t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open(function(e){e?(t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):t.onreconnect()}))},e);this.subs.push({destroy:function(){clearTimeout(r)}})}},n.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},function(t,e,r){t.exports=r(12),t.exports.parser=r(19)},function(t,e,r){(function(e){function n(t,r){if(!(this instanceof n))return new n(t,r);r=r||{},t&&"object"==typeof t&&(r=t,t=null),t?(t=h(t),r.hostname=t.host,r.secure="https"===t.protocol||"wss"===t.protocol,r.port=t.port,t.query&&(r.query=t.query)):r.host&&(r.hostname=h(r.host).host),this.secure=null!=r.secure?r.secure:e.location&&"https:"===location.protocol,r.hostname&&!r.port&&(r.port=this.secure?"443":"80"),this.agent=r.agent||!1,this.hostname=r.hostname||(e.location?location.hostname:"localhost"),this.port=r.port||(e.location&&location.port?location.port:this.secure?443:80),this.query=r.query||{},"string"==typeof this.query&&(this.query=p.decode(this.query)),this.upgrade=!1!==r.upgrade,this.path=(r.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!r.forceJSONP,this.jsonp=!1!==r.jsonp,this.forceBase64=!!r.forceBase64,this.enablesXDR=!!r.enablesXDR,this.timestampParam=r.timestampParam||"t",this.timestampRequests=r.timestampRequests,this.transports=r.transports||["polling","websocket"],this.transportOptions=r.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=r.policyPort||843,this.rememberUpgrade=r.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=r.onlyBinaryUpgrades,this.perMessageDeflate=!1!==r.perMessageDeflate&&(r.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=r.pfx||null,this.key=r.key||null,this.passphrase=r.passphrase||null,this.cert=r.cert||null,this.ca=r.ca||null,this.ciphers=r.ciphers||null,this.rejectUnauthorized=void 0===r.rejectUnauthorized||r.rejectUnauthorized,this.forceNode=!!r.forceNode;var o="object"==typeof e&&e;o.global===o&&(r.extraHeaders&&Object.keys(r.extraHeaders).length>0&&(this.extraHeaders=r.extraHeaders),r.localAddress&&(this.localAddress=r.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}function o(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}var i=r(13),s=r(5),a=(r(3)("engine.io-client:socket"),r(33)),c=r(19),h=r(2),p=r(27);t.exports=n,n.priorWebsocketSuccess=!1,s(n.prototype),n.protocol=c.protocol,n.Socket=n,n.Transport=r(18),n.transports=r(13),n.parser=r(19),n.prototype.createTransport=function(t){var e=o(this.query);e.EIO=c.protocol,e.transport=t;var r=this.transportOptions[t]||{};this.id&&(e.sid=this.id);var n=new i[t]({query:e,socket:this,agent:r.agent||this.agent,hostname:r.hostname||this.hostname,port:r.port||this.port,secure:r.secure||this.secure,path:r.path||this.path,forceJSONP:r.forceJSONP||this.forceJSONP,jsonp:r.jsonp||this.jsonp,forceBase64:r.forceBase64||this.forceBase64,enablesXDR:r.enablesXDR||this.enablesXDR,timestampRequests:r.timestampRequests||this.timestampRequests,timestampParam:r.timestampParam||this.timestampParam,policyPort:r.policyPort||this.policyPort,pfx:r.pfx||this.pfx,key:r.key||this.key,passphrase:r.passphrase||this.passphrase,cert:r.cert||this.cert,ca:r.ca||this.ca,ciphers:r.ciphers||this.ciphers,rejectUnauthorized:r.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:r.perMessageDeflate||this.perMessageDeflate,extraHeaders:r.extraHeaders||this.extraHeaders,forceNode:r.forceNode||this.forceNode,localAddress:r.localAddress||this.localAddress,requestTimeout:r.requestTimeout||this.requestTimeout,protocols:r.protocols||void 0});return n},n.prototype.open=function(){var t;if(this.rememberUpgrade&&n.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout(function(){e.emit("error","No transports available")},0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(t){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},n.prototype.setTransport=function(t){var e=this;this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",function(){e.onDrain()}).on("packet",function(t){e.onPacket(t)}).on("error",function(t){e.onError(t)}).on("close",function(){e.onClose("transport close")})},n.prototype.probe=function(t){function e(){if(u.onlyBinaryUpgrades){var t=!this.supportsBinary&&u.transport.supportsBinary;p=p||t}p||(h.send([{type:"ping",data:"probe"}]),h.once("packet",function(t){if(!p)if("pong"===t.type&&"probe"===t.data){if(u.upgrading=!0,u.emit("upgrading",h),!h)return;n.priorWebsocketSuccess="websocket"===h.name,u.transport.pause(function(){p||"closed"!==u.readyState&&(c(),u.setTransport(h),h.send([{type:"upgrade"}]),u.emit("upgrade",h),h=null,u.upgrading=!1,u.flush())})}else{var e=new Error("probe error");e.transport=h.name,u.emit("upgradeError",e)}}))}function r(){p||(p=!0,c(),h.close(),h=null)}function o(t){var e=new Error("probe error: "+t);e.transport=h.name,r(),u.emit("upgradeError",e)}function i(){o("transport closed")}function s(){o("socket closed")}function a(t){h&&t.name!==h.name&&r()}function c(){h.removeListener("open",e),h.removeListener("error",o),h.removeListener("close",i),u.removeListener("close",s),u.removeListener("upgrading",a)}var h=this.createTransport(t,{probe:1}),p=!1,u=this;n.priorWebsocketSuccess=!1,h.once("open",e),h.once("error",o),h.once("close",i),this.once("close",s),this.once("upgrading",a),h.open()},n.prototype.onOpen=function(){if(this.readyState="open",n.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause)for(var t=0,e=this.upgrades.length;t1?{type:b[o],data:t.substring(1)}:{type:b[o]}:k}var i=new Uint8Array(t),o=i[0],s=f(t,1);return w&&"blob"===r&&(s=new w([s])),{type:b[o],data:s}},e.decodeBase64Packet=function(t,e){var r=b[t.charAt(0)];if(!h)return{type:r,data:{base64:!0,data:t.substr(1)}};var n=h.decode(t.substr(1));return"blob"===e&&w&&(n=new w([n])),{type:r,data:n}},e.encodePayload=function(t,r,n){function o(t){return t.length+":"+t}function i(t,n){e.encodePacket(t,!!s&&r,!1,function(t){n(null,o(t))})}"function"==typeof r&&(n=r,r=null);var s=u(t);return r&&s?w&&!g?e.encodePayloadAsBlob(t,n):e.encodePayloadAsArrayBuffer(t,n):t.length?void c(t,i,function(t,e){return n(e.join(""))}):n("0:")},e.decodePayload=function(t,r,n){if("string"!=typeof t)return e.decodePayloadAsBinary(t,r,n);"function"==typeof r&&(n=r,r=null);var o;if(""===t)return n(k,0,1);for(var i,s,a="",c=0,h=t.length;c0;){for(var s=new Uint8Array(o),a=0===s[0],c="",h=1;255!==s[h];h++){if(c.length>310)return n(k,0,1);c+=s[h]}o=f(o,2+c.length),c=parseInt(c);var p=f(o,0,c);if(a)try{p=String.fromCharCode.apply(null,new Uint8Array(p))}catch(t){var u=new Uint8Array(p);p="";for(var h=0;hn&&(r=n),e>=n||e>=r||0===n)return new ArrayBuffer(0);for(var o=new Uint8Array(t),i=new Uint8Array(r-e),s=e,a=0;s=55296&&e<=56319&&o65535&&(e-=65536,o+=k(e>>>10&1023|55296),e=56320|1023&e),o+=k(e);return o}function c(t,e){if(t>=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function h(t,e){return k(t>>e&63|128)}function p(t,e){if(0==(4294967168&t))return k(t);var r="";return 0==(4294965248&t)?r=k(t>>6&31|192):0==(4294901760&t)?(c(t,e)||(t=65533),r=k(t>>12&15|224),r+=h(t,6)):0==(4292870144&t)&&(r=k(t>>18&7|240),r+=h(t,12),r+=h(t,6)),r+=k(63&t|128)}function u(t,e){e=e||{};for(var r,n=!1!==e.strict,o=s(t),i=o.length,a=-1,c="";++a=v)throw Error("Invalid byte index");var t=255&g[b];if(b++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function l(t){var e,r,n,o,i;if(b>v)throw Error("Invalid byte index");if(b==v)return!1;if(e=255&g[b],b++,0==(128&e))return e;if(192==(224&e)){if(r=f(),i=(31&e)<<6|r,i>=128)return i;throw Error("Invalid continuation byte")}if(224==(240&e)){if(r=f(),n=f(),i=(15&e)<<12|r<<6|n,i>=2048)return c(i,t)?i:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(r=f(),n=f(),o=f(),i=(7&e)<<18|r<<12|n<<6|o,i>=65536&&i<=1114111))return i;throw Error("Invalid UTF-8 detected")}function d(t,e){e=e||{};var r=!1!==e.strict;g=s(t),v=g.length,b=0;for(var n,o=[];(n=l(r))!==!1;)o.push(n);return a(o)}var y="object"==typeof e&&e,m=("object"==typeof t&&t&&t.exports==y&&t,"object"==typeof o&&o);m.global!==m&&m.window!==m||(i=m);var g,v,b,k=String.fromCharCode,w={version:"2.1.2",encode:u,decode:d};n=function(){return w}.call(e,r,e,t),!(void 0!==n&&(t.exports=n))}(this)}).call(e,r(24)(t),function(){return this}())},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){!function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(256),n=0;n>2],i+=t[(3&n[r])<<4|n[r+1]>>4],i+=t[(15&n[r+1])<<2|n[r+2]>>6],i+=t[63&n[r+2]];return o%3===2?i=i.substring(0,i.length-1)+"=":o%3===1&&(i=i.substring(0,i.length-2)+"=="),i},e.decode=function(t){var e,n,o,i,s,a=.75*t.length,c=t.length,h=0;"="===t[t.length-1]&&(a--,"="===t[t.length-2]&&a--);var p=new ArrayBuffer(a),u=new Uint8Array(p);for(e=0;e>4,u[h++]=(15&o)<<4|i>>2,u[h++]=(3&i)<<6|63&s;return p}}()},function(t,e){(function(e){function r(t){for(var e=0;e0);return e}function n(t){var e=0;for(p=0;p';i=document.createElement(t)}catch(t){i=document.createElement("iframe"),i.name=o.iframeId,i.src="javascript:0"}i.id=o.iframeId,o.form.appendChild(i),o.iframe=i}var o=this;if(!this.form){var i,s=document.createElement("form"),a=document.createElement("textarea"),p=this.iframeId="eio_iframe_"+this.index;s.className="socketio",s.style.position="absolute",s.style.top="-1000px",s.style.left="-1000px",s.target=p,s.method="POST",s.setAttribute("accept-charset","utf-8"),a.name="d",s.appendChild(a),document.body.appendChild(s),this.form=s,this.area=a}this.form.action=this.uri(),n(),t=t.replace(h,"\\\n"),this.area.value=t.replace(c,"\\n");try{this.form.submit()}catch(t){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===o.iframe.readyState&&r()}:this.iframe.onload=r}}).call(e,function(){return this}())},function(t,e,r){(function(e){function n(t){var e=t&&t.forceBase64;e&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=p&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(u=o),i.call(this,t)}var o,i=r(18),s=r(19),a=r(27),c=r(28),h=r(29),p=(r(3)("engine.io-client:websocket"),e.WebSocket||e.MozWebSocket);if("undefined"==typeof window)try{o=r(32)}catch(t){}var u=p;u||"undefined"!=typeof window||(u=o),t.exports=n,c(n,i),n.prototype.name="websocket",n.prototype.supportsBinary=!0,n.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,r={agent:this.agent,perMessageDeflate:this.perMessageDeflate};r.pfx=this.pfx,r.key=this.key,r.passphrase=this.passphrase,r.cert=this.cert,r.ca=this.ca,r.ciphers=this.ciphers,r.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(r.headers=this.extraHeaders),this.localAddress&&(r.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket?e?new u(t,e):new u(t):new u(t,e,r)}catch(t){return this.emit("error",t)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},n.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},n.prototype.write=function(t){function r(){n.emit("flush"),setTimeout(function(){n.writable=!0,n.emit("drain")},0)}var n=this;this.writable=!1;for(var o=t.length,i=0,a=o;i0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=r,r.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),r=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-r:t+r}return 0|Math.min(t,this.max)},r.prototype.reset=function(){this.attempts=0},r.prototype.setMin=function(t){this.ms=t},r.prototype.setMax=function(t){this.max=t},r.prototype.setJitter=function(t){this.jitter=t}}])}); +//# sourceMappingURL=socket.io.slim.js.map \ No newline at end of file diff --git a/app/static/js/vendor/vue.min.js b/app/static/js/vendor/vue.min.js new file mode 100755 index 0000000..30eb181 --- /dev/null +++ b/app/static/js/vendor/vue.min.js @@ -0,0 +1,6 @@ +/*! + * Vue.js v2.5.2 + * (c) 2014-2017 Evan You + * Released under the MIT License. + */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Vue=t()}(this,function(){"use strict";function e(e){return void 0===e||null===e}function t(e){return void 0!==e&&null!==e}function n(e){return!0===e}function r(e){return!1===e}function i(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}function a(e){return"[object Object]"===Ai.call(e)}function s(e){return"[object RegExp]"===Ai.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function l(e){var t=parseFloat(e);return isNaN(t)?e:t}function f(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function p(e,t){return Ti.call(e,t)}function v(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function h(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function m(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function g(e){for(var t={},n=0;n0&&(fe((s=de(s,(o||"")+"_"+a))[0])&&fe(u)&&(l[c]=T(u.text+s[0].text),s.shift()),l.push.apply(l,s)):i(s)?fe(u)?l[c]=T(u.text+s):""!==s&&l.push(T(s)):fe(s)&&fe(u)?l[c]=T(u.text+s.text):(n(r._isVList)&&t(s.tag)&&e(s.key)&&t(o)&&(s.key="__vlist"+o+"_"+a+"__"),l.push(s)));return l}function pe(e,t){return(e.__esModule||io&&"Module"===e[Symbol.toStringTag])&&(e=e.default),o(e)?t.extend(e):e}function ve(e,t,n,r,i){var o=fo();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}function he(r,i,a){if(n(r.error)&&t(r.errorComp))return r.errorComp;if(t(r.resolved))return r.resolved;if(n(r.loading)&&t(r.loadingComp))return r.loadingComp;if(!t(r.contexts)){var s=r.contexts=[a],c=!0,u=function(){for(var e=0,t=s.length;ePo&&jo[n].id>e.id;)n--;jo.splice(n+1,0,e)}else jo.push(e);Io||(Io=!0,re(Ne))}}function Re(e){Fo.clear(),Fe(e,Fo)}function Fe(e,t){var n,r,i=Array.isArray(e);if((i||o(e))&&Object.isExtensible(e)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i)for(n=e.length;n--;)Fe(e[n],t);else for(n=(r=Object.keys(e)).length;n--;)Fe(e[r[n]],t)}}function He(e,t,n){Ho.get=function(){return this[t][n]},Ho.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Ho)}function Be(e){e._watchers=[];var t=e.$options;t.props&&Ue(e,t.props),t.methods&&We(e,t.methods),t.data?Ve(e):I(e._data={},!0),t.computed&&Ke(e,t.computed),t.watch&&t.watch!==Yi&&Ge(e,t.watch)}function Ue(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;mo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=W(o,t,n,e);M(r,o,a),o in e||He(e,"_props",o)}(a);mo.shouldConvert=!0}function Ve(e){var t=e.$options.data;a(t=e._data="function"==typeof t?ze(t,e):t||{})||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;){var o=n[i];r&&p(r,o)||w(o)||He(e,"_data",o)}I(t,!0)}function ze(e,t){try{return e.call(t,t)}catch(e){return Q(e,t,"data()"),{}}}function Ke(e,t){var n=e._computedWatchers=Object.create(null),r=no();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new Ro(e,a||_,_,Bo)),i in e||Je(e,i,o)}}function Je(e,t,n){var r=!no();"function"==typeof n?(Ho.get=r?qe(t):n,Ho.set=_):(Ho.get=n.get?r&&!1!==n.cache?qe(t):n.get:_,Ho.set=n.set?n.set:_),Object.defineProperty(e,t,Ho)}function qe(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),so.target&&t.depend(),t.value}}function We(e,t){for(var n in t)e[n]=null==t[n]?_:h(t[n],e)}function Ge(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function Ot(e){this._init(e)}function St(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=m(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function Tt(e){e.mixin=function(e){return this.options=J(this.options,e),this}}function Et(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=J(n.options,e),a.super=n,a.options.props&&jt(a),a.options.computed&&Lt(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Ri.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=y({},a.options),i[r]=a,a}}function jt(e){var t=e.options.props;for(var n in t)He(e.prototype,"_props",n)}function Lt(e){var t=e.options.computed;for(var n in t)Je(e.prototype,n,t[n])}function Nt(e){Ri.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&a(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function It(e){return e&&(e.Ctor.options.name||e.tag)}function Mt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!s(e)&&e.test(t)}function Pt(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=It(a.componentOptions);s&&!t(s)&&Dt(n,o,r,i)}}}function Dt(e,t,n,r){var i=e[t];i&&i!==r&&i.componentInstance.$destroy(),e[t]=null,d(n,t)}function Rt(e){for(var n=e.data,r=e,i=e;t(i.componentInstance);)(i=i.componentInstance._vnode).data&&(n=Ft(i.data,n));for(;t(r=r.parent);)r.data&&(n=Ft(n,r.data));return Ht(n.staticClass,n.class)}function Ft(e,n){return{staticClass:Bt(e.staticClass,n.staticClass),class:t(e.class)?[e.class,n.class]:n.class}}function Ht(e,n){return t(e)||t(n)?Bt(e,Ut(n)):""}function Bt(e,t){return e?t?e+" "+t:e:t||""}function Ut(e){return Array.isArray(e)?Vt(e):o(e)?zt(e):"string"==typeof e?e:""}function Vt(e){for(var n,r="",i=0,o=e.length;i=0&&" "===(m=e.charAt(h));h--);m&&Oa.test(m)||(l=!0)}}else void 0===o?(v=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==v&&t(),a)for(i=0;i-1?{exp:e.slice(0,Qo),key:'"'+e.slice(Qo+1)+'"'}:{exp:e,key:null};for(Zo=e,Qo=Xo=ea=0;!bn();)$n(Yo=_n())?wn(Yo):91===Yo&&Cn(Yo);return{exp:e.slice(0,Xo),key:e.slice(Xo+1,ea)}}function _n(){return Zo.charCodeAt(++Qo)}function bn(){return Qo>=Go}function $n(e){return 34===e||39===e}function Cn(e){var t=1;for(Xo=Qo;!bn();)if(e=_n(),$n(e))wn(e);else if(91===e&&t++,93===e&&t--,0===t){ea=Qo;break}}function wn(e){for(var t=e;!bn()&&(e=_n())!==t;);}function xn(e,t,n){var r=n&&n.number,i=vn(e,"value")||"null",o=vn(e,"true-value")||"true",a=vn(e,"false-value")||"false";ln(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),pn(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+t+"=$$a.concat([$$v]))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+yn(t,"$$c")+"}",null,!0)}function kn(e,t,n){var r=n&&n.number,i=vn(e,"value")||"null";ln(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),pn(e,"change",yn(t,i),null,!0)}function An(e,t,n){var r="var $$selectedVal = "+('Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"})")+";";pn(e,"change",r=r+" "+yn(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}function On(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Sa:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=yn(t,l);c&&(f="if($event.target.composing)return;"+f),ln(e,"value","("+t+")"),pn(e,u,f,null,!0),(s||a)&&pn(e,"blur","$forceUpdate()")}function Sn(e){if(t(e[Sa])){var n=Ji?"change":"input";e[n]=[].concat(e[Sa],e[n]||[]),delete e[Sa]}t(e[Ta])&&(e.change=[].concat(e[Ta],e.change||[]),delete e[Ta])}function Tn(e,t,n){var r=ta;return function i(){null!==e.apply(null,arguments)&&jn(t,i,n,r)}}function En(e,t,n,r,i){t=ne(t),n&&(t=Tn(t,e,r)),ta.addEventListener(e,t,Qi?{capture:r,passive:i}:r)}function jn(e,t,n,r){(r||ta).removeEventListener(e,t._withTask||t,n)}function Ln(t,n){if(!e(t.data.on)||!e(n.data.on)){var r=n.data.on||{},i=t.data.on||{};ta=n.elm,Sn(r),oe(r,i,En,jn,n.context)}}function Nn(n,r){if(!e(n.data.domProps)||!e(r.data.domProps)){var i,o,a=r.elm,s=n.data.domProps||{},c=r.data.domProps||{};t(c.__ob__)&&(c=r.data.domProps=y({},c));for(i in s)e(c[i])&&(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(r.children&&(r.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i){a._value=o;var u=e(o)?"":String(o);In(a,u)&&(a.value=u)}else a[i]=o}}}function In(e,t){return!e.composing&&("OPTION"===e.tagName||Mn(e,t)||Pn(e,t))}function Mn(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function Pn(e,n){var r=e.value,i=e._vModifiers;return t(i)&&i.number?l(r)!==l(n):t(i)&&i.trim?r.trim()!==n.trim():r!==n}function Dn(e){var t=Rn(e.style);return e.staticStyle?y(e.staticStyle,t):t}function Rn(e){return Array.isArray(e)?g(e):"string"==typeof e?La(e):e}function Fn(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode).data&&(n=Dn(i.data))&&y(r,n);(n=Dn(e.data))&&y(r,n);for(var o=e;o=o.parent;)o.data&&(n=Dn(o.data))&&y(r,n);return r}function Hn(n,r){var i=r.data,o=n.data;if(!(e(i.staticStyle)&&e(i.style)&&e(o.staticStyle)&&e(o.style))){var a,s,c=r.elm,u=o.staticStyle,l=o.normalizedStyle||o.style||{},f=u||l,d=Rn(r.data.style)||{};r.data.normalizedStyle=t(d.__ob__)?y({},d):d;var p=Fn(r,!0);for(s in f)e(p[s])&&Ma(c,s,"");for(s in p)(a=p[s])!==f[s]&&Ma(c,s,null==a?"":a)}}function Bn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Un(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Vn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,Fa(e.name||"v")),y(t,e),t}return"string"==typeof e?Fa(e):void 0}}function zn(e){qa(function(){qa(e)})}function Kn(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Bn(e,t))}function Jn(e,t){e._transitionClasses&&d(e._transitionClasses,t),Un(e,t)}function qn(e,t,n){var r=Wn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ba?za:Ja,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ba,l=a,f=o.length):t===Ua?u>0&&(n=Ua,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ba:Ua:null)?n===Ba?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ba&&Wa.test(r[Va+"Property"])}}function Gn(e,t){for(;e.length1}function tr(e,t){!0!==t.data.show&&Yn(t)}function nr(e,t,n){rr(e,t,n),(Ji||Wi)&&setTimeout(function(){rr(e,t,n)},0)}function rr(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(b(or(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function ir(e,t){return t.every(function(t){return!b(t,e)})}function or(e){return"_value"in e?e._value:e.value}function ar(e){e.target.composing=!0}function sr(e){e.target.composing&&(e.target.composing=!1,cr(e.target,"input"))}function cr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ur(e){return!e.componentInstance||e.data&&e.data.transition?e:ur(e.componentInstance._vnode)}function lr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?lr(ye(t.children)):e}function fr(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[ji(o)]=i[o];return t}function dr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function pr(e){for(;e=e.parent;)if(e.data.transition)return!0}function vr(e,t){return t.key===e.key&&t.tag===e.tag}function hr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function mr(e){e.data.newPos=e.elm.getBoundingClientRect()}function yr(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function gr(e,t){var n=t?os(t):rs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){(i=r.index)>a&&o.push(JSON.stringify(e.slice(a,i)));var s=an(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var c=a.length-1;c>=i;c--)t.end&&t.end(a[c].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,c=t.isUnaryTag||Mi,u=t.canBeLeftOpenTag||Mi,l=0;e;){if(i=e,o&&Ls(o)){var f=0,d=o.toLowerCase(),p=Ns[d]||(Ns[d]=new RegExp("([\\s\\S]*?)(]*>)","i")),v=e.replace(p,function(e,n,r){return f=r.length,Ls(d)||"noscript"===d||(n=n.replace(//g,"$1").replace(//g,"$1")),Rs(d,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-v.length,e=v,r(d,l-f,l)}else{var h=e.indexOf("<");if(0===h){if(_s.test(e)){var m=e.indexOf("--\x3e");if(m>=0){t.shouldKeepComment&&t.comment(e.substring(4,m)),n(m+3);continue}}if(bs.test(e)){var y=e.indexOf("]>");if(y>=0){n(y+2);continue}}var g=e.match(gs);if(g){n(g[0].length);continue}var _=e.match(ys);if(_){var b=l;n(_[0].length),r(_[1],b,l);continue}var $=function(){var t=e.match(hs);if(t){var r={tagName:t[1],attrs:[],start:l};n(t[0].length);for(var i,o;!(i=e.match(ms))&&(o=e.match(ds));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=l,r}}();if($){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&fs(n)&&r(o),u(n)&&o===n&&r(n));for(var l=c(n)||!!i,f=e.attrs.length,d=new Array(f),p=0;p=0){for(w=e.slice(h);!(ys.test(w)||hs.test(w)||_s.test(w)||bs.test(w)||(x=w.indexOf("<",1))<0);)h+=x,w=e.slice(h);C=e.substring(0,h),n(h)}h<0&&(C=e,e=""),t.chars&&C&&t.chars(C)}if(e===i){t.chars&&t.chars(e);break}}r()}function $r(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:Fr(t),parent:n,children:[]}}function Cr(e,t){function n(e){e.pre&&(s=!1),Os(e.tag)&&(c=!1)}Cs=t.warn||cn,Os=t.isPreTag||Mi,Ss=t.mustUseProp||Mi,Ts=t.getTagNamespace||Mi,xs=un(t.modules,"transformNode"),ks=un(t.modules,"preTransformNode"),As=un(t.modules,"postTransformNode"),ws=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=!1,c=!1;return br(e,{warn:Cs,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldKeepComment:t.comments,start:function(e,a,u){var l=i&&i.ns||Ts(e);Ji&&"svg"===l&&(a=Ur(a));var f=$r(e,a,i);l&&(f.ns=l),Br(f)&&!no()&&(f.forbidden=!0);for(var d=0;d0,Wi=Ki&&Ki.indexOf("edge/")>0,Gi=Ki&&Ki.indexOf("android")>0,Zi=Ki&&/iphone|ipad|ipod|ios/.test(Ki),Yi=(Ki&&/chrome\/\d+/.test(Ki),{}.watch),Qi=!1;if(zi)try{var Xi={};Object.defineProperty(Xi,"passive",{get:function(){Qi=!0}}),window.addEventListener("test-passive",null,Xi)}catch(e){}var eo,to,no=function(){return void 0===eo&&(eo=!zi&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),eo},ro=zi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,io="undefined"!=typeof Symbol&&A(Symbol)&&"undefined"!=typeof Reflect&&A(Reflect.ownKeys);to="undefined"!=typeof Set&&A(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var oo=_,ao=0,so=function(){this.id=ao++,this.subs=[]};so.prototype.addSub=function(e){this.subs.push(e)},so.prototype.removeSub=function(e){d(this.subs,e)},so.prototype.depend=function(){so.target&&so.target.addDep(this)},so.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t1?m(n):n;for(var r=m(arguments,1),i=0,o=n.length;iparseInt(this.max)&&Dt(i,o[0],o,this._vnode)),e.data.keepAlive=!0}return e}}};!function(e){var t={};t.get=function(){return Hi},Object.defineProperty(e,"config",t),e.util={warn:oo,extend:y,mergeOptions:J,defineReactive:M},e.set=P,e.delete=D,e.nextTick=re,e.options=Object.create(null),Ri.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,y(e.options.components,Wo),St(e),Tt(e),Et(e),Nt(e)}(Ot),Object.defineProperty(Ot.prototype,"$isServer",{get:no}),Object.defineProperty(Ot.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Ot.version="2.5.2";var Go,Zo,Yo,Qo,Xo,ea,ta,na,ra=f("style,class"),ia=f("input,textarea,option,select,progress"),oa=function(e,t,n){return"value"===n&&ia(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},aa=f("contenteditable,draggable,spellcheck"),sa=f("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),ca="http://www.w3.org/1999/xlink",ua=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},la=function(e){return ua(e)?e.slice(6,e.length):""},fa=function(e){return null==e||!1===e},da={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},pa=f("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),va=f("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ha=function(e){return pa(e)||va(e)},ma=Object.create(null),ya=f("text,number,password,search,email,tel,url"),ga=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(da[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setAttribute:function(e,t,n){e.setAttribute(t,n)}}),_a={create:function(e,t){qt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(qt(e,!0),qt(t))},destroy:function(e){qt(e,!0)}},ba=new uo("",{},[]),$a=["create","activate","update","remove","destroy"],Ca={create:Yt,update:Yt,destroy:function(e){Yt(e,ba)}},wa=Object.create(null),xa=[_a,Ca],ka={create:nn,update:nn},Aa={create:on,update:on},Oa=/[\w).+\-_$\]]/,Sa="__r",Ta="__c",Ea={create:Ln,update:Ln},ja={create:Nn,update:Nn},La=v(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),Na=/^--/,Ia=/\s*!important$/,Ma=function(e,t,n){if(Na.test(t))e.style.setProperty(t,n);else if(Ia.test(n))e.style.setProperty(t,n.replace(Ia,""),"important");else{var r=Da(t);if(Array.isArray(n))for(var i=0,o=n.length;ip?g(n,e(i[m+1])?null:i[m+1].elm,i,d,m,o):d>m&&b(n,r,f,p)}function w(e,n,r,i){for(var o=r;o-1?ma[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ma[e]=/HTMLUnknownElement/.test(t.toString())},y(Ot.options.directives,Za),y(Ot.options.components,es),Ot.prototype.__patch__=zi?Ga:_,Ot.prototype.$mount=function(e,t){return e=e&&zi?Jt(e):void 0,Ae(this,e,t)},Ot.nextTick(function(){Hi.devtools&&ro&&ro.emit("init",Ot)},0);var ts,ns=!!zi&&function(e,t){var n=document.createElement("div");return n.innerHTML='
',n.innerHTML.indexOf(t)>0}("\n"," "),rs=/\{\{((?:.|\n)+?)\}\}/g,is=/[-.*+?^${}()|[\]\/\\]/g,os=v(function(e){var t=e[0].replace(is,"\\$&"),n=e[1].replace(is,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),as={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=hn(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=vn(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},ss={staticKeys:["staticStyle"],transformNode:function(e,t){var n=hn(e,"style");n&&(e.staticStyle=JSON.stringify(La(n)));var r=vn(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},cs={decode:function(e){return ts=ts||document.createElement("div"),ts.innerHTML=e,ts.textContent}},us=f("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ls=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),fs=f("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ds=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ps="[a-zA-Z_][\\w\\-\\.]*",vs="((?:"+ps+"\\:)?"+ps+")",hs=new RegExp("^<"+vs),ms=/^\s*(\/?)>/,ys=new RegExp("^<\\/"+vs+"[^>]*>"),gs=/^]+>/i,_s=/^