diff options
Diffstat (limited to 'yaksh')
118 files changed, 37725 insertions, 1385 deletions
diff --git a/yaksh/admin.py b/yaksh/admin.py index 3d3ba89..e98c7c5 100644 --- a/yaksh/admin.py +++ b/yaksh/admin.py @@ -1,7 +1,8 @@ from yaksh.models import Question, Quiz, QuestionPaper, Profile from yaksh.models import (TestCase, StandardTestCase, StdIOBasedTestCase, Course, AnswerPaper, CourseStatus, LearningModule, - Lesson, Post, Comment + Lesson, Post, Comment, Topic, TableOfContents, + LessonQuizAnswer, Answer ) from django.contrib import admin @@ -59,3 +60,7 @@ admin.site.register(AnswerPaper, AnswerPaperAdmin) admin.site.register(CourseStatus, CourseStatusAdmin) admin.site.register(Lesson, LessonAdmin) admin.site.register(LearningModule, LearningModuleAdmin) +admin.site.register(Topic) +admin.site.register(TableOfContents) +admin.site.register(LessonQuizAnswer) +admin.site.register(Answer) diff --git a/yaksh/bash_code_evaluator.py b/yaksh/bash_code_evaluator.py index 61cb9fa..f97d386 100644 --- a/yaksh/bash_code_evaluator.py +++ b/yaksh/bash_code_evaluator.py @@ -27,6 +27,7 @@ class BashCodeEvaluator(BaseEvaluator): self.test_case_args = test_case_data.get('test_case_args') self.weight = test_case_data.get('weight') + self.hidden = test_case_data.get('hidden') def teardown(self): # Delete the created file. diff --git a/yaksh/bash_stdio_evaluator.py b/yaksh/bash_stdio_evaluator.py index f445e09..8d14758 100644 --- a/yaksh/bash_stdio_evaluator.py +++ b/yaksh/bash_stdio_evaluator.py @@ -23,6 +23,7 @@ class BashStdIOEvaluator(StdIOEvaluator): self.expected_input = test_case_data.get('expected_input') self.expected_output = test_case_data.get('expected_output') self.weight = test_case_data.get('weight') + self.hidden = test_case_data.get('hidden') def teardown(self): os.remove(self.submit_code_path) diff --git a/yaksh/code_server.py b/yaksh/code_server.py index 4feb7fd..60f966f 100644 --- a/yaksh/code_server.py +++ b/yaksh/code_server.py @@ -17,7 +17,10 @@ import json from multiprocessing import Process, Queue, Manager import os from os.path import dirname, abspath -import pwd +try: + import pwd +except ImportError: + pass import sys import time diff --git a/yaksh/cpp_code_evaluator.py b/yaksh/cpp_code_evaluator.py index d249c66..0f19596 100644 --- a/yaksh/cpp_code_evaluator.py +++ b/yaksh/cpp_code_evaluator.py @@ -8,6 +8,7 @@ import subprocess from .file_utils import copy_files, delete_files from .base_evaluator import BaseEvaluator from .grader import CompilationError, TestCaseError +from .error_messages import prettify_exceptions class CppCodeEvaluator(BaseEvaluator): @@ -29,6 +30,7 @@ class CppCodeEvaluator(BaseEvaluator): # Set test case data values self.test_case = test_case_data.get('test_case') self.weight = test_case_data.get('weight') + self.hidden = test_case_data.get('hidden') def teardown(self): # Delete the created file. @@ -142,7 +144,8 @@ class CppCodeEvaluator(BaseEvaluator): mark_fraction = 1.0 if self.partial_grading else 0.0 else: err = "{0} \n {1}".format(stdout, stderr) - raise AssertionError(err) + err = prettify_exceptions('AssertionError', err) + return success, err, mark_fraction else: err = "Test case Error:" try: diff --git a/yaksh/cpp_stdio_evaluator.py b/yaksh/cpp_stdio_evaluator.py index 3f44cb2..a48f701 100644 --- a/yaksh/cpp_stdio_evaluator.py +++ b/yaksh/cpp_stdio_evaluator.py @@ -24,6 +24,7 @@ class CppStdIOEvaluator(StdIOEvaluator): self.expected_input = test_case_data.get('expected_input') self.expected_output = test_case_data.get('expected_output') self.weight = test_case_data.get('weight') + self.hidden = test_case_data.get('hidden') def teardown(self): if os.path.exists(self.submit_code_path): diff --git a/yaksh/evaluator_tests/test_bash_evaluation.py b/yaksh/evaluator_tests/test_bash_evaluation.py index f86bf24..031a9de 100644 --- a/yaksh/evaluator_tests/test_bash_evaluation.py +++ b/yaksh/evaluator_tests/test_bash_evaluation.py @@ -25,7 +25,7 @@ class BashAssertionEvaluationTestCases(EvaluatorBaseTest): {"test_case": self.tc_data, "test_case_args": self.tc_data_args, "test_case_type": "standardtestcase", - "weight": 0.0 + "weight": 0.0, "hidden": False } ] self.in_dir = tempfile.mkdtemp() @@ -66,7 +66,8 @@ class BashAssertionEvaluationTestCases(EvaluatorBaseTest): {"test_case": tc_data, "test_case_args": "", "test_case_type": "standardtestcase", - "weight": 0.0 + "weight": 0.0, + "hidden": True } ] kwargs = {'metadata': { @@ -129,7 +130,9 @@ class BashAssertionEvaluationTestCases(EvaluatorBaseTest): # Then self.assertFalse(result.get("success")) - self.assert_correct_output("Error", result.get("error")) + self.assertFalse(result.get("error")[0]["hidden"]) + self.assert_correct_output("Error", + result.get("error")[0]["message"]) def test_infinite_loop(self): # Given @@ -170,7 +173,8 @@ class BashAssertionEvaluationTestCases(EvaluatorBaseTest): "test_case": self.tc_data, "test_case_args": self.tc_data_args, "test_case_type": "standardtestcase", - "weight": 0.0 + "weight": 0.0, + "hidden": True }] user_answer = ("#!/bin/bash\ncat $1") kwargs = {'metadata': { @@ -240,7 +244,7 @@ class BashStdIOEvaluationTestCases(EvaluatorBaseTest): test_case_data = [{'expected_output': '1 2 3\n4 5 6\n7 8 9\n', 'expected_input': '1,2,3\n4,5,6\n7,8,9', 'test_case_type': 'stdiobasedtestcase', - 'weight': 0.0 + 'weight': 0.0, }] kwargs = { 'metadata': { @@ -270,7 +274,8 @@ class BashStdIOEvaluationTestCases(EvaluatorBaseTest): 'expected_output': '11', 'expected_input': '5\n6', 'test_case_type': 'stdiobasedtestcase', - 'weight': 0.0 + 'weight': 0.0, + 'hidden': True }] kwargs = { 'metadata': { @@ -288,6 +293,7 @@ class BashStdIOEvaluationTestCases(EvaluatorBaseTest): # Then result_error = result.get('error')[0].get('error_msg') self.assert_correct_output("Incorrect", result_error) + self.assertTrue(result.get('error')[0]['hidden']) self.assertFalse(result.get('success')) def test_stdout_only(self): @@ -399,7 +405,8 @@ class BashHookEvaluationTestCases(EvaluatorBaseTest): return success, err, mark_fraction """) test_case_data = [{"test_case_type": "hooktestcase", - "hook_code": hook_code, "weight": 1.0}] + "hook_code": hook_code, "weight": 1.0, + "hidden": True}] kwargs = { 'metadata': { @@ -416,7 +423,9 @@ class BashHookEvaluationTestCases(EvaluatorBaseTest): # Then self.assertFalse(result.get('success')) - self.assert_correct_output('Incorrect Answer', result.get('error')) + self.assertTrue(result.get('error')[0]['hidden']) + self.assert_correct_output('Incorrect Answer', + result.get('error')[0]['message']) def test_assert_with_hook(self): # Given @@ -446,7 +455,8 @@ class BashHookEvaluationTestCases(EvaluatorBaseTest): 'weight': 1.0 }, {"test_case_type": "hooktestcase", - "hook_code": hook_code, 'weight': 1.0}, + "hook_code": hook_code, 'weight': 1.0, + 'hidden': True}, ] kwargs = { 'metadata': { @@ -544,7 +554,8 @@ class BashHookEvaluationTestCases(EvaluatorBaseTest): """) test_case_data = [{"test_case_type": "hooktestcase", - "hook_code": hook_code, "weight": 1.0}] + "hook_code": hook_code, "weight": 1.0, + "hidden": False}] kwargs = { 'metadata': { diff --git a/yaksh/evaluator_tests/test_c_cpp_evaluation.py b/yaksh/evaluator_tests/test_c_cpp_evaluation.py index 14ed808..b7c6018 100644 --- a/yaksh/evaluator_tests/test_c_cpp_evaluation.py +++ b/yaksh/evaluator_tests/test_c_cpp_evaluation.py @@ -54,7 +54,7 @@ class CAssertionEvaluationTestCases(EvaluatorBaseTest): """) self.test_case_data = [{"test_case": self.tc_data, "test_case_type": "standardtestcase", - "weight": 0.0 + "weight": 0.0, "hidden": False }] self.in_dir = tmp_in_dir_path self.timeout_msg = ("Code took more than {0} seconds to run. " @@ -184,9 +184,9 @@ class CAssertionEvaluationTestCases(EvaluatorBaseTest): check(50, result); } """) - self.test_case_data = [{"test_case": self.tc_data, + test_case_data = [{"test_case": self.tc_data, "test_case_type": "standardtestcase", - "weight": 0.0 + "weight": 0.0, }] user_answer = dedent(""" #include<stdio.h> @@ -206,7 +206,7 @@ class CAssertionEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'cpp' - }, 'test_case_data': self.test_case_data, + }, 'test_case_data': test_case_data, } # When @@ -257,9 +257,9 @@ class CAssertionEvaluationTestCases(EvaluatorBaseTest): { return a+b; }""") - self.test_case_data = [{"test_case": self.tc_data, + test_case_data = [{"test_case": self.tc_data, "test_case_type": "standardtestcase", - "weight": 0.0 + "weight": 0.0, }] kwargs = { 'metadata': { @@ -267,7 +267,7 @@ class CAssertionEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'cpp' - }, 'test_case_data': self.test_case_data, + }, 'test_case_data': test_case_data, } # When @@ -287,6 +287,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): 'expected_input': '5\n6', 'weight': 0.0, 'test_case_type': 'stdiobasedtestcase', + 'hidden': True }] self.in_dir = tempfile.mkdtemp() self.timeout_msg = ("Code took more than {0} seconds to run. " @@ -324,7 +325,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): def test_array_input(self): # Given - self.test_case_data = [{'expected_output': '561', + test_case_data = [{'expected_output': '561', 'expected_input': '5\n6\n1', 'weight': 0.0, 'test_case_type': 'stdiobasedtestcase', @@ -344,7 +345,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'cpp' - }, 'test_case_data': self.test_case_data, + }, 'test_case_data': test_case_data, } # When @@ -356,7 +357,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): def test_string_input(self): # Given - self.test_case_data = [{'expected_output': 'abc', + test_case_data = [{'expected_output': 'abc', 'expected_input': 'abc', 'weight': 0.0, 'test_case_type': 'stdiobasedtestcase', @@ -374,7 +375,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'cpp' - }, 'test_case_data': self.test_case_data, + }, 'test_case_data': test_case_data, } # When @@ -408,6 +409,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): # Then lines_of_error = len(result.get('error')[0].get('error_line_numbers')) result_error = result.get('error')[0].get('error_msg') + self.assertTrue(result.get('error')[0].get('hidden')) self.assertFalse(result.get('success')) self.assert_correct_output("Incorrect", result_error) self.assertTrue(lines_of_error > 0) @@ -472,7 +474,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): def test_only_stdout(self): # Given - self.test_case_data = [{'expected_output': '11', + test_case_data = [{'expected_output': '11', 'weight': 0.0, 'test_case_type': 'stdiobasedtestcase', }] @@ -488,7 +490,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'cpp' - }, 'test_case_data': self.test_case_data, + }, 'test_case_data': test_case_data, } # When @@ -522,11 +524,12 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): result = grader.evaluate(kwargs) # Then + self.assertFalse(result.get('hidden')) self.assertTrue(result.get('success')) def test_cpp_array_input(self): # Given - self.test_case_data = [{'expected_output': '561', + test_case_data = [{'expected_output': '561', 'expected_input': '5\n6\n1', 'weight': 0.0, 'test_case_type': 'stdiobasedtestcase', @@ -547,7 +550,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'cpp' - }, 'test_case_data': self.test_case_data, + }, 'test_case_data': test_case_data, } # When @@ -559,7 +562,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): def test_cpp_string_input(self): # Given - self.test_case_data = [{'expected_output': 'abc', + test_case_data = [{'expected_output': 'abc', 'expected_input': 'abc', 'weight': 0.0, 'test_case_type': 'stdiobasedtestcase', @@ -578,7 +581,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'cpp' - }, 'test_case_data': self.test_case_data, + }, 'test_case_data': test_case_data, } # When @@ -613,6 +616,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): # Then lines_of_error = len(result.get('error')[0].get('error_line_numbers')) result_error = result.get('error')[0].get('error_msg') + self.assertTrue(result.get('error')[0].get('hidden')) self.assertFalse(result.get('success')) self.assert_correct_output("Incorrect", result_error) self.assertTrue(lines_of_error > 0) @@ -675,7 +679,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): def test_cpp_only_stdout(self): # Given - self.test_case_data = [{'expected_output': '11', + test_case_data = [{'expected_output': '11', 'expected_input': '', 'weight': 0.0, 'test_case_type': 'stdiobasedtestcase', @@ -693,7 +697,7 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'cpp' - }, 'test_case_data': self.test_case_data, + }, 'test_case_data': test_case_data, } # When @@ -806,7 +810,8 @@ class CppHookEvaluationTestCases(EvaluatorBaseTest): """) test_case_data = [{"test_case_type": "hooktestcase", - "hook_code": hook_code, "weight": 1.0}] + "hook_code": hook_code, "weight": 1.0, + "hidden": True}] kwargs = { 'metadata': { 'user_answer': user_answer, @@ -821,8 +826,10 @@ class CppHookEvaluationTestCases(EvaluatorBaseTest): result = grader.evaluate(kwargs) # Then + self.assertTrue(result.get('error')[0]['hidden']) self.assertFalse(result.get('success')) - self.assert_correct_output('Incorrect Answer', result.get('error')) + self.assert_correct_output('Incorrect Answer', + result.get('error')[0]['message']) def test_assert_with_hook(self): # Given @@ -999,7 +1006,8 @@ class CppHookEvaluationTestCases(EvaluatorBaseTest): """) test_case_data = [{"test_case_type": "hooktestcase", - "hook_code": hook_code, "weight": 1.0}] + "hook_code": hook_code, "weight": 1.0, + "hidden": False}] kwargs = { 'metadata': { diff --git a/yaksh/evaluator_tests/test_java_evaluation.py b/yaksh/evaluator_tests/test_java_evaluation.py index eb09f2f..e762852 100644 --- a/yaksh/evaluator_tests/test_java_evaluation.py +++ b/yaksh/evaluator_tests/test_java_evaluation.py @@ -62,7 +62,7 @@ class JavaAssertionEvaluationTestCases(EvaluatorBaseTest): self.test_case_data = [ {"test_case": self.tc_data, "test_case_type": "standardtestcase", - "weight": 0.0 + "weight": 0.0, "hidden": False } ] self.in_dir = tmp_in_dir_path @@ -119,6 +119,7 @@ class JavaAssertionEvaluationTestCases(EvaluatorBaseTest): self.assertFalse(result.get('success')) for error in errors: self.assertEqual(error.get('exception'), 'AssertionError') + self.assertFalse(error.get('hidden')) def test_error(self): # Given @@ -140,6 +141,7 @@ class JavaAssertionEvaluationTestCases(EvaluatorBaseTest): self.assertFalse(result.get("success")) for error in errors: self.assertEqual(error.get('exception'), 'CompilationError') + self.assertFalse(result.get('hidden')) def test_infinite_loop(self): # Given @@ -276,7 +278,7 @@ class JavaAssertionEvaluationTestCases(EvaluatorBaseTest): "{\n\treturn a;\n\t}\n}") self.test_case_data = [{"test_case": self.tc_data, "test_case_type": "standardtestcase", - "weight": 0.0 + "weight": 0.0, "hidden": True }] kwargs = { 'metadata': { @@ -408,6 +410,7 @@ class JavaStdIOEvaluationTestCases(EvaluatorBaseTest): # Then lines_of_error = len(result.get('error')[0].get('error_line_numbers')) result_error = result.get('error')[0].get('error_msg') + self.assertFalse(result.get('error')[0].get('hidden')) self.assertFalse(result.get('success')) self.assert_correct_output("Incorrect", result_error) self.assertTrue(lines_of_error > 0) @@ -437,6 +440,7 @@ class JavaStdIOEvaluationTestCases(EvaluatorBaseTest): self.assertFalse(result.get("success")) for error in errors: self.assertEqual(error.get('exception'), 'CompilationError') + self.assertFalse(error.get('hidden')) def test_infinite_loop(self): # Given @@ -474,7 +478,7 @@ class JavaStdIOEvaluationTestCases(EvaluatorBaseTest): # Given self.test_case_data = [{'expected_output': '11', 'test_case_type': 'stdiobasedtestcase', - 'weight': 0.0 + 'weight': 0.0, 'hidden': False }] user_answer = dedent(""" class Test @@ -677,7 +681,8 @@ class JavaHookEvaluationTestCases(EvaluatorBaseTest): """) test_case_data = [{"test_case_type": "hooktestcase", - "hook_code": hook_code, "weight": 1.0 + "hook_code": hook_code, "weight": 1.0, + "hidden": True }] kwargs = { 'metadata': { @@ -693,8 +698,10 @@ class JavaHookEvaluationTestCases(EvaluatorBaseTest): result = grader.evaluate(kwargs) # Then + self.assertTrue(result.get('error')[0]['hidden']) self.assertFalse(result.get('success')) - self.assert_correct_output('Incorrect Answer', result.get('error')) + self.assert_correct_output('Incorrect Answer', + result.get('error')[0]['message']) def test_assert_with_hook(self): # Given @@ -875,7 +882,7 @@ class JavaHookEvaluationTestCases(EvaluatorBaseTest): """) test_case_data = [{"test_case_type": "hooktestcase", - "hook_code": hook_code, "weight": 1.0 + "hook_code": hook_code, "weight": 1.0, }] kwargs = { diff --git a/yaksh/evaluator_tests/test_python_evaluation.py b/yaksh/evaluator_tests/test_python_evaluation.py index de973cf..343c8fb 100644 --- a/yaksh/evaluator_tests/test_python_evaluation.py +++ b/yaksh/evaluator_tests/test_python_evaluation.py @@ -25,13 +25,13 @@ class PythonAssertionEvaluationTestCases(EvaluatorBaseTest): self.in_dir = tmp_in_dir_path self.test_case_data = [{"test_case_type": "standardtestcase", "test_case": 'assert(add(1,2)==3)', - 'weight': 0.0}, + 'weight': 0.0, 'hidden': True}, {"test_case_type": "standardtestcase", "test_case": 'assert(add(-1,2)==1)', - 'weight': 0.0}, + 'weight': 0.0, 'hidden': True}, {"test_case_type": "standardtestcase", "test_case": 'assert(add(-1,-2)==-3)', - 'weight': 0.0}, + 'weight': 0.0, 'hidden': True}, ] self.timeout_msg = ("Code took more than {0} seconds to run. " "You probably have an infinite loop in" @@ -80,6 +80,7 @@ class PythonAssertionEvaluationTestCases(EvaluatorBaseTest): given_test_case_list = [tc["test_case"] for tc in self.test_case_data] for error in result.get("error"): self.assertEqual(error['exception'], 'AssertionError') + self.assertTrue(error['hidden']) self.assertEqual( error['message'], "Expected answer from the test case did not match the output" @@ -92,13 +93,13 @@ class PythonAssertionEvaluationTestCases(EvaluatorBaseTest): user_answer = "def add(a,b):\n\treturn abs(a) + abs(b)" test_case_data = [{"test_case_type": "standardtestcase", "test_case": 'assert(add(-1,2)==1)', - 'weight': 1.0}, + 'weight': 1.0, 'hidden': False}, {"test_case_type": "standardtestcase", "test_case": 'assert(add(-1,-2)==-3)', - 'weight': 1.0}, + 'weight': 1.0, 'hidden': False}, {"test_case_type": "standardtestcase", "test_case": 'assert(add(1,2)==3)', - 'weight': 2.0} + 'weight': 2.0, 'hidden': False} ] kwargs = {'metadata': { 'user_answer': user_answer, @@ -119,6 +120,7 @@ class PythonAssertionEvaluationTestCases(EvaluatorBaseTest): given_test_case_list.remove('assert(add(1,2)==3)') for error in result.get("error"): self.assertEqual(error['exception'], 'AssertionError') + self.assertFalse(error['hidden']) self.assertEqual( error['message'], "Expected answer from the test case did not match the output" @@ -489,7 +491,7 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest): def test_correct_answer_integer(self): # Given - self.test_case_data = [{"test_case_type": "stdiobasedtestcase", + test_case_data = [{"test_case_type": "stdiobasedtestcase", "expected_input": "1\n2", "expected_output": "3", "weight": 0.0 @@ -505,7 +507,7 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'python'}, - 'test_case_data': self.test_case_data + 'test_case_data': test_case_data } # When @@ -517,7 +519,7 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest): def test_correct_answer_list(self): # Given - self.test_case_data = [{"test_case_type": "stdiobasedtestcase", + test_case_data = [{"test_case_type": "stdiobasedtestcase", "expected_input": "1,2,3\n5,6,7", "expected_output": "[1, 2, 3, 5, 6, 7]", "weight": 0.0 @@ -536,7 +538,7 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'python'}, - 'test_case_data': self.test_case_data + 'test_case_data': test_case_data } # When @@ -548,7 +550,7 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest): def test_correct_answer_string(self): # Given - self.test_case_data = [{ + test_case_data = [{ "test_case_type": "stdiobasedtestcase", "expected_input": ("the quick brown fox jumps over " "the lazy dog\nthe"), @@ -567,7 +569,7 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'python'}, - 'test_case_data': self.test_case_data + 'test_case_data': test_case_data } # When @@ -579,10 +581,10 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest): def test_incorrect_answer_integer(self): # Given - self.test_case_data = [{"test_case_type": "stdiobasedtestcase", + test_case_data = [{"test_case_type": "stdiobasedtestcase", "expected_input": "1\n2", "expected_output": "3", - "weight": 0.0 + "weight": 0.0, 'hidden': True }] user_answer = dedent(""" a = int(input()) @@ -595,7 +597,7 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'python'}, - 'test_case_data': self.test_case_data + 'test_case_data': test_case_data } # When @@ -604,6 +606,7 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest): # Then self.assertFalse(result.get('success')) + self.assertTrue(result.get('error')[0].get('hidden')) self.assert_correct_output( "Incorrect Answer: Line number(s) 1 did not match.", result.get('error')[0].get('error_msg') @@ -611,7 +614,7 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest): def test_file_based_answer(self): # Given - self.test_case_data = [{"test_case_type": "stdiobasedtestcase", + test_case_data = [{"test_case_type": "stdiobasedtestcase", "expected_input": "", "expected_output": "2", "weight": 0.0 @@ -629,7 +632,7 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest): 'file_paths': self.file_paths, 'partial_grading': False, 'language': 'python'}, - 'test_case_data': self.test_case_data + 'test_case_data': test_case_data } # When @@ -786,7 +789,8 @@ class PythonHookEvaluationTestCases(EvaluatorBaseTest): ) test_case_data = [{"test_case_type": "hooktestcase", - "hook_code": hook_code, "weight": 1.0 + "hook_code": hook_code, "weight": 1.0, + "hidden": True }] kwargs = {'metadata': { @@ -803,7 +807,9 @@ class PythonHookEvaluationTestCases(EvaluatorBaseTest): # Then self.assertFalse(result.get('success')) - self.assert_correct_output('Incorrect Answer', result.get('error')) + self.assertTrue(result.get('error')[0]['hidden']) + self.assert_correct_output('Incorrect Answer', + result.get('error')[0]['message']) def test_assert_with_hook(self): # Given diff --git a/yaksh/evaluator_tests/test_r_evaluation.py b/yaksh/evaluator_tests/test_r_evaluation.py index b4b81ae..a196d91 100644 --- a/yaksh/evaluator_tests/test_r_evaluation.py +++ b/yaksh/evaluator_tests/test_r_evaluation.py @@ -44,7 +44,7 @@ class RAssertionEvaluationTestCase(EvaluatorBaseTest): ) self.test_case_data = [{"test_case": self.test_case, "test_case_type": "standardtestcase", - "weight": 0.0 + "weight": 0.0, "hidden": True }] self.timeout_msg = ("Code took more than {0} seconds to run. " "You probably have an infinite loop in" @@ -108,6 +108,7 @@ class RAssertionEvaluationTestCase(EvaluatorBaseTest): result = grader.evaluate(kwargs) errors = result.get('error') # Then + self.assertTrue(result.get("error")[0]['hidden']) self.assertFalse(result.get('success')) self.assertEqual(errors[0]['message'], err) @@ -134,6 +135,7 @@ class RAssertionEvaluationTestCase(EvaluatorBaseTest): errors = result.get('error') # Then + self.assertTrue(result.get("error")[0]['hidden']) self.assertFalse(result.get("success")) self.assertIn("object 'a' not found", errors[0]['message']) @@ -159,6 +161,7 @@ class RAssertionEvaluationTestCase(EvaluatorBaseTest): errors = result.get('error') # Then + self.assertTrue(result.get("error")[0]['hidden']) self.assertFalse(result.get("success")) err = errors[0]['message'] self.assertIn("is.null(obj) == FALSE is not TRUE", err) diff --git a/yaksh/evaluator_tests/test_scilab_evaluation.py b/yaksh/evaluator_tests/test_scilab_evaluation.py index d3f1dc8..b08d348 100644 --- a/yaksh/evaluator_tests/test_scilab_evaluation.py +++ b/yaksh/evaluator_tests/test_scilab_evaluation.py @@ -48,7 +48,7 @@ class ScilabEvaluationTestCases(EvaluatorBaseTest): """) self.test_case_data = [{"test_case": self.tc_data, "test_case_type": "standardtestcase", - "weight": 0.0 + "weight": 0.0, 'hidden': True }] self.in_dir = tmp_in_dir_path self.file_paths = None @@ -92,9 +92,9 @@ class ScilabEvaluationTestCases(EvaluatorBaseTest): grader = Grader(self.in_dir) result = grader.evaluate(kwargs) - self.assertFalse(result.get("success")) - self.assert_correct_output('error', result.get("error")) + self.assertTrue(result.get("error")[0]['hidden']) + self.assert_correct_output('error', result.get("error")[0]['message']) def test_incorrect_answer(self): user_answer = ("funcprot(0)\nfunction[c]=add(a,b)" @@ -110,10 +110,11 @@ class ScilabEvaluationTestCases(EvaluatorBaseTest): grader = Grader(self.in_dir) result = grader.evaluate(kwargs) - - lines_of_error = len(result.get('error')[0].splitlines()) + lines_of_error = len(result.get('error')[0]['message'].splitlines()) self.assertFalse(result.get('success')) - self.assert_correct_output("Message", result.get('error')) + self.assertTrue(result.get("error")[0]['hidden']) + self.assert_correct_output("Message", + result.get('error')[0]["message"]) self.assertTrue(lines_of_error > 1) def test_infinite_loop(self): diff --git a/yaksh/fixtures/invalid_yaml.yaml b/yaksh/fixtures/invalid_yaml.yaml new file mode 100644 index 0000000..bcc153c --- /dev/null +++ b/yaksh/fixtures/invalid_yaml.yaml @@ -0,0 +1,8 @@ +--- +name: 'Sample lesson topic 1' +description: 'Topic 1 description' +--- +name: 'Sample lesson topic 1' +description: 'Topic 1 description' +content_type: 1 +time: '000000'
\ No newline at end of file diff --git a/yaksh/fixtures/marks_correct.csv b/yaksh/fixtures/marks_correct.csv new file mode 100644 index 0000000..9134da5 --- /dev/null +++ b/yaksh/fixtures/marks_correct.csv @@ -0,0 +1,4 @@ +username,Q-1212-Dummy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,1,good work,1,nice +student2,1,good work,0,bad + diff --git a/yaksh/fixtures/marks_header_missing.csv b/yaksh/fixtures/marks_header_missing.csv new file mode 100644 index 0000000..8c3a747 --- /dev/null +++ b/yaksh/fixtures/marks_header_missing.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummy1-1.0-marks +student1,0.9 +student2,1 diff --git a/yaksh/fixtures/marks_header_modified.csv b/yaksh/fixtures/marks_header_modified.csv new file mode 100644 index 0000000..08ba31d --- /dev/null +++ b/yaksh/fixtures/marks_header_modified.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummmy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,0.75,fine work,1,not nice +student2,1,good work,0,not okay diff --git a/yaksh/fixtures/marks_invalid_data.csv b/yaksh/fixtures/marks_invalid_data.csv new file mode 100644 index 0000000..44fb2bb --- /dev/null +++ b/yaksh/fixtures/marks_invalid_data.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,NA,good work,1,nice +student2,1,good work,0,bad diff --git a/yaksh/fixtures/marks_invalid_question_id.csv b/yaksh/fixtures/marks_invalid_question_id.csv new file mode 100644 index 0000000..eb1d921 --- /dev/null +++ b/yaksh/fixtures/marks_invalid_question_id.csv @@ -0,0 +1,3 @@ +username,Q-12112-Dummy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,1,good work,1,nice +student2,1,good work,0,bad diff --git a/yaksh/fixtures/marks_invalid_user.csv b/yaksh/fixtures/marks_invalid_user.csv new file mode 100644 index 0000000..bd31071 --- /dev/null +++ b/yaksh/fixtures/marks_invalid_user.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,1,good work,1,nice +student452,1,good work,0,bad diff --git a/yaksh/fixtures/marks_not_attempted_question.csv b/yaksh/fixtures/marks_not_attempted_question.csv new file mode 100644 index 0000000..3c3e2e7 --- /dev/null +++ b/yaksh/fixtures/marks_not_attempted_question.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,1,good work,1,nice +student2,0.3,very good,1,good diff --git a/yaksh/fixtures/marks_single_question.csv b/yaksh/fixtures/marks_single_question.csv new file mode 100644 index 0000000..9677730 --- /dev/null +++ b/yaksh/fixtures/marks_single_question.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummy1-1.0-marks,Q-1212-Dummy1-comments +student1,0.5,okay work +student2,1,good work diff --git a/yaksh/fixtures/sample_lesson_toc.yaml b/yaksh/fixtures/sample_lesson_toc.yaml new file mode 100644 index 0000000..8030d5e --- /dev/null +++ b/yaksh/fixtures/sample_lesson_toc.yaml @@ -0,0 +1,66 @@ +# content_type 1: Topic, 2: Grading quiz, 3: Exercise, 4: Poll +--- +summary: |- + Sample lesson quiz 1 +type: |- + mcq +language: |- + other +description: |- + Choose the letter from the following +points: 1.0 +testcase: +- test_case_type: |- + mcqtestcase + options: |- + A + correct: false +- test_case_type: |- + mcqtestcase + options: |- + B + correct: true +- test_case_type: |- + mcqtestcase + options: |- + C + correct: false +- test_case_type: |- + mcqtestcase + options: |- + D + correct: false +active: true +topic: 'Dummy1' +content_type: 2 +time: '00:02:00' +--- +summary: |- + Sample lesson quiz 2 +type: |- + mcq +language: |- + python +description: |- + What will be the output of the statement + <br> + print(1+2) +points: 1.0 +testcase: +- test_case_type: |- + integertestcase + correct: '3' +active: true +topic: 'Dummy2' +content_type: 2 +time: '00:05:00' +--- +name: 'Sample lesson topic 1' +description: 'Topic 1 description' +content_type: 1 +time: '00:00:00' +--- +name: 'Sample lesson topic 2' +description: 'Topic 2 description' +content_type: 1 +time: '00:01:00' diff --git a/yaksh/fixtures/user_existing_email.csv b/yaksh/fixtures/user_existing_email.csv new file mode 100644 index 0000000..ee5fcd0 --- /dev/null +++ b/yaksh/fixtures/user_existing_email.csv @@ -0,0 +1,2 @@ +firstname, lastname, email +abc, abc, demo_student@test.com diff --git a/yaksh/fixtures/users_add_update_reject.csv b/yaksh/fixtures/users_add_update_reject.csv index 1990179..2b8fcf6 100644 --- a/yaksh/fixtures/users_add_update_reject.csv +++ b/yaksh/fixtures/users_add_update_reject.csv @@ -1,4 +1,4 @@ firstname, lastname, email, institute,department,roll_no,remove,password,username test, test, test@g.com, TEST, TEST, TEST101, FALSE, TEST, test -test2, test, test@g.com, TEST, TEST, TEST101, FALSE, TEST, test2 -test2, test, test@g.com, TEST, TEST, TEST101, TRUE, TEST, test2 +test2, test, test2@g.com, TEST, TEST, TEST101, FALSE, TEST, test2 +test2, test, test2@g.com, TEST, TEST, TEST101, TRUE, TEST, test2 diff --git a/yaksh/forms.py b/yaksh/forms.py index 3c4d664..7a9eb87 100644 --- a/yaksh/forms.py +++ b/yaksh/forms.py @@ -1,13 +1,15 @@ from django import forms from yaksh.models import ( get_model_class, Profile, Quiz, Question, Course, QuestionPaper, Lesson, - LearningModule, TestCase, languages, question_types, Post, Comment + LearningModule, TestCase, languages, question_types, Post, Comment, + Topic ) from grades.models import GradingSystem from django.contrib.auth import authenticate from django.contrib.auth.models import User from django.conf import settings from django.utils import timezone +from django.template.defaultfilters import filesizeformat from textwrap import dedent try: from string import letters @@ -15,6 +17,8 @@ except ImportError: from string import ascii_letters as letters from string import punctuation, digits import pytz +from ast import literal_eval + from .send_emails import generate_activation_key languages = (("", "Select Language"),) + languages @@ -511,6 +515,22 @@ class QuestionPaperForm(forms.ModelForm): class LessonForm(forms.ModelForm): + video_options = ( + ("---", "Select Video Option"), ("youtube", "Youtube"), + ("vimeo", "Vimeo"), ("others", "Others") + ) + video_option = forms.ChoiceField( + choices=video_options, required=False, + help_text='Add videos from youtube, vimeo or other', + widget=forms.Select({'class': 'custom-select'})) + video_url = forms.CharField( + widget=forms.TextInput( + {'class': form_input_class, + 'placeholder': 'Video ID for Youtube, Vimeo and URL for others'} + ), + required=False + ) + def __init__(self, *args, **kwargs): super(LessonForm, self).__init__(*args, **kwargs) des_msg = "Enter Lesson Description as Markdown text" @@ -520,9 +540,14 @@ class LessonForm(forms.ModelForm): self.fields['description'].widget.attrs.update( {'class': form_input_class, 'placeholder': des_msg} ) - self.fields['video_file'].widget.attrs.update( - {'class': "custom-file-input"} - ) + self.fields['video_path'].widget = forms.HiddenInput() + try: + video = literal_eval(self.instance.video_path) + key = list(video.keys())[0] + self.fields['video_option'].initial = key + self.fields['video_url'].initial = video[key] + except ValueError: + pass class Meta: model = Lesson @@ -538,8 +563,34 @@ class LessonForm(forms.ModelForm): "Please upload video files in {0} format".format( ", ".join(actual_extension)) ) + if file.size > settings.MAX_UPLOAD_SIZE: + raise forms.ValidationError( + f"Video file size must be less than "\ + f"{filesizeformat(settings.MAX_UPLOAD_SIZE)}. " + f"Current size is {filesizeformat(file.size)}" + ) return file + def clean_video_path(self): + path = self.cleaned_data.get("video_path") + if path: + try: + value = literal_eval(path) + if not isinstance(value, dict): + raise forms.ValidationError( + "Value must be dictionary e.g {'youtube': 'video-id'}" + ) + else: + if len(value) > 1: + raise forms.ValidationError( + "Only one type of video path is allowed" + ) + except ValueError: + raise forms.ValidationError( + "Value must be dictionary e.g {'youtube': 'video-id'}" + ) + return path + class LessonFileForm(forms.Form): Lesson_files = forms.FileField( @@ -579,7 +630,7 @@ class TestcaseForm(forms.ModelForm): class PostForm(forms.ModelForm): class Meta: model = Post - fields = ["title", "description", "image"] + fields = ["title", "description", "image", "anonymous"] widgets = { 'title': forms.TextInput( attrs={ @@ -602,7 +653,7 @@ class PostForm(forms.ModelForm): class CommentForm(forms.ModelForm): class Meta: model = Comment - fields = ["description", "image"] + fields = ["description", "image", "anonymous"] widgets = { 'description': forms.Textarea( attrs={ @@ -615,3 +666,92 @@ class CommentForm(forms.ModelForm): } ) } + + +class TopicForm(forms.ModelForm): + + timer = forms.CharField() + + def __init__(self, *args, **kwargs): + time = kwargs.pop("time") if "time" in kwargs else None + super(TopicForm, self).__init__(*args, **kwargs) + self.fields['name'].widget.attrs.update( + {'class': form_input_class, 'placeholder': 'Name'} + ) + self.fields['timer'].widget.attrs.update( + {'class': form_input_class, 'placeholder': 'Time'} + ) + self.fields['description'].widget.attrs.update( + {'class': form_input_class, 'placeholder': 'Description'} + ) + self.fields['timer'].initial = time + + class Meta: + model = Topic + fields = "__all__" + + def clean_timer(self): + timer = self.cleaned_data.get("timer") + if timer: + try: + hh, mm, ss = timer.split(":") + except ValueError: + raise forms.ValidationError( + "Marker time should be in the format hh:mm:ss" + ) + return timer + + +class VideoQuizForm(forms.ModelForm): + + type = forms.CharField() + + timer = forms.CharField() + + def __init__(self, *args, **kwargs): + if 'question_type' in kwargs: + question_type = kwargs.pop('question_type') + else: + question_type = "mcq" + time = kwargs.pop("time") if "time" in kwargs else None + super(VideoQuizForm, self).__init__(*args, **kwargs) + self.fields['summary'].widget.attrs.update( + {'class': form_input_class, 'placeholder': 'Summary'} + ) + self.fields['language'].widget.attrs.update( + {'class': 'custom-select'} + ) + self.fields['topic'].widget.attrs.update( + {'class': form_input_class, 'placeholder': 'Question topic name'} + ) + self.fields['points'].widget.attrs.update( + {'class': form_input_class, 'placeholder': 'Points'} + ) + self.fields['type'].widget.attrs.update( + {'class': form_input_class, 'readonly': True} + ) + self.fields['type'].initial = question_type + self.fields['description'].widget.attrs.update( + {'class': form_input_class, 'placeholder': 'Description', + 'id': 'que_description'} + ) + self.fields['timer'].widget.attrs.update( + {'class': form_input_class, 'placeholder': 'Quiz Time'} + ) + self.fields['timer'].initial = time + + class Meta: + model = Question + fields = ['summary', 'description', 'points', + 'language', 'type', 'topic'] + + def clean_timer(self): + timer = self.cleaned_data.get("timer") + if timer: + try: + hh, mm, ss = timer.split(":") + except ValueError: + raise forms.ValidationError( + "Marker time should be in the format hh:mm:ss" + ) + return timer
\ No newline at end of file diff --git a/yaksh/grader.py b/yaksh/grader.py index c1be493..c0d81fa 100644 --- a/yaksh/grader.py +++ b/yaksh/grader.py @@ -143,6 +143,9 @@ class Grader(object): test_case_instance.compile_code() eval_result = test_case_instance.check_code() test_case_success, err, mark_fraction = eval_result + if not isinstance(err, dict): + err = prettify_exceptions('Error', err) + err['hidden'] = test_case_instance.hidden if test_case_success: weight += mark_fraction * test_case_instance.weight else: diff --git a/yaksh/hook_evaluator.py b/yaksh/hook_evaluator.py index 33c1549..ff428c3 100644 --- a/yaksh/hook_evaluator.py +++ b/yaksh/hook_evaluator.py @@ -25,6 +25,7 @@ class HookEvaluator(BaseEvaluator): # Set test case data values self.hook_code = test_case_data.get('hook_code') self.weight = test_case_data.get('weight') + self.hidden = test_case_data.get('hidden') def teardown(self): # Delete the created file. diff --git a/yaksh/java_code_evaluator.py b/yaksh/java_code_evaluator.py index 35573c0..9689c25 100644 --- a/yaksh/java_code_evaluator.py +++ b/yaksh/java_code_evaluator.py @@ -8,6 +8,7 @@ import subprocess from .base_evaluator import BaseEvaluator from .file_utils import copy_files, delete_files from .grader import CompilationError, TestCaseError +from .error_messages import prettify_exceptions class JavaCodeEvaluator(BaseEvaluator): @@ -27,6 +28,7 @@ class JavaCodeEvaluator(BaseEvaluator): # Set test case data values self.test_case = test_case_data.get('test_case') self.weight = test_case_data.get('weight') + self.hidden = test_case_data.get('hidden') def teardown(self): # Delete the created file. @@ -150,7 +152,8 @@ class JavaCodeEvaluator(BaseEvaluator): mark_fraction = 1.0 if self.partial_grading else 0.0 else: err = stdout + "\n" + stderr - raise AssertionError(err) + err = prettify_exceptions('AssertionError', err) + return success, err, mark_fraction else: err = "Test case Error:" try: diff --git a/yaksh/java_stdio_evaluator.py b/yaksh/java_stdio_evaluator.py index 0d7e480..375676f 100644 --- a/yaksh/java_stdio_evaluator.py +++ b/yaksh/java_stdio_evaluator.py @@ -24,6 +24,7 @@ class JavaStdIOEvaluator(StdIOEvaluator): self.expected_input = test_case_data.get('expected_input') self.expected_output = test_case_data.get('expected_output') self.weight = test_case_data.get('weight') + self.hidden = test_case_data.get('hidden') def teardown(self): if os.path.exists(self.submit_code_path): diff --git a/yaksh/live_server_tests/selenium_test.py b/yaksh/live_server_tests/selenium_test.py index 6d9117d..0c9cfcc 100644 --- a/yaksh/live_server_tests/selenium_test.py +++ b/yaksh/live_server_tests/selenium_test.py @@ -126,9 +126,16 @@ class SeleniumTest(): def open_quiz(self): # open module link - self.driver.find_elements_by_partial_link_text( - 'START')[0].click() - self.driver.find_element_by_link_text('START').click() + try: + self.driver.find_elements_by_partial_link_text( + 'Start')[0].click() + except IndexError: + self.driver.find_elements_by_partial_link_text( + 'Continue')[0].click() + try: + self.driver.find_element_by_link_text('Start').click() + except Exception: + self.driver.find_element_by_link_text('Continue').click() # open quiz link self.driver.find_element_by_link_text(self.quiz_name).click() diff --git a/yaksh/management/commands/create_moderator.py b/yaksh/management/commands/create_moderator.py index 3ec012e..c0f160a 100644 --- a/yaksh/management/commands/create_moderator.py +++ b/yaksh/management/commands/create_moderator.py @@ -10,6 +10,7 @@ from django.contrib.auth.models import User, Group, Permission # local imports from yaksh.models import create_group +from yaksh.views import _create_or_update_profile class Command(BaseCommand): @@ -43,6 +44,10 @@ class Command(BaseCommand): ) ) else: + if not hasattr(user, 'profile'): + _create_or_update_profile(user, + {'is_email_verified': True} + ) user.profile.is_moderator = True user.profile.save() self.stdout.write( diff --git a/yaksh/migrations/0020_release_0_21_0.py b/yaksh/migrations/0020_release_0_21_0.py new file mode 100644 index 0000000..ac88eda --- /dev/null +++ b/yaksh/migrations/0020_release_0_21_0.py @@ -0,0 +1,28 @@ +# Generated by Django 3.0.3 on 2020-07-02 08:13 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('yaksh', '0019_release_0_20_0'), + ] + + operations = [ + migrations.AddField( + model_name='hooktestcase', + name='hidden', + field=models.BooleanField(default=False), + ), + migrations.AddField( + model_name='standardtestcase', + name='hidden', + field=models.BooleanField(default=False), + ), + migrations.AddField( + model_name='stdiobasedtestcase', + name='hidden', + field=models.BooleanField(default=False), + ), + ] diff --git a/yaksh/migrations/0021_auto_20200703_1556.py b/yaksh/migrations/0021_auto_20200703_1556.py new file mode 100644 index 0000000..713b2d8 --- /dev/null +++ b/yaksh/migrations/0021_auto_20200703_1556.py @@ -0,0 +1,25 @@ +# Generated by Django 3.0.7 on 2020-07-03 10:26 + +import datetime +from django.db import migrations, models +from django.utils.timezone import utc + + +class Migration(migrations.Migration): + + dependencies = [ + ('yaksh', '0020_release_0_21_0'), + ] + + operations = [ + migrations.AlterField( + model_name='course', + name='end_enroll_time', + field=models.DateTimeField(default=datetime.datetime(2198, 12, 31, 18, 7, tzinfo=utc), null=True, verbose_name='End Date and Time for enrollment of course'), + ), + migrations.AlterField( + model_name='quiz', + name='end_date_time', + field=models.DateTimeField(default=datetime.datetime(2198, 12, 31, 18, 7, tzinfo=utc), null=True, verbose_name='End Date and Time of the quiz'), + ), + ] diff --git a/yaksh/migrations/0022_release_0_22_1.py b/yaksh/migrations/0022_release_0_22_1.py new file mode 100644 index 0000000..5275b86 --- /dev/null +++ b/yaksh/migrations/0022_release_0_22_1.py @@ -0,0 +1,30 @@ +# Generated by Django 3.0.7 on 2020-08-28 07:17 + +import datetime +from django.db import migrations, models +from django.utils.timezone import utc + + +class Migration(migrations.Migration): + + dependencies = [ + ('yaksh', '0021_auto_20200703_1556'), + ] + + operations = [ + migrations.AlterField( + model_name='course', + name='end_enroll_time', + field=models.DateTimeField(default=datetime.datetime(2199, 1, 1, 0, 0, tzinfo=utc), null=True, verbose_name='End Date and Time for enrollment of course'), + ), + migrations.AlterField( + model_name='questionpaper', + name='fixed_question_order', + field=models.TextField(blank=True), + ), + migrations.AlterField( + model_name='quiz', + name='end_date_time', + field=models.DateTimeField(default=datetime.datetime(2199, 1, 1, 0, 0, tzinfo=utc), null=True, verbose_name='End Date and Time of the quiz'), + ), + ] diff --git a/yaksh/migrations/0023_release_0_23_0.py b/yaksh/migrations/0023_release_0_23_0.py new file mode 100644 index 0000000..0666fb8 --- /dev/null +++ b/yaksh/migrations/0023_release_0_23_0.py @@ -0,0 +1,46 @@ +# Generated by Django 3.0.7 on 2020-09-09 02:25 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion +import django.utils.timezone + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('yaksh', '0022_release_0_22_1'), + ] + + operations = [ + migrations.AddField( + model_name='answerpaper', + name='extra_time', + field=models.FloatField(default=0.0, verbose_name='Additional time in mins'), + ), + migrations.AddField( + model_name='answerpaper', + name='is_special', + field=models.BooleanField(default=False), + ), + migrations.CreateModel( + name='MicroManager', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('special_attempt', models.BooleanField(default=False)), + ('attempts_permitted', models.IntegerField(default=0)), + ('permitted_time', models.DateTimeField(default=django.utils.timezone.now)), + ('attempts_utilised', models.IntegerField(default=0)), + ('wait_time', models.IntegerField(default=0, verbose_name='Days to wait before special attempt')), + ('attempt_valid_for', models.IntegerField(default=90, verbose_name='Validity days')), + ('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='yaksh.Course')), + ('manager', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='micromanaging', to=settings.AUTH_USER_MODEL)), + ('quiz', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='yaksh.Quiz')), + ('student', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='micromanaged', to=settings.AUTH_USER_MODEL)), + ], + options={ + 'unique_together': {('student', 'course', 'quiz')}, + }, + ), + ] diff --git a/yaksh/migrations/0024_release_0_24_0.py b/yaksh/migrations/0024_release_0_24_0.py new file mode 100644 index 0000000..60ffc23 --- /dev/null +++ b/yaksh/migrations/0024_release_0_24_0.py @@ -0,0 +1,19 @@ +# Generated by Django 3.0.7 on 2020-09-14 10:45 + +from django.db import migrations, models +import yaksh.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('yaksh', '0023_release_0_23_0'), + ] + + operations = [ + migrations.AlterField( + model_name='assignmentupload', + name='assignmentFile', + field=models.FileField(max_length=255, upload_to=yaksh.models.get_assignment_dir), + ), + ] diff --git a/yaksh/migrations/0025_release_0_26.py b/yaksh/migrations/0025_release_0_26.py new file mode 100644 index 0000000..e619c93 --- /dev/null +++ b/yaksh/migrations/0025_release_0_26.py @@ -0,0 +1,70 @@ +# Generated by Django 3.0.7 on 2020-10-07 11:32 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion +import yaksh.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('contenttypes', '0002_remove_content_type_name'), + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('yaksh', '0024_release_0_24_0'), + ] + + operations = [ + migrations.CreateModel( + name='Topic', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=255)), + ('description', models.TextField(blank=True, null=True)), + ], + ), + migrations.AddField( + model_name='lesson', + name='video_path', + field=models.CharField(blank=True, default=None, help_text='Youtube id, vimeo id, others', max_length=255, null=True), + ), + migrations.AlterField( + model_name='learningmodule', + name='check_prerequisite', + field=models.BooleanField(default=False), + ), + migrations.AlterField( + model_name='learningunit', + name='check_prerequisite', + field=models.BooleanField(default=False), + ), + migrations.AlterField( + model_name='lesson', + name='video_file', + field=models.FileField(blank=True, default=None, help_text='Please upload video files in mp4, ogv, webm format', max_length=255, null=True, upload_to=yaksh.models.get_file_dir), + ), + migrations.CreateModel( + name='TableOfContents', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('time', models.CharField(default=0, max_length=100)), + ('content', models.IntegerField(choices=[(1, 'Topic'), (2, 'Graded Quiz'), (3, 'Exercise'), (4, 'Poll')])), + ('object_id', models.PositiveIntegerField()), + ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')), + ('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='course', to='yaksh.Course')), + ('lesson', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='contents', to='yaksh.Lesson')), + ], + options={ + 'verbose_name_plural': 'Table Of Contents', + }, + ), + migrations.CreateModel( + name='LessonQuizAnswer', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('answer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='yaksh.Answer')), + ('student', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), + ('toc', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='yaksh.TableOfContents')), + ], + ), + ] diff --git a/yaksh/migrations/0026_release_0_27_0.py b/yaksh/migrations/0026_release_0_27_0.py new file mode 100644 index 0000000..bbfb4cc --- /dev/null +++ b/yaksh/migrations/0026_release_0_27_0.py @@ -0,0 +1,34 @@ +# Generated by Django 3.0.7 on 2020-10-08 11:21 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('contenttypes', '0002_remove_content_type_name'), + ('yaksh', '0025_release_0_26'), + ] + + operations = [ + migrations.RemoveField( + model_name='post', + name='course', + ), + migrations.AddField( + model_name='forumbase', + name='anonymous', + field=models.BooleanField(default=False), + ), + migrations.AddField( + model_name='post', + name='target_ct', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='target_obj', to='contenttypes.ContentType'), + ), + migrations.AddField( + model_name='post', + name='target_id', + field=models.PositiveIntegerField(blank=True, db_index=True, null=True), + ), + ] diff --git a/yaksh/migrations/0027_release_0_28_0.py b/yaksh/migrations/0027_release_0_28_0.py new file mode 100644 index 0000000..a248665 --- /dev/null +++ b/yaksh/migrations/0027_release_0_28_0.py @@ -0,0 +1,18 @@ +# Generated by Django 3.0.7 on 2020-11-04 13:40 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('yaksh', '0026_release_0_27_0'), + ] + + operations = [ + migrations.AddField( + model_name='answer', + name='comment', + field=models.TextField(blank=True, null=True), + ), + ] diff --git a/yaksh/models.py b/yaksh/models.py index 87a6877..686d0e6 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -1,3 +1,4 @@ +# Python Imports from __future__ import unicode_literals, division from datetime import datetime, timedelta import uuid @@ -8,16 +9,9 @@ from ruamel.yaml.scalarstring import PreservedScalarString from ruamel.yaml.comments import CommentedMap from random import sample from collections import Counter, defaultdict - -from django.db import models -from django.contrib.auth.models import User, Group, Permission -from django.core.exceptions import ValidationError -from django.contrib.contenttypes.models import ContentType -from taggit.managers import TaggableManager -from django.utils import timezone -from django.core.files import File import glob - +import sys +import traceback try: from StringIO import StringIO as string_io except ImportError: @@ -31,14 +25,31 @@ import zipfile import tempfile from textwrap import dedent from ast import literal_eval -from .file_utils import extract_files, delete_files +import pandas as pd + +# Django Imports +from django.db import models +from django.contrib.auth.models import User, Group, Permission +from django.core.exceptions import ValidationError +from django.contrib.contenttypes.models import ContentType +from taggit.managers import TaggableManager +from django.utils import timezone +from django.core.files import File +from django.contrib.contenttypes.fields import ( + GenericForeignKey, GenericRelation +) +from django.contrib.contenttypes.models import ContentType from django.template import Context, Template +from django.conf import settings +from django.forms.models import model_to_dict +from django.db.models import Count + +# Local Imports from yaksh.code_server import ( submit, get_result as get_result_from_code_server ) from yaksh.settings import SERVER_POOL_PORT, SERVER_HOST_NAME -from django.conf import settings -from django.forms.models import model_to_dict +from .file_utils import extract_files, delete_files from grades.models import GradingSystem languages = ( @@ -248,6 +259,15 @@ def get_image_dir(instance, filename): )) +def is_valid_time_format(time): + try: + hh, mm, ss = time.split(":") + status = True + except ValueError: + status = False + return status + + ############################################################################### class CourseManager(models.Manager): @@ -281,11 +301,16 @@ class Lesson(models.Model): # A video file video_file = models.FileField( - upload_to=get_file_dir, default=None, + upload_to=get_file_dir, max_length=255, default=None, null=True, blank=True, help_text="Please upload video files in mp4, ogv, webm format" ) + video_path = models.CharField( + max_length=255, default=None, null=True, blank=True, + help_text="Youtube id, vimeo id, others" + ) + def __str__(self): return "{0}".format(self.name) @@ -612,7 +637,7 @@ class LearningUnit(models.Model): on_delete=models.CASCADE) quiz = models.ForeignKey(Quiz, null=True, blank=True, on_delete=models.CASCADE) - check_prerequisite = models.BooleanField(default=True) + check_prerequisite = models.BooleanField(default=False) def get_lesson_or_quiz(self): unit = None @@ -691,7 +716,7 @@ class LearningModule(models.Model): order = models.IntegerField(default=0) creator = models.ForeignKey(User, related_name="module_creator", on_delete=models.CASCADE) - check_prerequisite = models.BooleanField(default=True) + check_prerequisite = models.BooleanField(default=False) check_prerequisite_passes = models.BooleanField(default=False) html_data = models.TextField(null=True, blank=True) active = models.BooleanField(default=True) @@ -1044,6 +1069,14 @@ class Course(models.Model): def get_learning_modules(self): return self.learning_module.order_by("order") + def get_learning_module(self, quiz): + modules = self.get_learning_modules() + for module in modules: + for unit in module.get_learning_units(): + if unit.quiz == quiz: + break + return module + def get_unit_completion_status(self, module, user, unit): course_module = self.learning_module.get(id=module.id) learning_unit = course_module.learning_unit.get(id=unit.id) @@ -1069,6 +1102,25 @@ class Course(models.Model): learning_units.extend(module.get_learning_units()) return learning_units + def get_lesson_posts(self): + learning_units = self.get_learning_units() + comments = [] + for unit in learning_units: + if unit.lesson is not None: + lesson_ct = ContentType.objects.get_for_model(unit.lesson) + title = unit.lesson.name + try: + post = Post.objects.get( + target_ct=lesson_ct, + target_id=unit.lesson.id, + active=True, title=title + ) + except Post.DoesNotExist: + post = None + if post is not None: + comments.append(post) + return comments + def remove_trial_modules(self): learning_modules = self.learning_module.all() for module in learning_modules: @@ -1193,8 +1245,8 @@ class CourseStatus(models.Model): self.save() def calculate_percentage(self): - if self.is_course_complete(): - quizzes = self.course.get_quizzes() + quizzes = self.course.get_quizzes() + if self.is_course_complete() and quizzes: total_weightage = 0 sum = 0 for quiz in quizzes: @@ -1278,7 +1330,7 @@ class Profile(models.Model): super(Profile, self).save(*args, **kwargs) def __str__(self): - return '%s' % (self.user.get_full_name()) + return '%s' % (self.user.get_full_name() or self.user.username) ############################################################################### @@ -1328,6 +1380,8 @@ class Question(models.Model): # Solution for the question. solution = models.TextField(blank=True) + content = GenericRelation("TableOfContents") + tc_code_types = { "python": [ ("standardtestcase", "Standard TestCase"), @@ -1656,12 +1710,17 @@ class Answer(models.Model): # Whether skipped or not. skipped = models.BooleanField(default=False) + comment = models.TextField(null=True, blank=True) + def set_marks(self, marks): if marks > self.question.points: self.marks = self.question.points else: self.marks = marks + def set_comment(self, comments): + self.comment = comments + def __str__(self): return "Answer for question {0}".format(self.question.summary) @@ -1694,17 +1753,15 @@ class QuestionPaperManager(models.Manager): def create_trial_paper_to_test_quiz(self, trial_quiz, original_quiz_id): """Creates a trial question paper to test quiz.""" - if self.filter(quiz=trial_quiz).exists(): - trial_questionpaper = self.get(quiz=trial_quiz) - else: - trial_questionpaper, trial_questions = \ - self._create_trial_from_questionpaper(original_quiz_id) - trial_questionpaper.quiz = trial_quiz - trial_questionpaper.fixed_questions\ - .add(*trial_questions["fixed_questions"]) - trial_questionpaper.random_questions\ - .add(*trial_questions["random_questions"]) - trial_questionpaper.save() + trial_quiz.questionpaper_set.all().delete() + trial_questionpaper, trial_questions = \ + self._create_trial_from_questionpaper(original_quiz_id) + trial_questionpaper.quiz = trial_quiz + trial_questionpaper.fixed_questions\ + .add(*trial_questions["fixed_questions"]) + trial_questionpaper.random_questions\ + .add(*trial_questions["random_questions"]) + trial_questionpaper.save() return trial_questionpaper @@ -1728,7 +1785,7 @@ class QuestionPaper(models.Model): total_marks = models.FloatField(default=0.0, blank=True) # Sequence or Order of fixed questions - fixed_question_order = models.CharField(max_length=255, blank=True) + fixed_question_order = models.TextField(blank=True) # Shuffle testcase order. shuffle_testcases = models.BooleanField("Shuffle testcase for each user", @@ -1762,6 +1819,8 @@ class QuestionPaper(models.Model): for question in questions: marks += question.points for question_set in self.random_questions.all(): + question_set.marks = question_set.questions.first().points + question_set.save() marks += question_set.marks * question_set.num_questions self.total_marks = marks self.save() @@ -1777,7 +1836,7 @@ class QuestionPaper(models.Model): all_questions = questions return all_questions - def make_answerpaper(self, user, ip, attempt_num, course_id): + def make_answerpaper(self, user, ip, attempt_num, course_id, special=False): """Creates an answer paper for the user to attempt the quiz""" try: ans_paper = AnswerPaper.objects.get(user=user, @@ -1796,6 +1855,7 @@ class QuestionPaper(models.Model): ans_paper.end_time = ans_paper.start_time + \ timedelta(minutes=self.quiz.duration) ans_paper.question_paper = self + ans_paper.is_special = special ans_paper.save() questions = self._get_questions_for_answerpaper() ans_paper.questions.add(*questions) @@ -2140,6 +2200,10 @@ class AnswerPaper(models.Model): # set question order questions_order = models.TextField(blank=True, default='') + extra_time = models.FloatField('Additional time in mins', default=0.0) + + is_special = models.BooleanField(default=False) + objects = AnswerPaperManager() class Meta: @@ -2222,11 +2286,23 @@ class AnswerPaper(models.Model): questions = list(self.questions.all()) return questions + def set_extra_time(self, time=0): + now = timezone.now() + self.extra_time += time + if self.status == 'completed' and self.end_time < now: + self.extra_time = time + quiz_time = self.question_paper.quiz.duration + self.start_time = now - timezone.timedelta(minutes=quiz_time) + self.end_time = now + timezone.timedelta(minutes=time) + self.status = 'inprogress' + self.save() + def time_left(self): """Return the time remaining for the user in seconds.""" secs = self._get_total_seconds() + extra_time = self.extra_time * 60 total = self.question_paper.quiz.duration*60.0 - remain = max(total - secs, 0) + remain = max(total - (secs - extra_time), 0) return int(remain) def time_left_on_question(self, question): @@ -2244,14 +2320,20 @@ class AnswerPaper(models.Model): secs = dt.seconds + dt.days*24*3600 return secs + def _get_marks_for_question(self, question): + marks = 0.0 + answers = question.answer_set.filter(answerpaper=self) + if answers.exists(): + marks = [answer.marks for answer in answers] + max_marks = max(marks) + marks = max_marks + return marks + def _update_marks_obtained(self): """Updates the total marks earned by student for this paper.""" - marks = 0 + marks = 0.0 for question in self.questions.all(): - marks_list = [a.marks - for a in self.answers.filter(question=question)] - max_marks = max(marks_list) if marks_list else 0.0 - marks += max_marks + marks += self._get_marks_for_question(question) self.marks_obtained = marks def _update_percent(self): @@ -2288,24 +2370,30 @@ class AnswerPaper(models.Model): self.end_time = datetime self.save() + def get_answer_comment(self, question_id): + answer = self.answers.filter(question_id=question_id).last() + if answer: + return answer.comment + def get_question_answers(self): """ Return a dictionary with keys as questions and a list of the corresponding answers. """ q_a = {} - for answer in self.answers.all(): - question = answer.question - if question in q_a: - q_a[question].append({ + for question in self.questions.all(): + answers = question.answer_set.filter(answerpaper=self) + if not answers.exists(): + q_a[question] = [None, 0.0] + continue + ans_errs = [] + for answer in answers: + ans_errs.append({ 'answer': answer, 'error_list': [e for e in json.loads(answer.error)] }) - else: - q_a[question] = [{ - 'answer': answer, - 'error_list': [e for e in json.loads(answer.error)] - }] + q_a[question] = ans_errs + q_a[question].append(self._get_marks_for_question(question)) return q_a def get_latest_answer(self, question_id): @@ -2315,7 +2403,7 @@ class AnswerPaper(models.Model): return self.questions.filter(active=True) def get_questions_answered(self): - return self.questions_answered.all() + return self.questions_answered.all().distinct() def get_questions_unanswered(self): return self.questions_unanswered.all() @@ -2514,7 +2602,7 @@ class AssignmentUploadManager(models.Manager): class AssignmentUpload(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE) assignmentQuestion = models.ForeignKey(Question, on_delete=models.CASCADE) - assignmentFile = models.FileField(upload_to=get_assignment_dir) + assignmentFile = models.FileField(upload_to=get_assignment_dir, max_length=255) question_paper = models.ForeignKey(QuestionPaper, blank=True, null=True, on_delete=models.CASCADE) course = models.ForeignKey(Course, null=True, blank=True, @@ -2533,11 +2621,13 @@ class StandardTestCase(TestCase): test_case = models.TextField() weight = models.FloatField(default=1.0) test_case_args = models.TextField(blank=True) + hidden = models.BooleanField(default=False) def get_field_value(self): return {"test_case_type": "standardtestcase", "test_case": self.test_case, "weight": self.weight, + "hidden": self.hidden, "test_case_args": self.test_case_args} def __str__(self): @@ -2548,11 +2638,13 @@ class StdIOBasedTestCase(TestCase): expected_input = models.TextField(default=None, blank=True, null=True) expected_output = models.TextField(default=None) weight = models.IntegerField(default=1.0) + hidden = models.BooleanField(default=False) def get_field_value(self): return {"test_case_type": "stdiobasedtestcase", "expected_output": self.expected_output, "expected_input": self.expected_input, + "hidden": self.hidden, "weight": self.weight} def __str__(self): @@ -2598,10 +2690,11 @@ class HookTestCase(TestCase): ) weight = models.FloatField(default=1.0) + hidden = models.BooleanField(default=False) def get_field_value(self): return {"test_case_type": "hooktestcase", "hook_code": self.hook_code, - "weight": self.weight} + "hidden": self.hidden, "weight": self.weight} def __str__(self): return u'Hook Testcase | Correct: {0}'.format(self.hook_code) @@ -2682,12 +2775,20 @@ class ForumBase(models.Model): image = models.ImageField(upload_to=get_image_dir, blank=True, null=True, validators=[validate_image]) active = models.BooleanField(default=True) + anonymous = models.BooleanField(default=False) class Post(ForumBase): title = models.CharField(max_length=200) - course = models.ForeignKey(Course, - on_delete=models.CASCADE, related_name='post') + target_ct = models.ForeignKey(ContentType, + blank=True, + null=True, + related_name='target_obj', + on_delete=models.CASCADE) + target_id = models.PositiveIntegerField(null=True, + blank=True, + db_index=True) + target = GenericForeignKey('target_ct', 'target_id') def __str__(self): return self.title @@ -2706,3 +2807,357 @@ class Comment(ForumBase): def __str__(self): return 'Comment by {0}: {1}'.format(self.creator.username, self.post_field.title) + + +class TOCManager(models.Manager): + + def get_data(self, course_id, lesson_id): + contents = TableOfContents.objects.filter( + course_id=course_id, lesson_id=lesson_id, content__in=[2, 3, 4] + ) + data = {} + for toc in contents: + data[toc] = LessonQuizAnswer.objects.filter( + toc_id=toc.id).values_list( + "student_id", flat=True).distinct().count() + return data + + def get_question_stats(self, toc_id): + answers = LessonQuizAnswer.objects.get_queryset().filter( + toc_id=toc_id).order_by('id') + question = TableOfContents.objects.get(id=toc_id).content_object + if answers.exists(): + answers = answers.values( + "student__first_name", "student__last_name", "student__email", + "student_id", "student__profile__roll_number", "toc_id" + ) + df = pd.DataFrame(answers) + answers = df.drop_duplicates().to_dict(orient='records') + return question, answers + + def get_per_tc_ans(self, toc_id, question_type, is_percent=True): + answers = LessonQuizAnswer.objects.filter(toc_id=toc_id).values( + "student_id", "answer__answer" + ).order_by("id") + data = None + if answers.exists(): + df = pd.DataFrame(answers) + grp = df.groupby(["student_id"]).tail(1) + total_count = grp.count().answer__answer + data = grp.groupby(["answer__answer"]).count().to_dict().get( + "student_id") + if question_type == "mcc": + tc_ids = [] + mydata = {} + for i in data.keys(): + tc_ids.extend(literal_eval(i)) + for j in tc_ids: + if j not in mydata: + mydata[j] = 1 + else: + mydata[j] +=1 + data = mydata.copy() + if is_percent: + for key, value in data.items(): + data[key] = (value/total_count)*100 + return data, total_count + + def get_answer(self, toc_id, user_id): + submission = LessonQuizAnswer.objects.filter( + toc_id=toc_id, student_id=user_id).last() + question = submission.toc.content_object + attempted_answer = submission.answer + if question.type == "mcq": + submitted_answer = literal_eval(attempted_answer.answer) + answers = [ + tc.options + for tc in question.get_test_cases(id=submitted_answer) + ] + answer = ",".join(answers) + elif question.type == "mcc": + submitted_answer = literal_eval(attempted_answer.answer) + answers = [ + tc.options + for tc in question.get_test_cases(id__in=submitted_answer) + ] + answer = ",".join(answers) + else: + answer = attempted_answer.answer + return answer, attempted_answer.correct + + def add_contents(self, course_id, lesson_id, user, contents): + toc = [] + messages = [] + for content in contents: + name = content.get('name') or content.get('summary') + if "content_type" not in content or "time" not in content: + messages.append( + (False, + f"content_type or time key is missing in {name}") + ) + else: + content_type = content.pop('content_type') + time = content.pop('time') + if not is_valid_time_format(time): + messages.append( + (False, + f"Invalid time format in {name}. " + "Format should be 00:00:00") + ) + else: + if content_type == 1: + topic = Topic.objects.create(**content) + toc.append(TableOfContents( + course_id=course_id, lesson_id=lesson_id, time=time, + content_object=topic, content=content_type + )) + messages.append((True, f"{topic.name} added successfully")) + else: + content['user'] = user + test_cases = content.pop("testcase") + que_type = content.get('type') + if "files" in content: + content.pop("files") + if "tags" in content: + content.pop("tags") + if (que_type in ['code', 'upload']): + messages.append( + (False, f"{que_type} question is not allowed. " + f"{content.get('summary')} is not added") + ) + else: + que = Question.objects.create(**content) + for test_case in test_cases: + test_case_type = test_case.pop('test_case_type') + model_class = get_model_class(test_case_type) + model_class.objects.get_or_create( + question=que, **test_case, type=test_case_type + ) + toc.append(TableOfContents( + course_id=course_id, lesson_id=lesson_id, + time=time, content_object=que, + content=content_type + )) + messages.append( + (True, f"{que.summary} added successfully") + ) + if toc: + TableOfContents.objects.bulk_create(toc) + return messages + + +class TableOfContents(models.Model): + toc_types = ((1, "Topic"), (2, "Graded Quiz"), (3, "Exercise"), (4, "Poll")) + course = models.ForeignKey(Course, on_delete=models.CASCADE, + related_name='course') + lesson = models.ForeignKey(Lesson, on_delete=models.CASCADE, + related_name='contents') + time = models.CharField(max_length=100, default=0) + content = models.IntegerField(choices=toc_types) + content_type = models.ForeignKey(ContentType, on_delete=models.CASCADE) + object_id = models.PositiveIntegerField() + content_object = GenericForeignKey() + + objects = TOCManager() + + class Meta: + verbose_name_plural = "Table Of Contents" + + def get_toc_text(self): + if self.content == 1: + content_name = self.content_object.name + else: + content_name = self.content_object.summary + return content_name + + def __str__(self): + return f"TOC for {self.lesson.name} with {self.get_content_display()}" + + +class Topic(models.Model): + name = models.CharField(max_length=255) + description = models.TextField(null=True, blank=True) + content = GenericRelation(TableOfContents) + + def __str__(self): + return f"{self.name}" + + +class LessonQuizAnswer(models.Model): + toc = models.ForeignKey(TableOfContents, on_delete=models.CASCADE) + student = models.ForeignKey(User, on_delete=models.CASCADE) + answer = models.ForeignKey(Answer, on_delete=models.CASCADE) + + def check_answer(self, user_answer): + result = {'success': False, 'error': ['Incorrect answer'], + 'weight': 0.0} + question = self.toc.content_object + if question.type == 'mcq': + expected_answer = question.get_test_case(correct=True).id + if user_answer.strip() == str(expected_answer).strip(): + result['success'] = True + result['error'] = ['Correct answer'] + + elif question.type == 'mcc': + expected_answers = [ + str(opt.id) for opt in question.get_test_cases(correct=True) + ] + if set(user_answer) == set(expected_answers): + result['success'] = True + result['error'] = ['Correct answer'] + + elif question.type == 'integer': + expected_answers = [ + int(tc.correct) for tc in question.get_test_cases() + ] + if int(user_answer) in expected_answers: + result['success'] = True + result['error'] = ['Correct answer'] + + elif question.type == 'string': + tc_status = [] + for tc in question.get_test_cases(): + if tc.string_check == "lower": + if tc.correct.lower().splitlines()\ + == user_answer.lower().splitlines(): + tc_status.append(True) + else: + if tc.correct.splitlines()\ + == user_answer.splitlines(): + tc_status.append(True) + if any(tc_status): + result['success'] = True + result['error'] = ['Correct answer'] + + elif question.type == 'float': + user_answer = float(user_answer) + tc_status = [] + for tc in question.get_test_cases(): + if abs(tc.correct - user_answer) <= tc.error_margin: + tc_status.append(True) + if any(tc_status): + result['success'] = True + result['error'] = ['Correct answer'] + + elif question.type == 'arrange': + testcase_ids = sorted( + [tc.id for tc in question.get_test_cases()] + ) + if user_answer == testcase_ids: + result['success'] = True + result['error'] = ['Correct answer'] + self.answer.error = result + ans_status = result.get("success") + self.answer.correct = ans_status + if ans_status: + self.answer.marks = self.answer.question.points + self.answer.save() + return result + + def __str__(self): + return f"Lesson answer of {self.toc} by {self.student.get_full_name()}" + + +class MicroManager(models.Model): + manager = models.ForeignKey(User, on_delete=models.CASCADE, + related_name='micromanaging', null=True) + student = models.ForeignKey(User, on_delete=models.CASCADE, + related_name='micromanaged') + course = models.ForeignKey(Course, on_delete=models.CASCADE) + quiz = models.ForeignKey(Quiz, on_delete=models.CASCADE, null=True) + special_attempt = models.BooleanField(default=False) + attempts_permitted = models.IntegerField(default=0) + permitted_time = models.DateTimeField(default=timezone.now) + attempts_utilised = models.IntegerField(default=0) + wait_time = models.IntegerField('Days to wait before special attempt', + default=0) + attempt_valid_for = models.IntegerField('Validity days', default=90) + + class Meta: + unique_together = ('student', 'course', 'quiz') + + def set_wait_time(self, days=0): + self.wait_time = days + self.save() + + def increment_attempts_permitted(self): + self.attempts_permitted += 1 + self.save() + + def update_permitted_time(self, permit_time=None): + time_now = timezone.now() + self.permitted_time = time_now if not permit_time else permit_time + self.save() + + def has_student_attempts_exhausted(self): + if self.quiz.attempts_allowed == -1: + return False + question_paper = self.quiz.questionpaper_set.first() + attempts = AnswerPaper.objects.get_total_attempt( + question_paper, self.student, course_id=self.course.id + ) + last_attempt = AnswerPaper.objects.get_user_last_attempt( + question_paper, self.student, self.course.id + ) + if last_attempt: + if last_attempt.is_attempt_inprogress(): + return False + return attempts >= self.quiz.attempts_allowed + + def is_last_attempt_inprogress(self): + question_paper = self.quiz.questionpaper_set.first() + last_attempt = AnswerPaper.objects.get_user_last_attempt( + question_paper, self.student, self.course.id + ) + if last_attempt: + return last_attempt.is_attempt_inprogress() + return False + + def has_quiz_time_exhausted(self): + return not self.quiz.active or self.quiz.is_expired() + + def is_course_exhausted(self): + return not self.course.active or not self.course.is_active_enrollment() + + def is_special_attempt_required(self): + return (self.has_student_attempts_exhausted() or + self.has_quiz_time_exhausted() or self.is_course_exhausted()) + + def allow_special_attempt(self, wait_time=0): + if (self.is_special_attempt_required() and + not self.is_last_attempt_inprogress()): + self.special_attempt = True + if self.attempts_utilised >= self.attempts_permitted: + self.increment_attempts_permitted() + self.update_permitted_time() + self.set_wait_time(days=wait_time) + self.save() + + def has_special_attempt(self): + return (self.special_attempt and + (self.attempts_utilised < self.attempts_permitted)) + + def is_attempt_time_valid(self): + permit_time = self.permitted_time + wait_time = permit_time + timezone.timedelta(days=self.wait_time) + valid_time = permit_time + timezone.timedelta( + days=self.attempt_valid_for) + return wait_time <= timezone.now() <= valid_time + + def can_student_attempt(self): + return self.has_special_attempt() and self.is_attempt_time_valid() + + def get_attempt_number(self): + return self.quiz.attempts_allowed + self.attempts_utilised + 1 + + def increment_attempts_utilised(self): + self.attempts_utilised += 1 + self.save() + + def revoke_special_attempt(self): + self.special_attempt = False + self.save() + + def __str__(self): + return 'MicroManager for {0} - {1}'.format(self.student.username, + self.course.name) diff --git a/yaksh/python_assertion_evaluator.py b/yaksh/python_assertion_evaluator.py index 4b016a1..368206a 100644 --- a/yaksh/python_assertion_evaluator.py +++ b/yaksh/python_assertion_evaluator.py @@ -24,6 +24,7 @@ class PythonAssertionEvaluator(BaseEvaluator): # Set test case data values self.test_case = test_case_data.get('test_case') self.weight = test_case_data.get('weight') + self.hidden = test_case_data.get('hidden') def teardown(self): # Delete the created file. diff --git a/yaksh/python_stdio_evaluator.py b/yaksh/python_stdio_evaluator.py index a1e8f72..272bf34 100644 --- a/yaksh/python_stdio_evaluator.py +++ b/yaksh/python_stdio_evaluator.py @@ -36,6 +36,7 @@ class PythonStdIOEvaluator(BaseEvaluator): self.expected_input = test_case_data.get('expected_input') self.expected_output = test_case_data.get('expected_output') self.weight = test_case_data.get('weight') + self.hidden = test_case_data.get('hidden') def teardown(self): # Delete the created file. diff --git a/yaksh/r_code_evaluator.py b/yaksh/r_code_evaluator.py index 8eaeb38..8aeb7ec 100644 --- a/yaksh/r_code_evaluator.py +++ b/yaksh/r_code_evaluator.py @@ -24,6 +24,7 @@ class RCodeEvaluator(BaseEvaluator): # Set test case data values self.test_case = test_case_data.get('test_case') self.weight = test_case_data.get('weight') + self.hidden = test_case_data.get('hidden') def teardown(self): # Delete the created file. diff --git a/yaksh/scilab_code_evaluator.py b/yaksh/scilab_code_evaluator.py index 9f26234..a3df443 100644 --- a/yaksh/scilab_code_evaluator.py +++ b/yaksh/scilab_code_evaluator.py @@ -23,6 +23,7 @@ class ScilabCodeEvaluator(BaseEvaluator): # Set test case data values self.test_case = test_case_data.get('test_case') self.weight = test_case_data.get('weight') + self.hidden = test_case_data.get('hidden') def teardown(self): # Delete the created file. diff --git a/yaksh/static/yaksh/css/argon.css b/yaksh/static/yaksh/css/argon.css new file mode 100644 index 0000000..79e7290 --- /dev/null +++ b/yaksh/static/yaksh/css/argon.css @@ -0,0 +1,29840 @@ +@charset 'UTF-8'; +/*! + +========================================================= +* Argon Dashboard - v1.2.0 +========================================================= + +* Product Page: https://www.creative-tim.com/product/argon-dashboard +* Copyright 2020 Creative Tim (https://www.creative-tim.com) +* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard/blob/master/LICENSE.md) + +* Coded by www.creative-tim.com + +========================================================= + +* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +*/ +:root +{ + --blue: #5e72e4; + --indigo: #5603ad; + --purple: #8965e0; + --pink: #f3a4b5; + --red: #f5365c; + --orange: #fb6340; + --yellow: #ffd600; + --green: #2dce89; + --teal: #11cdef; + --cyan: #2bffc6; + --white: #fff; + --gray: #8898aa; + --gray-dark: #32325d; + --light: #ced4da; + --lighter: #e9ecef; + --primary: #5e72e4; + --secondary: #f7fafc; + --success: #2dce89; + --info: #11cdef; + --warning: #fb6340; + --danger: #f5365c; + --light: #adb5bd; + --dark: #212529; + --default: #172b4d; + --white: #fff; + --neutral: #fff; + --darker: black; + --breakpoint-xs: 0; + --breakpoint-sm: 576px; + --breakpoint-md: 768px; + --breakpoint-lg: 992px; + --breakpoint-xl: 1200px; + --font-family-sans-serif: Open Sans, sans-serif; + --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; +} + +*, +*::before, +*::after +{ + box-sizing: border-box; +} + +html +{ + font-family: sans-serif; + line-height: 1.15; + + -webkit-text-size-adjust: 100%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +article, +aside, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section +{ + display: block; +} + +body +{ + font-family: Open Sans, sans-serif; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + + margin: 0; + + text-align: left; + + color: #525f7f; + background-color: #f8f9fe; +} + +[tabindex='-1']:focus:not(:focus-visible) +{ + outline: 0 !important; +} + +hr +{ + overflow: visible; + + box-sizing: content-box; + height: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6 +{ + margin-top: 0; + margin-bottom: .5rem; +} + +p +{ + margin-top: 0; + margin-bottom: 1rem; +} + +abbr[title], +abbr[data-original-title] +{ + cursor: help; + text-decoration: underline; + text-decoration: underline dotted; + + border-bottom: 0; + + -webkit-text-decoration: underline dotted; + text-decoration-skip-ink: none; +} + +address +{ + font-style: normal; + line-height: inherit; + + margin-bottom: 1rem; +} + +ol, +ul, +dl +{ + margin-top: 0; + margin-bottom: 1rem; +} + +ol ol, +ul ul, +ol ul, +ul ol +{ + margin-bottom: 0; +} + +dt +{ + font-weight: 600; +} + +dd +{ + margin-bottom: .5rem; + margin-left: 0; +} + +blockquote +{ + margin: 0 0 1rem; +} + +b, +strong +{ + font-weight: bolder; +} + +small +{ + font-size: 80%; +} + +sub, +sup +{ + font-size: 75%; + line-height: 0; + + position: relative; + + vertical-align: baseline; +} + +sub +{ + bottom: -.25em; +} + +sup +{ + top: -.5em; +} + +a +{ + text-decoration: none; + + color: #5e72e4; + background-color: transparent; +} +a:hover +{ + text-decoration: none; + + color: #233dd2; +} + +a:not([href]) +{ + text-decoration: none; + + color: inherit; +} +a:not([href]):hover +{ + text-decoration: none; + + color: inherit; +} + +pre, +code, +kbd, +samp +{ + font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; + font-size: 1em; +} + +pre +{ + overflow: auto; + + margin-top: 0; + margin-bottom: 1rem; +} + +figure +{ + margin: 0 0 1rem; +} + +img +{ + vertical-align: middle; + + border-style: none; +} + +svg +{ + overflow: hidden; + + vertical-align: middle; +} + +table +{ + border-collapse: collapse; +} + +caption +{ + padding-top: 1rem; + padding-bottom: 1rem; + + caption-side: bottom; + + text-align: left; + + color: #8898aa; +} + +th +{ + text-align: inherit; +} + +label +{ + display: inline-block; + + margin-bottom: .5rem; +} + +button +{ + border-radius: 0; +} + +button:focus +{ + outline: 1px dotted; + outline: 5px auto -webkit-focus-ring-color; +} + +input, +button, +select, +optgroup, +textarea +{ + font-family: inherit; + font-size: inherit; + line-height: inherit; + + margin: 0; +} + +button, +input +{ + overflow: visible; +} + +button, +select +{ + text-transform: none; +} + +select +{ + word-wrap: normal; +} + +button, +[type='button'], +[type='reset'], +[type='submit'] +{ + -webkit-appearance: button; +} + +button:not(:disabled), +[type='button']:not(:disabled), +[type='reset']:not(:disabled), +[type='submit']:not(:disabled) +{ + cursor: pointer; +} + +button::-moz-focus-inner, +[type='button']::-moz-focus-inner, +[type='reset']::-moz-focus-inner, +[type='submit']::-moz-focus-inner +{ + padding: 0; + + border-style: none; +} + +input[type='radio'], +input[type='checkbox'] +{ + box-sizing: border-box; + padding: 0; +} + +input[type='date'], +input[type='time'], +input[type='datetime-local'], +input[type='month'] +{ + -webkit-appearance: listbox; +} + +textarea +{ + overflow: auto; + + resize: vertical; +} + +fieldset +{ + min-width: 0; + margin: 0; + padding: 0; + + border: 0; +} + +legend +{ + font-size: 1.5rem; + line-height: inherit; + + display: block; + + width: 100%; + max-width: 100%; + margin-bottom: .5rem; + padding: 0; + + white-space: normal; + + color: inherit; +} +@media (max-width: 1200px) +{ + legend + { + font-size: calc(1.275rem + .3vw) ; + } +} + +progress +{ + vertical-align: baseline; +} + +[type='number']::-webkit-inner-spin-button, +[type='number']::-webkit-outer-spin-button +{ + height: auto; +} + +[type='search'] +{ + outline-offset: -2px; + + -webkit-appearance: none; +} + +[type='search']::-webkit-search-decoration +{ + -webkit-appearance: none; +} + +::-webkit-file-upload-button +{ + font: inherit; + + -webkit-appearance: button; +} + +output +{ + display: inline-block; +} + +summary +{ + display: list-item; + + cursor: pointer; +} + +template +{ + display: none; +} + +[hidden] +{ + display: none !important; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 +{ + font-family: inherit; + font-weight: 600; + line-height: 1.5; + + margin-bottom: .5rem; + + color: #32325d; +} + +h1, +.h1 +{ + font-size: 1.625rem; +} +@media (max-width: 1200px) +{ + h1, + .h1 + { + font-size: calc(1.2875rem + .45vw) ; + } +} + +h2, +.h2 +{ + font-size: 1.25rem; +} + +h3, +.h3 +{ + font-size: 1.0625rem; +} + +h4, +.h4 +{ + font-size: .9375rem; +} + +h5, +.h5 +{ + font-size: .8125rem; +} + +h6, +.h6 +{ + font-size: .625rem; +} + +.lead +{ + font-size: 1.25rem; + font-weight: 300; +} + +.display-1 +{ + font-size: 3.3rem; + font-weight: 600; + line-height: 1.5; +} +@media (max-width: 1200px) +{ + .display-1 + { + font-size: calc(1.455rem + 2.46vw) ; + } +} + +.display-2 +{ + font-size: 2.75rem; + font-weight: 600; + line-height: 1.5; +} +@media (max-width: 1200px) +{ + .display-2 + { + font-size: calc(1.4rem + 1.8vw) ; + } +} + +.display-3 +{ + font-size: 2.1875rem; + font-weight: 600; + line-height: 1.5; +} +@media (max-width: 1200px) +{ + .display-3 + { + font-size: calc(1.34375rem + 1.125vw) ; + } +} + +.display-4 +{ + font-size: 1.6275rem; + font-weight: 600; + line-height: 1.5; +} +@media (max-width: 1200px) +{ + .display-4 + { + font-size: calc(1.28775rem + .453vw) ; + } +} + +hr +{ + margin-top: 2rem; + margin-bottom: 2rem; + + border: 0; + border-top: 1px solid rgba(0, 0, 0, .1); +} + +small, +.small +{ + font-size: 80%; + font-weight: 400; +} + +mark, +.mark +{ + padding: .2em; + + background-color: #fcf8e3; +} + +.list-unstyled +{ + padding-left: 0; + + list-style: none; +} + +.list-inline +{ + padding-left: 0; + + list-style: none; +} + +.list-inline-item +{ + display: inline-block; +} +.list-inline-item:not(:last-child) +{ + margin-right: .5rem; +} + +.initialism +{ + font-size: 90%; + + text-transform: uppercase; +} + +.blockquote +{ + font-size: 1.25rem; + + margin-bottom: 1rem; +} + +.blockquote-footer +{ + font-size: 80%; + + display: block; + + color: #8898aa; +} +.blockquote-footer::before +{ + content: '\2014\00A0'; +} + +.img-fluid +{ + max-width: 100%; + height: auto; +} + +.img-thumbnail +{ + max-width: 100%; + height: auto; + padding: .25rem; + + border: 1px solid #dee2e6; + border-radius: .375rem; + background-color: #f8f9fe; + box-shadow: 0 1px 2px rgba(0, 0, 0, .075); +} + +.figure +{ + display: inline-block; +} + +.figure-img +{ + line-height: 1; + + margin-bottom: .5rem; +} + +.figure-caption +{ + font-size: 90%; + + color: #8898aa; +} + +code +{ + font-size: 87.5%; + + word-wrap: break-word; + + color: #f3a4b5; +} +a > code +{ + color: inherit; +} + +kbd +{ + font-size: 87.5%; + + padding: .2rem .4rem; + + color: #fff; + border-radius: .25rem; + background-color: #212529; + box-shadow: inset 0 -.1rem 0 rgba(0, 0, 0, .25); +} +kbd kbd +{ + font-size: 100%; + font-weight: 600; + + padding: 0; + + box-shadow: none; +} + +pre +{ + font-size: 87.5%; + + display: block; + + color: #212529; +} +pre code +{ + font-size: inherit; + + word-break: normal; + + color: inherit; +} + +.pre-scrollable +{ + overflow-y: scroll; + + max-height: 340px; +} + +.container +{ + width: 100%; + margin-right: auto; + margin-left: auto; + padding-right: 15px; + padding-left: 15px; +} +@media (min-width: 576px) +{ + .container + { + max-width: 540px; + } +} +@media (min-width: 768px) +{ + .container + { + max-width: 720px; + } +} +@media (min-width: 992px) +{ + .container + { + max-width: 960px; + } +} +@media (min-width: 1200px) +{ + .container + { + max-width: 1140px; + } +} + +.container-fluid, +.container-sm, +.container-md, +.container-lg, +.container-xl +{ + width: 100%; + margin-right: auto; + margin-left: auto; + padding-right: 15px; + padding-left: 15px; +} + +@media (min-width: 576px) +{ + .container, + .container-sm + { + max-width: 540px; + } +} + +@media (min-width: 768px) +{ + .container, + .container-sm, + .container-md + { + max-width: 720px; + } +} + +@media (min-width: 992px) +{ + .container, + .container-sm, + .container-md, + .container-lg + { + max-width: 960px; + } +} + +@media (min-width: 1200px) +{ + .container, + .container-sm, + .container-md, + .container-lg, + .container-xl + { + max-width: 1140px; + } +} + +.row +{ + display: flex; + + margin-right: -15px; + margin-left: -15px; + + flex-wrap: wrap; +} + +.no-gutters +{ + margin-right: 0; + margin-left: 0; +} +.no-gutters > .col, +.no-gutters > [class*='col-'] +{ + padding-right: 0; + padding-left: 0; +} + +.col-1, +.col-2, +.col-3, +.col-4, +.col-5, +.col-6, +.col-7, +.col-8, +.col-9, +.col-10, +.col-11, +.col-12, +.col, +.col-auto, +.col-sm-1, +.col-sm-2, +.col-sm-3, +.col-sm-4, +.col-sm-5, +.col-sm-6, +.col-sm-7, +.col-sm-8, +.col-sm-9, +.col-sm-10, +.col-sm-11, +.col-sm-12, +.col-sm, +.col-sm-auto, +.col-md-1, +.col-md-2, +.col-md-3, +.col-md-4, +.col-md-5, +.col-md-6, +.col-md-7, +.col-md-8, +.col-md-9, +.col-md-10, +.col-md-11, +.col-md-12, +.col-md, +.col-md-auto, +.col-lg-1, +.col-lg-2, +.col-lg-3, +.col-lg-4, +.col-lg-5, +.col-lg-6, +.col-lg-7, +.col-lg-8, +.col-lg-9, +.col-lg-10, +.col-lg-11, +.col-lg-12, +.col-lg, +.col-lg-auto, +.col-xl-1, +.col-xl-2, +.col-xl-3, +.col-xl-4, +.col-xl-5, +.col-xl-6, +.col-xl-7, +.col-xl-8, +.col-xl-9, +.col-xl-10, +.col-xl-11, +.col-xl-12, +.col-xl, +.col-xl-auto +{ + position: relative; + + width: 100%; + padding-right: 15px; + padding-left: 15px; +} + +.col +{ + max-width: 100%; + + flex-basis: 0; + flex-grow: 1; +} + +.row-cols-1 > * +{ + max-width: 100%; + + flex: 0 0 100%; +} + +.row-cols-2 > * +{ + max-width: 50%; + + flex: 0 0 50%; +} + +.row-cols-3 > * +{ + max-width: 33.33333%; + + flex: 0 0 33.33333%; +} + +.row-cols-4 > * +{ + max-width: 25%; + + flex: 0 0 25%; +} + +.row-cols-5 > * +{ + max-width: 20%; + + flex: 0 0 20%; +} + +.row-cols-6 > * +{ + max-width: 16.66667%; + + flex: 0 0 16.66667%; +} + +.col-auto +{ + width: auto; + max-width: 100%; + + flex: 0 0 auto; +} + +.col-1 +{ + max-width: 8.33333%; + + flex: 0 0 8.33333%; +} + +.col-2 +{ + max-width: 16.66667%; + + flex: 0 0 16.66667%; +} + +.col-3 +{ + max-width: 25%; + + flex: 0 0 25%; +} + +.col-4 +{ + max-width: 33.33333%; + + flex: 0 0 33.33333%; +} + +.col-5 +{ + max-width: 41.66667%; + + flex: 0 0 41.66667%; +} + +.col-6 +{ + max-width: 50%; + + flex: 0 0 50%; +} + +.col-7 +{ + max-width: 58.33333%; + + flex: 0 0 58.33333%; +} + +.col-8 +{ + max-width: 66.66667%; + + flex: 0 0 66.66667%; +} + +.col-9 +{ + max-width: 75%; + + flex: 0 0 75%; +} + +.col-10 +{ + max-width: 83.33333%; + + flex: 0 0 83.33333%; +} + +.col-11 +{ + max-width: 91.66667%; + + flex: 0 0 91.66667%; +} + +.col-12 +{ + max-width: 100%; + + flex: 0 0 100%; +} + +.order-first +{ + order: -1; +} + +.order-last +{ + order: 13; +} + +.order-0 +{ + order: 0; +} + +.order-1 +{ + order: 1; +} + +.order-2 +{ + order: 2; +} + +.order-3 +{ + order: 3; +} + +.order-4 +{ + order: 4; +} + +.order-5 +{ + order: 5; +} + +.order-6 +{ + order: 6; +} + +.order-7 +{ + order: 7; +} + +.order-8 +{ + order: 8; +} + +.order-9 +{ + order: 9; +} + +.order-10 +{ + order: 10; +} + +.order-11 +{ + order: 11; +} + +.order-12 +{ + order: 12; +} + +.offset-1 +{ + margin-left: 8.33333%; +} + +.offset-2 +{ + margin-left: 16.66667%; +} + +.offset-3 +{ + margin-left: 25%; +} + +.offset-4 +{ + margin-left: 33.33333%; +} + +.offset-5 +{ + margin-left: 41.66667%; +} + +.offset-6 +{ + margin-left: 50%; +} + +.offset-7 +{ + margin-left: 58.33333%; +} + +.offset-8 +{ + margin-left: 66.66667%; +} + +.offset-9 +{ + margin-left: 75%; +} + +.offset-10 +{ + margin-left: 83.33333%; +} + +.offset-11 +{ + margin-left: 91.66667%; +} + +@media (min-width: 576px) +{ + .col-sm + { + max-width: 100%; + + flex-basis: 0; + flex-grow: 1; + } + .row-cols-sm-1 > * + { + max-width: 100%; + + flex: 0 0 100%; + } + .row-cols-sm-2 > * + { + max-width: 50%; + + flex: 0 0 50%; + } + .row-cols-sm-3 > * + { + max-width: 33.33333%; + + flex: 0 0 33.33333%; + } + .row-cols-sm-4 > * + { + max-width: 25%; + + flex: 0 0 25%; + } + .row-cols-sm-5 > * + { + max-width: 20%; + + flex: 0 0 20%; + } + .row-cols-sm-6 > * + { + max-width: 16.66667%; + + flex: 0 0 16.66667%; + } + .col-sm-auto + { + width: auto; + max-width: 100%; + + flex: 0 0 auto; + } + .col-sm-1 + { + max-width: 8.33333%; + + flex: 0 0 8.33333%; + } + .col-sm-2 + { + max-width: 16.66667%; + + flex: 0 0 16.66667%; + } + .col-sm-3 + { + max-width: 25%; + + flex: 0 0 25%; + } + .col-sm-4 + { + max-width: 33.33333%; + + flex: 0 0 33.33333%; + } + .col-sm-5 + { + max-width: 41.66667%; + + flex: 0 0 41.66667%; + } + .col-sm-6 + { + max-width: 50%; + + flex: 0 0 50%; + } + .col-sm-7 + { + max-width: 58.33333%; + + flex: 0 0 58.33333%; + } + .col-sm-8 + { + max-width: 66.66667%; + + flex: 0 0 66.66667%; + } + .col-sm-9 + { + max-width: 75%; + + flex: 0 0 75%; + } + .col-sm-10 + { + max-width: 83.33333%; + + flex: 0 0 83.33333%; + } + .col-sm-11 + { + max-width: 91.66667%; + + flex: 0 0 91.66667%; + } + .col-sm-12 + { + max-width: 100%; + + flex: 0 0 100%; + } + .order-sm-first + { + order: -1; + } + .order-sm-last + { + order: 13; + } + .order-sm-0 + { + order: 0; + } + .order-sm-1 + { + order: 1; + } + .order-sm-2 + { + order: 2; + } + .order-sm-3 + { + order: 3; + } + .order-sm-4 + { + order: 4; + } + .order-sm-5 + { + order: 5; + } + .order-sm-6 + { + order: 6; + } + .order-sm-7 + { + order: 7; + } + .order-sm-8 + { + order: 8; + } + .order-sm-9 + { + order: 9; + } + .order-sm-10 + { + order: 10; + } + .order-sm-11 + { + order: 11; + } + .order-sm-12 + { + order: 12; + } + .offset-sm-0 + { + margin-left: 0; + } + .offset-sm-1 + { + margin-left: 8.33333%; + } + .offset-sm-2 + { + margin-left: 16.66667%; + } + .offset-sm-3 + { + margin-left: 25%; + } + .offset-sm-4 + { + margin-left: 33.33333%; + } + .offset-sm-5 + { + margin-left: 41.66667%; + } + .offset-sm-6 + { + margin-left: 50%; + } + .offset-sm-7 + { + margin-left: 58.33333%; + } + .offset-sm-8 + { + margin-left: 66.66667%; + } + .offset-sm-9 + { + margin-left: 75%; + } + .offset-sm-10 + { + margin-left: 83.33333%; + } + .offset-sm-11 + { + margin-left: 91.66667%; + } +} + +@media (min-width: 768px) +{ + .col-md + { + max-width: 100%; + + flex-basis: 0; + flex-grow: 1; + } + .row-cols-md-1 > * + { + max-width: 100%; + + flex: 0 0 100%; + } + .row-cols-md-2 > * + { + max-width: 50%; + + flex: 0 0 50%; + } + .row-cols-md-3 > * + { + max-width: 33.33333%; + + flex: 0 0 33.33333%; + } + .row-cols-md-4 > * + { + max-width: 25%; + + flex: 0 0 25%; + } + .row-cols-md-5 > * + { + max-width: 20%; + + flex: 0 0 20%; + } + .row-cols-md-6 > * + { + max-width: 16.66667%; + + flex: 0 0 16.66667%; + } + .col-md-auto + { + width: auto; + max-width: 100%; + + flex: 0 0 auto; + } + .col-md-1 + { + max-width: 8.33333%; + + flex: 0 0 8.33333%; + } + .col-md-2 + { + max-width: 16.66667%; + + flex: 0 0 16.66667%; + } + .col-md-3 + { + max-width: 25%; + + flex: 0 0 25%; + } + .col-md-4 + { + max-width: 33.33333%; + + flex: 0 0 33.33333%; + } + .col-md-5 + { + max-width: 41.66667%; + + flex: 0 0 41.66667%; + } + .col-md-6 + { + max-width: 50%; + + flex: 0 0 50%; + } + .col-md-7 + { + max-width: 58.33333%; + + flex: 0 0 58.33333%; + } + .col-md-8 + { + max-width: 66.66667%; + + flex: 0 0 66.66667%; + } + .col-md-9 + { + max-width: 75%; + + flex: 0 0 75%; + } + .col-md-10 + { + max-width: 83.33333%; + + flex: 0 0 83.33333%; + } + .col-md-11 + { + max-width: 91.66667%; + + flex: 0 0 91.66667%; + } + .col-md-12 + { + max-width: 100%; + + flex: 0 0 100%; + } + .order-md-first + { + order: -1; + } + .order-md-last + { + order: 13; + } + .order-md-0 + { + order: 0; + } + .order-md-1 + { + order: 1; + } + .order-md-2 + { + order: 2; + } + .order-md-3 + { + order: 3; + } + .order-md-4 + { + order: 4; + } + .order-md-5 + { + order: 5; + } + .order-md-6 + { + order: 6; + } + .order-md-7 + { + order: 7; + } + .order-md-8 + { + order: 8; + } + .order-md-9 + { + order: 9; + } + .order-md-10 + { + order: 10; + } + .order-md-11 + { + order: 11; + } + .order-md-12 + { + order: 12; + } + .offset-md-0 + { + margin-left: 0; + } + .offset-md-1 + { + margin-left: 8.33333%; + } + .offset-md-2 + { + margin-left: 16.66667%; + } + .offset-md-3 + { + margin-left: 25%; + } + .offset-md-4 + { + margin-left: 33.33333%; + } + .offset-md-5 + { + margin-left: 41.66667%; + } + .offset-md-6 + { + margin-left: 50%; + } + .offset-md-7 + { + margin-left: 58.33333%; + } + .offset-md-8 + { + margin-left: 66.66667%; + } + .offset-md-9 + { + margin-left: 75%; + } + .offset-md-10 + { + margin-left: 83.33333%; + } + .offset-md-11 + { + margin-left: 91.66667%; + } +} + +@media (min-width: 992px) +{ + .col-lg + { + max-width: 100%; + + flex-basis: 0; + flex-grow: 1; + } + .row-cols-lg-1 > * + { + max-width: 100%; + + flex: 0 0 100%; + } + .row-cols-lg-2 > * + { + max-width: 50%; + + flex: 0 0 50%; + } + .row-cols-lg-3 > * + { + max-width: 33.33333%; + + flex: 0 0 33.33333%; + } + .row-cols-lg-4 > * + { + max-width: 25%; + + flex: 0 0 25%; + } + .row-cols-lg-5 > * + { + max-width: 20%; + + flex: 0 0 20%; + } + .row-cols-lg-6 > * + { + max-width: 16.66667%; + + flex: 0 0 16.66667%; + } + .col-lg-auto + { + width: auto; + max-width: 100%; + + flex: 0 0 auto; + } + .col-lg-1 + { + max-width: 8.33333%; + + flex: 0 0 8.33333%; + } + .col-lg-2 + { + max-width: 16.66667%; + + flex: 0 0 16.66667%; + } + .col-lg-3 + { + max-width: 25%; + + flex: 0 0 25%; + } + .col-lg-4 + { + max-width: 33.33333%; + + flex: 0 0 33.33333%; + } + .col-lg-5 + { + max-width: 41.66667%; + + flex: 0 0 41.66667%; + } + .col-lg-6 + { + max-width: 50%; + + flex: 0 0 50%; + } + .col-lg-7 + { + max-width: 58.33333%; + + flex: 0 0 58.33333%; + } + .col-lg-8 + { + max-width: 66.66667%; + + flex: 0 0 66.66667%; + } + .col-lg-9 + { + max-width: 75%; + + flex: 0 0 75%; + } + .col-lg-10 + { + max-width: 83.33333%; + + flex: 0 0 83.33333%; + } + .col-lg-11 + { + max-width: 91.66667%; + + flex: 0 0 91.66667%; + } + .col-lg-12 + { + max-width: 100%; + + flex: 0 0 100%; + } + .order-lg-first + { + order: -1; + } + .order-lg-last + { + order: 13; + } + .order-lg-0 + { + order: 0; + } + .order-lg-1 + { + order: 1; + } + .order-lg-2 + { + order: 2; + } + .order-lg-3 + { + order: 3; + } + .order-lg-4 + { + order: 4; + } + .order-lg-5 + { + order: 5; + } + .order-lg-6 + { + order: 6; + } + .order-lg-7 + { + order: 7; + } + .order-lg-8 + { + order: 8; + } + .order-lg-9 + { + order: 9; + } + .order-lg-10 + { + order: 10; + } + .order-lg-11 + { + order: 11; + } + .order-lg-12 + { + order: 12; + } + .offset-lg-0 + { + margin-left: 0; + } + .offset-lg-1 + { + margin-left: 8.33333%; + } + .offset-lg-2 + { + margin-left: 16.66667%; + } + .offset-lg-3 + { + margin-left: 25%; + } + .offset-lg-4 + { + margin-left: 33.33333%; + } + .offset-lg-5 + { + margin-left: 41.66667%; + } + .offset-lg-6 + { + margin-left: 50%; + } + .offset-lg-7 + { + margin-left: 58.33333%; + } + .offset-lg-8 + { + margin-left: 66.66667%; + } + .offset-lg-9 + { + margin-left: 75%; + } + .offset-lg-10 + { + margin-left: 83.33333%; + } + .offset-lg-11 + { + margin-left: 91.66667%; + } +} + +@media (min-width: 1200px) +{ + .col-xl + { + max-width: 100%; + + flex-basis: 0; + flex-grow: 1; + } + .row-cols-xl-1 > * + { + max-width: 100%; + + flex: 0 0 100%; + } + .row-cols-xl-2 > * + { + max-width: 50%; + + flex: 0 0 50%; + } + .row-cols-xl-3 > * + { + max-width: 33.33333%; + + flex: 0 0 33.33333%; + } + .row-cols-xl-4 > * + { + max-width: 25%; + + flex: 0 0 25%; + } + .row-cols-xl-5 > * + { + max-width: 20%; + + flex: 0 0 20%; + } + .row-cols-xl-6 > * + { + max-width: 16.66667%; + + flex: 0 0 16.66667%; + } + .col-xl-auto + { + width: auto; + max-width: 100%; + + flex: 0 0 auto; + } + .col-xl-1 + { + max-width: 8.33333%; + + flex: 0 0 8.33333%; + } + .col-xl-2 + { + max-width: 16.66667%; + + flex: 0 0 16.66667%; + } + .col-xl-3 + { + max-width: 25%; + + flex: 0 0 25%; + } + .col-xl-4 + { + max-width: 33.33333%; + + flex: 0 0 33.33333%; + } + .col-xl-5 + { + max-width: 41.66667%; + + flex: 0 0 41.66667%; + } + .col-xl-6 + { + max-width: 50%; + + flex: 0 0 50%; + } + .col-xl-7 + { + max-width: 58.33333%; + + flex: 0 0 58.33333%; + } + .col-xl-8 + { + max-width: 66.66667%; + + flex: 0 0 66.66667%; + } + .col-xl-9 + { + max-width: 75%; + + flex: 0 0 75%; + } + .col-xl-10 + { + max-width: 83.33333%; + + flex: 0 0 83.33333%; + } + .col-xl-11 + { + max-width: 91.66667%; + + flex: 0 0 91.66667%; + } + .col-xl-12 + { + max-width: 100%; + + flex: 0 0 100%; + } + .order-xl-first + { + order: -1; + } + .order-xl-last + { + order: 13; + } + .order-xl-0 + { + order: 0; + } + .order-xl-1 + { + order: 1; + } + .order-xl-2 + { + order: 2; + } + .order-xl-3 + { + order: 3; + } + .order-xl-4 + { + order: 4; + } + .order-xl-5 + { + order: 5; + } + .order-xl-6 + { + order: 6; + } + .order-xl-7 + { + order: 7; + } + .order-xl-8 + { + order: 8; + } + .order-xl-9 + { + order: 9; + } + .order-xl-10 + { + order: 10; + } + .order-xl-11 + { + order: 11; + } + .order-xl-12 + { + order: 12; + } + .offset-xl-0 + { + margin-left: 0; + } + .offset-xl-1 + { + margin-left: 8.33333%; + } + .offset-xl-2 + { + margin-left: 16.66667%; + } + .offset-xl-3 + { + margin-left: 25%; + } + .offset-xl-4 + { + margin-left: 33.33333%; + } + .offset-xl-5 + { + margin-left: 41.66667%; + } + .offset-xl-6 + { + margin-left: 50%; + } + .offset-xl-7 + { + margin-left: 58.33333%; + } + .offset-xl-8 + { + margin-left: 66.66667%; + } + .offset-xl-9 + { + margin-left: 75%; + } + .offset-xl-10 + { + margin-left: 83.33333%; + } + .offset-xl-11 + { + margin-left: 91.66667%; + } +} + +.table +{ + width: 100%; + margin-bottom: 1rem; + + color: #525f7f; + background-color: transparent; +} +.table th, +.table td +{ + padding: 1rem; + + vertical-align: top; + + border-top: 1px solid #e9ecef; +} +.table thead th +{ + vertical-align: bottom; + + border-bottom: 2px solid #e9ecef; +} +.table tbody + tbody +{ + border-top: 2px solid #e9ecef; +} + +.table-sm th, +.table-sm td +{ + padding: .5rem; +} + +.table-bordered +{ + border: 1px solid #e9ecef; +} +.table-bordered th, +.table-bordered td +{ + border: 1px solid #e9ecef; +} +.table-bordered thead th, +.table-bordered thead td +{ + border-bottom-width: 2px; +} + +.table-borderless th, +.table-borderless td, +.table-borderless thead th, +.table-borderless tbody + tbody +{ + border: 0; +} + +.table-striped tbody tr:nth-of-type(odd) +{ + background-color: rgba(246, 249, 252, .3); +} + +.table-hover tbody tr:hover +{ + color: #525f7f; + background-color: #f6f9fc; +} + +.table-primary, +.table-primary > th, +.table-primary > td +{ + background-color: #d2d8f7; +} + +.table-primary th, +.table-primary td, +.table-primary thead th, +.table-primary tbody + tbody +{ + border-color: #abb6f1; +} + +.table-hover .table-primary:hover +{ + background-color: #bcc5f3; +} +.table-hover .table-primary:hover > td, +.table-hover .table-primary:hover > th +{ + background-color: #bcc5f3; +} + +.table-secondary, +.table-secondary > th, +.table-secondary > td +{ + background-color: #fdfefe; +} + +.table-secondary th, +.table-secondary td, +.table-secondary thead th, +.table-secondary tbody + tbody +{ + border-color: #fbfcfd; +} + +.table-hover .table-secondary:hover +{ + background-color: #ecf6f6; +} +.table-hover .table-secondary:hover > td, +.table-hover .table-secondary:hover > th +{ + background-color: #ecf6f6; +} + +.table-success, +.table-success > th, +.table-success > td +{ + background-color: #c4f1de; +} + +.table-success th, +.table-success td, +.table-success thead th, +.table-success tbody + tbody +{ + border-color: #92e6c2; +} + +.table-hover .table-success:hover +{ + background-color: #afecd2; +} +.table-hover .table-success:hover > td, +.table-hover .table-success:hover > th +{ + background-color: #afecd2; +} + +.table-info, +.table-info > th, +.table-info > td +{ + background-color: #bcf1fb; +} + +.table-info th, +.table-info td, +.table-info thead th, +.table-info tbody + tbody +{ + border-color: #83e5f7; +} + +.table-hover .table-info:hover +{ + background-color: #a4ecfa; +} +.table-hover .table-info:hover > td, +.table-hover .table-info:hover > th +{ + background-color: #a4ecfa; +} + +.table-warning, +.table-warning > th, +.table-warning > td +{ + background-color: #fed3ca; +} + +.table-warning th, +.table-warning td, +.table-warning thead th, +.table-warning tbody + tbody +{ + border-color: #fdae9c; +} + +.table-hover .table-warning:hover +{ + background-color: #febeb1; +} +.table-hover .table-warning:hover > td, +.table-hover .table-warning:hover > th +{ + background-color: #febeb1; +} + +.table-danger, +.table-danger > th, +.table-danger > td +{ + background-color: #fcc7d1; +} + +.table-danger th, +.table-danger td, +.table-danger thead th, +.table-danger tbody + tbody +{ + border-color: #fa96aa; +} + +.table-hover .table-danger:hover +{ + background-color: #fbafbd; +} +.table-hover .table-danger:hover > td, +.table-hover .table-danger:hover > th +{ + background-color: #fbafbd; +} + +.table-light, +.table-light > th, +.table-light > td +{ + background-color: #e8eaed; +} + +.table-light th, +.table-light td, +.table-light thead th, +.table-light tbody + tbody +{ + border-color: #d4d9dd; +} + +.table-hover .table-light:hover +{ + background-color: #dadde2; +} +.table-hover .table-light:hover > td, +.table-hover .table-light:hover > th +{ + background-color: #dadde2; +} + +.table-dark, +.table-dark > th, +.table-dark > td +{ + background-color: #c1c2c3; +} + +.table-dark th, +.table-dark td, +.table-dark thead th, +.table-dark tbody + tbody +{ + border-color: #8c8e90; +} + +.table-hover .table-dark:hover +{ + background-color: #b4b5b6; +} +.table-hover .table-dark:hover > td, +.table-hover .table-dark:hover > th +{ + background-color: #b4b5b6; +} + +.table-default, +.table-default > th, +.table-default > td +{ + background-color: #bec4cd; +} + +.table-default th, +.table-default td, +.table-default thead th, +.table-default tbody + tbody +{ + border-color: #8691a2; +} + +.table-hover .table-default:hover +{ + background-color: #b0b7c2; +} +.table-hover .table-default:hover > td, +.table-hover .table-default:hover > th +{ + background-color: #b0b7c2; +} + +.table-white, +.table-white > th, +.table-white > td +{ + background-color: white; +} + +.table-white th, +.table-white td, +.table-white thead th, +.table-white tbody + tbody +{ + border-color: white; +} + +.table-hover .table-white:hover +{ + background-color: #f2f2f2; +} +.table-hover .table-white:hover > td, +.table-hover .table-white:hover > th +{ + background-color: #f2f2f2; +} + +.table-neutral, +.table-neutral > th, +.table-neutral > td +{ + background-color: white; +} + +.table-neutral th, +.table-neutral td, +.table-neutral thead th, +.table-neutral tbody + tbody +{ + border-color: white; +} + +.table-hover .table-neutral:hover +{ + background-color: #f2f2f2; +} +.table-hover .table-neutral:hover > td, +.table-hover .table-neutral:hover > th +{ + background-color: #f2f2f2; +} + +.table-darker, +.table-darker > th, +.table-darker > td +{ + background-color: #b8b8b8; +} + +.table-darker th, +.table-darker td, +.table-darker thead th, +.table-darker tbody + tbody +{ + border-color: #7a7a7a; +} + +.table-hover .table-darker:hover +{ + background-color: #ababab; +} +.table-hover .table-darker:hover > td, +.table-hover .table-darker:hover > th +{ + background-color: #ababab; +} + +.table-active, +.table-active > th, +.table-active > td +{ + background-color: #f6f9fc; +} + +.table-hover .table-active:hover +{ + background-color: #e3ecf6; +} +.table-hover .table-active:hover > td, +.table-hover .table-active:hover > th +{ + background-color: #e3ecf6; +} + +.table .thead-dark th +{ + color: #f8f9fe; + border-color: #1f3a68; + background-color: #172b4d; +} + +.table .thead-light th +{ + color: #8898aa; + border-color: #e9ecef; + background-color: #f6f9fc; +} + +.table-dark +{ + color: #f8f9fe; + background-color: #172b4d; +} +.table-dark th, +.table-dark td, +.table-dark thead th +{ + border-color: #1f3a68; +} +.table-dark.table-bordered +{ + border: 0; +} +.table-dark.table-striped tbody tr:nth-of-type(odd) +{ + background-color: rgba(255, 255, 255, .05); +} +.table-dark.table-hover tbody tr:hover +{ + color: #f8f9fe; + background-color: rgba(255, 255, 255, .075); +} + +@media (max-width: 575.98px) +{ + .table-responsive-sm + { + display: block; + overflow-x: auto; + + width: 100%; + + -webkit-overflow-scrolling: touch; + } + .table-responsive-sm > .table-bordered + { + border: 0; + } +} + +@media (max-width: 767.98px) +{ + .table-responsive-md + { + display: block; + overflow-x: auto; + + width: 100%; + + -webkit-overflow-scrolling: touch; + } + .table-responsive-md > .table-bordered + { + border: 0; + } +} + +@media (max-width: 991.98px) +{ + .table-responsive-lg + { + display: block; + overflow-x: auto; + + width: 100%; + + -webkit-overflow-scrolling: touch; + } + .table-responsive-lg > .table-bordered + { + border: 0; + } +} + +@media (max-width: 1199.98px) +{ + .table-responsive-xl + { + display: block; + overflow-x: auto; + + width: 100%; + + -webkit-overflow-scrolling: touch; + } + .table-responsive-xl > .table-bordered + { + border: 0; + } +} + +.table-responsive +{ + display: block; + overflow-x: auto; + + width: 100%; + + -webkit-overflow-scrolling: touch; +} +.table-responsive > .table-bordered +{ + border: 0; +} + +.form-control +{ + font-size: .875rem; + font-weight: 400; + line-height: 1.5; + + display: block; + + width: 100%; + height: calc(1.5em + 1.25rem + 2px); + padding: .625rem .75rem; + + transition: all .15s cubic-bezier(.68, -.55, .265, 1.55); + + color: #8898aa; + border: 1px solid #dee2e6; + border-radius: .25rem; + background-color: #fff; + background-clip: padding-box; + box-shadow: 0 3px 2px rgba(233, 236, 239, .05); +} +@media (prefers-reduced-motion: reduce) +{ + .form-control + { + transition: none; + } +} +.form-control::-ms-expand +{ + border: 0; + background-color: transparent; +} +.form-control:-moz-focusring +{ + color: transparent; + text-shadow: 0 0 0 #8898aa; +} +.form-control:focus +{ + color: #8898aa; + border-color: #5e72e4; + outline: 0; + background-color: #fff; + box-shadow: 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1); +} +.form-control::-ms-input-placeholder +{ + opacity: 1; + color: #adb5bd; +} +.form-control::placeholder +{ + opacity: 1; + color: #adb5bd; +} +.form-control:disabled, +.form-control[readonly] +{ + opacity: 1; + background-color: #e9ecef; +} + +select.form-control:focus::-ms-value +{ + color: #8898aa; + background-color: #fff; +} + +.form-control-file, +.form-control-range +{ + display: block; + + width: 100%; +} + +.col-form-label +{ + font-size: inherit; + line-height: 1.5; + + margin-bottom: 0; + padding-top: calc(.625rem + 1px); + padding-bottom: calc(.625rem + 1px); +} + +.col-form-label-lg +{ + font-size: .875rem; + line-height: 1.5; + + padding-top: calc(.875rem + 1px); + padding-bottom: calc(.875rem + 1px); +} + +.col-form-label-sm +{ + font-size: .75rem; + line-height: 1.5; + + padding-top: calc(.25rem + 1px); + padding-bottom: calc(.25rem + 1px); +} + +.form-control-plaintext +{ + font-size: .875rem; + line-height: 1.5; + + display: block; + + width: 100%; + margin-bottom: 0; + padding: .625rem 0; + + color: #525f7f; + border: solid transparent; + border-width: 1px 0; + background-color: transparent; +} +.form-control-plaintext.form-control-sm, +.form-control-plaintext.form-control-lg +{ + padding-right: 0; + padding-left: 0; +} + +.form-control-sm +{ + font-size: .75rem; + line-height: 1.5; + + height: calc(1.5em + .5rem + 2px); + padding: .25rem .5rem; + + border-radius: .25rem; +} + +.form-control-lg +{ + font-size: .875rem; + line-height: 1.5; + + height: calc(1.5em + 1.75rem + 2px); + padding: .875rem 1rem; + + border-radius: .4375rem; +} + +select.form-control[size], +select.form-control[multiple] +{ + height: auto; +} + +textarea.form-control +{ + height: auto; +} + +.form-group +{ + margin-bottom: 1.5rem; +} + +.form-text +{ + display: block; + + margin-top: .25rem; +} + +.form-row +{ + display: flex; + + margin-right: -5px; + margin-left: -5px; + + flex-wrap: wrap; +} +.form-row > .col, +.form-row > [class*='col-'] +{ + padding-right: 5px; + padding-left: 5px; +} + +.form-check +{ + position: relative; + + display: block; + + padding-left: 1.25rem; +} + +.form-check-input +{ + position: absolute; + + margin-top: .3rem; + margin-left: -1.25rem; +} +.form-check-input[disabled] ~ .form-check-label, +.form-check-input:disabled ~ .form-check-label +{ + color: #8898aa; +} + +.form-check-label +{ + margin-bottom: 0; +} + +.form-check-inline +{ + display: inline-flex; + + margin-right: .75rem; + padding-left: 0; + + align-items: center; +} +.form-check-inline .form-check-input +{ + position: static; + + margin-top: 0; + margin-right: .3125rem; + margin-left: 0; +} + +.valid-feedback +{ + font-size: 80%; + + display: none; + + width: 100%; + margin-top: .25rem; + + color: #2dce89; +} + +.valid-tooltip +{ + font-size: .875rem; + line-height: 1; + + position: absolute; + z-index: 5; + top: 100%; + + display: none; + + max-width: 100%; + margin-top: .1rem; + padding: .5rem; + + color: #fff; + border-radius: .2rem; + background-color: rgba(45, 206, 137, .8); +} + +.was-validated .form-control:valid, +.form-control.is-valid, +.was-validated +.custom-select:valid, +.custom-select.is-valid +{ + border-color: #2dce89; +} +.was-validated .form-control:valid:focus, +.form-control.is-valid:focus, +.was-validated + .custom-select:valid:focus, +.custom-select.is-valid:focus +{ + border-color: #2dce89; +} +.was-validated .form-control:valid ~ .valid-feedback, +.was-validated .form-control:valid ~ .valid-tooltip, +.form-control.is-valid ~ .valid-feedback, +.form-control.is-valid ~ .valid-tooltip, +.was-validated + .custom-select:valid ~ .valid-feedback, +.was-validated + .custom-select:valid ~ .valid-tooltip, +.custom-select.is-valid ~ .valid-feedback, +.custom-select.is-valid ~ .valid-tooltip +{ + display: block; +} + +.was-validated .form-check-input:valid ~ .form-check-label, +.form-check-input.is-valid ~ .form-check-label +{ + color: #2dce89; +} + +.was-validated .form-check-input:valid ~ .valid-feedback, +.was-validated .form-check-input:valid ~ .valid-tooltip, +.form-check-input.is-valid ~ .valid-feedback, +.form-check-input.is-valid ~ .valid-tooltip +{ + display: block; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label, +.custom-control-input.is-valid ~ .custom-control-label +{ + color: #2dce89; +} +.was-validated .custom-control-input:valid ~ .custom-control-label::before, +.custom-control-input.is-valid ~ .custom-control-label::before +{ + border-color: #93e7c3; + background-color: #93e7c3; +} + +.was-validated .custom-control-input:valid ~ .valid-feedback, +.was-validated .custom-control-input:valid ~ .valid-tooltip, +.custom-control-input.is-valid ~ .valid-feedback, +.custom-control-input.is-valid ~ .valid-tooltip +{ + display: block; +} + +.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, +.custom-control-input.is-valid:checked ~ .custom-control-label::before +{ + border-color: #93e7c3; + background-color: #54daa1; +} + +.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before, +.custom-control-input.is-valid:focus ~ .custom-control-label::before +{ + box-shadow: 0 0 0 1px #f8f9fe, 0 0 0 0 rgba(45, 206, 137, .25); +} + +.custom-file-input +{ + width: 60% !important; + margin: 8px !important; + + opacity: 1 !important; +} +.was-validated .custom-file-input:valid ~ .custom-file-label, +.custom-file-input.is-valid ~ .custom-file-label +{ + border-color: #2dce89; +} +.was-validated .custom-file-input:valid ~ .custom-file-label::before, +.custom-file-input.is-valid ~ .custom-file-label::before +{ + border-color: inherit; +} +.was-validated .custom-file-input:valid ~ .valid-feedback, +.was-validated .custom-file-input:valid ~ .valid-tooltip, +.custom-file-input.is-valid ~ .valid-feedback, +.custom-file-input.is-valid ~ .valid-tooltip +{ + display: block; +} +.was-validated .custom-file-input:valid:focus ~ .custom-file-label, +.custom-file-input.is-valid:focus ~ .custom-file-label +{ + box-shadow: 0 0 0 0 rgba(45, 206, 137, .25); +} +.custom-file-input:focus +{ + outline: none; +} + +.invalid-feedback +{ + font-size: 80%; + + display: none; + + width: 100%; + margin-top: .25rem; + + color: #fb6340; +} + +.invalid-tooltip +{ + font-size: .875rem; + line-height: 1; + + position: absolute; + z-index: 5; + top: 100%; + + display: none; + + max-width: 100%; + margin-top: .1rem; + padding: .5rem; + + color: #fff; + border-radius: .2rem; + background-color: rgba(251, 99, 64, .8); +} + +.was-validated .form-control:invalid, +.form-control.is-invalid, +.was-validated +.custom-select:invalid, +.custom-select.is-invalid +{ + border-color: #fb6340; +} +.was-validated .form-control:invalid:focus, +.form-control.is-invalid:focus, +.was-validated + .custom-select:invalid:focus, +.custom-select.is-invalid:focus +{ + border-color: #fb6340; +} +.was-validated .form-control:invalid ~ .invalid-feedback, +.was-validated .form-control:invalid ~ .invalid-tooltip, +.form-control.is-invalid ~ .invalid-feedback, +.form-control.is-invalid ~ .invalid-tooltip, +.was-validated + .custom-select:invalid ~ .invalid-feedback, +.was-validated + .custom-select:invalid ~ .invalid-tooltip, +.custom-select.is-invalid ~ .invalid-feedback, +.custom-select.is-invalid ~ .invalid-tooltip +{ + display: block; +} + +.was-validated .form-check-input:invalid ~ .form-check-label, +.form-check-input.is-invalid ~ .form-check-label +{ + color: #fb6340; +} + +.was-validated .form-check-input:invalid ~ .invalid-feedback, +.was-validated .form-check-input:invalid ~ .invalid-tooltip, +.form-check-input.is-invalid ~ .invalid-feedback, +.form-check-input.is-invalid ~ .invalid-tooltip +{ + display: block; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label, +.custom-control-input.is-invalid ~ .custom-control-label +{ + color: #fb6340; +} +.was-validated .custom-control-input:invalid ~ .custom-control-label::before, +.custom-control-input.is-invalid ~ .custom-control-label::before +{ + border-color: #fec9bd; + background-color: #fec9bd; +} + +.was-validated .custom-control-input:invalid ~ .invalid-feedback, +.was-validated .custom-control-input:invalid ~ .invalid-tooltip, +.custom-control-input.is-invalid ~ .invalid-feedback, +.custom-control-input.is-invalid ~ .invalid-tooltip +{ + display: block; +} + +.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, +.custom-control-input.is-invalid:checked ~ .custom-control-label::before +{ + border-color: #fec9bd; + background-color: #fc8c72; +} + +.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, +.custom-control-input.is-invalid:focus ~ .custom-control-label::before +{ + box-shadow: 0 0 0 1px #f8f9fe, 0 0 0 0 rgba(251, 99, 64, .25); +} + +.custom-file-input +{ + width: 60% !important; + margin: 8px !important; + + opacity: 1 !important; +} +.was-validated .custom-file-input:invalid ~ .custom-file-label, +.custom-file-input.is-invalid ~ .custom-file-label +{ + border-color: #fb6340; +} +.was-validated .custom-file-input:invalid ~ .custom-file-label::before, +.custom-file-input.is-invalid ~ .custom-file-label::before +{ + border-color: inherit; +} +.was-validated .custom-file-input:invalid ~ .invalid-feedback, +.was-validated .custom-file-input:invalid ~ .invalid-tooltip, +.custom-file-input.is-invalid ~ .invalid-feedback, +.custom-file-input.is-invalid ~ .invalid-tooltip +{ + display: block; +} +.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, +.custom-file-input.is-invalid:focus ~ .custom-file-label +{ + box-shadow: 0 0 0 0 rgba(251, 99, 64, .25); +} +.custom-file-input:focus +{ + outline: none; +} + +.form-inline +{ + display: flex; + + flex-flow: row wrap; + align-items: center; +} +.form-inline .form-check +{ + width: 100%; +} +@media (min-width: 576px) +{ + .form-inline label + { + display: flex; + + margin-bottom: 0; + + align-items: center; + justify-content: center; + } + .form-inline .form-group + { + display: flex; + + margin-bottom: 0; + + flex: 0 0 auto; + flex-flow: row wrap; + align-items: center; + } + .form-inline .form-control + { + display: inline-block; + + width: auto; + + vertical-align: middle; + } + .form-inline .form-control-plaintext + { + display: inline-block; + } + .form-inline .input-group, + .form-inline .custom-select + { + width: auto; + } + .form-inline .form-check + { + display: flex; + + width: auto; + padding-left: 0; + + align-items: center; + justify-content: center; + } + .form-inline .form-check-input + { + position: relative; + + margin-top: 0; + margin-right: .25rem; + margin-left: 0; + + flex-shrink: 0; + } + .form-inline .custom-control + { + align-items: center; + justify-content: center; + } + .form-inline .custom-control-label + { + margin-bottom: 0; + } +} + +.btn +{ + font-size: .875rem; + font-weight: 600; + line-height: 1.5; + + display: inline-block; + + padding: .625rem 1.25rem; + + cursor: pointer; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; + transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; + text-align: center; + vertical-align: middle; + + color: #525f7f; + border: 1px solid transparent; + border-radius: .25rem; + background-color: transparent; +} +@media (prefers-reduced-motion: reduce) +{ + .btn + { + transition: none; + } +} +.btn:hover +{ + text-decoration: none; + + color: #525f7f; +} +.btn:focus, +.btn.focus +{ + outline: 0; + box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08); +} +.btn.disabled, +.btn:disabled +{ + opacity: .65; + box-shadow: none; +} +.btn:not(:disabled):not(.disabled):active, +.btn:not(:disabled):not(.disabled).active +{ + box-shadow: none; +} +.btn:not(:disabled):not(.disabled):active:focus, +.btn:not(:disabled):not(.disabled).active:focus +{ + box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08); +} + +a.btn.disabled, +fieldset:disabled a.btn +{ + pointer-events: none; +} + +.btn-primary +{ + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-primary:hover +{ + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; +} +.btn-primary:focus, +.btn-primary.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(94, 114, 228, .5); +} +.btn-primary.disabled, +.btn-primary:disabled +{ + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; +} +.btn-primary:not(:disabled):not(.disabled):active, +.btn-primary:not(:disabled):not(.disabled).active, +.show > .btn-primary.dropdown-toggle +{ + color: #fff; + border-color: #5e72e4; + background-color: #324cdd; +} +.btn-primary:not(:disabled):not(.disabled):active:focus, +.btn-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-primary.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(94, 114, 228, .5); +} + +.btn-secondary +{ + color: #212529; + border-color: #f7fafc; + background-color: #f7fafc; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-secondary:hover +{ + color: #212529; + border-color: #f7fafc; + background-color: #f7fafc; +} +.btn-secondary:focus, +.btn-secondary.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(247, 250, 252, .5); +} +.btn-secondary.disabled, +.btn-secondary:disabled +{ + color: #212529; + border-color: #f7fafc; + background-color: #f7fafc; +} +.btn-secondary:not(:disabled):not(.disabled):active, +.btn-secondary:not(:disabled):not(.disabled).active, +.show > .btn-secondary.dropdown-toggle +{ + color: #212529; + border-color: #f7fafc; + background-color: #d2e3ee; +} +.btn-secondary:not(:disabled):not(.disabled):active:focus, +.btn-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-secondary.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(247, 250, 252, .5); +} + +.btn-success +{ + color: #fff; + border-color: #2dce89; + background-color: #2dce89; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-success:hover +{ + color: #fff; + border-color: #2dce89; + background-color: #2dce89; +} +.btn-success:focus, +.btn-success.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(45, 206, 137, .5); +} +.btn-success.disabled, +.btn-success:disabled +{ + color: #fff; + border-color: #2dce89; + background-color: #2dce89; +} +.btn-success:not(:disabled):not(.disabled):active, +.btn-success:not(:disabled):not(.disabled).active, +.show > .btn-success.dropdown-toggle +{ + color: #fff; + border-color: #2dce89; + background-color: #24a46d; +} +.btn-success:not(:disabled):not(.disabled):active:focus, +.btn-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-success.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(45, 206, 137, .5); +} + +.btn-info +{ + color: #fff; + border-color: #11cdef; + background-color: #11cdef; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-info:hover +{ + color: #fff; + border-color: #11cdef; + background-color: #11cdef; +} +.btn-info:focus, +.btn-info.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(17, 205, 239, .5); +} +.btn-info.disabled, +.btn-info:disabled +{ + color: #fff; + border-color: #11cdef; + background-color: #11cdef; +} +.btn-info:not(:disabled):not(.disabled):active, +.btn-info:not(:disabled):not(.disabled).active, +.show > .btn-info.dropdown-toggle +{ + color: #fff; + border-color: #11cdef; + background-color: #0da5c0; +} +.btn-info:not(:disabled):not(.disabled):active:focus, +.btn-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-info.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(17, 205, 239, .5); +} + +.btn-warning +{ + color: #fff; + border-color: #fb6340; + background-color: #fb6340; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-warning:hover +{ + color: #fff; + border-color: #fb6340; + background-color: #fb6340; +} +.btn-warning:focus, +.btn-warning.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(251, 99, 64, .5); +} +.btn-warning.disabled, +.btn-warning:disabled +{ + color: #fff; + border-color: #fb6340; + background-color: #fb6340; +} +.btn-warning:not(:disabled):not(.disabled):active, +.btn-warning:not(:disabled):not(.disabled).active, +.show > .btn-warning.dropdown-toggle +{ + color: #fff; + border-color: #fb6340; + background-color: #fa3a0e; +} +.btn-warning:not(:disabled):not(.disabled):active:focus, +.btn-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-warning.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(251, 99, 64, .5); +} + +.btn-danger +{ + color: #fff; + border-color: #f5365c; + background-color: #f5365c; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-danger:hover +{ + color: #fff; + border-color: #f5365c; + background-color: #f5365c; +} +.btn-danger:focus, +.btn-danger.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(245, 54, 92, .5); +} +.btn-danger.disabled, +.btn-danger:disabled +{ + color: #fff; + border-color: #f5365c; + background-color: #f5365c; +} +.btn-danger:not(:disabled):not(.disabled):active, +.btn-danger:not(:disabled):not(.disabled).active, +.show > .btn-danger.dropdown-toggle +{ + color: #fff; + border-color: #f5365c; + background-color: #ec0c38; +} +.btn-danger:not(:disabled):not(.disabled):active:focus, +.btn-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-danger.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(245, 54, 92, .5); +} + +.btn-light +{ + color: #fff; + border-color: #adb5bd; + background-color: #adb5bd; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-light:hover +{ + color: #fff; + border-color: #adb5bd; + background-color: #adb5bd; +} +.btn-light:focus, +.btn-light.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(173, 181, 189, .5); +} +.btn-light.disabled, +.btn-light:disabled +{ + color: #fff; + border-color: #adb5bd; + background-color: #adb5bd; +} +.btn-light:not(:disabled):not(.disabled):active, +.btn-light:not(:disabled):not(.disabled).active, +.show > .btn-light.dropdown-toggle +{ + color: #fff; + border-color: #adb5bd; + background-color: #919ca6; +} +.btn-light:not(:disabled):not(.disabled):active:focus, +.btn-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-light.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(173, 181, 189, .5); +} + +.btn-dark +{ + color: #fff; + border-color: #212529; + background-color: #212529; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-dark:hover +{ + color: #fff; + border-color: #212529; + background-color: #212529; +} +.btn-dark:focus, +.btn-dark.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(33, 37, 41, .5); +} +.btn-dark.disabled, +.btn-dark:disabled +{ + color: #fff; + border-color: #212529; + background-color: #212529; +} +.btn-dark:not(:disabled):not(.disabled):active, +.btn-dark:not(:disabled):not(.disabled).active, +.show > .btn-dark.dropdown-toggle +{ + color: #fff; + border-color: #212529; + background-color: #0a0c0d; +} +.btn-dark:not(:disabled):not(.disabled):active:focus, +.btn-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-dark.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(33, 37, 41, .5); +} + +.btn-default +{ + color: #fff; + border-color: #172b4d; + background-color: #172b4d; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-default:hover +{ + color: #fff; + border-color: #172b4d; + background-color: #172b4d; +} +.btn-default:focus, +.btn-default.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(23, 43, 77, .5); +} +.btn-default.disabled, +.btn-default:disabled +{ + color: #fff; + border-color: #172b4d; + background-color: #172b4d; +} +.btn-default:not(:disabled):not(.disabled):active, +.btn-default:not(:disabled):not(.disabled).active, +.show > .btn-default.dropdown-toggle +{ + color: #fff; + border-color: #172b4d; + background-color: #0b1526; +} +.btn-default:not(:disabled):not(.disabled):active:focus, +.btn-default:not(:disabled):not(.disabled).active:focus, +.show > .btn-default.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(23, 43, 77, .5); +} + +.btn-white +{ + color: #212529; + border-color: #fff; + background-color: #fff; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-white:hover +{ + color: #212529; + border-color: white; + background-color: white; +} +.btn-white:focus, +.btn-white.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(255, 255, 255, .5); +} +.btn-white.disabled, +.btn-white:disabled +{ + color: #212529; + border-color: #fff; + background-color: #fff; +} +.btn-white:not(:disabled):not(.disabled):active, +.btn-white:not(:disabled):not(.disabled).active, +.show > .btn-white.dropdown-toggle +{ + color: #212529; + border-color: white; + background-color: #e6e6e6; +} +.btn-white:not(:disabled):not(.disabled):active:focus, +.btn-white:not(:disabled):not(.disabled).active:focus, +.show > .btn-white.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(255, 255, 255, .5); +} + +.btn-neutral +{ + color: #212529; + border-color: #fff; + background-color: #fff; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-neutral:hover +{ + color: #212529; + border-color: white; + background-color: white; +} +.btn-neutral:focus, +.btn-neutral.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(255, 255, 255, .5); +} +.btn-neutral.disabled, +.btn-neutral:disabled +{ + color: #212529; + border-color: #fff; + background-color: #fff; +} +.btn-neutral:not(:disabled):not(.disabled):active, +.btn-neutral:not(:disabled):not(.disabled).active, +.show > .btn-neutral.dropdown-toggle +{ + color: #212529; + border-color: white; + background-color: #e6e6e6; +} +.btn-neutral:not(:disabled):not(.disabled):active:focus, +.btn-neutral:not(:disabled):not(.disabled).active:focus, +.show > .btn-neutral.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(255, 255, 255, .5); +} + +.btn-darker +{ + color: #fff; + border-color: black; + background-color: black; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-darker:hover +{ + color: #fff; + border-color: black; + background-color: black; +} +.btn-darker:focus, +.btn-darker.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(0, 0, 0, .5); +} +.btn-darker.disabled, +.btn-darker:disabled +{ + color: #fff; + border-color: black; + background-color: black; +} +.btn-darker:not(:disabled):not(.disabled):active, +.btn-darker:not(:disabled):not(.disabled).active, +.show > .btn-darker.dropdown-toggle +{ + color: #fff; + border-color: black; + background-color: black; +} +.btn-darker:not(:disabled):not(.disabled):active:focus, +.btn-darker:not(:disabled):not(.disabled).active:focus, +.show > .btn-darker.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(0, 0, 0, .5); +} + +.btn-outline-primary +{ + color: #5e72e4; + border-color: #5e72e4; + background-color: transparent; + background-image: none; +} +.btn-outline-primary:hover +{ + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; +} +.btn-outline-primary:focus, +.btn-outline-primary.focus +{ + box-shadow: 0 0 0 0 rgba(94, 114, 228, .5); +} +.btn-outline-primary.disabled, +.btn-outline-primary:disabled +{ + color: #5e72e4; + background-color: transparent; +} +.btn-outline-primary:not(:disabled):not(.disabled):active, +.btn-outline-primary:not(:disabled):not(.disabled).active, +.show > .btn-outline-primary.dropdown-toggle +{ + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; +} +.btn-outline-primary:not(:disabled):not(.disabled):active:focus, +.btn-outline-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-primary.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(94, 114, 228, .5); +} + +.btn-outline-secondary +{ + color: #f7fafc; + border-color: #f7fafc; + background-color: transparent; + background-image: none; +} +.btn-outline-secondary:hover +{ + color: #212529; + border-color: #f7fafc; + background-color: #f7fafc; +} +.btn-outline-secondary:focus, +.btn-outline-secondary.focus +{ + box-shadow: 0 0 0 0 rgba(247, 250, 252, .5); +} +.btn-outline-secondary.disabled, +.btn-outline-secondary:disabled +{ + color: #f7fafc; + background-color: transparent; +} +.btn-outline-secondary:not(:disabled):not(.disabled):active, +.btn-outline-secondary:not(:disabled):not(.disabled).active, +.show > .btn-outline-secondary.dropdown-toggle +{ + color: #212529; + border-color: #f7fafc; + background-color: #f7fafc; +} +.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, +.btn-outline-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-secondary.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(247, 250, 252, .5); +} + +.btn-outline-success +{ + color: #2dce89; + border-color: #2dce89; + background-color: transparent; + background-image: none; +} +.btn-outline-success:hover +{ + color: #fff; + border-color: #2dce89; + background-color: #2dce89; +} +.btn-outline-success:focus, +.btn-outline-success.focus +{ + box-shadow: 0 0 0 0 rgba(45, 206, 137, .5); +} +.btn-outline-success.disabled, +.btn-outline-success:disabled +{ + color: #2dce89; + background-color: transparent; +} +.btn-outline-success:not(:disabled):not(.disabled):active, +.btn-outline-success:not(:disabled):not(.disabled).active, +.show > .btn-outline-success.dropdown-toggle +{ + color: #fff; + border-color: #2dce89; + background-color: #2dce89; +} +.btn-outline-success:not(:disabled):not(.disabled):active:focus, +.btn-outline-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-success.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(45, 206, 137, .5); +} + +.btn-outline-info +{ + color: #11cdef; + border-color: #11cdef; + background-color: transparent; + background-image: none; +} +.btn-outline-info:hover +{ + color: #fff; + border-color: #11cdef; + background-color: #11cdef; +} +.btn-outline-info:focus, +.btn-outline-info.focus +{ + box-shadow: 0 0 0 0 rgba(17, 205, 239, .5); +} +.btn-outline-info.disabled, +.btn-outline-info:disabled +{ + color: #11cdef; + background-color: transparent; +} +.btn-outline-info:not(:disabled):not(.disabled):active, +.btn-outline-info:not(:disabled):not(.disabled).active, +.show > .btn-outline-info.dropdown-toggle +{ + color: #fff; + border-color: #11cdef; + background-color: #11cdef; +} +.btn-outline-info:not(:disabled):not(.disabled):active:focus, +.btn-outline-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-info.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(17, 205, 239, .5); +} + +.btn-outline-warning +{ + color: #fb6340; + border-color: #fb6340; + background-color: transparent; + background-image: none; +} +.btn-outline-warning:hover +{ + color: #fff; + border-color: #fb6340; + background-color: #fb6340; +} +.btn-outline-warning:focus, +.btn-outline-warning.focus +{ + box-shadow: 0 0 0 0 rgba(251, 99, 64, .5); +} +.btn-outline-warning.disabled, +.btn-outline-warning:disabled +{ + color: #fb6340; + background-color: transparent; +} +.btn-outline-warning:not(:disabled):not(.disabled):active, +.btn-outline-warning:not(:disabled):not(.disabled).active, +.show > .btn-outline-warning.dropdown-toggle +{ + color: #fff; + border-color: #fb6340; + background-color: #fb6340; +} +.btn-outline-warning:not(:disabled):not(.disabled):active:focus, +.btn-outline-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-warning.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(251, 99, 64, .5); +} + +.btn-outline-danger +{ + color: #f5365c; + border-color: #f5365c; + background-color: transparent; + background-image: none; +} +.btn-outline-danger:hover +{ + color: #fff; + border-color: #f5365c; + background-color: #f5365c; +} +.btn-outline-danger:focus, +.btn-outline-danger.focus +{ + box-shadow: 0 0 0 0 rgba(245, 54, 92, .5); +} +.btn-outline-danger.disabled, +.btn-outline-danger:disabled +{ + color: #f5365c; + background-color: transparent; +} +.btn-outline-danger:not(:disabled):not(.disabled):active, +.btn-outline-danger:not(:disabled):not(.disabled).active, +.show > .btn-outline-danger.dropdown-toggle +{ + color: #fff; + border-color: #f5365c; + background-color: #f5365c; +} +.btn-outline-danger:not(:disabled):not(.disabled):active:focus, +.btn-outline-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-danger.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(245, 54, 92, .5); +} + +.btn-outline-light +{ + color: #adb5bd; + border-color: #adb5bd; + background-color: transparent; + background-image: none; +} +.btn-outline-light:hover +{ + color: #fff; + border-color: #adb5bd; + background-color: #adb5bd; +} +.btn-outline-light:focus, +.btn-outline-light.focus +{ + box-shadow: 0 0 0 0 rgba(173, 181, 189, .5); +} +.btn-outline-light.disabled, +.btn-outline-light:disabled +{ + color: #adb5bd; + background-color: transparent; +} +.btn-outline-light:not(:disabled):not(.disabled):active, +.btn-outline-light:not(:disabled):not(.disabled).active, +.show > .btn-outline-light.dropdown-toggle +{ + color: #fff; + border-color: #adb5bd; + background-color: #adb5bd; +} +.btn-outline-light:not(:disabled):not(.disabled):active:focus, +.btn-outline-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-light.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(173, 181, 189, .5); +} + +.btn-outline-dark +{ + color: #212529; + border-color: #212529; + background-color: transparent; + background-image: none; +} +.btn-outline-dark:hover +{ + color: #fff; + border-color: #212529; + background-color: #212529; +} +.btn-outline-dark:focus, +.btn-outline-dark.focus +{ + box-shadow: 0 0 0 0 rgba(33, 37, 41, .5); +} +.btn-outline-dark.disabled, +.btn-outline-dark:disabled +{ + color: #212529; + background-color: transparent; +} +.btn-outline-dark:not(:disabled):not(.disabled):active, +.btn-outline-dark:not(:disabled):not(.disabled).active, +.show > .btn-outline-dark.dropdown-toggle +{ + color: #fff; + border-color: #212529; + background-color: #212529; +} +.btn-outline-dark:not(:disabled):not(.disabled):active:focus, +.btn-outline-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-dark.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(33, 37, 41, .5); +} + +.btn-outline-default +{ + color: #172b4d; + border-color: #172b4d; + background-color: transparent; + background-image: none; +} +.btn-outline-default:hover +{ + color: #fff; + border-color: #172b4d; + background-color: #172b4d; +} +.btn-outline-default:focus, +.btn-outline-default.focus +{ + box-shadow: 0 0 0 0 rgba(23, 43, 77, .5); +} +.btn-outline-default.disabled, +.btn-outline-default:disabled +{ + color: #172b4d; + background-color: transparent; +} +.btn-outline-default:not(:disabled):not(.disabled):active, +.btn-outline-default:not(:disabled):not(.disabled).active, +.show > .btn-outline-default.dropdown-toggle +{ + color: #fff; + border-color: #172b4d; + background-color: #172b4d; +} +.btn-outline-default:not(:disabled):not(.disabled):active:focus, +.btn-outline-default:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-default.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(23, 43, 77, .5); +} + +.btn-outline-white +{ + color: #fff; + border-color: #fff; + background-color: transparent; + background-image: none; +} +.btn-outline-white:hover +{ + color: #212529; + border-color: #fff; + background-color: #fff; +} +.btn-outline-white:focus, +.btn-outline-white.focus +{ + box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); +} +.btn-outline-white.disabled, +.btn-outline-white:disabled +{ + color: #fff; + background-color: transparent; +} +.btn-outline-white:not(:disabled):not(.disabled):active, +.btn-outline-white:not(:disabled):not(.disabled).active, +.show > .btn-outline-white.dropdown-toggle +{ + color: #212529; + border-color: #fff; + background-color: #fff; +} +.btn-outline-white:not(:disabled):not(.disabled):active:focus, +.btn-outline-white:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-white.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); +} + +.btn-outline-neutral +{ + color: #fff; + border-color: #fff; + background-color: transparent; + background-image: none; +} +.btn-outline-neutral:hover +{ + color: #212529; + border-color: #fff; + background-color: #fff; +} +.btn-outline-neutral:focus, +.btn-outline-neutral.focus +{ + box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); +} +.btn-outline-neutral.disabled, +.btn-outline-neutral:disabled +{ + color: #fff; + background-color: transparent; +} +.btn-outline-neutral:not(:disabled):not(.disabled):active, +.btn-outline-neutral:not(:disabled):not(.disabled).active, +.show > .btn-outline-neutral.dropdown-toggle +{ + color: #212529; + border-color: #fff; + background-color: #fff; +} +.btn-outline-neutral:not(:disabled):not(.disabled):active:focus, +.btn-outline-neutral:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-neutral.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); +} + +.btn-outline-darker +{ + color: black; + border-color: black; + background-color: transparent; + background-image: none; +} +.btn-outline-darker:hover +{ + color: #fff; + border-color: black; + background-color: black; +} +.btn-outline-darker:focus, +.btn-outline-darker.focus +{ + box-shadow: 0 0 0 0 rgba(0, 0, 0, .5); +} +.btn-outline-darker.disabled, +.btn-outline-darker:disabled +{ + color: black; + background-color: transparent; +} +.btn-outline-darker:not(:disabled):not(.disabled):active, +.btn-outline-darker:not(:disabled):not(.disabled).active, +.show > .btn-outline-darker.dropdown-toggle +{ + color: #fff; + border-color: black; + background-color: black; +} +.btn-outline-darker:not(:disabled):not(.disabled):active:focus, +.btn-outline-darker:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-darker.dropdown-toggle:focus +{ + box-shadow: 0 0 0 0 rgba(0, 0, 0, .5); +} + +.btn-link +{ + font-weight: 400; + + text-decoration: none; + + color: #5e72e4; +} +.btn-link:hover +{ + text-decoration: none; + + color: #233dd2; +} +.btn-link:focus, +.btn-link.focus +{ + text-decoration: none; + + box-shadow: none; +} +.btn-link:disabled, +.btn-link.disabled +{ + pointer-events: none; + + color: #8898aa; +} + +.btn-lg, +.btn-group-lg > .btn +{ + font-size: .875rem; + line-height: 1.5; + + padding: .875rem 1rem; + + border-radius: .4375rem; +} + +.btn-sm, +.btn-group-sm > .btn +{ + font-size: .75rem; + line-height: 1.5; + + padding: .25rem .5rem; + + border-radius: .25rem; +} + +.btn-block +{ + display: block; + + width: 100%; +} +.btn-block + .btn-block +{ + margin-top: .5rem; +} + +input[type='submit'].btn-block, +input[type='reset'].btn-block, +input[type='button'].btn-block +{ + width: 100%; +} + +.fade +{ + transition: opacity .15s linear; +} +@media (prefers-reduced-motion: reduce) +{ + .fade + { + transition: none; + } +} +.fade:not(.show) +{ + opacity: 0; +} + +.collapse:not(.show) +{ + display: none; +} + +.collapsing +{ + position: relative; + + overflow: hidden; + + height: 0; + + transition: height .3s ease; +} +@media (prefers-reduced-motion: reduce) +{ + .collapsing + { + transition: none; + } +} + +.dropup, +.dropright, +.dropdown, +.dropleft +{ + position: relative; +} + +.dropdown-toggle +{ + white-space: nowrap; +} +.dropdown-toggle::after +{ + display: inline-block; + + margin-left: .255em; + + content: ''; + vertical-align: .255em; + + border-top: .3em solid; + border-right: .3em solid transparent; + border-bottom: 0; + border-left: .3em solid transparent; +} +.dropdown-toggle:empty::after +{ + margin-left: 0; +} + +.dropdown-menu +{ + font-size: 1rem; + + position: absolute; + z-index: 1000; + top: 100%; + left: 0; + + display: none; + float: left; + + min-width: 10rem; + margin: .125rem 0 0; + padding: .5rem 0; + + list-style: none; + + text-align: left; + + color: #525f7f; + border: 0 solid rgba(0, 0, 0, .15); + border-radius: .4375rem; + background-color: #fff; + background-clip: padding-box; + box-shadow: 0 50px 100px rgba(50, 50, 93, .1), 0 15px 35px rgba(50, 50, 93, .15), 0 5px 15px rgba(0, 0, 0, .1); +} + +.dropdown-menu-left +{ + right: auto; + left: 0; +} + +.dropdown-menu-right +{ + right: 0; + left: auto; +} + +@media (min-width: 576px) +{ + .dropdown-menu-sm-left + { + right: auto; + left: 0; + } + .dropdown-menu-sm-right + { + right: 0; + left: auto; + } +} + +@media (min-width: 768px) +{ + .dropdown-menu-md-left + { + right: auto; + left: 0; + } + .dropdown-menu-md-right + { + right: 0; + left: auto; + } +} + +@media (min-width: 992px) +{ + .dropdown-menu-lg-left + { + right: auto; + left: 0; + } + .dropdown-menu-lg-right + { + right: 0; + left: auto; + } +} + +@media (min-width: 1200px) +{ + .dropdown-menu-xl-left + { + right: auto; + left: 0; + } + .dropdown-menu-xl-right + { + right: 0; + left: auto; + } +} + +.dropup .dropdown-menu +{ + top: auto; + bottom: 100%; + + margin-top: 0; + margin-bottom: .125rem; +} + +.dropup .dropdown-toggle::after +{ + display: inline-block; + + margin-left: .255em; + + content: ''; + vertical-align: .255em; + + border-top: 0; + border-right: .3em solid transparent; + border-bottom: .3em solid; + border-left: .3em solid transparent; +} + +.dropup .dropdown-toggle:empty::after +{ + margin-left: 0; +} + +.dropright .dropdown-menu +{ + top: 0; + right: auto; + left: 100%; + + margin-top: 0; + margin-left: .125rem; +} + +.dropright .dropdown-toggle::after +{ + display: inline-block; + + margin-left: .255em; + + content: ''; + vertical-align: .255em; + + border-top: .3em solid transparent; + border-right: 0; + border-bottom: .3em solid transparent; + border-left: .3em solid; +} + +.dropright .dropdown-toggle:empty::after +{ + margin-left: 0; +} + +.dropright .dropdown-toggle::after +{ + vertical-align: 0; +} + +.dropleft .dropdown-menu +{ + top: 0; + right: 100%; + left: auto; + + margin-top: 0; + margin-right: .125rem; +} + +.dropleft .dropdown-toggle::after +{ + display: inline-block; + + margin-left: .255em; + + content: ''; + vertical-align: .255em; +} + +.dropleft .dropdown-toggle::after +{ + display: none; +} + +.dropleft .dropdown-toggle::before +{ + display: inline-block; + + margin-right: .255em; + + content: ''; + vertical-align: .255em; + + border-top: .3em solid transparent; + border-right: .3em solid; + border-bottom: .3em solid transparent; +} + +.dropleft .dropdown-toggle:empty::after +{ + margin-left: 0; +} + +.dropleft .dropdown-toggle::before +{ + vertical-align: 0; +} + +.dropdown-menu[x-placement^='top'], +.dropdown-menu[x-placement^='right'], +.dropdown-menu[x-placement^='bottom'], +.dropdown-menu[x-placement^='left'] +{ + right: auto; + bottom: auto; +} + +.dropdown-divider +{ + overflow: hidden; + + height: 0; + margin: .5rem 0; + + border-top: 1px solid #e9ecef; +} + +.dropdown-item +{ + font-weight: 400; + + display: block; + clear: both; + + width: 100%; + padding: .5rem 1rem; + + text-align: inherit; + white-space: nowrap; + + color: #212529; + border: 0; + background-color: transparent; +} +.dropdown-item:hover, +.dropdown-item:focus +{ + text-decoration: none; + + color: #16181b; + background-color: #f6f9fc; +} +.dropdown-item.active, +.dropdown-item:active +{ + text-decoration: none; + + color: #16181b; + background-color: transparent; +} +.dropdown-item.disabled, +.dropdown-item:disabled +{ + pointer-events: none; + + color: #8898aa; + background-color: transparent; +} + +.dropdown-menu.show +{ + display: block; +} + +.dropdown-header +{ + font-size: .875rem; + + display: block; + + margin-bottom: 0; + padding: .5rem 1rem; + + white-space: nowrap; + + color: #8898aa; +} + +.dropdown-item-text +{ + display: block; + + padding: .5rem 1rem; + + color: #212529; +} + +.btn-group, +.btn-group-vertical +{ + position: relative; + + display: inline-flex; + + vertical-align: middle; +} +.btn-group > .btn, +.btn-group-vertical > .btn +{ + position: relative; + + flex: 1 1 auto; +} +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover +{ + z-index: 1; +} +.btn-group > .btn:focus, +.btn-group > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn:focus, +.btn-group-vertical > .btn:active, +.btn-group-vertical > .btn.active +{ + z-index: 1; +} + +.btn-toolbar +{ + display: flex; + + flex-wrap: wrap; + justify-content: flex-start; +} +.btn-toolbar .input-group +{ + width: auto; +} + +.btn-group > .btn:not(:first-child), +.btn-group > .btn-group:not(:first-child) +{ + margin-left: -1px; +} + +.btn-group > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group > .btn-group:not(:last-child) > .btn +{ + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:not(:first-child), +.btn-group > .btn-group:not(:first-child) > .btn +{ + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.dropdown-toggle-split +{ + padding-right: .9375rem; + padding-left: .9375rem; +} +.dropdown-toggle-split::after, +.dropup .dropdown-toggle-split::after, +.dropright .dropdown-toggle-split::after +{ + margin-left: 0; +} +.dropleft .dropdown-toggle-split::before +{ + margin-right: 0; +} + +.btn-sm + .dropdown-toggle-split, +.btn-group-sm > .btn + .dropdown-toggle-split +{ + padding-right: .375rem; + padding-left: .375rem; +} + +.btn-lg + .dropdown-toggle-split, +.btn-group-lg > .btn + .dropdown-toggle-split +{ + padding-right: .75rem; + padding-left: .75rem; +} + +.btn-group.show .dropdown-toggle +{ + box-shadow: none; +} +.btn-group.show .dropdown-toggle.btn-link +{ + box-shadow: none; +} + +.btn-group-vertical +{ + flex-direction: column; + + align-items: flex-start; + justify-content: center; +} +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group +{ + width: 100%; +} +.btn-group-vertical > .btn:not(:first-child), +.btn-group-vertical > .btn-group:not(:first-child) +{ + margin-top: -1px; +} +.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group-vertical > .btn-group:not(:last-child) > .btn +{ + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn:not(:first-child), +.btn-group-vertical > .btn-group:not(:first-child) > .btn +{ + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.btn-group-toggle > .btn, +.btn-group-toggle > .btn-group > .btn +{ + margin-bottom: 0; +} +.btn-group-toggle > .btn input[type='radio'], +.btn-group-toggle > .btn input[type='checkbox'], +.btn-group-toggle > .btn-group > .btn input[type='radio'], +.btn-group-toggle > .btn-group > .btn input[type='checkbox'] +{ + position: absolute; + + clip: rect(0, 0, 0, 0); + + pointer-events: none; +} + +.input-group +{ + position: relative; + + display: flex; + + width: 100%; + + flex-wrap: wrap; + align-items: stretch; +} +.input-group > .form-control, +.input-group > .form-control-plaintext, +.input-group > .custom-select, +.input-group > .custom-file +{ + position: relative; + + min-width: 0; + margin-bottom: 0; + + flex: 1 1; +} +.input-group > .form-control + .form-control, +.input-group > .form-control + .custom-select, +.input-group > .form-control + .custom-file, +.input-group > .form-control-plaintext + .form-control, +.input-group > .form-control-plaintext + .custom-select, +.input-group > .form-control-plaintext + .custom-file, +.input-group > .custom-select + .form-control, +.input-group > .custom-select + .custom-select, +.input-group > .custom-select + .custom-file, +.input-group > .custom-file + .form-control, +.input-group > .custom-file + .custom-select, +.input-group > .custom-file + .custom-file +{ + margin-left: -1px; +} +.input-group > .form-control:focus, +.input-group > .custom-select:focus, +.input-group > .custom-file .custom-file-input:focus ~ .custom-file-label +{ + z-index: 3; +} +.input-group > .custom-file .custom-file-input:focus +{ + z-index: 4; +} +.input-group > .form-control:not(:last-child), +.input-group > .custom-select:not(:last-child) +{ + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.input-group > .form-control:not(:first-child), +.input-group > .custom-select:not(:first-child) +{ + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.input-group > .custom-file +{ + display: flex; + + align-items: center; +} +.input-group > .custom-file:not(:last-child) .custom-file-label, +.input-group > .custom-file:not(:last-child) .custom-file-label::after +{ + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.input-group > .custom-file:not(:first-child) .custom-file-label +{ + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group-prepend, +.input-group-append +{ + display: flex; +} +.input-group-prepend .btn, +.input-group-append .btn +{ + position: relative; + z-index: 2; +} +.input-group-prepend .btn:focus, +.input-group-append .btn:focus +{ + z-index: 3; +} +.input-group-prepend .btn + .btn, +.input-group-prepend .btn + .input-group-text, +.input-group-prepend .input-group-text + .input-group-text, +.input-group-prepend .input-group-text + .btn, +.input-group-append .btn + .btn, +.input-group-append .btn + .input-group-text, +.input-group-append .input-group-text + .input-group-text, +.input-group-append .input-group-text + .btn +{ + margin-left: -1px; +} + +.input-group-prepend +{ + margin-right: -1px; +} + +.input-group-append +{ + margin-left: -1px; +} + +.input-group-text +{ + font-size: .875rem; + font-weight: 400; + line-height: 1.5; + + display: flex; + + margin-bottom: 0; + padding: .625rem .75rem; + + text-align: center; + white-space: nowrap; + + color: #adb5bd; + border: 1px solid #dee2e6; + border-radius: .25rem; + background-color: #fff; + + align-items: center; +} +.input-group-text input[type='radio'], +.input-group-text input[type='checkbox'] +{ + margin-top: 0; +} + +.input-group-lg > .form-control:not(textarea), +.input-group-lg > .custom-select +{ + height: calc(1.5em + 1.75rem + 2px); +} + +.input-group-lg > .form-control, +.input-group-lg > .custom-select, +.input-group-lg > .input-group-prepend > .input-group-text, +.input-group-lg > .input-group-append > .input-group-text, +.input-group-lg > .input-group-prepend > .btn, +.input-group-lg > .input-group-append > .btn +{ + font-size: .875rem; + line-height: 1.5; + + padding: .875rem 1rem; + + border-radius: .4375rem; +} + +.input-group-sm > .form-control:not(textarea), +.input-group-sm > .custom-select +{ + height: calc(1.5em + .5rem + 2px); +} + +.input-group-sm > .form-control, +.input-group-sm > .custom-select, +.input-group-sm > .input-group-prepend > .input-group-text, +.input-group-sm > .input-group-append > .input-group-text, +.input-group-sm > .input-group-prepend > .btn, +.input-group-sm > .input-group-append > .btn +{ + font-size: .75rem; + line-height: 1.5; + + padding: .25rem .5rem; + + border-radius: .25rem; +} + +.input-group-lg > .custom-select, +.input-group-sm > .custom-select +{ + padding-right: 1.75rem; +} + +.input-group > .input-group-prepend > .btn, +.input-group > .input-group-prepend > .input-group-text, +.input-group > .input-group-append:not(:last-child) > .btn, +.input-group > .input-group-append:not(:last-child) > .input-group-text, +.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) +{ + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .input-group-append > .btn, +.input-group > .input-group-append > .input-group-text, +.input-group > .input-group-prepend:not(:first-child) > .btn, +.input-group > .input-group-prepend:not(:first-child) > .input-group-text, +.input-group > .input-group-prepend:first-child > .btn:not(:first-child), +.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) +{ + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.custom-control +{ + position: relative; + + display: block; + + min-height: 1.5rem; + padding-left: 2.75rem; +} + +.custom-control-inline +{ + display: inline-flex; + + margin-right: 1rem; +} + +.custom-control-input +{ + position: absolute; + z-index: -1; + left: 0; + + width: 1rem; + height: 1.25rem; + + opacity: 0; +} +.custom-control-input:checked ~ .custom-control-label::before +{ + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; + box-shadow: 0 3px 2px rgba(233, 236, 239, .05); +} +.custom-control-input:focus ~ .custom-control-label::before +{ + box-shadow: 0 3px 2px rgba(233, 236, 239, .05), 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1); +} +.custom-control-input:focus:not(:checked) ~ .custom-control-label::before +{ + border-color: #5e72e4; +} +.custom-control-input:not(:disabled):active ~ .custom-control-label::before +{ + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; + box-shadow: 0 3px 2px rgba(233, 236, 239, .05); +} +.custom-control-input[disabled] ~ .custom-control-label, +.custom-control-input:disabled ~ .custom-control-label +{ + color: #8898aa; +} +.custom-control-input[disabled] ~ .custom-control-label::before, +.custom-control-input:disabled ~ .custom-control-label::before +{ + background-color: #e9ecef; +} + +.custom-control-label +{ + position: relative; + + margin-bottom: 0; + + vertical-align: top; +} +.custom-control-label::before +{ + position: absolute; + top: .25rem; + left: -2.75rem; + + display: block; + + width: 1rem; + height: 1rem; + + content: ''; + pointer-events: none; + + border: #dee2e6 solid 1px; + background-color: #fff; + box-shadow: 0 3px 2px rgba(233, 236, 239, .05); +} +.custom-control-label::after +{ + position: absolute; + top: .25rem; + left: -2.75rem; + + display: block; + + width: 1rem; + height: 1rem; + + content: ''; + + background: no-repeat 50% / 50% 50%; +} + +.custom-checkbox .custom-control-label::before +{ + border-radius: .25rem; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'8\' height=\'8\' viewBox=\'0 0 8 8\'%3e%3cpath fill=\'%23fff\' d=\'M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z\'/%3e%3c/svg%3e'); +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before +{ + border-color: #5e72e4; + background-color: #5e72e4; + box-shadow: none; +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after +{ + background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'4\' height=\'4\' viewBox=\'0 0 4 4\'%3e%3cpath stroke=\'%23fff\' d=\'M0 2h4\'/%3e%3c/svg%3e'); +} + +.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before +{ + background-color: rgba(94, 114, 228, .5); +} + +.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before +{ + background-color: rgba(94, 114, 228, .5); +} + +.custom-radio .custom-control-label::before +{ + border-radius: 50%; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'12\' viewBox=\'-4 -4 8 8\'%3e%3ccircle r=\'3\' fill=\'%23fff\'/%3e%3c/svg%3e'); +} + +.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before +{ + background-color: rgba(94, 114, 228, .5); +} + +.custom-switch +{ + padding-left: 3.5rem; +} +.custom-switch .custom-control-label::before +{ + left: -3.5rem; + + width: 1.75rem; + + pointer-events: all; + + border-radius: .5rem; +} +.custom-switch .custom-control-label::after +{ + top: calc(.25rem + 2px); + left: calc(-3.5rem + 2px); + + width: calc(1rem - 4px); + height: calc(1rem - 4px); + + transition: transform .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; + + border-radius: .5rem; + background-color: #dee2e6; +} +@media (prefers-reduced-motion: reduce) +{ + .custom-switch .custom-control-label::after + { + transition: none; + } +} +.custom-switch .custom-control-input:checked ~ .custom-control-label::after +{ + transform: translateX(.75rem); + + background-color: #fff; +} +.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before +{ + background-color: rgba(94, 114, 228, .5); +} + +.custom-select +{ + font-size: .875rem; + font-weight: 400; + line-height: 1.5; + + display: inline-block; + + width: 100%; + height: calc(1.5em + 1.25rem + 2px); + padding: .625rem 1.75rem .625rem .75rem; + + vertical-align: middle; + + color: #8898aa; + border: 1px solid #dee2e6; + border-radius: .375rem; + background: #fff url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'4\' height=\'5\' viewBox=\'0 0 4 5\'%3e%3cpath fill=\'%2332325d\' d=\'M2 0L0 2h4zm0 5L0 3h4z\'/%3e%3c/svg%3e') no-repeat right .75rem center/8px 10px; + box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075); + + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} +.custom-select:focus +{ + border-color: #5e72e4; + outline: 0; + box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075), 0 0 0 0 #5e72e4; +} +.custom-select:focus::-ms-value +{ + color: #8898aa; + background-color: #fff; +} +.custom-select[multiple], +.custom-select[size]:not([size='1']) +{ + height: auto; + padding-right: .75rem; + + background-image: none; +} +.custom-select:disabled +{ + color: #8898aa; + background-color: #e9ecef; +} +.custom-select::-ms-expand +{ + display: none; +} +.custom-select:-moz-focusring +{ + color: transparent; + text-shadow: 0 0 0 #8898aa; +} + +.custom-select-sm +{ + font-size: .75rem; + + height: calc(1.5em + .5rem + 2px); + padding-top: .25rem; + padding-bottom: .25rem; + padding-left: .5rem; +} + +.custom-select-lg +{ + font-size: .875rem; + + height: calc(1.5em + 1.75rem + 2px); + padding-top: .875rem; + padding-bottom: .875rem; + padding-left: 1rem; +} + +.custom-file +{ + position: relative; + + display: inline-block; + + width: 100%; + height: calc(1.5em + 1.25rem + 2px); + margin-bottom: 0; +} + +.custom-file-input +{ + position: relative; + z-index: 2; + + width: 100%; + height: calc(1.5em + 1.25rem + 2px); + margin: 0; + + opacity: 0; +} +.custom-file-input:focus ~ .custom-file-label +{ + border-color: #5e72e4; + box-shadow: 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1); +} +.custom-file-input[disabled] ~ .custom-file-label, +.custom-file-input:disabled ~ .custom-file-label +{ + background-color: #e9ecef; +} +.custom-file-input:lang(en) ~ .custom-file-label::after +{ + content: 'Browse'; +} +.custom-file-input ~ .custom-file-label[data-browse]::after +{ + content: attr(data-browse); +} + +.custom-file-label +{ + font-weight: 400; + line-height: 1.5; + + position: absolute; + z-index: 1; + top: 0; + right: 0; + left: 0; + + height: calc(1.5em + 1.25rem + 2px); + padding: .625rem .75rem; + + color: #8898aa; + border: 1px solid #dee2e6; + border-radius: .25rem; + background-color: #fff; + box-shadow: 0 3px 2px rgba(233, 236, 239, .05); +} +.custom-file-label::after +{ + line-height: 1.5; + + position: absolute; + z-index: 3; + top: 0; + right: 0; + bottom: 0; + + display: block; + + height: calc(1.5em + 1.25rem); + padding: .625rem .75rem; + + content: 'Browse'; + + color: #8898aa; + border-left: inherit; + border-radius: 0 .25rem .25rem 0; + background-color: #fff; +} + +.custom-range +{ + width: 100%; + height: 1rem; + padding: 0; + + background-color: transparent; + + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} +.custom-range:focus +{ + outline: none; +} +.custom-range:focus::-webkit-slider-thumb +{ + box-shadow: 0 0 0 1px #f8f9fe, 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1); +} +.custom-range:focus::-moz-range-thumb +{ + box-shadow: 0 0 0 1px #f8f9fe, 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1); +} +.custom-range:focus::-ms-thumb +{ + box-shadow: 0 0 0 1px #f8f9fe, 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1); +} +.custom-range::-moz-focus-outer +{ + border: 0; +} +.custom-range::-webkit-slider-thumb +{ + width: 1rem; + height: 1rem; + margin-top: -.25rem; + + transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; + + border: 0; + border-radius: 1rem; + background-color: #5e72e4; + box-shadow: 0 .1rem .25rem rgba(0, 0, 0, .1); + + -webkit-appearance: none; + appearance: none; +} +@media (prefers-reduced-motion: reduce) +{ + .custom-range::-webkit-slider-thumb + { + transition: none; + } +} +.custom-range::-webkit-slider-thumb:active +{ + background-color: #f7f8fe; +} +.custom-range::-webkit-slider-runnable-track +{ + width: 100%; + height: .5rem; + + cursor: pointer; + + color: transparent; + border-color: transparent; + border-radius: 1rem; + background-color: #dee2e6; + box-shadow: inset 0 .25rem .25rem rgba(0, 0, 0, .1); +} +.custom-range::-moz-range-thumb +{ + width: 1rem; + height: 1rem; + + transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; + + border: 0; + border-radius: 1rem; + background-color: #5e72e4; + box-shadow: 0 .1rem .25rem rgba(0, 0, 0, .1); + + -moz-appearance: none; + appearance: none; +} +@media (prefers-reduced-motion: reduce) +{ + .custom-range::-moz-range-thumb + { + transition: none; + } +} +.custom-range::-moz-range-thumb:active +{ + background-color: #f7f8fe; +} +.custom-range::-moz-range-track +{ + width: 100%; + height: .5rem; + + cursor: pointer; + + color: transparent; + border-color: transparent; + border-radius: 1rem; + background-color: #dee2e6; + box-shadow: inset 0 .25rem .25rem rgba(0, 0, 0, .1); +} +.custom-range::-ms-thumb +{ + width: 1rem; + height: 1rem; + margin-top: 0; + margin-right: 0; + margin-left: 0; + + transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; + + border: 0; + border-radius: 1rem; + background-color: #5e72e4; + box-shadow: 0 .1rem .25rem rgba(0, 0, 0, .1); + + appearance: none; +} +@media (prefers-reduced-motion: reduce) +{ + .custom-range::-ms-thumb + { + transition: none; + } +} +.custom-range::-ms-thumb:active +{ + background-color: #f7f8fe; +} +.custom-range::-ms-track +{ + width: 100%; + height: .5rem; + + cursor: pointer; + + color: transparent; + border-width: .5rem; + border-color: transparent; + background-color: transparent; + box-shadow: inset 0 .25rem .25rem rgba(0, 0, 0, .1); +} +.custom-range::-ms-fill-lower +{ + border-radius: 1rem; + background-color: #dee2e6; +} +.custom-range::-ms-fill-upper +{ + margin-right: 15px; + + border-radius: 1rem; + background-color: #dee2e6; +} +.custom-range:disabled::-webkit-slider-thumb +{ + background-color: #adb5bd; +} +.custom-range:disabled::-webkit-slider-runnable-track +{ + cursor: default; +} +.custom-range:disabled::-moz-range-thumb +{ + background-color: #adb5bd; +} +.custom-range:disabled::-moz-range-track +{ + cursor: default; +} +.custom-range:disabled::-ms-thumb +{ + background-color: #adb5bd; +} + +.custom-control-label::before, +.custom-file-label, +.custom-select +{ + transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) +{ + .custom-control-label::before, + .custom-file-label, + .custom-select + { + transition: none; + } +} + +.nav +{ + display: flex; + + margin-bottom: 0; + padding-left: 0; + + list-style: none; + + flex-wrap: wrap; +} + +.nav-link +{ + display: block; + + padding: .25rem .75rem; +} +.nav-link:hover, +.nav-link:focus +{ + text-decoration: none; +} +.nav-link.disabled +{ + cursor: default; + pointer-events: none; + + color: #8898aa; +} + +.nav-tabs +{ + border-bottom: 1px solid #dee2e6; +} +.nav-tabs .nav-item +{ + margin-bottom: -1px; +} +.nav-tabs .nav-link +{ + border: 1px solid transparent; + border-top-left-radius: .375rem; + border-top-right-radius: .375rem; +} +.nav-tabs .nav-link:hover, +.nav-tabs .nav-link:focus +{ + border-color: #e9ecef #e9ecef #dee2e6; +} +.nav-tabs .nav-link.disabled +{ + color: #8898aa; + border-color: transparent; + background-color: transparent; +} +.nav-tabs .nav-link.active, +.nav-tabs .nav-item.show .nav-link +{ + color: #525f7f; + border-color: #dee2e6 #dee2e6 #f8f9fe; + background-color: #f8f9fe; +} +.nav-tabs .dropdown-menu +{ + margin-top: -1px; + + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.nav-pills .nav-link +{ + border-radius: .375rem; +} + +.nav-pills .nav-link.active, +.nav-pills .show > .nav-link +{ + color: #fff; + background-color: #5e72e4; +} + +.nav-fill .nav-item +{ + text-align: center; + + flex: 1 1 auto; +} + +.nav-justified .nav-item +{ + text-align: center; + + flex-basis: 0; + flex-grow: 1; +} + +.tab-content > .tab-pane +{ + display: none; +} + +.tab-content > .active +{ + display: block; +} + +.navbar +{ + position: relative; + + display: flex; + + padding: 1rem 1rem; + + flex-wrap: wrap; + align-items: center; + justify-content: space-between; +} +.navbar .container, +.navbar .container-fluid, +.navbar .container-sm, +.navbar .container-md, +.navbar .container-lg, +.navbar .container-xl +{ + display: flex; + + flex-wrap: wrap; + align-items: center; + justify-content: space-between; +} + +.navbar-brand +{ + font-size: 1.25rem; + line-height: inherit; + + display: inline-block; + + margin-right: 1rem; + padding-top: .0625rem; + padding-bottom: .0625rem; + + white-space: nowrap; +} +.navbar-brand:hover, +.navbar-brand:focus +{ + text-decoration: none; +} + +.navbar-nav +{ + display: flex; + flex-direction: column; + + margin-bottom: 0; + padding-left: 0; + + list-style: none; +} +.navbar-nav .nav-link +{ + padding-right: 0; + padding-left: 0; +} +.navbar-nav .dropdown-menu +{ + position: static; + + float: none; +} + +.navbar-text +{ + display: inline-block; + + padding-top: .25rem; + padding-bottom: .25rem; +} + +.navbar-collapse +{ + flex-basis: 100%; + flex-grow: 1; + align-items: center; +} + +.navbar-toggler +{ + font-size: 1.25rem; + line-height: 1; + + padding: .25rem .75rem; + + border: 1px solid transparent; + border-radius: .25rem; + background-color: transparent; +} +.navbar-toggler:hover, +.navbar-toggler:focus +{ + text-decoration: none; +} + +.navbar-toggler-icon +{ + display: inline-block; + + width: 1.5em; + height: 1.5em; + + content: ''; + vertical-align: middle; + + background: no-repeat center center; + background-size: 100% 100%; +} + +@media (max-width: 575.98px) +{ + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid, + .navbar-expand-sm > .container-sm, + .navbar-expand-sm > .container-md, + .navbar-expand-sm > .container-lg, + .navbar-expand-sm > .container-xl + { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 576px) +{ + .navbar-expand-sm + { + flex-flow: row nowrap; + justify-content: flex-start; + } + .navbar-expand-sm .navbar-nav + { + flex-direction: row; + } + .navbar-expand-sm .navbar-nav .dropdown-menu + { + position: absolute; + } + .navbar-expand-sm .navbar-nav .nav-link + { + padding-right: 1rem; + padding-left: 1rem; + } + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid, + .navbar-expand-sm > .container-sm, + .navbar-expand-sm > .container-md, + .navbar-expand-sm > .container-lg, + .navbar-expand-sm > .container-xl + { + flex-wrap: nowrap; + } + .navbar-expand-sm .navbar-collapse + { + display: flex !important; + + flex-basis: auto; + } + .navbar-expand-sm .navbar-toggler + { + display: none; + } +} + +@media (max-width: 767.98px) +{ + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid, + .navbar-expand-md > .container-sm, + .navbar-expand-md > .container-md, + .navbar-expand-md > .container-lg, + .navbar-expand-md > .container-xl + { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 768px) +{ + .navbar-expand-md + { + flex-flow: row nowrap; + justify-content: flex-start; + } + .navbar-expand-md .navbar-nav + { + flex-direction: row; + } + .navbar-expand-md .navbar-nav .dropdown-menu + { + position: absolute; + } + .navbar-expand-md .navbar-nav .nav-link + { + padding-right: 1rem; + padding-left: 1rem; + } + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid, + .navbar-expand-md > .container-sm, + .navbar-expand-md > .container-md, + .navbar-expand-md > .container-lg, + .navbar-expand-md > .container-xl + { + flex-wrap: nowrap; + } + .navbar-expand-md .navbar-collapse + { + display: flex !important; + + flex-basis: auto; + } + .navbar-expand-md .navbar-toggler + { + display: none; + } +} + +@media (max-width: 991.98px) +{ + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid, + .navbar-expand-lg > .container-sm, + .navbar-expand-lg > .container-md, + .navbar-expand-lg > .container-lg, + .navbar-expand-lg > .container-xl + { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 992px) +{ + .navbar-expand-lg + { + flex-flow: row nowrap; + justify-content: flex-start; + } + .navbar-expand-lg .navbar-nav + { + flex-direction: row; + } + .navbar-expand-lg .navbar-nav .dropdown-menu + { + position: absolute; + } + .navbar-expand-lg .navbar-nav .nav-link + { + padding-right: 1rem; + padding-left: 1rem; + } + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid, + .navbar-expand-lg > .container-sm, + .navbar-expand-lg > .container-md, + .navbar-expand-lg > .container-lg, + .navbar-expand-lg > .container-xl + { + flex-wrap: nowrap; + } + .navbar-expand-lg .navbar-collapse + { + display: flex !important; + + flex-basis: auto; + } + .navbar-expand-lg .navbar-toggler + { + display: none; + } +} + +@media (max-width: 1199.98px) +{ + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid, + .navbar-expand-xl > .container-sm, + .navbar-expand-xl > .container-md, + .navbar-expand-xl > .container-lg, + .navbar-expand-xl > .container-xl + { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 1200px) +{ + .navbar-expand-xl + { + flex-flow: row nowrap; + justify-content: flex-start; + } + .navbar-expand-xl .navbar-nav + { + flex-direction: row; + } + .navbar-expand-xl .navbar-nav .dropdown-menu + { + position: absolute; + } + .navbar-expand-xl .navbar-nav .nav-link + { + padding-right: 1rem; + padding-left: 1rem; + } + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid, + .navbar-expand-xl > .container-sm, + .navbar-expand-xl > .container-md, + .navbar-expand-xl > .container-lg, + .navbar-expand-xl > .container-xl + { + flex-wrap: nowrap; + } + .navbar-expand-xl .navbar-collapse + { + display: flex !important; + + flex-basis: auto; + } + .navbar-expand-xl .navbar-toggler + { + display: none; + } +} + +.navbar-expand +{ + flex-flow: row nowrap; + justify-content: flex-start; +} +.navbar-expand > .container, +.navbar-expand > .container-fluid, +.navbar-expand > .container-sm, +.navbar-expand > .container-md, +.navbar-expand > .container-lg, +.navbar-expand > .container-xl +{ + padding-right: 0; + padding-left: 0; +} +.navbar-expand .navbar-nav +{ + flex-direction: row; +} +.navbar-expand .navbar-nav .dropdown-menu +{ + position: absolute; +} +.navbar-expand .navbar-nav .nav-link +{ + padding-right: 1rem; + padding-left: 1rem; +} +.navbar-expand > .container, +.navbar-expand > .container-fluid, +.navbar-expand > .container-sm, +.navbar-expand > .container-md, +.navbar-expand > .container-lg, +.navbar-expand > .container-xl +{ + flex-wrap: nowrap; +} +.navbar-expand .navbar-collapse +{ + display: flex !important; + + flex-basis: auto; +} +.navbar-expand .navbar-toggler +{ + display: none; +} + +.navbar-light .navbar-brand +{ + color: rgba(0, 0, 0, .9); +} +.navbar-light .navbar-brand:hover, +.navbar-light .navbar-brand:focus +{ + color: rgba(0, 0, 0, .9); +} + +.navbar-light .navbar-nav .nav-link +{ + color: rgba(0, 0, 0, .6); +} +.navbar-light .navbar-nav .nav-link:hover, +.navbar-light .navbar-nav .nav-link:focus +{ + color: rgba(0, 0, 0, .7); +} +.navbar-light .navbar-nav .nav-link.disabled +{ + color: rgba(0, 0, 0, .3); +} + +.navbar-light .navbar-nav .show > .nav-link, +.navbar-light .navbar-nav .active > .nav-link, +.navbar-light .navbar-nav .nav-link.show, +.navbar-light .navbar-nav .nav-link.active +{ + color: rgba(0, 0, 0, .9); +} + +.navbar-light .navbar-toggler +{ + color: rgba(0, 0, 0, .6); + border-color: transparent; +} + +.navbar-light .navbar-toggler-icon +{ + background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'30\' height=\'30\' viewBox=\'0 0 30 30\'%3e%3cpath stroke=\'rgba(0, 0, 0, 0.6)\' stroke-linecap=\'round\' stroke-miterlimit=\'10\' stroke-width=\'2\' d=\'M4 7h22M4 15h22M4 23h22\'/%3e%3c/svg%3e'); +} + +.navbar-light .navbar-text +{ + color: rgba(0, 0, 0, .6); +} +.navbar-light .navbar-text a +{ + color: rgba(0, 0, 0, .9); +} +.navbar-light .navbar-text a:hover, +.navbar-light .navbar-text a:focus +{ + color: rgba(0, 0, 0, .9); +} + +.navbar-dark .navbar-brand +{ + color: rgba(255, 255, 255, .65); +} +.navbar-dark .navbar-brand:hover, +.navbar-dark .navbar-brand:focus +{ + color: rgba(255, 255, 255, .65); +} + +.navbar-dark .navbar-nav .nav-link +{ + color: rgba(255, 255, 255, .95); +} +.navbar-dark .navbar-nav .nav-link:hover, +.navbar-dark .navbar-nav .nav-link:focus +{ + color: rgba(255, 255, 255, .65); +} +.navbar-dark .navbar-nav .nav-link.disabled +{ + color: rgba(255, 255, 255, .25); +} + +.navbar-dark .navbar-nav .show > .nav-link, +.navbar-dark .navbar-nav .active > .nav-link, +.navbar-dark .navbar-nav .nav-link.show, +.navbar-dark .navbar-nav .nav-link.active +{ + color: rgba(255, 255, 255, .65); +} + +.navbar-dark .navbar-toggler +{ + color: rgba(255, 255, 255, .95); + border-color: transparent; +} + +.navbar-dark .navbar-toggler-icon +{ + background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'30\' height=\'30\' viewBox=\'0 0 30 30\'%3e%3cpath stroke=\'rgba(255, 255, 255, 0.95)\' stroke-linecap=\'round\' stroke-miterlimit=\'10\' stroke-width=\'2\' d=\'M4 7h22M4 15h22M4 23h22\'/%3e%3c/svg%3e'); +} + +.navbar-dark .navbar-text +{ + color: rgba(255, 255, 255, .95); +} +.navbar-dark .navbar-text a +{ + color: rgba(255, 255, 255, .65); +} +.navbar-dark .navbar-text a:hover, +.navbar-dark .navbar-text a:focus +{ + color: rgba(255, 255, 255, .65); +} + +.card +{ + position: relative; + + display: flex; + flex-direction: column; + + min-width: 0; + + word-wrap: break-word; + + border: 1px solid rgba(0, 0, 0, .05); + border-radius: .375rem; + background-color: #fff; + background-clip: border-box; +} +.card > hr +{ + margin-right: 0; + margin-left: 0; +} +.card > .list-group:first-child .list-group-item:first-child +{ + border-top-left-radius: .375rem; + border-top-right-radius: .375rem; +} +.card > .list-group:last-child .list-group-item:last-child +{ + border-bottom-right-radius: .375rem; + border-bottom-left-radius: .375rem; +} + +.card-body +{ + min-height: 1px; + padding: 1.5rem; + + flex: 1 1 auto; +} + +.card-title +{ + margin-bottom: 1.25rem; +} + +.card-subtitle +{ + margin-top: -.625rem; + margin-bottom: 0; +} + +.card-text:last-child +{ + margin-bottom: 0; +} + +.card-link:hover +{ + text-decoration: none; +} + +.card-link + .card-link +{ + margin-left: 1.5rem; +} + +.card-header +{ + margin-bottom: 0; + padding: 1.25rem 1.5rem; + + border-bottom: 1px solid rgba(0, 0, 0, .05); + background-color: #fff; +} +.card-header:first-child +{ + border-radius: calc(.375rem - 1px) calc(.375rem - 1px) 0 0; +} +.card-header + .list-group .list-group-item:first-child +{ + border-top: 0; +} + +.card-footer +{ + padding: 1.25rem 1.5rem; + + border-top: 1px solid rgba(0, 0, 0, .05); + background-color: #fff; +} +.card-footer:last-child +{ + border-radius: 0 0 calc(.375rem - 1px) calc(.375rem - 1px); +} + +.card-header-tabs +{ + margin-right: -.75rem; + margin-bottom: -1.25rem; + margin-left: -.75rem; + + border-bottom: 0; +} + +.card-header-pills +{ + margin-right: -.75rem; + margin-left: -.75rem; +} + +.card-img-overlay +{ + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + + padding: 1.25rem; +} + +.card-img, +.card-img-top, +.card-img-bottom +{ + width: 100%; + + flex-shrink: 0; +} + +.card-img, +.card-img-top +{ + border-top-left-radius: calc(.375rem - 1px); + border-top-right-radius: calc(.375rem - 1px); +} + +.card-img, +.card-img-bottom +{ + border-bottom-right-radius: calc(.375rem - 1px); + border-bottom-left-radius: calc(.375rem - 1px); +} + +.card-deck .card +{ + margin-bottom: 15px; +} + +@media (min-width: 576px) +{ + .card-deck + { + display: flex; + + margin-right: -15px; + margin-left: -15px; + + flex-flow: row wrap; + } + .card-deck .card + { + margin-right: 15px; + margin-bottom: 0; + margin-left: 15px; + + flex: 1 0; + } +} + +.card-group > .card +{ + margin-bottom: 15px; +} + +@media (min-width: 576px) +{ + .card-group + { + display: flex; + + flex-flow: row wrap; + } + .card-group > .card + { + margin-bottom: 0; + + flex: 1 0; + } + .card-group > .card + .card + { + margin-left: 0; + + border-left: 0; + } + .card-group > .card:not(:last-child) + { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + .card-group > .card:not(:last-child) .card-img-top, + .card-group > .card:not(:last-child) .card-header + { + border-top-right-radius: 0; + } + .card-group > .card:not(:last-child) .card-img-bottom, + .card-group > .card:not(:last-child) .card-footer + { + border-bottom-right-radius: 0; + } + .card-group > .card:not(:first-child) + { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .card-group > .card:not(:first-child) .card-img-top, + .card-group > .card:not(:first-child) .card-header + { + border-top-left-radius: 0; + } + .card-group > .card:not(:first-child) .card-img-bottom, + .card-group > .card:not(:first-child) .card-footer + { + border-bottom-left-radius: 0; + } +} + +.card-columns .card +{ + margin-bottom: 1.25rem; +} + +@media (min-width: 576px) +{ + .card-columns + { + column-count: 3; + column-gap: 1.25rem; + orphans: 1; + widows: 1; + } + .card-columns .card + { + display: inline-block; + + width: 100%; + } +} + +.accordion > .card +{ + overflow: hidden; +} +.accordion > .card:not(:last-of-type) +{ + border-bottom: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.accordion > .card:not(:first-of-type) +{ + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.accordion > .card > .card-header +{ + margin-bottom: -1px; + + border-radius: 0; +} + +.breadcrumb +{ + display: flex; + + margin-bottom: 1rem; + padding: .75rem 1rem; + + list-style: none; + + border-radius: .375rem; + background-color: #e9ecef; + + flex-wrap: wrap; +} + +.breadcrumb-item + .breadcrumb-item +{ + padding-left: .5rem; +} +.breadcrumb-item + .breadcrumb-item::before +{ + display: inline-block; + + padding-right: .5rem; + + content: '/'; + + color: #8898aa; +} + +.breadcrumb-item + .breadcrumb-item:hover::before +{ + text-decoration: underline; +} + +.breadcrumb-item + .breadcrumb-item:hover::before +{ + text-decoration: none; +} + +.breadcrumb-item.active +{ + color: #8898aa; +} + +.pagination +{ + display: flex; + + padding-left: 0; + + list-style: none; + + border-radius: .375rem; +} + +.page-link +{ + line-height: 1.25; + + position: relative; + + display: block; + + margin-left: -1px; + padding: .5rem .75rem; + + color: #8898aa; + border: 1px solid #dee2e6; + background-color: #fff; +} +.page-link:hover +{ + z-index: 2; + + text-decoration: none; + + color: #8898aa; + border-color: #dee2e6; + background-color: #dee2e6; +} +.page-link:focus +{ + z-index: 3; + + outline: 0; + box-shadow: none; +} + +.page-item:first-child .page-link +{ + margin-left: 0; + + border-top-left-radius: .375rem; + border-bottom-left-radius: .375rem; +} + +.page-item:last-child .page-link +{ + border-top-right-radius: .375rem; + border-bottom-right-radius: .375rem; +} + +.page-item.active .page-link +{ + z-index: 3; + + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; +} + +.page-item.disabled .page-link +{ + cursor: auto; + pointer-events: none; + + color: #8898aa; + border-color: #dee2e6; + background-color: #fff; +} + +.pagination-lg .page-link +{ + font-size: 1.25rem; + line-height: 1.5; + + padding: .75rem 1.5rem; +} + +.pagination-lg .page-item:first-child .page-link +{ + border-top-left-radius: .4375rem; + border-bottom-left-radius: .4375rem; +} + +.pagination-lg .page-item:last-child .page-link +{ + border-top-right-radius: .4375rem; + border-bottom-right-radius: .4375rem; +} + +.pagination-sm .page-link +{ + font-size: .875rem; + line-height: 1.5; + + padding: .25rem .5rem; +} + +.pagination-sm .page-item:first-child .page-link +{ + border-top-left-radius: .25rem; + border-bottom-left-radius: .25rem; +} + +.pagination-sm .page-item:last-child .page-link +{ + border-top-right-radius: .25rem; + border-bottom-right-radius: .25rem; +} + +.badge +{ + font-size: 66%; + font-weight: 600; + line-height: 1; + + display: inline-block; + + padding: .35rem .375rem; + + transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; + text-align: center; + vertical-align: baseline; + white-space: nowrap; + + border-radius: .375rem; +} +@media (prefers-reduced-motion: reduce) +{ + .badge + { + transition: none; + } +} +a.badge:hover, +a.badge:focus +{ + text-decoration: none; +} +.badge:empty +{ + display: none; +} + +.btn .badge +{ + position: relative; + top: -1px; +} + +.badge-pill +{ + padding-right: .875em; + padding-left: .875em; + + border-radius: 10rem; +} + +.badge-primary +{ + color: #2643e9; + background-color: #eaecfb; +} +.badge-primary[href]:hover, +.badge-primary[href]:focus +{ + text-decoration: none; + + color: #fff; + background-color: #2a44db; +} + +.badge-secondary +{ + color: #cfe3f1; + background-color: white; +} +.badge-secondary[href]:hover, +.badge-secondary[href]:focus +{ + text-decoration: none; + + color: #212529; + background-color: #cadeeb; +} + +.badge-success +{ + color: #1aae6f; + background-color: #b0eed3; +} +.badge-success[href]:hover, +.badge-success[href]:focus +{ + text-decoration: none; + + color: #fff; + background-color: #229c68; +} + +.badge-info +{ + color: #03acca; + background-color: #aaedf9; +} +.badge-info[href]:hover, +.badge-info[href]:focus +{ + text-decoration: none; + + color: #fff; + background-color: #0c9cb7; +} + +.badge-warning +{ + color: #ff3709; + background-color: #fee6e0; +} +.badge-warning[href]:hover, +.badge-warning[href]:focus +{ + text-decoration: none; + + color: #fff; + background-color: #f93305; +} + +.badge-danger +{ + color: #f80031; + background-color: #fdd1da; +} +.badge-danger[href]:hover, +.badge-danger[href]:focus +{ + text-decoration: none; + + color: #fff; + background-color: #e30b36; +} + +.badge-light +{ + color: #879cb0; + background-color: white; +} +.badge-light[href]:hover, +.badge-light[href]:focus +{ + text-decoration: none; + + color: #fff; + background-color: #8b96a2; +} + +.badge-dark +{ + color: #090c0e; + background-color: #6a7783; +} +.badge-dark[href]:hover, +.badge-dark[href]:focus +{ + text-decoration: none; + + color: #fff; + background-color: #060607; +} + +.badge-default +{ + color: #091428; + background-color: #4172c6; +} +.badge-default[href]:hover, +.badge-default[href]:focus +{ + text-decoration: none; + + color: #fff; + background-color: #09111e; +} + +.badge-white +{ + color: #e8e3e3; + background-color: white; +} +.badge-white[href]:hover, +.badge-white[href]:focus +{ + text-decoration: none; + + color: #212529; + background-color: #e0e0e0; +} + +.badge-neutral +{ + color: #e8e3e3; + background-color: white; +} +.badge-neutral[href]:hover, +.badge-neutral[href]:focus +{ + text-decoration: none; + + color: #212529; + background-color: #e0e0e0; +} + +.badge-darker +{ + color: black; + background-color: #525252; +} +.badge-darker[href]:hover, +.badge-darker[href]:focus +{ + text-decoration: none; + + color: #fff; + background-color: black; +} + +.jumbotron +{ + margin-bottom: 2rem; + padding: 2rem 1rem; + + border-radius: .4375rem; + background-color: #e9ecef; +} +@media (min-width: 576px) +{ + .jumbotron + { + padding: 4rem 2rem; + } +} + +.jumbotron-fluid +{ + padding-right: 0; + padding-left: 0; + + border-radius: 0; +} + +.alert +{ + position: relative; + + margin-bottom: 1rem; + padding: 1rem 1.5rem; + + border: 1px solid transparent; + border-radius: .375rem; +} + +.alert-heading +{ + color: inherit; +} + +.alert-link +{ + font-weight: 600; +} + +.alert-dismissible +{ + padding-right: 4.5rem; +} +.alert-dismissible .close +{ + position: absolute; + top: 0; + right: 0; + + padding: 1rem 1.5rem; + + color: inherit; +} + +.alert-primary +{ + color: #fff; + border-color: #7889e8; + background-color: #7889e8; +} +.alert-primary a +{ + font-weight: 600; + + color: #1d32aa; +} +.alert-primary a:hover +{ + color: #fff; +} +.alert-primary hr +{ + border-top-color: #6276e4; +} +.alert-primary .alert-link +{ + color: #324cdd; +} + +.alert-secondary +{ + color: #212529; + border-color: #f8fbfc; + background-color: #f8fbfc; +} +.alert-secondary a +{ + font-weight: 600; + + color: #8dbece; +} +.alert-secondary a:hover +{ + color: #212529; +} +.alert-secondary hr +{ + border-top-color: #e6f1f4; +} +.alert-secondary .alert-link +{ + color: #d2e3ee; +} + +.alert-success +{ + color: #fff; + border-color: #4fd69c; + background-color: #4fd69c; +} +.alert-success a +{ + font-weight: 600; + + color: #1a724c; +} +.alert-success a:hover +{ + color: #fff; +} +.alert-success hr +{ + border-top-color: #3ad190; +} +.alert-success .alert-link +{ + color: #24a46d; +} + +.alert-info +{ + color: #fff; + border-color: #37d5f2; + background-color: #37d5f2; +} +.alert-info a +{ + font-weight: 600; + + color: #097487; +} +.alert-info a:hover +{ + color: #fff; +} +.alert-info hr +{ + border-top-color: #1fd0f0; +} +.alert-info .alert-link +{ + color: #0da5c0; +} + +.alert-warning +{ + color: #fff; + border-color: #fc7c5f; + background-color: #fc7c5f; +} +.alert-warning a +{ + font-weight: 600; + + color: #be2604; +} +.alert-warning a:hover +{ + color: #fff; +} +.alert-warning hr +{ + border-top-color: #fc6846; +} +.alert-warning .alert-link +{ + color: #fa3a0e; +} + +.alert-danger +{ + color: #fff; + border-color: #f75676; + background-color: #f75676; +} +.alert-danger a +{ + font-weight: 600; + + color: #ac0829; +} +.alert-danger a:hover +{ + color: #fff; +} +.alert-danger hr +{ + border-top-color: #f63e62; +} +.alert-danger .alert-link +{ + color: #ec0c38; +} + +.alert-light +{ + color: #fff; + border-color: #bac1c8; + background-color: #bac1c8; +} +.alert-light a +{ + font-weight: 600; + + color: #677582; +} +.alert-light a:hover +{ + color: #fff; +} +.alert-light hr +{ + border-top-color: #acb4bd; +} +.alert-light .alert-link +{ + color: #919ca6; +} + +.alert-dark +{ + color: #fff; + border-color: #45484b; + background-color: #45484b; +} +.alert-dark a +{ + font-weight: 600; + + color: black; +} +.alert-dark a:hover +{ + color: #fff; +} +.alert-dark hr +{ + border-top-color: #393b3e; +} +.alert-dark .alert-link +{ + color: #0a0c0d; +} + +.alert-default +{ + color: #fff; + border-color: #3c4d69; + background-color: #3c4d69; +} +.alert-default a +{ + font-weight: 600; + + color: #040608; +} +.alert-default a:hover +{ + color: #fff; +} +.alert-default hr +{ + border-top-color: #334159; +} +.alert-default .alert-link +{ + color: #0b1526; +} + +.alert-white +{ + color: #212529; + border-color: white; + background-color: white; +} +.alert-white a +{ + font-weight: 600; + + color: #b3b3b3; +} +.alert-white a:hover +{ + color: #212529; +} +.alert-white hr +{ + border-top-color: #f2f2f2; +} +.alert-white .alert-link +{ + color: #e6e6e6; +} + +.alert-neutral +{ + color: #212529; + border-color: white; + background-color: white; +} +.alert-neutral a +{ + font-weight: 600; + + color: #b3b3b3; +} +.alert-neutral a:hover +{ + color: #212529; +} +.alert-neutral hr +{ + border-top-color: #f2f2f2; +} +.alert-neutral .alert-link +{ + color: #e6e6e6; +} + +.alert-darker +{ + color: #fff; + border-color: #292929; + background-color: #292929; +} +.alert-darker a +{ + font-weight: 600; + + color: black; +} +.alert-darker a:hover +{ + color: #fff; +} +.alert-darker hr +{ + border-top-color: #1c1c1c; +} +.alert-darker .alert-link +{ + color: black; +} + +@keyframes progress-bar-stripes +{ + from + { + background-position: 1rem 0; + } + to + { + background-position: 0 0; + } +} + +.progress +{ + font-size: .75rem; + + display: flex; + overflow: hidden; + + height: 1rem; + + border-radius: .375rem; + background-color: #e9ecef; + box-shadow: inset 0 .1rem .1rem rgba(0, 0, 0, .1); +} + +.progress-bar +{ + display: flex; + overflow: hidden; + flex-direction: column; + + transition: width .6s ease; + text-align: center; + white-space: nowrap; + + color: #fff; + background-color: #5e72e4; + + justify-content: center; +} +@media (prefers-reduced-motion: reduce) +{ + .progress-bar + { + transition: none; + } +} + +.progress-bar-striped +{ + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-size: 1rem 1rem; +} + +.progress-bar-animated +{ + animation: progress-bar-stripes 1s linear infinite; +} +@media (prefers-reduced-motion: reduce) +{ + .progress-bar-animated + { + animation: none; + } +} + +.media +{ + display: flex; + + align-items: flex-start; +} + +.media-body +{ + flex: 1 1; +} + +.list-group +{ + display: flex; + flex-direction: column; + + margin-bottom: 0; + padding-left: 0; +} + +.list-group-item-action +{ + width: 100%; + + text-align: inherit; + + color: #525f7f; +} +.list-group-item-action:hover, +.list-group-item-action:focus +{ + z-index: 1; + + text-decoration: none; + + color: #525f7f; + background-color: #f6f9fc; +} +.list-group-item-action:active +{ + color: #525f7f; + background-color: #e9ecef; +} + +.list-group-item +{ + position: relative; + + display: block; + + padding: 1rem 1rem; + + border: 1px solid #e9ecef; + background-color: #fff; +} +.list-group-item:first-child +{ + border-top-left-radius: .375rem; + border-top-right-radius: .375rem; +} +.list-group-item:last-child +{ + border-bottom-right-radius: .375rem; + border-bottom-left-radius: .375rem; +} +.list-group-item.disabled, +.list-group-item:disabled +{ + pointer-events: none; + + color: #8898aa; + background-color: #fff; +} +.list-group-item.active +{ + z-index: 2; + + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; +} +.list-group-item + .list-group-item +{ + border-top-width: 0; +} +.list-group-item + .list-group-item.active +{ + margin-top: -1px; + + border-top-width: 1px; +} + +.list-group-horizontal +{ + flex-direction: row; +} +.list-group-horizontal .list-group-item:first-child +{ + border-top-right-radius: 0; + border-bottom-left-radius: .375rem; +} +.list-group-horizontal .list-group-item:last-child +{ + border-top-right-radius: .375rem; + border-bottom-left-radius: 0; +} +.list-group-horizontal .list-group-item.active +{ + margin-top: 0; +} +.list-group-horizontal .list-group-item + .list-group-item +{ + border-top-width: 1px; + border-left-width: 0; +} +.list-group-horizontal .list-group-item + .list-group-item.active +{ + margin-left: -1px; + + border-left-width: 1px; +} + +@media (min-width: 576px) +{ + .list-group-horizontal-sm + { + flex-direction: row; + } + .list-group-horizontal-sm .list-group-item:first-child + { + border-top-right-radius: 0; + border-bottom-left-radius: .375rem; + } + .list-group-horizontal-sm .list-group-item:last-child + { + border-top-right-radius: .375rem; + border-bottom-left-radius: 0; + } + .list-group-horizontal-sm .list-group-item.active + { + margin-top: 0; + } + .list-group-horizontal-sm .list-group-item + .list-group-item + { + border-top-width: 1px; + border-left-width: 0; + } + .list-group-horizontal-sm .list-group-item + .list-group-item.active + { + margin-left: -1px; + + border-left-width: 1px; + } +} + +@media (min-width: 768px) +{ + .list-group-horizontal-md + { + flex-direction: row; + } + .list-group-horizontal-md .list-group-item:first-child + { + border-top-right-radius: 0; + border-bottom-left-radius: .375rem; + } + .list-group-horizontal-md .list-group-item:last-child + { + border-top-right-radius: .375rem; + border-bottom-left-radius: 0; + } + .list-group-horizontal-md .list-group-item.active + { + margin-top: 0; + } + .list-group-horizontal-md .list-group-item + .list-group-item + { + border-top-width: 1px; + border-left-width: 0; + } + .list-group-horizontal-md .list-group-item + .list-group-item.active + { + margin-left: -1px; + + border-left-width: 1px; + } +} + +@media (min-width: 992px) +{ + .list-group-horizontal-lg + { + flex-direction: row; + } + .list-group-horizontal-lg .list-group-item:first-child + { + border-top-right-radius: 0; + border-bottom-left-radius: .375rem; + } + .list-group-horizontal-lg .list-group-item:last-child + { + border-top-right-radius: .375rem; + border-bottom-left-radius: 0; + } + .list-group-horizontal-lg .list-group-item.active + { + margin-top: 0; + } + .list-group-horizontal-lg .list-group-item + .list-group-item + { + border-top-width: 1px; + border-left-width: 0; + } + .list-group-horizontal-lg .list-group-item + .list-group-item.active + { + margin-left: -1px; + + border-left-width: 1px; + } +} + +@media (min-width: 1200px) +{ + .list-group-horizontal-xl + { + flex-direction: row; + } + .list-group-horizontal-xl .list-group-item:first-child + { + border-top-right-radius: 0; + border-bottom-left-radius: .375rem; + } + .list-group-horizontal-xl .list-group-item:last-child + { + border-top-right-radius: .375rem; + border-bottom-left-radius: 0; + } + .list-group-horizontal-xl .list-group-item.active + { + margin-top: 0; + } + .list-group-horizontal-xl .list-group-item + .list-group-item + { + border-top-width: 1px; + border-left-width: 0; + } + .list-group-horizontal-xl .list-group-item + .list-group-item.active + { + margin-left: -1px; + + border-left-width: 1px; + } +} + +.list-group-flush .list-group-item +{ + border-right-width: 0; + border-left-width: 0; + border-radius: 0; +} +.list-group-flush .list-group-item:first-child +{ + border-top-width: 0; +} + +.list-group-flush:last-child .list-group-item:last-child +{ + border-bottom-width: 0; +} + +.list-group-item-primary +{ + color: #313b77; + background-color: #d2d8f7; +} +.list-group-item-primary.list-group-item-action:hover, +.list-group-item-primary.list-group-item-action:focus +{ + color: #313b77; + background-color: #bcc5f3; +} +.list-group-item-primary.list-group-item-action.active +{ + color: #fff; + border-color: #313b77; + background-color: #313b77; +} + +.list-group-item-secondary +{ + color: #808283; + background-color: #fdfefe; +} +.list-group-item-secondary.list-group-item-action:hover, +.list-group-item-secondary.list-group-item-action:focus +{ + color: #808283; + background-color: #ecf6f6; +} +.list-group-item-secondary.list-group-item-action.active +{ + color: #fff; + border-color: #808283; + background-color: #808283; +} + +.list-group-item-success +{ + color: #176b47; + background-color: #c4f1de; +} +.list-group-item-success.list-group-item-action:hover, +.list-group-item-success.list-group-item-action:focus +{ + color: #176b47; + background-color: #afecd2; +} +.list-group-item-success.list-group-item-action.active +{ + color: #fff; + border-color: #176b47; + background-color: #176b47; +} + +.list-group-item-info +{ + color: #096b7c; + background-color: #bcf1fb; +} +.list-group-item-info.list-group-item-action:hover, +.list-group-item-info.list-group-item-action:focus +{ + color: #096b7c; + background-color: #a4ecfa; +} +.list-group-item-info.list-group-item-action.active +{ + color: #fff; + border-color: #096b7c; + background-color: #096b7c; +} + +.list-group-item-warning +{ + color: #833321; + background-color: #fed3ca; +} +.list-group-item-warning.list-group-item-action:hover, +.list-group-item-warning.list-group-item-action:focus +{ + color: #833321; + background-color: #febeb1; +} +.list-group-item-warning.list-group-item-action.active +{ + color: #fff; + border-color: #833321; + background-color: #833321; +} + +.list-group-item-danger +{ + color: #7f1c30; + background-color: #fcc7d1; +} +.list-group-item-danger.list-group-item-action:hover, +.list-group-item-danger.list-group-item-action:focus +{ + color: #7f1c30; + background-color: #fbafbd; +} +.list-group-item-danger.list-group-item-action.active +{ + color: #fff; + border-color: #7f1c30; + background-color: #7f1c30; +} + +.list-group-item-light +{ + color: #5a5e62; + background-color: #e8eaed; +} +.list-group-item-light.list-group-item-action:hover, +.list-group-item-light.list-group-item-action:focus +{ + color: #5a5e62; + background-color: #dadde2; +} +.list-group-item-light.list-group-item-action.active +{ + color: #fff; + border-color: #5a5e62; + background-color: #5a5e62; +} + +.list-group-item-dark +{ + color: #111315; + background-color: #c1c2c3; +} +.list-group-item-dark.list-group-item-action:hover, +.list-group-item-dark.list-group-item-action:focus +{ + color: #111315; + background-color: #b4b5b6; +} +.list-group-item-dark.list-group-item-action.active +{ + color: #fff; + border-color: #111315; + background-color: #111315; +} + +.list-group-item-default +{ + color: #0c1628; + background-color: #bec4cd; +} +.list-group-item-default.list-group-item-action:hover, +.list-group-item-default.list-group-item-action:focus +{ + color: #0c1628; + background-color: #b0b7c2; +} +.list-group-item-default.list-group-item-action.active +{ + color: #fff; + border-color: #0c1628; + background-color: #0c1628; +} + +.list-group-item-white +{ + color: #858585; + background-color: white; +} +.list-group-item-white.list-group-item-action:hover, +.list-group-item-white.list-group-item-action:focus +{ + color: #858585; + background-color: #f2f2f2; +} +.list-group-item-white.list-group-item-action.active +{ + color: #fff; + border-color: #858585; + background-color: #858585; +} + +.list-group-item-neutral +{ + color: #858585; + background-color: white; +} +.list-group-item-neutral.list-group-item-action:hover, +.list-group-item-neutral.list-group-item-action:focus +{ + color: #858585; + background-color: #f2f2f2; +} +.list-group-item-neutral.list-group-item-action.active +{ + color: #fff; + border-color: #858585; + background-color: #858585; +} + +.list-group-item-darker +{ + color: black; + background-color: #b8b8b8; +} +.list-group-item-darker.list-group-item-action:hover, +.list-group-item-darker.list-group-item-action:focus +{ + color: black; + background-color: #ababab; +} +.list-group-item-darker.list-group-item-action.active +{ + color: #fff; + border-color: black; + background-color: black; +} + +.close +{ + font-size: 1.5rem; + font-weight: 600; + line-height: 1; + + float: right; + + opacity: .5; + color: rgba(0, 0, 0, .6); + text-shadow: none; +} +@media (max-width: 1200px) +{ + .close + { + font-size: calc(1.275rem + .3vw) ; + } +} +.close:hover +{ + text-decoration: none; + + color: rgba(0, 0, 0, .6); +} +.close:not(:disabled):not(.disabled):hover, +.close:not(:disabled):not(.disabled):focus +{ + opacity: .75; +} + +button.close +{ + padding: 0; + + border: 0; + background-color: transparent; + + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +a.close.disabled +{ + pointer-events: none; +} + +.modal-open +{ + overflow: hidden; +} +.modal-open .modal +{ + overflow-x: hidden; + overflow-y: auto; +} + +.modal +{ + position: fixed; + z-index: 1050; + top: 0; + left: 0; + + display: none; + overflow: hidden; + + width: 100%; + height: 100%; + + outline: 0; +} + +.modal-dialog +{ + position: relative; + + width: auto; + margin: .5rem; + + pointer-events: none; +} +.modal.fade .modal-dialog +{ + transition: transform .3s ease-out; + transform: translate(0, -50px); +} +@media (prefers-reduced-motion: reduce) +{ + .modal.fade .modal-dialog + { + transition: none; + } +} +.modal.show .modal-dialog +{ + transform: none; +} +.modal.modal-static .modal-dialog +{ + transform: scale(1.02); +} + +.modal-dialog-scrollable +{ + display: flex; + + max-height: calc(100% - 1rem); +} +.modal-dialog-scrollable .modal-content +{ + overflow: hidden; + + max-height: calc(100vh - 1rem); +} +.modal-dialog-scrollable .modal-header, +.modal-dialog-scrollable .modal-footer +{ + flex-shrink: 0; +} +.modal-dialog-scrollable .modal-body +{ + overflow-y: auto; +} + +.modal-dialog-centered +{ + display: flex; + + min-height: calc(100% - 1rem); + + align-items: center; +} +.modal-dialog-centered::before +{ + display: block; + + height: calc(100vh - 1rem); + + content: ''; +} +.modal-dialog-centered.modal-dialog-scrollable +{ + flex-direction: column; + + height: 100%; + + justify-content: center; +} +.modal-dialog-centered.modal-dialog-scrollable .modal-content +{ + max-height: none; +} +.modal-dialog-centered.modal-dialog-scrollable::before +{ + content: none; +} + +.modal-content +{ + position: relative; + + display: flex; + flex-direction: column; + + width: 100%; + + pointer-events: auto; + + border: 0 solid rgba(0, 0, 0, .2); + border-radius: .4375rem; + outline: 0; + background-color: #fff; + background-clip: padding-box; + box-shadow: 0 15px 35px rgba(50, 50, 93, .2), 0 5px 15px rgba(0, 0, 0, .17); +} + +.modal-backdrop +{ + position: fixed; + z-index: 1040; + top: 0; + left: 0; + + width: 100vw; + height: 100vh; + + background-color: #000; +} +.modal-backdrop.fade +{ + opacity: 0; +} +.modal-backdrop.show +{ + opacity: .16; +} + +.modal-header +{ + display: flex; + + padding: 1.25rem; + + border-bottom: 0 solid #e9ecef; + border-top-left-radius: .4375rem; + border-top-right-radius: .4375rem; + + align-items: flex-start; + justify-content: space-between; +} +.modal-header .close +{ + margin: -1rem -1rem -1rem auto; + padding: 1.25rem; +} + +.modal-title +{ + line-height: 1.1; + + margin-bottom: 0; +} + +.modal-body +{ + position: relative; + + padding: 1.5rem; + + flex: 1 1 auto; +} + +.modal-footer +{ + display: flex; + + padding: 1.25rem; + + border-top: 0 solid #e9ecef; + border-bottom-right-radius: .4375rem; + border-bottom-left-radius: .4375rem; + + flex-wrap: wrap; + align-items: center; + justify-content: flex-end; +} +.modal-footer > * +{ + margin: .25rem; +} + +.modal-scrollbar-measure +{ + position: absolute; + top: -9999px; + + overflow: scroll; + + width: 50px; + height: 50px; +} + +@media (min-width: 576px) +{ + .modal-dialog + { + max-width: 500px; + margin: 1.75rem auto; + } + .modal-dialog-scrollable + { + max-height: calc(100% - 3.5rem); + } + .modal-dialog-scrollable .modal-content + { + max-height: calc(100vh - 3.5rem); + } + .modal-dialog-centered + { + min-height: calc(100% - 3.5rem); + } + .modal-dialog-centered::before + { + height: calc(100vh - 3.5rem); + } + .modal-content + { + box-shadow: 0 15px 35px rgba(50, 50, 93, .2), 0 5px 15px rgba(0, 0, 0, .17); + } + .modal-sm + { + max-width: 380px; + } +} + +@media (min-width: 992px) +{ + .modal-lg, + .modal-xl + { + max-width: 800px; + } +} + +@media (min-width: 1200px) +{ + .modal-xl + { + max-width: 1140px; + } +} + +.tooltip +{ + font-family: Open Sans, sans-serif; + font-size: .875rem; + font-weight: 400; + font-style: normal; + line-height: 1.5; + + position: absolute; + z-index: 1070; + + display: block; + + margin: 0; + + text-align: left; + text-align: start; + white-space: normal; + text-decoration: none; + letter-spacing: normal; + word-spacing: normal; + text-transform: none; + word-wrap: break-word; + word-break: normal; + + opacity: 0; + text-shadow: none; + + line-break: auto; +} +.tooltip.show +{ + opacity: .9; +} +.tooltip .arrow +{ + position: absolute; + + display: block; + + width: .8rem; + height: .4rem; +} +.tooltip .arrow::before +{ + position: absolute; + + content: ''; + + border-style: solid; + border-color: transparent; +} + +.bs-tooltip-top, +.bs-tooltip-auto[x-placement^='top'] +{ + padding: .4rem 0; +} +.bs-tooltip-top .arrow, +.bs-tooltip-auto[x-placement^='top'] .arrow +{ + bottom: 0; +} +.bs-tooltip-top .arrow::before, +.bs-tooltip-auto[x-placement^='top'] .arrow::before +{ + top: 0; + + border-width: .4rem .4rem 0; + border-top-color: #000; +} + +.bs-tooltip-right, +.bs-tooltip-auto[x-placement^='right'] +{ + padding: 0 .4rem; +} +.bs-tooltip-right .arrow, +.bs-tooltip-auto[x-placement^='right'] .arrow +{ + left: 0; + + width: .4rem; + height: .8rem; +} +.bs-tooltip-right .arrow::before, +.bs-tooltip-auto[x-placement^='right'] .arrow::before +{ + right: 0; + + border-width: .4rem .4rem .4rem 0; + border-right-color: #000; +} + +.bs-tooltip-bottom, +.bs-tooltip-auto[x-placement^='bottom'] +{ + padding: .4rem 0; +} +.bs-tooltip-bottom .arrow, +.bs-tooltip-auto[x-placement^='bottom'] .arrow +{ + top: 0; +} +.bs-tooltip-bottom .arrow::before, +.bs-tooltip-auto[x-placement^='bottom'] .arrow::before +{ + bottom: 0; + + border-width: 0 .4rem .4rem; + border-bottom-color: #000; +} + +.bs-tooltip-left, +.bs-tooltip-auto[x-placement^='left'] +{ + padding: 0 .4rem; +} +.bs-tooltip-left .arrow, +.bs-tooltip-auto[x-placement^='left'] .arrow +{ + right: 0; + + width: .4rem; + height: .8rem; +} +.bs-tooltip-left .arrow::before, +.bs-tooltip-auto[x-placement^='left'] .arrow::before +{ + left: 0; + + border-width: .4rem 0 .4rem .4rem; + border-left-color: #000; +} + +.tooltip-inner +{ + max-width: 200px; + padding: .25rem .5rem; + + text-align: center; + + color: #fff; + border-radius: .375rem; + background-color: #000; +} + +.popover +{ + font-family: Open Sans, sans-serif; + font-size: .875rem; + font-weight: 400; + font-style: normal; + line-height: 1.5; + + position: absolute; + z-index: 1060; + top: 0; + left: 0; + + display: block; + + max-width: 276px; + + text-align: left; + text-align: start; + white-space: normal; + text-decoration: none; + letter-spacing: normal; + word-spacing: normal; + text-transform: none; + word-wrap: break-word; + word-break: normal; + + border: 1px solid rgba(0, 0, 0, .05); + border-radius: .4375rem; + background-color: #fff; + background-clip: padding-box; + box-shadow: 0 .5rem 2rem 0 rgba(0, 0, 0, .2); + text-shadow: none; + + line-break: auto; +} +.popover .arrow +{ + position: absolute; + + display: block; + + width: 1rem; + height: .5rem; + margin: 0 .4375rem; +} +.popover .arrow::before, +.popover .arrow::after +{ + position: absolute; + + display: block; + + content: ''; + + border-style: solid; + border-color: transparent; +} + +.bs-popover-top, +.bs-popover-auto[x-placement^='top'] +{ + margin-bottom: .5rem; +} +.bs-popover-top > .arrow, +.bs-popover-auto[x-placement^='top'] > .arrow +{ + bottom: calc(-.5rem - 1px); +} +.bs-popover-top > .arrow::before, +.bs-popover-auto[x-placement^='top'] > .arrow::before +{ + bottom: 0; + + border-width: .5rem .5rem 0; + border-top-color: transparent; +} +.bs-popover-top > .arrow::after, +.bs-popover-auto[x-placement^='top'] > .arrow::after +{ + bottom: 1px; + + border-width: .5rem .5rem 0; + border-top-color: #fff; +} + +.bs-popover-right, +.bs-popover-auto[x-placement^='right'] +{ + margin-left: .5rem; +} +.bs-popover-right > .arrow, +.bs-popover-auto[x-placement^='right'] > .arrow +{ + left: calc(-.5rem - 1px); + + width: .5rem; + height: 1rem; + margin: .4375rem 0; +} +.bs-popover-right > .arrow::before, +.bs-popover-auto[x-placement^='right'] > .arrow::before +{ + left: 0; + + border-width: .5rem .5rem .5rem 0; + border-right-color: transparent; +} +.bs-popover-right > .arrow::after, +.bs-popover-auto[x-placement^='right'] > .arrow::after +{ + left: 1px; + + border-width: .5rem .5rem .5rem 0; + border-right-color: #fff; +} + +.bs-popover-bottom, +.bs-popover-auto[x-placement^='bottom'] +{ + margin-top: .5rem; +} +.bs-popover-bottom > .arrow, +.bs-popover-auto[x-placement^='bottom'] > .arrow +{ + top: calc(-.5rem - 1px); +} +.bs-popover-bottom > .arrow::before, +.bs-popover-auto[x-placement^='bottom'] > .arrow::before +{ + top: 0; + + border-width: 0 .5rem .5rem .5rem; + border-bottom-color: transparent; +} +.bs-popover-bottom > .arrow::after, +.bs-popover-auto[x-placement^='bottom'] > .arrow::after +{ + top: 1px; + + border-width: 0 .5rem .5rem .5rem; + border-bottom-color: #fff; +} +.bs-popover-bottom .popover-header::before, +.bs-popover-auto[x-placement^='bottom'] .popover-header::before +{ + position: absolute; + top: 0; + left: 50%; + + display: block; + + width: 1rem; + margin-left: -.5rem; + + content: ''; + + border-bottom: 1px solid #fff; +} + +.bs-popover-left, +.bs-popover-auto[x-placement^='left'] +{ + margin-right: .5rem; +} +.bs-popover-left > .arrow, +.bs-popover-auto[x-placement^='left'] > .arrow +{ + right: calc(-.5rem - 1px); + + width: .5rem; + height: 1rem; + margin: .4375rem 0; +} +.bs-popover-left > .arrow::before, +.bs-popover-auto[x-placement^='left'] > .arrow::before +{ + right: 0; + + border-width: .5rem 0 .5rem .5rem; + border-left-color: transparent; +} +.bs-popover-left > .arrow::after, +.bs-popover-auto[x-placement^='left'] > .arrow::after +{ + right: 1px; + + border-width: .5rem 0 .5rem .5rem; + border-left-color: #fff; +} + +.popover-header +{ + font-size: 1rem; + + margin-bottom: 0; + padding: .5rem .95rem; + + color: #32325d; + border-bottom: 1px solid #f2f2f2; + border-top-left-radius: calc(.4375rem - 1px); + border-top-right-radius: calc(.4375rem - 1px); + background-color: #fff; +} +.popover-header:empty +{ + display: none; +} + +.popover-body +{ + padding: .5rem .95rem; + + color: #525f7f; +} + +.carousel +{ + position: relative; +} + +.carousel.pointer-event +{ + touch-action: pan-y; +} + +.carousel-inner +{ + position: relative; + + overflow: hidden; + + width: 100%; +} +.carousel-inner::after +{ + display: block; + clear: both; + + content: ''; +} + +.carousel-item +{ + position: relative; + + display: none; + float: left; + + width: 100%; + margin-right: -100%; + + transition: transform .6s ease-in-out; + + -webkit-backface-visibility: hidden; + backface-visibility: hidden; +} +@media (prefers-reduced-motion: reduce) +{ + .carousel-item + { + transition: none; + } +} + +.carousel-item.active, +.carousel-item-next, +.carousel-item-prev +{ + display: block; +} + +.carousel-item-next:not(.carousel-item-left), +.active.carousel-item-right +{ + transform: translateX(100%); +} + +.carousel-item-prev:not(.carousel-item-right), +.active.carousel-item-left +{ + transform: translateX(-100%); +} + +.carousel-fade .carousel-item +{ + transition-property: opacity; + transform: none; + + opacity: 0; +} + +.carousel-fade .carousel-item.active, +.carousel-fade .carousel-item-next.carousel-item-left, +.carousel-fade .carousel-item-prev.carousel-item-right +{ + z-index: 1; + + opacity: 1; +} + +.carousel-fade .active.carousel-item-left, +.carousel-fade .active.carousel-item-right +{ + z-index: 0; + + transition: opacity 0s .6s; + + opacity: 0; +} +@media (prefers-reduced-motion: reduce) +{ + .carousel-fade .active.carousel-item-left, + .carousel-fade .active.carousel-item-right + { + transition: none; + } +} + +.carousel-control-prev, +.carousel-control-next +{ + position: absolute; + z-index: 1; + top: 0; + bottom: 0; + + display: flex; + + width: 15%; + + transition: opacity .15s ease; + text-align: center; + + opacity: .5; + color: #fff; + + align-items: center; + justify-content: center; +} +@media (prefers-reduced-motion: reduce) +{ + .carousel-control-prev, + .carousel-control-next + { + transition: none; + } +} +.carousel-control-prev:hover, +.carousel-control-prev:focus, +.carousel-control-next:hover, +.carousel-control-next:focus +{ + text-decoration: none; + + opacity: .9; + color: #fff; + outline: 0; +} + +.carousel-control-prev +{ + left: 0; +} + +.carousel-control-next +{ + right: 0; +} + +.carousel-control-prev-icon, +.carousel-control-next-icon +{ + display: inline-block; + + width: 20px; + height: 20px; + + background: no-repeat 50% / 100% 100%; +} + +.carousel-control-prev-icon +{ + background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'%23fff\' width=\'8\' height=\'8\' viewBox=\'0 0 8 8\'%3e%3cpath d=\'M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z\'/%3e%3c/svg%3e'); +} + +.carousel-control-next-icon +{ + background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'%23fff\' width=\'8\' height=\'8\' viewBox=\'0 0 8 8\'%3e%3cpath d=\'M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z\'/%3e%3c/svg%3e'); +} + +.carousel-indicators +{ + position: absolute; + z-index: 15; + right: 0; + bottom: 0; + left: 0; + + display: flex; + + margin-right: 15%; + margin-left: 15%; + padding-left: 0; + + list-style: none; + + justify-content: center; +} +.carousel-indicators li +{ + box-sizing: content-box; + width: 30px; + height: 3px; + margin-right: 3px; + margin-left: 3px; + + cursor: pointer; + transition: opacity .6s ease; + text-indent: -999px; + + opacity: .5; + border-top: 10px solid transparent; + border-bottom: 10px solid transparent; + background-color: #fff; + background-clip: padding-box; + + flex: 0 1 auto; +} +@media (prefers-reduced-motion: reduce) +{ + .carousel-indicators li + { + transition: none; + } +} +.carousel-indicators .active +{ + opacity: 1; +} + +.carousel-caption +{ + position: absolute; + z-index: 10; + right: 15%; + bottom: 20px; + left: 15%; + + padding-top: 20px; + padding-bottom: 20px; + + text-align: center; + + color: #fff; +} + +.align-baseline +{ + vertical-align: baseline !important; +} + +.align-top +{ + vertical-align: top !important; +} + +.align-middle +{ + vertical-align: middle !important; +} + +.align-bottom +{ + vertical-align: bottom !important; +} + +.align-text-bottom +{ + vertical-align: text-bottom !important; +} + +.align-text-top +{ + vertical-align: text-top !important; +} + +.bg-primary +{ + background-color: #5e72e4 !important; +} + +a.bg-primary:hover, +a.bg-primary:focus, +button.bg-primary:hover, +button.bg-primary:focus +{ + background-color: #324cdd !important; +} + +.bg-secondary +{ + background-color: #f7fafc !important; +} + +a.bg-secondary:hover, +a.bg-secondary:focus, +button.bg-secondary:hover, +button.bg-secondary:focus +{ + background-color: #d2e3ee !important; +} + +.bg-success +{ + background-color: #2dce89 !important; +} + +a.bg-success:hover, +a.bg-success:focus, +button.bg-success:hover, +button.bg-success:focus +{ + background-color: #24a46d !important; +} + +.bg-info +{ + background-color: #11cdef !important; +} + +a.bg-info:hover, +a.bg-info:focus, +button.bg-info:hover, +button.bg-info:focus +{ + background-color: #0da5c0 !important; +} + +.bg-warning +{ + background-color: #fb6340 !important; +} + +a.bg-warning:hover, +a.bg-warning:focus, +button.bg-warning:hover, +button.bg-warning:focus +{ + background-color: #fa3a0e !important; +} + +.bg-danger +{ + background-color: #f5365c !important; +} + +a.bg-danger:hover, +a.bg-danger:focus, +button.bg-danger:hover, +button.bg-danger:focus +{ + background-color: #ec0c38 !important; +} + +.bg-light +{ + background-color: #adb5bd !important; +} + +a.bg-light:hover, +a.bg-light:focus, +button.bg-light:hover, +button.bg-light:focus +{ + background-color: #919ca6 !important; +} + +.bg-dark +{ + background-color: #212529 !important; +} + +a.bg-dark:hover, +a.bg-dark:focus, +button.bg-dark:hover, +button.bg-dark:focus +{ + background-color: #0a0c0d !important; +} + +.bg-default +{ + background-color: #172b4d !important; +} + +a.bg-default:hover, +a.bg-default:focus, +button.bg-default:hover, +button.bg-default:focus +{ + background-color: #0b1526 !important; +} + +.bg-white +{ + background-color: #fff !important; +} + +a.bg-white:hover, +a.bg-white:focus, +button.bg-white:hover, +button.bg-white:focus +{ + background-color: #e6e6e6 !important; +} + +.bg-neutral +{ + background-color: #fff !important; +} + +a.bg-neutral:hover, +a.bg-neutral:focus, +button.bg-neutral:hover, +button.bg-neutral:focus +{ + background-color: #e6e6e6 !important; +} + +.bg-darker +{ + background-color: black !important; +} + +a.bg-darker:hover, +a.bg-darker:focus, +button.bg-darker:hover, +button.bg-darker:focus +{ + background-color: black !important; +} + +.bg-white +{ + background-color: #fff !important; +} + +.bg-transparent +{ + background-color: transparent !important; +} + +.border +{ + border: 1px solid #e9ecef !important; +} + +.border-top +{ + border-top: 1px solid #e9ecef !important; +} + +.border-right +{ + border-right: 1px solid #e9ecef !important; +} + +.border-bottom +{ + border-bottom: 1px solid #e9ecef !important; +} + +.border-left +{ + border-left: 1px solid #e9ecef !important; +} + +.border-0 +{ + border: 0 !important; +} + +.border-top-0 +{ + border-top: 0 !important; +} + +.border-right-0 +{ + border-right: 0 !important; +} + +.border-bottom-0 +{ + border-bottom: 0 !important; +} + +.border-left-0 +{ + border-left: 0 !important; +} + +.border-primary +{ + border-color: #5e72e4 !important; +} + +.border-secondary +{ + border-color: #f7fafc !important; +} + +.border-success +{ + border-color: #2dce89 !important; +} + +.border-info +{ + border-color: #11cdef !important; +} + +.border-warning +{ + border-color: #fb6340 !important; +} + +.border-danger +{ + border-color: #f5365c !important; +} + +.border-light +{ + border-color: #adb5bd !important; +} + +.border-dark +{ + border-color: #212529 !important; +} + +.border-default +{ + border-color: #172b4d !important; +} + +.border-white +{ + border-color: #fff !important; +} + +.border-neutral +{ + border-color: #fff !important; +} + +.border-darker +{ + border-color: black !important; +} + +.border-white +{ + border-color: #fff !important; +} + +.rounded-sm +{ + border-radius: .25rem !important; +} + +.rounded +{ + border-radius: .375rem !important; +} + +.rounded-top +{ + border-top-left-radius: .375rem !important; + border-top-right-radius: .375rem !important; +} + +.rounded-right +{ + border-top-right-radius: .375rem !important; + border-bottom-right-radius: .375rem !important; +} + +.rounded-bottom +{ + border-bottom-right-radius: .375rem !important; + border-bottom-left-radius: .375rem !important; +} + +.rounded-left +{ + border-top-left-radius: .375rem !important; + border-bottom-left-radius: .375rem !important; +} + +.rounded-lg +{ + border-radius: .4375rem !important; +} + +.rounded-circle, +.avatar.rounded-circle img +{ + border-radius: 50% !important; +} + +.rounded-pill +{ + border-radius: 50rem !important; +} + +.rounded-0 +{ + border-radius: 0 !important; +} + +.clearfix::after +{ + display: block; + clear: both; + + content: ''; +} + +.d-none +{ + display: none !important; +} + +.d-inline +{ + display: inline !important; +} + +.d-inline-block +{ + display: inline-block !important; +} + +.d-block +{ + display: block !important; +} + +.d-table +{ + display: table !important; +} + +.d-table-row +{ + display: table-row !important; +} + +.d-table-cell +{ + display: table-cell !important; +} + +.d-flex +{ + display: flex !important; +} + +.d-inline-flex +{ + display: inline-flex !important; +} + +@media (min-width: 576px) +{ + .d-sm-none + { + display: none !important; + } + .d-sm-inline + { + display: inline !important; + } + .d-sm-inline-block + { + display: inline-block !important; + } + .d-sm-block + { + display: block !important; + } + .d-sm-table + { + display: table !important; + } + .d-sm-table-row + { + display: table-row !important; + } + .d-sm-table-cell + { + display: table-cell !important; + } + .d-sm-flex + { + display: flex !important; + } + .d-sm-inline-flex + { + display: inline-flex !important; + } +} + +@media (min-width: 768px) +{ + .d-md-none + { + display: none !important; + } + .d-md-inline + { + display: inline !important; + } + .d-md-inline-block + { + display: inline-block !important; + } + .d-md-block + { + display: block !important; + } + .d-md-table + { + display: table !important; + } + .d-md-table-row + { + display: table-row !important; + } + .d-md-table-cell + { + display: table-cell !important; + } + .d-md-flex + { + display: flex !important; + } + .d-md-inline-flex + { + display: inline-flex !important; + } +} + +@media (min-width: 992px) +{ + .d-lg-none + { + display: none !important; + } + .d-lg-inline + { + display: inline !important; + } + .d-lg-inline-block + { + display: inline-block !important; + } + .d-lg-block + { + display: block !important; + } + .d-lg-table + { + display: table !important; + } + .d-lg-table-row + { + display: table-row !important; + } + .d-lg-table-cell + { + display: table-cell !important; + } + .d-lg-flex + { + display: flex !important; + } + .d-lg-inline-flex + { + display: inline-flex !important; + } +} + +@media (min-width: 1200px) +{ + .d-xl-none + { + display: none !important; + } + .d-xl-inline + { + display: inline !important; + } + .d-xl-inline-block + { + display: inline-block !important; + } + .d-xl-block + { + display: block !important; + } + .d-xl-table + { + display: table !important; + } + .d-xl-table-row + { + display: table-row !important; + } + .d-xl-table-cell + { + display: table-cell !important; + } + .d-xl-flex + { + display: flex !important; + } + .d-xl-inline-flex + { + display: inline-flex !important; + } +} + +@media print +{ + .d-print-none + { + display: none !important; + } + .d-print-inline + { + display: inline !important; + } + .d-print-inline-block + { + display: inline-block !important; + } + .d-print-block + { + display: block !important; + } + .d-print-table + { + display: table !important; + } + .d-print-table-row + { + display: table-row !important; + } + .d-print-table-cell + { + display: table-cell !important; + } + .d-print-flex + { + display: flex !important; + } + .d-print-inline-flex + { + display: inline-flex !important; + } +} + +.embed-responsive +{ + position: relative; + + display: block; + overflow: hidden; + + width: 100%; + padding: 0; +} +.embed-responsive::before +{ + display: block; + + content: ''; +} +.embed-responsive .embed-responsive-item, +.embed-responsive iframe, +.embed-responsive embed, +.embed-responsive object, +.embed-responsive video +{ + position: absolute; + top: 0; + bottom: 0; + left: 0; + + width: 100%; + height: 100%; + + border: 0; +} + +.embed-responsive-21by9::before +{ + padding-top: 42.85714%; +} + +.embed-responsive-16by9::before +{ + padding-top: 56.25%; +} + +.embed-responsive-4by3::before +{ + padding-top: 75%; +} + +.embed-responsive-1by1::before +{ + padding-top: 100%; +} + +.embed-responsive-21by9::before +{ + padding-top: 42.85714%; +} + +.embed-responsive-16by9::before +{ + padding-top: 56.25%; +} + +.embed-responsive-4by3::before +{ + padding-top: 75%; +} + +.embed-responsive-1by1::before +{ + padding-top: 100%; +} + +.flex-row +{ + flex-direction: row !important; +} + +.flex-column +{ + flex-direction: column !important; +} + +.flex-row-reverse +{ + flex-direction: row-reverse !important; +} + +.flex-column-reverse +{ + flex-direction: column-reverse !important; +} + +.flex-wrap +{ + flex-wrap: wrap !important; +} + +.flex-nowrap +{ + flex-wrap: nowrap !important; +} + +.flex-wrap-reverse +{ + flex-wrap: wrap-reverse !important; +} + +.flex-fill +{ + flex: 1 1 auto !important; +} + +.flex-grow-0 +{ + flex-grow: 0 !important; +} + +.flex-grow-1 +{ + flex-grow: 1 !important; +} + +.flex-shrink-0 +{ + flex-shrink: 0 !important; +} + +.flex-shrink-1 +{ + flex-shrink: 1 !important; +} + +.justify-content-start +{ + justify-content: flex-start !important; +} + +.justify-content-end +{ + justify-content: flex-end !important; +} + +.justify-content-center +{ + justify-content: center !important; +} + +.justify-content-between +{ + justify-content: space-between !important; +} + +.justify-content-around +{ + justify-content: space-around !important; +} + +.align-items-start +{ + align-items: flex-start !important; +} + +.align-items-end +{ + align-items: flex-end !important; +} + +.align-items-center +{ + align-items: center !important; +} + +.align-items-baseline +{ + align-items: baseline !important; +} + +.align-items-stretch +{ + align-items: stretch !important; +} + +.align-content-start +{ + align-content: flex-start !important; +} + +.align-content-end +{ + align-content: flex-end !important; +} + +.align-content-center +{ + align-content: center !important; +} + +.align-content-between +{ + align-content: space-between !important; +} + +.align-content-around +{ + align-content: space-around !important; +} + +.align-content-stretch +{ + align-content: stretch !important; +} + +.align-self-auto +{ + align-self: auto !important; +} + +.align-self-start +{ + align-self: flex-start !important; +} + +.align-self-end +{ + align-self: flex-end !important; +} + +.align-self-center +{ + align-self: center !important; +} + +.align-self-baseline +{ + align-self: baseline !important; +} + +.align-self-stretch +{ + align-self: stretch !important; +} + +@media (min-width: 576px) +{ + .flex-sm-row + { + flex-direction: row !important; + } + .flex-sm-column + { + flex-direction: column !important; + } + .flex-sm-row-reverse + { + flex-direction: row-reverse !important; + } + .flex-sm-column-reverse + { + flex-direction: column-reverse !important; + } + .flex-sm-wrap + { + flex-wrap: wrap !important; + } + .flex-sm-nowrap + { + flex-wrap: nowrap !important; + } + .flex-sm-wrap-reverse + { + flex-wrap: wrap-reverse !important; + } + .flex-sm-fill + { + flex: 1 1 auto !important; + } + .flex-sm-grow-0 + { + flex-grow: 0 !important; + } + .flex-sm-grow-1 + { + flex-grow: 1 !important; + } + .flex-sm-shrink-0 + { + flex-shrink: 0 !important; + } + .flex-sm-shrink-1 + { + flex-shrink: 1 !important; + } + .justify-content-sm-start + { + justify-content: flex-start !important; + } + .justify-content-sm-end + { + justify-content: flex-end !important; + } + .justify-content-sm-center + { + justify-content: center !important; + } + .justify-content-sm-between + { + justify-content: space-between !important; + } + .justify-content-sm-around + { + justify-content: space-around !important; + } + .align-items-sm-start + { + align-items: flex-start !important; + } + .align-items-sm-end + { + align-items: flex-end !important; + } + .align-items-sm-center + { + align-items: center !important; + } + .align-items-sm-baseline + { + align-items: baseline !important; + } + .align-items-sm-stretch + { + align-items: stretch !important; + } + .align-content-sm-start + { + align-content: flex-start !important; + } + .align-content-sm-end + { + align-content: flex-end !important; + } + .align-content-sm-center + { + align-content: center !important; + } + .align-content-sm-between + { + align-content: space-between !important; + } + .align-content-sm-around + { + align-content: space-around !important; + } + .align-content-sm-stretch + { + align-content: stretch !important; + } + .align-self-sm-auto + { + align-self: auto !important; + } + .align-self-sm-start + { + align-self: flex-start !important; + } + .align-self-sm-end + { + align-self: flex-end !important; + } + .align-self-sm-center + { + align-self: center !important; + } + .align-self-sm-baseline + { + align-self: baseline !important; + } + .align-self-sm-stretch + { + align-self: stretch !important; + } +} + +@media (min-width: 768px) +{ + .flex-md-row + { + flex-direction: row !important; + } + .flex-md-column + { + flex-direction: column !important; + } + .flex-md-row-reverse + { + flex-direction: row-reverse !important; + } + .flex-md-column-reverse + { + flex-direction: column-reverse !important; + } + .flex-md-wrap + { + flex-wrap: wrap !important; + } + .flex-md-nowrap + { + flex-wrap: nowrap !important; + } + .flex-md-wrap-reverse + { + flex-wrap: wrap-reverse !important; + } + .flex-md-fill + { + flex: 1 1 auto !important; + } + .flex-md-grow-0 + { + flex-grow: 0 !important; + } + .flex-md-grow-1 + { + flex-grow: 1 !important; + } + .flex-md-shrink-0 + { + flex-shrink: 0 !important; + } + .flex-md-shrink-1 + { + flex-shrink: 1 !important; + } + .justify-content-md-start + { + justify-content: flex-start !important; + } + .justify-content-md-end + { + justify-content: flex-end !important; + } + .justify-content-md-center + { + justify-content: center !important; + } + .justify-content-md-between + { + justify-content: space-between !important; + } + .justify-content-md-around + { + justify-content: space-around !important; + } + .align-items-md-start + { + align-items: flex-start !important; + } + .align-items-md-end + { + align-items: flex-end !important; + } + .align-items-md-center + { + align-items: center !important; + } + .align-items-md-baseline + { + align-items: baseline !important; + } + .align-items-md-stretch + { + align-items: stretch !important; + } + .align-content-md-start + { + align-content: flex-start !important; + } + .align-content-md-end + { + align-content: flex-end !important; + } + .align-content-md-center + { + align-content: center !important; + } + .align-content-md-between + { + align-content: space-between !important; + } + .align-content-md-around + { + align-content: space-around !important; + } + .align-content-md-stretch + { + align-content: stretch !important; + } + .align-self-md-auto + { + align-self: auto !important; + } + .align-self-md-start + { + align-self: flex-start !important; + } + .align-self-md-end + { + align-self: flex-end !important; + } + .align-self-md-center + { + align-self: center !important; + } + .align-self-md-baseline + { + align-self: baseline !important; + } + .align-self-md-stretch + { + align-self: stretch !important; + } +} + +@media (min-width: 992px) +{ + .flex-lg-row + { + flex-direction: row !important; + } + .flex-lg-column + { + flex-direction: column !important; + } + .flex-lg-row-reverse + { + flex-direction: row-reverse !important; + } + .flex-lg-column-reverse + { + flex-direction: column-reverse !important; + } + .flex-lg-wrap + { + flex-wrap: wrap !important; + } + .flex-lg-nowrap + { + flex-wrap: nowrap !important; + } + .flex-lg-wrap-reverse + { + flex-wrap: wrap-reverse !important; + } + .flex-lg-fill + { + flex: 1 1 auto !important; + } + .flex-lg-grow-0 + { + flex-grow: 0 !important; + } + .flex-lg-grow-1 + { + flex-grow: 1 !important; + } + .flex-lg-shrink-0 + { + flex-shrink: 0 !important; + } + .flex-lg-shrink-1 + { + flex-shrink: 1 !important; + } + .justify-content-lg-start + { + justify-content: flex-start !important; + } + .justify-content-lg-end + { + justify-content: flex-end !important; + } + .justify-content-lg-center + { + justify-content: center !important; + } + .justify-content-lg-between + { + justify-content: space-between !important; + } + .justify-content-lg-around + { + justify-content: space-around !important; + } + .align-items-lg-start + { + align-items: flex-start !important; + } + .align-items-lg-end + { + align-items: flex-end !important; + } + .align-items-lg-center + { + align-items: center !important; + } + .align-items-lg-baseline + { + align-items: baseline !important; + } + .align-items-lg-stretch + { + align-items: stretch !important; + } + .align-content-lg-start + { + align-content: flex-start !important; + } + .align-content-lg-end + { + align-content: flex-end !important; + } + .align-content-lg-center + { + align-content: center !important; + } + .align-content-lg-between + { + align-content: space-between !important; + } + .align-content-lg-around + { + align-content: space-around !important; + } + .align-content-lg-stretch + { + align-content: stretch !important; + } + .align-self-lg-auto + { + align-self: auto !important; + } + .align-self-lg-start + { + align-self: flex-start !important; + } + .align-self-lg-end + { + align-self: flex-end !important; + } + .align-self-lg-center + { + align-self: center !important; + } + .align-self-lg-baseline + { + align-self: baseline !important; + } + .align-self-lg-stretch + { + align-self: stretch !important; + } +} + +@media (min-width: 1200px) +{ + .flex-xl-row + { + flex-direction: row !important; + } + .flex-xl-column + { + flex-direction: column !important; + } + .flex-xl-row-reverse + { + flex-direction: row-reverse !important; + } + .flex-xl-column-reverse + { + flex-direction: column-reverse !important; + } + .flex-xl-wrap + { + flex-wrap: wrap !important; + } + .flex-xl-nowrap + { + flex-wrap: nowrap !important; + } + .flex-xl-wrap-reverse + { + flex-wrap: wrap-reverse !important; + } + .flex-xl-fill + { + flex: 1 1 auto !important; + } + .flex-xl-grow-0 + { + flex-grow: 0 !important; + } + .flex-xl-grow-1 + { + flex-grow: 1 !important; + } + .flex-xl-shrink-0 + { + flex-shrink: 0 !important; + } + .flex-xl-shrink-1 + { + flex-shrink: 1 !important; + } + .justify-content-xl-start + { + justify-content: flex-start !important; + } + .justify-content-xl-end + { + justify-content: flex-end !important; + } + .justify-content-xl-center + { + justify-content: center !important; + } + .justify-content-xl-between + { + justify-content: space-between !important; + } + .justify-content-xl-around + { + justify-content: space-around !important; + } + .align-items-xl-start + { + align-items: flex-start !important; + } + .align-items-xl-end + { + align-items: flex-end !important; + } + .align-items-xl-center + { + align-items: center !important; + } + .align-items-xl-baseline + { + align-items: baseline !important; + } + .align-items-xl-stretch + { + align-items: stretch !important; + } + .align-content-xl-start + { + align-content: flex-start !important; + } + .align-content-xl-end + { + align-content: flex-end !important; + } + .align-content-xl-center + { + align-content: center !important; + } + .align-content-xl-between + { + align-content: space-between !important; + } + .align-content-xl-around + { + align-content: space-around !important; + } + .align-content-xl-stretch + { + align-content: stretch !important; + } + .align-self-xl-auto + { + align-self: auto !important; + } + .align-self-xl-start + { + align-self: flex-start !important; + } + .align-self-xl-end + { + align-self: flex-end !important; + } + .align-self-xl-center + { + align-self: center !important; + } + .align-self-xl-baseline + { + align-self: baseline !important; + } + .align-self-xl-stretch + { + align-self: stretch !important; + } +} + +.float-left +{ + float: left !important; +} + +.float-right +{ + float: right !important; +} + +.float-none +{ + float: none !important; +} + +@media (min-width: 576px) +{ + .float-sm-left + { + float: left !important; + } + .float-sm-right + { + float: right !important; + } + .float-sm-none + { + float: none !important; + } +} + +@media (min-width: 768px) +{ + .float-md-left + { + float: left !important; + } + .float-md-right + { + float: right !important; + } + .float-md-none + { + float: none !important; + } +} + +@media (min-width: 992px) +{ + .float-lg-left + { + float: left !important; + } + .float-lg-right + { + float: right !important; + } + .float-lg-none + { + float: none !important; + } +} + +@media (min-width: 1200px) +{ + .float-xl-left + { + float: left !important; + } + .float-xl-right + { + float: right !important; + } + .float-xl-none + { + float: none !important; + } +} + +.overflow-auto +{ + overflow: auto !important; +} + +.overflow-hidden +{ + overflow: hidden !important; +} + +.position-static +{ + position: static !important; +} + +.position-relative +{ + position: relative !important; +} + +.position-absolute +{ + position: absolute !important; +} + +.position-fixed +{ + position: fixed !important; +} + +.position-sticky +{ + position: -webkit-sticky !important; + position: sticky !important; +} + +.fixed-top +{ + position: fixed; + z-index: 1030; + top: 0; + right: 0; + left: 0; +} + +.fixed-bottom +{ + position: fixed; + z-index: 1030; + right: 0; + bottom: 0; + left: 0; +} + +@supports ((position: -webkit-sticky) or (position: sticky)) +{ + .sticky-top + { + position: -webkit-sticky; + position: sticky; + z-index: 1020; + top: 0; + } +} + +.sr-only +{ + position: absolute; + + overflow: hidden; + clip: rect(0, 0, 0, 0); + + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + + white-space: nowrap; + + border: 0; +} + +.sr-only-focusable:active, +.sr-only-focusable:focus +{ + position: static; + + overflow: visible; + clip: auto; + + width: auto; + height: auto; + + white-space: normal; +} + +.shadow-sm +{ + box-shadow: 0 0 .5rem rgba(136, 152, 170, .075) !important; +} + +.shadow +{ + box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .15) !important; +} + +.shadow-lg +{ + box-shadow: 0 0 3rem rgba(136, 152, 170, .175) !important; +} + +.shadow-none +{ + box-shadow: none !important; +} + +.w-25 +{ + width: 25% !important; +} + +.w-50 +{ + width: 50% !important; +} + +.w-75 +{ + width: 75% !important; +} + +.w-100 +{ + width: 100% !important; +} + +.w-auto +{ + width: auto !important; +} + +.h-25 +{ + height: 25% !important; +} + +.h-50 +{ + height: 50% !important; +} + +.h-75 +{ + height: 75% !important; +} + +.h-100 +{ + height: 100% !important; +} + +.h-auto +{ + height: auto !important; +} + +.mw-100 +{ + max-width: 100% !important; +} + +.mh-100 +{ + max-height: 100% !important; +} + +.min-vw-100 +{ + min-width: 100vw !important; +} + +.min-vh-100 +{ + min-height: 100vh !important; +} + +.vw-100 +{ + width: 100vw !important; +} + +.vh-100 +{ + height: 100vh !important; +} + +.stretched-link::after +{ + position: absolute; + z-index: 1; + top: 0; + right: 0; + bottom: 0; + left: 0; + + content: ''; + pointer-events: auto; + + background-color: rgba(0, 0, 0, 0); +} + +.m-0 +{ + margin: 0 !important; +} + +.mt-0, +.my-0 +{ + margin-top: 0 !important; +} + +.mr-0, +.mx-0 +{ + margin-right: 0 !important; +} + +.mb-0, +.my-0 +{ + margin-bottom: 0 !important; +} + +.ml-0, +.mx-0 +{ + margin-left: 0 !important; +} + +.m-1 +{ + margin: .25rem !important; +} + +.mt-1, +.my-1 +{ + margin-top: .25rem !important; +} + +.mr-1, +.mx-1 +{ + margin-right: .25rem !important; +} + +.mb-1, +.my-1 +{ + margin-bottom: .25rem !important; +} + +.ml-1, +.mx-1 +{ + margin-left: .25rem !important; +} + +.m-2 +{ + margin: .5rem !important; +} + +.mt-2, +.my-2 +{ + margin-top: .5rem !important; +} + +.mr-2, +.mx-2 +{ + margin-right: .5rem !important; +} + +.mb-2, +.my-2 +{ + margin-bottom: .5rem !important; +} + +.ml-2, +.mx-2 +{ + margin-left: .5rem !important; +} + +.m-3 +{ + margin: 1rem !important; +} + +.mt-3, +.my-3 +{ + margin-top: 1rem !important; +} + +.mr-3, +.mx-3 +{ + margin-right: 1rem !important; +} + +.mb-3, +.my-3 +{ + margin-bottom: 1rem !important; +} + +.ml-3, +.mx-3 +{ + margin-left: 1rem !important; +} + +.m-4 +{ + margin: 1.5rem !important; +} + +.mt-4, +.my-4 +{ + margin-top: 1.5rem !important; +} + +.mr-4, +.mx-4 +{ + margin-right: 1.5rem !important; +} + +.mb-4, +.my-4 +{ + margin-bottom: 1.5rem !important; +} + +.ml-4, +.mx-4 +{ + margin-left: 1.5rem !important; +} + +.m-5 +{ + margin: 3rem !important; +} + +.mt-5, +.my-5 +{ + margin-top: 3rem !important; +} + +.mr-5, +.mx-5 +{ + margin-right: 3rem !important; +} + +.mb-5, +.my-5 +{ + margin-bottom: 3rem !important; +} + +.ml-5, +.mx-5 +{ + margin-left: 3rem !important; +} + +.m--9 +{ + margin: -10rem !important; +} + +.mt--9, +.my--9 +{ + margin-top: -10rem !important; +} + +.mr--9, +.mx--9 +{ + margin-right: -10rem !important; +} + +.mb--9, +.my--9 +{ + margin-bottom: -10rem !important; +} + +.ml--9, +.mx--9 +{ + margin-left: -10rem !important; +} + +.m--8 +{ + margin: -8rem !important; +} + +.mt--8, +.my--8 +{ + margin-top: -8rem !important; +} + +.mr--8, +.mx--8 +{ + margin-right: -8rem !important; +} + +.mb--8, +.my--8 +{ + margin-bottom: -8rem !important; +} + +.ml--8, +.mx--8 +{ + margin-left: -8rem !important; +} + +.m--7 +{ + margin: -6rem !important; +} + +.mt--7, +.my--7 +{ + margin-top: -6rem !important; +} + +.mr--7, +.mx--7 +{ + margin-right: -6rem !important; +} + +.mb--7, +.my--7 +{ + margin-bottom: -6rem !important; +} + +.ml--7, +.mx--7 +{ + margin-left: -6rem !important; +} + +.m--6 +{ + margin: -4.5rem !important; +} + +.mt--6, +.my--6 +{ + margin-top: -4.5rem !important; +} + +.mr--6, +.mx--6 +{ + margin-right: -4.5rem !important; +} + +.mb--6, +.my--6 +{ + margin-bottom: -4.5rem !important; +} + +.ml--6, +.mx--6 +{ + margin-left: -4.5rem !important; +} + +.m--5 +{ + margin: -3rem !important; +} + +.mt--5, +.my--5 +{ + margin-top: -3rem !important; +} + +.mr--5, +.mx--5 +{ + margin-right: -3rem !important; +} + +.mb--5, +.my--5 +{ + margin-bottom: -3rem !important; +} + +.ml--5, +.mx--5 +{ + margin-left: -3rem !important; +} + +.m--4 +{ + margin: -1.5rem !important; +} + +.mt--4, +.my--4 +{ + margin-top: -1.5rem !important; +} + +.mr--4, +.mx--4 +{ + margin-right: -1.5rem !important; +} + +.mb--4, +.my--4 +{ + margin-bottom: -1.5rem !important; +} + +.ml--4, +.mx--4 +{ + margin-left: -1.5rem !important; +} + +.m--3 +{ + margin: -1rem !important; +} + +.mt--3, +.my--3 +{ + margin-top: -1rem !important; +} + +.mr--3, +.mx--3 +{ + margin-right: -1rem !important; +} + +.mb--3, +.my--3 +{ + margin-bottom: -1rem !important; +} + +.ml--3, +.mx--3 +{ + margin-left: -1rem !important; +} + +.m--2 +{ + margin: -.5rem !important; +} + +.mt--2, +.my--2 +{ + margin-top: -.5rem !important; +} + +.mr--2, +.mx--2 +{ + margin-right: -.5rem !important; +} + +.mb--2, +.my--2 +{ + margin-bottom: -.5rem !important; +} + +.ml--2, +.mx--2 +{ + margin-left: -.5rem !important; +} + +.m--1 +{ + margin: -.25rem !important; +} + +.mt--1, +.my--1 +{ + margin-top: -.25rem !important; +} + +.mr--1, +.mx--1 +{ + margin-right: -.25rem !important; +} + +.mb--1, +.my--1 +{ + margin-bottom: -.25rem !important; +} + +.ml--1, +.mx--1 +{ + margin-left: -.25rem !important; +} + +.m-6 +{ + margin: 4.5rem !important; +} + +.mt-6, +.my-6 +{ + margin-top: 4.5rem !important; +} + +.mr-6, +.mx-6 +{ + margin-right: 4.5rem !important; +} + +.mb-6, +.my-6 +{ + margin-bottom: 4.5rem !important; +} + +.ml-6, +.mx-6 +{ + margin-left: 4.5rem !important; +} + +.m-7 +{ + margin: 6rem !important; +} + +.mt-7, +.my-7 +{ + margin-top: 6rem !important; +} + +.mr-7, +.mx-7 +{ + margin-right: 6rem !important; +} + +.mb-7, +.my-7 +{ + margin-bottom: 6rem !important; +} + +.ml-7, +.mx-7 +{ + margin-left: 6rem !important; +} + +.m-8 +{ + margin: 8rem !important; +} + +.mt-8, +.my-8 +{ + margin-top: 8rem !important; +} + +.mr-8, +.mx-8 +{ + margin-right: 8rem !important; +} + +.mb-8, +.my-8 +{ + margin-bottom: 8rem !important; +} + +.ml-8, +.mx-8 +{ + margin-left: 8rem !important; +} + +.m-9 +{ + margin: 10rem !important; +} + +.mt-9, +.my-9 +{ + margin-top: 10rem !important; +} + +.mr-9, +.mx-9 +{ + margin-right: 10rem !important; +} + +.mb-9, +.my-9 +{ + margin-bottom: 10rem !important; +} + +.ml-9, +.mx-9 +{ + margin-left: 10rem !important; +} + +.p-0 +{ + padding: 0 !important; +} + +.pt-0, +.py-0 +{ + padding-top: 0 !important; +} + +.pr-0, +.px-0 +{ + padding-right: 0 !important; +} + +.pb-0, +.py-0 +{ + padding-bottom: 0 !important; +} + +.pl-0, +.px-0 +{ + padding-left: 0 !important; +} + +.p-1 +{ + padding: .25rem !important; +} + +.pt-1, +.py-1 +{ + padding-top: .25rem !important; +} + +.pr-1, +.px-1 +{ + padding-right: .25rem !important; +} + +.pb-1, +.py-1 +{ + padding-bottom: .25rem !important; +} + +.pl-1, +.px-1 +{ + padding-left: .25rem !important; +} + +.p-2 +{ + padding: .5rem !important; +} + +.pt-2, +.py-2 +{ + padding-top: .5rem !important; +} + +.pr-2, +.px-2 +{ + padding-right: .5rem !important; +} + +.pb-2, +.py-2 +{ + padding-bottom: .5rem !important; +} + +.pl-2, +.px-2 +{ + padding-left: .5rem !important; +} + +.p-3 +{ + padding: 1rem !important; +} + +.pt-3, +.py-3 +{ + padding-top: 1rem !important; +} + +.pr-3, +.px-3 +{ + padding-right: 1rem !important; +} + +.pb-3, +.py-3 +{ + padding-bottom: 1rem !important; +} + +.pl-3, +.px-3 +{ + padding-left: 1rem !important; +} + +.p-4 +{ + padding: 1.5rem !important; +} + +.pt-4, +.py-4 +{ + padding-top: 1.5rem !important; +} + +.pr-4, +.px-4 +{ + padding-right: 1.5rem !important; +} + +.pb-4, +.py-4 +{ + padding-bottom: 1.5rem !important; +} + +.pl-4, +.px-4 +{ + padding-left: 1.5rem !important; +} + +.p-5 +{ + padding: 3rem !important; +} + +.pt-5, +.py-5 +{ + padding-top: 3rem !important; +} + +.pr-5, +.px-5 +{ + padding-right: 3rem !important; +} + +.pb-5, +.py-5 +{ + padding-bottom: 3rem !important; +} + +.pl-5, +.px-5 +{ + padding-left: 3rem !important; +} + +.p--9 +{ + padding: -10rem !important; +} + +.pt--9, +.py--9 +{ + padding-top: -10rem !important; +} + +.pr--9, +.px--9 +{ + padding-right: -10rem !important; +} + +.pb--9, +.py--9 +{ + padding-bottom: -10rem !important; +} + +.pl--9, +.px--9 +{ + padding-left: -10rem !important; +} + +.p--8 +{ + padding: -8rem !important; +} + +.pt--8, +.py--8 +{ + padding-top: -8rem !important; +} + +.pr--8, +.px--8 +{ + padding-right: -8rem !important; +} + +.pb--8, +.py--8 +{ + padding-bottom: -8rem !important; +} + +.pl--8, +.px--8 +{ + padding-left: -8rem !important; +} + +.p--7 +{ + padding: -6rem !important; +} + +.pt--7, +.py--7 +{ + padding-top: -6rem !important; +} + +.pr--7, +.px--7 +{ + padding-right: -6rem !important; +} + +.pb--7, +.py--7 +{ + padding-bottom: -6rem !important; +} + +.pl--7, +.px--7 +{ + padding-left: -6rem !important; +} + +.p--6 +{ + padding: -4.5rem !important; +} + +.pt--6, +.py--6 +{ + padding-top: -4.5rem !important; +} + +.pr--6, +.px--6 +{ + padding-right: -4.5rem !important; +} + +.pb--6, +.py--6 +{ + padding-bottom: -4.5rem !important; +} + +.pl--6, +.px--6 +{ + padding-left: -4.5rem !important; +} + +.p--5 +{ + padding: -3rem !important; +} + +.pt--5, +.py--5 +{ + padding-top: -3rem !important; +} + +.pr--5, +.px--5 +{ + padding-right: -3rem !important; +} + +.pb--5, +.py--5 +{ + padding-bottom: -3rem !important; +} + +.pl--5, +.px--5 +{ + padding-left: -3rem !important; +} + +.p--4 +{ + padding: -1.5rem !important; +} + +.pt--4, +.py--4 +{ + padding-top: -1.5rem !important; +} + +.pr--4, +.px--4 +{ + padding-right: -1.5rem !important; +} + +.pb--4, +.py--4 +{ + padding-bottom: -1.5rem !important; +} + +.pl--4, +.px--4 +{ + padding-left: -1.5rem !important; +} + +.p--3 +{ + padding: -1rem !important; +} + +.pt--3, +.py--3 +{ + padding-top: -1rem !important; +} + +.pr--3, +.px--3 +{ + padding-right: -1rem !important; +} + +.pb--3, +.py--3 +{ + padding-bottom: -1rem !important; +} + +.pl--3, +.px--3 +{ + padding-left: -1rem !important; +} + +.p--2 +{ + padding: -.5rem !important; +} + +.pt--2, +.py--2 +{ + padding-top: -.5rem !important; +} + +.pr--2, +.px--2 +{ + padding-right: -.5rem !important; +} + +.pb--2, +.py--2 +{ + padding-bottom: -.5rem !important; +} + +.pl--2, +.px--2 +{ + padding-left: -.5rem !important; +} + +.p--1 +{ + padding: -.25rem !important; +} + +.pt--1, +.py--1 +{ + padding-top: -.25rem !important; +} + +.pr--1, +.px--1 +{ + padding-right: -.25rem !important; +} + +.pb--1, +.py--1 +{ + padding-bottom: -.25rem !important; +} + +.pl--1, +.px--1 +{ + padding-left: -.25rem !important; +} + +.p-6 +{ + padding: 4.5rem !important; +} + +.pt-6, +.py-6 +{ + padding-top: 4.5rem !important; +} + +.pr-6, +.px-6 +{ + padding-right: 4.5rem !important; +} + +.pb-6, +.py-6 +{ + padding-bottom: 4.5rem !important; +} + +.pl-6, +.px-6 +{ + padding-left: 4.5rem !important; +} + +.p-7 +{ + padding: 6rem !important; +} + +.pt-7, +.py-7 +{ + padding-top: 6rem !important; +} + +.pr-7, +.px-7 +{ + padding-right: 6rem !important; +} + +.pb-7, +.py-7 +{ + padding-bottom: 6rem !important; +} + +.pl-7, +.px-7 +{ + padding-left: 6rem !important; +} + +.p-8 +{ + padding: 8rem !important; +} + +.pt-8, +.py-8 +{ + padding-top: 8rem !important; +} + +.pr-8, +.px-8 +{ + padding-right: 8rem !important; +} + +.pb-8, +.py-8 +{ + padding-bottom: 8rem !important; +} + +.pl-8, +.px-8 +{ + padding-left: 8rem !important; +} + +.p-9 +{ + padding: 10rem !important; +} + +.pt-9, +.py-9 +{ + padding-top: 10rem !important; +} + +.pr-9, +.px-9 +{ + padding-right: 10rem !important; +} + +.pb-9, +.py-9 +{ + padding-bottom: 10rem !important; +} + +.pl-9, +.px-9 +{ + padding-left: 10rem !important; +} + +.m-n1 +{ + margin: -.25rem !important; +} + +.mt-n1, +.my-n1 +{ + margin-top: -.25rem !important; +} + +.mr-n1, +.mx-n1 +{ + margin-right: -.25rem !important; +} + +.mb-n1, +.my-n1 +{ + margin-bottom: -.25rem !important; +} + +.ml-n1, +.mx-n1 +{ + margin-left: -.25rem !important; +} + +.m-n2 +{ + margin: -.5rem !important; +} + +.mt-n2, +.my-n2 +{ + margin-top: -.5rem !important; +} + +.mr-n2, +.mx-n2 +{ + margin-right: -.5rem !important; +} + +.mb-n2, +.my-n2 +{ + margin-bottom: -.5rem !important; +} + +.ml-n2, +.mx-n2 +{ + margin-left: -.5rem !important; +} + +.m-n3 +{ + margin: -1rem !important; +} + +.mt-n3, +.my-n3 +{ + margin-top: -1rem !important; +} + +.mr-n3, +.mx-n3 +{ + margin-right: -1rem !important; +} + +.mb-n3, +.my-n3 +{ + margin-bottom: -1rem !important; +} + +.ml-n3, +.mx-n3 +{ + margin-left: -1rem !important; +} + +.m-n4 +{ + margin: -1.5rem !important; +} + +.mt-n4, +.my-n4 +{ + margin-top: -1.5rem !important; +} + +.mr-n4, +.mx-n4 +{ + margin-right: -1.5rem !important; +} + +.mb-n4, +.my-n4 +{ + margin-bottom: -1.5rem !important; +} + +.ml-n4, +.mx-n4 +{ + margin-left: -1.5rem !important; +} + +.m-n5 +{ + margin: -3rem !important; +} + +.mt-n5, +.my-n5 +{ + margin-top: -3rem !important; +} + +.mr-n5, +.mx-n5 +{ + margin-right: -3rem !important; +} + +.mb-n5, +.my-n5 +{ + margin-bottom: -3rem !important; +} + +.ml-n5, +.mx-n5 +{ + margin-left: -3rem !important; +} + +.m-n-9 +{ + margin: 10rem !important; +} + +.mt-n-9, +.my-n-9 +{ + margin-top: 10rem !important; +} + +.mr-n-9, +.mx-n-9 +{ + margin-right: 10rem !important; +} + +.mb-n-9, +.my-n-9 +{ + margin-bottom: 10rem !important; +} + +.ml-n-9, +.mx-n-9 +{ + margin-left: 10rem !important; +} + +.m-n-8 +{ + margin: 8rem !important; +} + +.mt-n-8, +.my-n-8 +{ + margin-top: 8rem !important; +} + +.mr-n-8, +.mx-n-8 +{ + margin-right: 8rem !important; +} + +.mb-n-8, +.my-n-8 +{ + margin-bottom: 8rem !important; +} + +.ml-n-8, +.mx-n-8 +{ + margin-left: 8rem !important; +} + +.m-n-7 +{ + margin: 6rem !important; +} + +.mt-n-7, +.my-n-7 +{ + margin-top: 6rem !important; +} + +.mr-n-7, +.mx-n-7 +{ + margin-right: 6rem !important; +} + +.mb-n-7, +.my-n-7 +{ + margin-bottom: 6rem !important; +} + +.ml-n-7, +.mx-n-7 +{ + margin-left: 6rem !important; +} + +.m-n-6 +{ + margin: 4.5rem !important; +} + +.mt-n-6, +.my-n-6 +{ + margin-top: 4.5rem !important; +} + +.mr-n-6, +.mx-n-6 +{ + margin-right: 4.5rem !important; +} + +.mb-n-6, +.my-n-6 +{ + margin-bottom: 4.5rem !important; +} + +.ml-n-6, +.mx-n-6 +{ + margin-left: 4.5rem !important; +} + +.m-n-5 +{ + margin: 3rem !important; +} + +.mt-n-5, +.my-n-5 +{ + margin-top: 3rem !important; +} + +.mr-n-5, +.mx-n-5 +{ + margin-right: 3rem !important; +} + +.mb-n-5, +.my-n-5 +{ + margin-bottom: 3rem !important; +} + +.ml-n-5, +.mx-n-5 +{ + margin-left: 3rem !important; +} + +.m-n-4 +{ + margin: 1.5rem !important; +} + +.mt-n-4, +.my-n-4 +{ + margin-top: 1.5rem !important; +} + +.mr-n-4, +.mx-n-4 +{ + margin-right: 1.5rem !important; +} + +.mb-n-4, +.my-n-4 +{ + margin-bottom: 1.5rem !important; +} + +.ml-n-4, +.mx-n-4 +{ + margin-left: 1.5rem !important; +} + +.m-n-3 +{ + margin: 1rem !important; +} + +.mt-n-3, +.my-n-3 +{ + margin-top: 1rem !important; +} + +.mr-n-3, +.mx-n-3 +{ + margin-right: 1rem !important; +} + +.mb-n-3, +.my-n-3 +{ + margin-bottom: 1rem !important; +} + +.ml-n-3, +.mx-n-3 +{ + margin-left: 1rem !important; +} + +.m-n-2 +{ + margin: .5rem !important; +} + +.mt-n-2, +.my-n-2 +{ + margin-top: .5rem !important; +} + +.mr-n-2, +.mx-n-2 +{ + margin-right: .5rem !important; +} + +.mb-n-2, +.my-n-2 +{ + margin-bottom: .5rem !important; +} + +.ml-n-2, +.mx-n-2 +{ + margin-left: .5rem !important; +} + +.m-n-1 +{ + margin: .25rem !important; +} + +.mt-n-1, +.my-n-1 +{ + margin-top: .25rem !important; +} + +.mr-n-1, +.mx-n-1 +{ + margin-right: .25rem !important; +} + +.mb-n-1, +.my-n-1 +{ + margin-bottom: .25rem !important; +} + +.ml-n-1, +.mx-n-1 +{ + margin-left: .25rem !important; +} + +.m-n6 +{ + margin: -4.5rem !important; +} + +.mt-n6, +.my-n6 +{ + margin-top: -4.5rem !important; +} + +.mr-n6, +.mx-n6 +{ + margin-right: -4.5rem !important; +} + +.mb-n6, +.my-n6 +{ + margin-bottom: -4.5rem !important; +} + +.ml-n6, +.mx-n6 +{ + margin-left: -4.5rem !important; +} + +.m-n7 +{ + margin: -6rem !important; +} + +.mt-n7, +.my-n7 +{ + margin-top: -6rem !important; +} + +.mr-n7, +.mx-n7 +{ + margin-right: -6rem !important; +} + +.mb-n7, +.my-n7 +{ + margin-bottom: -6rem !important; +} + +.ml-n7, +.mx-n7 +{ + margin-left: -6rem !important; +} + +.m-n8 +{ + margin: -8rem !important; +} + +.mt-n8, +.my-n8 +{ + margin-top: -8rem !important; +} + +.mr-n8, +.mx-n8 +{ + margin-right: -8rem !important; +} + +.mb-n8, +.my-n8 +{ + margin-bottom: -8rem !important; +} + +.ml-n8, +.mx-n8 +{ + margin-left: -8rem !important; +} + +.m-n9 +{ + margin: -10rem !important; +} + +.mt-n9, +.my-n9 +{ + margin-top: -10rem !important; +} + +.mr-n9, +.mx-n9 +{ + margin-right: -10rem !important; +} + +.mb-n9, +.my-n9 +{ + margin-bottom: -10rem !important; +} + +.ml-n9, +.mx-n9 +{ + margin-left: -10rem !important; +} + +.m-auto +{ + margin: auto !important; +} + +.mt-auto, +.my-auto +{ + margin-top: auto !important; +} + +.mr-auto, +.mx-auto +{ + margin-right: auto !important; +} + +.mb-auto, +.my-auto +{ + margin-bottom: auto !important; +} + +.ml-auto, +.mx-auto +{ + margin-left: auto !important; +} + +@media (min-width: 576px) +{ + .m-sm-0 + { + margin: 0 !important; + } + .mt-sm-0, + .my-sm-0 + { + margin-top: 0 !important; + } + .mr-sm-0, + .mx-sm-0 + { + margin-right: 0 !important; + } + .mb-sm-0, + .my-sm-0 + { + margin-bottom: 0 !important; + } + .ml-sm-0, + .mx-sm-0 + { + margin-left: 0 !important; + } + .m-sm-1 + { + margin: .25rem !important; + } + .mt-sm-1, + .my-sm-1 + { + margin-top: .25rem !important; + } + .mr-sm-1, + .mx-sm-1 + { + margin-right: .25rem !important; + } + .mb-sm-1, + .my-sm-1 + { + margin-bottom: .25rem !important; + } + .ml-sm-1, + .mx-sm-1 + { + margin-left: .25rem !important; + } + .m-sm-2 + { + margin: .5rem !important; + } + .mt-sm-2, + .my-sm-2 + { + margin-top: .5rem !important; + } + .mr-sm-2, + .mx-sm-2 + { + margin-right: .5rem !important; + } + .mb-sm-2, + .my-sm-2 + { + margin-bottom: .5rem !important; + } + .ml-sm-2, + .mx-sm-2 + { + margin-left: .5rem !important; + } + .m-sm-3 + { + margin: 1rem !important; + } + .mt-sm-3, + .my-sm-3 + { + margin-top: 1rem !important; + } + .mr-sm-3, + .mx-sm-3 + { + margin-right: 1rem !important; + } + .mb-sm-3, + .my-sm-3 + { + margin-bottom: 1rem !important; + } + .ml-sm-3, + .mx-sm-3 + { + margin-left: 1rem !important; + } + .m-sm-4 + { + margin: 1.5rem !important; + } + .mt-sm-4, + .my-sm-4 + { + margin-top: 1.5rem !important; + } + .mr-sm-4, + .mx-sm-4 + { + margin-right: 1.5rem !important; + } + .mb-sm-4, + .my-sm-4 + { + margin-bottom: 1.5rem !important; + } + .ml-sm-4, + .mx-sm-4 + { + margin-left: 1.5rem !important; + } + .m-sm-5 + { + margin: 3rem !important; + } + .mt-sm-5, + .my-sm-5 + { + margin-top: 3rem !important; + } + .mr-sm-5, + .mx-sm-5 + { + margin-right: 3rem !important; + } + .mb-sm-5, + .my-sm-5 + { + margin-bottom: 3rem !important; + } + .ml-sm-5, + .mx-sm-5 + { + margin-left: 3rem !important; + } + .m-sm--9 + { + margin: -10rem !important; + } + .mt-sm--9, + .my-sm--9 + { + margin-top: -10rem !important; + } + .mr-sm--9, + .mx-sm--9 + { + margin-right: -10rem !important; + } + .mb-sm--9, + .my-sm--9 + { + margin-bottom: -10rem !important; + } + .ml-sm--9, + .mx-sm--9 + { + margin-left: -10rem !important; + } + .m-sm--8 + { + margin: -8rem !important; + } + .mt-sm--8, + .my-sm--8 + { + margin-top: -8rem !important; + } + .mr-sm--8, + .mx-sm--8 + { + margin-right: -8rem !important; + } + .mb-sm--8, + .my-sm--8 + { + margin-bottom: -8rem !important; + } + .ml-sm--8, + .mx-sm--8 + { + margin-left: -8rem !important; + } + .m-sm--7 + { + margin: -6rem !important; + } + .mt-sm--7, + .my-sm--7 + { + margin-top: -6rem !important; + } + .mr-sm--7, + .mx-sm--7 + { + margin-right: -6rem !important; + } + .mb-sm--7, + .my-sm--7 + { + margin-bottom: -6rem !important; + } + .ml-sm--7, + .mx-sm--7 + { + margin-left: -6rem !important; + } + .m-sm--6 + { + margin: -4.5rem !important; + } + .mt-sm--6, + .my-sm--6 + { + margin-top: -4.5rem !important; + } + .mr-sm--6, + .mx-sm--6 + { + margin-right: -4.5rem !important; + } + .mb-sm--6, + .my-sm--6 + { + margin-bottom: -4.5rem !important; + } + .ml-sm--6, + .mx-sm--6 + { + margin-left: -4.5rem !important; + } + .m-sm--5 + { + margin: -3rem !important; + } + .mt-sm--5, + .my-sm--5 + { + margin-top: -3rem !important; + } + .mr-sm--5, + .mx-sm--5 + { + margin-right: -3rem !important; + } + .mb-sm--5, + .my-sm--5 + { + margin-bottom: -3rem !important; + } + .ml-sm--5, + .mx-sm--5 + { + margin-left: -3rem !important; + } + .m-sm--4 + { + margin: -1.5rem !important; + } + .mt-sm--4, + .my-sm--4 + { + margin-top: -1.5rem !important; + } + .mr-sm--4, + .mx-sm--4 + { + margin-right: -1.5rem !important; + } + .mb-sm--4, + .my-sm--4 + { + margin-bottom: -1.5rem !important; + } + .ml-sm--4, + .mx-sm--4 + { + margin-left: -1.5rem !important; + } + .m-sm--3 + { + margin: -1rem !important; + } + .mt-sm--3, + .my-sm--3 + { + margin-top: -1rem !important; + } + .mr-sm--3, + .mx-sm--3 + { + margin-right: -1rem !important; + } + .mb-sm--3, + .my-sm--3 + { + margin-bottom: -1rem !important; + } + .ml-sm--3, + .mx-sm--3 + { + margin-left: -1rem !important; + } + .m-sm--2 + { + margin: -.5rem !important; + } + .mt-sm--2, + .my-sm--2 + { + margin-top: -.5rem !important; + } + .mr-sm--2, + .mx-sm--2 + { + margin-right: -.5rem !important; + } + .mb-sm--2, + .my-sm--2 + { + margin-bottom: -.5rem !important; + } + .ml-sm--2, + .mx-sm--2 + { + margin-left: -.5rem !important; + } + .m-sm--1 + { + margin: -.25rem !important; + } + .mt-sm--1, + .my-sm--1 + { + margin-top: -.25rem !important; + } + .mr-sm--1, + .mx-sm--1 + { + margin-right: -.25rem !important; + } + .mb-sm--1, + .my-sm--1 + { + margin-bottom: -.25rem !important; + } + .ml-sm--1, + .mx-sm--1 + { + margin-left: -.25rem !important; + } + .m-sm-6 + { + margin: 4.5rem !important; + } + .mt-sm-6, + .my-sm-6 + { + margin-top: 4.5rem !important; + } + .mr-sm-6, + .mx-sm-6 + { + margin-right: 4.5rem !important; + } + .mb-sm-6, + .my-sm-6 + { + margin-bottom: 4.5rem !important; + } + .ml-sm-6, + .mx-sm-6 + { + margin-left: 4.5rem !important; + } + .m-sm-7 + { + margin: 6rem !important; + } + .mt-sm-7, + .my-sm-7 + { + margin-top: 6rem !important; + } + .mr-sm-7, + .mx-sm-7 + { + margin-right: 6rem !important; + } + .mb-sm-7, + .my-sm-7 + { + margin-bottom: 6rem !important; + } + .ml-sm-7, + .mx-sm-7 + { + margin-left: 6rem !important; + } + .m-sm-8 + { + margin: 8rem !important; + } + .mt-sm-8, + .my-sm-8 + { + margin-top: 8rem !important; + } + .mr-sm-8, + .mx-sm-8 + { + margin-right: 8rem !important; + } + .mb-sm-8, + .my-sm-8 + { + margin-bottom: 8rem !important; + } + .ml-sm-8, + .mx-sm-8 + { + margin-left: 8rem !important; + } + .m-sm-9 + { + margin: 10rem !important; + } + .mt-sm-9, + .my-sm-9 + { + margin-top: 10rem !important; + } + .mr-sm-9, + .mx-sm-9 + { + margin-right: 10rem !important; + } + .mb-sm-9, + .my-sm-9 + { + margin-bottom: 10rem !important; + } + .ml-sm-9, + .mx-sm-9 + { + margin-left: 10rem !important; + } + .p-sm-0 + { + padding: 0 !important; + } + .pt-sm-0, + .py-sm-0 + { + padding-top: 0 !important; + } + .pr-sm-0, + .px-sm-0 + { + padding-right: 0 !important; + } + .pb-sm-0, + .py-sm-0 + { + padding-bottom: 0 !important; + } + .pl-sm-0, + .px-sm-0 + { + padding-left: 0 !important; + } + .p-sm-1 + { + padding: .25rem !important; + } + .pt-sm-1, + .py-sm-1 + { + padding-top: .25rem !important; + } + .pr-sm-1, + .px-sm-1 + { + padding-right: .25rem !important; + } + .pb-sm-1, + .py-sm-1 + { + padding-bottom: .25rem !important; + } + .pl-sm-1, + .px-sm-1 + { + padding-left: .25rem !important; + } + .p-sm-2 + { + padding: .5rem !important; + } + .pt-sm-2, + .py-sm-2 + { + padding-top: .5rem !important; + } + .pr-sm-2, + .px-sm-2 + { + padding-right: .5rem !important; + } + .pb-sm-2, + .py-sm-2 + { + padding-bottom: .5rem !important; + } + .pl-sm-2, + .px-sm-2 + { + padding-left: .5rem !important; + } + .p-sm-3 + { + padding: 1rem !important; + } + .pt-sm-3, + .py-sm-3 + { + padding-top: 1rem !important; + } + .pr-sm-3, + .px-sm-3 + { + padding-right: 1rem !important; + } + .pb-sm-3, + .py-sm-3 + { + padding-bottom: 1rem !important; + } + .pl-sm-3, + .px-sm-3 + { + padding-left: 1rem !important; + } + .p-sm-4 + { + padding: 1.5rem !important; + } + .pt-sm-4, + .py-sm-4 + { + padding-top: 1.5rem !important; + } + .pr-sm-4, + .px-sm-4 + { + padding-right: 1.5rem !important; + } + .pb-sm-4, + .py-sm-4 + { + padding-bottom: 1.5rem !important; + } + .pl-sm-4, + .px-sm-4 + { + padding-left: 1.5rem !important; + } + .p-sm-5 + { + padding: 3rem !important; + } + .pt-sm-5, + .py-sm-5 + { + padding-top: 3rem !important; + } + .pr-sm-5, + .px-sm-5 + { + padding-right: 3rem !important; + } + .pb-sm-5, + .py-sm-5 + { + padding-bottom: 3rem !important; + } + .pl-sm-5, + .px-sm-5 + { + padding-left: 3rem !important; + } + .p-sm--9 + { + padding: -10rem !important; + } + .pt-sm--9, + .py-sm--9 + { + padding-top: -10rem !important; + } + .pr-sm--9, + .px-sm--9 + { + padding-right: -10rem !important; + } + .pb-sm--9, + .py-sm--9 + { + padding-bottom: -10rem !important; + } + .pl-sm--9, + .px-sm--9 + { + padding-left: -10rem !important; + } + .p-sm--8 + { + padding: -8rem !important; + } + .pt-sm--8, + .py-sm--8 + { + padding-top: -8rem !important; + } + .pr-sm--8, + .px-sm--8 + { + padding-right: -8rem !important; + } + .pb-sm--8, + .py-sm--8 + { + padding-bottom: -8rem !important; + } + .pl-sm--8, + .px-sm--8 + { + padding-left: -8rem !important; + } + .p-sm--7 + { + padding: -6rem !important; + } + .pt-sm--7, + .py-sm--7 + { + padding-top: -6rem !important; + } + .pr-sm--7, + .px-sm--7 + { + padding-right: -6rem !important; + } + .pb-sm--7, + .py-sm--7 + { + padding-bottom: -6rem !important; + } + .pl-sm--7, + .px-sm--7 + { + padding-left: -6rem !important; + } + .p-sm--6 + { + padding: -4.5rem !important; + } + .pt-sm--6, + .py-sm--6 + { + padding-top: -4.5rem !important; + } + .pr-sm--6, + .px-sm--6 + { + padding-right: -4.5rem !important; + } + .pb-sm--6, + .py-sm--6 + { + padding-bottom: -4.5rem !important; + } + .pl-sm--6, + .px-sm--6 + { + padding-left: -4.5rem !important; + } + .p-sm--5 + { + padding: -3rem !important; + } + .pt-sm--5, + .py-sm--5 + { + padding-top: -3rem !important; + } + .pr-sm--5, + .px-sm--5 + { + padding-right: -3rem !important; + } + .pb-sm--5, + .py-sm--5 + { + padding-bottom: -3rem !important; + } + .pl-sm--5, + .px-sm--5 + { + padding-left: -3rem !important; + } + .p-sm--4 + { + padding: -1.5rem !important; + } + .pt-sm--4, + .py-sm--4 + { + padding-top: -1.5rem !important; + } + .pr-sm--4, + .px-sm--4 + { + padding-right: -1.5rem !important; + } + .pb-sm--4, + .py-sm--4 + { + padding-bottom: -1.5rem !important; + } + .pl-sm--4, + .px-sm--4 + { + padding-left: -1.5rem !important; + } + .p-sm--3 + { + padding: -1rem !important; + } + .pt-sm--3, + .py-sm--3 + { + padding-top: -1rem !important; + } + .pr-sm--3, + .px-sm--3 + { + padding-right: -1rem !important; + } + .pb-sm--3, + .py-sm--3 + { + padding-bottom: -1rem !important; + } + .pl-sm--3, + .px-sm--3 + { + padding-left: -1rem !important; + } + .p-sm--2 + { + padding: -.5rem !important; + } + .pt-sm--2, + .py-sm--2 + { + padding-top: -.5rem !important; + } + .pr-sm--2, + .px-sm--2 + { + padding-right: -.5rem !important; + } + .pb-sm--2, + .py-sm--2 + { + padding-bottom: -.5rem !important; + } + .pl-sm--2, + .px-sm--2 + { + padding-left: -.5rem !important; + } + .p-sm--1 + { + padding: -.25rem !important; + } + .pt-sm--1, + .py-sm--1 + { + padding-top: -.25rem !important; + } + .pr-sm--1, + .px-sm--1 + { + padding-right: -.25rem !important; + } + .pb-sm--1, + .py-sm--1 + { + padding-bottom: -.25rem !important; + } + .pl-sm--1, + .px-sm--1 + { + padding-left: -.25rem !important; + } + .p-sm-6 + { + padding: 4.5rem !important; + } + .pt-sm-6, + .py-sm-6 + { + padding-top: 4.5rem !important; + } + .pr-sm-6, + .px-sm-6 + { + padding-right: 4.5rem !important; + } + .pb-sm-6, + .py-sm-6 + { + padding-bottom: 4.5rem !important; + } + .pl-sm-6, + .px-sm-6 + { + padding-left: 4.5rem !important; + } + .p-sm-7 + { + padding: 6rem !important; + } + .pt-sm-7, + .py-sm-7 + { + padding-top: 6rem !important; + } + .pr-sm-7, + .px-sm-7 + { + padding-right: 6rem !important; + } + .pb-sm-7, + .py-sm-7 + { + padding-bottom: 6rem !important; + } + .pl-sm-7, + .px-sm-7 + { + padding-left: 6rem !important; + } + .p-sm-8 + { + padding: 8rem !important; + } + .pt-sm-8, + .py-sm-8 + { + padding-top: 8rem !important; + } + .pr-sm-8, + .px-sm-8 + { + padding-right: 8rem !important; + } + .pb-sm-8, + .py-sm-8 + { + padding-bottom: 8rem !important; + } + .pl-sm-8, + .px-sm-8 + { + padding-left: 8rem !important; + } + .p-sm-9 + { + padding: 10rem !important; + } + .pt-sm-9, + .py-sm-9 + { + padding-top: 10rem !important; + } + .pr-sm-9, + .px-sm-9 + { + padding-right: 10rem !important; + } + .pb-sm-9, + .py-sm-9 + { + padding-bottom: 10rem !important; + } + .pl-sm-9, + .px-sm-9 + { + padding-left: 10rem !important; + } + .m-sm-n1 + { + margin: -.25rem !important; + } + .mt-sm-n1, + .my-sm-n1 + { + margin-top: -.25rem !important; + } + .mr-sm-n1, + .mx-sm-n1 + { + margin-right: -.25rem !important; + } + .mb-sm-n1, + .my-sm-n1 + { + margin-bottom: -.25rem !important; + } + .ml-sm-n1, + .mx-sm-n1 + { + margin-left: -.25rem !important; + } + .m-sm-n2 + { + margin: -.5rem !important; + } + .mt-sm-n2, + .my-sm-n2 + { + margin-top: -.5rem !important; + } + .mr-sm-n2, + .mx-sm-n2 + { + margin-right: -.5rem !important; + } + .mb-sm-n2, + .my-sm-n2 + { + margin-bottom: -.5rem !important; + } + .ml-sm-n2, + .mx-sm-n2 + { + margin-left: -.5rem !important; + } + .m-sm-n3 + { + margin: -1rem !important; + } + .mt-sm-n3, + .my-sm-n3 + { + margin-top: -1rem !important; + } + .mr-sm-n3, + .mx-sm-n3 + { + margin-right: -1rem !important; + } + .mb-sm-n3, + .my-sm-n3 + { + margin-bottom: -1rem !important; + } + .ml-sm-n3, + .mx-sm-n3 + { + margin-left: -1rem !important; + } + .m-sm-n4 + { + margin: -1.5rem !important; + } + .mt-sm-n4, + .my-sm-n4 + { + margin-top: -1.5rem !important; + } + .mr-sm-n4, + .mx-sm-n4 + { + margin-right: -1.5rem !important; + } + .mb-sm-n4, + .my-sm-n4 + { + margin-bottom: -1.5rem !important; + } + .ml-sm-n4, + .mx-sm-n4 + { + margin-left: -1.5rem !important; + } + .m-sm-n5 + { + margin: -3rem !important; + } + .mt-sm-n5, + .my-sm-n5 + { + margin-top: -3rem !important; + } + .mr-sm-n5, + .mx-sm-n5 + { + margin-right: -3rem !important; + } + .mb-sm-n5, + .my-sm-n5 + { + margin-bottom: -3rem !important; + } + .ml-sm-n5, + .mx-sm-n5 + { + margin-left: -3rem !important; + } + .m-sm-n-9 + { + margin: 10rem !important; + } + .mt-sm-n-9, + .my-sm-n-9 + { + margin-top: 10rem !important; + } + .mr-sm-n-9, + .mx-sm-n-9 + { + margin-right: 10rem !important; + } + .mb-sm-n-9, + .my-sm-n-9 + { + margin-bottom: 10rem !important; + } + .ml-sm-n-9, + .mx-sm-n-9 + { + margin-left: 10rem !important; + } + .m-sm-n-8 + { + margin: 8rem !important; + } + .mt-sm-n-8, + .my-sm-n-8 + { + margin-top: 8rem !important; + } + .mr-sm-n-8, + .mx-sm-n-8 + { + margin-right: 8rem !important; + } + .mb-sm-n-8, + .my-sm-n-8 + { + margin-bottom: 8rem !important; + } + .ml-sm-n-8, + .mx-sm-n-8 + { + margin-left: 8rem !important; + } + .m-sm-n-7 + { + margin: 6rem !important; + } + .mt-sm-n-7, + .my-sm-n-7 + { + margin-top: 6rem !important; + } + .mr-sm-n-7, + .mx-sm-n-7 + { + margin-right: 6rem !important; + } + .mb-sm-n-7, + .my-sm-n-7 + { + margin-bottom: 6rem !important; + } + .ml-sm-n-7, + .mx-sm-n-7 + { + margin-left: 6rem !important; + } + .m-sm-n-6 + { + margin: 4.5rem !important; + } + .mt-sm-n-6, + .my-sm-n-6 + { + margin-top: 4.5rem !important; + } + .mr-sm-n-6, + .mx-sm-n-6 + { + margin-right: 4.5rem !important; + } + .mb-sm-n-6, + .my-sm-n-6 + { + margin-bottom: 4.5rem !important; + } + .ml-sm-n-6, + .mx-sm-n-6 + { + margin-left: 4.5rem !important; + } + .m-sm-n-5 + { + margin: 3rem !important; + } + .mt-sm-n-5, + .my-sm-n-5 + { + margin-top: 3rem !important; + } + .mr-sm-n-5, + .mx-sm-n-5 + { + margin-right: 3rem !important; + } + .mb-sm-n-5, + .my-sm-n-5 + { + margin-bottom: 3rem !important; + } + .ml-sm-n-5, + .mx-sm-n-5 + { + margin-left: 3rem !important; + } + .m-sm-n-4 + { + margin: 1.5rem !important; + } + .mt-sm-n-4, + .my-sm-n-4 + { + margin-top: 1.5rem !important; + } + .mr-sm-n-4, + .mx-sm-n-4 + { + margin-right: 1.5rem !important; + } + .mb-sm-n-4, + .my-sm-n-4 + { + margin-bottom: 1.5rem !important; + } + .ml-sm-n-4, + .mx-sm-n-4 + { + margin-left: 1.5rem !important; + } + .m-sm-n-3 + { + margin: 1rem !important; + } + .mt-sm-n-3, + .my-sm-n-3 + { + margin-top: 1rem !important; + } + .mr-sm-n-3, + .mx-sm-n-3 + { + margin-right: 1rem !important; + } + .mb-sm-n-3, + .my-sm-n-3 + { + margin-bottom: 1rem !important; + } + .ml-sm-n-3, + .mx-sm-n-3 + { + margin-left: 1rem !important; + } + .m-sm-n-2 + { + margin: .5rem !important; + } + .mt-sm-n-2, + .my-sm-n-2 + { + margin-top: .5rem !important; + } + .mr-sm-n-2, + .mx-sm-n-2 + { + margin-right: .5rem !important; + } + .mb-sm-n-2, + .my-sm-n-2 + { + margin-bottom: .5rem !important; + } + .ml-sm-n-2, + .mx-sm-n-2 + { + margin-left: .5rem !important; + } + .m-sm-n-1 + { + margin: .25rem !important; + } + .mt-sm-n-1, + .my-sm-n-1 + { + margin-top: .25rem !important; + } + .mr-sm-n-1, + .mx-sm-n-1 + { + margin-right: .25rem !important; + } + .mb-sm-n-1, + .my-sm-n-1 + { + margin-bottom: .25rem !important; + } + .ml-sm-n-1, + .mx-sm-n-1 + { + margin-left: .25rem !important; + } + .m-sm-n6 + { + margin: -4.5rem !important; + } + .mt-sm-n6, + .my-sm-n6 + { + margin-top: -4.5rem !important; + } + .mr-sm-n6, + .mx-sm-n6 + { + margin-right: -4.5rem !important; + } + .mb-sm-n6, + .my-sm-n6 + { + margin-bottom: -4.5rem !important; + } + .ml-sm-n6, + .mx-sm-n6 + { + margin-left: -4.5rem !important; + } + .m-sm-n7 + { + margin: -6rem !important; + } + .mt-sm-n7, + .my-sm-n7 + { + margin-top: -6rem !important; + } + .mr-sm-n7, + .mx-sm-n7 + { + margin-right: -6rem !important; + } + .mb-sm-n7, + .my-sm-n7 + { + margin-bottom: -6rem !important; + } + .ml-sm-n7, + .mx-sm-n7 + { + margin-left: -6rem !important; + } + .m-sm-n8 + { + margin: -8rem !important; + } + .mt-sm-n8, + .my-sm-n8 + { + margin-top: -8rem !important; + } + .mr-sm-n8, + .mx-sm-n8 + { + margin-right: -8rem !important; + } + .mb-sm-n8, + .my-sm-n8 + { + margin-bottom: -8rem !important; + } + .ml-sm-n8, + .mx-sm-n8 + { + margin-left: -8rem !important; + } + .m-sm-n9 + { + margin: -10rem !important; + } + .mt-sm-n9, + .my-sm-n9 + { + margin-top: -10rem !important; + } + .mr-sm-n9, + .mx-sm-n9 + { + margin-right: -10rem !important; + } + .mb-sm-n9, + .my-sm-n9 + { + margin-bottom: -10rem !important; + } + .ml-sm-n9, + .mx-sm-n9 + { + margin-left: -10rem !important; + } + .m-sm-auto + { + margin: auto !important; + } + .mt-sm-auto, + .my-sm-auto + { + margin-top: auto !important; + } + .mr-sm-auto, + .mx-sm-auto + { + margin-right: auto !important; + } + .mb-sm-auto, + .my-sm-auto + { + margin-bottom: auto !important; + } + .ml-sm-auto, + .mx-sm-auto + { + margin-left: auto !important; + } +} + +@media (min-width: 768px) +{ + .m-md-0 + { + margin: 0 !important; + } + .mt-md-0, + .my-md-0 + { + margin-top: 0 !important; + } + .mr-md-0, + .mx-md-0 + { + margin-right: 0 !important; + } + .mb-md-0, + .my-md-0 + { + margin-bottom: 0 !important; + } + .ml-md-0, + .mx-md-0 + { + margin-left: 0 !important; + } + .m-md-1 + { + margin: .25rem !important; + } + .mt-md-1, + .my-md-1 + { + margin-top: .25rem !important; + } + .mr-md-1, + .mx-md-1 + { + margin-right: .25rem !important; + } + .mb-md-1, + .my-md-1 + { + margin-bottom: .25rem !important; + } + .ml-md-1, + .mx-md-1 + { + margin-left: .25rem !important; + } + .m-md-2 + { + margin: .5rem !important; + } + .mt-md-2, + .my-md-2 + { + margin-top: .5rem !important; + } + .mr-md-2, + .mx-md-2 + { + margin-right: .5rem !important; + } + .mb-md-2, + .my-md-2 + { + margin-bottom: .5rem !important; + } + .ml-md-2, + .mx-md-2 + { + margin-left: .5rem !important; + } + .m-md-3 + { + margin: 1rem !important; + } + .mt-md-3, + .my-md-3 + { + margin-top: 1rem !important; + } + .mr-md-3, + .mx-md-3 + { + margin-right: 1rem !important; + } + .mb-md-3, + .my-md-3 + { + margin-bottom: 1rem !important; + } + .ml-md-3, + .mx-md-3 + { + margin-left: 1rem !important; + } + .m-md-4 + { + margin: 1.5rem !important; + } + .mt-md-4, + .my-md-4 + { + margin-top: 1.5rem !important; + } + .mr-md-4, + .mx-md-4 + { + margin-right: 1.5rem !important; + } + .mb-md-4, + .my-md-4 + { + margin-bottom: 1.5rem !important; + } + .ml-md-4, + .mx-md-4 + { + margin-left: 1.5rem !important; + } + .m-md-5 + { + margin: 3rem !important; + } + .mt-md-5, + .my-md-5 + { + margin-top: 3rem !important; + } + .mr-md-5, + .mx-md-5 + { + margin-right: 3rem !important; + } + .mb-md-5, + .my-md-5 + { + margin-bottom: 3rem !important; + } + .ml-md-5, + .mx-md-5 + { + margin-left: 3rem !important; + } + .m-md--9 + { + margin: -10rem !important; + } + .mt-md--9, + .my-md--9 + { + margin-top: -10rem !important; + } + .mr-md--9, + .mx-md--9 + { + margin-right: -10rem !important; + } + .mb-md--9, + .my-md--9 + { + margin-bottom: -10rem !important; + } + .ml-md--9, + .mx-md--9 + { + margin-left: -10rem !important; + } + .m-md--8 + { + margin: -8rem !important; + } + .mt-md--8, + .my-md--8 + { + margin-top: -8rem !important; + } + .mr-md--8, + .mx-md--8 + { + margin-right: -8rem !important; + } + .mb-md--8, + .my-md--8 + { + margin-bottom: -8rem !important; + } + .ml-md--8, + .mx-md--8 + { + margin-left: -8rem !important; + } + .m-md--7 + { + margin: -6rem !important; + } + .mt-md--7, + .my-md--7 + { + margin-top: -6rem !important; + } + .mr-md--7, + .mx-md--7 + { + margin-right: -6rem !important; + } + .mb-md--7, + .my-md--7 + { + margin-bottom: -6rem !important; + } + .ml-md--7, + .mx-md--7 + { + margin-left: -6rem !important; + } + .m-md--6 + { + margin: -4.5rem !important; + } + .mt-md--6, + .my-md--6 + { + margin-top: -4.5rem !important; + } + .mr-md--6, + .mx-md--6 + { + margin-right: -4.5rem !important; + } + .mb-md--6, + .my-md--6 + { + margin-bottom: -4.5rem !important; + } + .ml-md--6, + .mx-md--6 + { + margin-left: -4.5rem !important; + } + .m-md--5 + { + margin: -3rem !important; + } + .mt-md--5, + .my-md--5 + { + margin-top: -3rem !important; + } + .mr-md--5, + .mx-md--5 + { + margin-right: -3rem !important; + } + .mb-md--5, + .my-md--5 + { + margin-bottom: -3rem !important; + } + .ml-md--5, + .mx-md--5 + { + margin-left: -3rem !important; + } + .m-md--4 + { + margin: -1.5rem !important; + } + .mt-md--4, + .my-md--4 + { + margin-top: -1.5rem !important; + } + .mr-md--4, + .mx-md--4 + { + margin-right: -1.5rem !important; + } + .mb-md--4, + .my-md--4 + { + margin-bottom: -1.5rem !important; + } + .ml-md--4, + .mx-md--4 + { + margin-left: -1.5rem !important; + } + .m-md--3 + { + margin: -1rem !important; + } + .mt-md--3, + .my-md--3 + { + margin-top: -1rem !important; + } + .mr-md--3, + .mx-md--3 + { + margin-right: -1rem !important; + } + .mb-md--3, + .my-md--3 + { + margin-bottom: -1rem !important; + } + .ml-md--3, + .mx-md--3 + { + margin-left: -1rem !important; + } + .m-md--2 + { + margin: -.5rem !important; + } + .mt-md--2, + .my-md--2 + { + margin-top: -.5rem !important; + } + .mr-md--2, + .mx-md--2 + { + margin-right: -.5rem !important; + } + .mb-md--2, + .my-md--2 + { + margin-bottom: -.5rem !important; + } + .ml-md--2, + .mx-md--2 + { + margin-left: -.5rem !important; + } + .m-md--1 + { + margin: -.25rem !important; + } + .mt-md--1, + .my-md--1 + { + margin-top: -.25rem !important; + } + .mr-md--1, + .mx-md--1 + { + margin-right: -.25rem !important; + } + .mb-md--1, + .my-md--1 + { + margin-bottom: -.25rem !important; + } + .ml-md--1, + .mx-md--1 + { + margin-left: -.25rem !important; + } + .m-md-6 + { + margin: 4.5rem !important; + } + .mt-md-6, + .my-md-6 + { + margin-top: 4.5rem !important; + } + .mr-md-6, + .mx-md-6 + { + margin-right: 4.5rem !important; + } + .mb-md-6, + .my-md-6 + { + margin-bottom: 4.5rem !important; + } + .ml-md-6, + .mx-md-6 + { + margin-left: 4.5rem !important; + } + .m-md-7 + { + margin: 6rem !important; + } + .mt-md-7, + .my-md-7 + { + margin-top: 6rem !important; + } + .mr-md-7, + .mx-md-7 + { + margin-right: 6rem !important; + } + .mb-md-7, + .my-md-7 + { + margin-bottom: 6rem !important; + } + .ml-md-7, + .mx-md-7 + { + margin-left: 6rem !important; + } + .m-md-8 + { + margin: 8rem !important; + } + .mt-md-8, + .my-md-8 + { + margin-top: 8rem !important; + } + .mr-md-8, + .mx-md-8 + { + margin-right: 8rem !important; + } + .mb-md-8, + .my-md-8 + { + margin-bottom: 8rem !important; + } + .ml-md-8, + .mx-md-8 + { + margin-left: 8rem !important; + } + .m-md-9 + { + margin: 10rem !important; + } + .mt-md-9, + .my-md-9 + { + margin-top: 10rem !important; + } + .mr-md-9, + .mx-md-9 + { + margin-right: 10rem !important; + } + .mb-md-9, + .my-md-9 + { + margin-bottom: 10rem !important; + } + .ml-md-9, + .mx-md-9 + { + margin-left: 10rem !important; + } + .p-md-0 + { + padding: 0 !important; + } + .pt-md-0, + .py-md-0 + { + padding-top: 0 !important; + } + .pr-md-0, + .px-md-0 + { + padding-right: 0 !important; + } + .pb-md-0, + .py-md-0 + { + padding-bottom: 0 !important; + } + .pl-md-0, + .px-md-0 + { + padding-left: 0 !important; + } + .p-md-1 + { + padding: .25rem !important; + } + .pt-md-1, + .py-md-1 + { + padding-top: .25rem !important; + } + .pr-md-1, + .px-md-1 + { + padding-right: .25rem !important; + } + .pb-md-1, + .py-md-1 + { + padding-bottom: .25rem !important; + } + .pl-md-1, + .px-md-1 + { + padding-left: .25rem !important; + } + .p-md-2 + { + padding: .5rem !important; + } + .pt-md-2, + .py-md-2 + { + padding-top: .5rem !important; + } + .pr-md-2, + .px-md-2 + { + padding-right: .5rem !important; + } + .pb-md-2, + .py-md-2 + { + padding-bottom: .5rem !important; + } + .pl-md-2, + .px-md-2 + { + padding-left: .5rem !important; + } + .p-md-3 + { + padding: 1rem !important; + } + .pt-md-3, + .py-md-3 + { + padding-top: 1rem !important; + } + .pr-md-3, + .px-md-3 + { + padding-right: 1rem !important; + } + .pb-md-3, + .py-md-3 + { + padding-bottom: 1rem !important; + } + .pl-md-3, + .px-md-3 + { + padding-left: 1rem !important; + } + .p-md-4 + { + padding: 1.5rem !important; + } + .pt-md-4, + .py-md-4 + { + padding-top: 1.5rem !important; + } + .pr-md-4, + .px-md-4 + { + padding-right: 1.5rem !important; + } + .pb-md-4, + .py-md-4 + { + padding-bottom: 1.5rem !important; + } + .pl-md-4, + .px-md-4 + { + padding-left: 1.5rem !important; + } + .p-md-5 + { + padding: 3rem !important; + } + .pt-md-5, + .py-md-5 + { + padding-top: 3rem !important; + } + .pr-md-5, + .px-md-5 + { + padding-right: 3rem !important; + } + .pb-md-5, + .py-md-5 + { + padding-bottom: 3rem !important; + } + .pl-md-5, + .px-md-5 + { + padding-left: 3rem !important; + } + .p-md--9 + { + padding: -10rem !important; + } + .pt-md--9, + .py-md--9 + { + padding-top: -10rem !important; + } + .pr-md--9, + .px-md--9 + { + padding-right: -10rem !important; + } + .pb-md--9, + .py-md--9 + { + padding-bottom: -10rem !important; + } + .pl-md--9, + .px-md--9 + { + padding-left: -10rem !important; + } + .p-md--8 + { + padding: -8rem !important; + } + .pt-md--8, + .py-md--8 + { + padding-top: -8rem !important; + } + .pr-md--8, + .px-md--8 + { + padding-right: -8rem !important; + } + .pb-md--8, + .py-md--8 + { + padding-bottom: -8rem !important; + } + .pl-md--8, + .px-md--8 + { + padding-left: -8rem !important; + } + .p-md--7 + { + padding: -6rem !important; + } + .pt-md--7, + .py-md--7 + { + padding-top: -6rem !important; + } + .pr-md--7, + .px-md--7 + { + padding-right: -6rem !important; + } + .pb-md--7, + .py-md--7 + { + padding-bottom: -6rem !important; + } + .pl-md--7, + .px-md--7 + { + padding-left: -6rem !important; + } + .p-md--6 + { + padding: -4.5rem !important; + } + .pt-md--6, + .py-md--6 + { + padding-top: -4.5rem !important; + } + .pr-md--6, + .px-md--6 + { + padding-right: -4.5rem !important; + } + .pb-md--6, + .py-md--6 + { + padding-bottom: -4.5rem !important; + } + .pl-md--6, + .px-md--6 + { + padding-left: -4.5rem !important; + } + .p-md--5 + { + padding: -3rem !important; + } + .pt-md--5, + .py-md--5 + { + padding-top: -3rem !important; + } + .pr-md--5, + .px-md--5 + { + padding-right: -3rem !important; + } + .pb-md--5, + .py-md--5 + { + padding-bottom: -3rem !important; + } + .pl-md--5, + .px-md--5 + { + padding-left: -3rem !important; + } + .p-md--4 + { + padding: -1.5rem !important; + } + .pt-md--4, + .py-md--4 + { + padding-top: -1.5rem !important; + } + .pr-md--4, + .px-md--4 + { + padding-right: -1.5rem !important; + } + .pb-md--4, + .py-md--4 + { + padding-bottom: -1.5rem !important; + } + .pl-md--4, + .px-md--4 + { + padding-left: -1.5rem !important; + } + .p-md--3 + { + padding: -1rem !important; + } + .pt-md--3, + .py-md--3 + { + padding-top: -1rem !important; + } + .pr-md--3, + .px-md--3 + { + padding-right: -1rem !important; + } + .pb-md--3, + .py-md--3 + { + padding-bottom: -1rem !important; + } + .pl-md--3, + .px-md--3 + { + padding-left: -1rem !important; + } + .p-md--2 + { + padding: -.5rem !important; + } + .pt-md--2, + .py-md--2 + { + padding-top: -.5rem !important; + } + .pr-md--2, + .px-md--2 + { + padding-right: -.5rem !important; + } + .pb-md--2, + .py-md--2 + { + padding-bottom: -.5rem !important; + } + .pl-md--2, + .px-md--2 + { + padding-left: -.5rem !important; + } + .p-md--1 + { + padding: -.25rem !important; + } + .pt-md--1, + .py-md--1 + { + padding-top: -.25rem !important; + } + .pr-md--1, + .px-md--1 + { + padding-right: -.25rem !important; + } + .pb-md--1, + .py-md--1 + { + padding-bottom: -.25rem !important; + } + .pl-md--1, + .px-md--1 + { + padding-left: -.25rem !important; + } + .p-md-6 + { + padding: 4.5rem !important; + } + .pt-md-6, + .py-md-6 + { + padding-top: 4.5rem !important; + } + .pr-md-6, + .px-md-6 + { + padding-right: 4.5rem !important; + } + .pb-md-6, + .py-md-6 + { + padding-bottom: 4.5rem !important; + } + .pl-md-6, + .px-md-6 + { + padding-left: 4.5rem !important; + } + .p-md-7 + { + padding: 6rem !important; + } + .pt-md-7, + .py-md-7 + { + padding-top: 6rem !important; + } + .pr-md-7, + .px-md-7 + { + padding-right: 6rem !important; + } + .pb-md-7, + .py-md-7 + { + padding-bottom: 6rem !important; + } + .pl-md-7, + .px-md-7 + { + padding-left: 6rem !important; + } + .p-md-8 + { + padding: 8rem !important; + } + .pt-md-8, + .py-md-8 + { + padding-top: 8rem !important; + } + .pr-md-8, + .px-md-8 + { + padding-right: 8rem !important; + } + .pb-md-8, + .py-md-8 + { + padding-bottom: 8rem !important; + } + .pl-md-8, + .px-md-8 + { + padding-left: 8rem !important; + } + .p-md-9 + { + padding: 10rem !important; + } + .pt-md-9, + .py-md-9 + { + padding-top: 10rem !important; + } + .pr-md-9, + .px-md-9 + { + padding-right: 10rem !important; + } + .pb-md-9, + .py-md-9 + { + padding-bottom: 10rem !important; + } + .pl-md-9, + .px-md-9 + { + padding-left: 10rem !important; + } + .m-md-n1 + { + margin: -.25rem !important; + } + .mt-md-n1, + .my-md-n1 + { + margin-top: -.25rem !important; + } + .mr-md-n1, + .mx-md-n1 + { + margin-right: -.25rem !important; + } + .mb-md-n1, + .my-md-n1 + { + margin-bottom: -.25rem !important; + } + .ml-md-n1, + .mx-md-n1 + { + margin-left: -.25rem !important; + } + .m-md-n2 + { + margin: -.5rem !important; + } + .mt-md-n2, + .my-md-n2 + { + margin-top: -.5rem !important; + } + .mr-md-n2, + .mx-md-n2 + { + margin-right: -.5rem !important; + } + .mb-md-n2, + .my-md-n2 + { + margin-bottom: -.5rem !important; + } + .ml-md-n2, + .mx-md-n2 + { + margin-left: -.5rem !important; + } + .m-md-n3 + { + margin: -1rem !important; + } + .mt-md-n3, + .my-md-n3 + { + margin-top: -1rem !important; + } + .mr-md-n3, + .mx-md-n3 + { + margin-right: -1rem !important; + } + .mb-md-n3, + .my-md-n3 + { + margin-bottom: -1rem !important; + } + .ml-md-n3, + .mx-md-n3 + { + margin-left: -1rem !important; + } + .m-md-n4 + { + margin: -1.5rem !important; + } + .mt-md-n4, + .my-md-n4 + { + margin-top: -1.5rem !important; + } + .mr-md-n4, + .mx-md-n4 + { + margin-right: -1.5rem !important; + } + .mb-md-n4, + .my-md-n4 + { + margin-bottom: -1.5rem !important; + } + .ml-md-n4, + .mx-md-n4 + { + margin-left: -1.5rem !important; + } + .m-md-n5 + { + margin: -3rem !important; + } + .mt-md-n5, + .my-md-n5 + { + margin-top: -3rem !important; + } + .mr-md-n5, + .mx-md-n5 + { + margin-right: -3rem !important; + } + .mb-md-n5, + .my-md-n5 + { + margin-bottom: -3rem !important; + } + .ml-md-n5, + .mx-md-n5 + { + margin-left: -3rem !important; + } + .m-md-n-9 + { + margin: 10rem !important; + } + .mt-md-n-9, + .my-md-n-9 + { + margin-top: 10rem !important; + } + .mr-md-n-9, + .mx-md-n-9 + { + margin-right: 10rem !important; + } + .mb-md-n-9, + .my-md-n-9 + { + margin-bottom: 10rem !important; + } + .ml-md-n-9, + .mx-md-n-9 + { + margin-left: 10rem !important; + } + .m-md-n-8 + { + margin: 8rem !important; + } + .mt-md-n-8, + .my-md-n-8 + { + margin-top: 8rem !important; + } + .mr-md-n-8, + .mx-md-n-8 + { + margin-right: 8rem !important; + } + .mb-md-n-8, + .my-md-n-8 + { + margin-bottom: 8rem !important; + } + .ml-md-n-8, + .mx-md-n-8 + { + margin-left: 8rem !important; + } + .m-md-n-7 + { + margin: 6rem !important; + } + .mt-md-n-7, + .my-md-n-7 + { + margin-top: 6rem !important; + } + .mr-md-n-7, + .mx-md-n-7 + { + margin-right: 6rem !important; + } + .mb-md-n-7, + .my-md-n-7 + { + margin-bottom: 6rem !important; + } + .ml-md-n-7, + .mx-md-n-7 + { + margin-left: 6rem !important; + } + .m-md-n-6 + { + margin: 4.5rem !important; + } + .mt-md-n-6, + .my-md-n-6 + { + margin-top: 4.5rem !important; + } + .mr-md-n-6, + .mx-md-n-6 + { + margin-right: 4.5rem !important; + } + .mb-md-n-6, + .my-md-n-6 + { + margin-bottom: 4.5rem !important; + } + .ml-md-n-6, + .mx-md-n-6 + { + margin-left: 4.5rem !important; + } + .m-md-n-5 + { + margin: 3rem !important; + } + .mt-md-n-5, + .my-md-n-5 + { + margin-top: 3rem !important; + } + .mr-md-n-5, + .mx-md-n-5 + { + margin-right: 3rem !important; + } + .mb-md-n-5, + .my-md-n-5 + { + margin-bottom: 3rem !important; + } + .ml-md-n-5, + .mx-md-n-5 + { + margin-left: 3rem !important; + } + .m-md-n-4 + { + margin: 1.5rem !important; + } + .mt-md-n-4, + .my-md-n-4 + { + margin-top: 1.5rem !important; + } + .mr-md-n-4, + .mx-md-n-4 + { + margin-right: 1.5rem !important; + } + .mb-md-n-4, + .my-md-n-4 + { + margin-bottom: 1.5rem !important; + } + .ml-md-n-4, + .mx-md-n-4 + { + margin-left: 1.5rem !important; + } + .m-md-n-3 + { + margin: 1rem !important; + } + .mt-md-n-3, + .my-md-n-3 + { + margin-top: 1rem !important; + } + .mr-md-n-3, + .mx-md-n-3 + { + margin-right: 1rem !important; + } + .mb-md-n-3, + .my-md-n-3 + { + margin-bottom: 1rem !important; + } + .ml-md-n-3, + .mx-md-n-3 + { + margin-left: 1rem !important; + } + .m-md-n-2 + { + margin: .5rem !important; + } + .mt-md-n-2, + .my-md-n-2 + { + margin-top: .5rem !important; + } + .mr-md-n-2, + .mx-md-n-2 + { + margin-right: .5rem !important; + } + .mb-md-n-2, + .my-md-n-2 + { + margin-bottom: .5rem !important; + } + .ml-md-n-2, + .mx-md-n-2 + { + margin-left: .5rem !important; + } + .m-md-n-1 + { + margin: .25rem !important; + } + .mt-md-n-1, + .my-md-n-1 + { + margin-top: .25rem !important; + } + .mr-md-n-1, + .mx-md-n-1 + { + margin-right: .25rem !important; + } + .mb-md-n-1, + .my-md-n-1 + { + margin-bottom: .25rem !important; + } + .ml-md-n-1, + .mx-md-n-1 + { + margin-left: .25rem !important; + } + .m-md-n6 + { + margin: -4.5rem !important; + } + .mt-md-n6, + .my-md-n6 + { + margin-top: -4.5rem !important; + } + .mr-md-n6, + .mx-md-n6 + { + margin-right: -4.5rem !important; + } + .mb-md-n6, + .my-md-n6 + { + margin-bottom: -4.5rem !important; + } + .ml-md-n6, + .mx-md-n6 + { + margin-left: -4.5rem !important; + } + .m-md-n7 + { + margin: -6rem !important; + } + .mt-md-n7, + .my-md-n7 + { + margin-top: -6rem !important; + } + .mr-md-n7, + .mx-md-n7 + { + margin-right: -6rem !important; + } + .mb-md-n7, + .my-md-n7 + { + margin-bottom: -6rem !important; + } + .ml-md-n7, + .mx-md-n7 + { + margin-left: -6rem !important; + } + .m-md-n8 + { + margin: -8rem !important; + } + .mt-md-n8, + .my-md-n8 + { + margin-top: -8rem !important; + } + .mr-md-n8, + .mx-md-n8 + { + margin-right: -8rem !important; + } + .mb-md-n8, + .my-md-n8 + { + margin-bottom: -8rem !important; + } + .ml-md-n8, + .mx-md-n8 + { + margin-left: -8rem !important; + } + .m-md-n9 + { + margin: -10rem !important; + } + .mt-md-n9, + .my-md-n9 + { + margin-top: -10rem !important; + } + .mr-md-n9, + .mx-md-n9 + { + margin-right: -10rem !important; + } + .mb-md-n9, + .my-md-n9 + { + margin-bottom: -10rem !important; + } + .ml-md-n9, + .mx-md-n9 + { + margin-left: -10rem !important; + } + .m-md-auto + { + margin: auto !important; + } + .mt-md-auto, + .my-md-auto + { + margin-top: auto !important; + } + .mr-md-auto, + .mx-md-auto + { + margin-right: auto !important; + } + .mb-md-auto, + .my-md-auto + { + margin-bottom: auto !important; + } + .ml-md-auto, + .mx-md-auto + { + margin-left: auto !important; + } +} + +@media (min-width: 992px) +{ + .m-lg-0 + { + margin: 0 !important; + } + .mt-lg-0, + .my-lg-0 + { + margin-top: 0 !important; + } + .mr-lg-0, + .mx-lg-0 + { + margin-right: 0 !important; + } + .mb-lg-0, + .my-lg-0 + { + margin-bottom: 0 !important; + } + .ml-lg-0, + .mx-lg-0 + { + margin-left: 0 !important; + } + .m-lg-1 + { + margin: .25rem !important; + } + .mt-lg-1, + .my-lg-1 + { + margin-top: .25rem !important; + } + .mr-lg-1, + .mx-lg-1 + { + margin-right: .25rem !important; + } + .mb-lg-1, + .my-lg-1 + { + margin-bottom: .25rem !important; + } + .ml-lg-1, + .mx-lg-1 + { + margin-left: .25rem !important; + } + .m-lg-2 + { + margin: .5rem !important; + } + .mt-lg-2, + .my-lg-2 + { + margin-top: .5rem !important; + } + .mr-lg-2, + .mx-lg-2 + { + margin-right: .5rem !important; + } + .mb-lg-2, + .my-lg-2 + { + margin-bottom: .5rem !important; + } + .ml-lg-2, + .mx-lg-2 + { + margin-left: .5rem !important; + } + .m-lg-3 + { + margin: 1rem !important; + } + .mt-lg-3, + .my-lg-3 + { + margin-top: 1rem !important; + } + .mr-lg-3, + .mx-lg-3 + { + margin-right: 1rem !important; + } + .mb-lg-3, + .my-lg-3 + { + margin-bottom: 1rem !important; + } + .ml-lg-3, + .mx-lg-3 + { + margin-left: 1rem !important; + } + .m-lg-4 + { + margin: 1.5rem !important; + } + .mt-lg-4, + .my-lg-4 + { + margin-top: 1.5rem !important; + } + .mr-lg-4, + .mx-lg-4 + { + margin-right: 1.5rem !important; + } + .mb-lg-4, + .my-lg-4 + { + margin-bottom: 1.5rem !important; + } + .ml-lg-4, + .mx-lg-4 + { + margin-left: 1.5rem !important; + } + .m-lg-5 + { + margin: 3rem !important; + } + .mt-lg-5, + .my-lg-5 + { + margin-top: 3rem !important; + } + .mr-lg-5, + .mx-lg-5 + { + margin-right: 3rem !important; + } + .mb-lg-5, + .my-lg-5 + { + margin-bottom: 3rem !important; + } + .ml-lg-5, + .mx-lg-5 + { + margin-left: 3rem !important; + } + .m-lg--9 + { + margin: -10rem !important; + } + .mt-lg--9, + .my-lg--9 + { + margin-top: -10rem !important; + } + .mr-lg--9, + .mx-lg--9 + { + margin-right: -10rem !important; + } + .mb-lg--9, + .my-lg--9 + { + margin-bottom: -10rem !important; + } + .ml-lg--9, + .mx-lg--9 + { + margin-left: -10rem !important; + } + .m-lg--8 + { + margin: -8rem !important; + } + .mt-lg--8, + .my-lg--8 + { + margin-top: -8rem !important; + } + .mr-lg--8, + .mx-lg--8 + { + margin-right: -8rem !important; + } + .mb-lg--8, + .my-lg--8 + { + margin-bottom: -8rem !important; + } + .ml-lg--8, + .mx-lg--8 + { + margin-left: -8rem !important; + } + .m-lg--7 + { + margin: -6rem !important; + } + .mt-lg--7, + .my-lg--7 + { + margin-top: -6rem !important; + } + .mr-lg--7, + .mx-lg--7 + { + margin-right: -6rem !important; + } + .mb-lg--7, + .my-lg--7 + { + margin-bottom: -6rem !important; + } + .ml-lg--7, + .mx-lg--7 + { + margin-left: -6rem !important; + } + .m-lg--6 + { + margin: -4.5rem !important; + } + .mt-lg--6, + .my-lg--6 + { + margin-top: -4.5rem !important; + } + .mr-lg--6, + .mx-lg--6 + { + margin-right: -4.5rem !important; + } + .mb-lg--6, + .my-lg--6 + { + margin-bottom: -4.5rem !important; + } + .ml-lg--6, + .mx-lg--6 + { + margin-left: -4.5rem !important; + } + .m-lg--5 + { + margin: -3rem !important; + } + .mt-lg--5, + .my-lg--5 + { + margin-top: -3rem !important; + } + .mr-lg--5, + .mx-lg--5 + { + margin-right: -3rem !important; + } + .mb-lg--5, + .my-lg--5 + { + margin-bottom: -3rem !important; + } + .ml-lg--5, + .mx-lg--5 + { + margin-left: -3rem !important; + } + .m-lg--4 + { + margin: -1.5rem !important; + } + .mt-lg--4, + .my-lg--4 + { + margin-top: -1.5rem !important; + } + .mr-lg--4, + .mx-lg--4 + { + margin-right: -1.5rem !important; + } + .mb-lg--4, + .my-lg--4 + { + margin-bottom: -1.5rem !important; + } + .ml-lg--4, + .mx-lg--4 + { + margin-left: -1.5rem !important; + } + .m-lg--3 + { + margin: -1rem !important; + } + .mt-lg--3, + .my-lg--3 + { + margin-top: -1rem !important; + } + .mr-lg--3, + .mx-lg--3 + { + margin-right: -1rem !important; + } + .mb-lg--3, + .my-lg--3 + { + margin-bottom: -1rem !important; + } + .ml-lg--3, + .mx-lg--3 + { + margin-left: -1rem !important; + } + .m-lg--2 + { + margin: -.5rem !important; + } + .mt-lg--2, + .my-lg--2 + { + margin-top: -.5rem !important; + } + .mr-lg--2, + .mx-lg--2 + { + margin-right: -.5rem !important; + } + .mb-lg--2, + .my-lg--2 + { + margin-bottom: -.5rem !important; + } + .ml-lg--2, + .mx-lg--2 + { + margin-left: -.5rem !important; + } + .m-lg--1 + { + margin: -.25rem !important; + } + .mt-lg--1, + .my-lg--1 + { + margin-top: -.25rem !important; + } + .mr-lg--1, + .mx-lg--1 + { + margin-right: -.25rem !important; + } + .mb-lg--1, + .my-lg--1 + { + margin-bottom: -.25rem !important; + } + .ml-lg--1, + .mx-lg--1 + { + margin-left: -.25rem !important; + } + .m-lg-6 + { + margin: 4.5rem !important; + } + .mt-lg-6, + .my-lg-6 + { + margin-top: 4.5rem !important; + } + .mr-lg-6, + .mx-lg-6 + { + margin-right: 4.5rem !important; + } + .mb-lg-6, + .my-lg-6 + { + margin-bottom: 4.5rem !important; + } + .ml-lg-6, + .mx-lg-6 + { + margin-left: 4.5rem !important; + } + .m-lg-7 + { + margin: 6rem !important; + } + .mt-lg-7, + .my-lg-7 + { + margin-top: 6rem !important; + } + .mr-lg-7, + .mx-lg-7 + { + margin-right: 6rem !important; + } + .mb-lg-7, + .my-lg-7 + { + margin-bottom: 6rem !important; + } + .ml-lg-7, + .mx-lg-7 + { + margin-left: 6rem !important; + } + .m-lg-8 + { + margin: 8rem !important; + } + .mt-lg-8, + .my-lg-8 + { + margin-top: 8rem !important; + } + .mr-lg-8, + .mx-lg-8 + { + margin-right: 8rem !important; + } + .mb-lg-8, + .my-lg-8 + { + margin-bottom: 8rem !important; + } + .ml-lg-8, + .mx-lg-8 + { + margin-left: 8rem !important; + } + .m-lg-9 + { + margin: 10rem !important; + } + .mt-lg-9, + .my-lg-9 + { + margin-top: 10rem !important; + } + .mr-lg-9, + .mx-lg-9 + { + margin-right: 10rem !important; + } + .mb-lg-9, + .my-lg-9 + { + margin-bottom: 10rem !important; + } + .ml-lg-9, + .mx-lg-9 + { + margin-left: 10rem !important; + } + .p-lg-0 + { + padding: 0 !important; + } + .pt-lg-0, + .py-lg-0 + { + padding-top: 0 !important; + } + .pr-lg-0, + .px-lg-0 + { + padding-right: 0 !important; + } + .pb-lg-0, + .py-lg-0 + { + padding-bottom: 0 !important; + } + .pl-lg-0, + .px-lg-0 + { + padding-left: 0 !important; + } + .p-lg-1 + { + padding: .25rem !important; + } + .pt-lg-1, + .py-lg-1 + { + padding-top: .25rem !important; + } + .pr-lg-1, + .px-lg-1 + { + padding-right: .25rem !important; + } + .pb-lg-1, + .py-lg-1 + { + padding-bottom: .25rem !important; + } + .pl-lg-1, + .px-lg-1 + { + padding-left: .25rem !important; + } + .p-lg-2 + { + padding: .5rem !important; + } + .pt-lg-2, + .py-lg-2 + { + padding-top: .5rem !important; + } + .pr-lg-2, + .px-lg-2 + { + padding-right: .5rem !important; + } + .pb-lg-2, + .py-lg-2 + { + padding-bottom: .5rem !important; + } + .pl-lg-2, + .px-lg-2 + { + padding-left: .5rem !important; + } + .p-lg-3 + { + padding: 1rem !important; + } + .pt-lg-3, + .py-lg-3 + { + padding-top: 1rem !important; + } + .pr-lg-3, + .px-lg-3 + { + padding-right: 1rem !important; + } + .pb-lg-3, + .py-lg-3 + { + padding-bottom: 1rem !important; + } + .pl-lg-3, + .px-lg-3 + { + padding-left: 1rem !important; + } + .p-lg-4 + { + padding: 1.5rem !important; + } + .pt-lg-4, + .py-lg-4 + { + padding-top: 1.5rem !important; + } + .pr-lg-4, + .px-lg-4 + { + padding-right: 1.5rem !important; + } + .pb-lg-4, + .py-lg-4 + { + padding-bottom: 1.5rem !important; + } + .pl-lg-4, + .px-lg-4 + { + padding-left: 1.5rem !important; + } + .p-lg-5 + { + padding: 3rem !important; + } + .pt-lg-5, + .py-lg-5 + { + padding-top: 3rem !important; + } + .pr-lg-5, + .px-lg-5 + { + padding-right: 3rem !important; + } + .pb-lg-5, + .py-lg-5 + { + padding-bottom: 3rem !important; + } + .pl-lg-5, + .px-lg-5 + { + padding-left: 3rem !important; + } + .p-lg--9 + { + padding: -10rem !important; + } + .pt-lg--9, + .py-lg--9 + { + padding-top: -10rem !important; + } + .pr-lg--9, + .px-lg--9 + { + padding-right: -10rem !important; + } + .pb-lg--9, + .py-lg--9 + { + padding-bottom: -10rem !important; + } + .pl-lg--9, + .px-lg--9 + { + padding-left: -10rem !important; + } + .p-lg--8 + { + padding: -8rem !important; + } + .pt-lg--8, + .py-lg--8 + { + padding-top: -8rem !important; + } + .pr-lg--8, + .px-lg--8 + { + padding-right: -8rem !important; + } + .pb-lg--8, + .py-lg--8 + { + padding-bottom: -8rem !important; + } + .pl-lg--8, + .px-lg--8 + { + padding-left: -8rem !important; + } + .p-lg--7 + { + padding: -6rem !important; + } + .pt-lg--7, + .py-lg--7 + { + padding-top: -6rem !important; + } + .pr-lg--7, + .px-lg--7 + { + padding-right: -6rem !important; + } + .pb-lg--7, + .py-lg--7 + { + padding-bottom: -6rem !important; + } + .pl-lg--7, + .px-lg--7 + { + padding-left: -6rem !important; + } + .p-lg--6 + { + padding: -4.5rem !important; + } + .pt-lg--6, + .py-lg--6 + { + padding-top: -4.5rem !important; + } + .pr-lg--6, + .px-lg--6 + { + padding-right: -4.5rem !important; + } + .pb-lg--6, + .py-lg--6 + { + padding-bottom: -4.5rem !important; + } + .pl-lg--6, + .px-lg--6 + { + padding-left: -4.5rem !important; + } + .p-lg--5 + { + padding: -3rem !important; + } + .pt-lg--5, + .py-lg--5 + { + padding-top: -3rem !important; + } + .pr-lg--5, + .px-lg--5 + { + padding-right: -3rem !important; + } + .pb-lg--5, + .py-lg--5 + { + padding-bottom: -3rem !important; + } + .pl-lg--5, + .px-lg--5 + { + padding-left: -3rem !important; + } + .p-lg--4 + { + padding: -1.5rem !important; + } + .pt-lg--4, + .py-lg--4 + { + padding-top: -1.5rem !important; + } + .pr-lg--4, + .px-lg--4 + { + padding-right: -1.5rem !important; + } + .pb-lg--4, + .py-lg--4 + { + padding-bottom: -1.5rem !important; + } + .pl-lg--4, + .px-lg--4 + { + padding-left: -1.5rem !important; + } + .p-lg--3 + { + padding: -1rem !important; + } + .pt-lg--3, + .py-lg--3 + { + padding-top: -1rem !important; + } + .pr-lg--3, + .px-lg--3 + { + padding-right: -1rem !important; + } + .pb-lg--3, + .py-lg--3 + { + padding-bottom: -1rem !important; + } + .pl-lg--3, + .px-lg--3 + { + padding-left: -1rem !important; + } + .p-lg--2 + { + padding: -.5rem !important; + } + .pt-lg--2, + .py-lg--2 + { + padding-top: -.5rem !important; + } + .pr-lg--2, + .px-lg--2 + { + padding-right: -.5rem !important; + } + .pb-lg--2, + .py-lg--2 + { + padding-bottom: -.5rem !important; + } + .pl-lg--2, + .px-lg--2 + { + padding-left: -.5rem !important; + } + .p-lg--1 + { + padding: -.25rem !important; + } + .pt-lg--1, + .py-lg--1 + { + padding-top: -.25rem !important; + } + .pr-lg--1, + .px-lg--1 + { + padding-right: -.25rem !important; + } + .pb-lg--1, + .py-lg--1 + { + padding-bottom: -.25rem !important; + } + .pl-lg--1, + .px-lg--1 + { + padding-left: -.25rem !important; + } + .p-lg-6 + { + padding: 4.5rem !important; + } + .pt-lg-6, + .py-lg-6 + { + padding-top: 4.5rem !important; + } + .pr-lg-6, + .px-lg-6 + { + padding-right: 4.5rem !important; + } + .pb-lg-6, + .py-lg-6 + { + padding-bottom: 4.5rem !important; + } + .pl-lg-6, + .px-lg-6 + { + padding-left: 4.5rem !important; + } + .p-lg-7 + { + padding: 6rem !important; + } + .pt-lg-7, + .py-lg-7 + { + padding-top: 6rem !important; + } + .pr-lg-7, + .px-lg-7 + { + padding-right: 6rem !important; + } + .pb-lg-7, + .py-lg-7 + { + padding-bottom: 6rem !important; + } + .pl-lg-7, + .px-lg-7 + { + padding-left: 6rem !important; + } + .p-lg-8 + { + padding: 8rem !important; + } + .pt-lg-8, + .py-lg-8 + { + padding-top: 8rem !important; + } + .pr-lg-8, + .px-lg-8 + { + padding-right: 8rem !important; + } + .pb-lg-8, + .py-lg-8 + { + padding-bottom: 8rem !important; + } + .pl-lg-8, + .px-lg-8 + { + padding-left: 8rem !important; + } + .p-lg-9 + { + padding: 10rem !important; + } + .pt-lg-9, + .py-lg-9 + { + padding-top: 10rem !important; + } + .pr-lg-9, + .px-lg-9 + { + padding-right: 10rem !important; + } + .pb-lg-9, + .py-lg-9 + { + padding-bottom: 10rem !important; + } + .pl-lg-9, + .px-lg-9 + { + padding-left: 10rem !important; + } + .m-lg-n1 + { + margin: -.25rem !important; + } + .mt-lg-n1, + .my-lg-n1 + { + margin-top: -.25rem !important; + } + .mr-lg-n1, + .mx-lg-n1 + { + margin-right: -.25rem !important; + } + .mb-lg-n1, + .my-lg-n1 + { + margin-bottom: -.25rem !important; + } + .ml-lg-n1, + .mx-lg-n1 + { + margin-left: -.25rem !important; + } + .m-lg-n2 + { + margin: -.5rem !important; + } + .mt-lg-n2, + .my-lg-n2 + { + margin-top: -.5rem !important; + } + .mr-lg-n2, + .mx-lg-n2 + { + margin-right: -.5rem !important; + } + .mb-lg-n2, + .my-lg-n2 + { + margin-bottom: -.5rem !important; + } + .ml-lg-n2, + .mx-lg-n2 + { + margin-left: -.5rem !important; + } + .m-lg-n3 + { + margin: -1rem !important; + } + .mt-lg-n3, + .my-lg-n3 + { + margin-top: -1rem !important; + } + .mr-lg-n3, + .mx-lg-n3 + { + margin-right: -1rem !important; + } + .mb-lg-n3, + .my-lg-n3 + { + margin-bottom: -1rem !important; + } + .ml-lg-n3, + .mx-lg-n3 + { + margin-left: -1rem !important; + } + .m-lg-n4 + { + margin: -1.5rem !important; + } + .mt-lg-n4, + .my-lg-n4 + { + margin-top: -1.5rem !important; + } + .mr-lg-n4, + .mx-lg-n4 + { + margin-right: -1.5rem !important; + } + .mb-lg-n4, + .my-lg-n4 + { + margin-bottom: -1.5rem !important; + } + .ml-lg-n4, + .mx-lg-n4 + { + margin-left: -1.5rem !important; + } + .m-lg-n5 + { + margin: -3rem !important; + } + .mt-lg-n5, + .my-lg-n5 + { + margin-top: -3rem !important; + } + .mr-lg-n5, + .mx-lg-n5 + { + margin-right: -3rem !important; + } + .mb-lg-n5, + .my-lg-n5 + { + margin-bottom: -3rem !important; + } + .ml-lg-n5, + .mx-lg-n5 + { + margin-left: -3rem !important; + } + .m-lg-n-9 + { + margin: 10rem !important; + } + .mt-lg-n-9, + .my-lg-n-9 + { + margin-top: 10rem !important; + } + .mr-lg-n-9, + .mx-lg-n-9 + { + margin-right: 10rem !important; + } + .mb-lg-n-9, + .my-lg-n-9 + { + margin-bottom: 10rem !important; + } + .ml-lg-n-9, + .mx-lg-n-9 + { + margin-left: 10rem !important; + } + .m-lg-n-8 + { + margin: 8rem !important; + } + .mt-lg-n-8, + .my-lg-n-8 + { + margin-top: 8rem !important; + } + .mr-lg-n-8, + .mx-lg-n-8 + { + margin-right: 8rem !important; + } + .mb-lg-n-8, + .my-lg-n-8 + { + margin-bottom: 8rem !important; + } + .ml-lg-n-8, + .mx-lg-n-8 + { + margin-left: 8rem !important; + } + .m-lg-n-7 + { + margin: 6rem !important; + } + .mt-lg-n-7, + .my-lg-n-7 + { + margin-top: 6rem !important; + } + .mr-lg-n-7, + .mx-lg-n-7 + { + margin-right: 6rem !important; + } + .mb-lg-n-7, + .my-lg-n-7 + { + margin-bottom: 6rem !important; + } + .ml-lg-n-7, + .mx-lg-n-7 + { + margin-left: 6rem !important; + } + .m-lg-n-6 + { + margin: 4.5rem !important; + } + .mt-lg-n-6, + .my-lg-n-6 + { + margin-top: 4.5rem !important; + } + .mr-lg-n-6, + .mx-lg-n-6 + { + margin-right: 4.5rem !important; + } + .mb-lg-n-6, + .my-lg-n-6 + { + margin-bottom: 4.5rem !important; + } + .ml-lg-n-6, + .mx-lg-n-6 + { + margin-left: 4.5rem !important; + } + .m-lg-n-5 + { + margin: 3rem !important; + } + .mt-lg-n-5, + .my-lg-n-5 + { + margin-top: 3rem !important; + } + .mr-lg-n-5, + .mx-lg-n-5 + { + margin-right: 3rem !important; + } + .mb-lg-n-5, + .my-lg-n-5 + { + margin-bottom: 3rem !important; + } + .ml-lg-n-5, + .mx-lg-n-5 + { + margin-left: 3rem !important; + } + .m-lg-n-4 + { + margin: 1.5rem !important; + } + .mt-lg-n-4, + .my-lg-n-4 + { + margin-top: 1.5rem !important; + } + .mr-lg-n-4, + .mx-lg-n-4 + { + margin-right: 1.5rem !important; + } + .mb-lg-n-4, + .my-lg-n-4 + { + margin-bottom: 1.5rem !important; + } + .ml-lg-n-4, + .mx-lg-n-4 + { + margin-left: 1.5rem !important; + } + .m-lg-n-3 + { + margin: 1rem !important; + } + .mt-lg-n-3, + .my-lg-n-3 + { + margin-top: 1rem !important; + } + .mr-lg-n-3, + .mx-lg-n-3 + { + margin-right: 1rem !important; + } + .mb-lg-n-3, + .my-lg-n-3 + { + margin-bottom: 1rem !important; + } + .ml-lg-n-3, + .mx-lg-n-3 + { + margin-left: 1rem !important; + } + .m-lg-n-2 + { + margin: .5rem !important; + } + .mt-lg-n-2, + .my-lg-n-2 + { + margin-top: .5rem !important; + } + .mr-lg-n-2, + .mx-lg-n-2 + { + margin-right: .5rem !important; + } + .mb-lg-n-2, + .my-lg-n-2 + { + margin-bottom: .5rem !important; + } + .ml-lg-n-2, + .mx-lg-n-2 + { + margin-left: .5rem !important; + } + .m-lg-n-1 + { + margin: .25rem !important; + } + .mt-lg-n-1, + .my-lg-n-1 + { + margin-top: .25rem !important; + } + .mr-lg-n-1, + .mx-lg-n-1 + { + margin-right: .25rem !important; + } + .mb-lg-n-1, + .my-lg-n-1 + { + margin-bottom: .25rem !important; + } + .ml-lg-n-1, + .mx-lg-n-1 + { + margin-left: .25rem !important; + } + .m-lg-n6 + { + margin: -4.5rem !important; + } + .mt-lg-n6, + .my-lg-n6 + { + margin-top: -4.5rem !important; + } + .mr-lg-n6, + .mx-lg-n6 + { + margin-right: -4.5rem !important; + } + .mb-lg-n6, + .my-lg-n6 + { + margin-bottom: -4.5rem !important; + } + .ml-lg-n6, + .mx-lg-n6 + { + margin-left: -4.5rem !important; + } + .m-lg-n7 + { + margin: -6rem !important; + } + .mt-lg-n7, + .my-lg-n7 + { + margin-top: -6rem !important; + } + .mr-lg-n7, + .mx-lg-n7 + { + margin-right: -6rem !important; + } + .mb-lg-n7, + .my-lg-n7 + { + margin-bottom: -6rem !important; + } + .ml-lg-n7, + .mx-lg-n7 + { + margin-left: -6rem !important; + } + .m-lg-n8 + { + margin: -8rem !important; + } + .mt-lg-n8, + .my-lg-n8 + { + margin-top: -8rem !important; + } + .mr-lg-n8, + .mx-lg-n8 + { + margin-right: -8rem !important; + } + .mb-lg-n8, + .my-lg-n8 + { + margin-bottom: -8rem !important; + } + .ml-lg-n8, + .mx-lg-n8 + { + margin-left: -8rem !important; + } + .m-lg-n9 + { + margin: -10rem !important; + } + .mt-lg-n9, + .my-lg-n9 + { + margin-top: -10rem !important; + } + .mr-lg-n9, + .mx-lg-n9 + { + margin-right: -10rem !important; + } + .mb-lg-n9, + .my-lg-n9 + { + margin-bottom: -10rem !important; + } + .ml-lg-n9, + .mx-lg-n9 + { + margin-left: -10rem !important; + } + .m-lg-auto + { + margin: auto !important; + } + .mt-lg-auto, + .my-lg-auto + { + margin-top: auto !important; + } + .mr-lg-auto, + .mx-lg-auto + { + margin-right: auto !important; + } + .mb-lg-auto, + .my-lg-auto + { + margin-bottom: auto !important; + } + .ml-lg-auto, + .mx-lg-auto + { + margin-left: auto !important; + } +} + +@media (min-width: 1200px) +{ + .m-xl-0 + { + margin: 0 !important; + } + .mt-xl-0, + .my-xl-0 + { + margin-top: 0 !important; + } + .mr-xl-0, + .mx-xl-0 + { + margin-right: 0 !important; + } + .mb-xl-0, + .my-xl-0 + { + margin-bottom: 0 !important; + } + .ml-xl-0, + .mx-xl-0 + { + margin-left: 0 !important; + } + .m-xl-1 + { + margin: .25rem !important; + } + .mt-xl-1, + .my-xl-1 + { + margin-top: .25rem !important; + } + .mr-xl-1, + .mx-xl-1 + { + margin-right: .25rem !important; + } + .mb-xl-1, + .my-xl-1 + { + margin-bottom: .25rem !important; + } + .ml-xl-1, + .mx-xl-1 + { + margin-left: .25rem !important; + } + .m-xl-2 + { + margin: .5rem !important; + } + .mt-xl-2, + .my-xl-2 + { + margin-top: .5rem !important; + } + .mr-xl-2, + .mx-xl-2 + { + margin-right: .5rem !important; + } + .mb-xl-2, + .my-xl-2 + { + margin-bottom: .5rem !important; + } + .ml-xl-2, + .mx-xl-2 + { + margin-left: .5rem !important; + } + .m-xl-3 + { + margin: 1rem !important; + } + .mt-xl-3, + .my-xl-3 + { + margin-top: 1rem !important; + } + .mr-xl-3, + .mx-xl-3 + { + margin-right: 1rem !important; + } + .mb-xl-3, + .my-xl-3 + { + margin-bottom: 1rem !important; + } + .ml-xl-3, + .mx-xl-3 + { + margin-left: 1rem !important; + } + .m-xl-4 + { + margin: 1.5rem !important; + } + .mt-xl-4, + .my-xl-4 + { + margin-top: 1.5rem !important; + } + .mr-xl-4, + .mx-xl-4 + { + margin-right: 1.5rem !important; + } + .mb-xl-4, + .my-xl-4 + { + margin-bottom: 1.5rem !important; + } + .ml-xl-4, + .mx-xl-4 + { + margin-left: 1.5rem !important; + } + .m-xl-5 + { + margin: 3rem !important; + } + .mt-xl-5, + .my-xl-5 + { + margin-top: 3rem !important; + } + .mr-xl-5, + .mx-xl-5 + { + margin-right: 3rem !important; + } + .mb-xl-5, + .my-xl-5 + { + margin-bottom: 3rem !important; + } + .ml-xl-5, + .mx-xl-5 + { + margin-left: 3rem !important; + } + .m-xl--9 + { + margin: -10rem !important; + } + .mt-xl--9, + .my-xl--9 + { + margin-top: -10rem !important; + } + .mr-xl--9, + .mx-xl--9 + { + margin-right: -10rem !important; + } + .mb-xl--9, + .my-xl--9 + { + margin-bottom: -10rem !important; + } + .ml-xl--9, + .mx-xl--9 + { + margin-left: -10rem !important; + } + .m-xl--8 + { + margin: -8rem !important; + } + .mt-xl--8, + .my-xl--8 + { + margin-top: -8rem !important; + } + .mr-xl--8, + .mx-xl--8 + { + margin-right: -8rem !important; + } + .mb-xl--8, + .my-xl--8 + { + margin-bottom: -8rem !important; + } + .ml-xl--8, + .mx-xl--8 + { + margin-left: -8rem !important; + } + .m-xl--7 + { + margin: -6rem !important; + } + .mt-xl--7, + .my-xl--7 + { + margin-top: -6rem !important; + } + .mr-xl--7, + .mx-xl--7 + { + margin-right: -6rem !important; + } + .mb-xl--7, + .my-xl--7 + { + margin-bottom: -6rem !important; + } + .ml-xl--7, + .mx-xl--7 + { + margin-left: -6rem !important; + } + .m-xl--6 + { + margin: -4.5rem !important; + } + .mt-xl--6, + .my-xl--6 + { + margin-top: -4.5rem !important; + } + .mr-xl--6, + .mx-xl--6 + { + margin-right: -4.5rem !important; + } + .mb-xl--6, + .my-xl--6 + { + margin-bottom: -4.5rem !important; + } + .ml-xl--6, + .mx-xl--6 + { + margin-left: -4.5rem !important; + } + .m-xl--5 + { + margin: -3rem !important; + } + .mt-xl--5, + .my-xl--5 + { + margin-top: -3rem !important; + } + .mr-xl--5, + .mx-xl--5 + { + margin-right: -3rem !important; + } + .mb-xl--5, + .my-xl--5 + { + margin-bottom: -3rem !important; + } + .ml-xl--5, + .mx-xl--5 + { + margin-left: -3rem !important; + } + .m-xl--4 + { + margin: -1.5rem !important; + } + .mt-xl--4, + .my-xl--4 + { + margin-top: -1.5rem !important; + } + .mr-xl--4, + .mx-xl--4 + { + margin-right: -1.5rem !important; + } + .mb-xl--4, + .my-xl--4 + { + margin-bottom: -1.5rem !important; + } + .ml-xl--4, + .mx-xl--4 + { + margin-left: -1.5rem !important; + } + .m-xl--3 + { + margin: -1rem !important; + } + .mt-xl--3, + .my-xl--3 + { + margin-top: -1rem !important; + } + .mr-xl--3, + .mx-xl--3 + { + margin-right: -1rem !important; + } + .mb-xl--3, + .my-xl--3 + { + margin-bottom: -1rem !important; + } + .ml-xl--3, + .mx-xl--3 + { + margin-left: -1rem !important; + } + .m-xl--2 + { + margin: -.5rem !important; + } + .mt-xl--2, + .my-xl--2 + { + margin-top: -.5rem !important; + } + .mr-xl--2, + .mx-xl--2 + { + margin-right: -.5rem !important; + } + .mb-xl--2, + .my-xl--2 + { + margin-bottom: -.5rem !important; + } + .ml-xl--2, + .mx-xl--2 + { + margin-left: -.5rem !important; + } + .m-xl--1 + { + margin: -.25rem !important; + } + .mt-xl--1, + .my-xl--1 + { + margin-top: -.25rem !important; + } + .mr-xl--1, + .mx-xl--1 + { + margin-right: -.25rem !important; + } + .mb-xl--1, + .my-xl--1 + { + margin-bottom: -.25rem !important; + } + .ml-xl--1, + .mx-xl--1 + { + margin-left: -.25rem !important; + } + .m-xl-6 + { + margin: 4.5rem !important; + } + .mt-xl-6, + .my-xl-6 + { + margin-top: 4.5rem !important; + } + .mr-xl-6, + .mx-xl-6 + { + margin-right: 4.5rem !important; + } + .mb-xl-6, + .my-xl-6 + { + margin-bottom: 4.5rem !important; + } + .ml-xl-6, + .mx-xl-6 + { + margin-left: 4.5rem !important; + } + .m-xl-7 + { + margin: 6rem !important; + } + .mt-xl-7, + .my-xl-7 + { + margin-top: 6rem !important; + } + .mr-xl-7, + .mx-xl-7 + { + margin-right: 6rem !important; + } + .mb-xl-7, + .my-xl-7 + { + margin-bottom: 6rem !important; + } + .ml-xl-7, + .mx-xl-7 + { + margin-left: 6rem !important; + } + .m-xl-8 + { + margin: 8rem !important; + } + .mt-xl-8, + .my-xl-8 + { + margin-top: 8rem !important; + } + .mr-xl-8, + .mx-xl-8 + { + margin-right: 8rem !important; + } + .mb-xl-8, + .my-xl-8 + { + margin-bottom: 8rem !important; + } + .ml-xl-8, + .mx-xl-8 + { + margin-left: 8rem !important; + } + .m-xl-9 + { + margin: 10rem !important; + } + .mt-xl-9, + .my-xl-9 + { + margin-top: 10rem !important; + } + .mr-xl-9, + .mx-xl-9 + { + margin-right: 10rem !important; + } + .mb-xl-9, + .my-xl-9 + { + margin-bottom: 10rem !important; + } + .ml-xl-9, + .mx-xl-9 + { + margin-left: 10rem !important; + } + .p-xl-0 + { + padding: 0 !important; + } + .pt-xl-0, + .py-xl-0 + { + padding-top: 0 !important; + } + .pr-xl-0, + .px-xl-0 + { + padding-right: 0 !important; + } + .pb-xl-0, + .py-xl-0 + { + padding-bottom: 0 !important; + } + .pl-xl-0, + .px-xl-0 + { + padding-left: 0 !important; + } + .p-xl-1 + { + padding: .25rem !important; + } + .pt-xl-1, + .py-xl-1 + { + padding-top: .25rem !important; + } + .pr-xl-1, + .px-xl-1 + { + padding-right: .25rem !important; + } + .pb-xl-1, + .py-xl-1 + { + padding-bottom: .25rem !important; + } + .pl-xl-1, + .px-xl-1 + { + padding-left: .25rem !important; + } + .p-xl-2 + { + padding: .5rem !important; + } + .pt-xl-2, + .py-xl-2 + { + padding-top: .5rem !important; + } + .pr-xl-2, + .px-xl-2 + { + padding-right: .5rem !important; + } + .pb-xl-2, + .py-xl-2 + { + padding-bottom: .5rem !important; + } + .pl-xl-2, + .px-xl-2 + { + padding-left: .5rem !important; + } + .p-xl-3 + { + padding: 1rem !important; + } + .pt-xl-3, + .py-xl-3 + { + padding-top: 1rem !important; + } + .pr-xl-3, + .px-xl-3 + { + padding-right: 1rem !important; + } + .pb-xl-3, + .py-xl-3 + { + padding-bottom: 1rem !important; + } + .pl-xl-3, + .px-xl-3 + { + padding-left: 1rem !important; + } + .p-xl-4 + { + padding: 1.5rem !important; + } + .pt-xl-4, + .py-xl-4 + { + padding-top: 1.5rem !important; + } + .pr-xl-4, + .px-xl-4 + { + padding-right: 1.5rem !important; + } + .pb-xl-4, + .py-xl-4 + { + padding-bottom: 1.5rem !important; + } + .pl-xl-4, + .px-xl-4 + { + padding-left: 1.5rem !important; + } + .p-xl-5 + { + padding: 3rem !important; + } + .pt-xl-5, + .py-xl-5 + { + padding-top: 3rem !important; + } + .pr-xl-5, + .px-xl-5 + { + padding-right: 3rem !important; + } + .pb-xl-5, + .py-xl-5 + { + padding-bottom: 3rem !important; + } + .pl-xl-5, + .px-xl-5 + { + padding-left: 3rem !important; + } + .p-xl--9 + { + padding: -10rem !important; + } + .pt-xl--9, + .py-xl--9 + { + padding-top: -10rem !important; + } + .pr-xl--9, + .px-xl--9 + { + padding-right: -10rem !important; + } + .pb-xl--9, + .py-xl--9 + { + padding-bottom: -10rem !important; + } + .pl-xl--9, + .px-xl--9 + { + padding-left: -10rem !important; + } + .p-xl--8 + { + padding: -8rem !important; + } + .pt-xl--8, + .py-xl--8 + { + padding-top: -8rem !important; + } + .pr-xl--8, + .px-xl--8 + { + padding-right: -8rem !important; + } + .pb-xl--8, + .py-xl--8 + { + padding-bottom: -8rem !important; + } + .pl-xl--8, + .px-xl--8 + { + padding-left: -8rem !important; + } + .p-xl--7 + { + padding: -6rem !important; + } + .pt-xl--7, + .py-xl--7 + { + padding-top: -6rem !important; + } + .pr-xl--7, + .px-xl--7 + { + padding-right: -6rem !important; + } + .pb-xl--7, + .py-xl--7 + { + padding-bottom: -6rem !important; + } + .pl-xl--7, + .px-xl--7 + { + padding-left: -6rem !important; + } + .p-xl--6 + { + padding: -4.5rem !important; + } + .pt-xl--6, + .py-xl--6 + { + padding-top: -4.5rem !important; + } + .pr-xl--6, + .px-xl--6 + { + padding-right: -4.5rem !important; + } + .pb-xl--6, + .py-xl--6 + { + padding-bottom: -4.5rem !important; + } + .pl-xl--6, + .px-xl--6 + { + padding-left: -4.5rem !important; + } + .p-xl--5 + { + padding: -3rem !important; + } + .pt-xl--5, + .py-xl--5 + { + padding-top: -3rem !important; + } + .pr-xl--5, + .px-xl--5 + { + padding-right: -3rem !important; + } + .pb-xl--5, + .py-xl--5 + { + padding-bottom: -3rem !important; + } + .pl-xl--5, + .px-xl--5 + { + padding-left: -3rem !important; + } + .p-xl--4 + { + padding: -1.5rem !important; + } + .pt-xl--4, + .py-xl--4 + { + padding-top: -1.5rem !important; + } + .pr-xl--4, + .px-xl--4 + { + padding-right: -1.5rem !important; + } + .pb-xl--4, + .py-xl--4 + { + padding-bottom: -1.5rem !important; + } + .pl-xl--4, + .px-xl--4 + { + padding-left: -1.5rem !important; + } + .p-xl--3 + { + padding: -1rem !important; + } + .pt-xl--3, + .py-xl--3 + { + padding-top: -1rem !important; + } + .pr-xl--3, + .px-xl--3 + { + padding-right: -1rem !important; + } + .pb-xl--3, + .py-xl--3 + { + padding-bottom: -1rem !important; + } + .pl-xl--3, + .px-xl--3 + { + padding-left: -1rem !important; + } + .p-xl--2 + { + padding: -.5rem !important; + } + .pt-xl--2, + .py-xl--2 + { + padding-top: -.5rem !important; + } + .pr-xl--2, + .px-xl--2 + { + padding-right: -.5rem !important; + } + .pb-xl--2, + .py-xl--2 + { + padding-bottom: -.5rem !important; + } + .pl-xl--2, + .px-xl--2 + { + padding-left: -.5rem !important; + } + .p-xl--1 + { + padding: -.25rem !important; + } + .pt-xl--1, + .py-xl--1 + { + padding-top: -.25rem !important; + } + .pr-xl--1, + .px-xl--1 + { + padding-right: -.25rem !important; + } + .pb-xl--1, + .py-xl--1 + { + padding-bottom: -.25rem !important; + } + .pl-xl--1, + .px-xl--1 + { + padding-left: -.25rem !important; + } + .p-xl-6 + { + padding: 4.5rem !important; + } + .pt-xl-6, + .py-xl-6 + { + padding-top: 4.5rem !important; + } + .pr-xl-6, + .px-xl-6 + { + padding-right: 4.5rem !important; + } + .pb-xl-6, + .py-xl-6 + { + padding-bottom: 4.5rem !important; + } + .pl-xl-6, + .px-xl-6 + { + padding-left: 4.5rem !important; + } + .p-xl-7 + { + padding: 6rem !important; + } + .pt-xl-7, + .py-xl-7 + { + padding-top: 6rem !important; + } + .pr-xl-7, + .px-xl-7 + { + padding-right: 6rem !important; + } + .pb-xl-7, + .py-xl-7 + { + padding-bottom: 6rem !important; + } + .pl-xl-7, + .px-xl-7 + { + padding-left: 6rem !important; + } + .p-xl-8 + { + padding: 8rem !important; + } + .pt-xl-8, + .py-xl-8 + { + padding-top: 8rem !important; + } + .pr-xl-8, + .px-xl-8 + { + padding-right: 8rem !important; + } + .pb-xl-8, + .py-xl-8 + { + padding-bottom: 8rem !important; + } + .pl-xl-8, + .px-xl-8 + { + padding-left: 8rem !important; + } + .p-xl-9 + { + padding: 10rem !important; + } + .pt-xl-9, + .py-xl-9 + { + padding-top: 10rem !important; + } + .pr-xl-9, + .px-xl-9 + { + padding-right: 10rem !important; + } + .pb-xl-9, + .py-xl-9 + { + padding-bottom: 10rem !important; + } + .pl-xl-9, + .px-xl-9 + { + padding-left: 10rem !important; + } + .m-xl-n1 + { + margin: -.25rem !important; + } + .mt-xl-n1, + .my-xl-n1 + { + margin-top: -.25rem !important; + } + .mr-xl-n1, + .mx-xl-n1 + { + margin-right: -.25rem !important; + } + .mb-xl-n1, + .my-xl-n1 + { + margin-bottom: -.25rem !important; + } + .ml-xl-n1, + .mx-xl-n1 + { + margin-left: -.25rem !important; + } + .m-xl-n2 + { + margin: -.5rem !important; + } + .mt-xl-n2, + .my-xl-n2 + { + margin-top: -.5rem !important; + } + .mr-xl-n2, + .mx-xl-n2 + { + margin-right: -.5rem !important; + } + .mb-xl-n2, + .my-xl-n2 + { + margin-bottom: -.5rem !important; + } + .ml-xl-n2, + .mx-xl-n2 + { + margin-left: -.5rem !important; + } + .m-xl-n3 + { + margin: -1rem !important; + } + .mt-xl-n3, + .my-xl-n3 + { + margin-top: -1rem !important; + } + .mr-xl-n3, + .mx-xl-n3 + { + margin-right: -1rem !important; + } + .mb-xl-n3, + .my-xl-n3 + { + margin-bottom: -1rem !important; + } + .ml-xl-n3, + .mx-xl-n3 + { + margin-left: -1rem !important; + } + .m-xl-n4 + { + margin: -1.5rem !important; + } + .mt-xl-n4, + .my-xl-n4 + { + margin-top: -1.5rem !important; + } + .mr-xl-n4, + .mx-xl-n4 + { + margin-right: -1.5rem !important; + } + .mb-xl-n4, + .my-xl-n4 + { + margin-bottom: -1.5rem !important; + } + .ml-xl-n4, + .mx-xl-n4 + { + margin-left: -1.5rem !important; + } + .m-xl-n5 + { + margin: -3rem !important; + } + .mt-xl-n5, + .my-xl-n5 + { + margin-top: -3rem !important; + } + .mr-xl-n5, + .mx-xl-n5 + { + margin-right: -3rem !important; + } + .mb-xl-n5, + .my-xl-n5 + { + margin-bottom: -3rem !important; + } + .ml-xl-n5, + .mx-xl-n5 + { + margin-left: -3rem !important; + } + .m-xl-n-9 + { + margin: 10rem !important; + } + .mt-xl-n-9, + .my-xl-n-9 + { + margin-top: 10rem !important; + } + .mr-xl-n-9, + .mx-xl-n-9 + { + margin-right: 10rem !important; + } + .mb-xl-n-9, + .my-xl-n-9 + { + margin-bottom: 10rem !important; + } + .ml-xl-n-9, + .mx-xl-n-9 + { + margin-left: 10rem !important; + } + .m-xl-n-8 + { + margin: 8rem !important; + } + .mt-xl-n-8, + .my-xl-n-8 + { + margin-top: 8rem !important; + } + .mr-xl-n-8, + .mx-xl-n-8 + { + margin-right: 8rem !important; + } + .mb-xl-n-8, + .my-xl-n-8 + { + margin-bottom: 8rem !important; + } + .ml-xl-n-8, + .mx-xl-n-8 + { + margin-left: 8rem !important; + } + .m-xl-n-7 + { + margin: 6rem !important; + } + .mt-xl-n-7, + .my-xl-n-7 + { + margin-top: 6rem !important; + } + .mr-xl-n-7, + .mx-xl-n-7 + { + margin-right: 6rem !important; + } + .mb-xl-n-7, + .my-xl-n-7 + { + margin-bottom: 6rem !important; + } + .ml-xl-n-7, + .mx-xl-n-7 + { + margin-left: 6rem !important; + } + .m-xl-n-6 + { + margin: 4.5rem !important; + } + .mt-xl-n-6, + .my-xl-n-6 + { + margin-top: 4.5rem !important; + } + .mr-xl-n-6, + .mx-xl-n-6 + { + margin-right: 4.5rem !important; + } + .mb-xl-n-6, + .my-xl-n-6 + { + margin-bottom: 4.5rem !important; + } + .ml-xl-n-6, + .mx-xl-n-6 + { + margin-left: 4.5rem !important; + } + .m-xl-n-5 + { + margin: 3rem !important; + } + .mt-xl-n-5, + .my-xl-n-5 + { + margin-top: 3rem !important; + } + .mr-xl-n-5, + .mx-xl-n-5 + { + margin-right: 3rem !important; + } + .mb-xl-n-5, + .my-xl-n-5 + { + margin-bottom: 3rem !important; + } + .ml-xl-n-5, + .mx-xl-n-5 + { + margin-left: 3rem !important; + } + .m-xl-n-4 + { + margin: 1.5rem !important; + } + .mt-xl-n-4, + .my-xl-n-4 + { + margin-top: 1.5rem !important; + } + .mr-xl-n-4, + .mx-xl-n-4 + { + margin-right: 1.5rem !important; + } + .mb-xl-n-4, + .my-xl-n-4 + { + margin-bottom: 1.5rem !important; + } + .ml-xl-n-4, + .mx-xl-n-4 + { + margin-left: 1.5rem !important; + } + .m-xl-n-3 + { + margin: 1rem !important; + } + .mt-xl-n-3, + .my-xl-n-3 + { + margin-top: 1rem !important; + } + .mr-xl-n-3, + .mx-xl-n-3 + { + margin-right: 1rem !important; + } + .mb-xl-n-3, + .my-xl-n-3 + { + margin-bottom: 1rem !important; + } + .ml-xl-n-3, + .mx-xl-n-3 + { + margin-left: 1rem !important; + } + .m-xl-n-2 + { + margin: .5rem !important; + } + .mt-xl-n-2, + .my-xl-n-2 + { + margin-top: .5rem !important; + } + .mr-xl-n-2, + .mx-xl-n-2 + { + margin-right: .5rem !important; + } + .mb-xl-n-2, + .my-xl-n-2 + { + margin-bottom: .5rem !important; + } + .ml-xl-n-2, + .mx-xl-n-2 + { + margin-left: .5rem !important; + } + .m-xl-n-1 + { + margin: .25rem !important; + } + .mt-xl-n-1, + .my-xl-n-1 + { + margin-top: .25rem !important; + } + .mr-xl-n-1, + .mx-xl-n-1 + { + margin-right: .25rem !important; + } + .mb-xl-n-1, + .my-xl-n-1 + { + margin-bottom: .25rem !important; + } + .ml-xl-n-1, + .mx-xl-n-1 + { + margin-left: .25rem !important; + } + .m-xl-n6 + { + margin: -4.5rem !important; + } + .mt-xl-n6, + .my-xl-n6 + { + margin-top: -4.5rem !important; + } + .mr-xl-n6, + .mx-xl-n6 + { + margin-right: -4.5rem !important; + } + .mb-xl-n6, + .my-xl-n6 + { + margin-bottom: -4.5rem !important; + } + .ml-xl-n6, + .mx-xl-n6 + { + margin-left: -4.5rem !important; + } + .m-xl-n7 + { + margin: -6rem !important; + } + .mt-xl-n7, + .my-xl-n7 + { + margin-top: -6rem !important; + } + .mr-xl-n7, + .mx-xl-n7 + { + margin-right: -6rem !important; + } + .mb-xl-n7, + .my-xl-n7 + { + margin-bottom: -6rem !important; + } + .ml-xl-n7, + .mx-xl-n7 + { + margin-left: -6rem !important; + } + .m-xl-n8 + { + margin: -8rem !important; + } + .mt-xl-n8, + .my-xl-n8 + { + margin-top: -8rem !important; + } + .mr-xl-n8, + .mx-xl-n8 + { + margin-right: -8rem !important; + } + .mb-xl-n8, + .my-xl-n8 + { + margin-bottom: -8rem !important; + } + .ml-xl-n8, + .mx-xl-n8 + { + margin-left: -8rem !important; + } + .m-xl-n9 + { + margin: -10rem !important; + } + .mt-xl-n9, + .my-xl-n9 + { + margin-top: -10rem !important; + } + .mr-xl-n9, + .mx-xl-n9 + { + margin-right: -10rem !important; + } + .mb-xl-n9, + .my-xl-n9 + { + margin-bottom: -10rem !important; + } + .ml-xl-n9, + .mx-xl-n9 + { + margin-left: -10rem !important; + } + .m-xl-auto + { + margin: auto !important; + } + .mt-xl-auto, + .my-xl-auto + { + margin-top: auto !important; + } + .mr-xl-auto, + .mx-xl-auto + { + margin-right: auto !important; + } + .mb-xl-auto, + .my-xl-auto + { + margin-bottom: auto !important; + } + .ml-xl-auto, + .mx-xl-auto + { + margin-left: auto !important; + } +} + +.text-monospace +{ + font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !important; +} + +.text-justify +{ + text-align: justify !important; +} + +.text-wrap +{ + white-space: normal !important; +} + +.text-nowrap +{ + white-space: nowrap !important; +} + +.text-truncate +{ + overflow: hidden; + + white-space: nowrap; + text-overflow: ellipsis; +} + +.text-left +{ + text-align: left !important; +} + +.text-right +{ + text-align: right !important; +} + +.text-center +{ + text-align: center !important; +} + +@media (min-width: 576px) +{ + .text-sm-left + { + text-align: left !important; + } + .text-sm-right + { + text-align: right !important; + } + .text-sm-center + { + text-align: center !important; + } +} + +@media (min-width: 768px) +{ + .text-md-left + { + text-align: left !important; + } + .text-md-right + { + text-align: right !important; + } + .text-md-center + { + text-align: center !important; + } +} + +@media (min-width: 992px) +{ + .text-lg-left + { + text-align: left !important; + } + .text-lg-right + { + text-align: right !important; + } + .text-lg-center + { + text-align: center !important; + } +} + +@media (min-width: 1200px) +{ + .text-xl-left + { + text-align: left !important; + } + .text-xl-right + { + text-align: right !important; + } + .text-xl-center + { + text-align: center !important; + } +} + +.text-lowercase +{ + text-transform: lowercase !important; +} + +.text-uppercase +{ + text-transform: uppercase !important; +} + +.text-capitalize +{ + text-transform: capitalize !important; +} + +.font-weight-light +{ + font-weight: 300 !important; +} + +.font-weight-lighter +{ + font-weight: lighter !important; +} + +.font-weight-normal +{ + font-weight: 400 !important; +} + +.font-weight-bold +{ + font-weight: 600 !important; +} + +.font-weight-bolder +{ + font-weight: bolder !important; +} + +.font-italic +{ + font-style: italic !important; +} + +.text-white +{ + color: #fff !important; +} + +.text-primary +{ + color: #5e72e4 !important; +} + +a.text-primary:hover, +a.text-primary:focus +{ + color: #233dd2 !important; +} + +.text-secondary +{ + color: #f7fafc !important; +} + +a.text-secondary:hover, +a.text-secondary:focus +{ + color: #bfd7e7 !important; +} + +.text-success +{ + color: #2dce89 !important; +} + +a.text-success:hover, +a.text-success:focus +{ + color: #1f8f5f !important; +} + +.text-info +{ + color: #11cdef !important; +} + +a.text-info:hover, +a.text-info:focus +{ + color: #0b90a8 !important; +} + +.text-warning +{ + color: #fb6340 !important; +} + +a.text-warning:hover, +a.text-warning:focus +{ + color: #ea3005 !important; +} + +.text-danger +{ + color: #f5365c !important; +} + +a.text-danger:hover, +a.text-danger:focus +{ + color: #d40b33 !important; +} + +.text-light +{ + color: #adb5bd !important; +} + +a.text-light:hover, +a.text-light:focus +{ + color: #838f9b !important; +} + +.text-dark +{ + color: #212529 !important; +} + +a.text-dark:hover, +a.text-dark:focus +{ + color: black !important; +} + +.text-default +{ + color: #172b4d !important; +} + +a.text-default:hover, +a.text-default:focus +{ + color: #050a12 !important; +} + +.text-white +{ + color: #fff !important; +} + +a.text-white:hover, +a.text-white:focus +{ + color: #d9d9d9 !important; +} + +.text-neutral +{ + color: #fff !important; +} + +a.text-neutral:hover, +a.text-neutral:focus +{ + color: #d9d9d9 !important; +} + +.text-darker +{ + color: black !important; +} + +a.text-darker:hover, +a.text-darker:focus +{ + color: black !important; +} + +.text-body +{ + color: #525f7f !important; +} + +.text-muted +{ + color: #8898aa !important; +} + +.text-black-50 +{ + color: rgba(0, 0, 0, .5) !important; +} + +.text-white-50 +{ + color: rgba(255, 255, 255, .5) !important; +} + +.text-hide +{ + font: 0/0 a; + + color: transparent; + border: 0; + background-color: transparent; + text-shadow: none; +} + +.text-decoration-none +{ + text-decoration: none !important; +} + +.text-break +{ + word-break: break-word !important; + + overflow-wrap: break-word !important; +} + +.text-reset +{ + color: inherit !important; +} + +.visible +{ + visibility: visible !important; +} + +.invisible +{ + visibility: hidden !important; +} + +@media print +{ + *, + *::before, + *::after + { + box-shadow: none !important; + text-shadow: none !important; + } + a:not(.btn) + { + text-decoration: underline; + } + abbr[title]::after + { + content: ' (' attr(title) ')'; + } + pre + { + white-space: pre-wrap !important; + } + pre, + blockquote + { + border: 1px solid #adb5bd; + + page-break-inside: avoid; + } + thead + { + display: table-header-group; + } + tr, + img + { + page-break-inside: avoid; + } + p, + h2, + h3 + { + orphans: 3; + widows: 3; + } + h2, + h3 + { + page-break-after: avoid; + } + @page + { + size: a3; + } + body + { + min-width: 992px !important; + } + .container + { + min-width: 992px !important; + } + .navbar + { + display: none; + } + .badge + { + border: 1px solid #000; + } + .table + { + border-collapse: collapse !important; + } + .table td, + .table th + { + background-color: #fff !important; + } + .table-bordered th, + .table-bordered td + { + border: 1px solid #dee2e6 !important; + } + .table-dark + { + color: inherit; + } + .table-dark th, + .table-dark td, + .table-dark thead th, + .table-dark tbody + tbody + { + border-color: #e9ecef; + } + .table .thead-dark th + { + color: inherit; + border-color: #e9ecef; + } +} + +.alert +{ + font-size: .875rem; +} + +.alert-heading +{ + font-size: .9375rem; + font-weight: 600; + + margin-top: .15rem; +} + +.alert-icon +{ + font-size: 1.25rem; + + display: inline-block; + + margin-right: 1.25rem; + + vertical-align: middle; +} +.alert-icon i.ni +{ + position: relative; + top: 2px; +} + +.alert-text +{ + display: inline-block; + + vertical-align: middle; +} + +[class*='alert-'] .alert-link +{ + color: #fff; + border-bottom: 1px dotted rgba(255, 255, 255, .5); +} + +.alert-dismissible .close +{ + top: 50%; + right: 1.5rem; + + padding: 0; + + transform: translateY(-50%); + + opacity: 1; +} +@media (max-width: 575.98px) +{ + .alert-dismissible .close + { + top: 1rem; + right: .5rem; + } +} +.alert-dismissible .close > span:not(.sr-only) +{ + font-size: 1.5rem; + + color: rgba(255, 255, 255, .6); + background-color: transparent; +} +.alert-dismissible .close:hover > span:not(.sr-only), +.alert-dismissible .close:focus > span:not(.sr-only) +{ + color: white; + background-color: transparent; +} + +.alert-secondary .close > span:not(.sr-only) +{ + color: rgba(23, 43, 77, .6); +} + +.alert-secondary .close:hover > span:not(.sr-only), +.alert-secondary .close:focus > span:not(.sr-only) +{ + color: #172b4d; +} + +.avatar +{ + font-size: 1rem; + + display: inline-flex; + + width: 48px; + height: 48px; + + color: #fff; + border-radius: .375rem; + background-color: #adb5bd; + + align-items: center; + justify-content: center; +} +.avatar img +{ + width: 100%; + + border-radius: .375rem; +} +.avatar + .avatar-content +{ + display: inline-block; + + margin-left: .75rem; +} + +.avatar-lg +{ + font-size: .875rem; + + width: 58px; + height: 58px; +} + +.avatar-sm +{ + font-size: .875rem; + + width: 36px; + height: 36px; +} + +.avatar-group .avatar +{ + position: relative; + z-index: 2; + + border: 2px solid #fff; +} +.avatar-group .avatar:hover +{ + z-index: 3; +} + +.avatar-group .avatar + .avatar +{ + margin-left: -1rem; +} + +.badge +{ + text-transform: uppercase; +} +.badge a +{ + color: #fff; +} + +.badge-md +{ + padding: .65em 1em; +} + +.badge-lg +{ + padding: .85em 1.375em; +} + +.badge-inline +{ + margin-right: .625rem; +} +.badge-inline + span +{ + position: relative; + top: 2px; +} +.badge-inline + span > a +{ + text-decoration: underline; +} + +.badge-default +{ + color: #fff; +} + +.badge-secondary +{ + color: #212529; + background-color: #f7fafc; +} + +.btn .badge:not(:first-child) +{ + margin-left: .5rem; +} + +.btn .badge:not(:last-child) +{ + margin-right: .5rem; +} + +.badge-circle +{ + font-size: .75rem; + font-weight: 600; + + display: inline-flex; + + width: 1.25rem; + height: 1.25rem; + padding: 0 !important; + + text-align: center; + + border-radius: 50%; + + align-items: center; + justify-content: center; +} +.badge-circle.badge-md +{ + width: 1.5rem; + height: 1.5rem; +} +.badge-circle.badge-lg +{ + width: 2rem; + height: 2rem; +} + +.badge-dot +{ + font-size: .875rem; + font-weight: 400; + + padding-right: 0; + padding-left: 0; + + text-transform: none; + + background: transparent; +} +.badge-dot strong +{ + color: #32325d; +} +.badge-dot i +{ + display: inline-block; + + width: .375rem; + height: .375rem; + margin-right: .375rem; + + vertical-align: middle; + + border-radius: 50%; +} +.badge-dot.badge-md i +{ + width: .5rem; + height: .5rem; +} +.badge-dot.badge-lg i +{ + width: .625rem; + height: .625rem; +} + +.btn +{ + font-size: .875rem; + + position: relative; + + transition: all .15s ease; + letter-spacing: .025em; + text-transform: none; + + will-change: transform; +} +.btn:hover +{ + transform: translateY(-1px); + + box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08); +} +.btn:not(:last-child) +{ + margin-right: .5rem; +} +.btn i:not(:first-child), +.btn svg:not(:first-child) +{ + margin-left: .5rem; +} +.btn i:not(:last-child), +.btn svg:not(:last-child) +{ + margin-right: .5rem; +} + +.btn-group .btn, +.input-group .btn +{ + margin-right: 0; + + transform: translateY(0); +} + +.btn-sm, +.btn-group-sm > .btn +{ + font-size: .75rem; +} + +.btn-lg, +.btn-group-lg > .btn +{ + font-size: .875rem; +} + +[class*='btn-outline-'] +{ + border-width: 1px; +} + +.btn-outline-secondary +{ + color: #4385b1; +} + +.btn-inner--icon i:not(.fas):not(.fab) +{ + position: relative; + top: 2px; +} + +.btn-link +{ + font-weight: 600; + + box-shadow: none; +} +.btn-link:hover +{ + transform: none; + + box-shadow: none; +} + +.btn-neutral +{ + color: #5e72e4; +} + +.btn-facebook +{ + color: #fff; + border-color: #3b5999; + background-color: #3b5999; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-facebook:hover +{ + color: #fff; + border-color: #3b5999; + background-color: #3b5999; +} +.btn-facebook:focus, +.btn-facebook.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(59, 89, 153, .5); +} +.btn-facebook.disabled, +.btn-facebook:disabled +{ + color: #fff; + border-color: #3b5999; + background-color: #3b5999; +} +.btn-facebook:not(:disabled):not(.disabled):active, +.btn-facebook:not(:disabled):not(.disabled).active, +.show > .btn-facebook.dropdown-toggle +{ + color: #fff; + border-color: #3b5999; + background-color: #2d4474; +} +.btn-facebook:not(:disabled):not(.disabled):active:focus, +.btn-facebook:not(:disabled):not(.disabled).active:focus, +.show > .btn-facebook.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(59, 89, 153, .5); +} + +.btn-twitter +{ + color: #fff; + border-color: #1da1f2; + background-color: #1da1f2; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-twitter:hover +{ + color: #fff; + border-color: #1da1f2; + background-color: #1da1f2; +} +.btn-twitter:focus, +.btn-twitter.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(29, 161, 242, .5); +} +.btn-twitter.disabled, +.btn-twitter:disabled +{ + color: #fff; + border-color: #1da1f2; + background-color: #1da1f2; +} +.btn-twitter:not(:disabled):not(.disabled):active, +.btn-twitter:not(:disabled):not(.disabled).active, +.show > .btn-twitter.dropdown-toggle +{ + color: #fff; + border-color: #1da1f2; + background-color: #0c85d0; +} +.btn-twitter:not(:disabled):not(.disabled):active:focus, +.btn-twitter:not(:disabled):not(.disabled).active:focus, +.show > .btn-twitter.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(29, 161, 242, .5); +} + +.btn-google-plus +{ + color: #fff; + border-color: #dd4b39; + background-color: #dd4b39; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-google-plus:hover +{ + color: #fff; + border-color: #dd4b39; + background-color: #dd4b39; +} +.btn-google-plus:focus, +.btn-google-plus.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(221, 75, 57, .5); +} +.btn-google-plus.disabled, +.btn-google-plus:disabled +{ + color: #fff; + border-color: #dd4b39; + background-color: #dd4b39; +} +.btn-google-plus:not(:disabled):not(.disabled):active, +.btn-google-plus:not(:disabled):not(.disabled).active, +.show > .btn-google-plus.dropdown-toggle +{ + color: #fff; + border-color: #dd4b39; + background-color: #c23321; +} +.btn-google-plus:not(:disabled):not(.disabled):active:focus, +.btn-google-plus:not(:disabled):not(.disabled).active:focus, +.show > .btn-google-plus.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(221, 75, 57, .5); +} + +.btn-instagram +{ + color: #fff; + border-color: #e4405f; + background-color: #e4405f; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-instagram:hover +{ + color: #fff; + border-color: #e4405f; + background-color: #e4405f; +} +.btn-instagram:focus, +.btn-instagram.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(228, 64, 95, .5); +} +.btn-instagram.disabled, +.btn-instagram:disabled +{ + color: #fff; + border-color: #e4405f; + background-color: #e4405f; +} +.btn-instagram:not(:disabled):not(.disabled):active, +.btn-instagram:not(:disabled):not(.disabled).active, +.show > .btn-instagram.dropdown-toggle +{ + color: #fff; + border-color: #e4405f; + background-color: #d31e40; +} +.btn-instagram:not(:disabled):not(.disabled):active:focus, +.btn-instagram:not(:disabled):not(.disabled).active:focus, +.show > .btn-instagram.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(228, 64, 95, .5); +} + +.btn-pinterest +{ + color: #fff; + border-color: #bd081c; + background-color: #bd081c; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-pinterest:hover +{ + color: #fff; + border-color: #bd081c; + background-color: #bd081c; +} +.btn-pinterest:focus, +.btn-pinterest.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(189, 8, 28, .5); +} +.btn-pinterest.disabled, +.btn-pinterest:disabled +{ + color: #fff; + border-color: #bd081c; + background-color: #bd081c; +} +.btn-pinterest:not(:disabled):not(.disabled):active, +.btn-pinterest:not(:disabled):not(.disabled).active, +.show > .btn-pinterest.dropdown-toggle +{ + color: #fff; + border-color: #bd081c; + background-color: #8c0615; +} +.btn-pinterest:not(:disabled):not(.disabled):active:focus, +.btn-pinterest:not(:disabled):not(.disabled).active:focus, +.show > .btn-pinterest.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(189, 8, 28, .5); +} + +.btn-youtube +{ + color: #fff; + border-color: #cd201f; + background-color: #cd201f; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-youtube:hover +{ + color: #fff; + border-color: #cd201f; + background-color: #cd201f; +} +.btn-youtube:focus, +.btn-youtube.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(205, 32, 31, .5); +} +.btn-youtube.disabled, +.btn-youtube:disabled +{ + color: #fff; + border-color: #cd201f; + background-color: #cd201f; +} +.btn-youtube:not(:disabled):not(.disabled):active, +.btn-youtube:not(:disabled):not(.disabled).active, +.show > .btn-youtube.dropdown-toggle +{ + color: #fff; + border-color: #cd201f; + background-color: #a11918; +} +.btn-youtube:not(:disabled):not(.disabled):active:focus, +.btn-youtube:not(:disabled):not(.disabled).active:focus, +.show > .btn-youtube.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(205, 32, 31, .5); +} + +.btn-slack +{ + color: #fff; + border-color: #3aaf85; + background-color: #3aaf85; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-slack:hover +{ + color: #fff; + border-color: #3aaf85; + background-color: #3aaf85; +} +.btn-slack:focus, +.btn-slack.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(58, 175, 133, .5); +} +.btn-slack.disabled, +.btn-slack:disabled +{ + color: #fff; + border-color: #3aaf85; + background-color: #3aaf85; +} +.btn-slack:not(:disabled):not(.disabled):active, +.btn-slack:not(:disabled):not(.disabled).active, +.show > .btn-slack.dropdown-toggle +{ + color: #fff; + border-color: #3aaf85; + background-color: #2d8968; +} +.btn-slack:not(:disabled):not(.disabled):active:focus, +.btn-slack:not(:disabled):not(.disabled).active:focus, +.show > .btn-slack.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(58, 175, 133, .5); +} + +.btn-dribbble +{ + color: #fff; + border-color: #ea4c89; + background-color: #ea4c89; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-dribbble:hover +{ + color: #fff; + border-color: #ea4c89; + background-color: #ea4c89; +} +.btn-dribbble:focus, +.btn-dribbble.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(234, 76, 137, .5); +} +.btn-dribbble.disabled, +.btn-dribbble:disabled +{ + color: #fff; + border-color: #ea4c89; + background-color: #ea4c89; +} +.btn-dribbble:not(:disabled):not(.disabled):active, +.btn-dribbble:not(:disabled):not(.disabled).active, +.show > .btn-dribbble.dropdown-toggle +{ + color: #fff; + border-color: #ea4c89; + background-color: #e51e6b; +} +.btn-dribbble:not(:disabled):not(.disabled):active:focus, +.btn-dribbble:not(:disabled):not(.disabled).active:focus, +.show > .btn-dribbble.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(234, 76, 137, .5); +} + +.btn-github +{ + color: #fff; + border-color: #222; + background-color: #222; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-github:hover +{ + color: #fff; + border-color: #222; + background-color: #222; +} +.btn-github:focus, +.btn-github.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(34, 34, 34, .5); +} +.btn-github.disabled, +.btn-github:disabled +{ + color: #fff; + border-color: #222; + background-color: #222; +} +.btn-github:not(:disabled):not(.disabled):active, +.btn-github:not(:disabled):not(.disabled).active, +.show > .btn-github.dropdown-toggle +{ + color: #fff; + border-color: #222; + background-color: #090909; +} +.btn-github:not(:disabled):not(.disabled):active:focus, +.btn-github:not(:disabled):not(.disabled).active:focus, +.show > .btn-github.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(34, 34, 34, .5); +} + +.btn-vimeo +{ + color: #fff; + border-color: #04a0f0; + background-color: #04a0f0; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.btn-vimeo:hover +{ + color: #fff; + border-color: #04a0f0; + background-color: #04a0f0; +} +.btn-vimeo:focus, +.btn-vimeo.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(4, 160, 240, .5); +} +.btn-vimeo.disabled, +.btn-vimeo:disabled +{ + color: #fff; + border-color: #04a0f0; + background-color: #04a0f0; +} +.btn-vimeo:not(:disabled):not(.disabled):active, +.btn-vimeo:not(:disabled):not(.disabled).active, +.show > .btn-vimeo.dropdown-toggle +{ + color: #fff; + border-color: #04a0f0; + background-color: #037fbe; +} +.btn-vimeo:not(:disabled):not(.disabled):active:focus, +.btn-vimeo:not(:disabled):not(.disabled).active:focus, +.show > .btn-vimeo.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(4, 160, 240, .5); +} + +.btn-icon .btn-inner--icon img +{ + width: 20px; +} + +.btn-icon .btn-inner--text:not(:first-child) +{ + margin-left: .75em; +} + +.btn-icon .btn-inner--text:not(:last-child) +{ + margin-right: .75em; +} + +.btn-icon-only +{ + width: 2.375rem; + height: 2.375rem; + padding: 0; +} + +a.btn-icon-only +{ + line-height: 2.5; +} + +.btn-icon-only.btn-sm, +.btn-group-sm > .btn-icon-only.btn +{ + width: 2rem; + height: 2rem; +} + +.btn-icon-clipboard +{ + font-family: inherit; + font-size: 1rem; + font-weight: 400; + line-height: 1.25; + + display: inline-block; + + width: 100%; + margin: 0; + margin: .5rem 0; + padding: 1.5rem; + + cursor: pointer; + text-align: left; + vertical-align: middle; + text-decoration: none; + + color: #32325d; + border: 0; + border-radius: .375rem; + background-color: #f6f9fc; + + -moz-appearance: none; +} +.btn-icon-clipboard:hover +{ + background-color: #fff; + box-shadow: rgba(0, 0, 0, .1) 0 0 0 1px, rgba(0, 0, 0, .1) 0 4px 16px; +} +.btn-icon-clipboard > div +{ + display: flex; + + align-items: center; +} +.btn-icon-clipboard i +{ + font-size: 1.5rem; + + box-sizing: content-box; + + vertical-align: middle; + + color: #5e72e4; +} +.btn-icon-clipboard span +{ + font-size: .875rem; + line-height: 1.5; + + display: inline-block; + overflow: hidden; + + margin-left: 16px; + + vertical-align: middle; + white-space: nowrap; + text-overflow: ellipsis; +} + +.card +{ + margin-bottom: 30px; + + border: 0; + box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .15); +} + +.card-translucent +{ + background-color: rgba(18, 91, 152, .08); +} + +.card-deck .card +{ + margin-bottom: 30px; +} + +.card.shadow +{ + border: 0 !important; +} + +@media (min-width: 576px) +{ + .card-columns + { + column-count: 1; + } +} + +@media (min-width: 768px) +{ + .card-columns + { + column-count: 2; + } +} + +@media (min-width: 1200px) +{ + .card-columns + { + column-count: 3; + column-gap: 1.25rem; + } +} + +.card-lift--hover:hover +{ + transition: all .15s ease; + transform: translateY(-20px); +} +@media (prefers-reduced-motion: reduce) +{ + .card-lift--hover:hover + { + transition: none; + } +} + +.card-blockquote +{ + position: relative; + + padding: 2rem; +} +.card-blockquote .svg-bg +{ + position: absolute; + top: -94px; + left: 0; + + display: block; + + width: 100%; + height: 95px; +} + +.card-profile-image +{ + position: relative; +} +.card-profile-image img +{ + position: absolute; + left: 50%; + + max-width: 140px; + + transition: all .15s ease; + transform: translate(-50%, -50%) scale(1); + + border: 3px solid #fff; + border-radius: .375rem; +} +.card-profile-image img:hover +{ + transform: translate(-50%, -50%) scale(1.03); +} + +.card-profile-stats +{ + padding: 1rem 0; +} +.card-profile-stats > div +{ + margin-right: 1rem; + padding: .875rem; + + text-align: center; +} +.card-profile-stats > div:last-child +{ + margin-right: 0; +} +.card-profile-stats > div .heading +{ + font-size: 1.1rem; + font-weight: bold; + + display: block; +} +.card-profile-stats > div .description +{ + font-size: .875rem; + + color: #adb5bd; +} + +.card-profile-actions +{ + padding: .875rem; +} + +.card-stats .card-body +{ + padding: 1rem 1.5rem; +} + +.card-stats .card-status-bullet +{ + position: absolute; + top: 0; + right: 0; + + transform: translate(50%, -50%); +} + +.chart +{ + position: relative; + + height: 350px; +} + +.chart-sm +{ + height: 230px; +} + +.chart-legend +{ + font-size: .875rem; + + display: flex; + + margin-top: 2.5rem; + + text-align: center; + + color: #8898aa; + + justify-content: center; +} + +.chart-legend-item +{ + display: inline-flex; + + align-items: center; +} +.chart-legend-item + .chart-legend-item +{ + margin-left: 1rem; +} + +.chart-legend-indicator +{ + display: inline-block; + + width: .5rem; + height: .5rem; + margin-right: .375rem; + + border-radius: 50%; +} + +#chart-tooltip +{ + z-index: 0; +} +#chart-tooltip .arrow +{ + top: 100%; + left: 50%; + + transform: translateX(-50%) translateX(-.5rem); +} + +.chart-info-overlay +{ + position: absolute; + z-index: 1; + top: 0; + left: 5%; + + max-width: 350px; + padding: 20px; +} + +.close +{ + transition: all .15s ease; +} +.close > span:not(.sr-only) +{ + font-size: 1.25rem; + line-height: 17px; + + display: block; + + width: 1.25rem; + height: 1.25rem; + + transition: all .15s ease; + + color: rgba(0, 0, 0, .6); + border-radius: 50%; + background-color: transparent; +} +.close:hover, +.close:focus +{ + color: rgba(0, 0, 0, .9); + outline: none; + background-color: transparent; +} +.close:hover span:not(.sr-only), +.close:focus span:not(.sr-only) +{ + background-color: transparent; +} + +.accordion .card-header +{ + position: relative; + + cursor: pointer; +} +.accordion .card-header:after +{ + font: normal normal normal 14px/1 NucleoIcons; + line-height: 0; + + position: absolute; + top: 50%; + right: 1.5rem; + + content: '\ea0f'; + transition: all .15s cubic-bezier(.68, -.55, .265, 1.55); + transform: translateY(-50%); +} +@media (prefers-reduced-motion: reduce) +{ + .accordion .card-header:after + { + transition: none; + } +} + +.accordion .card-header[aria-expanded='false']:after +{ + content: '\ea0f'; +} + +.accordion .card-header[aria-expanded='true']:after +{ + transform: rotate(180deg); +} + +.accordion .card-header[aria-expanded='true'] .heading +{ + color: #5e72e4; +} + +.main-content +{ + position: relative; +} +.main-content .navbar-top +{ + padding-right: 0 !important; + padding-left: 0 !important; +} +@media (min-width: 768px) +{ + .main-content .container-fluid, + .main-content .container-sm, + .main-content .container-md, + .main-content .container-lg, + .main-content .container-xl + { + padding-right: 30px !important; + padding-left: 30px !important; + } +} + +.custom-checkbox .custom-control-input ~ .custom-control-label +{ + font-size: .875rem; + + cursor: pointer; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #5e72e4; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: url('data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'8\' height=\'8\' viewBox=\'0 0 8 8\'><path fill=\'#fff\' d=\'M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z\'/></svg>'); +} + +.custom-checkbox .custom-control-input:disabled ~ .custom-control-label::before +{ + border-color: #e9ecef; +} + +.custom-checkbox .custom-control-input:disabled:checked::before +{ + border-color: rgba(94, 114, 228, .5); +} + +.custom-control-label::before +{ + top: .25rem; + left: -1.75rem; + + transition: all .15s cubic-bezier(.68, -.55, .265, 1.55); + + border: 1px solid #dee2e6; +} +@media (prefers-reduced-motion: reduce) +{ + .custom-control-label::before + { + transition: none; + } +} + +.custom-control-label::after +{ + top: .25rem; + left: -1.75rem; +} + +.custom-control-label span +{ + position: relative; + top: 2px; +} + +.custom-control-label +{ + margin-bottom: 0; +} + +.custom-control-alternative .custom-control-label::before +{ + border: 0; + box-shadow: 0 1px 3px rgba(50, 50, 93, .15), 0 1px 0 rgba(0, 0, 0, .02); +} + +.custom-control-alternative .custom-control-input:checked ~ .custom-control-label::before +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} + +.custom-control-alternative .custom-control-input:active ~ .custom-control-label::before, +.custom-control-alternative .custom-control-input:focus ~ .custom-control-label::before +{ + box-shadow: 0 1px 3px rgba(50, 50, 93, .15), 0 1px 0 rgba(0, 0, 0, .02); +} + +.custom-checkbox .custom-control-input ~ .custom-control-label +{ + font-size: .875rem; + + height: 1rem; + + cursor: pointer; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #5e72e4; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: url('data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'8\' height=\'8\' viewBox=\'0 0 8 8\'><path fill=\'#fff\' d=\'M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z\'/></svg>'); +} + +.custom-checkbox .custom-control-input:disabled ~ .custom-control-label::before +{ + border-color: #e9ecef; +} + +.custom-checkbox .custom-control-input:disabled:checked::before +{ + border-color: rgba(94, 114, 228, .5); +} + +.custom-checkbox-primary .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #5e72e4; + background-color: #5e72e4; +} + +.custom-checkbox-primary .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: #5e72e4; +} + +.custom-checkbox-secondary .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #f7fafc; + background-color: #f7fafc; +} + +.custom-checkbox-secondary .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: #f7fafc; +} + +.custom-checkbox-success .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #2dce89; + background-color: #2dce89; +} + +.custom-checkbox-success .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: #2dce89; +} + +.custom-checkbox-info .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #11cdef; + background-color: #11cdef; +} + +.custom-checkbox-info .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: #11cdef; +} + +.custom-checkbox-warning .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #fb6340; + background-color: #fb6340; +} + +.custom-checkbox-warning .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: #fb6340; +} + +.custom-checkbox-danger .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #f5365c; + background-color: #f5365c; +} + +.custom-checkbox-danger .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: #f5365c; +} + +.custom-checkbox-light .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #adb5bd; + background-color: #adb5bd; +} + +.custom-checkbox-light .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: #adb5bd; +} + +.custom-checkbox-dark .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #212529; + background-color: #212529; +} + +.custom-checkbox-dark .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: #212529; +} + +.custom-checkbox-default .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #172b4d; + background-color: #172b4d; +} + +.custom-checkbox-default .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: #172b4d; +} + +.custom-checkbox-white .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #fff; + background-color: #fff; +} + +.custom-checkbox-white .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: #fff; +} + +.custom-checkbox-neutral .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #fff; + background-color: #fff; +} + +.custom-checkbox-neutral .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: #fff; +} + +.custom-checkbox-darker .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: black; + background-color: black; +} + +.custom-checkbox-darker .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: black; +} + +.custom-radio .custom-control-input ~ .custom-control-label +{ + font-size: .875rem; + + height: 1rem; + + cursor: pointer; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::before +{ + border-color: #5e72e4; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::after +{ + background-image: url('data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'12\' viewBox=\'-4 -4 8 8\'><circle r=\'3\' fill=\'#fff\'/></svg>'); +} + +.custom-radio .custom-control-input:disabled ~ .custom-control-label::before +{ + border-color: #e9ecef; +} + +.custom-radio .custom-control-input:disabled:checked::before +{ + border-color: rgba(94, 114, 228, .5); +} + +.custom-toggle +{ + position: relative; + + display: inherit; + display: inline-block; + + width: 52px; + height: 1.5rem; + margin: 0; +} +.custom-toggle input +{ + display: none; +} +.custom-toggle input:checked + .custom-toggle-slider +{ + border: 1px solid #5e72e4; +} +.custom-toggle input:checked + .custom-toggle-slider:before +{ + transform: translateX(28px); + + background: #5e72e4; +} +.custom-toggle input:disabled + .custom-toggle-slider +{ + border: 1px solid #e9ecef; +} +.custom-toggle input:disabled:checked + .custom-toggle-slider +{ + border: 1px solid #e9ecef; +} +.custom-toggle input:disabled:checked + .custom-toggle-slider:before +{ + background-color: #8a98eb; +} + +.custom-toggle-slider +{ + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + + cursor: pointer; + + border: 1px solid #ced4da; + border-radius: 34px !important; + background-color: transparent; +} +.custom-toggle-slider:before +{ + position: absolute; + bottom: 2px; + left: 2px; + + width: 18px; + height: 18px; + + content: ''; + transition: all .15s cubic-bezier(.68, -.55, .265, 1.55); + + border-radius: 50% !important; + background-color: #e9ecef; +} + +.custom-toggle-wrapper .custom-toggle + .custom-toggle +{ + margin-left: 1rem !important; +} + +.custom-toggle input:checked + .custom-toggle-slider:after +{ + right: auto; + left: 0; + + content: attr(data-label-on); + + color: #5e72e4; +} + +.custom-toggle-slider:after +{ + font-family: inherit; + font-size: .75rem; + font-weight: 600; + line-height: 24px; + + position: absolute; + top: 0; + right: 0; + + display: block; + overflow: hidden; + + min-width: 1.66667rem; + margin: 0 .21667rem; + + content: attr(data-label-off); + transition: all .15s ease; + text-align: center; + + color: #ced4da; +} +@media (prefers-reduced-motion: reduce) +{ + .custom-toggle-slider:after + { + transition: none; + } +} + +.custom-toggle-primary input:checked + .custom-toggle-slider +{ + border-color: #5e72e4; +} +.custom-toggle-primary input:checked + .custom-toggle-slider:before +{ + background: #5e72e4; +} +.custom-toggle-primary input:checked + .custom-toggle-slider:after +{ + color: #5e72e4; +} + +.custom-toggle-primary input:disabled:checked + .custom-toggle-slider +{ + border-color: #5e72e4; +} +.custom-toggle-primary input:disabled:checked + .custom-toggle-slider:before +{ + background-color: #8a98eb; +} + +.custom-toggle-secondary input:checked + .custom-toggle-slider +{ + border-color: #f7fafc; +} +.custom-toggle-secondary input:checked + .custom-toggle-slider:before +{ + background: #f7fafc; +} +.custom-toggle-secondary input:checked + .custom-toggle-slider:after +{ + color: #f7fafc; +} + +.custom-toggle-secondary input:disabled:checked + .custom-toggle-slider +{ + border-color: #f7fafc; +} +.custom-toggle-secondary input:disabled:checked + .custom-toggle-slider:before +{ + background-color: white; +} + +.custom-toggle-success input:checked + .custom-toggle-slider +{ + border-color: #2dce89; +} +.custom-toggle-success input:checked + .custom-toggle-slider:before +{ + background: #2dce89; +} +.custom-toggle-success input:checked + .custom-toggle-slider:after +{ + color: #2dce89; +} + +.custom-toggle-success input:disabled:checked + .custom-toggle-slider +{ + border-color: #2dce89; +} +.custom-toggle-success input:disabled:checked + .custom-toggle-slider:before +{ + background-color: #54daa1; +} + +.custom-toggle-info input:checked + .custom-toggle-slider +{ + border-color: #11cdef; +} +.custom-toggle-info input:checked + .custom-toggle-slider:before +{ + background: #11cdef; +} +.custom-toggle-info input:checked + .custom-toggle-slider:after +{ + color: #11cdef; +} + +.custom-toggle-info input:disabled:checked + .custom-toggle-slider +{ + border-color: #11cdef; +} +.custom-toggle-info input:disabled:checked + .custom-toggle-slider:before +{ + background-color: #41d7f2; +} + +.custom-toggle-warning input:checked + .custom-toggle-slider +{ + border-color: #fb6340; +} +.custom-toggle-warning input:checked + .custom-toggle-slider:before +{ + background: #fb6340; +} +.custom-toggle-warning input:checked + .custom-toggle-slider:after +{ + color: #fb6340; +} + +.custom-toggle-warning input:disabled:checked + .custom-toggle-slider +{ + border-color: #fb6340; +} +.custom-toggle-warning input:disabled:checked + .custom-toggle-slider:before +{ + background-color: #fc8c72; +} + +.custom-toggle-danger input:checked + .custom-toggle-slider +{ + border-color: #f5365c; +} +.custom-toggle-danger input:checked + .custom-toggle-slider:before +{ + background: #f5365c; +} +.custom-toggle-danger input:checked + .custom-toggle-slider:after +{ + color: #f5365c; +} + +.custom-toggle-danger input:disabled:checked + .custom-toggle-slider +{ + border-color: #f5365c; +} +.custom-toggle-danger input:disabled:checked + .custom-toggle-slider:before +{ + background-color: #f76783; +} + +.custom-toggle-light input:checked + .custom-toggle-slider +{ + border-color: #adb5bd; +} +.custom-toggle-light input:checked + .custom-toggle-slider:before +{ + background: #adb5bd; +} +.custom-toggle-light input:checked + .custom-toggle-slider:after +{ + color: #adb5bd; +} + +.custom-toggle-light input:disabled:checked + .custom-toggle-slider +{ + border-color: #adb5bd; +} +.custom-toggle-light input:disabled:checked + .custom-toggle-slider:before +{ + background-color: #c9cfd4; +} + +.custom-toggle-dark input:checked + .custom-toggle-slider +{ + border-color: #212529; +} +.custom-toggle-dark input:checked + .custom-toggle-slider:before +{ + background: #212529; +} +.custom-toggle-dark input:checked + .custom-toggle-slider:after +{ + color: #212529; +} + +.custom-toggle-dark input:disabled:checked + .custom-toggle-slider +{ + border-color: #212529; +} +.custom-toggle-dark input:disabled:checked + .custom-toggle-slider:before +{ + background-color: #383f45; +} + +.custom-toggle-default input:checked + .custom-toggle-slider +{ + border-color: #172b4d; +} +.custom-toggle-default input:checked + .custom-toggle-slider:before +{ + background: #172b4d; +} +.custom-toggle-default input:checked + .custom-toggle-slider:after +{ + color: #172b4d; +} + +.custom-toggle-default input:disabled:checked + .custom-toggle-slider +{ + border-color: #172b4d; +} +.custom-toggle-default input:disabled:checked + .custom-toggle-slider:before +{ + background-color: #234174; +} + +.custom-toggle-white input:checked + .custom-toggle-slider +{ + border-color: #fff; +} +.custom-toggle-white input:checked + .custom-toggle-slider:before +{ + background: #fff; +} +.custom-toggle-white input:checked + .custom-toggle-slider:after +{ + color: #fff; +} + +.custom-toggle-white input:disabled:checked + .custom-toggle-slider +{ + border-color: #fff; +} +.custom-toggle-white input:disabled:checked + .custom-toggle-slider:before +{ + background-color: white; +} + +.custom-toggle-neutral input:checked + .custom-toggle-slider +{ + border-color: #fff; +} +.custom-toggle-neutral input:checked + .custom-toggle-slider:before +{ + background: #fff; +} +.custom-toggle-neutral input:checked + .custom-toggle-slider:after +{ + color: #fff; +} + +.custom-toggle-neutral input:disabled:checked + .custom-toggle-slider +{ + border-color: #fff; +} +.custom-toggle-neutral input:disabled:checked + .custom-toggle-slider:before +{ + background-color: white; +} + +.custom-toggle-darker input:checked + .custom-toggle-slider +{ + border-color: black; +} +.custom-toggle-darker input:checked + .custom-toggle-slider:before +{ + background: black; +} +.custom-toggle-darker input:checked + .custom-toggle-slider:after +{ + color: black; +} + +.custom-toggle-darker input:disabled:checked + .custom-toggle-slider +{ + border-color: black; +} +.custom-toggle-darker input:disabled:checked + .custom-toggle-slider:before +{ + background-color: #1a1a1a; +} + +.dropdown, +.dropup, +.dropright, +.dropleft +{ + display: inline-block; +} + +.dropdown-menu +{ + min-width: 12rem; +} +.dropdown-menu .dropdown-item +{ + font-size: .875rem; + + padding: .5rem 1rem; +} +.dropdown-menu .dropdown-item > i, +.dropdown-menu .dropdown-item > svg +{ + font-size: 1rem; + + margin-right: 1rem; + + vertical-align: -17%; +} + +.dropdown-header +{ + font-size: .625rem; + font-weight: 700; + + padding-right: 1rem; + padding-left: 1rem; + + text-transform: uppercase; +} + +.dropdown-menu a.media > div:first-child +{ + line-height: 1; +} + +.dropdown-menu a.media p +{ + color: #8898aa; +} + +.dropdown-menu a.media:hover .heading, +.dropdown-menu a.media:hover p +{ + color: #172b4d !important; +} + +.dropdown-menu-sm +{ + min-width: 100px; + + border: .4375rem; +} + +.dropdown-menu-lg +{ + min-width: 320px; + + border-radius: .4375rem; +} + +.dropdown-menu-xl +{ + min-width: 420px; + + border-radius: .4375rem; +} + +.footer +{ + padding: 30px 0; + + background: #f8f9fe; +} +.footer .col-footer .heading +{ + font-size: .875rem; + font-weight: 600; + + margin-bottom: 1rem; + + letter-spacing: 0; + text-transform: uppercase; + + color: #8898aa; +} +.footer .nav .nav-item .nav-link, +.footer .footer-link +{ + color: #8898aa !important; +} +.footer .nav .nav-item .nav-link:hover, +.footer .footer-link:hover +{ + color: #525f7f !important; +} +.footer .list-unstyled li a +{ + font-size: .85rem; + + display: inline-block; + + padding: .125rem 0; + + color: #8898aa; +} +.footer .list-unstyled li a:hover +{ + color: #525f7f; +} +.footer .copyright +{ + font-size: .875rem; +} + +.footer-dark .col-footer .heading +{ + color: #fff; +} + +.nav-footer .nav-link +{ + font-size: .875rem; +} + +.nav-footer .nav-item:last-child .nav-link +{ + padding-right: 0; +} + +.footer.has-cards +{ + position: relative; + + overflow: hidden; + + margin-top: -420px; + padding-top: 500px; + + pointer-events: none; + + background: transparent; +} +.footer.has-cards:before +{ + position: absolute; + top: 600px; + right: 0; + left: 0; + + height: 2000px; + + content: ''; + transform: skew(0, -8deg); + + background: #f7fafc; +} +.footer.has-cards .container +{ + position: relative; + + pointer-events: auto; +} + +.footer-auto-bottom +{ + position: absolute; + bottom: 0; + + width: 100%; +} + +.form-control-label +{ + font-size: .875rem; + font-weight: 600; + + color: #525f7f; +} + +.form-control +{ + font-size: .875rem; + + height: calc(1.5em + 1.25rem + 5px); + + transition: all .15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) +{ + .form-control + { + transition: none; + } +} +.form-control:focus::-ms-input-placeholder +{ + color: #adb5bd; +} +.form-control:focus::placeholder +{ + color: #adb5bd; +} + +.form-control-lg +{ + height: calc(2.25em + 1.25rem + 5px); +} + +.form-control-sm +{ + height: calc(.45em + 1.25rem + 5px); +} + +.form-control-flush +{ + padding: 0; + + border-width: 0; + background-color: transparent; + box-shadow: none; +} +.form-control-flush:focus +{ + border-width: 0; + background-color: transparent; + box-shadow: none; +} + +textarea[resize='none'] +{ + resize: none !important; +} + +textarea[resize='both'] +{ + resize: both !important; +} + +textarea[resize='vertical'] +{ + resize: vertical !important; +} + +textarea[resize='horizontal'] +{ + resize: horizontal !important; +} + +.form-control-muted +{ + border-color: #f7fafe; + background-color: #f7fafe; + box-shadow: none; +} +.form-control-muted:focus +{ + background-color: #fcfdff; +} + +.form-control-alternative +{ + transition: box-shadow .15s ease; + + border: 0; + box-shadow: 0 1px 3px rgba(50, 50, 93, .15), 0 1px 0 rgba(0, 0, 0, .02); +} +.form-control-alternative:focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} + +.form-control-lg, +.input-group-lg .form-control, +.input-group-text +{ + font-size: 1rem !important; +} + +.custom-control +{ + padding-left: 1.75rem; +} + +.input-group +{ + transition: all .15s ease-in-out; + + border-radius: .25rem; + box-shadow: 0 3px 2px rgba(233, 236, 239, .05); +} +@media (prefers-reduced-motion: reduce) +{ + .input-group + { + transition: none; + } +} +.input-group .form-control +{ + box-shadow: none; +} +.input-group .form-control:focus +{ + box-shadow: none; +} + +.input-group-text +{ + transition: all .15s cubic-bezier(.68, -.55, .265, 1.55); +} +@media (prefers-reduced-motion: reduce) +{ + .input-group-text + { + transition: none; + } +} +.input-group-text i +{ + font-size: .875rem; +} +.input-group-text .custom-control +{ + line-height: 1; +} + +.input-group-prepend .input-group-text +{ + border-right: 0; +} + +.input-group-append .input-group-text +{ + border-left: 0; +} + +.input-group-merge .form-control:not(:first-child) +{ + padding-left: 0; + + border-left: 0; +} + +.input-group-merge .form-control:not(:last-child) +{ + padding-right: 0; + + border-right: 0; +} + +.input-group-alternative +{ + transition: box-shadow .15s ease; + + border: 0; + box-shadow: 0 1px 3px rgba(50, 50, 93, .15), 0 1px 0 rgba(0, 0, 0, .02); +} +.input-group-alternative .form-control, +.input-group-alternative .input-group-text +{ + border: 0; + box-shadow: none; +} + +.focused .input-group-alternative +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08) !important; +} + +.input-group-flush +{ + box-shadow: none; +} +.input-group-flush > .form-control +{ + padding: 0; + + border-width: 0; + background-color: transparent; +} +.input-group-flush > .input-group-prepend > .input-group-text, +.input-group-flush > .input-group-append > .input-group-text +{ + padding: 0; + padding-right: 1rem; + + border-width: 0; + background-color: transparent; +} + +.focused .input-group +{ + box-shadow: 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1); +} + +.focused .input-group-text +{ + color: #8898aa; + border-color: #5e72e4; + background-color: #fff; +} + +.focused .form-control +{ + border-color: #5e72e4; +} + +.focused .input-group-flush +{ + box-shadow: none; +} + +.has-success, +.has-danger +{ + position: relative; +} +.has-success:after, +.has-danger:after +{ + font-family: 'NucleoIcons'; + font-size: 9px; + line-height: 19px; + + position: absolute; + top: 50%; + right: 15px; + + display: none; + + width: 19px; + height: 19px; + + transform: translateY(-50%); + text-align: center; + + opacity: 1; + border-radius: 50%; +} +.has-success .input-group-prepend .input-group-text, +.has-danger .input-group-prepend .input-group-text +{ + border-color: red; +} + +.has-success:after +{ + content: '\ea26'; + + color: #1d8357; + background-color: #69deac; +} + +.has-success .form-control +{ + background-color: #fff; +} +.has-success .form-control::-ms-input-placeholder +{ + color: #2dce89; +} +.has-success .form-control::placeholder +{ + color: #2dce89; +} + +.has-danger:after +{ + content: '\ea53'; + + color: #db2d05; + background-color: #fda08b; +} + +.has-danger .form-control +{ + background-color: #fff; +} +.has-danger .form-control::-ms-input-placeholder +{ + color: #fb6340; +} +.has-danger .form-control::placeholder +{ + color: #fb6340; +} + +.row-example > .col span, +.row-example > [class^='col-'] span +{ + font-size: .875rem; + + display: block; + + margin: 1rem 0; + padding: .75rem; + + color: #393f49; + border-radius: .25rem; + background-color: white; + box-shadow: rgba(0, 0, 0, .1) 0 0 0 1px, rgba(0, 0, 0, .1) 0 4px 16px; +} + +.no-gutters > .col span, +.no-gutters > [class^='col-'] span +{ + border-radius: 0; +} + +.header +{ + position: relative; +} + +.icon +{ + width: 3rem; + height: 3rem; +} +.icon i, +.icon svg +{ + font-size: 2.25rem; +} +.icon + .icon-text +{ + width: calc(100% - 3rem - 1); + padding-left: 1rem; +} + +.icon-xl +{ + width: 5rem; + height: 5rem; +} +.icon-xl i, +.icon-xl svg +{ + font-size: 4.25rem; +} +.icon-xl + .icon-text +{ + width: calc(100% - 5rem - 1); +} + +.icon-lg +{ + width: 4rem; + height: 4rem; +} +.icon-lg i, +.icon-lg svg +{ + font-size: 3.25rem; +} +.icon-lg + .icon-text +{ + width: calc(100% - $icon-size-lg - 1); +} + +.icon-sm +{ + width: 2rem; + height: 2rem; +} +.icon-sm i, +.icon-sm svg +{ + font-size: 1.25rem; +} +.icon-sm + .icon-text +{ + width: calc(100% - $icon-size-sm - 1); +} + +.icon-xs +{ + width: 1.25rem; + height: 1.25rem; +} +.icon-xs i, +.icon-xs svg +{ + font-size: .5rem; +} +.icon-xs + .icon-text +{ + width: calc(100% - $icon-size-xs - 1); +} + +.icon-shape +{ + display: inline-flex; + + padding: 12px; + + text-align: center; + + border-radius: 50%; + + align-items: center; + justify-content: center; +} +.icon-shape i, +.icon-shape svg +{ + font-size: 1.25rem; +} +.icon-shape.icon-lg i, +.icon-shape.icon-lg svg +{ + font-size: 1.625rem; +} +.icon-shape.icon-sm i, +.icon-shape.icon-sm svg +{ + font-size: .875rem; +} +.icon-shape.icon-xs i, +.icon-shape.icon-xs svg +{ + font-size: .6rem; +} +.icon-shape svg +{ + width: 30px; + height: 30px; +} + +.icon-shape-primary +{ + color: #2643e9; + background-color: rgba(138, 152, 235, .5); +} + +.icon-shape-secondary +{ + color: #cfe3f1; + background-color: rgba(255, 255, 255, .5); +} + +.icon-shape-success +{ + color: #1aae6f; + background-color: rgba(84, 218, 161, .5); +} + +.icon-shape-info +{ + color: #03acca; + background-color: rgba(65, 215, 242, .5); +} + +.icon-shape-warning +{ + color: #ff3709; + background-color: rgba(252, 140, 114, .5); +} + +.icon-shape-danger +{ + color: #f80031; + background-color: rgba(247, 103, 131, .5); +} + +.icon-shape-light +{ + color: #879cb0; + background-color: rgba(201, 207, 212, .5); +} + +.icon-shape-dark +{ + color: #090c0e; + background-color: rgba(56, 63, 69, .5); +} + +.icon-shape-default +{ + color: #091428; + background-color: rgba(35, 65, 116, .5); +} + +.icon-shape-white +{ + color: #e8e3e3; + background-color: rgba(255, 255, 255, .5); +} + +.icon-shape-neutral +{ + color: #e8e3e3; + background-color: rgba(255, 255, 255, .5); +} + +.icon-shape-darker +{ + color: black; + background-color: rgba(26, 26, 26, .5); +} + +.list-group-space .list-group-item +{ + margin-bottom: 1.5rem; + + border-radius: .375rem; +} + +.list-group-img +{ + width: 3rem; + height: 3rem; + margin: -.1rem 1.2rem 0 -.2rem; + + vertical-align: top; + + border-radius: 50%; +} + +.list-group-content +{ + min-width: 0; + + flex: 1 1; +} +.list-group-content > p +{ + line-height: 1.5; + + margin: .2rem 0 0; + + color: #adb5bd; +} + +.list-group-heading +{ + font-size: 1rem; + + color: #32325d; +} +.list-group-heading > small +{ + font-weight: 500; + + float: right; + + color: #adb5bd; +} + +.map-canvas +{ + position: relative; + + width: 100%; + height: 500px; + + border-radius: .375rem; +} + +.mask +{ + position: absolute; + top: 0; + left: 0; + + width: 100%; + height: 100%; + + transition: all .15s ease; +} +@media (prefers-reduced-motion: reduce) +{ + .mask + { + transition: none; + } +} + +.modal-title +{ + font-size: 1.0625rem; +} + +.modal-fluid .modal-dialog +{ + margin-top: 0; + margin-bottom: 0; +} + +.modal-fluid .modal-content +{ + border-radius: 0; +} + +.modal-primary .modal-title +{ + color: #fff; +} + +.modal-primary .modal-header, +.modal-primary .modal-footer +{ + border-color: rgba(255, 255, 255, .075); +} + +.modal-primary .modal-content +{ + color: #fff; + background-color: #5e72e4; +} +.modal-primary .modal-content .heading +{ + color: #fff; +} + +.modal-primary .close > span:not(.sr-only) +{ + color: #fff; +} + +.modal-secondary .modal-title +{ + color: #212529; +} + +.modal-secondary .modal-header, +.modal-secondary .modal-footer +{ + border-color: rgba(33, 37, 41, .075); +} + +.modal-secondary .modal-content +{ + color: #212529; + background-color: #f7fafc; +} +.modal-secondary .modal-content .heading +{ + color: #212529; +} + +.modal-secondary .close > span:not(.sr-only) +{ + color: #fff; +} + +.modal-success .modal-title +{ + color: #fff; +} + +.modal-success .modal-header, +.modal-success .modal-footer +{ + border-color: rgba(255, 255, 255, .075); +} + +.modal-success .modal-content +{ + color: #fff; + background-color: #2dce89; +} +.modal-success .modal-content .heading +{ + color: #fff; +} + +.modal-success .close > span:not(.sr-only) +{ + color: #fff; +} + +.modal-info .modal-title +{ + color: #fff; +} + +.modal-info .modal-header, +.modal-info .modal-footer +{ + border-color: rgba(255, 255, 255, .075); +} + +.modal-info .modal-content +{ + color: #fff; + background-color: #11cdef; +} +.modal-info .modal-content .heading +{ + color: #fff; +} + +.modal-info .close > span:not(.sr-only) +{ + color: #fff; +} + +.modal-warning .modal-title +{ + color: #fff; +} + +.modal-warning .modal-header, +.modal-warning .modal-footer +{ + border-color: rgba(255, 255, 255, .075); +} + +.modal-warning .modal-content +{ + color: #fff; + background-color: #fb6340; +} +.modal-warning .modal-content .heading +{ + color: #fff; +} + +.modal-warning .close > span:not(.sr-only) +{ + color: #fff; +} + +.modal-danger .modal-title +{ + color: #fff; +} + +.modal-danger .modal-header, +.modal-danger .modal-footer +{ + border-color: rgba(255, 255, 255, .075); +} + +.modal-danger .modal-content +{ + color: #fff; + background-color: #f5365c; +} +.modal-danger .modal-content .heading +{ + color: #fff; +} + +.modal-danger .close > span:not(.sr-only) +{ + color: #fff; +} + +.modal-light .modal-title +{ + color: #fff; +} + +.modal-light .modal-header, +.modal-light .modal-footer +{ + border-color: rgba(255, 255, 255, .075); +} + +.modal-light .modal-content +{ + color: #fff; + background-color: #adb5bd; +} +.modal-light .modal-content .heading +{ + color: #fff; +} + +.modal-light .close > span:not(.sr-only) +{ + color: #fff; +} + +.modal-dark .modal-title +{ + color: #fff; +} + +.modal-dark .modal-header, +.modal-dark .modal-footer +{ + border-color: rgba(255, 255, 255, .075); +} + +.modal-dark .modal-content +{ + color: #fff; + background-color: #212529; +} +.modal-dark .modal-content .heading +{ + color: #fff; +} + +.modal-dark .close > span:not(.sr-only) +{ + color: #fff; +} + +.modal-default .modal-title +{ + color: #fff; +} + +.modal-default .modal-header, +.modal-default .modal-footer +{ + border-color: rgba(255, 255, 255, .075); +} + +.modal-default .modal-content +{ + color: #fff; + background-color: #172b4d; +} +.modal-default .modal-content .heading +{ + color: #fff; +} + +.modal-default .close > span:not(.sr-only) +{ + color: #fff; +} + +.modal-white .modal-title +{ + color: #212529; +} + +.modal-white .modal-header, +.modal-white .modal-footer +{ + border-color: rgba(33, 37, 41, .075); +} + +.modal-white .modal-content +{ + color: #212529; + background-color: #fff; +} +.modal-white .modal-content .heading +{ + color: #212529; +} + +.modal-white .close > span:not(.sr-only) +{ + color: #fff; +} + +.modal-neutral .modal-title +{ + color: #212529; +} + +.modal-neutral .modal-header, +.modal-neutral .modal-footer +{ + border-color: rgba(33, 37, 41, .075); +} + +.modal-neutral .modal-content +{ + color: #212529; + background-color: #fff; +} +.modal-neutral .modal-content .heading +{ + color: #212529; +} + +.modal-neutral .close > span:not(.sr-only) +{ + color: #fff; +} + +.modal-darker .modal-title +{ + color: #fff; +} + +.modal-darker .modal-header, +.modal-darker .modal-footer +{ + border-color: rgba(255, 255, 255, .075); +} + +.modal-darker .modal-content +{ + color: #fff; + background-color: black; +} +.modal-darker .modal-content .heading +{ + color: #fff; +} + +.modal-darker .close > span:not(.sr-only) +{ + color: #fff; +} + +.navbar-horizontal .navbar-nav .nav-link +{ + font-size: .875rem; + font-weight: 500; + + letter-spacing: 0; + text-transform: normal; +} +.navbar-horizontal .navbar-nav .nav-link .nav-link-inner--text +{ + margin-left: .25rem; +} + +.navbar-horizontal .navbar-brand +{ + font-size: .875rem; + font-size: .875rem; + font-weight: 600; + + letter-spacing: .05px; + text-transform: uppercase; +} +.navbar-horizontal .navbar-brand img +{ + height: 30px; +} + +.navbar-horizontal .navbar-dark .navbar-brand +{ + color: #fff; +} + +.navbar-horizontal .navbar-light .navbar-brand +{ + color: #32325d; +} + +.navbar-horizontal .navbar-nav .nav-item .media:not(:last-child) +{ + margin-bottom: 1.5rem; +} + +@media (min-width: 992px) +{ + .navbar-horizontal .navbar-nav .nav-item + { + margin-right: .5rem; + } + .navbar-horizontal .navbar-nav .nav-item [data-toggle='dropdown']::after + { + transition: all .15s ease; + } + .navbar-horizontal .navbar-nav .nav-item.show [data-toggle='dropdown']::after + { + transform: rotate(180deg); + } + .navbar-horizontal .navbar-nav .nav-link + { + padding-top: 1rem; + padding-bottom: 1rem; + + border-radius: .375rem; + } + .navbar-horizontal .navbar-nav .nav-link i + { + margin-right: .625rem; + } + .navbar-horizontal .navbar-nav .nav-link-icon + { + font-size: 1rem; + + padding-right: .5rem !important; + padding-left: .5rem !important; + + border-radius: .375rem; + } + .navbar-horizontal .navbar-nav .nav-link-icon i + { + margin-right: 0; + } + .navbar-horizontal .navbar-nav .dropdown-menu + { + margin: 0; + + pointer-events: none; + + opacity: 0; + } + .navbar-horizontal .navbar-nav .dropdown-menu:before + { + position: absolute; + z-index: -5; + bottom: 100%; + left: 20px; + + display: block; + + width: 16px; + height: 16px; + + content: ''; + transform: rotate(-45deg) translateY(1rem); + + border-radius: .25rem; + background: #fff; + box-shadow: none; + } + .navbar-horizontal .navbar-nav .dropdown-menu-right:before + { + right: 20px; + left: auto; + } + .navbar-horizontal .navbar-nav:not(.navbar-nav-hover) .dropdown-menu.show + { + animation: show-navbar-dropdown .25s ease forwards; + pointer-events: auto; + + opacity: 1; + } + .navbar-horizontal .navbar-nav:not(.navbar-nav-hover) .dropdown-menu.close + { + display: block; + + animation: hide-navbar-dropdown .15s ease backwards; + } + .navbar-horizontal .navbar-nav.navbar-nav-hover .dropdown-menu + { + display: block; + + transition: visibility .25s, opacity .25s, transform .25s; + transform: translate(0, 10px) perspective(200px) rotateX(-2deg); + pointer-events: none; + + opacity: 0; + } + .navbar-horizontal .navbar-nav.navbar-nav-hover .nav-item.dropdown:hover > .dropdown-menu + { + display: block; + visibility: visible; + + transform: translate(0, 0); + animation: none; + pointer-events: auto; + + opacity: 1; + } + .navbar-horizontal .navbar-nav .dropdown-menu-inner + { + position: relative; + + padding: 1rem; + } +} + +.navbar-horizontal.navbar-transparent +{ + position: absolute; + z-index: 100; + top: 0; + + width: 100%; + + border: 0; + background-color: transparent; + box-shadow: none; +} +.navbar-horizontal.navbar-transparent .navbar-brand +{ + color: white; +} +.navbar-horizontal.navbar-transparent .navbar-toggler +{ + color: white; +} +.navbar-horizontal.navbar-transparent .navbar-toggler-icon +{ + background-image: url('data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'30\' height=\'30\' viewBox=\'0 0 30 30\'><path stroke=\'rgba(255, 255, 255, 0.95)\' stroke-linecap=\'round\' stroke-miterlimit=\'10\' stroke-width=\'2\' d=\'M4 7h22M4 15h22M4 23h22\'/></svg>'); +} + +@media (min-width: 768px) +{ + .navbar-horizontal.navbar-transparent .navbar-nav .nav-link + { + color: rgba(255, 255, 255, .95); + } + .navbar-horizontal.navbar-transparent .navbar-nav .nav-link:hover, + .navbar-horizontal.navbar-transparent .navbar-nav .nav-link:focus + { + color: rgba(255, 255, 255, .65); + } + .navbar-horizontal.navbar-transparent .navbar-nav .nav-link.disabled + { + color: rgba(255, 255, 255, .25); + } + .navbar-horizontal.navbar-transparent .navbar-nav .show > .nav-link, + .navbar-horizontal.navbar-transparent .navbar-nav .active > .nav-link, + .navbar-horizontal.navbar-transparent .navbar-nav .nav-link.show, + .navbar-horizontal.navbar-transparent .navbar-nav .nav-link.active + { + color: rgba(255, 255, 255, .65); + } + .navbar-horizontal.navbar-transparent .navbar-brand + { + color: rgba(255, 255, 255, .95); + } + .navbar-horizontal.navbar-transparent .navbar-brand:hover, + .navbar-horizontal.navbar-transparent .navbar-brand:focus + { + color: rgba(255, 255, 255, .95); + } +} + +.navbar-horizontal .navbar-collapse-header +{ + display: none; +} + +@media (max-width: 991.98px) +{ + .navbar-horizontal .navbar-nav .nav-link + { + padding: .625rem 0; + + color: #172b4d !important; + } + .navbar-horizontal .navbar-nav .dropdown-menu + { + min-width: auto; + + box-shadow: none; + } + .navbar-horizontal .navbar-nav .dropdown-menu .media svg + { + width: 30px; + } + .navbar-horizontal .navbar-collapse + { + position: absolute; + z-index: 1050; + top: 0; + right: 0; + left: 0; + + overflow-y: auto; + + width: calc(100% - 1.4rem); + height: auto !important; + margin: .7rem; + + opacity: 0; + } + .navbar-horizontal .navbar-collapse .navbar-toggler + { + position: relative; + + display: inline-block; + + width: 20px; + height: 20px; + padding: 0; + + cursor: pointer; + } + .navbar-horizontal .navbar-collapse .navbar-toggler span + { + position: absolute; + + display: block; + + width: 100%; + height: 2px; + + opacity: 1; + border-radius: 2px; + background: #283448; + } + .navbar-horizontal .navbar-collapse .navbar-toggler :nth-child(1) + { + transform: rotate(135deg); + } + .navbar-horizontal .navbar-collapse .navbar-toggler :nth-child(2) + { + transform: rotate(-135deg); + } + .navbar-horizontal .navbar-collapse .navbar-collapse-header + { + display: block; + + margin-bottom: 1rem; + padding-bottom: 1rem; + + border-bottom: 1px solid rgba(0, 0, 0, .1); + } + .navbar-horizontal .navbar-collapse .collapse-brand img + { + height: 36px; + } + .navbar-horizontal .navbar-collapse .collapse-close + { + text-align: right; + } + .navbar-horizontal .navbar-collapse.collapsing, + .navbar-horizontal .navbar-collapse.show + { + padding: 1.5rem; + + animation: show-navbar-collapse .2s ease forwards; + + border-radius: .375rem; + background: #fff; + box-shadow: 0 50px 100px rgba(50, 50, 93, .1), 0 15px 35px rgba(50, 50, 93, .15), 0 5px 15px rgba(0, 0, 0, .1); + } + .navbar-horizontal .navbar-collapse.collapsing-out + { + animation: hide-navbar-collapse .2s ease forwards; + } +} + +@keyframes show-navbar-collapse +{ + 0% + { + transform: scale(.95); + transform-origin: 100% 0; + + opacity: 0; + } + 100% + { + transform: scale(1); + + opacity: 1; + } +} + +@keyframes hide-navbar-collapse +{ + from + { + transform: scale(1); + transform-origin: 100% 0; + + opacity: 1; + } + to + { + transform: scale(.95); + + opacity: 0; + } +} + +@keyframes show-navbar-dropdown +{ + 0% + { + transition: visibility .25s, opacity .25s, transform .25s; + transform: translate(0, 10px) perspective(200px) rotateX(-2deg); + + opacity: 0; + } + 100% + { + transform: translate(0, 0); + + opacity: 1; + } +} + +@keyframes hide-navbar-dropdown +{ + from + { + opacity: 1; + } + to + { + transform: translate(0, 10px); + + opacity: 0; + } +} + +.nav-open .sidenav +{ + transform: translateX(0px); +} + +.nav-open .sidenav-toggler-inner .sidenav-toggler-line:first-child +{ + width: 13px; + + transform: translateX(5px); +} + +.nav-open .sidenav-toggler-inner .sidenav-toggler-line:last-child +{ + width: 13px; + + transform: translateX(5px); +} + +.navbar-vertical +{ + padding-top: 0; + + border-width: 0 0 1px 0; + border-style: solid; + box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .15); +} +.navbar-vertical.navbar-light +{ + border-color: rgba(0, 0, 0, .05); + background-color: #f6f9fc; +} +.navbar-vertical.navbar-dark +{ + border-color: rgba(255, 255, 255, .1); + background-color: transparent; +} +.navbar-vertical .navbar-brand +{ + margin-right: 0; +} +.navbar-vertical .navbar-brand-img, +.navbar-vertical .navbar-brand > img +{ + max-width: 100%; + max-height: 2rem; +} +@media (min-width: 768px) +{ + .navbar-vertical .navbar-collapse + { + margin-right: -1rem; + margin-left: -1rem; + } + .navbar-vertical .navbar-collapse:before + { + display: block; + + margin: .5rem; + + content: ''; + } +} +.navbar-vertical .navbar-nav +{ + margin-right: -1rem; + margin-left: -1rem; +} +.navbar-vertical .navbar-nav .nav-link +{ + font-size: .875rem; + font-weight: 500; + + padding-right: 1rem; + padding-left: 1rem; +} +.navbar-vertical .navbar-nav .nav-link.active +{ + position: relative; +} +.navbar-vertical .navbar-nav .nav-link > i +{ + font-size: .9375rem; + line-height: 1.5rem; + + min-width: 2rem; +} +.navbar-vertical .navbar-nav .nav-link .dropdown-menu +{ + border: none; +} +.navbar-vertical .navbar-nav .nav-link .dropdown-menu .dropdown-menu +{ + margin-left: .5rem; +} +.navbar-vertical .navbar-nav .nav-sm .nav-link +{ + font-size: .8125rem; +} +.navbar-vertical .navbar-nav .nav-link +{ + display: flex; + + align-items: center; +} +.navbar-vertical .navbar-nav .nav-link[data-toggle='collapse']:after +{ + font-family: 'Font Awesome 5 Free'; + font-weight: 700; + font-style: normal; + font-variant: normal; + + display: inline-block; + + margin-left: auto; + + content: '\f105'; + transition: all .15s ease; + + color: #ced4da; + + text-rendering: auto; + -webkit-font-smoothing: antialiased; +} +@media (prefers-reduced-motion: reduce) +{ + .navbar-vertical .navbar-nav .nav-link[data-toggle='collapse']:after + { + transition: none; + } +} +.navbar-vertical .navbar-nav .nav-link[data-toggle='collapse'][aria-expanded='true']:after +{ + transform: rotate(90deg); + + color: #5e72e4; +} +.navbar-vertical .navbar-nav .nav .nav-link +{ + padding-left: 3rem; +} +.navbar-vertical .navbar-nav .nav .nav .nav-link +{ + padding-left: 3.5rem; +} +.navbar-vertical .navbar-heading +{ + font-size: .75rem; + + padding-top: .25rem; + padding-bottom: .25rem; + + letter-spacing: .04em; + text-transform: uppercase; +} +.navbar-vertical.navbar-expand-xs +{ + position: fixed; + top: 0; + bottom: 0; + + display: block; + overflow-y: auto; + + width: 100%; + max-width: 250px; + padding-right: 0; + padding-left: 0; +} +.navbar-vertical.navbar-expand-xs .navbar-inner +{ + padding-right: 1.5rem; + padding-left: 1.5rem; +} +.navbar-vertical.navbar-expand-xs > [class*='container'] +{ + flex-direction: column; + + min-height: 100%; + padding-right: 0; + padding-left: 0; + + align-items: stretch; +} +@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) +{ + .navbar-vertical.navbar-expand-xs > [class*='container'] + { + height: 100%; + min-height: none; + } +} +.navbar-vertical.navbar-expand-xs.fixed-left +{ + left: 0; + + border-width: 0 1px 0 0; +} +.navbar-vertical.navbar-expand-xs.fixed-right +{ + right: 0; + + border-width: 0 0 0 1px; +} +.navbar-vertical.navbar-expand-xs .navbar-collapse +{ + display: flex; + flex-direction: column; + + margin-right: -1.5rem; + margin-left: -1.5rem; + padding-right: 1.5rem; + padding-left: 1.5rem; + + flex: 1 1; + align-items: stretch; +} +.navbar-vertical.navbar-expand-xs .navbar-collapse > * +{ + min-width: 100%; +} +.navbar-vertical.navbar-expand-xs .navbar-nav +{ + flex-direction: column; + + margin-right: -1.5rem; + margin-left: -1.5rem; +} +.navbar-vertical.navbar-expand-xs .navbar-nav .nav-link +{ + padding: .675rem 1.5rem; +} +.navbar-vertical.navbar-expand-xs .navbar-nav > .nav-item +{ + margin-top: 2px; +} +.navbar-vertical.navbar-expand-xs .navbar-nav > .nav-item > .nav-link.active +{ + margin-right: .5rem; + margin-left: .5rem; + padding-right: 1rem; + padding-left: 1rem; + + border-radius: .375rem; + background: #f6f9fc; +} +.navbar-vertical.navbar-expand-xs .lavalamp-object +{ + width: calc(100% - 1rem) !important; + margin-right: .5rem; + margin-left: .5rem; + padding-right: 1rem; + padding-left: 1rem; + + color: #fff; + border-radius: .375rem; + background: #5e72e4; +} +.navbar-vertical.navbar-expand-xs .navbar-nav .nav .nav-link +{ + padding-top: .45rem; + padding-bottom: .45rem; + padding-left: 3.5rem; +} +.navbar-vertical.navbar-expand-xs .navbar-nav .nav .nav .nav-link +{ + padding-left: 4.25rem; +} +@media (min-width: 576px) +{ + .navbar-vertical.navbar-expand-sm + { + position: fixed; + top: 0; + bottom: 0; + + display: block; + overflow-y: auto; + + width: 100%; + max-width: 250px; + padding-right: 0; + padding-left: 0; + } + .navbar-vertical.navbar-expand-sm .navbar-inner + { + padding-right: 1.5rem; + padding-left: 1.5rem; + } + .navbar-vertical.navbar-expand-sm > [class*='container'] + { + flex-direction: column; + + min-height: 100%; + padding-right: 0; + padding-left: 0; + + align-items: stretch; + } +} +@media all and (min-width: 576px) and (-ms-high-contrast: none), (min-width: 576px) and (-ms-high-contrast: active) +{ + .navbar-vertical.navbar-expand-sm > [class*='container'] + { + height: 100%; + min-height: none; + } +} +@media (min-width: 576px) +{ + .navbar-vertical.navbar-expand-sm.fixed-left + { + left: 0; + + border-width: 0 1px 0 0; + } + .navbar-vertical.navbar-expand-sm.fixed-right + { + right: 0; + + border-width: 0 0 0 1px; + } + .navbar-vertical.navbar-expand-sm .navbar-collapse + { + display: flex; + flex-direction: column; + + margin-right: -1.5rem; + margin-left: -1.5rem; + padding-right: 1.5rem; + padding-left: 1.5rem; + + flex: 1 1; + align-items: stretch; + } + .navbar-vertical.navbar-expand-sm .navbar-collapse > * + { + min-width: 100%; + } + .navbar-vertical.navbar-expand-sm .navbar-nav + { + flex-direction: column; + + margin-right: -1.5rem; + margin-left: -1.5rem; + } + .navbar-vertical.navbar-expand-sm .navbar-nav .nav-link + { + padding: .675rem 1.5rem; + } + .navbar-vertical.navbar-expand-sm .navbar-nav > .nav-item + { + margin-top: 2px; + } + .navbar-vertical.navbar-expand-sm .navbar-nav > .nav-item > .nav-link.active + { + margin-right: .5rem; + margin-left: .5rem; + padding-right: 1rem; + padding-left: 1rem; + + border-radius: .375rem; + background: #f6f9fc; + } + .navbar-vertical.navbar-expand-sm .lavalamp-object + { + width: calc(100% - 1rem) !important; + margin-right: .5rem; + margin-left: .5rem; + padding-right: 1rem; + padding-left: 1rem; + + color: #fff; + border-radius: .375rem; + background: #5e72e4; + } + .navbar-vertical.navbar-expand-sm .navbar-nav .nav .nav-link + { + padding-top: .45rem; + padding-bottom: .45rem; + padding-left: 3.5rem; + } + .navbar-vertical.navbar-expand-sm .navbar-nav .nav .nav .nav-link + { + padding-left: 4.25rem; + } +} +@media (min-width: 768px) +{ + .navbar-vertical.navbar-expand-md + { + position: fixed; + top: 0; + bottom: 0; + + display: block; + overflow-y: auto; + + width: 100%; + max-width: 250px; + padding-right: 0; + padding-left: 0; + } + .navbar-vertical.navbar-expand-md .navbar-inner + { + padding-right: 1.5rem; + padding-left: 1.5rem; + } + .navbar-vertical.navbar-expand-md > [class*='container'] + { + flex-direction: column; + + min-height: 100%; + padding-right: 0; + padding-left: 0; + + align-items: stretch; + } +} +@media all and (min-width: 768px) and (-ms-high-contrast: none), (min-width: 768px) and (-ms-high-contrast: active) +{ + .navbar-vertical.navbar-expand-md > [class*='container'] + { + height: 100%; + min-height: none; + } +} +@media (min-width: 768px) +{ + .navbar-vertical.navbar-expand-md.fixed-left + { + left: 0; + + border-width: 0 1px 0 0; + } + .navbar-vertical.navbar-expand-md.fixed-right + { + right: 0; + + border-width: 0 0 0 1px; + } + .navbar-vertical.navbar-expand-md .navbar-collapse + { + display: flex; + flex-direction: column; + + margin-right: -1.5rem; + margin-left: -1.5rem; + padding-right: 1.5rem; + padding-left: 1.5rem; + + flex: 1 1; + align-items: stretch; + } + .navbar-vertical.navbar-expand-md .navbar-collapse > * + { + min-width: 100%; + } + .navbar-vertical.navbar-expand-md .navbar-nav + { + flex-direction: column; + + margin-right: -1.5rem; + margin-left: -1.5rem; + } + .navbar-vertical.navbar-expand-md .navbar-nav .nav-link + { + padding: .675rem 1.5rem; + } + .navbar-vertical.navbar-expand-md .navbar-nav > .nav-item + { + margin-top: 2px; + } + .navbar-vertical.navbar-expand-md .navbar-nav > .nav-item > .nav-link.active + { + margin-right: .5rem; + margin-left: .5rem; + padding-right: 1rem; + padding-left: 1rem; + + border-radius: .375rem; + background: #f6f9fc; + } + .navbar-vertical.navbar-expand-md .lavalamp-object + { + width: calc(100% - 1rem) !important; + margin-right: .5rem; + margin-left: .5rem; + padding-right: 1rem; + padding-left: 1rem; + + color: #fff; + border-radius: .375rem; + background: #5e72e4; + } + .navbar-vertical.navbar-expand-md .navbar-nav .nav .nav-link + { + padding-top: .45rem; + padding-bottom: .45rem; + padding-left: 3.5rem; + } + .navbar-vertical.navbar-expand-md .navbar-nav .nav .nav .nav-link + { + padding-left: 4.25rem; + } +} +@media (min-width: 992px) +{ + .navbar-vertical.navbar-expand-lg + { + position: fixed; + top: 0; + bottom: 0; + + display: block; + overflow-y: auto; + + width: 100%; + max-width: 250px; + padding-right: 0; + padding-left: 0; + } + .navbar-vertical.navbar-expand-lg .navbar-inner + { + padding-right: 1.5rem; + padding-left: 1.5rem; + } + .navbar-vertical.navbar-expand-lg > [class*='container'] + { + flex-direction: column; + + min-height: 100%; + padding-right: 0; + padding-left: 0; + + align-items: stretch; + } +} +@media all and (min-width: 992px) and (-ms-high-contrast: none), (min-width: 992px) and (-ms-high-contrast: active) +{ + .navbar-vertical.navbar-expand-lg > [class*='container'] + { + height: 100%; + min-height: none; + } +} +@media (min-width: 992px) +{ + .navbar-vertical.navbar-expand-lg.fixed-left + { + left: 0; + + border-width: 0 1px 0 0; + } + .navbar-vertical.navbar-expand-lg.fixed-right + { + right: 0; + + border-width: 0 0 0 1px; + } + .navbar-vertical.navbar-expand-lg .navbar-collapse + { + display: flex; + flex-direction: column; + + margin-right: -1.5rem; + margin-left: -1.5rem; + padding-right: 1.5rem; + padding-left: 1.5rem; + + flex: 1 1; + align-items: stretch; + } + .navbar-vertical.navbar-expand-lg .navbar-collapse > * + { + min-width: 100%; + } + .navbar-vertical.navbar-expand-lg .navbar-nav + { + flex-direction: column; + + margin-right: -1.5rem; + margin-left: -1.5rem; + } + .navbar-vertical.navbar-expand-lg .navbar-nav .nav-link + { + padding: .675rem 1.5rem; + } + .navbar-vertical.navbar-expand-lg .navbar-nav > .nav-item + { + margin-top: 2px; + } + .navbar-vertical.navbar-expand-lg .navbar-nav > .nav-item > .nav-link.active + { + margin-right: .5rem; + margin-left: .5rem; + padding-right: 1rem; + padding-left: 1rem; + + border-radius: .375rem; + background: #f6f9fc; + } + .navbar-vertical.navbar-expand-lg .lavalamp-object + { + width: calc(100% - 1rem) !important; + margin-right: .5rem; + margin-left: .5rem; + padding-right: 1rem; + padding-left: 1rem; + + color: #fff; + border-radius: .375rem; + background: #5e72e4; + } + .navbar-vertical.navbar-expand-lg .navbar-nav .nav .nav-link + { + padding-top: .45rem; + padding-bottom: .45rem; + padding-left: 3.5rem; + } + .navbar-vertical.navbar-expand-lg .navbar-nav .nav .nav .nav-link + { + padding-left: 4.25rem; + } +} +@media (min-width: 1200px) +{ + .navbar-vertical.navbar-expand-xl + { + position: fixed; + top: 0; + bottom: 0; + + display: block; + overflow-y: auto; + + width: 100%; + max-width: 250px; + padding-right: 0; + padding-left: 0; + } + .navbar-vertical.navbar-expand-xl .navbar-inner + { + padding-right: 1.5rem; + padding-left: 1.5rem; + } + .navbar-vertical.navbar-expand-xl > [class*='container'] + { + flex-direction: column; + + min-height: 100%; + padding-right: 0; + padding-left: 0; + + align-items: stretch; + } +} +@media all and (min-width: 1200px) and (-ms-high-contrast: none), (min-width: 1200px) and (-ms-high-contrast: active) +{ + .navbar-vertical.navbar-expand-xl > [class*='container'] + { + height: 100%; + min-height: none; + } +} +@media (min-width: 1200px) +{ + .navbar-vertical.navbar-expand-xl.fixed-left + { + left: 0; + + border-width: 0 1px 0 0; + } + .navbar-vertical.navbar-expand-xl.fixed-right + { + right: 0; + + border-width: 0 0 0 1px; + } + .navbar-vertical.navbar-expand-xl .navbar-collapse + { + display: flex; + flex-direction: column; + + margin-right: -1.5rem; + margin-left: -1.5rem; + padding-right: 1.5rem; + padding-left: 1.5rem; + + flex: 1 1; + align-items: stretch; + } + .navbar-vertical.navbar-expand-xl .navbar-collapse > * + { + min-width: 100%; + } + .navbar-vertical.navbar-expand-xl .navbar-nav + { + flex-direction: column; + + margin-right: -1.5rem; + margin-left: -1.5rem; + } + .navbar-vertical.navbar-expand-xl .navbar-nav .nav-link + { + padding: .675rem 1.5rem; + } + .navbar-vertical.navbar-expand-xl .navbar-nav > .nav-item + { + margin-top: 2px; + } + .navbar-vertical.navbar-expand-xl .navbar-nav > .nav-item > .nav-link.active + { + margin-right: .5rem; + margin-left: .5rem; + padding-right: 1rem; + padding-left: 1rem; + + border-radius: .375rem; + background: #f6f9fc; + } + .navbar-vertical.navbar-expand-xl .lavalamp-object + { + width: calc(100% - 1rem) !important; + margin-right: .5rem; + margin-left: .5rem; + padding-right: 1rem; + padding-left: 1rem; + + color: #fff; + border-radius: .375rem; + background: #5e72e4; + } + .navbar-vertical.navbar-expand-xl .navbar-nav .nav .nav-link + { + padding-top: .45rem; + padding-bottom: .45rem; + padding-left: 3.5rem; + } + .navbar-vertical.navbar-expand-xl .navbar-nav .nav .nav .nav-link + { + padding-left: 4.25rem; + } +} + +.navbar-vertical.navbar-expand-xs.fixed-left + .main-content +{ + margin-left: 250px; +} + +.navbar-vertical.navbar-expand-xs.fixed-right + .main-content +{ + margin-right: 62px; +} + +@media (min-width: 576px) +{ + .navbar-vertical.navbar-expand-sm.fixed-left + .main-content + { + margin-left: 250px; + } + .navbar-vertical.navbar-expand-sm.fixed-right + .main-content + { + margin-right: 62px; + } +} + +@media (min-width: 768px) +{ + .navbar-vertical.navbar-expand-md.fixed-left + .main-content + { + margin-left: 250px; + } + .navbar-vertical.navbar-expand-md.fixed-right + .main-content + { + margin-right: 62px; + } +} + +@media (min-width: 992px) +{ + .navbar-vertical.navbar-expand-lg.fixed-left + .main-content + { + margin-left: 250px; + } + .navbar-vertical.navbar-expand-lg.fixed-right + .main-content + { + margin-right: 62px; + } +} + +@media (min-width: 1200px) +{ + .navbar-vertical.navbar-expand-xl.fixed-left + .main-content + { + margin-left: 250px; + } + .navbar-vertical.navbar-expand-xl.fixed-right + .main-content + { + margin-right: 62px; + } +} + +.sidenav.fixed-left + .main-content +{ + margin-left: 62px; + + transition: all .15s ease; +} +@media (prefers-reduced-motion: reduce) +{ + .sidenav.fixed-left + .main-content + { + transition: none; + } +} + +.sidenav.fixed-right + .main-content +{ + margin-right: 62px; + + transition: all .15s ease; +} +@media (prefers-reduced-motion: reduce) +{ + .sidenav.fixed-right + .main-content + { + transition: none; + } +} + +@media (min-width: 1200px) +{ + .g-sidenav-pinned .sidenav.fixed-left + .main-content + { + margin-left: 250px; + } + .g-sidenav-pinned .sidenav.fixed-right + .main-content + { + margin-right: 250px; + } +} + +.sidenav +{ + z-index: 1050; + + transition: all .4s ease; +} +@media (min-width: 1200px) +{ + .sidenav:hover + { + max-width: 250px; + } + .sidenav .sidenav-toggler + { + padding: 1.5rem; + } +} +.sidenav .navbar-brand, +.sidenav .navbar-heading +{ + padding: 1.5rem; +} + +.sidenav-header +{ + height: 78px; + + text-align: center; +} + +.g-sidenav-show .sidenav .navbar-brand, +.g-sidenav-show .sidenav .navbar-heading +{ + display: block; +} + +.g-sidenav-show .sidenav .nav-item .collapse +{ + height: auto; + + transition: all .15s ease; +} +@media (prefers-reduced-motion: reduce) +{ + .g-sidenav-show .sidenav .nav-item .collapse + { + transition: none; + } +} + +.g-sidenav-show .sidenav .nav-link-text +{ + transition: .3s ease; + + opacity: 1; +} + +.g-sidenav-pinned .sidenav +{ + max-width: 250px !important; +} +.g-sidenav-pinned .sidenav .navbar-brand, +.g-sidenav-pinned .sidenav .navbar-heading +{ + display: block; +} + +@media (min-width: 768px) +{ + .nav-item .nav-link.active.active-pro + { + position: absolute; + bottom: 10px; + + width: 100%; + margin-left: 0 !important; + padding-left: 25px !important; + + border-radius: 0 !important; + background: #f6f9fc; + } +} + +@media (max-width: 1199.98px) +{ + .sidenav + { + transform: translateX(-250px); + } + .sidenav.fixed-left + .main-content + { + margin-left: 0 !important; + } + .g-sidenav-pinned .sidenav + { + transform: translateX(0); + } +} + +.sidenav-toggler-inner, +.sidenav-toggler-line +{ + width: 18px; + + transition: all .15s ease; +} +@media (prefers-reduced-motion: reduce) +{ + .sidenav-toggler-inner, + .sidenav-toggler-line + { + transition: none; + } +} + +.sidenav-toggler-inner +{ + position: relative; +} +.sidenav-toggler-inner:before +{ + position: absolute; + top: -14px; + left: -11px; + + width: 40px; + height: 40px; + + content: ''; + transition: all .15s cubic-bezier(.68, -.55, .265, 1.55); + transform: scale(0); + + border-radius: 50%; +} +@media (prefers-reduced-motion: reduce) +{ + .sidenav-toggler-inner:before + { + transition: none; + } +} + +.sidenav-toggler-line +{ + position: relative; + + display: block; + + height: 2px; + + background-color: #172b4d; +} +.sidenav-toggler-line:not(:last-child) +{ + margin-bottom: 3px; +} + +.sidenav-toggler-dark .sidenav-toggler-line +{ + background-color: #fff; +} + +.sidenav-toggler +{ + cursor: pointer; +} +.sidenav-toggler.active .sidenav-toggler-inner:before +{ + transform: scale(1); +} +.sidenav-toggler.active .sidenav-toggler-line:first-child +{ + width: 13px; + + transform: translateX(5px); +} +.sidenav-toggler.active .sidenav-toggler-line:last-child +{ + width: 13px; + + transform: translateX(5px); +} + +.bodyClick +{ + position: absolute; + top: 0; + + width: 100%; + height: 100vh; +} + +.navbar-search .input-group +{ + transition: background-color .3s linear; + transition-delay: .15s; + + border: 0 solid; + border-radius: 2rem; +} +@media (prefers-reduced-motion: reduce) +{ + .navbar-search .input-group + { + transition: none; + } +} +.navbar-search .input-group .input-group-text +{ + padding-left: 1rem; + + border: 0; + background-color: transparent; +} + +.navbar-search .form-control +{ + width: 250px; + + transition: all .15s cubic-bezier(.68, -.55, .265, 1.55); + + border: 0; + background-color: transparent; +} +@media (prefers-reduced-motion: reduce) +{ + .navbar-search .form-control + { + transition: none; + } +} + +.navbar-search .focused .input-group .form-control +{ + width: 380px; +} + +.navbar-search .close +{ + display: none; +} + +.navbar-search-dark .input-group +{ + border-color: rgba(255, 255, 255, .6); + background-color: rgba(23, 43, 77, .8); +} + +.navbar-search-dark .input-group-text +{ + color: rgba(255, 255, 255, .6); +} + +.navbar-search-dark .form-control +{ + color: rgba(255, 255, 255, .9); +} +.navbar-search-dark .form-control::-ms-input-placeholder +{ + color: rgba(255, 255, 255, .6); +} +.navbar-search-dark .form-control::placeholder +{ + color: rgba(255, 255, 255, .6); +} + +.navbar-search-dark .focused .input-group +{ + border-color: rgba(255, 255, 255, .9); + background-color: rgba(23, 43, 77, .9); +} + +.navbar-search-light .input-group +{ + border-color: rgba(0, 0, 0, .6); + background-color: rgba(255, 255, 255, .9); +} + +.navbar-search-light .input-group-text +{ + color: rgba(0, 0, 0, .6); +} + +.navbar-search-light .form-control +{ + color: rgba(0, 0, 0, .9); +} +.navbar-search-light .form-control::-ms-input-placeholder +{ + color: rgba(0, 0, 0, .6); +} +.navbar-search-light .form-control::placeholder +{ + color: rgba(0, 0, 0, .6); +} + +.navbar-search-light .focused .input-group +{ + border-color: rgba(0, 0, 0, .9); + background-color: white; +} + +@media (max-width: 575.98px) +{ + .navbar-search + { + display: none; + + width: 100%; + + transition: all .15s cubic-bezier(.68, -.55, .265, 1.55); + transform: translateX(-150%); + } +} +@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) +{ + .navbar-search + { + transition: none; + } +} + +@media (max-width: 575.98px) +{ + .navbar-search .form-group + { + width: 100%; + } + .navbar-search .form-control + { + width: auto; + } + .navbar-search .focused .input-group .form-control + { + width: auto; + } + .navbar-search .close + { + display: none; + + opacity: 0; + } + .navbar-search .close span + { + width: auto; + height: auto; + } + .navbar-top .navbar-nav + { + transition: all .15s ease; + } +} +@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) +{ + .navbar-top .navbar-nav + { + transition: none; + } +} + +@media (max-width: 575.98px) +{ + .g-navbar-search-showing .navbar-search .close + { + display: block; + } + .g-navbar-search-showing .navbar-top .navbar-nav + { + display: flex; + + transform: translateX(150%); + + opacity: 1; + } + .g-navbar-search-show .navbar-search + { + display: block; + } + .g-navbar-search-show .navbar-search .form-control + { + width: auto; + } + .g-navbar-search-show .navbar-search .close + { + line-height: 46px; + + position: absolute; + top: 0; + right: 0; + + width: 46px; + height: 46px; + + cursor: pointer; + text-align: center; + + color: white; + } + .g-navbar-search-show .navbar-top .navbar-nav + { + display: none; + } + .g-navbar-search-show .navbar-top .navbar-collapse + { + width: 100%; + } + .g-navbar-search-shown .navbar-search + { + transform: translateX(0); + } + .g-navbar-search-shown .navbar-search .close + { + display: block; + + opacity: 1; + } + .g-navbar-search-hiding .navbar-top .navbar-nav + { + display: flex; + + transform: translateX(150%); + + opacity: 0; + } + .g-navbar-search-hidden .navbar-top .navbar-nav + { + transform: translateX(0); + + opacity: 1; + } +} + +.navbar .dropdown-menu +{ + margin: 0; + + pointer-events: none; + + opacity: 0; +} + +.navbar .dropdown-menu-arrow:before +{ + position: absolute; + z-index: -5; + bottom: 100%; + left: 20px; + + display: block; + + width: 12px; + height: 12px; + + content: ''; + transform: rotate(-45deg) translateY(12px); + + border-radius: 2px; + background: #fff; + box-shadow: none; +} + +.navbar .dropdown-menu-right:before +{ + right: 20px; + left: auto; +} + +.navbar:not(.navbar-nav-hover) .dropdown-menu.show +{ + animation: show-navbar-dropdown .25s ease forwards; + pointer-events: auto; + + opacity: 1; +} + +.navbar:not(.navbar-nav-hover) .dropdown-menu.close +{ + display: block; + + animation: hide-navbar-dropdown .15s ease backwards; +} + +.navbar.navbar-nav-hover .dropdown-menu +{ + display: block; + + transition: visibility .25s, opacity .25s, transform .25s; + transform: translate(0, 10px) perspective(200px) rotateX(-2deg); + pointer-events: none; + + opacity: 0; +} + +.navbar.navbar-nav-hover .nav-item.dropdown:hover > .dropdown-menu +{ + display: block; + visibility: visible; + + transform: translate(0, 0); + animation: none; + pointer-events: auto; + + opacity: 1; +} + +.navbar .dropdown-menu-inner +{ + position: relative; + + padding: 1rem; +} + +@keyframes show-navbar-dropdown +{ + 0% + { + transition: visibility .25s, opacity .25s, transform .25s; + transform: translate(0, 10px) perspective(200px); + + opacity: 0; + } + 100% + { + transform: translate(0, 0); + + opacity: 1; + } +} + +@keyframes hide-navbar-dropdown +{ + from + { + opacity: 1; + } + to + { + transform: translate(0, 10px); + + opacity: 0; + } +} + +.navbar-collapse-header +{ + display: none; +} + +@keyframes show-navbar-collapse +{ + 0% + { + transform: scale(.95); + transform-origin: 100% 0; + + opacity: 0; + } + 100% + { + transform: scale(1); + + opacity: 1; + } +} + +@keyframes hide-navbar-collapse +{ + from + { + transform: scale(1); + transform-origin: 100% 0; + + opacity: 1; + } + to + { + transform: scale(.95); + + opacity: 0; + } +} + +.navbar-top +{ + padding-right: 1rem; + padding-left: 1rem; + + border: 0; +} +.navbar-top .container, +.navbar-top .container-fluid, +.navbar-top .container-sm, +.navbar-top .container-md, +.navbar-top .container-lg, +.navbar-top .container-xl +{ + padding-right: 15px; + padding-left: 15px; +} +@media (min-width: 576px) +{ + .navbar-top .navbar-brand + { + display: none; + } +} +@media (max-width: 575.98px) +{ + .navbar-top .navbar-collapse + { + width: 100%; + } + .navbar-top .nav-item + { + position: static; + } + .navbar-top .nav-item .dropdown-menu + { + position: absolute; + right: auto; + left: 3%; + + width: 94%; + min-width: auto; + } +} +.navbar-top.border-bottom.navbar-dark +{ + border-color: rgba(255, 255, 255, .08) !important; +} +.navbar-top.border-bottom.navbar-light +{ + border-color: rgba(0, 0, 0, .04) !important; +} + +.sidenav-pinned .navbar-top .navbar-brand +{ + display: none; +} + +.nav-wrapper +{ + padding: 1rem 0; + + border-top-left-radius: .375rem; + border-top-right-radius: .375rem; +} +.nav-wrapper + .card +{ + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-right-radius: .375rem; + border-bottom-left-radius: .375rem; +} + +.nav-link +{ + color: #525f7f; +} +.nav-link:hover +{ + color: #5e72e4; +} +.nav-link i.ni +{ + position: relative; + top: 2px; +} + +.nav-pills .nav-item:not(:last-child) +{ + padding-right: 1rem; +} + +.nav-pills .nav-link +{ + font-size: .875rem; + font-weight: 500; + + padding: .75rem 1rem; + + transition: all .15s ease; + + color: #5e72e4; + background-color: #fff; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.nav-pills .nav-link:hover +{ + color: #485fe0; +} + +.nav-pills .nav-link.active, +.nav-pills .show > .nav-link +{ + color: #fff; + background-color: #5e72e4; +} + +@media (max-width: 575.98px) +{ + .nav-pills .nav-item + { + margin-bottom: 1rem; + } +} + +@media (max-width: 767.98px) +{ + .nav-pills:not(.nav-pills-circle) .nav-item + { + padding-right: 0; + } +} + +.nav-pills-circle .nav-link +{ + line-height: 60px; + + width: 60px; + height: 60px; + padding: 0; + + text-align: center; + + border-radius: 50%; +} + +.nav-pills-circle .nav-link-icon i, +.nav-pills-circle .nav-link-icon svg +{ + font-size: 1rem; +} + +.page-item.active .page-link +{ + box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08); +} + +.page-item .page-link, +.page-item span +{ + font-size: .875rem; + + display: flex; + + width: 36px; + height: 36px; + margin: 0 3px; + padding: 0; + + border-radius: 50% !important; + + align-items: center; + justify-content: center; +} + +.pagination-lg .page-item .page-link, +.pagination-lg .page-item span +{ + line-height: 46px; + + width: 46px; + height: 46px; +} + +.pagination-sm .page-item .page-link, +.pagination-sm .page-item span +{ + line-height: 30px; + + width: 30px; + height: 30px; +} + +.popover +{ + border: 0; +} + +.popover-header +{ + font-weight: 600; +} + +.popover-primary +{ + background-color: #5e72e4; +} +.popover-primary .popover-header +{ + color: #fff; + background-color: #5e72e4; +} +.popover-primary .popover-body +{ + color: #fff; +} +.popover-primary .popover-header +{ + border-color: rgba(255, 255, 255, .2); +} +.popover-primary.bs-popover-top .arrow::after, +.popover-primary.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: #5e72e4; +} +.popover-primary.bs-popover-right .arrow::after, +.popover-primary.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: #5e72e4; +} +.popover-primary.bs-popover-bottom .arrow::after, +.popover-primary.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: #5e72e4; +} +.popover-primary.bs-popover-left .arrow::after, +.popover-primary.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: #5e72e4; +} + +.popover-secondary +{ + background-color: #f7fafc; +} +.popover-secondary .popover-header +{ + color: #212529; + background-color: #f7fafc; +} +.popover-secondary .popover-body +{ + color: #212529; +} +.popover-secondary .popover-header +{ + border-color: rgba(33, 37, 41, .2); +} +.popover-secondary.bs-popover-top .arrow::after, +.popover-secondary.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: #f7fafc; +} +.popover-secondary.bs-popover-right .arrow::after, +.popover-secondary.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: #f7fafc; +} +.popover-secondary.bs-popover-bottom .arrow::after, +.popover-secondary.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: #f7fafc; +} +.popover-secondary.bs-popover-left .arrow::after, +.popover-secondary.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: #f7fafc; +} + +.popover-success +{ + background-color: #2dce89; +} +.popover-success .popover-header +{ + color: #fff; + background-color: #2dce89; +} +.popover-success .popover-body +{ + color: #fff; +} +.popover-success .popover-header +{ + border-color: rgba(255, 255, 255, .2); +} +.popover-success.bs-popover-top .arrow::after, +.popover-success.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: #2dce89; +} +.popover-success.bs-popover-right .arrow::after, +.popover-success.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: #2dce89; +} +.popover-success.bs-popover-bottom .arrow::after, +.popover-success.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: #2dce89; +} +.popover-success.bs-popover-left .arrow::after, +.popover-success.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: #2dce89; +} + +.popover-info +{ + background-color: #11cdef; +} +.popover-info .popover-header +{ + color: #fff; + background-color: #11cdef; +} +.popover-info .popover-body +{ + color: #fff; +} +.popover-info .popover-header +{ + border-color: rgba(255, 255, 255, .2); +} +.popover-info.bs-popover-top .arrow::after, +.popover-info.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: #11cdef; +} +.popover-info.bs-popover-right .arrow::after, +.popover-info.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: #11cdef; +} +.popover-info.bs-popover-bottom .arrow::after, +.popover-info.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: #11cdef; +} +.popover-info.bs-popover-left .arrow::after, +.popover-info.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: #11cdef; +} + +.popover-warning +{ + background-color: #fb6340; +} +.popover-warning .popover-header +{ + color: #fff; + background-color: #fb6340; +} +.popover-warning .popover-body +{ + color: #fff; +} +.popover-warning .popover-header +{ + border-color: rgba(255, 255, 255, .2); +} +.popover-warning.bs-popover-top .arrow::after, +.popover-warning.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: #fb6340; +} +.popover-warning.bs-popover-right .arrow::after, +.popover-warning.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: #fb6340; +} +.popover-warning.bs-popover-bottom .arrow::after, +.popover-warning.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: #fb6340; +} +.popover-warning.bs-popover-left .arrow::after, +.popover-warning.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: #fb6340; +} + +.popover-danger +{ + background-color: #f5365c; +} +.popover-danger .popover-header +{ + color: #fff; + background-color: #f5365c; +} +.popover-danger .popover-body +{ + color: #fff; +} +.popover-danger .popover-header +{ + border-color: rgba(255, 255, 255, .2); +} +.popover-danger.bs-popover-top .arrow::after, +.popover-danger.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: #f5365c; +} +.popover-danger.bs-popover-right .arrow::after, +.popover-danger.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: #f5365c; +} +.popover-danger.bs-popover-bottom .arrow::after, +.popover-danger.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: #f5365c; +} +.popover-danger.bs-popover-left .arrow::after, +.popover-danger.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: #f5365c; +} + +.popover-light +{ + background-color: #adb5bd; +} +.popover-light .popover-header +{ + color: #fff; + background-color: #adb5bd; +} +.popover-light .popover-body +{ + color: #fff; +} +.popover-light .popover-header +{ + border-color: rgba(255, 255, 255, .2); +} +.popover-light.bs-popover-top .arrow::after, +.popover-light.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: #adb5bd; +} +.popover-light.bs-popover-right .arrow::after, +.popover-light.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: #adb5bd; +} +.popover-light.bs-popover-bottom .arrow::after, +.popover-light.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: #adb5bd; +} +.popover-light.bs-popover-left .arrow::after, +.popover-light.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: #adb5bd; +} + +.popover-dark +{ + background-color: #212529; +} +.popover-dark .popover-header +{ + color: #fff; + background-color: #212529; +} +.popover-dark .popover-body +{ + color: #fff; +} +.popover-dark .popover-header +{ + border-color: rgba(255, 255, 255, .2); +} +.popover-dark.bs-popover-top .arrow::after, +.popover-dark.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: #212529; +} +.popover-dark.bs-popover-right .arrow::after, +.popover-dark.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: #212529; +} +.popover-dark.bs-popover-bottom .arrow::after, +.popover-dark.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: #212529; +} +.popover-dark.bs-popover-left .arrow::after, +.popover-dark.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: #212529; +} + +.popover-default +{ + background-color: #172b4d; +} +.popover-default .popover-header +{ + color: #fff; + background-color: #172b4d; +} +.popover-default .popover-body +{ + color: #fff; +} +.popover-default .popover-header +{ + border-color: rgba(255, 255, 255, .2); +} +.popover-default.bs-popover-top .arrow::after, +.popover-default.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: #172b4d; +} +.popover-default.bs-popover-right .arrow::after, +.popover-default.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: #172b4d; +} +.popover-default.bs-popover-bottom .arrow::after, +.popover-default.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: #172b4d; +} +.popover-default.bs-popover-left .arrow::after, +.popover-default.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: #172b4d; +} + +.popover-white +{ + background-color: #fff; +} +.popover-white .popover-header +{ + color: #212529; + background-color: #fff; +} +.popover-white .popover-body +{ + color: #212529; +} +.popover-white .popover-header +{ + border-color: rgba(33, 37, 41, .2); +} +.popover-white.bs-popover-top .arrow::after, +.popover-white.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: #fff; +} +.popover-white.bs-popover-right .arrow::after, +.popover-white.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: #fff; +} +.popover-white.bs-popover-bottom .arrow::after, +.popover-white.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: #fff; +} +.popover-white.bs-popover-left .arrow::after, +.popover-white.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: #fff; +} + +.popover-neutral +{ + background-color: #fff; +} +.popover-neutral .popover-header +{ + color: #212529; + background-color: #fff; +} +.popover-neutral .popover-body +{ + color: #212529; +} +.popover-neutral .popover-header +{ + border-color: rgba(33, 37, 41, .2); +} +.popover-neutral.bs-popover-top .arrow::after, +.popover-neutral.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: #fff; +} +.popover-neutral.bs-popover-right .arrow::after, +.popover-neutral.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: #fff; +} +.popover-neutral.bs-popover-bottom .arrow::after, +.popover-neutral.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: #fff; +} +.popover-neutral.bs-popover-left .arrow::after, +.popover-neutral.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: #fff; +} + +.popover-darker +{ + background-color: black; +} +.popover-darker .popover-header +{ + color: #fff; + background-color: black; +} +.popover-darker .popover-body +{ + color: #fff; +} +.popover-darker .popover-header +{ + border-color: rgba(255, 255, 255, .2); +} +.popover-darker.bs-popover-top .arrow::after, +.popover-darker.bs-popover-auto[x-placement^='top'] .arrow::after +{ + border-top-color: black; +} +.popover-darker.bs-popover-right .arrow::after, +.popover-darker.bs-popover-auto[x-placement^='right'] .arrow::after +{ + border-right-color: black; +} +.popover-darker.bs-popover-bottom .arrow::after, +.popover-darker.bs-popover-auto[x-placement^='bottom'] .arrow::after +{ + border-bottom-color: black; +} +.popover-darker.bs-popover-left .arrow::after, +.popover-darker.bs-popover-auto[x-placement^='left'] .arrow::after +{ + border-left-color: black; +} + +.progress-wrapper +{ + position: relative; + + padding-top: 1.5rem; +} + +.progress +{ + overflow: hidden; + + height: 8px; + margin-bottom: 1rem; + + border-radius: .25rem; + background-color: #e9ecef; + box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); +} +.progress .sr-only +{ + font-size: 13px; + line-height: 20px; + + left: 0; + + clip: auto; + + width: auto; + height: 20px; + margin: 0 0 0 30px; +} + +.progress-sm +{ + height: 5px; +} + +.progress-xs +{ + height: 3px; +} + +.progress-heading +{ + font-size: 14px; + font-weight: 500; + + margin: 0 0 2px; + padding: 0; +} + +.progress-bar +{ + height: auto; + + border-radius: 0; + box-shadow: none; +} + +.progress-info +{ + display: flex; + + margin-bottom: .5rem; + + align-items: center; + justify-content: space-between; +} + +.progress-label span +{ + font-size: .625rem; + font-weight: 600; + + display: inline-block; + + padding: .25rem 1rem; + + text-transform: uppercase; + + color: #5e72e4; + border-radius: 30px; + background: rgba(94, 114, 228, .1); +} + +.progress-percentage +{ + text-align: right; +} +.progress-percentage span +{ + font-size: .875rem; + font-weight: 600; + + display: inline-block; + + color: #8898aa; +} + +.separator +{ + position: absolute; + top: auto; + right: 0; + left: 0; + + overflow: hidden; + + width: 100%; + height: 150px; + + transform: translateZ(0); + pointer-events: none; +} +.separator svg +{ + position: absolute; + + pointer-events: none; +} + +.separator-top +{ + top: 0; + bottom: auto; +} +.separator-top svg +{ + top: 0; +} + +.separator-bottom +{ + top: auto; + bottom: 0; +} +.separator-bottom svg +{ + bottom: 0; +} + +.separator-inverse +{ + transform: rotate(180deg); +} + +.separator-skew +{ + height: 60px; +} +@media (min-width: 1200px) +{ + .separator-skew + { + height: 70px; + } +} + +.section-nucleo-icons +{ + --icon-size: 5rem; + --icon-sm-size: 3.75rem; + --gutter: 7rem; +} +.section-nucleo-icons .icons-container +{ + position: relative; + z-index: 1; + + max-width: 100%; + height: 360px; + margin: 0 auto; +} +.section-nucleo-icons .icons-container i +{ + position: absolute; + z-index: 1; + + display: inline-flex; + + transition: all .2s cubic-bezier(.25, .65, .9, .75); + transform: translate(-50%, -50%); + + border-radius: 50%; + background: #fff; + box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .15); + + align-items: center; + justify-content: center; +} +.section-nucleo-icons .icons-container i.icon +{ + font-size: 1.7em; + + width: var(--icon-size); + height: var(--icon-size); +} +.section-nucleo-icons .icons-container i.icon-sm +{ + font-size: 1.5em; + + width: var(--icon-sm-size); + height: var(--icon-sm-size); +} +.section-nucleo-icons .icons-container i:nth-child(1) +{ + font-size: 42px; + + z-index: 2; + + color: #fb6340; +} +.section-nucleo-icons .icons-container i +{ + opacity: 1; +} +.section-nucleo-icons .icons-container i:nth-child(1) +{ + font-size: 42px; + + top: 50%; + left: 50%; + + color: #fb6340; +} +.section-nucleo-icons .icons-container i:nth-child(2) +{ + top: 50%; + left: calc(50% + (var(--gutter) * 1.7)); +} +.section-nucleo-icons .icons-container i:nth-child(3) +{ + top: calc(50% + var(--gutter)); + left: calc(50% + var(--gutter)); +} +.section-nucleo-icons .icons-container i:nth-child(4) +{ + top: calc(50% - var(--gutter)); + left: calc(50% + var(--gutter)); +} +.section-nucleo-icons .icons-container i:nth-child(5) +{ + top: 50%; + left: calc(50% + (var(--gutter) * 4)); +} +.section-nucleo-icons .icons-container i:nth-child(6) +{ + top: calc(50% + (var(--gutter) * 1.5)); + left: calc(50% + (var(--gutter) * 2.7)); +} +.section-nucleo-icons .icons-container i:nth-child(7) +{ + top: calc(50% - (var(--gutter) * 1.5)); + left: calc(50% + (var(--gutter) * 2.7)); +} +.section-nucleo-icons .icons-container i:nth-child(8) +{ + top: 50%; + left: calc(50% - (var(--gutter) * 1.7)); +} +.section-nucleo-icons .icons-container i:nth-child(9) +{ + top: calc(50% + var(--gutter)); + left: calc(50% - var(--gutter)); +} +.section-nucleo-icons .icons-container i:nth-child(10) +{ + top: calc(50% - var(--gutter)); + left: calc(50% - var(--gutter)); +} +.section-nucleo-icons .icons-container i:nth-child(11) +{ + top: 50%; + left: calc(50% - (var(--gutter) * 4)); +} +.section-nucleo-icons .icons-container i:nth-child(12) +{ + top: calc(50% + (var(--gutter) * 1.5)); + left: calc(50% - (var(--gutter) * 2.7)); +} +.section-nucleo-icons .icons-container i:nth-child(13) +{ + top: calc(50% - (var(--gutter) * 1.5)); + left: calc(50% - (var(--gutter) * 2.7)); +} + +.table thead th +{ + font-size: .65rem; + + padding-top: .75rem; + padding-bottom: .75rem; + + letter-spacing: 1px; + text-transform: uppercase; + + border-bottom: 1px solid #e9ecef; +} + +.table th +{ + font-weight: 600; +} + +.table td .progress +{ + width: 120px; + height: 3px; + margin: 0; +} + +.table td, +.table th +{ + font-size: .8125rem; + + white-space: nowrap; +} + +.table.align-items-center td, +.table.align-items-center th +{ + vertical-align: middle; +} + +.table .thead-dark th +{ + color: #4d7bca; + background-color: #1c345d; +} +.table .thead-dark th a +{ + color: #4d7bca; +} + +.table .thead-light th +{ + color: #8898aa; + background-color: #f6f9fc; +} +.table .thead-light th a +{ + color: #8898aa; +} + +.table-hover tr +{ + transition: all .15s ease; +} +@media (prefers-reduced-motion: reduce) +{ + .table-hover tr + { + transition: none; + } +} + +.table-flush td, +.table-flush th +{ + border-right: 0; + border-left: 0; +} + +.table-flush tbody tr:first-child td, +.table-flush tbody tr:first-child th +{ + border-top: 0; +} + +.table-flush tbody tr:last-child td, +.table-flush tbody tr:last-child th +{ + border-bottom: 0; +} + +.card .table +{ + margin-bottom: 0; +} +.card .table td, +.card .table th +{ + padding-right: 1.5rem; + padding-left: 1.5rem; +} + +.table .custom-toggle +{ + display: block; +} + +p +{ + font-size: 1rem; + font-weight: 300; + line-height: 1.7; +} + +.lead +{ + font-size: 1.25rem; + font-weight: 300; + line-height: 1.7; + + margin-top: 1.5rem; +} +.lead + .btn-wrapper +{ + margin-top: 3rem; +} + +.description +{ + font-size: .875rem; +} + +article h4:not(:first-child), +article h5:not(:first-child) +{ + margin-top: 3rem; +} + +article h4, +article h5 +{ + margin-bottom: 1.5rem; +} + +article figure +{ + margin: 3rem 0; +} + +article h5 + figure +{ + margin-top: 0; +} + +.display-1 span, +.display-2 span, +.display-3 span, +.display-4 span +{ + font-weight: 300; + + display: block; +} + +h1 > a, +h2 > a, +h3 > a, +h4 > a, +h5 > a, +h6 > a +{ + color: inherit; +} + +.heading +{ + font-size: .95rem; + font-weight: 600; + + letter-spacing: .025em; + text-transform: uppercase; +} + +.heading-small +{ + font-size: .75rem; + + padding-top: .25rem; + padding-bottom: .25rem; + + letter-spacing: .04em; + text-transform: uppercase; +} + +.heading-title +{ + font-size: 1.375rem; + font-weight: 600; + + letter-spacing: .025em; + text-transform: uppercase; +} + +.heading-section +{ + font-size: 1.375rem; + font-weight: 600; + + letter-spacing: .025em; + text-transform: uppercase; +} +.heading-section img +{ + display: block; + + width: 72px; + height: 72px; + margin-bottom: 1.5rem; +} +.heading-section.text-center img +{ + margin-right: auto; + margin-left: auto; +} + +.surtitle +{ + margin-bottom: 0; + + letter-spacing: 2px; + text-transform: uppercase; + + color: #8898aa; +} + +.bg-blue +{ + background-color: #5e72e4 !important; +} + +a.bg-blue:hover, +a.bg-blue:focus, +button.bg-blue:hover, +button.bg-blue:focus +{ + background-color: #324cdd !important; +} + +.bg-indigo +{ + background-color: #5603ad !important; +} + +a.bg-indigo:hover, +a.bg-indigo:focus, +button.bg-indigo:hover, +button.bg-indigo:focus +{ + background-color: #3d027b !important; +} + +.bg-purple +{ + background-color: #8965e0 !important; +} + +a.bg-purple:hover, +a.bg-purple:focus, +button.bg-purple:hover, +button.bg-purple:focus +{ + background-color: #683bd7 !important; +} + +.bg-pink +{ + background-color: #f3a4b5 !important; +} + +a.bg-pink:hover, +a.bg-pink:focus, +button.bg-pink:hover, +button.bg-pink:focus +{ + background-color: #ed7790 !important; +} + +.bg-red +{ + background-color: #f5365c !important; +} + +a.bg-red:hover, +a.bg-red:focus, +button.bg-red:hover, +button.bg-red:focus +{ + background-color: #ec0c38 !important; +} + +.bg-orange +{ + background-color: #fb6340 !important; +} + +a.bg-orange:hover, +a.bg-orange:focus, +button.bg-orange:hover, +button.bg-orange:focus +{ + background-color: #fa3a0e !important; +} + +.bg-yellow +{ + background-color: #ffd600 !important; +} + +a.bg-yellow:hover, +a.bg-yellow:focus, +button.bg-yellow:hover, +button.bg-yellow:focus +{ + background-color: #ccab00 !important; +} + +.bg-green +{ + background-color: #2dce89 !important; +} + +a.bg-green:hover, +a.bg-green:focus, +button.bg-green:hover, +button.bg-green:focus +{ + background-color: #24a46d !important; +} + +.bg-teal +{ + background-color: #11cdef !important; +} + +a.bg-teal:hover, +a.bg-teal:focus, +button.bg-teal:hover, +button.bg-teal:focus +{ + background-color: #0da5c0 !important; +} + +.bg-cyan +{ + background-color: #2bffc6 !important; +} + +a.bg-cyan:hover, +a.bg-cyan:focus, +button.bg-cyan:hover, +button.bg-cyan:focus +{ + background-color: #00f7b5 !important; +} + +.bg-white +{ + background-color: #fff !important; +} + +a.bg-white:hover, +a.bg-white:focus, +button.bg-white:hover, +button.bg-white:focus +{ + background-color: #e6e6e6 !important; +} + +.bg-gray +{ + background-color: #8898aa !important; +} + +a.bg-gray:hover, +a.bg-gray:focus, +button.bg-gray:hover, +button.bg-gray:focus +{ + background-color: #6a7e95 !important; +} + +.bg-gray-dark +{ + background-color: #32325d !important; +} + +a.bg-gray-dark:hover, +a.bg-gray-dark:focus, +button.bg-gray-dark:hover, +button.bg-gray-dark:focus +{ + background-color: #20203c !important; +} + +.bg-light +{ + background-color: #ced4da !important; +} + +a.bg-light:hover, +a.bg-light:focus, +button.bg-light:hover, +button.bg-light:focus +{ + background-color: #b1bbc4 !important; +} + +.bg-lighter +{ + background-color: #e9ecef !important; +} + +a.bg-lighter:hover, +a.bg-lighter:focus, +button.bg-lighter:hover, +button.bg-lighter:focus +{ + background-color: #cbd3da !important; +} + +.bg-gradient-primary +{ + background: linear-gradient(87deg, #5e72e4 0, #825ee4 100%) !important; +} + +.bg-gradient-secondary +{ + background: linear-gradient(87deg, #f7fafc 0, #f7f8fc 100%) !important; +} + +.bg-gradient-success +{ + background: linear-gradient(87deg, #2dce89 0, #2dcecc 100%) !important; +} + +.bg-gradient-info +{ + background: linear-gradient(87deg, #11cdef 0, #1171ef 100%) !important; +} + +.bg-gradient-warning +{ + background: linear-gradient(87deg, #fb6340 0, #fbb140 100%) !important; +} + +.bg-gradient-danger +{ + background: linear-gradient(87deg, #f5365c 0, #f56036 100%) !important; +} + +.bg-gradient-light +{ + background: linear-gradient(87deg, #adb5bd 0, #adaebd 100%) !important; +} + +.bg-gradient-dark +{ + background: linear-gradient(87deg, #212529 0, #212229 100%) !important; +} + +.bg-gradient-default +{ + background: linear-gradient(87deg, #172b4d 0, #1a174d 100%) !important; +} + +.bg-gradient-white +{ + background: linear-gradient(87deg, #fff 0, white 100%) !important; +} + +.bg-gradient-neutral +{ + background: linear-gradient(87deg, #fff 0, white 100%) !important; +} + +.bg-gradient-darker +{ + background: linear-gradient(87deg, black 0, black 100%) !important; +} + +.bg-gradient-blue +{ + background: linear-gradient(87deg, #5e72e4 0, #825ee4 100%) !important; +} + +.bg-gradient-indigo +{ + background: linear-gradient(87deg, #5603ad 0, #9d03ad 100%) !important; +} + +.bg-gradient-purple +{ + background: linear-gradient(87deg, #8965e0 0, #bc65e0 100%) !important; +} + +.bg-gradient-pink +{ + background: linear-gradient(87deg, #f3a4b5 0, #f3b4a4 100%) !important; +} + +.bg-gradient-red +{ + background: linear-gradient(87deg, #f5365c 0, #f56036 100%) !important; +} + +.bg-gradient-orange +{ + background: linear-gradient(87deg, #fb6340 0, #fbb140 100%) !important; +} + +.bg-gradient-yellow +{ + background: linear-gradient(87deg, #ffd600 0, #beff00 100%) !important; +} + +.bg-gradient-green +{ + background: linear-gradient(87deg, #2dce89 0, #2dcecc 100%) !important; +} + +.bg-gradient-teal +{ + background: linear-gradient(87deg, #11cdef 0, #1171ef 100%) !important; +} + +.bg-gradient-cyan +{ + background: linear-gradient(87deg, #2bffc6 0, #2be0ff 100%) !important; +} + +.bg-gradient-white +{ + background: linear-gradient(87deg, #fff 0, white 100%) !important; +} + +.bg-gradient-gray +{ + background: linear-gradient(87deg, #8898aa 0, #888aaa 100%) !important; +} + +.bg-gradient-gray-dark +{ + background: linear-gradient(87deg, #32325d 0, #44325d 100%) !important; +} + +.bg-gradient-light +{ + background: linear-gradient(87deg, #ced4da 0, #cecfda 100%) !important; +} + +.bg-gradient-lighter +{ + background: linear-gradient(87deg, #e9ecef 0, #e9eaef 100%) !important; +} + +.bg-translucent-primary +{ + background-color: rgba(63, 87, 223, .6) !important; +} + +a.bg-translucent-primary:hover, +a.bg-translucent-primary:focus, +button.bg-translucent-primary:hover, +button.bg-translucent-primary:focus +{ + background-color: rgba(42, 68, 219, .6) !important; +} + +.bg-translucent-secondary +{ + background-color: rgba(221, 234, 242, .6) !important; +} + +a.bg-translucent-secondary:hover, +a.bg-translucent-secondary:focus, +button.bg-translucent-secondary:hover, +button.bg-translucent-secondary:focus +{ + background-color: rgba(202, 222, 235, .6) !important; +} + +.bg-translucent-success +{ + background-color: rgba(39, 177, 118, .6) !important; +} + +a.bg-translucent-success:hover, +a.bg-translucent-success:focus, +button.bg-translucent-success:hover, +button.bg-translucent-success:focus +{ + background-color: rgba(34, 156, 104, .6) !important; +} + +.bg-translucent-info +{ + background-color: rgba(14, 177, 206, .6) !important; +} + +a.bg-translucent-info:hover, +a.bg-translucent-info:focus, +button.bg-translucent-info:hover, +button.bg-translucent-info:focus +{ + background-color: rgba(12, 156, 183, .6) !important; +} + +.bg-translucent-warning +{ + background-color: rgba(250, 70, 29, .6) !important; +} + +a.bg-translucent-warning:hover, +a.bg-translucent-warning:focus, +button.bg-translucent-warning:hover, +button.bg-translucent-warning:focus +{ + background-color: rgba(249, 51, 5, .6) !important; +} + +.bg-translucent-danger +{ + background-color: rgba(243, 20, 64, .6) !important; +} + +a.bg-translucent-danger:hover, +a.bg-translucent-danger:focus, +button.bg-translucent-danger:hover, +button.bg-translucent-danger:focus +{ + background-color: rgba(227, 11, 54, .6) !important; +} + +.bg-translucent-light +{ + background-color: rgba(153, 163, 173, .6) !important; +} + +a.bg-translucent-light:hover, +a.bg-translucent-light:focus, +button.bg-translucent-light:hover, +button.bg-translucent-light:focus +{ + background-color: rgba(139, 150, 162, .6) !important; +} + +.bg-translucent-dark +{ + background-color: rgba(17, 19, 21, .6) !important; +} + +a.bg-translucent-dark:hover, +a.bg-translucent-dark:focus, +button.bg-translucent-dark:hover, +button.bg-translucent-dark:focus +{ + background-color: rgba(6, 6, 7, .6) !important; +} + +.bg-translucent-default +{ + background-color: rgba(15, 28, 50, .6) !important; +} + +a.bg-translucent-default:hover, +a.bg-translucent-default:focus, +button.bg-translucent-default:hover, +button.bg-translucent-default:focus +{ + background-color: rgba(9, 17, 30, .6) !important; +} + +.bg-translucent-white +{ + background-color: rgba(237, 237, 237, .6) !important; +} + +a.bg-translucent-white:hover, +a.bg-translucent-white:focus, +button.bg-translucent-white:hover, +button.bg-translucent-white:focus +{ + background-color: rgba(224, 224, 224, .6) !important; +} + +.bg-translucent-neutral +{ + background-color: rgba(237, 237, 237, .6) !important; +} + +a.bg-translucent-neutral:hover, +a.bg-translucent-neutral:focus, +button.bg-translucent-neutral:hover, +button.bg-translucent-neutral:focus +{ + background-color: rgba(224, 224, 224, .6) !important; +} + +.bg-translucent-darker +{ + background-color: rgba(0, 0, 0, .6) !important; +} + +a.bg-translucent-darker:hover, +a.bg-translucent-darker:focus, +button.bg-translucent-darker:hover, +button.bg-translucent-darker:focus +{ + background-color: rgba(0, 0, 0, .6) !important; +} + +.section-primary +{ + background-color: #f8f9fe !important; +} + +a.section-primary:hover, +a.section-primary:focus, +button.section-primary:hover, +button.section-primary:focus +{ + background-color: #cbd3f8 !important; +} + +.section-secondary +{ + background-color: #f7fafc !important; +} + +a.section-secondary:hover, +a.section-secondary:focus, +button.section-secondary:hover, +button.section-secondary:focus +{ + background-color: #d2e3ee !important; +} + +.section-light +{ + background-color: #ced4da !important; +} + +a.section-light:hover, +a.section-light:focus, +button.section-light:hover, +button.section-light:focus +{ + background-color: #b1bbc4 !important; +} + +.section-dark +{ + background-color: #212529 !important; +} + +a.section-dark:hover, +a.section-dark:focus, +button.section-dark:hover, +button.section-dark:focus +{ + background-color: #0a0c0d !important; +} + +.section-darker +{ + background-color: black !important; +} + +a.section-darker:hover, +a.section-darker:focus, +button.section-darker:hover, +button.section-darker:focus +{ + background-color: black !important; +} + +.bg-gradient-primary +{ + background: linear-gradient(87deg, #5e72e4 0, #825ee4 100%) !important; +} + +.bg-gradient-secondary +{ + background: linear-gradient(87deg, #f7fafc 0, #f7f8fc 100%) !important; +} + +.bg-gradient-success +{ + background: linear-gradient(87deg, #2dce89 0, #2dcecc 100%) !important; +} + +.bg-gradient-info +{ + background: linear-gradient(87deg, #11cdef 0, #1171ef 100%) !important; +} + +.bg-gradient-warning +{ + background: linear-gradient(87deg, #fb6340 0, #fbb140 100%) !important; +} + +.bg-gradient-danger +{ + background: linear-gradient(87deg, #f5365c 0, #f56036 100%) !important; +} + +.bg-gradient-light +{ + background: linear-gradient(87deg, #adb5bd 0, #adaebd 100%) !important; +} + +.bg-gradient-dark +{ + background: linear-gradient(87deg, #212529 0, #212229 100%) !important; +} + +.bg-gradient-default +{ + background: linear-gradient(87deg, #172b4d 0, #1a174d 100%) !important; +} + +.bg-gradient-white +{ + background: linear-gradient(87deg, #fff 0, white 100%) !important; +} + +.bg-gradient-neutral +{ + background: linear-gradient(87deg, #fff 0, white 100%) !important; +} + +.bg-gradient-darker +{ + background: linear-gradient(87deg, black 0, black 100%) !important; +} + +.fill-primary +{ + fill: #5e72e4; +} + +.stroke-primary +{ + stroke: #5e72e4; +} + +.fill-secondary +{ + fill: #f7fafc; +} + +.stroke-secondary +{ + stroke: #f7fafc; +} + +.fill-success +{ + fill: #2dce89; +} + +.stroke-success +{ + stroke: #2dce89; +} + +.fill-info +{ + fill: #11cdef; +} + +.stroke-info +{ + stroke: #11cdef; +} + +.fill-warning +{ + fill: #fb6340; +} + +.stroke-warning +{ + stroke: #fb6340; +} + +.fill-danger +{ + fill: #f5365c; +} + +.stroke-danger +{ + stroke: #f5365c; +} + +.fill-light +{ + fill: #adb5bd; +} + +.stroke-light +{ + stroke: #adb5bd; +} + +.fill-dark +{ + fill: #212529; +} + +.stroke-dark +{ + stroke: #212529; +} + +.fill-default +{ + fill: #172b4d; +} + +.stroke-default +{ + stroke: #172b4d; +} + +.fill-white +{ + fill: #fff; +} + +.stroke-white +{ + stroke: #fff; +} + +.fill-neutral +{ + fill: #fff; +} + +.stroke-neutral +{ + stroke: #fff; +} + +.fill-darker +{ + fill: black; +} + +.stroke-darker +{ + stroke: black; +} + +.fill-opacity-8 +{ + fill-opacity: .8; +} + +.blur--hover +{ + position: relative; +} +.blur--hover .blur-item +{ + transition: 1s cubic-bezier(.19, 1, .22, 1); + + opacity: 1; + + will-change: transform; + filter: blur(0); +} +.blur--hover .blur-hidden +{ + position: absolute; + z-index: 100; + top: calc(50% + 7px); + left: 50%; + + transition: all .15s ease; + transform: translate(-50%, -50%); + + opacity: 0; +} +.blur--hover:hover .blur-item +{ + z-index: 1; + + transform: scale(.95); + + opacity: .8; + + filter: blur(10px); +} +.blur--hover:hover .blur-hidden +{ + top: 50%; + + opacity: 1; +} + +.floating +{ + animation: floating 3s ease infinite; + + will-change: transform; +} +.floating:hover +{ + animation-play-state: paused; +} + +.floating-lg +{ + animation: floating-lg 3s ease infinite; +} + +.floating-sm +{ + animation: floating-sm 3s ease infinite; +} + +@keyframes floating-lg +{ + 0% + { + transform: translateY(0px); + } + 50% + { + transform: translateY(15px); + } + 100% + { + transform: translateY(0px); + } +} + +@keyframes floating +{ + 0% + { + transform: translateY(0px); + } + 50% + { + transform: translateY(10px); + } + 100% + { + transform: translateY(0px); + } +} + +@keyframes floating-sm +{ + 0% + { + transform: translateY(0px); + } + 50% + { + transform: translateY(5px); + } + 100% + { + transform: translateY(0px); + } +} + +.floatfix:before, +.floatfix:after +{ + display: table; + + content: ''; +} + +.floatfix:after +{ + clear: both; +} + +.img-center +{ + display: block; + + margin-right: auto; + margin-left: auto; +} + +.opacity-1 +{ + opacity: .1 !important; +} + +.opacity-2 +{ + opacity: .2 !important; +} + +.opacity-3 +{ + opacity: .3 !important; +} + +.opacity-4 +{ + opacity: .4 !important; +} + +.opacity-5 +{ + opacity: .5 !important; +} + +.opacity-6 +{ + opacity: .6 !important; +} + +.opacity-7 +{ + opacity: .7 !important; +} + +.opacity-8 +{ + opacity: .8 !important; +} + +.opacity-8 +{ + opacity: .9 !important; +} + +.opacity-10 +{ + opacity: 1 !important; +} + +.overflow-visible +{ + overflow: visible !important; +} + +.overflow-hidden +{ + overflow: hidden !important; +} + +.top-0 +{ + top: 0; +} + +.right-0 +{ + right: 0; +} + +.bottom-0 +{ + bottom: 0; +} + +.left-0 +{ + left: 0; +} + +.top-1 +{ + top: .25rem; +} + +.right-1 +{ + right: .25rem; +} + +.bottom-1 +{ + bottom: .25rem; +} + +.left-1 +{ + left: .25rem; +} + +.top-2 +{ + top: .5rem; +} + +.right-2 +{ + right: .5rem; +} + +.bottom-2 +{ + bottom: .5rem; +} + +.left-2 +{ + left: .5rem; +} + +.top-3 +{ + top: 1rem; +} + +.right-3 +{ + right: 1rem; +} + +.bottom-3 +{ + bottom: 1rem; +} + +.left-3 +{ + left: 1rem; +} + +.top-4 +{ + top: 1.5rem; +} + +.right-4 +{ + right: 1.5rem; +} + +.bottom-4 +{ + bottom: 1.5rem; +} + +.left-4 +{ + left: 1.5rem; +} + +.top-5 +{ + top: 3rem; +} + +.right-5 +{ + right: 3rem; +} + +.bottom-5 +{ + bottom: 3rem; +} + +.left-5 +{ + left: 3rem; +} + +.top--9 +{ + top: -10rem; +} + +.right--9 +{ + right: -10rem; +} + +.bottom--9 +{ + bottom: -10rem; +} + +.left--9 +{ + left: -10rem; +} + +.top--8 +{ + top: -8rem; +} + +.right--8 +{ + right: -8rem; +} + +.bottom--8 +{ + bottom: -8rem; +} + +.left--8 +{ + left: -8rem; +} + +.top--7 +{ + top: -6rem; +} + +.right--7 +{ + right: -6rem; +} + +.bottom--7 +{ + bottom: -6rem; +} + +.left--7 +{ + left: -6rem; +} + +.top--6 +{ + top: -4.5rem; +} + +.right--6 +{ + right: -4.5rem; +} + +.bottom--6 +{ + bottom: -4.5rem; +} + +.left--6 +{ + left: -4.5rem; +} + +.top--5 +{ + top: -3rem; +} + +.right--5 +{ + right: -3rem; +} + +.bottom--5 +{ + bottom: -3rem; +} + +.left--5 +{ + left: -3rem; +} + +.top--4 +{ + top: -1.5rem; +} + +.right--4 +{ + right: -1.5rem; +} + +.bottom--4 +{ + bottom: -1.5rem; +} + +.left--4 +{ + left: -1.5rem; +} + +.top--3 +{ + top: -1rem; +} + +.right--3 +{ + right: -1rem; +} + +.bottom--3 +{ + bottom: -1rem; +} + +.left--3 +{ + left: -1rem; +} + +.top--2 +{ + top: -.5rem; +} + +.right--2 +{ + right: -.5rem; +} + +.bottom--2 +{ + bottom: -.5rem; +} + +.left--2 +{ + left: -.5rem; +} + +.top--1 +{ + top: -.25rem; +} + +.right--1 +{ + right: -.25rem; +} + +.bottom--1 +{ + bottom: -.25rem; +} + +.left--1 +{ + left: -.25rem; +} + +.top-6 +{ + top: 4.5rem; +} + +.right-6 +{ + right: 4.5rem; +} + +.bottom-6 +{ + bottom: 4.5rem; +} + +.left-6 +{ + left: 4.5rem; +} + +.top-7 +{ + top: 6rem; +} + +.right-7 +{ + right: 6rem; +} + +.bottom-7 +{ + bottom: 6rem; +} + +.left-7 +{ + left: 6rem; +} + +.top-8 +{ + top: 8rem; +} + +.right-8 +{ + right: 8rem; +} + +.bottom-8 +{ + bottom: 8rem; +} + +.left-8 +{ + left: 8rem; +} + +.top-9 +{ + top: 10rem; +} + +.right-9 +{ + right: 10rem; +} + +.bottom-9 +{ + bottom: 10rem; +} + +.left-9 +{ + left: 10rem; +} + +.center +{ + left: 50%; + + transform: translateX(-50%); +} + +[class*='shadow'] +{ + transition: all .15s ease; +} + +.shadow-sm--hover:hover +{ + box-shadow: 0 0 .5rem rgba(136, 152, 170, .075) !important; +} + +.shadow--hover:hover +{ + box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .15) !important; +} + +.shadow-lg--hover:hover +{ + box-shadow: 0 0 3rem rgba(136, 152, 170, .175) !important; +} + +.shadow-none--hover:hover +{ + box-shadow: none !important; +} + +.h-100vh +{ + height: 100vh !important; +} + +.row.row-grid > [class*='col-'] + [class*='col-'] +{ + margin-top: 3rem; +} + +@media (min-width: 992px) +{ + .row.row-grid > [class*='col-lg-'] + [class*='col-lg-'] + { + margin-top: 0; + } +} + +@media (min-width: 768px) +{ + .row.row-grid > [class*='col-md-'] + [class*='col-md-'] + { + margin-top: 0; + } +} + +@media (min-width: 576px) +{ + .row.row-grid > [class*='col-sm-'] + [class*='col-sm-'] + { + margin-top: 0; + } +} + +.row-grid + .row-grid +{ + margin-top: 3rem; +} + +@media (min-width: 992px) +{ + .mt--100 + { + margin-top: -100px !important; + } + .mr--100 + { + margin-right: -100px !important; + } + .mb--100 + { + margin-bottom: -100px !important; + } + .ml--100 + { + margin-left: -100px !important; + } + .mt--150 + { + margin-top: -150px !important; + } + .mb--150 + { + margin-bottom: -150px !important; + } + .mt--200 + { + margin-top: -200px !important; + } + .mb--200 + { + margin-bottom: -200px !important; + } + .mt--300 + { + margin-top: -300px !important; + } + .mb--300 + { + margin-bottom: -300px !important; + } + .pt-100 + { + padding-top: 100px !important; + } + .pb-100 + { + padding-bottom: 100px !important; + } + .pt-150 + { + padding-top: 150px !important; + } + .pb-150 + { + padding-bottom: 150px !important; + } + .pt-200 + { + padding-top: 200px !important; + } + .pb-200 + { + padding-bottom: 200px !important; + } + .pt-250 + { + padding-top: 250px !important; + } + .pb-250 + { + padding-bottom: 250px !important; + } + .pt-300 + { + padding-top: 300px !important; + } + .pb-300 + { + padding-bottom: 300px !important; + } +} + +.font-weight-300 +{ + font-weight: 300 !important; +} + +.font-weight-400 +{ + font-weight: 400 !important; +} + +.font-weight-500 +{ + font-weight: 500 !important; +} + +.font-weight-600 +{ + font-weight: 600 !important; +} + +.font-weight-700 +{ + font-weight: 700 !important; +} + +.font-weight-800 +{ + font-weight: 800 !important; +} + +.font-weight-900 +{ + font-weight: 900 !important; +} + +.text-underline +{ + text-decoration: underline; +} + +.text-through +{ + text-decoration: line-through; +} + +.text-xs +{ + font-size: .75rem !important; +} + +.text-sm +{ + font-size: .875rem !important; +} + +.text-lg +{ + font-size: 1.25rem !important; +} + +.text-xl +{ + font-size: 1.5rem !important; +} + +.lh-100 +{ + line-height: 1; +} + +.lh-110 +{ + line-height: 1.1; +} + +.lh-120 +{ + line-height: 1.2; +} + +.lh-130 +{ + line-height: 1.3; +} + +.lh-140 +{ + line-height: 1.4; +} + +.lh-150 +{ + line-height: 1.5; +} + +.lh-160 +{ + line-height: 1.6; +} + +.lh-170 +{ + line-height: 1.7; +} + +.lh-180 +{ + line-height: 1.8; +} + +.ls-1 +{ + letter-spacing: .0625rem; +} + +.ls-15 +{ + letter-spacing: .09375rem; +} + +.ls-2 +{ + letter-spacing: .125rem; +} + +.text-blue +{ + color: #5e72e4 !important; +} + +a.text-blue:hover, +a.text-blue:focus +{ + color: #233dd2 !important; +} + +.text-indigo +{ + color: #5603ad !important; +} + +a.text-indigo:hover, +a.text-indigo:focus +{ + color: #310262 !important; +} + +.text-purple +{ + color: #8965e0 !important; +} + +a.text-purple:hover, +a.text-purple:focus +{ + color: #5a2acf !important; +} + +.text-pink +{ + color: #f3a4b5 !important; +} + +a.text-pink:hover, +a.text-pink:focus +{ + color: #ea607e !important; +} + +.text-red +{ + color: #f5365c !important; +} + +a.text-red:hover, +a.text-red:focus +{ + color: #d40b33 !important; +} + +.text-orange +{ + color: #fb6340 !important; +} + +a.text-orange:hover, +a.text-orange:focus +{ + color: #ea3005 !important; +} + +.text-yellow +{ + color: #ffd600 !important; +} + +a.text-yellow:hover, +a.text-yellow:focus +{ + color: #b39600 !important; +} + +.text-green +{ + color: #2dce89 !important; +} + +a.text-green:hover, +a.text-green:focus +{ + color: #1f8f5f !important; +} + +.text-teal +{ + color: #11cdef !important; +} + +a.text-teal:hover, +a.text-teal:focus +{ + color: #0b90a8 !important; +} + +.text-cyan +{ + color: #2bffc6 !important; +} + +a.text-cyan:hover, +a.text-cyan:focus +{ + color: #00dea2 !important; +} + +.text-white +{ + color: #fff !important; +} + +a.text-white:hover, +a.text-white:focus +{ + color: #d9d9d9 !important; +} + +.text-gray +{ + color: #8898aa !important; +} + +a.text-gray:hover, +a.text-gray:focus +{ + color: #607286 !important; +} + +.text-gray-dark +{ + color: #32325d !important; +} + +a.text-gray-dark:hover, +a.text-gray-dark:focus +{ + color: #17172b !important; +} + +.text-light +{ + color: #ced4da !important; +} + +a.text-light:hover, +a.text-light:focus +{ + color: #a2aeb9 !important; +} + +.text-lighter +{ + color: #e9ecef !important; +} + +a.text-lighter:hover, +a.text-lighter:focus +{ + color: #bdc6cf !important; +} + +@media (min-width: 992px) +{ + .transform-perspective-right + { + transform: scale(1) perspective(1040px) rotateY(-11deg) rotateX(2deg) rotate(2deg); + } + .transform-perspective-left + { + transform: scale(1) perspective(2000px) rotateY(11deg) rotateX(2deg) rotate(-2deg); + } +} + +.datepicker +{ + border-radius: .375rem; + + direction: ltr; +} +.datepicker-inline +{ + width: 220px; +} +.datepicker-rtl +{ + direction: rtl; +} +.datepicker-rtl.dropdown-menu +{ + left: auto; +} +.datepicker-rtl table tr td span +{ + float: right; +} +.datepicker-dropdown +{ + top: 0; + left: 0; + + padding: 20px 22px; + + box-shadow: 0 50px 100px rgba(50, 50, 93, .1), 0 15px 35px rgba(50, 50, 93, .15), 0 5px 15px rgba(0, 0, 0, .1); +} +.datepicker-dropdown.datepicker-orient-left:before +{ + left: 6px; +} +.datepicker-dropdown.datepicker-orient-left:after +{ + left: 7px; +} +.datepicker-dropdown.datepicker-orient-right:before +{ + right: 6px; +} +.datepicker-dropdown.datepicker-orient-right:after +{ + right: 7px; +} +.datepicker-dropdown.datepicker-orient-bottom:before +{ + top: -7px; +} +.datepicker-dropdown.datepicker-orient-bottom:after +{ + top: -6px; +} +.datepicker-dropdown.datepicker-orient-top:before +{ + bottom: -7px; + + border-top: 7px solid white; + border-bottom: 0; +} +.datepicker-dropdown.datepicker-orient-top:after +{ + bottom: -6px; + + border-top: 6px solid #fff; + border-bottom: 0; +} +.datepicker table +{ + margin: 0; + + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; + + -webkit-touch-callout: none; +} +.datepicker table tr td +{ + border-radius: 50%; +} +.datepicker table tr th +{ + font-weight: 500; + + border-radius: .375rem; +} +.datepicker table tr td, +.datepicker table tr th +{ + font-size: .875rem; + + width: 36px; + height: 36px; + + transition: all .15s ease; + text-align: center; + + border: none; +} +.table-striped .datepicker table tr td, +.table-striped .datepicker table tr th +{ + background-color: transparent; +} +.datepicker table tr td.old, +.datepicker table tr td.new +{ + color: #adb5bd; +} +.datepicker table tr td.day:hover, +.datepicker table tr td.focused +{ + cursor: pointer; + + background: white; +} +.datepicker table tr td.disabled, +.datepicker table tr td.disabled:hover +{ + cursor: default; + + color: #dee2e6; + background: none; +} +.datepicker table tr td.highlighted +{ + border-radius: 0; +} +.datepicker table tr td.highlighted.focused +{ + background: #5e72e4; +} +.datepicker table tr td.highlighted.disabled, +.datepicker table tr td.highlighted.disabled:active +{ + color: #ced4da; + background: #5e72e4; +} +.datepicker table tr td.today +{ + background: white; +} +.datepicker table tr td.today.focused +{ + background: white; +} +.datepicker table tr td.today.disabled, +.datepicker table tr td.today.disabled:active +{ + color: #8898aa; + background: white; +} +.datepicker table tr td.range +{ + color: #fff; + border-radius: 0; + background: #5e72e4; +} +.datepicker table tr td.range.focused +{ + background: #3b53de; +} +.datepicker table tr td.range.disabled, +.datepicker table tr td.range.disabled:active, +.datepicker table tr td.range.day.disabled:hover +{ + color: #8a98eb; + background: #324cdd; +} +.datepicker table tr td.range.highlighted.focused +{ + background: #cbd3da; +} +.datepicker table tr td.range.highlighted.disabled, +.datepicker table tr td.range.highlighted.disabled:active +{ + color: #dee2e6; + background: #e9ecef; +} +.datepicker table tr td.range.today.disabled, +.datepicker table tr td.range.today.disabled:active +{ + color: #fff; + background: #5e72e4; +} +.datepicker table tr td.day.range-start +{ + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.datepicker table tr td.day.range-end +{ + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.datepicker table tr td.day.range-start.range-end +{ + border-radius: 50%; +} +.datepicker table tr td.selected, +.datepicker table tr td.selected.highlighted, +.datepicker table tr td.selected:hover, +.datepicker table tr td.selected.highlighted:hover, +.datepicker table tr td.day.range:hover +{ + color: #fff; + background: #5e72e4; +} +.datepicker table tr td.active, +.datepicker table tr td.active.highlighted, +.datepicker table tr td.active:hover, +.datepicker table tr td.active.highlighted:hover +{ + color: #fff; + background: #5e72e4; + box-shadow: none; +} +.datepicker table tr td span +{ + line-height: 54px; + + display: block; + float: left; + + width: 23%; + height: 54px; + margin: 1%; + + cursor: pointer; + + border-radius: 4px; +} +.datepicker table tr td span:hover, +.datepicker table tr td span.focused +{ + background: #e9ecef; +} +.datepicker table tr td span.disabled, +.datepicker table tr td span.disabled:hover +{ + cursor: default; + + color: #dee2e6; + background: none; +} +.datepicker table tr td span.active, +.datepicker table tr td span.active:hover, +.datepicker table tr td span.active.disabled, +.datepicker table tr td span.active.disabled:hover +{ + text-shadow: 0 -1px 0 rgba(0, 0, 0, .25); +} +.datepicker table tr td span.old, +.datepicker table tr td span.new +{ + color: #8898aa; +} +.datepicker .datepicker-switch +{ + width: 145px; +} +.datepicker .datepicker-switch, +.datepicker .prev, +.datepicker .next, +.datepicker tfoot tr th +{ + cursor: pointer; +} +.datepicker .datepicker-switch:hover, +.datepicker .prev:hover, +.datepicker .next:hover, +.datepicker tfoot tr th:hover +{ + background: #e9ecef; +} +.datepicker .prev.disabled, +.datepicker .next.disabled +{ + visibility: hidden; +} +.datepicker .cw +{ + font-size: 10px; + + width: 12px; + padding: 0 2px 0 5px; + + vertical-align: middle; +} + +.bootstrap-tagsinput +{ + display: inline-block; + + max-width: 100%; + padding: .25rem; + + cursor: text; + vertical-align: middle; + + color: #8898aa; + border: 0 solid transparent; + border-radius: .25rem; + background-color: #fff; +} +.bootstrap-tagsinput input +{ + width: auto; + max-width: inherit; + margin: 0; + padding: 0 6px; + + border: none; + outline: none; + background-color: transparent; + box-shadow: none; +} +.bootstrap-tagsinput input::-ms-input-placeholder +{ + opacity: 1; + color: #adb5bd; +} +.bootstrap-tagsinput input::placeholder +{ + opacity: 1; + color: #adb5bd; +} +.bootstrap-tagsinput input:focus +{ + border: none; + box-shadow: none; +} +.bootstrap-tagsinput .badge +{ + line-height: 1.5; + + position: relative; + + margin: .125rem; + padding: .625rem .625rem .5rem; + + transition: all .15s ease; + + color: #fff; + border-radius: .25rem; + background: #172b4d; + box-shadow: 0 1px 2px rgba(68, 68, 68, .25); +} +@media (prefers-reduced-motion: reduce) +{ + .bootstrap-tagsinput .badge + { + transition: none; + } +} +.bootstrap-tagsinput .badge:hover +{ + padding-right: 1.5rem; +} +.bootstrap-tagsinput [data-role='remove'] +{ + position: absolute; + top: 50%; + + margin-left: 10px; + + cursor: pointer; + transform: translate(0, -50%); + + color: #fff; +} +.bootstrap-tagsinput [data-role='remove']:after +{ + font-size: 16px; + + content: '×'; +} + +#chartjs-tooltip +{ + position: absolute; + + transition: all .1s ease; + transform: translate(-50%, 0); + pointer-events: none; + + opacity: 1; + color: white; + border-radius: 3px; + background: rgba(0, 0, 0, .7); +} + +.chartjs-tooltip-key +{ + display: inline-block; + + width: 10px; + height: 10px; + margin-right: 10px; +} + +.dataTables_wrapper +{ + font-size: .875rem; +} + +table.dataTable +{ + margin-bottom: 1.25rem !important; + + border-bottom: 1px solid #e9ecef; +} +table.dataTable tbody > tr.selected +{ + background-color: #5e72e4; +} + +.dataTables_length, +.dataTables_info, +.dt-buttons +{ + padding-left: 1.5rem; +} + +.dataTables_length .form-control +{ + margin: 0 .375rem; +} + +.dataTables_filter +{ + display: inline-block; + float: right; + + padding-right: 1.5rem; +} + +.dataTables_paginate +{ + padding-right: 1.5rem; +} + +.dropzone +{ + position: relative; + + display: flex; + flex-direction: column; +} + +.dz-message +{ + z-index: 999; + + padding: 5rem 1rem; + + cursor: pointer; + transition: all .15s ease; + text-align: center; + + color: #8898aa; + border: 1px dashed #dee2e6; + border-radius: .375rem; + background-color: #fff; + + order: -1; +} +.dz-message:hover +{ + color: #525f7f; + border-color: #8898aa; +} + +.dz-drag-hover .dz-message +{ + color: #5e72e4; + border-color: #5e72e4; +} + +.dropzone-multiple .dz-message +{ + padding-top: 2rem; + padding-bottom: 2rem; +} + +.dropzone-single.dz-max-files-reached .dz-message +{ + opacity: 0; + color: white; + background-color: rgba(0, 0, 0, .9); +} +.dropzone-single.dz-max-files-reached .dz-message:hover +{ + opacity: 1; +} + +.dz-preview-single +{ + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + + border-radius: .375rem; +} + +.dz-preview-cover +{ + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + + border-radius: .375rem; +} + +.dz-preview-img +{ + width: 100%; + height: 100%; + + border-radius: .375rem; + + -o-object-fit: cover; + object-fit: cover; +} + +.dz-preview-multiple .list-group-item:last-child +{ + padding-bottom: 0; + + border-bottom: 0; +} + +[data-dz-size] strong +{ + font-weight: 400; +} + +.fc-header-toolbar +{ + display: none; +} + +.fc-scroller +{ + height: auto !important; +} + +.fc th +{ + font-size: .75rem; + font-weight: 600; + + padding: .75rem 1rem; + + text-transform: uppercase; + + color: #8898aa; +} + +.fc div.fc-row +{ + margin-right: 0; + + border: 0; +} + +.fc button .fc-icon +{ + top: -5px; +} + +.fc-unthemed td.fc-today +{ + background-color: transparent; +} +.fc-unthemed td.fc-today span +{ + color: #fb6340; +} + +.fc-event +{ + font-size: .75rem; + + padding: 0; + + border: 0; + border-radius: .25rem; +} +.fc-event .fc-title +{ + font-weight: 600; + + display: block; + overflow: hidden; + + padding: .4rem .5rem; + + white-space: nowrap; + text-overflow: ellipsis; + + color: #fff; +} +.fc-event .fc-time +{ + float: left; + + margin: 0 0 0 -1px; + padding: 2px 6px; + + background: rgba(0, 0, 0, .2); +} + +.fc-view, +.fc-view > table +{ + overflow: hidden; + + border: 0; +} + +.fc-view > table > tbody > tr .ui-widget-content +{ + border-top: 0; +} + +.fc-body +{ + border: 0; +} + +.fc-icon +{ + font-family: NucleoIcons, sans-serif; + font-size: 1rem; + line-height: 35px; + + width: 35px; + height: 35px; + + border-radius: 50%; +} +.fc-icon:hover +{ + color: #5e72e4; +} + +.fc-button +{ + border: 0; + background: transparent; + box-shadow: none; +} +.fc-button:focus, +.fc-button:active +{ + outline: 0; +} + +.calendar +{ + z-index: 0; +} +.calendar td, +.calendar th +{ + border-color: #eff1f3; +} +.calendar .fc-toolbar +{ + position: relative; + z-index: 2; + + height: 250px; + margin-bottom: -2px; + + border-radius: .375rem .375rem 0 0; + background-color: #fff; +} +@media (max-width: 575.98px) +{ + .calendar .fc-toolbar + { + height: 135px; + } +} +.calendar .fc-day-number +{ + box-sizing: border-box; + width: 100%; + padding: .5rem 1rem; +} +@media (min-width: 576px) +{ + .calendar .fc-day-number + { + font-size: .875rem; + font-weight: 600; + + color: #67779d; + } +} +.calendar .fc-day-header +{ + text-align: left; +} +.calendar .fc-day-grid-event +{ + margin: 1px 9px; +} + +[data-calendar-month] +{ + transition: background-image 300ms; + + background-size: contain; +} +@media (prefers-reduced-motion: reduce) +{ + [data-calendar-month] + { + transition: none; + } +} + +[data-calendar-month='0'] +{ + background-image: url('../img/calendar/january.jpg'); +} + +[data-calendar-month='1'] +{ + background-image: url('../img/calendar/february.jpg'); +} + +[data-calendar-month='2'] +{ + background-image: url('../img/calendar/march.jpg'); +} + +[data-calendar-month='3'] +{ + background-image: url('../img/calendar/april.jpg'); +} + +[data-calendar-month='4'] +{ + background-image: url('../img/calendar/may.jpg'); +} + +[data-calendar-month='5'] +{ + background-image: url('../img/calendar/june.jpg'); +} + +[data-calendar-month='6'] +{ + background-image: url('../img/calendar/july.jpg'); +} + +[data-calendar-month='7'] +{ + background-image: url('../img/calendar/august.jpg'); +} + +[data-calendar-month='8'] +{ + background-image: url('../img/calendar/september.jpg'); +} + +[data-calendar-month='9'] +{ + background-image: url('../img/calendar/october.jpg'); +} + +[data-calendar-month='10'] +{ + background-image: url('../img/calendar/november.jpg'); +} + +[data-calendar-month='11'] +{ + background-image: url('../img/calendar/december.jpg'); +} + +.card-calendar .card-header +{ + border-bottom: 0; +} + +.card-calendar table +{ + background: transparent; +} +.card-calendar table tr > td:first-child +{ + border-left-width: 0; +} +.card-calendar table tr > td:last-child +{ + border-right-width: 0; +} + +.widget-calendar +{ + position: relative; + z-index: 0; +} +.widget-calendar td, +.widget-calendar th +{ + text-align: center; + + border-color: transparent; +} +.widget-calendar .fc-toolbar +{ + margin-top: 1.25rem; +} +.widget-calendar .fc-toolbar h2 +{ + font-size: 1rem; +} +.widget-calendar .fc-day-number +{ + width: 100%; + padding: 0; + + text-align: center; +} +.widget-calendar .fc table +{ + font-size: .875rem; +} +.widget-calendar .fc th +{ + font-size: .75rem; + + padding: .75rem .5rem; +} + +.vector-map +{ + position: relative; + + height: 600px; +} + +.vector-map-sm +{ + height: 280px; +} + +.jvectormap-container +{ + width: 100%; + height: 100%; +} + +.jvectormap-zoomin, +.jvectormap-zoomout +{ + position: absolute; + bottom: 0; + left: 0; +} + +.jvectormap-zoomin +{ + bottom: 4.25rem; +} + +.jvectormap-zoomout +{ + bottom: 2rem; +} + +/*! + * Lavalamp + * http://lavalamp.magicmediamuse.com/ + */ +.lavalamp +{ + position: relative; +} + +.lavalamp-item +{ + position: relative; + z-index: 5; +} + +.lavalamp-object +{ + position: absolute; + top: 0; + left: 0; +} + +/* Custom easing transitions */ +.lavalamp .lavalamp-object +{ + transition-property: transform, width, height; +} + +.lavalamp .lavalamp-object.ease +{ + transition-timing-function: ease; +} + +.lavalamp .lavalamp-object.ease-in +{ + transition-timing-function: ease-in; +} + +.lavalamp .lavalamp-object.ease-out +{ + transition-timing-function: ease-out; +} + +.lavalamp .lavalamp-object.ease-in-out +{ + transition-timing-function: ease-in-out; +} + +.lavalamp .lavalamp-object.linear +{ + transition-timing-function: linear; +} + +.lavalamp .lavalamp-object.easeInQuad +{ + transition-timing-function: cubic-bezier(.55, .085, .68, .53); +} + +.lavalamp .lavalamp-object.easeInCubic +{ + transition-timing-function: cubic-bezier(.55, .055, .675, .19); +} + +.lavalamp .lavalamp-object.easeInQuart +{ + transition-timing-function: cubic-bezier(.895, .03, .685, .22); +} + +.lavalamp .lavalamp-object.easeInQuint +{ + transition-timing-function: cubic-bezier(.755, .05, .855, .06); +} + +.lavalamp .lavalamp-object.easeInSine +{ + transition-timing-function: cubic-bezier(.47, 0, .745, .715); +} + +.lavalamp .lavalamp-object.easeInExpo +{ + transition-timing-function: cubic-bezier(.95, .05, .795, .035); +} + +.lavalamp .lavalamp-object.easeInCirc +{ + transition-timing-function: cubic-bezier(.6, .04, .98, .335); +} + +.lavalamp .lavalamp-object.easeInBack +{ + transition-timing-function: cubic-bezier(.6, -.28, .735, .045); +} + +.lavalamp .lavalamp-object.easeOutQuad +{ + transition-timing-function: cubic-bezier(.25, .46, .45, .94); +} + +.lavalamp .lavalamp-object.easeOutCubic +{ + transition-timing-function: cubic-bezier(.215, .61, .355, 1); +} + +.lavalamp .lavalamp-object.easeOutQuart +{ + transition-timing-function: cubic-bezier(.165, .84, .44, 1); +} + +.lavalamp .lavalamp-object.easeOutQuint +{ + transition-timing-function: cubic-bezier(.23, 1, .32, 1); +} + +.lavalamp .lavalamp-object.easeOutSine +{ + transition-timing-function: cubic-bezier(.39, .575, .565, 1); +} + +.lavalamp .lavalamp-object.easeOutExpo +{ + transition-timing-function: cubic-bezier(.19, 1, .22, 1); +} + +.lavalamp .lavalamp-object.easeOutCirc +{ + transition-timing-function: cubic-bezier(.075, .82, .165, 1); +} + +.lavalamp .lavalamp-object.easeOutBack +{ + transition-timing-function: cubic-bezier(.175, .885, .32, 1.275); +} + +.lavalamp .lavalamp-object.easeInOutQuad +{ + transition-timing-function: cubic-bezier(.455, .03, .515, .955); +} + +.lavalamp .lavalamp-object.easeInOutCubic +{ + transition-timing-function: cubic-bezier(.645, .045, .355, 1); +} + +.lavalamp .lavalamp-object.easeInOutQuart +{ + transition-timing-function: cubic-bezier(.645, .045, .355, 1); +} + +.lavalamp .lavalamp-object.easeInOutQuint +{ + transition-timing-function: cubic-bezier(.86, 0, .07, 1); +} + +.lavalamp .lavalamp-object.easeInOutSine +{ + transition-timing-function: cubic-bezier(.445, .05, .55, .95); +} + +.lavalamp .lavalamp-object.easeInOutExpo +{ + transition-timing-function: cubic-bezier(1, 0, 0, 1); +} + +.lavalamp .lavalamp-object.easeInOutCirc +{ + transition-timing-function: cubic-bezier(.785, .135, .15, .86); +} + +.lavalamp .lavalamp-object.easeInOutBack +{ + transition-timing-function: cubic-bezier(.68, -.55, .265, 1.55); +} + +.noUi-target, +.noUi-target * +{ + box-sizing: border-box; + + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; + + -webkit-touch-callout: none; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + touch-action: none; +} + +.noUi-target +{ + position: relative; + + direction: ltr; +} + +.noUi-base, +.noUi-connects +{ + position: relative; + z-index: 1; + + width: 100%; + height: 100%; +} + +.noUi-connects +{ + z-index: 0; + + overflow: hidden; +} + +.noUi-connect, +.noUi-origin +{ + position: absolute; + z-index: 1; + top: 0; + left: 0; + + width: 100%; + height: 100%; + + transform-origin: 0 0; + + will-change: transform; +} + +html:not([dir='rtl']) .noUi-horizontal .noUi-origin +{ + right: 0; + left: auto; +} + +.noUi-vertical .noUi-origin +{ + width: 0; +} + +.noUi-horizontal .noUi-origin +{ + height: 0; +} + +.noUi-handle +{ + position: absolute; +} + +.noUi-state-tap .noUi-connect, +.noUi-state-tap .noUi-origin +{ + transition: transform .3s; +} + +.noUi-state-drag * +{ + cursor: inherit !important; +} + +.noUi-horizontal +{ + height: 5px; +} + +.noUi-horizontal .noUi-handle +{ + top: -6px; + left: -17px; + + width: 34px; + height: 28px; +} + +.noUi-vertical +{ + width: 5px; +} + +.noUi-vertical .noUi-handle +{ + top: -17px; + left: -6px; + + width: 28px; + height: 34px; +} + +html:not([dir='rtl']) .noUi-horizontal .noUi-handle +{ + right: -17px; + left: auto; +} + +.noUi-connects +{ + border-radius: 3px; +} + +.noUi-connect +{ + background: #5e72e4; +} + +.noUi-draggable +{ + cursor: ew-resize; +} + +.noUi-vertical .noUi-draggable +{ + cursor: ns-resize; +} + +.noUi-handle +{ + cursor: default; + + border: 1px solid #d9d9d9; + border-radius: 3px; + outline: none; + background: #fff; + box-shadow: inset 0 0 1px #fff, inset 0 1px 7px #ebebeb, 0 3px 6px -3px #bbb; +} + +.noUi-active +{ + outline: none; +} + +/* Disabled state; + */ +[disabled] .noUi-connect +{ + background: #b8b8b8; +} + +[disabled].noUi-target, +[disabled].noUi-handle, +[disabled] .noUi-handle +{ + cursor: not-allowed; +} + +/* Base; + * + */ +.noUi-pips, +.noUi-pips * +{ + box-sizing: border-box; +} + +.noUi-pips +{ + position: absolute; + + color: #999; +} + +/* Values; + * + */ +.noUi-value +{ + position: absolute; + + text-align: center; + white-space: nowrap; +} + +.noUi-value-sub +{ + font-size: 10px; + + color: #ccc; +} + +/* Markings; + * + */ +.noUi-marker +{ + position: absolute; + + background: #ccc; +} + +.noUi-marker-sub +{ + background: #aaa; +} + +.noUi-marker-large +{ + background: #aaa; +} + +/* Horizontal layout; + * + */ +.noUi-pips-horizontal +{ + top: 100%; + left: 0; + + width: 100%; + height: 80px; + padding: 10px 0; +} + +.noUi-value-horizontal +{ + transform: translate(-50%, 50%); +} + +.noUi-rtl .noUi-value-horizontal +{ + transform: translate(50%, 50%); +} + +.noUi-marker-horizontal.noUi-marker +{ + width: 2px; + height: 5px; + margin-left: -1px; +} + +.noUi-marker-horizontal.noUi-marker-sub +{ + height: 10px; +} + +.noUi-marker-horizontal.noUi-marker-large +{ + height: 15px; +} + +/* Vertical layout; + * + */ +.noUi-pips-vertical +{ + top: 0; + left: 100%; + + height: 100%; + padding: 0 10px; +} + +.noUi-value-vertical +{ + padding-left: 25px; + + transform: translate(0, -50%, 0); +} + +.noUi-rtl .noUi-value-vertical +{ + transform: translate(0, 50%); +} + +.noUi-marker-vertical.noUi-marker +{ + width: 5px; + height: 2px; + margin-top: -1px; +} + +.noUi-marker-vertical.noUi-marker-sub +{ + width: 10px; +} + +.noUi-marker-vertical.noUi-marker-large +{ + width: 15px; +} + +.noUi-tooltip +{ + position: absolute; + + display: block; + + padding: 5px; + + text-align: center; + white-space: nowrap; + + color: #000; + border: 1px solid #d9d9d9; + border-radius: 3px; + background: #fff; +} + +.noUi-horizontal .noUi-tooltip +{ + bottom: 120%; + left: 50%; + + transform: translate(-50%, 0); +} + +.noUi-vertical .noUi-tooltip +{ + top: 50%; + right: 120%; + + transform: translate(0, -50%); +} + +.noUi-target +{ + margin: 15px 0; + + cursor: pointer; + + border: 0; + border-radius: 5px; + background: #eceeef; + box-shadow: inset 0 1px 2px rgba(90, 97, 105, .1); +} + +.noUi-horizontal +{ + height: 5px; +} + +html:not([dir='rtl']) .noUi-horizontal .noUi-handle +{ + right: -10px; +} + +.noUi-vertical +{ + width: 5px; +} + +.noUi-connect +{ + background: #5e72e4; + box-shadow: none; +} + +.noUi-horizontal .noUi-handle, +.noUi-vertical .noUi-handle +{ + top: -5px; + + width: 15px; + height: 15px; + + cursor: pointer; + transition: box-shadow .15s, transform .15s; + + border: 0; + border-radius: 100%; + background-color: #5e72e4; + box-shadow: none; +} + +.noUi-horizontal .noUi-handle.noUi-active, +.noUi-vertical .noUi-handle.noUi-active +{ + box-shadow: 0 0 0 2px #5e72e4; +} + +.input-slider--cyan .noUi-connect +{ + background: #2bffc6; +} + +/* Disabled state */ +[disabled] .noUi-connect, +[disabled].noUi-connect +{ + background: #b2b2b2; +} + +[disabled] .noUi-handle, +[disabled].noUi-origin +{ + cursor: not-allowed; +} + +/* Range slider value labels */ +.range-slider-value +{ + font-size: .75rem; + font-weight: 500; + + padding: .4em .8em .3em .85em; + + color: #fff; + border-radius: 10px; + background-color: rgba(33, 37, 41, .7); +} + +.range-slider-wrapper .upper-info +{ + font-weight: 400; + + margin-bottom: 5px; +} + +.input-slider-value-output +{ + font-size: 11px; + + position: relative; + top: 12px; + + padding: 4px 8px; + + color: #fff; + border-radius: 2px; + background: #333; +} + +.input-slider-value-output:after +{ + position: absolute; + bottom: 100%; + left: 10px; + + width: 0; + height: 0; + margin-left: -4px; + + content: ' '; + pointer-events: none; + + border: solid transparent; + border-width: 4px; + border-color: rgba(136, 183, 213, 0); + border-bottom-color: #333; +} + +.input-slider-value-output.left:after +{ + right: auto; + left: 10px; +} + +.input-slider-value-output.right:after +{ + right: 10px; + left: auto; +} + +.ql-container +{ + font-family: Open Sans, sans-serif; +} + +.ql-toolbar +{ + position: relative; + + padding: .625rem .75rem; + + color: #8898aa; + border: 1px solid #dee2e6; + border-radius: .25rem .25rem 0 0; + background-color: #fff; +} + +.ql-toolbar + .ql-container +{ + margin-top: -1px; +} + +.ql-toolbar + .ql-container .ql-editor +{ + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.ql-editor +{ + font-size: 1rem; + line-height: 1.5; + + display: block; + + width: 100%; + min-height: 6rem; + padding: .625rem .75rem; + + transition: all .15s cubic-bezier(.68, -.55, .265, 1.55); + + color: #8898aa; + border: 1px solid #dee2e6; + border-radius: .25rem; + background-color: #fff; + background-clip: padding-box; + box-shadow: 0 3px 2px rgba(233, 236, 239, .05); +} +@media (prefers-reduced-motion: reduce) +{ + .ql-editor + { + transition: none; + } +} +.ql-editor::-ms-expand +{ + border: 0; + background-color: transparent; +} +.ql-editor:focus +{ + color: #8898aa; + border-color: #5e72e4; + outline: 0; + background-color: #fff; + box-shadow: 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1); +} +.ql-editor:focus +{ + border-color: #dee2e6; +} + +.ql-hidden +{ + position: absolute; + + transform: scale(0); +} + +.ql-editor.ql-blank::before +{ + font-style: normal; + + top: .625rem; + left: .75rem; + + color: #adb5bd; +} + +.ql-editor:focus::before +{ + display: none; +} + +.ql-formats +{ + padding-right: .5rem; + padding-left: .5rem; +} +.ql-formats:first-child +{ + padding-left: 0; +} +.ql-formats:last-child +{ + padding-right: 0; +} + +.ql-toolbar button +{ + padding: 0 .25rem; + + cursor: pointer; + transition: all .15s ease; + + color: #525f7f; + border: none; + background: none; +} +.ql-toolbar button:hover +{ + color: #5e72e4; +} +.ql-toolbar button:first-child +{ + margin-left: -.25rem; +} + +.ql-toolbar .ql-active +{ + color: #5e72e4; +} + +.ql-toolbar button svg +{ + width: 1.25rem; + height: 1.25rem; +} + +.ql-toolbar .ql-stroke +{ + stroke: currentColor; + stroke-width: 2; + stroke-linecap: round; + stroke-linejoin: round; + fill: none; +} + +.ql-toolbar .ql-thin +{ + stroke-width: 1; +} + +.ql-toolbar .ql-fill +{ + fill: currentColor; +} + +.ql-toolbar input.ql-image +{ + position: absolute; + + transform: scale(0); +} + +.ql-tooltip +{ + position: absolute; + + display: flex; + + width: 18.5rem; + margin-top: .6rem; + padding: .625rem .75rem; + + border: 1px solid rgba(0, 0, 0, .05); + border-radius: .4375rem; + background-color: #fff; + box-shadow: 0 .5rem 2rem 0 rgba(0, 0, 0, .2); + + flex-wrap: nowrap; +} +.ql-tooltip:before, +.ql-tooltip:after +{ + position: absolute; + bottom: 100%; + left: 50%; + + content: ''; + transform: translateX(-50%); +} +.ql-tooltip:before +{ + border-right: .6rem solid transparent; + border-bottom: .6rem solid rgba(0, 0, 0, .05); + border-left: .6rem solid transparent; +} +.ql-tooltip:after +{ + border-right: .5rem solid transparent; + border-bottom: .5rem solid #fff; + border-left: .5rem solid transparent; +} + +.ql-container .ql-tooltip:hover +{ + display: flex !important; +} + +.ql-tooltip .ql-preview +{ + font-size: .875rem; + line-height: 1.5; + + width: 100%; + padding: .25rem .5rem; + + transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; + + border-radius: .25rem; +} +@media (prefers-reduced-motion: reduce) +{ + .ql-tooltip .ql-preview + { + transition: none; + } +} + +.ql-tooltip.ql-editing .ql-preview +{ + display: none; +} + +.ql-tooltip input +{ + font-size: .875rem; + line-height: 1.5; + + display: none; + + width: 100%; + padding-top: calc(.25rem + 1px); + padding-bottom: calc(.25rem + 1px); + + color: #8898aa; + border: none; + background-color: transparent; +} +.ql-tooltip input:focus +{ + outline: none; +} + +.ql-tooltip.ql-editing input +{ + display: block; +} + +.ql-tooltip .ql-action, +.ql-tooltip .ql-remove +{ + margin-left: .25rem; +} + +.ql-tooltip .ql-action::before, +.ql-tooltip .ql-remove::before +{ + font-size: .875rem; + font-weight: 600; + line-height: 1.5; + + display: inline-block; + + padding: .25rem .5rem; + + cursor: pointer; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; + transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; + text-align: center; + vertical-align: middle; + white-space: nowrap; + + border: 1px solid transparent; + border-radius: .25rem; +} +@media (prefers-reduced-motion: reduce) +{ + .ql-tooltip .ql-action::before, + .ql-tooltip .ql-remove::before + { + transition: none; + } +} +.ql-tooltip .ql-action::before:hover, +.ql-tooltip .ql-action::before:focus, +.ql-tooltip .ql-remove::before:hover, +.ql-tooltip .ql-remove::before:focus +{ + text-decoration: none; +} +.ql-tooltip .ql-action::before:focus, +.ql-tooltip .ql-action::before.focus, +.ql-tooltip .ql-remove::before:focus, +.ql-tooltip .ql-remove::before.focus +{ + outline: 0; + box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08); +} + +.ql-tooltip .ql-action::before, +.ql-tooltip.ql-editing .ql-action::before +{ + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.ql-tooltip .ql-action::before:hover, +.ql-tooltip.ql-editing .ql-action::before:hover +{ + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; +} +.ql-tooltip .ql-action::before:focus, +.ql-tooltip .ql-action::before.focus, +.ql-tooltip.ql-editing .ql-action::before:focus, +.ql-tooltip.ql-editing .ql-action::before.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(94, 114, 228, .5); +} +.ql-tooltip .ql-action::before.disabled, +.ql-tooltip .ql-action::before:disabled, +.ql-tooltip.ql-editing .ql-action::before.disabled, +.ql-tooltip.ql-editing .ql-action::before:disabled +{ + color: #fff; + border-color: #5e72e4; + background-color: #5e72e4; +} +.ql-tooltip .ql-action::before:not(:disabled):not(.disabled):active, +.ql-tooltip .ql-action::before:not(:disabled):not(.disabled).active, +.show > .ql-tooltip .ql-action::before.dropdown-toggle, +.ql-tooltip.ql-editing .ql-action::before:not(:disabled):not(.disabled):active, +.ql-tooltip.ql-editing .ql-action::before:not(:disabled):not(.disabled).active, +.show > .ql-tooltip.ql-editing .ql-action::before.dropdown-toggle +{ + color: #fff; + border-color: #5e72e4; + background-color: #324cdd; +} +.ql-tooltip .ql-action::before:not(:disabled):not(.disabled):active:focus, +.ql-tooltip .ql-action::before:not(:disabled):not(.disabled).active:focus, +.show > .ql-tooltip .ql-action::before.dropdown-toggle:focus, +.ql-tooltip.ql-editing .ql-action::before:not(:disabled):not(.disabled):active:focus, +.ql-tooltip.ql-editing .ql-action::before:not(:disabled):not(.disabled).active:focus, +.show > .ql-tooltip.ql-editing .ql-action::before.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(94, 114, 228, .5); +} + +.ql-tooltip .ql-action::before +{ + content: 'Edit'; +} + +.ql-tooltip.ql-editing .ql-action::before +{ + content: 'Save'; +} + +.ql-tooltip .ql-remove::before +{ + content: 'Remove'; + + color: #212529; + border-color: #fff; + border-color: #dee2e6; + background-color: #fff; + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); +} +.ql-tooltip .ql-remove::before:hover +{ + color: #212529; + border-color: white; + background-color: white; +} +.ql-tooltip .ql-remove::before:focus, +.ql-tooltip .ql-remove::before.focus +{ + box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 0 rgba(255, 255, 255, .5); +} +.ql-tooltip .ql-remove::before.disabled, +.ql-tooltip .ql-remove::before:disabled +{ + color: #212529; + border-color: #fff; + background-color: #fff; +} +.ql-tooltip .ql-remove::before:not(:disabled):not(.disabled):active, +.ql-tooltip .ql-remove::before:not(:disabled):not(.disabled).active, +.show > .ql-tooltip .ql-remove::before.dropdown-toggle +{ + color: #212529; + border-color: white; + background-color: #e6e6e6; +} +.ql-tooltip .ql-remove::before:not(:disabled):not(.disabled):active:focus, +.ql-tooltip .ql-remove::before:not(:disabled):not(.disabled).active:focus, +.show > .ql-tooltip .ql-remove::before.dropdown-toggle:focus +{ + box-shadow: none, 0 0 0 0 rgba(255, 255, 255, .5); +} + +.ql-tooltip.ql-editing .ql-remove::before +{ + display: none; +} + +.ql-editor blockquote +{ + font-size: 1.25rem; + + margin-bottom: 1rem; +} + +.ql-editor img +{ + max-width: 100%; + height: auto; +} + +.scroll-wrapper +{ + position: relative; + + overflow: hidden !important; + + padding: 0 !important; +} + +.scroll-wrapper > .scroll-content +{ + position: relative !important; + top: 0; + left: 0; + + overflow: scroll !important; + + box-sizing: content-box !important; + width: auto !important; + max-width: none !important; + height: auto; + max-height: none; + margin: 0; + padding: 0; + + border: none !important; +} + +.scroll-wrapper > .scroll-content::-webkit-scrollbar +{ + width: 0; + height: 0; +} + +.scroll-wrapper.scroll--rtl +{ + direction: rtl; +} + +.scroll-element +{ + display: none; + + box-sizing: content-box; +} + +.scroll-element div +{ + box-sizing: content-box; +} + +.scroll-element .scroll-bar, +.scroll-element .scroll-arrow +{ + cursor: default; +} + +.scroll-element.scroll-x.scroll-scrollx_visible, +.scroll-element.scroll-y.scroll-scrolly_visible +{ + display: block; +} + +.scroll-textarea +{ + border: 1px solid #ccc; + border-top-color: #999; +} + +.scroll-textarea > .scroll-content +{ + overflow: hidden !important; +} + +.scroll-textarea > .scroll-content > textarea +{ + position: relative !important; + top: 0; + + overflow: scroll !important; + + box-sizing: border-box; + width: 100% !important; + max-width: none !important; + height: 100% !important; + max-height: none !important; + margin: 0; + padding: 2px; + + border: none !important; + outline: none; +} + +.scroll-textarea > .scroll-content > textarea::-webkit-scrollbar +{ + width: 0; + height: 0; +} + +/*************** SIMPLE INNER SCROLLBAR ***************/ +.scrollbar-inner > .scroll-element, +.scrollbar-inner > .scroll-element div +{ + position: absolute; + z-index: 10; + + margin: 0; + padding: 0; + + border: none; +} + +.scrollbar-inner > .scroll-element div +{ + top: 0; + left: 0; + + display: block; + + width: 100%; + height: 100%; +} + +.scrollbar-inner > .scroll-element.scroll-x +{ + bottom: 2px; + left: 0; + + width: 100%; + height: 8px; +} + +.scrollbar-inner > .scroll-element.scroll-y +{ + top: 0; + right: 2px; + + width: 8px; + height: 100%; +} + +.scrollbar-inner > .scroll-element .scroll-element_outer +{ + overflow: hidden; +} + +.scrollbar-inner > .scroll-element .scroll-element_outer, +.scrollbar-inner > .scroll-element .scroll-element_track, +.scrollbar-inner > .scroll-element .scroll-bar +{ + border-radius: 8px; +} + +.scrollbar-inner > .scroll-element .scroll-element_track, +.scrollbar-inner > .scroll-element .scroll-bar +{ + opacity: .4; + + -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=40)'; + filter: alpha(opacity=40); +} + +.scrollbar-inner > .scroll-element .scroll-element_track +{ + background-color: #e0e0e0; +} + +.scrollbar-inner > .scroll-element .scroll-bar +{ + background-color: #c2c2c2; +} + +.scrollbar-inner > .scroll-element:hover .scroll-bar +{ + background-color: #919191; +} + +.scrollbar-inner > .scroll-element.scroll-draggable .scroll-bar +{ + background-color: #919191; +} + +/* update scrollbar offset if both scrolls are visible */ +.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track +{ + left: -12px; +} + +.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track +{ + top: -12px; +} + +.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size +{ + left: -12px; +} + +.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size +{ + top: -12px; +} + +/*************** SIMPLE OUTER SCROLLBAR ***************/ +.scrollbar-outer > .scroll-element, +.scrollbar-outer > .scroll-element div +{ + position: absolute; + z-index: 10; + + margin: 0; + padding: 0; + + border: none; +} + +.scrollbar-outer > .scroll-element +{ + background-color: #fff; +} + +.scrollbar-outer > .scroll-element div +{ + top: 0; + left: 0; + + display: block; + + width: 100%; + height: 100%; +} + +.scrollbar-outer > .scroll-element.scroll-x +{ + bottom: 0; + left: 0; + + width: 100%; + height: 12px; +} + +.scrollbar-outer > .scroll-element.scroll-y +{ + top: 0; + right: 0; + + width: 12px; + height: 100%; +} + +.scrollbar-outer > .scroll-element.scroll-x .scroll-element_outer +{ + top: 2px; + + height: 8px; +} + +.scrollbar-outer > .scroll-element.scroll-y .scroll-element_outer +{ + left: 2px; + + width: 8px; +} + +.scrollbar-outer > .scroll-element .scroll-element_outer +{ + overflow: hidden; +} + +.scrollbar-outer > .scroll-element .scroll-element_track +{ + background-color: #eee; +} + +.scrollbar-outer > .scroll-element .scroll-element_outer, +.scrollbar-outer > .scroll-element .scroll-element_track, +.scrollbar-outer > .scroll-element .scroll-bar +{ + border-radius: 8px; +} + +.scrollbar-outer > .scroll-element .scroll-bar +{ + background-color: #d9d9d9; +} + +.scrollbar-outer > .scroll-element .scroll-bar:hover +{ + background-color: #c2c2c2; +} + +.scrollbar-outer > .scroll-element.scroll-draggable .scroll-bar +{ + background-color: #919191; +} + +/* scrollbar height/width & offset from container borders */ +.scrollbar-outer > .scroll-content.scroll-scrolly_visible +{ + left: -12px; + + margin-left: 12px; +} + +.scrollbar-outer > .scroll-content.scroll-scrollx_visible +{ + top: -12px; + + margin-top: 12px; +} + +.scrollbar-outer > .scroll-element.scroll-x .scroll-bar +{ + min-width: 10px; +} + +.scrollbar-outer > .scroll-element.scroll-y .scroll-bar +{ + min-height: 10px; +} + +/* update scrollbar offset if both scrolls are visible */ +.scrollbar-outer > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track +{ + left: -14px; +} + +.scrollbar-outer > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track +{ + top: -14px; +} + +.scrollbar-outer > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size +{ + left: -14px; +} + +.scrollbar-outer > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size +{ + top: -14px; +} + +/*************** SCROLLBAR MAC OS X ***************/ +.scrollbar-macosx > .scroll-element, +.scrollbar-macosx > .scroll-element div +{ + position: absolute; + z-index: 10; + + margin: 0; + padding: 0; + + border: none; + background: none; +} + +.scrollbar-macosx > .scroll-element div +{ + top: 0; + left: 0; + + display: block; + + width: 100%; + height: 100%; +} + +.scrollbar-macosx > .scroll-element .scroll-element_track +{ + display: none; +} + +.scrollbar-macosx > .scroll-element .scroll-bar +{ + display: block; + + transition: opacity .2s linear; + + opacity: 0; + border-radius: 7px; + background-color: #6c6e71; + + -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'; + filter: alpha(opacity=0); +} + +.scrollbar-macosx:hover > .scroll-element .scroll-bar, +.scrollbar-macosx > .scroll-element.scroll-draggable .scroll-bar +{ + opacity: .7; + + -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)'; + filter: alpha(opacity=70); +} + +.scrollbar-macosx > .scroll-element.scroll-x +{ + bottom: 0; + left: 0; + + overflow: visible; + + width: 100%; + min-width: 100%; + height: 0; +} + +.scrollbar-macosx > .scroll-element.scroll-y +{ + top: 0; + right: 0; + + width: 0; + height: 100%; + min-height: 100%; +} + +/* scrollbar height/width & offset from container borders */ +.scrollbar-macosx > .scroll-element.scroll-x .scroll-bar +{ + top: -9px; + + min-width: 10px; + height: 7px; +} + +.scrollbar-macosx > .scroll-element.scroll-y .scroll-bar +{ + left: -9px; + + width: 7px; + min-height: 10px; +} + +.scrollbar-macosx > .scroll-element.scroll-x .scroll-element_outer +{ + left: 2px; +} + +.scrollbar-macosx > .scroll-element.scroll-x .scroll-element_size +{ + left: -4px; +} + +.scrollbar-macosx > .scroll-element.scroll-y .scroll-element_outer +{ + top: 2px; +} + +.scrollbar-macosx > .scroll-element.scroll-y .scroll-element_size +{ + top: -4px; +} + +/* update scrollbar offset if both scrolls are visible */ +.scrollbar-macosx > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size +{ + left: -11px; +} + +.scrollbar-macosx > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size +{ + top: -11px; +} + +/*************** SCROLLBAR LIGHT ***************/ +.scrollbar-light > .scroll-element, +.scrollbar-light > .scroll-element div +{ + position: absolute; + z-index: 10; + + overflow: hidden; + + margin: 0; + padding: 0; + + border: none; +} + +.scrollbar-light > .scroll-element +{ + background-color: #fff; +} + +.scrollbar-light > .scroll-element div +{ + top: 0; + left: 0; + + display: block; + + width: 100%; + height: 100%; +} + +.scrollbar-light > .scroll-element .scroll-element_outer +{ + border-radius: 10px; +} + +.scrollbar-light > .scroll-element .scroll-element_size +{ + border-radius: 10px; + background: #dbdbdb; + background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RiZGJkYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlOGU4ZTgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+'); + background: linear-gradient(to right, #dbdbdb 0%, #e8e8e8 100%); +} + +.scrollbar-light > .scroll-element.scroll-x +{ + bottom: 0; + left: 0; + + width: 100%; + min-width: 100%; + height: 17px; +} + +.scrollbar-light > .scroll-element.scroll-y +{ + top: 0; + right: 0; + + width: 17px; + height: 100%; + min-height: 100%; +} + +.scrollbar-light > .scroll-element .scroll-bar +{ + border: 1px solid #dbdbdb; + border-radius: 10px; + background: #fefefe; + background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZlZmVmZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNWY1ZjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+'); + background: linear-gradient(to right, #fefefe 0%, #f5f5f5 100%); +} + +/* scrollbar height/width & offset from container borders */ +.scrollbar-light > .scroll-content.scroll-scrolly_visible +{ + left: -17px; + + margin-left: 17px; +} + +.scrollbar-light > .scroll-content.scroll-scrollx_visible +{ + top: -17px; + + margin-top: 17px; +} + +.scrollbar-light > .scroll-element.scroll-x .scroll-bar +{ + top: 0; + + min-width: 10px; + height: 10px; +} + +.scrollbar-light > .scroll-element.scroll-y .scroll-bar +{ + left: 0; + + width: 10px; + min-height: 10px; +} + +.scrollbar-light > .scroll-element.scroll-x .scroll-element_outer +{ + top: 2px; + left: 2px; + + height: 12px; +} + +.scrollbar-light > .scroll-element.scroll-x .scroll-element_size +{ + left: -4px; +} + +.scrollbar-light > .scroll-element.scroll-y .scroll-element_outer +{ + top: 2px; + left: 2px; + + width: 12px; +} + +.scrollbar-light > .scroll-element.scroll-y .scroll-element_size +{ + top: -4px; +} + +/* update scrollbar offset if both scrolls are visible */ +.scrollbar-light > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size +{ + left: -19px; +} + +.scrollbar-light > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size +{ + top: -19px; +} + +.scrollbar-light > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track +{ + left: -19px; +} + +.scrollbar-light > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track +{ + top: -19px; +} + +/*************** SCROLLBAR RAIL ***************/ +.scrollbar-rail > .scroll-element, +.scrollbar-rail > .scroll-element div +{ + position: absolute; + z-index: 10; + + overflow: hidden; + + margin: 0; + padding: 0; + + border: none; +} + +.scrollbar-rail > .scroll-element +{ + background-color: #fff; +} + +.scrollbar-rail > .scroll-element div +{ + top: 0; + left: 0; + + display: block; + + width: 100%; + height: 100%; +} + +.scrollbar-rail > .scroll-element .scroll-element_size +{ + background-color: #999; + background-color: rgba(0, 0, 0, .3); +} + +.scrollbar-rail > .scroll-element .scroll-element_outer:hover .scroll-element_size +{ + background-color: #666; + background-color: rgba(0, 0, 0, .5); +} + +.scrollbar-rail > .scroll-element.scroll-x +{ + bottom: 0; + left: 0; + + width: 100%; + min-width: 100%; + height: 12px; + padding: 3px 0 2px; +} + +.scrollbar-rail > .scroll-element.scroll-y +{ + top: 0; + right: 0; + + width: 12px; + height: 100%; + min-height: 100%; + padding: 0 2px 0 3px; +} + +.scrollbar-rail > .scroll-element .scroll-bar +{ + border-radius: 2px; + background-color: #d0b9a0; + box-shadow: 1px 1px 3px rgba(0, 0, 0, .5); +} + +.scrollbar-rail > .scroll-element .scroll-element_outer:hover .scroll-bar +{ + box-shadow: 1px 1px 3px rgba(0, 0, 0, .6); +} + +/* scrollbar height/width & offset from container borders */ +.scrollbar-rail > .scroll-content.scroll-scrolly_visible +{ + left: -17px; + + margin-left: 17px; +} + +.scrollbar-rail > .scroll-content.scroll-scrollx_visible +{ + top: -17px; + + margin-top: 17px; +} + +.scrollbar-rail > .scroll-element.scroll-x .scroll-bar +{ + top: 1px; + + min-width: 10px; + height: 10px; +} + +.scrollbar-rail > .scroll-element.scroll-y .scroll-bar +{ + left: 1px; + + width: 10px; + min-height: 10px; +} + +.scrollbar-rail > .scroll-element.scroll-x .scroll-element_outer +{ + left: 5px; + + height: 15px; +} + +.scrollbar-rail > .scroll-element.scroll-x .scroll-element_size +{ + top: 5px; + left: -10px; + + height: 2px; +} + +.scrollbar-rail > .scroll-element.scroll-y .scroll-element_outer +{ + top: 5px; + + width: 15px; +} + +.scrollbar-rail > .scroll-element.scroll-y .scroll-element_size +{ + top: -10px; + left: 5px; + + width: 2px; +} + +/* update scrollbar offset if both scrolls are visible */ +.scrollbar-rail > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size +{ + left: -25px; +} + +.scrollbar-rail > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size +{ + top: -25px; +} + +.scrollbar-rail > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track +{ + left: -25px; +} + +.scrollbar-rail > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track +{ + top: -25px; +} + +/*************** SCROLLBAR DYNAMIC ***************/ +.scrollbar-dynamic > .scroll-element, +.scrollbar-dynamic > .scroll-element div +{ + position: absolute; + z-index: 10; + + margin: 0; + padding: 0; + + border: none; + background: none; +} + +.scrollbar-dynamic > .scroll-element div +{ + top: 0; + left: 0; + + display: block; + + width: 100%; + height: 100%; +} + +.scrollbar-dynamic > .scroll-element.scroll-x +{ + bottom: 2px; + left: 0; + + width: 100%; + min-width: 100%; + height: 7px; +} + +.scrollbar-dynamic > .scroll-element.scroll-y +{ + top: 0; + right: 2px; + + width: 7px; + height: 100%; + min-height: 100%; +} + +.scrollbar-dynamic > .scroll-element .scroll-element_outer +{ + opacity: .3; + border-radius: 12px; +} + +.scrollbar-dynamic > .scroll-element .scroll-element_size +{ + transition: opacity .2s; + + opacity: 0; + border-radius: 12px; + background-color: #ccc; +} + +.scrollbar-dynamic > .scroll-element .scroll-bar +{ + border-radius: 7px; + background-color: #6c6e71; +} + +/* scrollbar height/width & offset from container borders */ +.scrollbar-dynamic > .scroll-element.scroll-x .scroll-bar +{ + top: auto; + bottom: 0; + + min-width: 24px; + height: 7px; +} + +.scrollbar-dynamic > .scroll-element.scroll-y .scroll-bar +{ + right: 0; + left: auto; + + width: 7px; + min-height: 24px; +} + +.scrollbar-dynamic > .scroll-element.scroll-x .scroll-element_outer +{ + top: auto; + bottom: 0; + left: 2px; + + transition: height .2s; +} + +.scrollbar-dynamic > .scroll-element.scroll-y .scroll-element_outer +{ + top: 2px; + right: 0; + left: auto; + + transition: width .2s; +} + +.scrollbar-dynamic > .scroll-element.scroll-x .scroll-element_size +{ + left: -4px; +} + +.scrollbar-dynamic > .scroll-element.scroll-y .scroll-element_size +{ + top: -4px; +} + +/* update scrollbar offset if both scrolls are visible */ +.scrollbar-dynamic > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size +{ + left: -11px; +} + +.scrollbar-dynamic > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size +{ + top: -11px; +} + +/* hover & drag */ +.scrollbar-dynamic > .scroll-element:hover .scroll-element_outer, +.scrollbar-dynamic > .scroll-element.scroll-draggable .scroll-element_outer +{ + overflow: hidden; + + opacity: .7; + + -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)'; + filter: alpha(opacity=70); +} + +.scrollbar-dynamic > .scroll-element:hover .scroll-element_outer .scroll-element_size, +.scrollbar-dynamic > .scroll-element.scroll-draggable .scroll-element_outer .scroll-element_size +{ + opacity: 1; +} + +.scrollbar-dynamic > .scroll-element:hover .scroll-element_outer .scroll-bar, +.scrollbar-dynamic > .scroll-element.scroll-draggable .scroll-element_outer .scroll-bar +{ + width: 100%; + height: 100%; + + border-radius: 12px; +} + +.scrollbar-dynamic > .scroll-element.scroll-x:hover .scroll-element_outer, +.scrollbar-dynamic > .scroll-element.scroll-x.scroll-draggable .scroll-element_outer +{ + height: 20px; + min-height: 7px; +} + +.scrollbar-dynamic > .scroll-element.scroll-y:hover .scroll-element_outer, +.scrollbar-dynamic > .scroll-element.scroll-y.scroll-draggable .scroll-element_outer +{ + width: 20px; + min-width: 7px; +} + +/*************** SCROLLBAR GOOGLE CHROME ***************/ +.scrollbar-chrome > .scroll-element, +.scrollbar-chrome > .scroll-element div +{ + position: absolute; + z-index: 10; + + overflow: hidden; + + margin: 0; + padding: 0; + + border: none; +} + +.scrollbar-chrome > .scroll-element +{ + background-color: #fff; +} + +.scrollbar-chrome > .scroll-element div +{ + top: 0; + left: 0; + + display: block; + + width: 100%; + height: 100%; +} + +.scrollbar-chrome > .scroll-element .scroll-element_track +{ + border: 1px solid #dbdbdb; + background: #f1f1f1; +} + +.scrollbar-chrome > .scroll-element.scroll-x +{ + bottom: 0; + left: 0; + + width: 100%; + min-width: 100%; + height: 16px; +} + +.scrollbar-chrome > .scroll-element.scroll-y +{ + top: 0; + right: 0; + + width: 16px; + height: 100%; + min-height: 100%; +} + +.scrollbar-chrome > .scroll-element .scroll-bar +{ + cursor: default; + + border: 1px solid #bdbdbd; + border-radius: 2px; + background-color: #d9d9d9; +} + +.scrollbar-chrome > .scroll-element .scroll-bar:hover +{ + border-color: #a9a9a9; + background-color: #c2c2c2; +} + +.scrollbar-chrome > .scroll-element.scroll-draggable .scroll-bar +{ + border-color: #7e7e7e; + background-color: #919191; +} + +/* scrollbar height/width & offset from container borders */ +.scrollbar-chrome > .scroll-content.scroll-scrolly_visible +{ + left: -16px; + + margin-left: 16px; +} + +.scrollbar-chrome > .scroll-content.scroll-scrollx_visible +{ + top: -16px; + + margin-top: 16px; +} + +.scrollbar-chrome > .scroll-element.scroll-x .scroll-bar +{ + top: 3px; + + min-width: 10px; + height: 8px; +} + +.scrollbar-chrome > .scroll-element.scroll-y .scroll-bar +{ + left: 3px; + + width: 8px; + min-height: 10px; +} + +.scrollbar-chrome > .scroll-element.scroll-x .scroll-element_outer +{ + border-left: 1px solid #dbdbdb; +} + +.scrollbar-chrome > .scroll-element.scroll-x .scroll-element_track +{ + left: -3px; + + height: 14px; +} + +.scrollbar-chrome > .scroll-element.scroll-x .scroll-element_size +{ + left: -4px; + + height: 14px; +} + +.scrollbar-chrome > .scroll-element.scroll-y .scroll-element_outer +{ + border-top: 1px solid #dbdbdb; +} + +.scrollbar-chrome > .scroll-element.scroll-y .scroll-element_track +{ + top: -3px; + + width: 14px; +} + +.scrollbar-chrome > .scroll-element.scroll-y .scroll-element_size +{ + top: -4px; + + width: 14px; +} + +/* update scrollbar offset if both scrolls are visible */ +.scrollbar-chrome > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size +{ + left: -19px; +} + +.scrollbar-chrome > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size +{ + top: -19px; +} + +.scrollbar-chrome > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track +{ + left: -19px; +} + +.scrollbar-chrome > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track +{ + top: -19px; +} + +.scrollbar-inner +{ + height: 100%; +} +.scrollbar-inner:not(:hover) .scroll-element +{ + opacity: 0; +} +.scrollbar-inner .scroll-element +{ + margin-right: 2px; + + transition: opacity 300ms; +} +.scrollbar-inner .scroll-element .scroll-bar, +.scrollbar-inner .scroll-element .scroll-element_track +{ + transition: background-color 300ms; +} +.scrollbar-inner .scroll-element .scroll-element_track +{ + background-color: transparent; +} +.scrollbar-inner .scroll-element:hover +{ + width: 4px; +} +.scrollbar-inner .scroll-element.scroll-y +{ + right: 0; + + width: 3px; +} +.scrollbar-inner .scroll-element.scroll-x +{ + bottom: 0; + + height: 3px; +} + +.select2-selection__arrow +{ + display: none; +} + +.select2.select2-container +{ + width: 100% !important; +} + +.select2-container .select2-selection--single, +.select2-container--default.select2-container--focus .select2-selection--multiple, +.select2-container--default .select2-selection--multiple, +.select2-container--default .select2-search--dropdown .select2-search__field +{ + font-size: 1rem; + line-height: 1.5; + + display: block; + + width: 100%; + height: calc(1.5em + 1.25rem + 2px); + padding: .625rem .75rem; + + transition: all .15s cubic-bezier(.68, -.55, .265, 1.55); + + color: #8898aa; + border: 1px solid #dee2e6; + border-radius: .25rem; + background-color: #fff; + background-clip: padding-box; + box-shadow: 0 3px 2px rgba(233, 236, 239, .05); +} +@media (prefers-reduced-motion: reduce) +{ + .select2-container .select2-selection--single, + .select2-container--default.select2-container--focus .select2-selection--multiple, + .select2-container--default .select2-selection--multiple, + .select2-container--default .select2-search--dropdown .select2-search__field + { + transition: none; + } +} +.select2-container .select2-selection--single::-ms-expand, +.select2-container--default.select2-container--focus .select2-selection--multiple::-ms-expand, +.select2-container--default .select2-selection--multiple::-ms-expand, +.select2-container--default .select2-search--dropdown .select2-search__field::-ms-expand +{ + border: 0; + background-color: transparent; +} +.select2-container .select2-selection--single:focus, +.select2-container--default.select2-container--focus .select2-selection--multiple:focus, +.select2-container--default .select2-selection--multiple:focus, +.select2-container--default .select2-search--dropdown .select2-search__field:focus +{ + color: #8898aa; + border-color: #5e72e4; + outline: 0; + background-color: #fff; + box-shadow: 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1); +} +.select2-container .select2-selection--single::-ms-input-placeholder, +.select2-container--default.select2-container--focus .select2-selection--multiple::-ms-input-placeholder, +.select2-container--default .select2-selection--multiple::-ms-input-placeholder, +.select2-container--default .select2-search--dropdown .select2-search__field::-ms-input-placeholder +{ + opacity: 1; + color: #adb5bd; +} +.select2-container .select2-selection--single::placeholder, +.select2-container--default.select2-container--focus .select2-selection--multiple::placeholder, +.select2-container--default .select2-selection--multiple::placeholder, +.select2-container--default .select2-search--dropdown .select2-search__field::placeholder +{ + opacity: 1; + color: #adb5bd; +} +.select2-container .select2-selection--single:disabled, +.select2-container .select2-selection--single[readonly], +.select2-container--default.select2-container--focus .select2-selection--multiple:disabled, +.select2-container--default.select2-container--focus .select2-selection--multiple[readonly], +.select2-container--default .select2-selection--multiple:disabled, +.select2-container--default .select2-selection--multiple[readonly], +.select2-container--default .select2-search--dropdown .select2-search__field:disabled, +.select2-container--default .select2-search--dropdown .select2-search__field[readonly] +{ + opacity: 1; + background-color: #e9ecef; +} + +.select2-container .select2-selection--single .select2-selection__rendered +{ + overflow: inherit; + + padding: 0; + + white-space: inherit; + text-overflow: inherit; +} + +.select2-container--default .select2-selection--single .select2-selection__rendered +{ + line-height: inherit; + + color: inherit; +} + +.select2-dropdown +{ + padding: .5rem 0; + + border: 1px solid #dee2e6; + border-radius: .4375rem; + background-color: #fff; +} + +.select2-results__option +{ + font-size: .875rem; + + padding: .5rem .75rem; + + color: #212529; + background-color: #fff; +} +.select2-results__option:hover, +.select2-results__option:focus +{ + text-decoration: none; + + color: #16181b; + background-color: #f6f9fc; +} + +.select2-container--default .select2-results__option--highlighted[aria-selected], +.select2-container--default .select2-results__option[aria-selected='true'] +{ + color: #16181b; + background-color: transparent; +} + +.select2-container--default .select2-results__option[aria-disabled=true] +{ + color: #8898aa; +} + +.select2-container--default.select2-container--focus .select2-selection--multiple, +.select2-container--default .select2-selection--multiple +{ + height: auto; + min-height: calc(1.5em + 1.25rem + 2px); +} + +.select2-container--default .select2-selection--multiple .select2-selection__rendered +{ + display: block; + + margin: 0 0 -.25rem -.25rem; + padding: 0; +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice +{ + font-size: .875rem; + line-height: 1.5rem; + + display: inline-flex; + + margin: 0 0 .25rem .25rem; + padding: 0 .5rem; + + color: #8898aa; + border: none; + border-radius: .25rem; + background-color: #adb5bd; +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice__remove +{ + margin-left: .5rem; + + color: #8898aa; + + order: 2; +} +.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover +{ + color: #525f7f; +} + +.select2-container .select2-search--inline +{ + display: none; +} + +.select2-selection[aria-expanded='true'] +{ + border-bottom-right-radius: 0 !important; + border-bottom-left-radius: 0 !important; +} + +.select2-search--dropdown +{ + padding: .5rem .75rem; +} + +.select2-container--default .select2-search--dropdown .select2-search__field +{ + font-size: .875rem; + line-height: 1.5; + + padding: .25rem .5rem; + + border-radius: .25rem; +} + +.form-control-sm + .select2-container .select2-selection--single, +.form-control-sm + .select2-container--default.select2-container--focus .select2-selection--multiple, +.form-control-sm + .select2-container--default .select2-selection--multiple +{ + font-size: .875rem; + line-height: 1.5; + + height: calc(1.5em + .5rem + 2px); + padding: .25rem .5rem; + + border-radius: .25rem; +} + +.form-control-sm + .select2-container--default.select2-container--focus .select2-selection--multiple, +.form-control-sm + .select2-container--default .select2-selection--multiple +{ + min-height: calc(1.5em + .5rem + 2px); +} + +.form-control-sm + .select2-container--default .select2-selection--multiple .select2-selection__choice +{ + line-height: 1.3125rem; +} + +.form-control-lg + .select2-container .select2-selection--single, +.form-control-lg + .select2-container--default.select2-container--focus .select2-selection--multiple, +.form-control-lg + .select2-container--default .select2-selection--multiple +{ + font-size: 1.25rem; + line-height: 1.5; + + height: calc(1.5em + 1.75rem + 2px); + padding: .875rem 1rem; + + border-radius: .4375rem; +} + +.form-control-lg + .select2-container--default.select2-container--focus .select2-selection--multiple, +.form-control-lg + .select2-container--default .select2-selection--multiple +{ + min-height: calc(1.5em + 1.75rem + 2px); +} + +.form-control-lg + .select2-container--default .select2-selection--multiple .select2-selection__choice +{ + line-height: 1.875rem; +} + +.swal2-popup +{ + padding: 1.5rem; +} +.swal2-popup .swal2-title +{ + font-size: 1.5rem; +} +.swal2-popup .swal2-content +{ + font-size: .875rem; +} +.swal2-popup .swal2-image +{ + max-width: 200px; +} + +.sr-only, +.bootstrap-datetimepicker-widget .btn[data-action='incrementHours']::after, +.bootstrap-datetimepicker-widget .btn[data-action='incrementMinutes']::after, +.bootstrap-datetimepicker-widget .btn[data-action='decrementHours']::after, +.bootstrap-datetimepicker-widget .btn[data-action='decrementMinutes']::after, +.bootstrap-datetimepicker-widget .btn[data-action='showHours']::after, +.bootstrap-datetimepicker-widget .btn[data-action='showMinutes']::after, +.bootstrap-datetimepicker-widget .btn[data-action='togglePeriod']::after, +.bootstrap-datetimepicker-widget .btn[data-action='clear']::after, +.bootstrap-datetimepicker-widget .btn[data-action='today']::after, +.bootstrap-datetimepicker-widget .picker-switch::after, +.bootstrap-datetimepicker-widget table th.prev::after, +.bootstrap-datetimepicker-widget table th.next::after +{ + position: absolute; + + overflow: hidden; + clip: rect(0, 0, 0, 0); + + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + + border: 0; +} + +.bootstrap-datetimepicker-widget +{ + list-style: none; +} + +.bootstrap-datetimepicker-widget a .btn:hover +{ + background-color: transparent; +} + +.bootstrap-datetimepicker-widget.dropdown-menu +{ + width: 254px; + max-width: 254px; + padding: 8px 6px; +} +.bootstrap-datetimepicker-widget.dropdown-menu .tim-icons +{ + opacity: 1; +} +.bootstrap-datetimepicker-widget.dropdown-menu .picker-switch .table-condensed:hover +{ + border-radius: 3px; + background: #eee; +} +.bootstrap-datetimepicker-widget.dropdown-menu .timepicker-picker .table-condensed +{ + margin-top: 10px; + margin-bottom: 5px; +} +.bootstrap-datetimepicker-widget.dropdown-menu .timepicker-picker .table-condensed .btn[data-action='togglePeriod']:hover, +.bootstrap-datetimepicker-widget.dropdown-menu .timepicker-picker .table-condensed .separator +{ + color: #9a9a9a !important; +} +.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .month, +.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .year, +.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .decade +{ + color: #9a9a9a; +} +.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .month.active, +.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .year.active, +.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .decade.active +{ + color: #fff; +} + +@media (min-width: 768px) +{ + .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs + { + width: 38em; + } +} + +@media (min-width: 992px) +{ + .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs + { + width: 38em; + } +} + +@media (min-width: 1200px) +{ + .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs + { + width: 38em; + } +} + +.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before +{ + position: absolute; + right: auto; + + display: inline-block; + + width: 0; + height: 0; + + content: ''; + vertical-align: middle; + + border-right: .4em solid transparent; + border-bottom: .4em solid; + border-left: .4em solid transparent; +} + +.bootstrap-datetimepicker-widget.dropdown-menu.top:before +{ + display: none; +} + +.bootstrap-datetimepicker-widget.dropdown-menu.top:after +{ + position: absolute; + top: auto; + right: auto; + bottom: -6px; + left: 10px; + + display: inline-block; + + width: 0; + height: 0; + + content: ''; + vertical-align: middle; + + color: #fff; + border-top: .4em solid; + border-right: .4em solid transparent; + border-left: .4em solid transparent; +} + +.bootstrap-datetimepicker-widget.dropdown-menu.top +{ + margin-top: auto; +} + +.bootstrap-datetimepicker-widget.dropdown-menu.top.open +{ + margin-top: auto; +} + +.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before +{ + right: 6px; + left: auto; +} + +.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after +{ + right: 7px; + left: auto; +} + +.bootstrap-datetimepicker-widget .list-unstyled +{ + margin: 0; +} + +.bootstrap-datetimepicker-widget a[data-action] +{ + padding: 0; + + color: #fff; + border-width: 0; +} + +.bootstrap-datetimepicker-widget a[data-action='togglePicker'], +.bootstrap-datetimepicker-widget a[data-action='togglePicker']:hover +{ + color: #5e72e4; +} + +.bootstrap-datetimepicker-widget a[data-action]:active +{ + box-shadow: none; +} + +.bootstrap-datetimepicker-widget .timepicker-hour, +.bootstrap-datetimepicker-widget .timepicker-minute, +.bootstrap-datetimepicker-widget .timepicker-second +{ + font-size: 1.5em; + font-weight: 300; + line-height: 40px; + + width: 40px; + height: 40px; + margin: 3px; + + color: #9a9a9a; + border-radius: 50%; +} + +.bootstrap-datetimepicker-widget button[data-action] +{ + width: 38px; + height: 38px; + padding: 0; + + box-shadow: 0 1px 10px 0 rgba(0, 0, 0, .2); +} + +.bootstrap-datetimepicker-widget .btn +{ + margin: 0 !important; +} + +.bootstrap-datetimepicker-widget .btn[data-action='incrementHours']::after +{ + content: 'Increment Hours'; +} + +.bootstrap-datetimepicker-widget .btn[data-action='incrementMinutes']::after +{ + content: 'Increment Minutes'; +} + +.bootstrap-datetimepicker-widget .btn[data-action='decrementHours']::after +{ + content: 'Decrement Hours'; +} + +.bootstrap-datetimepicker-widget .btn[data-action='decrementMinutes']::after +{ + content: 'Decrement Minutes'; +} + +.bootstrap-datetimepicker-widget .btn[data-action='showHours']::after +{ + content: 'Show Hours'; +} + +.bootstrap-datetimepicker-widget .btn[data-action='showMinutes']::after +{ + content: 'Show Minutes'; +} + +.bootstrap-datetimepicker-widget .btn[data-action='togglePeriod']::after +{ + content: 'Toggle AM/PM'; +} + +.bootstrap-datetimepicker-widget .btn[data-action='clear']::after +{ + content: 'Clear the picker'; +} + +.bootstrap-datetimepicker-widget .btn[data-action='today']::after +{ + content: 'Set the date to today'; +} + +.bootstrap-datetimepicker-widget .picker-switch +{ + text-align: center; + + color: #5e72e4; + border-radius: 3px; +} + +.bootstrap-datetimepicker-widget .picker-switch::after +{ + content: 'Toggle Date and Time Screens'; +} + +.bootstrap-datetimepicker-widget .picker-switch td +{ + line-height: inherit; + + width: auto; + height: auto; + margin: 0; + padding: 0; +} + +.bootstrap-datetimepicker-widget .picker-switch td span +{ + line-height: 2.5; + + width: 100%; + height: 2.5em; + margin: 2px 0 !important; + + border-radius: 3px; +} + +.bootstrap-datetimepicker-widget table +{ + width: 100%; + margin: 0; + + text-align: center; +} + +.bootstrap-datetimepicker-widget table td > div, +.bootstrap-datetimepicker-widget table th > div +{ + text-align: center; +} + +.bootstrap-datetimepicker-widget table th +{ + font-weight: 300; + line-height: 20px; + + width: 20px; + height: 20px; +} + +.bootstrap-datetimepicker-widget table th.picker-switch +{ + width: 145px; +} + +.bootstrap-datetimepicker-widget table th.disabled, +.bootstrap-datetimepicker-widget table th.disabled:hover +{ + cursor: not-allowed; + + color: #cfcfca; + background: none; +} + +.bootstrap-datetimepicker-widget table th.prev span, +.bootstrap-datetimepicker-widget table th.next span +{ + font-size: 12px; + line-height: 28px; + + width: 27px; + height: 27px; + + text-align: center; + + color: #5e72e4; + border-radius: 4px; + border-radius: 50%; +} + +.bootstrap-datetimepicker-widget table th.prev::after +{ + content: 'Previous Month'; +} + +.bootstrap-datetimepicker-widget table th.next::after +{ + content: 'Next Month'; +} + +.bootstrap-datetimepicker-widget table th.dow +{ + padding-top: 10px; + padding-bottom: 5px; + + text-align: center; + + color: #5e72e4; +} + +.bootstrap-datetimepicker-widget table thead tr:first-child th +{ + cursor: pointer; +} + +.bootstrap-datetimepicker-widget table thead tr:first-child th:hover span, +.bootstrap-datetimepicker-widget table thead tr:first-child th.picker-switch:hover +{ + background: #eee; +} + +.bootstrap-datetimepicker-widget table td.cw > div +{ + font-size: .8em; + line-height: 20px; + + height: 20px; + + color: #cfcfca; +} + +.bootstrap-datetimepicker-widget table td.day > div, +.bootstrap-datetimepicker-widget table td.minute > div, +.bootstrap-datetimepicker-widget table td.hour > div +{ + font-size: 14px; + font-weight: 300; + line-height: 2.2; + + position: relative; + z-index: -1; + + width: 30px; + height: 30px; + margin: 0 auto; + padding: 0; + + cursor: pointer; + transition: all 300ms ease 0s; + text-align: center; + + color: #9a9a9a; + border: none; + border-radius: 50%; +} + +.bootstrap-datetimepicker-widget table td.day:hover > div, +.bootstrap-datetimepicker-widget table td.hour:hover > div, +.bootstrap-datetimepicker-widget table td.minute:hover > div, +.bootstrap-datetimepicker-widget table td.second:hover > div +{ + cursor: pointer; + + background: #eee; +} + +.bootstrap-datetimepicker-widget table td.old > div, +.bootstrap-datetimepicker-widget table td.new > div +{ + color: #172b4d; +} + +.bootstrap-datetimepicker-widget table td.today, +.bootstrap-datetimepicker-widget table td.day +{ + background: transparent !important; +} + +.bootstrap-datetimepicker-widget table td.today > div:before +{ + position: absolute; + right: 4px; + bottom: 4px; + + display: inline-block; + + content: ''; + + border: 0 0 7px 7px solid transparent; + border-top-color: rgba(0, 0, 0, .2); + border-bottom-color: #68b3c8; +} + +.bootstrap-datetimepicker-widget table td.active > div, +.bootstrap-datetimepicker-widget table td.active:hover > div +{ + color: #fff; + background-color: #5e72e4; + box-shadow: 0 1px 10px 0 rgba(0, 0, 0, .2); +} + +.bootstrap-datetimepicker-widget table td.active.today:before > div +{ + border-bottom-color: #fff; +} + +.bootstrap-datetimepicker-widget table td.disabled > div, +.bootstrap-datetimepicker-widget table td.disabled:hover > div +{ + cursor: not-allowed; + + color: #cfcfca; + background: none; +} + +.bootstrap-datetimepicker-widget table td span +{ + line-height: 40px; + + display: inline-block; + + width: 40px; + height: 40px; + margin: 0 3px; + + cursor: pointer; + text-align: center; + + border-radius: 50%; +} + +.bootstrap-datetimepicker-widget table td span.active +{ + color: #fff; + background-color: #5e72e4; +} + +.bootstrap-datetimepicker-widget table td span.old +{ + color: #cfcfca; +} + +.bootstrap-datetimepicker-widget table td span.disabled, +.bootstrap-datetimepicker-widget table td span.disabled:hover +{ + cursor: not-allowed; + + color: #cfcfca; + background: none; +} + +.bootstrap-datetimepicker-widget .timepicker-picker span, +.bootstrap-datetimepicker-widget .timepicker-hours span, +.bootstrap-datetimepicker-widget .timepicker-minutes span +{ + border-radius: 50% !important; +} + +.bootstrap-datetimepicker-widget.usetwentyfour td.hour +{ + line-height: 27px; + + height: 27px; +} + +.input-group.date .input-group-addon +{ + cursor: pointer; +} + +.table-condensed > tbody > tr > td, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > td, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > thead > tr > th +{ + z-index: 1; + + padding: 1px; + + cursor: pointer; + text-align: center; +} + +.bootstrap-datetimepicker-widget .separator +{ + position: relative; + + width: auto; + height: auto; + + color: red; +} + +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget .picker-switch, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table th.prev span, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table th.next span, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td.day > div, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget a[data-action='togglePicker'], +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget a[data-action='togglePicker']:hover, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget span, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget .timepicker-hours span, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget .timepicker-minutes span, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget .separator, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td.minute > div, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td.hour > div +{ + color: #9a9a9a; +} + +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table th.dow +{ + color: rgba(255, 255, 255, .8); +} + +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td.old > div, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td.new > div +{ + color: rgba(255, 255, 255, .4); +} + +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget button[data-action] +{ + background-color: #fff; +} + +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td.active > div, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td.active:hover > div +{ + background-color: #fff; +} + +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td:not(.active).day:hover > div, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td.hour:hover > div, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td.minute:hover > div, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td.second:hover > div, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table td span:hover +{ + background: rgba(255, 255, 255, .2); +} + +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table thead tr:first-child th:hover span, +input.datetimepicker[data-color] + .bootstrap-datetimepicker-widget table thead tr:first-child th.picker-switch:hover +{ + background-color: rgba(255, 255, 255, .2); +} + +input.datetimepicker[data-color='orange'] + .bootstrap-datetimepicker-widget +{ + background-color: #5e72e4; +} +input.datetimepicker[data-color='orange'] + .bootstrap-datetimepicker-widget table td.active > div, +input.datetimepicker[data-color='orange'] + .bootstrap-datetimepicker-widget table td.active:hover > div, +input.datetimepicker[data-color='orange'] + .bootstrap-datetimepicker-widget button[data-action], +input.datetimepicker[data-color='orange'] + .bootstrap-datetimepicker-widget.dropdown-menu.top:after, +input.datetimepicker[data-color='orange'] + .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before +{ + color: #5e72e4; +} + +input.datetimepicker[data-color='blue'] + .bootstrap-datetimepicker-widget +{ + background-color: #11cdef; +} +input.datetimepicker[data-color='blue'] + .bootstrap-datetimepicker-widget table td.active > div, +input.datetimepicker[data-color='blue'] + .bootstrap-datetimepicker-widget table td.active:hover > div, +input.datetimepicker[data-color='blue'] + .bootstrap-datetimepicker-widget button[data-action], +input.datetimepicker[data-color='blue'] + .bootstrap-datetimepicker-widget.dropdown-menu.top:after, +input.datetimepicker[data-color='blue'] + .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before +{ + color: #11cdef; +} + +input.datetimepicker[data-color='green'] + .bootstrap-datetimepicker-widget +{ + background-color: #2dce89; +} +input.datetimepicker[data-color='green'] + .bootstrap-datetimepicker-widget table td.active > div, +input.datetimepicker[data-color='green'] + .bootstrap-datetimepicker-widget table td.active:hover > div, +input.datetimepicker[data-color='green'] + .bootstrap-datetimepicker-widget button[data-action], +input.datetimepicker[data-color='green'] + .bootstrap-datetimepicker-widget.dropdown-menu.top:after, +input.datetimepicker[data-color='green'] + .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before +{ + color: #2dce89; +} + +input.datetimepicker[data-color='red'] + .bootstrap-datetimepicker-widget +{ + background-color: #f5365c; +} +input.datetimepicker[data-color='red'] + .bootstrap-datetimepicker-widget table td.active > div, +input.datetimepicker[data-color='red'] + .bootstrap-datetimepicker-widget table td.active:hover > div, +input.datetimepicker[data-color='red'] + .bootstrap-datetimepicker-widget button[data-action], +input.datetimepicker[data-color='red'] + .bootstrap-datetimepicker-widget.dropdown-menu.top:after, +input.datetimepicker[data-color='red'] + .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before +{ + color: #f5365c; +} + +input.datetimepicker[data-color='yellow'] + .bootstrap-datetimepicker-widget +{ + background-color: #fb6340; +} +input.datetimepicker[data-color='yellow'] + .bootstrap-datetimepicker-widget table td.active > div, +input.datetimepicker[data-color='yellow'] + .bootstrap-datetimepicker-widget table td.active:hover > div, +input.datetimepicker[data-color='yellow'] + .bootstrap-datetimepicker-widget button[data-action], +input.datetimepicker[data-color='yellow'] + .bootstrap-datetimepicker-widget.dropdown-menu.top:after, +input.datetimepicker[data-color='yellow'] + .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before +{ + color: #fb6340; +} + +.bootstrap-datetimepicker-widget.dropdown-black .datepicker-days .day, +.bootstrap-datetimepicker-widget.dropdown-black .datepicker-days .minute +{ + color: rgba(255, 255, 255, .7); +} +.bootstrap-datetimepicker-widget.dropdown-black .datepicker-days .day:hover, +.bootstrap-datetimepicker-widget.dropdown-black .datepicker-days .minute:hover +{ + color: #212529; +} + +.bootstrap-datetimepicker-widget.dropdown-black table td span, +.bootstrap-datetimepicker-widget.dropdown-black table td.minute, +.bootstrap-datetimepicker-widget.dropdown-black table td.hour +{ + color: rgba(255, 255, 255, .7); +} + +.bootstrap-datetimepicker-widget.dropdown-black table td span:hover, +.bootstrap-datetimepicker-widget.dropdown-black table td.minute:hover, +.bootstrap-datetimepicker-widget.dropdown-black table td.hour:hover +{ + color: rgba(255, 255, 255, .4); + background: transparent; +} +.bootstrap-datetimepicker-widget.dropdown-black table td span:hover div, +.bootstrap-datetimepicker-widget.dropdown-black table td.minute:hover div, +.bootstrap-datetimepicker-widget.dropdown-black table td.hour:hover div +{ + background: transparent; +} + +.bootstrap-datetimepicker-widget.dropdown-black table td .btn[data-action] +{ + color: #fff; +} + +.bootstrap-datetimepicker-widget.dropdown-black table td .btn[data-action='togglePeriod'] +{ + background: transparent; +} diff --git a/yaksh/static/yaksh/css/argon.min.css b/yaksh/static/yaksh/css/argon.min.css new file mode 100644 index 0000000..d758ee0 --- /dev/null +++ b/yaksh/static/yaksh/css/argon.min.css @@ -0,0 +1,20 @@ +@charset 'UTF-8';/*! + +========================================================= +* Argon Dashboard - v1.2.0 +========================================================= + +* Product Page: https://www.creative-tim.com/product/argon-dashboard +* Copyright 2020 Creative Tim (https://www.creative-tim.com) +* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard/blob/master/LICENSE.md) + +* Coded by www.creative-tim.com + +========================================================= + +* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +*/:root{--blue:#5e72e4;--indigo:#5603ad;--purple:#8965e0;--pink:#f3a4b5;--red:#f5365c;--orange:#fb6340;--yellow:#ffd600;--green:#2dce89;--teal:#11cdef;--cyan:#2bffc6;--white:#fff;--gray:#8898aa;--gray-dark:#32325d;--light:#ced4da;--lighter:#e9ecef;--primary:#5e72e4;--secondary:#f7fafc;--success:#2dce89;--info:#11cdef;--warning:#fb6340;--danger:#f5365c;--light:#adb5bd;--dark:#212529;--default:#172b4d;--white:#fff;--neutral:#fff;--darker:black;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:Open Sans,sans-serif;--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace}*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{font-family:Open Sans,sans-serif;font-size:1rem;font-weight:400;line-height:1.5;margin:0;text-align:left;color:#525f7f;background-color:#f8f9fe}[tabindex='-1']:focus:not(:focus-visible){outline:0!important}hr{overflow:visible;box-sizing:content-box;height:0}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{cursor:help;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;-webkit-text-decoration:underline dotted;text-decoration-skip-ink:none}address{font-style:normal;line-height:inherit;margin-bottom:1rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:600}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{text-decoration:none;color:#5e72e4;background-color:transparent}a:hover{text-decoration:none;color:#233dd2}a:not([href]){text-decoration:none;color:inherit}a:not([href]):hover{text-decoration:none;color:inherit}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:1em}pre{overflow:auto;margin-top:0;margin-bottom:1rem}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:1rem;padding-bottom:1rem;caption-side:bottom;text-align:left;color:#8898aa}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{font-size:1.5rem;line-height:inherit;display:block;width:100%;max-width:100%;margin-bottom:.5rem;padding:0;white-space:normal;color:inherit}@media (max-width:1200px){legend{font-size:calc(1.275rem + .3vw)}}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:600;line-height:1.5;margin-bottom:.5rem;color:#32325d}.h1,h1{font-size:1.625rem}@media (max-width:1200px){.h1,h1{font-size:calc(1.2875rem + .45vw)}}.h2,h2{font-size:1.25rem}.h3,h3{font-size:1.0625rem}.h4,h4{font-size:.9375rem}.h5,h5{font-size:.8125rem}.h6,h6{font-size:.625rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:3.3rem;font-weight:600;line-height:1.5}@media (max-width:1200px){.display-1{font-size:calc(1.455rem + 2.46vw)}}.display-2{font-size:2.75rem;font-weight:600;line-height:1.5}@media (max-width:1200px){.display-2{font-size:calc(1.4rem + 1.8vw)}}.display-3{font-size:2.1875rem;font-weight:600;line-height:1.5}@media (max-width:1200px){.display-3{font-size:calc(1.34375rem + 1.125vw)}}.display-4{font-size:1.6275rem;font-weight:600;line-height:1.5}@media (max-width:1200px){.display-4{font-size:calc(1.28775rem + .453vw)}}hr{margin-top:2rem;margin-bottom:2rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{font-size:1.25rem;margin-bottom:1rem}.blockquote-footer{font-size:80%;display:block;color:#8898aa}.blockquote-footer::before{content:'\2014\00A0'}.img-fluid{max-width:100%;height:auto}.img-thumbnail{max-width:100%;height:auto;padding:.25rem;border:1px solid #dee2e6;border-radius:.375rem;background-color:#f8f9fe;box-shadow:0 1px 2px rgba(0,0,0,.075)}.figure{display:inline-block}.figure-img{line-height:1;margin-bottom:.5rem}.figure-caption{font-size:90%;color:#8898aa}code{font-size:87.5%;word-wrap:break-word;color:#f3a4b5}a>code{color:inherit}kbd{font-size:87.5%;padding:.2rem .4rem;color:#fff;border-radius:.25rem;background-color:#212529;box-shadow:inset 0 -.1rem 0 rgba(0,0,0,.25)}kbd kbd{font-size:100%;font-weight:600;padding:0;box-shadow:none}pre{font-size:87.5%;display:block;color:#212529}pre code{font-size:inherit;word-break:normal;color:inherit}.pre-scrollable{overflow-y:scroll;max-height:340px}.container{width:100%;margin-right:auto;margin-left:auto;padding-right:15px;padding-left:15px}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{width:100%;margin-right:auto;margin-left:auto;padding-right:15px;padding-left:15px}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:flex;margin-right:-15px;margin-left:-15px;flex-wrap:wrap}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{max-width:100%;flex-basis:0;flex-grow:1}.row-cols-1>*{max-width:100%;flex:0 0 100%}.row-cols-2>*{max-width:50%;flex:0 0 50%}.row-cols-3>*{max-width:33.33333%;flex:0 0 33.33333%}.row-cols-4>*{max-width:25%;flex:0 0 25%}.row-cols-5>*{max-width:20%;flex:0 0 20%}.row-cols-6>*{max-width:16.66667%;flex:0 0 16.66667%}.col-auto{width:auto;max-width:100%;flex:0 0 auto}.col-1{max-width:8.33333%;flex:0 0 8.33333%}.col-2{max-width:16.66667%;flex:0 0 16.66667%}.col-3{max-width:25%;flex:0 0 25%}.col-4{max-width:33.33333%;flex:0 0 33.33333%}.col-5{max-width:41.66667%;flex:0 0 41.66667%}.col-6{max-width:50%;flex:0 0 50%}.col-7{max-width:58.33333%;flex:0 0 58.33333%}.col-8{max-width:66.66667%;flex:0 0 66.66667%}.col-9{max-width:75%;flex:0 0 75%}.col-10{max-width:83.33333%;flex:0 0 83.33333%}.col-11{max-width:91.66667%;flex:0 0 91.66667%}.col-12{max-width:100%;flex:0 0 100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.33333%}.offset-2{margin-left:16.66667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333%}.offset-5{margin-left:41.66667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333%}.offset-8{margin-left:66.66667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333%}.offset-11{margin-left:91.66667%}@media (min-width:576px){.col-sm{max-width:100%;flex-basis:0;flex-grow:1}.row-cols-sm-1>*{max-width:100%;flex:0 0 100%}.row-cols-sm-2>*{max-width:50%;flex:0 0 50%}.row-cols-sm-3>*{max-width:33.33333%;flex:0 0 33.33333%}.row-cols-sm-4>*{max-width:25%;flex:0 0 25%}.row-cols-sm-5>*{max-width:20%;flex:0 0 20%}.row-cols-sm-6>*{max-width:16.66667%;flex:0 0 16.66667%}.col-sm-auto{width:auto;max-width:100%;flex:0 0 auto}.col-sm-1{max-width:8.33333%;flex:0 0 8.33333%}.col-sm-2{max-width:16.66667%;flex:0 0 16.66667%}.col-sm-3{max-width:25%;flex:0 0 25%}.col-sm-4{max-width:33.33333%;flex:0 0 33.33333%}.col-sm-5{max-width:41.66667%;flex:0 0 41.66667%}.col-sm-6{max-width:50%;flex:0 0 50%}.col-sm-7{max-width:58.33333%;flex:0 0 58.33333%}.col-sm-8{max-width:66.66667%;flex:0 0 66.66667%}.col-sm-9{max-width:75%;flex:0 0 75%}.col-sm-10{max-width:83.33333%;flex:0 0 83.33333%}.col-sm-11{max-width:91.66667%;flex:0 0 91.66667%}.col-sm-12{max-width:100%;flex:0 0 100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333%}.offset-sm-2{margin-left:16.66667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333%}.offset-sm-5{margin-left:41.66667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333%}.offset-sm-8{margin-left:66.66667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333%}.offset-sm-11{margin-left:91.66667%}}@media (min-width:768px){.col-md{max-width:100%;flex-basis:0;flex-grow:1}.row-cols-md-1>*{max-width:100%;flex:0 0 100%}.row-cols-md-2>*{max-width:50%;flex:0 0 50%}.row-cols-md-3>*{max-width:33.33333%;flex:0 0 33.33333%}.row-cols-md-4>*{max-width:25%;flex:0 0 25%}.row-cols-md-5>*{max-width:20%;flex:0 0 20%}.row-cols-md-6>*{max-width:16.66667%;flex:0 0 16.66667%}.col-md-auto{width:auto;max-width:100%;flex:0 0 auto}.col-md-1{max-width:8.33333%;flex:0 0 8.33333%}.col-md-2{max-width:16.66667%;flex:0 0 16.66667%}.col-md-3{max-width:25%;flex:0 0 25%}.col-md-4{max-width:33.33333%;flex:0 0 33.33333%}.col-md-5{max-width:41.66667%;flex:0 0 41.66667%}.col-md-6{max-width:50%;flex:0 0 50%}.col-md-7{max-width:58.33333%;flex:0 0 58.33333%}.col-md-8{max-width:66.66667%;flex:0 0 66.66667%}.col-md-9{max-width:75%;flex:0 0 75%}.col-md-10{max-width:83.33333%;flex:0 0 83.33333%}.col-md-11{max-width:91.66667%;flex:0 0 91.66667%}.col-md-12{max-width:100%;flex:0 0 100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333%}.offset-md-2{margin-left:16.66667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333%}.offset-md-5{margin-left:41.66667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333%}.offset-md-8{margin-left:66.66667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333%}.offset-md-11{margin-left:91.66667%}}@media (min-width:992px){.col-lg{max-width:100%;flex-basis:0;flex-grow:1}.row-cols-lg-1>*{max-width:100%;flex:0 0 100%}.row-cols-lg-2>*{max-width:50%;flex:0 0 50%}.row-cols-lg-3>*{max-width:33.33333%;flex:0 0 33.33333%}.row-cols-lg-4>*{max-width:25%;flex:0 0 25%}.row-cols-lg-5>*{max-width:20%;flex:0 0 20%}.row-cols-lg-6>*{max-width:16.66667%;flex:0 0 16.66667%}.col-lg-auto{width:auto;max-width:100%;flex:0 0 auto}.col-lg-1{max-width:8.33333%;flex:0 0 8.33333%}.col-lg-2{max-width:16.66667%;flex:0 0 16.66667%}.col-lg-3{max-width:25%;flex:0 0 25%}.col-lg-4{max-width:33.33333%;flex:0 0 33.33333%}.col-lg-5{max-width:41.66667%;flex:0 0 41.66667%}.col-lg-6{max-width:50%;flex:0 0 50%}.col-lg-7{max-width:58.33333%;flex:0 0 58.33333%}.col-lg-8{max-width:66.66667%;flex:0 0 66.66667%}.col-lg-9{max-width:75%;flex:0 0 75%}.col-lg-10{max-width:83.33333%;flex:0 0 83.33333%}.col-lg-11{max-width:91.66667%;flex:0 0 91.66667%}.col-lg-12{max-width:100%;flex:0 0 100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333%}.offset-lg-2{margin-left:16.66667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333%}.offset-lg-5{margin-left:41.66667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333%}.offset-lg-8{margin-left:66.66667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333%}.offset-lg-11{margin-left:91.66667%}}@media (min-width:1200px){.col-xl{max-width:100%;flex-basis:0;flex-grow:1}.row-cols-xl-1>*{max-width:100%;flex:0 0 100%}.row-cols-xl-2>*{max-width:50%;flex:0 0 50%}.row-cols-xl-3>*{max-width:33.33333%;flex:0 0 33.33333%}.row-cols-xl-4>*{max-width:25%;flex:0 0 25%}.row-cols-xl-5>*{max-width:20%;flex:0 0 20%}.row-cols-xl-6>*{max-width:16.66667%;flex:0 0 16.66667%}.col-xl-auto{width:auto;max-width:100%;flex:0 0 auto}.col-xl-1{max-width:8.33333%;flex:0 0 8.33333%}.col-xl-2{max-width:16.66667%;flex:0 0 16.66667%}.col-xl-3{max-width:25%;flex:0 0 25%}.col-xl-4{max-width:33.33333%;flex:0 0 33.33333%}.col-xl-5{max-width:41.66667%;flex:0 0 41.66667%}.col-xl-6{max-width:50%;flex:0 0 50%}.col-xl-7{max-width:58.33333%;flex:0 0 58.33333%}.col-xl-8{max-width:66.66667%;flex:0 0 66.66667%}.col-xl-9{max-width:75%;flex:0 0 75%}.col-xl-10{max-width:83.33333%;flex:0 0 83.33333%}.col-xl-11{max-width:91.66667%;flex:0 0 91.66667%}.col-xl-12{max-width:100%;flex:0 0 100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333%}.offset-xl-2{margin-left:16.66667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333%}.offset-xl-5{margin-left:41.66667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333%}.offset-xl-8{margin-left:66.66667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333%}.offset-xl-11{margin-left:91.66667%}}.table{width:100%;margin-bottom:1rem;color:#525f7f;background-color:transparent}.table td,.table th{padding:1rem;vertical-align:top;border-top:1px solid #e9ecef}.table thead th{vertical-align:bottom;border-bottom:2px solid #e9ecef}.table tbody+tbody{border-top:2px solid #e9ecef}.table-sm td,.table-sm th{padding:.5rem}.table-bordered{border:1px solid #e9ecef}.table-bordered td,.table-bordered th{border:1px solid #e9ecef}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(246,249,252,.3)}.table-hover tbody tr:hover{color:#525f7f;background-color:#f6f9fc}.table-primary,.table-primary>td,.table-primary>th{background-color:#d2d8f7}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#abb6f1}.table-hover .table-primary:hover{background-color:#bcc5f3}.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#bcc5f3}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#fdfefe}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#fbfcfd}.table-hover .table-secondary:hover{background-color:#ecf6f6}.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#ecf6f6}.table-success,.table-success>td,.table-success>th{background-color:#c4f1de}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#92e6c2}.table-hover .table-success:hover{background-color:#afecd2}.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#afecd2}.table-info,.table-info>td,.table-info>th{background-color:#bcf1fb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#83e5f7}.table-hover .table-info:hover{background-color:#a4ecfa}.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#a4ecfa}.table-warning,.table-warning>td,.table-warning>th{background-color:#fed3ca}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#fdae9c}.table-hover .table-warning:hover{background-color:#febeb1}.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#febeb1}.table-danger,.table-danger>td,.table-danger>th{background-color:#fcc7d1}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#fa96aa}.table-hover .table-danger:hover{background-color:#fbafbd}.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#fbafbd}.table-light,.table-light>td,.table-light>th{background-color:#e8eaed}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#d4d9dd}.table-hover .table-light:hover{background-color:#dadde2}.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#dadde2}.table-dark,.table-dark>td,.table-dark>th{background-color:#c1c2c3}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#8c8e90}.table-hover .table-dark:hover{background-color:#b4b5b6}.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b4b5b6}.table-default,.table-default>td,.table-default>th{background-color:#bec4cd}.table-default tbody+tbody,.table-default td,.table-default th,.table-default thead th{border-color:#8691a2}.table-hover .table-default:hover{background-color:#b0b7c2}.table-hover .table-default:hover>td,.table-hover .table-default:hover>th{background-color:#b0b7c2}.table-white,.table-white>td,.table-white>th{background-color:#fff}.table-white tbody+tbody,.table-white td,.table-white th,.table-white thead th{border-color:#fff}.table-hover .table-white:hover{background-color:#f2f2f2}.table-hover .table-white:hover>td,.table-hover .table-white:hover>th{background-color:#f2f2f2}.table-neutral,.table-neutral>td,.table-neutral>th{background-color:#fff}.table-neutral tbody+tbody,.table-neutral td,.table-neutral th,.table-neutral thead th{border-color:#fff}.table-hover .table-neutral:hover{background-color:#f2f2f2}.table-hover .table-neutral:hover>td,.table-hover .table-neutral:hover>th{background-color:#f2f2f2}.table-darker,.table-darker>td,.table-darker>th{background-color:#b8b8b8}.table-darker tbody+tbody,.table-darker td,.table-darker th,.table-darker thead th{border-color:#7a7a7a}.table-hover .table-darker:hover{background-color:#ababab}.table-hover .table-darker:hover>td,.table-hover .table-darker:hover>th{background-color:#ababab}.table-active,.table-active>td,.table-active>th{background-color:#f6f9fc}.table-hover .table-active:hover{background-color:#e3ecf6}.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:#e3ecf6}.table .thead-dark th{color:#f8f9fe;border-color:#1f3a68;background-color:#172b4d}.table .thead-light th{color:#8898aa;border-color:#e9ecef;background-color:#f6f9fc}.table-dark{color:#f8f9fe;background-color:#172b4d}.table-dark td,.table-dark th,.table-dark thead th{border-color:#1f3a68}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,.05)}.table-dark.table-hover tbody tr:hover{color:#f8f9fe;background-color:rgba(255,255,255,.075)}@media (max-width:575.98px){.table-responsive-sm{display:block;overflow-x:auto;width:100%;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width:767.98px){.table-responsive-md{display:block;overflow-x:auto;width:100%;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width:991.98px){.table-responsive-lg{display:block;overflow-x:auto;width:100%;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width:1199.98px){.table-responsive-xl{display:block;overflow-x:auto;width:100%;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;overflow-x:auto;width:100%;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{font-size:.875rem;font-weight:400;line-height:1.5;display:block;width:100%;height:calc(1.5em + 1.25rem + 2px);padding:.625rem .75rem;transition:all .15s cubic-bezier(.68,-.55,.265,1.55);color:#8898aa;border:1px solid #dee2e6;border-radius:.25rem;background-color:#fff;background-clip:padding-box;box-shadow:0 3px 2px rgba(233,236,239,.05)}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{border:0;background-color:transparent}.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #8898aa}.form-control:focus{color:#8898aa;border-color:#5e72e4;outline:0;background-color:#fff;box-shadow:0 3px 9px rgba(50,50,9,0),3px 4px 8px rgba(94,114,228,.1)}.form-control::-ms-input-placeholder{opacity:1;color:#adb5bd}.form-control::placeholder{opacity:1;color:#adb5bd}.form-control:disabled,.form-control[readonly]{opacity:1;background-color:#e9ecef}select.form-control:focus::-ms-value{color:#8898aa;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{font-size:inherit;line-height:1.5;margin-bottom:0;padding-top:calc(.625rem + 1px);padding-bottom:calc(.625rem + 1px)}.col-form-label-lg{font-size:.875rem;line-height:1.5;padding-top:calc(.875rem + 1px);padding-bottom:calc(.875rem + 1px)}.col-form-label-sm{font-size:.75rem;line-height:1.5;padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px)}.form-control-plaintext{font-size:.875rem;line-height:1.5;display:block;width:100%;margin-bottom:0;padding:.625rem 0;color:#525f7f;border:solid transparent;border-width:1px 0;background-color:transparent}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{font-size:.75rem;line-height:1.5;height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;border-radius:.25rem}.form-control-lg{font-size:.875rem;line-height:1.5;height:calc(1.5em + 1.75rem + 2px);padding:.875rem 1rem;border-radius:.4375rem}select.form-control[multiple],select.form-control[size]{height:auto}textarea.form-control{height:auto}.form-group{margin-bottom:1.5rem}.form-text{display:block;margin-top:.25rem}.form-row{display:flex;margin-right:-5px;margin-left:-5px;flex-wrap:wrap}.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#8898aa}.form-check-label{margin-bottom:0}.form-check-inline{display:inline-flex;margin-right:.75rem;padding-left:0;align-items:center}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{font-size:80%;display:none;width:100%;margin-top:.25rem;color:#2dce89}.valid-tooltip{font-size:.875rem;line-height:1;position:absolute;z-index:5;top:100%;display:none;max-width:100%;margin-top:.1rem;padding:.5rem;color:#fff;border-radius:.2rem;background-color:rgba(45,206,137,.8)}.custom-select.is-valid,.form-control.is-valid,.was-validated .custom-select:valid,.was-validated .form-control:valid{border-color:#2dce89}.custom-select.is-valid:focus,.form-control.is-valid:focus,.was-validated .custom-select:valid:focus,.was-validated .form-control:valid:focus{border-color:#2dce89}.custom-select.is-valid~.valid-feedback,.custom-select.is-valid~.valid-tooltip,.form-control.is-valid~.valid-feedback,.form-control.is-valid~.valid-tooltip,.was-validated .custom-select:valid~.valid-feedback,.was-validated .custom-select:valid~.valid-tooltip,.was-validated .form-control:valid~.valid-feedback,.was-validated .form-control:valid~.valid-tooltip{display:block}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#2dce89}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#2dce89}.custom-control-input.is-valid~.custom-control-label::before,.was-validated .custom-control-input:valid~.custom-control-label::before{border-color:#93e7c3;background-color:#93e7c3}.custom-control-input.is-valid~.valid-feedback,.custom-control-input.is-valid~.valid-tooltip,.was-validated .custom-control-input:valid~.valid-feedback,.was-validated .custom-control-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid:checked~.custom-control-label::before,.was-validated .custom-control-input:valid:checked~.custom-control-label::before{border-color:#93e7c3;background-color:#54daa1}.custom-control-input.is-valid:focus~.custom-control-label::before,.was-validated .custom-control-input:valid:focus~.custom-control-label::before{box-shadow:0 0 0 1px #f8f9fe,0 0 0 0 rgba(45,206,137,.25)}.custom-file-input{width:60%!important;margin:8px!important;opacity:1!important}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#2dce89}.custom-file-input.is-valid~.custom-file-label::before,.was-validated .custom-file-input:valid~.custom-file-label::before{border-color:inherit}.custom-file-input.is-valid~.valid-feedback,.custom-file-input.is-valid~.valid-tooltip,.was-validated .custom-file-input:valid~.valid-feedback,.was-validated .custom-file-input:valid~.valid-tooltip{display:block}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{box-shadow:0 0 0 0 rgba(45,206,137,.25)}.custom-file-input:focus{outline:0}.invalid-feedback{font-size:80%;display:none;width:100%;margin-top:.25rem;color:#fb6340}.invalid-tooltip{font-size:.875rem;line-height:1;position:absolute;z-index:5;top:100%;display:none;max-width:100%;margin-top:.1rem;padding:.5rem;color:#fff;border-radius:.2rem;background-color:rgba(251,99,64,.8)}.custom-select.is-invalid,.form-control.is-invalid,.was-validated .custom-select:invalid,.was-validated .form-control:invalid{border-color:#fb6340}.custom-select.is-invalid:focus,.form-control.is-invalid:focus,.was-validated .custom-select:invalid:focus,.was-validated .form-control:invalid:focus{border-color:#fb6340}.custom-select.is-invalid~.invalid-feedback,.custom-select.is-invalid~.invalid-tooltip,.form-control.is-invalid~.invalid-feedback,.form-control.is-invalid~.invalid-tooltip,.was-validated .custom-select:invalid~.invalid-feedback,.was-validated .custom-select:invalid~.invalid-tooltip,.was-validated .form-control:invalid~.invalid-feedback,.was-validated .form-control:invalid~.invalid-tooltip{display:block}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#fb6340}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#fb6340}.custom-control-input.is-invalid~.custom-control-label::before,.was-validated .custom-control-input:invalid~.custom-control-label::before{border-color:#fec9bd;background-color:#fec9bd}.custom-control-input.is-invalid~.invalid-feedback,.custom-control-input.is-invalid~.invalid-tooltip,.was-validated .custom-control-input:invalid~.invalid-feedback,.was-validated .custom-control-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid:checked~.custom-control-label::before,.was-validated .custom-control-input:invalid:checked~.custom-control-label::before{border-color:#fec9bd;background-color:#fc8c72}.custom-control-input.is-invalid:focus~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus~.custom-control-label::before{box-shadow:0 0 0 1px #f8f9fe,0 0 0 0 rgba(251,99,64,.25)}.custom-file-input{width:60%!important;margin:8px!important;opacity:1!important}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#fb6340}.custom-file-input.is-invalid~.custom-file-label::before,.was-validated .custom-file-input:invalid~.custom-file-label::before{border-color:inherit}.custom-file-input.is-invalid~.invalid-feedback,.custom-file-input.is-invalid~.invalid-tooltip,.was-validated .custom-file-input:invalid~.invalid-feedback,.was-validated .custom-file-input:invalid~.invalid-tooltip{display:block}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{box-shadow:0 0 0 0 rgba(251,99,64,.25)}.custom-file-input:focus{outline:0}.form-inline{display:flex;flex-flow:row wrap;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{display:flex;margin-bottom:0;align-items:center;justify-content:center}.form-inline .form-group{display:flex;margin-bottom:0;flex:0 0 auto;flex-flow:row wrap;align-items:center}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{display:flex;width:auto;padding-left:0;align-items:center;justify-content:center}.form-inline .form-check-input{position:relative;margin-top:0;margin-right:.25rem;margin-left:0;flex-shrink:0}.form-inline .custom-control{align-items:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{font-size:.875rem;font-weight:600;line-height:1.5;display:inline-block;padding:.625rem 1.25rem;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;text-align:center;vertical-align:middle;color:#525f7f;border:1px solid transparent;border-radius:.25rem;background-color:transparent}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{text-decoration:none;color:#525f7f}.btn.focus,.btn:focus{outline:0;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08)}.btn.disabled,.btn:disabled{opacity:.65;box-shadow:none}.btn:not(:disabled):not(.disabled).active,.btn:not(:disabled):not(.disabled):active{box-shadow:none}.btn:not(:disabled):not(.disabled).active:focus,.btn:not(:disabled):not(.disabled):active:focus{box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08)}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;border-color:#5e72e4;background-color:#5e72e4;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-primary:hover{color:#fff;border-color:#5e72e4;background-color:#5e72e4}.btn-primary.focus,.btn-primary:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(94,114,228,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;border-color:#5e72e4;background-color:#5e72e4}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;border-color:#5e72e4;background-color:#324cdd}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(94,114,228,.5)}.btn-secondary{color:#212529;border-color:#f7fafc;background-color:#f7fafc;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-secondary:hover{color:#212529;border-color:#f7fafc;background-color:#f7fafc}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(247,250,252,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#212529;border-color:#f7fafc;background-color:#f7fafc}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#212529;border-color:#f7fafc;background-color:#d2e3ee}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(247,250,252,.5)}.btn-success{color:#fff;border-color:#2dce89;background-color:#2dce89;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-success:hover{color:#fff;border-color:#2dce89;background-color:#2dce89}.btn-success.focus,.btn-success:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(45,206,137,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;border-color:#2dce89;background-color:#2dce89}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{color:#fff;border-color:#2dce89;background-color:#24a46d}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(45,206,137,.5)}.btn-info{color:#fff;border-color:#11cdef;background-color:#11cdef;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-info:hover{color:#fff;border-color:#11cdef;background-color:#11cdef}.btn-info.focus,.btn-info:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(17,205,239,.5)}.btn-info.disabled,.btn-info:disabled{color:#fff;border-color:#11cdef;background-color:#11cdef}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{color:#fff;border-color:#11cdef;background-color:#0da5c0}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(17,205,239,.5)}.btn-warning{color:#fff;border-color:#fb6340;background-color:#fb6340;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-warning:hover{color:#fff;border-color:#fb6340;background-color:#fb6340}.btn-warning.focus,.btn-warning:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(251,99,64,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#fff;border-color:#fb6340;background-color:#fb6340}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{color:#fff;border-color:#fb6340;background-color:#fa3a0e}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(251,99,64,.5)}.btn-danger{color:#fff;border-color:#f5365c;background-color:#f5365c;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-danger:hover{color:#fff;border-color:#f5365c;background-color:#f5365c}.btn-danger.focus,.btn-danger:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(245,54,92,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;border-color:#f5365c;background-color:#f5365c}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{color:#fff;border-color:#f5365c;background-color:#ec0c38}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(245,54,92,.5)}.btn-light{color:#fff;border-color:#adb5bd;background-color:#adb5bd;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-light:hover{color:#fff;border-color:#adb5bd;background-color:#adb5bd}.btn-light.focus,.btn-light:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(173,181,189,.5)}.btn-light.disabled,.btn-light:disabled{color:#fff;border-color:#adb5bd;background-color:#adb5bd}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#fff;border-color:#adb5bd;background-color:#919ca6}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(173,181,189,.5)}.btn-dark{color:#fff;border-color:#212529;background-color:#212529;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-dark:hover{color:#fff;border-color:#212529;background-color:#212529}.btn-dark.focus,.btn-dark:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(33,37,41,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;border-color:#212529;background-color:#212529}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{color:#fff;border-color:#212529;background-color:#0a0c0d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(33,37,41,.5)}.btn-default{color:#fff;border-color:#172b4d;background-color:#172b4d;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-default:hover{color:#fff;border-color:#172b4d;background-color:#172b4d}.btn-default.focus,.btn-default:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(23,43,77,.5)}.btn-default.disabled,.btn-default:disabled{color:#fff;border-color:#172b4d;background-color:#172b4d}.btn-default:not(:disabled):not(.disabled).active,.btn-default:not(:disabled):not(.disabled):active,.show>.btn-default.dropdown-toggle{color:#fff;border-color:#172b4d;background-color:#0b1526}.btn-default:not(:disabled):not(.disabled).active:focus,.btn-default:not(:disabled):not(.disabled):active:focus,.show>.btn-default.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(23,43,77,.5)}.btn-white{color:#212529;border-color:#fff;background-color:#fff;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-white:hover{color:#212529;border-color:#fff;background-color:#fff}.btn-white.focus,.btn-white:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(255,255,255,.5)}.btn-white.disabled,.btn-white:disabled{color:#212529;border-color:#fff;background-color:#fff}.btn-white:not(:disabled):not(.disabled).active,.btn-white:not(:disabled):not(.disabled):active,.show>.btn-white.dropdown-toggle{color:#212529;border-color:#fff;background-color:#e6e6e6}.btn-white:not(:disabled):not(.disabled).active:focus,.btn-white:not(:disabled):not(.disabled):active:focus,.show>.btn-white.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(255,255,255,.5)}.btn-neutral{color:#212529;border-color:#fff;background-color:#fff;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-neutral:hover{color:#212529;border-color:#fff;background-color:#fff}.btn-neutral.focus,.btn-neutral:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(255,255,255,.5)}.btn-neutral.disabled,.btn-neutral:disabled{color:#212529;border-color:#fff;background-color:#fff}.btn-neutral:not(:disabled):not(.disabled).active,.btn-neutral:not(:disabled):not(.disabled):active,.show>.btn-neutral.dropdown-toggle{color:#212529;border-color:#fff;background-color:#e6e6e6}.btn-neutral:not(:disabled):not(.disabled).active:focus,.btn-neutral:not(:disabled):not(.disabled):active:focus,.show>.btn-neutral.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(255,255,255,.5)}.btn-darker{color:#fff;border-color:#000;background-color:#000;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-darker:hover{color:#fff;border-color:#000;background-color:#000}.btn-darker.focus,.btn-darker:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(0,0,0,.5)}.btn-darker.disabled,.btn-darker:disabled{color:#fff;border-color:#000;background-color:#000}.btn-darker:not(:disabled):not(.disabled).active,.btn-darker:not(:disabled):not(.disabled):active,.show>.btn-darker.dropdown-toggle{color:#fff;border-color:#000;background-color:#000}.btn-darker:not(:disabled):not(.disabled).active:focus,.btn-darker:not(:disabled):not(.disabled):active:focus,.show>.btn-darker.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(0,0,0,.5)}.btn-outline-primary{color:#5e72e4;border-color:#5e72e4;background-color:transparent;background-image:none}.btn-outline-primary:hover{color:#fff;border-color:#5e72e4;background-color:#5e72e4}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 0 rgba(94,114,228,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#5e72e4;background-color:transparent}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;border-color:#5e72e4;background-color:#5e72e4}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(94,114,228,.5)}.btn-outline-secondary{color:#f7fafc;border-color:#f7fafc;background-color:transparent;background-image:none}.btn-outline-secondary:hover{color:#212529;border-color:#f7fafc;background-color:#f7fafc}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 0 rgba(247,250,252,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#f7fafc;background-color:transparent}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{color:#212529;border-color:#f7fafc;background-color:#f7fafc}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(247,250,252,.5)}.btn-outline-success{color:#2dce89;border-color:#2dce89;background-color:transparent;background-image:none}.btn-outline-success:hover{color:#fff;border-color:#2dce89;background-color:#2dce89}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 0 rgba(45,206,137,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#2dce89;background-color:transparent}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{color:#fff;border-color:#2dce89;background-color:#2dce89}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(45,206,137,.5)}.btn-outline-info{color:#11cdef;border-color:#11cdef;background-color:transparent;background-image:none}.btn-outline-info:hover{color:#fff;border-color:#11cdef;background-color:#11cdef}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 0 rgba(17,205,239,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#11cdef;background-color:transparent}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{color:#fff;border-color:#11cdef;background-color:#11cdef}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(17,205,239,.5)}.btn-outline-warning{color:#fb6340;border-color:#fb6340;background-color:transparent;background-image:none}.btn-outline-warning:hover{color:#fff;border-color:#fb6340;background-color:#fb6340}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 0 rgba(251,99,64,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#fb6340;background-color:transparent}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{color:#fff;border-color:#fb6340;background-color:#fb6340}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(251,99,64,.5)}.btn-outline-danger{color:#f5365c;border-color:#f5365c;background-color:transparent;background-image:none}.btn-outline-danger:hover{color:#fff;border-color:#f5365c;background-color:#f5365c}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 0 rgba(245,54,92,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#f5365c;background-color:transparent}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;border-color:#f5365c;background-color:#f5365c}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(245,54,92,.5)}.btn-outline-light{color:#adb5bd;border-color:#adb5bd;background-color:transparent;background-image:none}.btn-outline-light:hover{color:#fff;border-color:#adb5bd;background-color:#adb5bd}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 0 rgba(173,181,189,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#adb5bd;background-color:transparent}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{color:#fff;border-color:#adb5bd;background-color:#adb5bd}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(173,181,189,.5)}.btn-outline-dark{color:#212529;border-color:#212529;background-color:transparent;background-image:none}.btn-outline-dark:hover{color:#fff;border-color:#212529;background-color:#212529}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 0 rgba(33,37,41,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#212529;background-color:transparent}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;border-color:#212529;background-color:#212529}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(33,37,41,.5)}.btn-outline-default{color:#172b4d;border-color:#172b4d;background-color:transparent;background-image:none}.btn-outline-default:hover{color:#fff;border-color:#172b4d;background-color:#172b4d}.btn-outline-default.focus,.btn-outline-default:focus{box-shadow:0 0 0 0 rgba(23,43,77,.5)}.btn-outline-default.disabled,.btn-outline-default:disabled{color:#172b4d;background-color:transparent}.btn-outline-default:not(:disabled):not(.disabled).active,.btn-outline-default:not(:disabled):not(.disabled):active,.show>.btn-outline-default.dropdown-toggle{color:#fff;border-color:#172b4d;background-color:#172b4d}.btn-outline-default:not(:disabled):not(.disabled).active:focus,.btn-outline-default:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-default.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(23,43,77,.5)}.btn-outline-white{color:#fff;border-color:#fff;background-color:transparent;background-image:none}.btn-outline-white:hover{color:#212529;border-color:#fff;background-color:#fff}.btn-outline-white.focus,.btn-outline-white:focus{box-shadow:0 0 0 0 rgba(255,255,255,.5)}.btn-outline-white.disabled,.btn-outline-white:disabled{color:#fff;background-color:transparent}.btn-outline-white:not(:disabled):not(.disabled).active,.btn-outline-white:not(:disabled):not(.disabled):active,.show>.btn-outline-white.dropdown-toggle{color:#212529;border-color:#fff;background-color:#fff}.btn-outline-white:not(:disabled):not(.disabled).active:focus,.btn-outline-white:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-white.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(255,255,255,.5)}.btn-outline-neutral{color:#fff;border-color:#fff;background-color:transparent;background-image:none}.btn-outline-neutral:hover{color:#212529;border-color:#fff;background-color:#fff}.btn-outline-neutral.focus,.btn-outline-neutral:focus{box-shadow:0 0 0 0 rgba(255,255,255,.5)}.btn-outline-neutral.disabled,.btn-outline-neutral:disabled{color:#fff;background-color:transparent}.btn-outline-neutral:not(:disabled):not(.disabled).active,.btn-outline-neutral:not(:disabled):not(.disabled):active,.show>.btn-outline-neutral.dropdown-toggle{color:#212529;border-color:#fff;background-color:#fff}.btn-outline-neutral:not(:disabled):not(.disabled).active:focus,.btn-outline-neutral:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-neutral.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(255,255,255,.5)}.btn-outline-darker{color:#000;border-color:#000;background-color:transparent;background-image:none}.btn-outline-darker:hover{color:#fff;border-color:#000;background-color:#000}.btn-outline-darker.focus,.btn-outline-darker:focus{box-shadow:0 0 0 0 rgba(0,0,0,.5)}.btn-outline-darker.disabled,.btn-outline-darker:disabled{color:#000;background-color:transparent}.btn-outline-darker:not(:disabled):not(.disabled).active,.btn-outline-darker:not(:disabled):not(.disabled):active,.show>.btn-outline-darker.dropdown-toggle{color:#fff;border-color:#000;background-color:#000}.btn-outline-darker:not(:disabled):not(.disabled).active:focus,.btn-outline-darker:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-darker.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(0,0,0,.5)}.btn-link{font-weight:400;text-decoration:none;color:#5e72e4}.btn-link:hover{text-decoration:none;color:#233dd2}.btn-link.focus,.btn-link:focus{text-decoration:none;box-shadow:none}.btn-link.disabled,.btn-link:disabled{pointer-events:none;color:#8898aa}.btn-group-lg>.btn,.btn-lg{font-size:.875rem;line-height:1.5;padding:.875rem 1rem;border-radius:.4375rem}.btn-group-sm>.btn,.btn-sm{font-size:.75rem;line-height:1.5;padding:.25rem .5rem;border-radius:.25rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;overflow:hidden;height:0;transition:height .3s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;content:'';vertical-align:.255em;border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{font-size:1rem;position:absolute;z-index:1000;top:100%;left:0;display:none;float:left;min-width:10rem;margin:.125rem 0 0;padding:.5rem 0;list-style:none;text-align:left;color:#525f7f;border:0 solid rgba(0,0,0,.15);border-radius:.4375rem;background-color:#fff;background-clip:padding-box;box-shadow:0 50px 100px rgba(50,50,93,.1),0 15px 35px rgba(50,50,93,.15),0 5px 15px rgba(0,0,0,.1)}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;content:'';vertical-align:.255em;border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle::after{display:inline-block;margin-left:.255em;content:'';vertical-align:.255em;border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropright .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-toggle::after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle::after{display:inline-block;margin-left:.255em;content:'';vertical-align:.255em}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;margin-right:.255em;content:'';vertical-align:.255em;border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropleft .dropdown-toggle:empty::after{margin-left:0}.dropleft .dropdown-toggle::before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{right:auto;bottom:auto}.dropdown-divider{overflow:hidden;height:0;margin:.5rem 0;border-top:1px solid #e9ecef}.dropdown-item{font-weight:400;display:block;clear:both;width:100%;padding:.5rem 1rem;text-align:inherit;white-space:nowrap;color:#212529;border:0;background-color:transparent}.dropdown-item:focus,.dropdown-item:hover{text-decoration:none;color:#16181b;background-color:#f6f9fc}.dropdown-item.active,.dropdown-item:active{text-decoration:none;color:#16181b;background-color:transparent}.dropdown-item.disabled,.dropdown-item:disabled{pointer-events:none;color:#8898aa;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{font-size:.875rem;display:block;margin-bottom:0;padding:.5rem 1rem;white-space:nowrap;color:#8898aa}.dropdown-item-text{display:block;padding:.5rem 1rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn:hover,.btn-group>.btn:hover{z-index:1}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.9375rem;padding-left:.9375rem}.dropdown-toggle-split::after,.dropright .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropleft .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group.show .dropdown-toggle{box-shadow:none}.btn-group.show .dropdown-toggle.btn-link{box-shadow:none}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:flex;width:100%;flex-wrap:wrap;align-items:stretch}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;min-width:0;margin-bottom:0;flex:1 1}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:last-child),.input-group>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:flex;align-items:center}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label::after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-append,.input-group-prepend{display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{font-size:.875rem;font-weight:400;line-height:1.5;display:flex;margin-bottom:0;padding:.625rem .75rem;text-align:center;white-space:nowrap;color:#adb5bd;border:1px solid #dee2e6;border-radius:.25rem;background-color:#fff;align-items:center}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1.75rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{font-size:.875rem;line-height:1.5;padding:.875rem 1rem;border-radius:.4375rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{font-size:.75rem;line-height:1.5;padding:.25rem .5rem;border-radius:.25rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-append:not(:last-child)>.btn,.input-group>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;display:block;min-height:1.5rem;padding-left:2.75rem}.custom-control-inline{display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;z-index:-1;left:0;width:1rem;height:1.25rem;opacity:0}.custom-control-input:checked~.custom-control-label::before{color:#fff;border-color:#5e72e4;background-color:#5e72e4;box-shadow:0 3px 2px rgba(233,236,239,.05)}.custom-control-input:focus~.custom-control-label::before{box-shadow:0 3px 2px rgba(233,236,239,.05),0 3px 9px rgba(50,50,9,0),3px 4px 8px rgba(94,114,228,.1)}.custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#5e72e4}.custom-control-input:not(:disabled):active~.custom-control-label::before{color:#fff;border-color:#5e72e4;background-color:#5e72e4;box-shadow:0 3px 2px rgba(233,236,239,.05)}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#8898aa}.custom-control-input:disabled~.custom-control-label::before,.custom-control-input[disabled]~.custom-control-label::before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label::before{position:absolute;top:.25rem;left:-2.75rem;display:block;width:1rem;height:1rem;content:'';pointer-events:none;border:#dee2e6 solid 1px;background-color:#fff;box-shadow:0 3px 2px rgba(233,236,239,.05)}.custom-control-label::after{position:absolute;top:.25rem;left:-2.75rem;display:block;width:1rem;height:1rem;content:'';background:no-repeat 50%/50% 50%}.custom-checkbox .custom-control-label::before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label::after{background-image:url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'8\' height=\'8\' viewBox=\'0 0 8 8\'%3e%3cpath fill=\'%23fff\' d=\'M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z\'/%3e%3c/svg%3e')}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before{border-color:#5e72e4;background-color:#5e72e4;box-shadow:none}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::after{background-image:url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'4\' height=\'4\' viewBox=\'0 0 4 4\'%3e%3cpath stroke=\'%23fff\' d=\'M0 2h4\'/%3e%3c/svg%3e')}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(94,114,228,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before{background-color:rgba(94,114,228,.5)}.custom-radio .custom-control-label::before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label::after{background-image:url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'12\' viewBox=\'-4 -4 8 8\'%3e%3ccircle r=\'3\' fill=\'%23fff\'/%3e%3c/svg%3e')}.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(94,114,228,.5)}.custom-switch{padding-left:3.5rem}.custom-switch .custom-control-label::before{left:-3.5rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label::after{top:calc(.25rem + 2px);left:calc(-3.5rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;border-radius:.5rem;background-color:#dee2e6}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label::after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label::after{transform:translateX(.75rem);background-color:#fff}.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(94,114,228,.5)}.custom-select{font-size:.875rem;font-weight:400;line-height:1.5;display:inline-block;width:100%;height:calc(1.5em + 1.25rem + 2px);padding:.625rem 1.75rem .625rem .75rem;vertical-align:middle;color:#8898aa;border:1px solid #dee2e6;border-radius:.375rem;background:#fff url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'4\' height=\'5\' viewBox=\'0 0 4 5\'%3e%3cpath fill=\'%2332325d\' d=\'M2 0L0 2h4zm0 5L0 3h4z\'/%3e%3c/svg%3e') no-repeat right .75rem center/8px 10px;box-shadow:inset 0 1px 2px rgba(0,0,0,.075);-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#5e72e4;outline:0;box-shadow:inset 0 1px 2px rgba(0,0,0,.075),0 0 0 0 #5e72e4}.custom-select:focus::-ms-value{color:#8898aa;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size='1']){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#8898aa;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #8898aa}.custom-select-sm{font-size:.75rem;height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem}.custom-select-lg{font-size:.875rem;height:calc(1.5em + 1.75rem + 2px);padding-top:.875rem;padding-bottom:.875rem;padding-left:1rem}.custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + 1.25rem + 2px);margin-bottom:0}.custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + 1.25rem + 2px);margin:0;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#5e72e4;box-shadow:0 3px 9px rgba(50,50,9,0),3px 4px 8px rgba(94,114,228,.1)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label::after{content:'Browse'}.custom-file-input~.custom-file-label[data-browse]::after{content:attr(data-browse)}.custom-file-label{font-weight:400;line-height:1.5;position:absolute;z-index:1;top:0;right:0;left:0;height:calc(1.5em + 1.25rem + 2px);padding:.625rem .75rem;color:#8898aa;border:1px solid #dee2e6;border-radius:.25rem;background-color:#fff;box-shadow:0 3px 2px rgba(233,236,239,.05)}.custom-file-label::after{line-height:1.5;position:absolute;z-index:3;top:0;right:0;bottom:0;display:block;height:calc(1.5em + 1.25rem);padding:.625rem .75rem;content:'Browse';color:#8898aa;border-left:inherit;border-radius:0 .25rem .25rem 0;background-color:#fff}.custom-range{width:100%;height:1rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #f8f9fe,0 3px 9px rgba(50,50,9,0),3px 4px 8px rgba(94,114,228,.1)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #f8f9fe,0 3px 9px rgba(50,50,9,0),3px 4px 8px rgba(94,114,228,.1)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #f8f9fe,0 3px 9px rgba(50,50,9,0),3px 4px 8px rgba(94,114,228,.1)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;border:0;border-radius:1rem;background-color:#5e72e4;box-shadow:0 .1rem .25rem rgba(0,0,0,.1);-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#f7f8fe}.custom-range::-webkit-slider-runnable-track{width:100%;height:.5rem;cursor:pointer;color:transparent;border-color:transparent;border-radius:1rem;background-color:#dee2e6;box-shadow:inset 0 .25rem .25rem rgba(0,0,0,.1)}.custom-range::-moz-range-thumb{width:1rem;height:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;border:0;border-radius:1rem;background-color:#5e72e4;box-shadow:0 .1rem .25rem rgba(0,0,0,.1);-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{transition:none}}.custom-range::-moz-range-thumb:active{background-color:#f7f8fe}.custom-range::-moz-range-track{width:100%;height:.5rem;cursor:pointer;color:transparent;border-color:transparent;border-radius:1rem;background-color:#dee2e6;box-shadow:inset 0 .25rem .25rem rgba(0,0,0,.1)}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:0;margin-left:0;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;border:0;border-radius:1rem;background-color:#5e72e4;box-shadow:0 .1rem .25rem rgba(0,0,0,.1);appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-ms-thumb{transition:none}}.custom-range::-ms-thumb:active{background-color:#f7f8fe}.custom-range::-ms-track{width:100%;height:.5rem;cursor:pointer;color:transparent;border-width:.5rem;border-color:transparent;background-color:transparent;box-shadow:inset 0 .25rem .25rem rgba(0,0,0,.1)}.custom-range::-ms-fill-lower{border-radius:1rem;background-color:#dee2e6}.custom-range::-ms-fill-upper{margin-right:15px;border-radius:1rem;background-color:#dee2e6}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label::before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label::before,.custom-file-label,.custom-select{transition:none}}.nav{display:flex;margin-bottom:0;padding-left:0;list-style:none;flex-wrap:wrap}.nav-link{display:block;padding:.25rem .75rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{cursor:default;pointer-events:none;color:#8898aa}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-item{margin-bottom:-1px}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.375rem;border-top-right-radius:.375rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#8898aa;border-color:transparent;background-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#525f7f;border-color:#dee2e6 #dee2e6 #f8f9fe;background-color:#f8f9fe}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.375rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#5e72e4}.nav-fill .nav-item{text-align:center;flex:1 1 auto}.nav-justified .nav-item{text-align:center;flex-basis:0;flex-grow:1}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:flex;padding:1rem 1rem;flex-wrap:wrap;align-items:center;justify-content:space-between}.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.navbar-brand{font-size:1.25rem;line-height:inherit;display:inline-block;margin-right:1rem;padding-top:.0625rem;padding-bottom:.0625rem;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:flex;flex-direction:column;margin-bottom:0;padding-left:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.25rem;padding-bottom:.25rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{font-size:1.25rem;line-height:1;padding:.25rem .75rem;border:1px solid transparent;border-radius:.25rem;background-color:transparent}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;content:'';vertical-align:middle;background:no-repeat center center;background-size:100% 100%}@media (max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:1rem;padding-left:1rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{flex-wrap:nowrap}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-expand-md{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:1rem;padding-left:1rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{flex-wrap:nowrap}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-expand-lg{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:1rem;padding-left:1rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{flex-wrap:nowrap}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-expand-xl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:1rem;padding-left:1rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{flex-wrap:nowrap}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:1rem;padding-left:1rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.6)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.6);border-color:transparent}.navbar-light .navbar-toggler-icon{background-image:url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'30\' height=\'30\' viewBox=\'0 0 30 30\'%3e%3cpath stroke=\'rgba(0, 0, 0, 0.6)\' stroke-linecap=\'round\' stroke-miterlimit=\'10\' stroke-width=\'2\' d=\'M4 7h22M4 15h22M4 23h22\'/%3e%3c/svg%3e')}.navbar-light .navbar-text{color:rgba(0,0,0,.6)}.navbar-light .navbar-text a{color:rgba(0,0,0,.9)}.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:rgba(255,255,255,.65)}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:rgba(255,255,255,.65)}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.95)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.65)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:rgba(255,255,255,.65)}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.95);border-color:transparent}.navbar-dark .navbar-toggler-icon{background-image:url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'30\' height=\'30\' viewBox=\'0 0 30 30\'%3e%3cpath stroke=\'rgba(255, 255, 255, 0.95)\' stroke-linecap=\'round\' stroke-miterlimit=\'10\' stroke-width=\'2\' d=\'M4 7h22M4 15h22M4 23h22\'/%3e%3c/svg%3e')}.navbar-dark .navbar-text{color:rgba(255,255,255,.95)}.navbar-dark .navbar-text a{color:rgba(255,255,255,.65)}.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:rgba(255,255,255,.65)}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;border:1px solid rgba(0,0,0,.05);border-radius:.375rem;background-color:#fff;background-clip:border-box}.card>hr{margin-right:0;margin-left:0}.card>.list-group:first-child .list-group-item:first-child{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.card>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.card-body{min-height:1px;padding:1.5rem;flex:1 1 auto}.card-title{margin-bottom:1.25rem}.card-subtitle{margin-top:-.625rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.5rem}.card-header{margin-bottom:0;padding:1.25rem 1.5rem;border-bottom:1px solid rgba(0,0,0,.05);background-color:#fff}.card-header:first-child{border-radius:calc(.375rem - 1px) calc(.375rem - 1px) 0 0}.card-header+.list-group .list-group-item:first-child{border-top:0}.card-footer{padding:1.25rem 1.5rem;border-top:1px solid rgba(0,0,0,.05);background-color:#fff}.card-footer:last-child{border-radius:0 0 calc(.375rem - 1px) calc(.375rem - 1px)}.card-header-tabs{margin-right:-.75rem;margin-bottom:-1.25rem;margin-left:-.75rem;border-bottom:0}.card-header-pills{margin-right:-.75rem;margin-left:-.75rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem}.card-img,.card-img-bottom,.card-img-top{width:100%;flex-shrink:0}.card-img,.card-img-top{border-top-left-radius:calc(.375rem - 1px);border-top-right-radius:calc(.375rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.375rem - 1px);border-bottom-left-radius:calc(.375rem - 1px)}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{display:flex;margin-right:-15px;margin-left:-15px;flex-flow:row wrap}.card-deck .card{margin-right:15px;margin-bottom:0;margin-left:15px;flex:1 0}}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{margin-bottom:0;flex:1 0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:1.25rem}@media (min-width:576px){.card-columns{column-count:3;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{margin-bottom:-1px;border-radius:0}.breadcrumb{display:flex;margin-bottom:1rem;padding:.75rem 1rem;list-style:none;border-radius:.375rem;background-color:#e9ecef;flex-wrap:wrap}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.5rem;content:'/';color:#8898aa}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:underline}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:none}.breadcrumb-item.active{color:#8898aa}.pagination{display:flex;padding-left:0;list-style:none;border-radius:.375rem}.page-link{line-height:1.25;position:relative;display:block;margin-left:-1px;padding:.5rem .75rem;color:#8898aa;border:1px solid #dee2e6;background-color:#fff}.page-link:hover{z-index:2;text-decoration:none;color:#8898aa;border-color:#dee2e6;background-color:#dee2e6}.page-link:focus{z-index:3;outline:0;box-shadow:none}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.page-item:last-child .page-link{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.page-item.active .page-link{z-index:3;color:#fff;border-color:#5e72e4;background-color:#5e72e4}.page-item.disabled .page-link{cursor:auto;pointer-events:none;color:#8898aa;border-color:#dee2e6;background-color:#fff}.pagination-lg .page-link{font-size:1.25rem;line-height:1.5;padding:.75rem 1.5rem}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.4375rem;border-bottom-left-radius:.4375rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.4375rem;border-bottom-right-radius:.4375rem}.pagination-sm .page-link{font-size:.875rem;line-height:1.5;padding:.25rem .5rem}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.badge{font-size:66%;font-weight:600;line-height:1;display:inline-block;padding:.35rem .375rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;text-align:center;vertical-align:baseline;white-space:nowrap;border-radius:.375rem}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.875em;padding-left:.875em;border-radius:10rem}.badge-primary{color:#2643e9;background-color:#eaecfb}.badge-primary[href]:focus,.badge-primary[href]:hover{text-decoration:none;color:#fff;background-color:#2a44db}.badge-secondary{color:#cfe3f1;background-color:#fff}.badge-secondary[href]:focus,.badge-secondary[href]:hover{text-decoration:none;color:#212529;background-color:#cadeeb}.badge-success{color:#1aae6f;background-color:#b0eed3}.badge-success[href]:focus,.badge-success[href]:hover{text-decoration:none;color:#fff;background-color:#229c68}.badge-info{color:#03acca;background-color:#aaedf9}.badge-info[href]:focus,.badge-info[href]:hover{text-decoration:none;color:#fff;background-color:#0c9cb7}.badge-warning{color:#ff3709;background-color:#fee6e0}.badge-warning[href]:focus,.badge-warning[href]:hover{text-decoration:none;color:#fff;background-color:#f93305}.badge-danger{color:#f80031;background-color:#fdd1da}.badge-danger[href]:focus,.badge-danger[href]:hover{text-decoration:none;color:#fff;background-color:#e30b36}.badge-light{color:#879cb0;background-color:#fff}.badge-light[href]:focus,.badge-light[href]:hover{text-decoration:none;color:#fff;background-color:#8b96a2}.badge-dark{color:#090c0e;background-color:#6a7783}.badge-dark[href]:focus,.badge-dark[href]:hover{text-decoration:none;color:#fff;background-color:#060607}.badge-default{color:#091428;background-color:#4172c6}.badge-default[href]:focus,.badge-default[href]:hover{text-decoration:none;color:#fff;background-color:#09111e}.badge-white{color:#e8e3e3;background-color:#fff}.badge-white[href]:focus,.badge-white[href]:hover{text-decoration:none;color:#212529;background-color:#e0e0e0}.badge-neutral{color:#e8e3e3;background-color:#fff}.badge-neutral[href]:focus,.badge-neutral[href]:hover{text-decoration:none;color:#212529;background-color:#e0e0e0}.badge-darker{color:#000;background-color:#525252}.badge-darker[href]:focus,.badge-darker[href]:hover{text-decoration:none;color:#fff;background-color:#000}.jumbotron{margin-bottom:2rem;padding:2rem 1rem;border-radius:.4375rem;background-color:#e9ecef}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;margin-bottom:1rem;padding:1rem 1.5rem;border:1px solid transparent;border-radius:.375rem}.alert-heading{color:inherit}.alert-link{font-weight:600}.alert-dismissible{padding-right:4.5rem}.alert-dismissible .close{position:absolute;top:0;right:0;padding:1rem 1.5rem;color:inherit}.alert-primary{color:#fff;border-color:#7889e8;background-color:#7889e8}.alert-primary a{font-weight:600;color:#1d32aa}.alert-primary a:hover{color:#fff}.alert-primary hr{border-top-color:#6276e4}.alert-primary .alert-link{color:#324cdd}.alert-secondary{color:#212529;border-color:#f8fbfc;background-color:#f8fbfc}.alert-secondary a{font-weight:600;color:#8dbece}.alert-secondary a:hover{color:#212529}.alert-secondary hr{border-top-color:#e6f1f4}.alert-secondary .alert-link{color:#d2e3ee}.alert-success{color:#fff;border-color:#4fd69c;background-color:#4fd69c}.alert-success a{font-weight:600;color:#1a724c}.alert-success a:hover{color:#fff}.alert-success hr{border-top-color:#3ad190}.alert-success .alert-link{color:#24a46d}.alert-info{color:#fff;border-color:#37d5f2;background-color:#37d5f2}.alert-info a{font-weight:600;color:#097487}.alert-info a:hover{color:#fff}.alert-info hr{border-top-color:#1fd0f0}.alert-info .alert-link{color:#0da5c0}.alert-warning{color:#fff;border-color:#fc7c5f;background-color:#fc7c5f}.alert-warning a{font-weight:600;color:#be2604}.alert-warning a:hover{color:#fff}.alert-warning hr{border-top-color:#fc6846}.alert-warning .alert-link{color:#fa3a0e}.alert-danger{color:#fff;border-color:#f75676;background-color:#f75676}.alert-danger a{font-weight:600;color:#ac0829}.alert-danger a:hover{color:#fff}.alert-danger hr{border-top-color:#f63e62}.alert-danger .alert-link{color:#ec0c38}.alert-light{color:#fff;border-color:#bac1c8;background-color:#bac1c8}.alert-light a{font-weight:600;color:#677582}.alert-light a:hover{color:#fff}.alert-light hr{border-top-color:#acb4bd}.alert-light .alert-link{color:#919ca6}.alert-dark{color:#fff;border-color:#45484b;background-color:#45484b}.alert-dark a{font-weight:600;color:#000}.alert-dark a:hover{color:#fff}.alert-dark hr{border-top-color:#393b3e}.alert-dark .alert-link{color:#0a0c0d}.alert-default{color:#fff;border-color:#3c4d69;background-color:#3c4d69}.alert-default a{font-weight:600;color:#040608}.alert-default a:hover{color:#fff}.alert-default hr{border-top-color:#334159}.alert-default .alert-link{color:#0b1526}.alert-white{color:#212529;border-color:#fff;background-color:#fff}.alert-white a{font-weight:600;color:#b3b3b3}.alert-white a:hover{color:#212529}.alert-white hr{border-top-color:#f2f2f2}.alert-white .alert-link{color:#e6e6e6}.alert-neutral{color:#212529;border-color:#fff;background-color:#fff}.alert-neutral a{font-weight:600;color:#b3b3b3}.alert-neutral a:hover{color:#212529}.alert-neutral hr{border-top-color:#f2f2f2}.alert-neutral .alert-link{color:#e6e6e6}.alert-darker{color:#fff;border-color:#292929;background-color:#292929}.alert-darker a{font-weight:600;color:#000}.alert-darker a:hover{color:#fff}.alert-darker hr{border-top-color:#1c1c1c}.alert-darker .alert-link{color:#000}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{font-size:.75rem;display:flex;overflow:hidden;height:1rem;border-radius:.375rem;background-color:#e9ecef;box-shadow:inset 0 .1rem .1rem rgba(0,0,0,.1)}.progress-bar{display:flex;overflow:hidden;flex-direction:column;transition:width .6s ease;text-align:center;white-space:nowrap;color:#fff;background-color:#5e72e4;justify-content:center}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.media{display:flex;align-items:flex-start}.media-body{flex:1 1}.list-group{display:flex;flex-direction:column;margin-bottom:0;padding-left:0}.list-group-item-action{width:100%;text-align:inherit;color:#525f7f}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;text-decoration:none;color:#525f7f;background-color:#f6f9fc}.list-group-item-action:active{color:#525f7f;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:1rem 1rem;border:1px solid #e9ecef;background-color:#fff}.list-group-item:first-child{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.list-group-item:last-child{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.list-group-item.disabled,.list-group-item:disabled{pointer-events:none;color:#8898aa;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;border-color:#5e72e4;background-color:#5e72e4}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal .list-group-item:first-child{border-top-right-radius:0;border-bottom-left-radius:.375rem}.list-group-horizontal .list-group-item:last-child{border-top-right-radius:.375rem;border-bottom-left-radius:0}.list-group-horizontal .list-group-item.active{margin-top:0}.list-group-horizontal .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm .list-group-item:first-child{border-top-right-radius:0;border-bottom-left-radius:.375rem}.list-group-horizontal-sm .list-group-item:last-child{border-top-right-radius:.375rem;border-bottom-left-radius:0}.list-group-horizontal-sm .list-group-item.active{margin-top:0}.list-group-horizontal-sm .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md .list-group-item:first-child{border-top-right-radius:0;border-bottom-left-radius:.375rem}.list-group-horizontal-md .list-group-item:last-child{border-top-right-radius:.375rem;border-bottom-left-radius:0}.list-group-horizontal-md .list-group-item.active{margin-top:0}.list-group-horizontal-md .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg .list-group-item:first-child{border-top-right-radius:0;border-bottom-left-radius:.375rem}.list-group-horizontal-lg .list-group-item:last-child{border-top-right-radius:.375rem;border-bottom-left-radius:0}.list-group-horizontal-lg .list-group-item.active{margin-top:0}.list-group-horizontal-lg .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl .list-group-item:first-child{border-top-right-radius:0;border-bottom-left-radius:.375rem}.list-group-horizontal-xl .list-group-item:last-child{border-top-right-radius:.375rem;border-bottom-left-radius:0}.list-group-horizontal-xl .list-group-item.active{margin-top:0}.list-group-horizontal-xl .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush .list-group-item{border-right-width:0;border-left-width:0;border-radius:0}.list-group-flush .list-group-item:first-child{border-top-width:0}.list-group-flush:last-child .list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#313b77;background-color:#d2d8f7}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#313b77;background-color:#bcc5f3}.list-group-item-primary.list-group-item-action.active{color:#fff;border-color:#313b77;background-color:#313b77}.list-group-item-secondary{color:#808283;background-color:#fdfefe}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#808283;background-color:#ecf6f6}.list-group-item-secondary.list-group-item-action.active{color:#fff;border-color:#808283;background-color:#808283}.list-group-item-success{color:#176b47;background-color:#c4f1de}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#176b47;background-color:#afecd2}.list-group-item-success.list-group-item-action.active{color:#fff;border-color:#176b47;background-color:#176b47}.list-group-item-info{color:#096b7c;background-color:#bcf1fb}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#096b7c;background-color:#a4ecfa}.list-group-item-info.list-group-item-action.active{color:#fff;border-color:#096b7c;background-color:#096b7c}.list-group-item-warning{color:#833321;background-color:#fed3ca}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#833321;background-color:#febeb1}.list-group-item-warning.list-group-item-action.active{color:#fff;border-color:#833321;background-color:#833321}.list-group-item-danger{color:#7f1c30;background-color:#fcc7d1}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#7f1c30;background-color:#fbafbd}.list-group-item-danger.list-group-item-action.active{color:#fff;border-color:#7f1c30;background-color:#7f1c30}.list-group-item-light{color:#5a5e62;background-color:#e8eaed}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#5a5e62;background-color:#dadde2}.list-group-item-light.list-group-item-action.active{color:#fff;border-color:#5a5e62;background-color:#5a5e62}.list-group-item-dark{color:#111315;background-color:#c1c2c3}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#111315;background-color:#b4b5b6}.list-group-item-dark.list-group-item-action.active{color:#fff;border-color:#111315;background-color:#111315}.list-group-item-default{color:#0c1628;background-color:#bec4cd}.list-group-item-default.list-group-item-action:focus,.list-group-item-default.list-group-item-action:hover{color:#0c1628;background-color:#b0b7c2}.list-group-item-default.list-group-item-action.active{color:#fff;border-color:#0c1628;background-color:#0c1628}.list-group-item-white{color:#858585;background-color:#fff}.list-group-item-white.list-group-item-action:focus,.list-group-item-white.list-group-item-action:hover{color:#858585;background-color:#f2f2f2}.list-group-item-white.list-group-item-action.active{color:#fff;border-color:#858585;background-color:#858585}.list-group-item-neutral{color:#858585;background-color:#fff}.list-group-item-neutral.list-group-item-action:focus,.list-group-item-neutral.list-group-item-action:hover{color:#858585;background-color:#f2f2f2}.list-group-item-neutral.list-group-item-action.active{color:#fff;border-color:#858585;background-color:#858585}.list-group-item-darker{color:#000;background-color:#b8b8b8}.list-group-item-darker.list-group-item-action:focus,.list-group-item-darker.list-group-item-action:hover{color:#000;background-color:#ababab}.list-group-item-darker.list-group-item-action.active{color:#fff;border-color:#000;background-color:#000}.close{font-size:1.5rem;font-weight:600;line-height:1;float:right;opacity:.5;color:rgba(0,0,0,.6);text-shadow:none}@media (max-width:1200px){.close{font-size:calc(1.275rem + .3vw)}}.close:hover{text-decoration:none;color:rgba(0,0,0,.6)}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;border:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}a.close.disabled{pointer-events:none}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;z-index:1050;top:0;left:0;display:none;overflow:hidden;width:100%;height:100%;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{overflow:hidden;max-height:calc(100vh - 1rem)}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;min-height:calc(100% - 1rem);align-items:center}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);content:''}.modal-dialog-centered.modal-dialog-scrollable{flex-direction:column;height:100%;justify-content:center}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable::before{content:none}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;border:0 solid rgba(0,0,0,.2);border-radius:.4375rem;outline:0;background-color:#fff;background-clip:padding-box;box-shadow:0 15px 35px rgba(50,50,93,.2),0 5px 15px rgba(0,0,0,.17)}.modal-backdrop{position:fixed;z-index:1040;top:0;left:0;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.16}.modal-header{display:flex;padding:1.25rem;border-bottom:0 solid #e9ecef;border-top-left-radius:.4375rem;border-top-right-radius:.4375rem;align-items:flex-start;justify-content:space-between}.modal-header .close{margin:-1rem -1rem -1rem auto;padding:1.25rem}.modal-title{line-height:1.1;margin-bottom:0}.modal-body{position:relative;padding:1.5rem;flex:1 1 auto}.modal-footer{display:flex;padding:1.25rem;border-top:0 solid #e9ecef;border-bottom-right-radius:.4375rem;border-bottom-left-radius:.4375rem;flex-wrap:wrap;align-items:center;justify-content:flex-end}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;overflow:scroll;width:50px;height:50px}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered::before{height:calc(100vh - 3.5rem)}.modal-content{box-shadow:0 15px 35px rgba(50,50,93,.2),0 5px 15px rgba(0,0,0,.17)}.modal-sm{max-width:380px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{font-family:Open Sans,sans-serif;font-size:.875rem;font-weight:400;font-style:normal;line-height:1.5;position:absolute;z-index:1070;display:block;margin:0;text-align:left;text-align:start;white-space:normal;text-decoration:none;letter-spacing:normal;word-spacing:normal;text-transform:none;word-wrap:break-word;word-break:normal;opacity:0;text-shadow:none;line-break:auto}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow::before{position:absolute;content:'';border-style:solid;border-color:transparent}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow::before,.bs-tooltip-top .arrow::before{top:0;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow::before,.bs-tooltip-right .arrow::before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow::before,.bs-tooltip-bottom .arrow::before{bottom:0;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow::before,.bs-tooltip-left .arrow::before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;text-align:center;color:#fff;border-radius:.375rem;background-color:#000}.popover{font-family:Open Sans,sans-serif;font-size:.875rem;font-weight:400;font-style:normal;line-height:1.5;position:absolute;z-index:1060;top:0;left:0;display:block;max-width:276px;text-align:left;text-align:start;white-space:normal;text-decoration:none;letter-spacing:normal;word-spacing:normal;text-transform:none;word-wrap:break-word;word-break:normal;border:1px solid rgba(0,0,0,.05);border-radius:.4375rem;background-color:#fff;background-clip:padding-box;box-shadow:0 .5rem 2rem 0 rgba(0,0,0,.2);text-shadow:none;line-break:auto}.popover .arrow{position:absolute;display:block;width:1rem;height:.5rem;margin:0 .4375rem}.popover .arrow::after,.popover .arrow::before{position:absolute;display:block;content:'';border-style:solid;border-color:transparent}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow::before,.bs-popover-top>.arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:transparent}.bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.4375rem 0}.bs-popover-auto[x-placement^=right]>.arrow::before,.bs-popover-right>.arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:transparent}.bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow::before,.bs-popover-bottom>.arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:transparent}.bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:'';border-bottom:1px solid #fff}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.4375rem 0}.bs-popover-auto[x-placement^=left]>.arrow::before,.bs-popover-left>.arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:transparent}.bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{font-size:1rem;margin-bottom:0;padding:.5rem .95rem;color:#32325d;border-bottom:1px solid #f2f2f2;border-top-left-radius:calc(.4375rem - 1px);border-top-right-radius:calc(.4375rem - 1px);background-color:#fff}.popover-header:empty{display:none}.popover-body{padding:.5rem .95rem;color:#525f7f}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner::after{display:block;clear:both;content:''}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){transform:translateX(-100%)}.carousel-fade .carousel-item{transition-property:opacity;transform:none;opacity:0}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;transition:opacity 0s .6s;opacity:0}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;z-index:1;top:0;bottom:0;display:flex;width:15%;transition:opacity .15s ease;text-align:center;opacity:.5;color:#fff;align-items:center;justify-content:center}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{text-decoration:none;opacity:.9;color:#fff;outline:0}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:no-repeat 50%/100% 100%}.carousel-control-prev-icon{background-image:url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'%23fff\' width=\'8\' height=\'8\' viewBox=\'0 0 8 8\'%3e%3cpath d=\'M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z\'/%3e%3c/svg%3e')}.carousel-control-next-icon{background-image:url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'%23fff\' width=\'8\' height=\'8\' viewBox=\'0 0 8 8\'%3e%3cpath d=\'M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z\'/%3e%3c/svg%3e')}.carousel-indicators{position:absolute;z-index:15;right:0;bottom:0;left:0;display:flex;margin-right:15%;margin-left:15%;padding-left:0;list-style:none;justify-content:center}.carousel-indicators li{box-sizing:content-box;width:30px;height:3px;margin-right:3px;margin-left:3px;cursor:pointer;transition:opacity .6s ease;text-indent:-999px;opacity:.5;border-top:10px solid transparent;border-bottom:10px solid transparent;background-color:#fff;background-clip:padding-box;flex:0 1 auto}@media (prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;z-index:10;right:15%;bottom:20px;left:15%;padding-top:20px;padding-bottom:20px;text-align:center;color:#fff}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#5e72e4!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#324cdd!important}.bg-secondary{background-color:#f7fafc!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#d2e3ee!important}.bg-success{background-color:#2dce89!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#24a46d!important}.bg-info{background-color:#11cdef!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#0da5c0!important}.bg-warning{background-color:#fb6340!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#fa3a0e!important}.bg-danger{background-color:#f5365c!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#ec0c38!important}.bg-light{background-color:#adb5bd!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#919ca6!important}.bg-dark{background-color:#212529!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#0a0c0d!important}.bg-default{background-color:#172b4d!important}a.bg-default:focus,a.bg-default:hover,button.bg-default:focus,button.bg-default:hover{background-color:#0b1526!important}.bg-white{background-color:#fff!important}a.bg-white:focus,a.bg-white:hover,button.bg-white:focus,button.bg-white:hover{background-color:#e6e6e6!important}.bg-neutral{background-color:#fff!important}a.bg-neutral:focus,a.bg-neutral:hover,button.bg-neutral:focus,button.bg-neutral:hover{background-color:#e6e6e6!important}.bg-darker{background-color:#000!important}a.bg-darker:focus,a.bg-darker:hover,button.bg-darker:focus,button.bg-darker:hover{background-color:#000!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #e9ecef!important}.border-top{border-top:1px solid #e9ecef!important}.border-right{border-right:1px solid #e9ecef!important}.border-bottom{border-bottom:1px solid #e9ecef!important}.border-left{border-left:1px solid #e9ecef!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#5e72e4!important}.border-secondary{border-color:#f7fafc!important}.border-success{border-color:#2dce89!important}.border-info{border-color:#11cdef!important}.border-warning{border-color:#fb6340!important}.border-danger{border-color:#f5365c!important}.border-light{border-color:#adb5bd!important}.border-dark{border-color:#212529!important}.border-default{border-color:#172b4d!important}.border-white{border-color:#fff!important}.border-neutral{border-color:#fff!important}.border-darker{border-color:#000!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.25rem!important}.rounded{border-radius:.375rem!important}.rounded-top{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.rounded-right{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.rounded-bottom{border-bottom-right-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.rounded-left{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.rounded-lg{border-radius:.4375rem!important}.avatar.rounded-circle img,.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix::after{display:block;clear:both;content:''}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}}.embed-responsive{position:relative;display:block;overflow:hidden;width:100%;padding:0}.embed-responsive::before{display:block;content:''}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9::before{padding-top:42.85714%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.embed-responsive-21by9::before{padding-top:42.85714%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}@media (min-width:576px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}}@media (min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{position:fixed;z-index:1030;top:0;right:0;left:0}.fixed-bottom{position:fixed;z-index:1030;right:0;bottom:0;left:0}@supports ((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;z-index:1020;top:0}}.sr-only{position:absolute;overflow:hidden;clip:rect(0,0,0,0);width:1px;height:1px;margin:-1px;padding:0;white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;overflow:visible;clip:auto;width:auto;height:auto;white-space:normal}.shadow-sm{box-shadow:0 0 .5rem rgba(136,152,170,.075)!important}.shadow{box-shadow:0 0 2rem 0 rgba(136,152,170,.15)!important}.shadow-lg{box-shadow:0 0 3rem rgba(136,152,170,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.stretched-link::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;content:'';pointer-events:auto;background-color:rgba(0,0,0,0)}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.m--9{margin:-10rem!important}.mt--9,.my--9{margin-top:-10rem!important}.mr--9,.mx--9{margin-right:-10rem!important}.mb--9,.my--9{margin-bottom:-10rem!important}.ml--9,.mx--9{margin-left:-10rem!important}.m--8{margin:-8rem!important}.mt--8,.my--8{margin-top:-8rem!important}.mr--8,.mx--8{margin-right:-8rem!important}.mb--8,.my--8{margin-bottom:-8rem!important}.ml--8,.mx--8{margin-left:-8rem!important}.m--7{margin:-6rem!important}.mt--7,.my--7{margin-top:-6rem!important}.mr--7,.mx--7{margin-right:-6rem!important}.mb--7,.my--7{margin-bottom:-6rem!important}.ml--7,.mx--7{margin-left:-6rem!important}.m--6{margin:-4.5rem!important}.mt--6,.my--6{margin-top:-4.5rem!important}.mr--6,.mx--6{margin-right:-4.5rem!important}.mb--6,.my--6{margin-bottom:-4.5rem!important}.ml--6,.mx--6{margin-left:-4.5rem!important}.m--5{margin:-3rem!important}.mt--5,.my--5{margin-top:-3rem!important}.mr--5,.mx--5{margin-right:-3rem!important}.mb--5,.my--5{margin-bottom:-3rem!important}.ml--5,.mx--5{margin-left:-3rem!important}.m--4{margin:-1.5rem!important}.mt--4,.my--4{margin-top:-1.5rem!important}.mr--4,.mx--4{margin-right:-1.5rem!important}.mb--4,.my--4{margin-bottom:-1.5rem!important}.ml--4,.mx--4{margin-left:-1.5rem!important}.m--3{margin:-1rem!important}.mt--3,.my--3{margin-top:-1rem!important}.mr--3,.mx--3{margin-right:-1rem!important}.mb--3,.my--3{margin-bottom:-1rem!important}.ml--3,.mx--3{margin-left:-1rem!important}.m--2{margin:-.5rem!important}.mt--2,.my--2{margin-top:-.5rem!important}.mr--2,.mx--2{margin-right:-.5rem!important}.mb--2,.my--2{margin-bottom:-.5rem!important}.ml--2,.mx--2{margin-left:-.5rem!important}.m--1{margin:-.25rem!important}.mt--1,.my--1{margin-top:-.25rem!important}.mr--1,.mx--1{margin-right:-.25rem!important}.mb--1,.my--1{margin-bottom:-.25rem!important}.ml--1,.mx--1{margin-left:-.25rem!important}.m-6{margin:4.5rem!important}.mt-6,.my-6{margin-top:4.5rem!important}.mr-6,.mx-6{margin-right:4.5rem!important}.mb-6,.my-6{margin-bottom:4.5rem!important}.ml-6,.mx-6{margin-left:4.5rem!important}.m-7{margin:6rem!important}.mt-7,.my-7{margin-top:6rem!important}.mr-7,.mx-7{margin-right:6rem!important}.mb-7,.my-7{margin-bottom:6rem!important}.ml-7,.mx-7{margin-left:6rem!important}.m-8{margin:8rem!important}.mt-8,.my-8{margin-top:8rem!important}.mr-8,.mx-8{margin-right:8rem!important}.mb-8,.my-8{margin-bottom:8rem!important}.ml-8,.mx-8{margin-left:8rem!important}.m-9{margin:10rem!important}.mt-9,.my-9{margin-top:10rem!important}.mr-9,.mx-9{margin-right:10rem!important}.mb-9,.my-9{margin-bottom:10rem!important}.ml-9,.mx-9{margin-left:10rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.p-6{padding:4.5rem!important}.pt-6,.py-6{padding-top:4.5rem!important}.pr-6,.px-6{padding-right:4.5rem!important}.pb-6,.py-6{padding-bottom:4.5rem!important}.pl-6,.px-6{padding-left:4.5rem!important}.p-7{padding:6rem!important}.pt-7,.py-7{padding-top:6rem!important}.pr-7,.px-7{padding-right:6rem!important}.pb-7,.py-7{padding-bottom:6rem!important}.pl-7,.px-7{padding-left:6rem!important}.p-8{padding:8rem!important}.pt-8,.py-8{padding-top:8rem!important}.pr-8,.px-8{padding-right:8rem!important}.pb-8,.py-8{padding-bottom:8rem!important}.pl-8,.px-8{padding-left:8rem!important}.p-9{padding:10rem!important}.pt-9,.py-9{padding-top:10rem!important}.pr-9,.px-9{padding-right:10rem!important}.pb-9,.py-9{padding-bottom:10rem!important}.pl-9,.px-9{padding-left:10rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-n-9{margin:10rem!important}.mt-n-9,.my-n-9{margin-top:10rem!important}.mr-n-9,.mx-n-9{margin-right:10rem!important}.mb-n-9,.my-n-9{margin-bottom:10rem!important}.ml-n-9,.mx-n-9{margin-left:10rem!important}.m-n-8{margin:8rem!important}.mt-n-8,.my-n-8{margin-top:8rem!important}.mr-n-8,.mx-n-8{margin-right:8rem!important}.mb-n-8,.my-n-8{margin-bottom:8rem!important}.ml-n-8,.mx-n-8{margin-left:8rem!important}.m-n-7{margin:6rem!important}.mt-n-7,.my-n-7{margin-top:6rem!important}.mr-n-7,.mx-n-7{margin-right:6rem!important}.mb-n-7,.my-n-7{margin-bottom:6rem!important}.ml-n-7,.mx-n-7{margin-left:6rem!important}.m-n-6{margin:4.5rem!important}.mt-n-6,.my-n-6{margin-top:4.5rem!important}.mr-n-6,.mx-n-6{margin-right:4.5rem!important}.mb-n-6,.my-n-6{margin-bottom:4.5rem!important}.ml-n-6,.mx-n-6{margin-left:4.5rem!important}.m-n-5{margin:3rem!important}.mt-n-5,.my-n-5{margin-top:3rem!important}.mr-n-5,.mx-n-5{margin-right:3rem!important}.mb-n-5,.my-n-5{margin-bottom:3rem!important}.ml-n-5,.mx-n-5{margin-left:3rem!important}.m-n-4{margin:1.5rem!important}.mt-n-4,.my-n-4{margin-top:1.5rem!important}.mr-n-4,.mx-n-4{margin-right:1.5rem!important}.mb-n-4,.my-n-4{margin-bottom:1.5rem!important}.ml-n-4,.mx-n-4{margin-left:1.5rem!important}.m-n-3{margin:1rem!important}.mt-n-3,.my-n-3{margin-top:1rem!important}.mr-n-3,.mx-n-3{margin-right:1rem!important}.mb-n-3,.my-n-3{margin-bottom:1rem!important}.ml-n-3,.mx-n-3{margin-left:1rem!important}.m-n-2{margin:.5rem!important}.mt-n-2,.my-n-2{margin-top:.5rem!important}.mr-n-2,.mx-n-2{margin-right:.5rem!important}.mb-n-2,.my-n-2{margin-bottom:.5rem!important}.ml-n-2,.mx-n-2{margin-left:.5rem!important}.m-n-1{margin:.25rem!important}.mt-n-1,.my-n-1{margin-top:.25rem!important}.mr-n-1,.mx-n-1{margin-right:.25rem!important}.mb-n-1,.my-n-1{margin-bottom:.25rem!important}.ml-n-1,.mx-n-1{margin-left:.25rem!important}.m-n6{margin:-4.5rem!important}.mt-n6,.my-n6{margin-top:-4.5rem!important}.mr-n6,.mx-n6{margin-right:-4.5rem!important}.mb-n6,.my-n6{margin-bottom:-4.5rem!important}.ml-n6,.mx-n6{margin-left:-4.5rem!important}.m-n7{margin:-6rem!important}.mt-n7,.my-n7{margin-top:-6rem!important}.mr-n7,.mx-n7{margin-right:-6rem!important}.mb-n7,.my-n7{margin-bottom:-6rem!important}.ml-n7,.mx-n7{margin-left:-6rem!important}.m-n8{margin:-8rem!important}.mt-n8,.my-n8{margin-top:-8rem!important}.mr-n8,.mx-n8{margin-right:-8rem!important}.mb-n8,.my-n8{margin-bottom:-8rem!important}.ml-n8,.mx-n8{margin-left:-8rem!important}.m-n9{margin:-10rem!important}.mt-n9,.my-n9{margin-top:-10rem!important}.mr-n9,.mx-n9{margin-right:-10rem!important}.mb-n9,.my-n9{margin-bottom:-10rem!important}.ml-n9,.mx-n9{margin-left:-10rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.m-sm--9{margin:-10rem!important}.mt-sm--9,.my-sm--9{margin-top:-10rem!important}.mr-sm--9,.mx-sm--9{margin-right:-10rem!important}.mb-sm--9,.my-sm--9{margin-bottom:-10rem!important}.ml-sm--9,.mx-sm--9{margin-left:-10rem!important}.m-sm--8{margin:-8rem!important}.mt-sm--8,.my-sm--8{margin-top:-8rem!important}.mr-sm--8,.mx-sm--8{margin-right:-8rem!important}.mb-sm--8,.my-sm--8{margin-bottom:-8rem!important}.ml-sm--8,.mx-sm--8{margin-left:-8rem!important}.m-sm--7{margin:-6rem!important}.mt-sm--7,.my-sm--7{margin-top:-6rem!important}.mr-sm--7,.mx-sm--7{margin-right:-6rem!important}.mb-sm--7,.my-sm--7{margin-bottom:-6rem!important}.ml-sm--7,.mx-sm--7{margin-left:-6rem!important}.m-sm--6{margin:-4.5rem!important}.mt-sm--6,.my-sm--6{margin-top:-4.5rem!important}.mr-sm--6,.mx-sm--6{margin-right:-4.5rem!important}.mb-sm--6,.my-sm--6{margin-bottom:-4.5rem!important}.ml-sm--6,.mx-sm--6{margin-left:-4.5rem!important}.m-sm--5{margin:-3rem!important}.mt-sm--5,.my-sm--5{margin-top:-3rem!important}.mr-sm--5,.mx-sm--5{margin-right:-3rem!important}.mb-sm--5,.my-sm--5{margin-bottom:-3rem!important}.ml-sm--5,.mx-sm--5{margin-left:-3rem!important}.m-sm--4{margin:-1.5rem!important}.mt-sm--4,.my-sm--4{margin-top:-1.5rem!important}.mr-sm--4,.mx-sm--4{margin-right:-1.5rem!important}.mb-sm--4,.my-sm--4{margin-bottom:-1.5rem!important}.ml-sm--4,.mx-sm--4{margin-left:-1.5rem!important}.m-sm--3{margin:-1rem!important}.mt-sm--3,.my-sm--3{margin-top:-1rem!important}.mr-sm--3,.mx-sm--3{margin-right:-1rem!important}.mb-sm--3,.my-sm--3{margin-bottom:-1rem!important}.ml-sm--3,.mx-sm--3{margin-left:-1rem!important}.m-sm--2{margin:-.5rem!important}.mt-sm--2,.my-sm--2{margin-top:-.5rem!important}.mr-sm--2,.mx-sm--2{margin-right:-.5rem!important}.mb-sm--2,.my-sm--2{margin-bottom:-.5rem!important}.ml-sm--2,.mx-sm--2{margin-left:-.5rem!important}.m-sm--1{margin:-.25rem!important}.mt-sm--1,.my-sm--1{margin-top:-.25rem!important}.mr-sm--1,.mx-sm--1{margin-right:-.25rem!important}.mb-sm--1,.my-sm--1{margin-bottom:-.25rem!important}.ml-sm--1,.mx-sm--1{margin-left:-.25rem!important}.m-sm-6{margin:4.5rem!important}.mt-sm-6,.my-sm-6{margin-top:4.5rem!important}.mr-sm-6,.mx-sm-6{margin-right:4.5rem!important}.mb-sm-6,.my-sm-6{margin-bottom:4.5rem!important}.ml-sm-6,.mx-sm-6{margin-left:4.5rem!important}.m-sm-7{margin:6rem!important}.mt-sm-7,.my-sm-7{margin-top:6rem!important}.mr-sm-7,.mx-sm-7{margin-right:6rem!important}.mb-sm-7,.my-sm-7{margin-bottom:6rem!important}.ml-sm-7,.mx-sm-7{margin-left:6rem!important}.m-sm-8{margin:8rem!important}.mt-sm-8,.my-sm-8{margin-top:8rem!important}.mr-sm-8,.mx-sm-8{margin-right:8rem!important}.mb-sm-8,.my-sm-8{margin-bottom:8rem!important}.ml-sm-8,.mx-sm-8{margin-left:8rem!important}.m-sm-9{margin:10rem!important}.mt-sm-9,.my-sm-9{margin-top:10rem!important}.mr-sm-9,.mx-sm-9{margin-right:10rem!important}.mb-sm-9,.my-sm-9{margin-bottom:10rem!important}.ml-sm-9,.mx-sm-9{margin-left:10rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.p-sm-6{padding:4.5rem!important}.pt-sm-6,.py-sm-6{padding-top:4.5rem!important}.pr-sm-6,.px-sm-6{padding-right:4.5rem!important}.pb-sm-6,.py-sm-6{padding-bottom:4.5rem!important}.pl-sm-6,.px-sm-6{padding-left:4.5rem!important}.p-sm-7{padding:6rem!important}.pt-sm-7,.py-sm-7{padding-top:6rem!important}.pr-sm-7,.px-sm-7{padding-right:6rem!important}.pb-sm-7,.py-sm-7{padding-bottom:6rem!important}.pl-sm-7,.px-sm-7{padding-left:6rem!important}.p-sm-8{padding:8rem!important}.pt-sm-8,.py-sm-8{padding-top:8rem!important}.pr-sm-8,.px-sm-8{padding-right:8rem!important}.pb-sm-8,.py-sm-8{padding-bottom:8rem!important}.pl-sm-8,.px-sm-8{padding-left:8rem!important}.p-sm-9{padding:10rem!important}.pt-sm-9,.py-sm-9{padding-top:10rem!important}.pr-sm-9,.px-sm-9{padding-right:10rem!important}.pb-sm-9,.py-sm-9{padding-bottom:10rem!important}.pl-sm-9,.px-sm-9{padding-left:10rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-n-9{margin:10rem!important}.mt-sm-n-9,.my-sm-n-9{margin-top:10rem!important}.mr-sm-n-9,.mx-sm-n-9{margin-right:10rem!important}.mb-sm-n-9,.my-sm-n-9{margin-bottom:10rem!important}.ml-sm-n-9,.mx-sm-n-9{margin-left:10rem!important}.m-sm-n-8{margin:8rem!important}.mt-sm-n-8,.my-sm-n-8{margin-top:8rem!important}.mr-sm-n-8,.mx-sm-n-8{margin-right:8rem!important}.mb-sm-n-8,.my-sm-n-8{margin-bottom:8rem!important}.ml-sm-n-8,.mx-sm-n-8{margin-left:8rem!important}.m-sm-n-7{margin:6rem!important}.mt-sm-n-7,.my-sm-n-7{margin-top:6rem!important}.mr-sm-n-7,.mx-sm-n-7{margin-right:6rem!important}.mb-sm-n-7,.my-sm-n-7{margin-bottom:6rem!important}.ml-sm-n-7,.mx-sm-n-7{margin-left:6rem!important}.m-sm-n-6{margin:4.5rem!important}.mt-sm-n-6,.my-sm-n-6{margin-top:4.5rem!important}.mr-sm-n-6,.mx-sm-n-6{margin-right:4.5rem!important}.mb-sm-n-6,.my-sm-n-6{margin-bottom:4.5rem!important}.ml-sm-n-6,.mx-sm-n-6{margin-left:4.5rem!important}.m-sm-n-5{margin:3rem!important}.mt-sm-n-5,.my-sm-n-5{margin-top:3rem!important}.mr-sm-n-5,.mx-sm-n-5{margin-right:3rem!important}.mb-sm-n-5,.my-sm-n-5{margin-bottom:3rem!important}.ml-sm-n-5,.mx-sm-n-5{margin-left:3rem!important}.m-sm-n-4{margin:1.5rem!important}.mt-sm-n-4,.my-sm-n-4{margin-top:1.5rem!important}.mr-sm-n-4,.mx-sm-n-4{margin-right:1.5rem!important}.mb-sm-n-4,.my-sm-n-4{margin-bottom:1.5rem!important}.ml-sm-n-4,.mx-sm-n-4{margin-left:1.5rem!important}.m-sm-n-3{margin:1rem!important}.mt-sm-n-3,.my-sm-n-3{margin-top:1rem!important}.mr-sm-n-3,.mx-sm-n-3{margin-right:1rem!important}.mb-sm-n-3,.my-sm-n-3{margin-bottom:1rem!important}.ml-sm-n-3,.mx-sm-n-3{margin-left:1rem!important}.m-sm-n-2{margin:.5rem!important}.mt-sm-n-2,.my-sm-n-2{margin-top:.5rem!important}.mr-sm-n-2,.mx-sm-n-2{margin-right:.5rem!important}.mb-sm-n-2,.my-sm-n-2{margin-bottom:.5rem!important}.ml-sm-n-2,.mx-sm-n-2{margin-left:.5rem!important}.m-sm-n-1{margin:.25rem!important}.mt-sm-n-1,.my-sm-n-1{margin-top:.25rem!important}.mr-sm-n-1,.mx-sm-n-1{margin-right:.25rem!important}.mb-sm-n-1,.my-sm-n-1{margin-bottom:.25rem!important}.ml-sm-n-1,.mx-sm-n-1{margin-left:.25rem!important}.m-sm-n6{margin:-4.5rem!important}.mt-sm-n6,.my-sm-n6{margin-top:-4.5rem!important}.mr-sm-n6,.mx-sm-n6{margin-right:-4.5rem!important}.mb-sm-n6,.my-sm-n6{margin-bottom:-4.5rem!important}.ml-sm-n6,.mx-sm-n6{margin-left:-4.5rem!important}.m-sm-n7{margin:-6rem!important}.mt-sm-n7,.my-sm-n7{margin-top:-6rem!important}.mr-sm-n7,.mx-sm-n7{margin-right:-6rem!important}.mb-sm-n7,.my-sm-n7{margin-bottom:-6rem!important}.ml-sm-n7,.mx-sm-n7{margin-left:-6rem!important}.m-sm-n8{margin:-8rem!important}.mt-sm-n8,.my-sm-n8{margin-top:-8rem!important}.mr-sm-n8,.mx-sm-n8{margin-right:-8rem!important}.mb-sm-n8,.my-sm-n8{margin-bottom:-8rem!important}.ml-sm-n8,.mx-sm-n8{margin-left:-8rem!important}.m-sm-n9{margin:-10rem!important}.mt-sm-n9,.my-sm-n9{margin-top:-10rem!important}.mr-sm-n9,.mx-sm-n9{margin-right:-10rem!important}.mb-sm-n9,.my-sm-n9{margin-bottom:-10rem!important}.ml-sm-n9,.mx-sm-n9{margin-left:-10rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.m-md--9{margin:-10rem!important}.mt-md--9,.my-md--9{margin-top:-10rem!important}.mr-md--9,.mx-md--9{margin-right:-10rem!important}.mb-md--9,.my-md--9{margin-bottom:-10rem!important}.ml-md--9,.mx-md--9{margin-left:-10rem!important}.m-md--8{margin:-8rem!important}.mt-md--8,.my-md--8{margin-top:-8rem!important}.mr-md--8,.mx-md--8{margin-right:-8rem!important}.mb-md--8,.my-md--8{margin-bottom:-8rem!important}.ml-md--8,.mx-md--8{margin-left:-8rem!important}.m-md--7{margin:-6rem!important}.mt-md--7,.my-md--7{margin-top:-6rem!important}.mr-md--7,.mx-md--7{margin-right:-6rem!important}.mb-md--7,.my-md--7{margin-bottom:-6rem!important}.ml-md--7,.mx-md--7{margin-left:-6rem!important}.m-md--6{margin:-4.5rem!important}.mt-md--6,.my-md--6{margin-top:-4.5rem!important}.mr-md--6,.mx-md--6{margin-right:-4.5rem!important}.mb-md--6,.my-md--6{margin-bottom:-4.5rem!important}.ml-md--6,.mx-md--6{margin-left:-4.5rem!important}.m-md--5{margin:-3rem!important}.mt-md--5,.my-md--5{margin-top:-3rem!important}.mr-md--5,.mx-md--5{margin-right:-3rem!important}.mb-md--5,.my-md--5{margin-bottom:-3rem!important}.ml-md--5,.mx-md--5{margin-left:-3rem!important}.m-md--4{margin:-1.5rem!important}.mt-md--4,.my-md--4{margin-top:-1.5rem!important}.mr-md--4,.mx-md--4{margin-right:-1.5rem!important}.mb-md--4,.my-md--4{margin-bottom:-1.5rem!important}.ml-md--4,.mx-md--4{margin-left:-1.5rem!important}.m-md--3{margin:-1rem!important}.mt-md--3,.my-md--3{margin-top:-1rem!important}.mr-md--3,.mx-md--3{margin-right:-1rem!important}.mb-md--3,.my-md--3{margin-bottom:-1rem!important}.ml-md--3,.mx-md--3{margin-left:-1rem!important}.m-md--2{margin:-.5rem!important}.mt-md--2,.my-md--2{margin-top:-.5rem!important}.mr-md--2,.mx-md--2{margin-right:-.5rem!important}.mb-md--2,.my-md--2{margin-bottom:-.5rem!important}.ml-md--2,.mx-md--2{margin-left:-.5rem!important}.m-md--1{margin:-.25rem!important}.mt-md--1,.my-md--1{margin-top:-.25rem!important}.mr-md--1,.mx-md--1{margin-right:-.25rem!important}.mb-md--1,.my-md--1{margin-bottom:-.25rem!important}.ml-md--1,.mx-md--1{margin-left:-.25rem!important}.m-md-6{margin:4.5rem!important}.mt-md-6,.my-md-6{margin-top:4.5rem!important}.mr-md-6,.mx-md-6{margin-right:4.5rem!important}.mb-md-6,.my-md-6{margin-bottom:4.5rem!important}.ml-md-6,.mx-md-6{margin-left:4.5rem!important}.m-md-7{margin:6rem!important}.mt-md-7,.my-md-7{margin-top:6rem!important}.mr-md-7,.mx-md-7{margin-right:6rem!important}.mb-md-7,.my-md-7{margin-bottom:6rem!important}.ml-md-7,.mx-md-7{margin-left:6rem!important}.m-md-8{margin:8rem!important}.mt-md-8,.my-md-8{margin-top:8rem!important}.mr-md-8,.mx-md-8{margin-right:8rem!important}.mb-md-8,.my-md-8{margin-bottom:8rem!important}.ml-md-8,.mx-md-8{margin-left:8rem!important}.m-md-9{margin:10rem!important}.mt-md-9,.my-md-9{margin-top:10rem!important}.mr-md-9,.mx-md-9{margin-right:10rem!important}.mb-md-9,.my-md-9{margin-bottom:10rem!important}.ml-md-9,.mx-md-9{margin-left:10rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.p-md-6{padding:4.5rem!important}.pt-md-6,.py-md-6{padding-top:4.5rem!important}.pr-md-6,.px-md-6{padding-right:4.5rem!important}.pb-md-6,.py-md-6{padding-bottom:4.5rem!important}.pl-md-6,.px-md-6{padding-left:4.5rem!important}.p-md-7{padding:6rem!important}.pt-md-7,.py-md-7{padding-top:6rem!important}.pr-md-7,.px-md-7{padding-right:6rem!important}.pb-md-7,.py-md-7{padding-bottom:6rem!important}.pl-md-7,.px-md-7{padding-left:6rem!important}.p-md-8{padding:8rem!important}.pt-md-8,.py-md-8{padding-top:8rem!important}.pr-md-8,.px-md-8{padding-right:8rem!important}.pb-md-8,.py-md-8{padding-bottom:8rem!important}.pl-md-8,.px-md-8{padding-left:8rem!important}.p-md-9{padding:10rem!important}.pt-md-9,.py-md-9{padding-top:10rem!important}.pr-md-9,.px-md-9{padding-right:10rem!important}.pb-md-9,.py-md-9{padding-bottom:10rem!important}.pl-md-9,.px-md-9{padding-left:10rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-n-9{margin:10rem!important}.mt-md-n-9,.my-md-n-9{margin-top:10rem!important}.mr-md-n-9,.mx-md-n-9{margin-right:10rem!important}.mb-md-n-9,.my-md-n-9{margin-bottom:10rem!important}.ml-md-n-9,.mx-md-n-9{margin-left:10rem!important}.m-md-n-8{margin:8rem!important}.mt-md-n-8,.my-md-n-8{margin-top:8rem!important}.mr-md-n-8,.mx-md-n-8{margin-right:8rem!important}.mb-md-n-8,.my-md-n-8{margin-bottom:8rem!important}.ml-md-n-8,.mx-md-n-8{margin-left:8rem!important}.m-md-n-7{margin:6rem!important}.mt-md-n-7,.my-md-n-7{margin-top:6rem!important}.mr-md-n-7,.mx-md-n-7{margin-right:6rem!important}.mb-md-n-7,.my-md-n-7{margin-bottom:6rem!important}.ml-md-n-7,.mx-md-n-7{margin-left:6rem!important}.m-md-n-6{margin:4.5rem!important}.mt-md-n-6,.my-md-n-6{margin-top:4.5rem!important}.mr-md-n-6,.mx-md-n-6{margin-right:4.5rem!important}.mb-md-n-6,.my-md-n-6{margin-bottom:4.5rem!important}.ml-md-n-6,.mx-md-n-6{margin-left:4.5rem!important}.m-md-n-5{margin:3rem!important}.mt-md-n-5,.my-md-n-5{margin-top:3rem!important}.mr-md-n-5,.mx-md-n-5{margin-right:3rem!important}.mb-md-n-5,.my-md-n-5{margin-bottom:3rem!important}.ml-md-n-5,.mx-md-n-5{margin-left:3rem!important}.m-md-n-4{margin:1.5rem!important}.mt-md-n-4,.my-md-n-4{margin-top:1.5rem!important}.mr-md-n-4,.mx-md-n-4{margin-right:1.5rem!important}.mb-md-n-4,.my-md-n-4{margin-bottom:1.5rem!important}.ml-md-n-4,.mx-md-n-4{margin-left:1.5rem!important}.m-md-n-3{margin:1rem!important}.mt-md-n-3,.my-md-n-3{margin-top:1rem!important}.mr-md-n-3,.mx-md-n-3{margin-right:1rem!important}.mb-md-n-3,.my-md-n-3{margin-bottom:1rem!important}.ml-md-n-3,.mx-md-n-3{margin-left:1rem!important}.m-md-n-2{margin:.5rem!important}.mt-md-n-2,.my-md-n-2{margin-top:.5rem!important}.mr-md-n-2,.mx-md-n-2{margin-right:.5rem!important}.mb-md-n-2,.my-md-n-2{margin-bottom:.5rem!important}.ml-md-n-2,.mx-md-n-2{margin-left:.5rem!important}.m-md-n-1{margin:.25rem!important}.mt-md-n-1,.my-md-n-1{margin-top:.25rem!important}.mr-md-n-1,.mx-md-n-1{margin-right:.25rem!important}.mb-md-n-1,.my-md-n-1{margin-bottom:.25rem!important}.ml-md-n-1,.mx-md-n-1{margin-left:.25rem!important}.m-md-n6{margin:-4.5rem!important}.mt-md-n6,.my-md-n6{margin-top:-4.5rem!important}.mr-md-n6,.mx-md-n6{margin-right:-4.5rem!important}.mb-md-n6,.my-md-n6{margin-bottom:-4.5rem!important}.ml-md-n6,.mx-md-n6{margin-left:-4.5rem!important}.m-md-n7{margin:-6rem!important}.mt-md-n7,.my-md-n7{margin-top:-6rem!important}.mr-md-n7,.mx-md-n7{margin-right:-6rem!important}.mb-md-n7,.my-md-n7{margin-bottom:-6rem!important}.ml-md-n7,.mx-md-n7{margin-left:-6rem!important}.m-md-n8{margin:-8rem!important}.mt-md-n8,.my-md-n8{margin-top:-8rem!important}.mr-md-n8,.mx-md-n8{margin-right:-8rem!important}.mb-md-n8,.my-md-n8{margin-bottom:-8rem!important}.ml-md-n8,.mx-md-n8{margin-left:-8rem!important}.m-md-n9{margin:-10rem!important}.mt-md-n9,.my-md-n9{margin-top:-10rem!important}.mr-md-n9,.mx-md-n9{margin-right:-10rem!important}.mb-md-n9,.my-md-n9{margin-bottom:-10rem!important}.ml-md-n9,.mx-md-n9{margin-left:-10rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.m-lg--9{margin:-10rem!important}.mt-lg--9,.my-lg--9{margin-top:-10rem!important}.mr-lg--9,.mx-lg--9{margin-right:-10rem!important}.mb-lg--9,.my-lg--9{margin-bottom:-10rem!important}.ml-lg--9,.mx-lg--9{margin-left:-10rem!important}.m-lg--8{margin:-8rem!important}.mt-lg--8,.my-lg--8{margin-top:-8rem!important}.mr-lg--8,.mx-lg--8{margin-right:-8rem!important}.mb-lg--8,.my-lg--8{margin-bottom:-8rem!important}.ml-lg--8,.mx-lg--8{margin-left:-8rem!important}.m-lg--7{margin:-6rem!important}.mt-lg--7,.my-lg--7{margin-top:-6rem!important}.mr-lg--7,.mx-lg--7{margin-right:-6rem!important}.mb-lg--7,.my-lg--7{margin-bottom:-6rem!important}.ml-lg--7,.mx-lg--7{margin-left:-6rem!important}.m-lg--6{margin:-4.5rem!important}.mt-lg--6,.my-lg--6{margin-top:-4.5rem!important}.mr-lg--6,.mx-lg--6{margin-right:-4.5rem!important}.mb-lg--6,.my-lg--6{margin-bottom:-4.5rem!important}.ml-lg--6,.mx-lg--6{margin-left:-4.5rem!important}.m-lg--5{margin:-3rem!important}.mt-lg--5,.my-lg--5{margin-top:-3rem!important}.mr-lg--5,.mx-lg--5{margin-right:-3rem!important}.mb-lg--5,.my-lg--5{margin-bottom:-3rem!important}.ml-lg--5,.mx-lg--5{margin-left:-3rem!important}.m-lg--4{margin:-1.5rem!important}.mt-lg--4,.my-lg--4{margin-top:-1.5rem!important}.mr-lg--4,.mx-lg--4{margin-right:-1.5rem!important}.mb-lg--4,.my-lg--4{margin-bottom:-1.5rem!important}.ml-lg--4,.mx-lg--4{margin-left:-1.5rem!important}.m-lg--3{margin:-1rem!important}.mt-lg--3,.my-lg--3{margin-top:-1rem!important}.mr-lg--3,.mx-lg--3{margin-right:-1rem!important}.mb-lg--3,.my-lg--3{margin-bottom:-1rem!important}.ml-lg--3,.mx-lg--3{margin-left:-1rem!important}.m-lg--2{margin:-.5rem!important}.mt-lg--2,.my-lg--2{margin-top:-.5rem!important}.mr-lg--2,.mx-lg--2{margin-right:-.5rem!important}.mb-lg--2,.my-lg--2{margin-bottom:-.5rem!important}.ml-lg--2,.mx-lg--2{margin-left:-.5rem!important}.m-lg--1{margin:-.25rem!important}.mt-lg--1,.my-lg--1{margin-top:-.25rem!important}.mr-lg--1,.mx-lg--1{margin-right:-.25rem!important}.mb-lg--1,.my-lg--1{margin-bottom:-.25rem!important}.ml-lg--1,.mx-lg--1{margin-left:-.25rem!important}.m-lg-6{margin:4.5rem!important}.mt-lg-6,.my-lg-6{margin-top:4.5rem!important}.mr-lg-6,.mx-lg-6{margin-right:4.5rem!important}.mb-lg-6,.my-lg-6{margin-bottom:4.5rem!important}.ml-lg-6,.mx-lg-6{margin-left:4.5rem!important}.m-lg-7{margin:6rem!important}.mt-lg-7,.my-lg-7{margin-top:6rem!important}.mr-lg-7,.mx-lg-7{margin-right:6rem!important}.mb-lg-7,.my-lg-7{margin-bottom:6rem!important}.ml-lg-7,.mx-lg-7{margin-left:6rem!important}.m-lg-8{margin:8rem!important}.mt-lg-8,.my-lg-8{margin-top:8rem!important}.mr-lg-8,.mx-lg-8{margin-right:8rem!important}.mb-lg-8,.my-lg-8{margin-bottom:8rem!important}.ml-lg-8,.mx-lg-8{margin-left:8rem!important}.m-lg-9{margin:10rem!important}.mt-lg-9,.my-lg-9{margin-top:10rem!important}.mr-lg-9,.mx-lg-9{margin-right:10rem!important}.mb-lg-9,.my-lg-9{margin-bottom:10rem!important}.ml-lg-9,.mx-lg-9{margin-left:10rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.p-lg-6{padding:4.5rem!important}.pt-lg-6,.py-lg-6{padding-top:4.5rem!important}.pr-lg-6,.px-lg-6{padding-right:4.5rem!important}.pb-lg-6,.py-lg-6{padding-bottom:4.5rem!important}.pl-lg-6,.px-lg-6{padding-left:4.5rem!important}.p-lg-7{padding:6rem!important}.pt-lg-7,.py-lg-7{padding-top:6rem!important}.pr-lg-7,.px-lg-7{padding-right:6rem!important}.pb-lg-7,.py-lg-7{padding-bottom:6rem!important}.pl-lg-7,.px-lg-7{padding-left:6rem!important}.p-lg-8{padding:8rem!important}.pt-lg-8,.py-lg-8{padding-top:8rem!important}.pr-lg-8,.px-lg-8{padding-right:8rem!important}.pb-lg-8,.py-lg-8{padding-bottom:8rem!important}.pl-lg-8,.px-lg-8{padding-left:8rem!important}.p-lg-9{padding:10rem!important}.pt-lg-9,.py-lg-9{padding-top:10rem!important}.pr-lg-9,.px-lg-9{padding-right:10rem!important}.pb-lg-9,.py-lg-9{padding-bottom:10rem!important}.pl-lg-9,.px-lg-9{padding-left:10rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-n-9{margin:10rem!important}.mt-lg-n-9,.my-lg-n-9{margin-top:10rem!important}.mr-lg-n-9,.mx-lg-n-9{margin-right:10rem!important}.mb-lg-n-9,.my-lg-n-9{margin-bottom:10rem!important}.ml-lg-n-9,.mx-lg-n-9{margin-left:10rem!important}.m-lg-n-8{margin:8rem!important}.mt-lg-n-8,.my-lg-n-8{margin-top:8rem!important}.mr-lg-n-8,.mx-lg-n-8{margin-right:8rem!important}.mb-lg-n-8,.my-lg-n-8{margin-bottom:8rem!important}.ml-lg-n-8,.mx-lg-n-8{margin-left:8rem!important}.m-lg-n-7{margin:6rem!important}.mt-lg-n-7,.my-lg-n-7{margin-top:6rem!important}.mr-lg-n-7,.mx-lg-n-7{margin-right:6rem!important}.mb-lg-n-7,.my-lg-n-7{margin-bottom:6rem!important}.ml-lg-n-7,.mx-lg-n-7{margin-left:6rem!important}.m-lg-n-6{margin:4.5rem!important}.mt-lg-n-6,.my-lg-n-6{margin-top:4.5rem!important}.mr-lg-n-6,.mx-lg-n-6{margin-right:4.5rem!important}.mb-lg-n-6,.my-lg-n-6{margin-bottom:4.5rem!important}.ml-lg-n-6,.mx-lg-n-6{margin-left:4.5rem!important}.m-lg-n-5{margin:3rem!important}.mt-lg-n-5,.my-lg-n-5{margin-top:3rem!important}.mr-lg-n-5,.mx-lg-n-5{margin-right:3rem!important}.mb-lg-n-5,.my-lg-n-5{margin-bottom:3rem!important}.ml-lg-n-5,.mx-lg-n-5{margin-left:3rem!important}.m-lg-n-4{margin:1.5rem!important}.mt-lg-n-4,.my-lg-n-4{margin-top:1.5rem!important}.mr-lg-n-4,.mx-lg-n-4{margin-right:1.5rem!important}.mb-lg-n-4,.my-lg-n-4{margin-bottom:1.5rem!important}.ml-lg-n-4,.mx-lg-n-4{margin-left:1.5rem!important}.m-lg-n-3{margin:1rem!important}.mt-lg-n-3,.my-lg-n-3{margin-top:1rem!important}.mr-lg-n-3,.mx-lg-n-3{margin-right:1rem!important}.mb-lg-n-3,.my-lg-n-3{margin-bottom:1rem!important}.ml-lg-n-3,.mx-lg-n-3{margin-left:1rem!important}.m-lg-n-2{margin:.5rem!important}.mt-lg-n-2,.my-lg-n-2{margin-top:.5rem!important}.mr-lg-n-2,.mx-lg-n-2{margin-right:.5rem!important}.mb-lg-n-2,.my-lg-n-2{margin-bottom:.5rem!important}.ml-lg-n-2,.mx-lg-n-2{margin-left:.5rem!important}.m-lg-n-1{margin:.25rem!important}.mt-lg-n-1,.my-lg-n-1{margin-top:.25rem!important}.mr-lg-n-1,.mx-lg-n-1{margin-right:.25rem!important}.mb-lg-n-1,.my-lg-n-1{margin-bottom:.25rem!important}.ml-lg-n-1,.mx-lg-n-1{margin-left:.25rem!important}.m-lg-n6{margin:-4.5rem!important}.mt-lg-n6,.my-lg-n6{margin-top:-4.5rem!important}.mr-lg-n6,.mx-lg-n6{margin-right:-4.5rem!important}.mb-lg-n6,.my-lg-n6{margin-bottom:-4.5rem!important}.ml-lg-n6,.mx-lg-n6{margin-left:-4.5rem!important}.m-lg-n7{margin:-6rem!important}.mt-lg-n7,.my-lg-n7{margin-top:-6rem!important}.mr-lg-n7,.mx-lg-n7{margin-right:-6rem!important}.mb-lg-n7,.my-lg-n7{margin-bottom:-6rem!important}.ml-lg-n7,.mx-lg-n7{margin-left:-6rem!important}.m-lg-n8{margin:-8rem!important}.mt-lg-n8,.my-lg-n8{margin-top:-8rem!important}.mr-lg-n8,.mx-lg-n8{margin-right:-8rem!important}.mb-lg-n8,.my-lg-n8{margin-bottom:-8rem!important}.ml-lg-n8,.mx-lg-n8{margin-left:-8rem!important}.m-lg-n9{margin:-10rem!important}.mt-lg-n9,.my-lg-n9{margin-top:-10rem!important}.mr-lg-n9,.mx-lg-n9{margin-right:-10rem!important}.mb-lg-n9,.my-lg-n9{margin-bottom:-10rem!important}.ml-lg-n9,.mx-lg-n9{margin-left:-10rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.m-xl--9{margin:-10rem!important}.mt-xl--9,.my-xl--9{margin-top:-10rem!important}.mr-xl--9,.mx-xl--9{margin-right:-10rem!important}.mb-xl--9,.my-xl--9{margin-bottom:-10rem!important}.ml-xl--9,.mx-xl--9{margin-left:-10rem!important}.m-xl--8{margin:-8rem!important}.mt-xl--8,.my-xl--8{margin-top:-8rem!important}.mr-xl--8,.mx-xl--8{margin-right:-8rem!important}.mb-xl--8,.my-xl--8{margin-bottom:-8rem!important}.ml-xl--8,.mx-xl--8{margin-left:-8rem!important}.m-xl--7{margin:-6rem!important}.mt-xl--7,.my-xl--7{margin-top:-6rem!important}.mr-xl--7,.mx-xl--7{margin-right:-6rem!important}.mb-xl--7,.my-xl--7{margin-bottom:-6rem!important}.ml-xl--7,.mx-xl--7{margin-left:-6rem!important}.m-xl--6{margin:-4.5rem!important}.mt-xl--6,.my-xl--6{margin-top:-4.5rem!important}.mr-xl--6,.mx-xl--6{margin-right:-4.5rem!important}.mb-xl--6,.my-xl--6{margin-bottom:-4.5rem!important}.ml-xl--6,.mx-xl--6{margin-left:-4.5rem!important}.m-xl--5{margin:-3rem!important}.mt-xl--5,.my-xl--5{margin-top:-3rem!important}.mr-xl--5,.mx-xl--5{margin-right:-3rem!important}.mb-xl--5,.my-xl--5{margin-bottom:-3rem!important}.ml-xl--5,.mx-xl--5{margin-left:-3rem!important}.m-xl--4{margin:-1.5rem!important}.mt-xl--4,.my-xl--4{margin-top:-1.5rem!important}.mr-xl--4,.mx-xl--4{margin-right:-1.5rem!important}.mb-xl--4,.my-xl--4{margin-bottom:-1.5rem!important}.ml-xl--4,.mx-xl--4{margin-left:-1.5rem!important}.m-xl--3{margin:-1rem!important}.mt-xl--3,.my-xl--3{margin-top:-1rem!important}.mr-xl--3,.mx-xl--3{margin-right:-1rem!important}.mb-xl--3,.my-xl--3{margin-bottom:-1rem!important}.ml-xl--3,.mx-xl--3{margin-left:-1rem!important}.m-xl--2{margin:-.5rem!important}.mt-xl--2,.my-xl--2{margin-top:-.5rem!important}.mr-xl--2,.mx-xl--2{margin-right:-.5rem!important}.mb-xl--2,.my-xl--2{margin-bottom:-.5rem!important}.ml-xl--2,.mx-xl--2{margin-left:-.5rem!important}.m-xl--1{margin:-.25rem!important}.mt-xl--1,.my-xl--1{margin-top:-.25rem!important}.mr-xl--1,.mx-xl--1{margin-right:-.25rem!important}.mb-xl--1,.my-xl--1{margin-bottom:-.25rem!important}.ml-xl--1,.mx-xl--1{margin-left:-.25rem!important}.m-xl-6{margin:4.5rem!important}.mt-xl-6,.my-xl-6{margin-top:4.5rem!important}.mr-xl-6,.mx-xl-6{margin-right:4.5rem!important}.mb-xl-6,.my-xl-6{margin-bottom:4.5rem!important}.ml-xl-6,.mx-xl-6{margin-left:4.5rem!important}.m-xl-7{margin:6rem!important}.mt-xl-7,.my-xl-7{margin-top:6rem!important}.mr-xl-7,.mx-xl-7{margin-right:6rem!important}.mb-xl-7,.my-xl-7{margin-bottom:6rem!important}.ml-xl-7,.mx-xl-7{margin-left:6rem!important}.m-xl-8{margin:8rem!important}.mt-xl-8,.my-xl-8{margin-top:8rem!important}.mr-xl-8,.mx-xl-8{margin-right:8rem!important}.mb-xl-8,.my-xl-8{margin-bottom:8rem!important}.ml-xl-8,.mx-xl-8{margin-left:8rem!important}.m-xl-9{margin:10rem!important}.mt-xl-9,.my-xl-9{margin-top:10rem!important}.mr-xl-9,.mx-xl-9{margin-right:10rem!important}.mb-xl-9,.my-xl-9{margin-bottom:10rem!important}.ml-xl-9,.mx-xl-9{margin-left:10rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.p-xl-6{padding:4.5rem!important}.pt-xl-6,.py-xl-6{padding-top:4.5rem!important}.pr-xl-6,.px-xl-6{padding-right:4.5rem!important}.pb-xl-6,.py-xl-6{padding-bottom:4.5rem!important}.pl-xl-6,.px-xl-6{padding-left:4.5rem!important}.p-xl-7{padding:6rem!important}.pt-xl-7,.py-xl-7{padding-top:6rem!important}.pr-xl-7,.px-xl-7{padding-right:6rem!important}.pb-xl-7,.py-xl-7{padding-bottom:6rem!important}.pl-xl-7,.px-xl-7{padding-left:6rem!important}.p-xl-8{padding:8rem!important}.pt-xl-8,.py-xl-8{padding-top:8rem!important}.pr-xl-8,.px-xl-8{padding-right:8rem!important}.pb-xl-8,.py-xl-8{padding-bottom:8rem!important}.pl-xl-8,.px-xl-8{padding-left:8rem!important}.p-xl-9{padding:10rem!important}.pt-xl-9,.py-xl-9{padding-top:10rem!important}.pr-xl-9,.px-xl-9{padding-right:10rem!important}.pb-xl-9,.py-xl-9{padding-bottom:10rem!important}.pl-xl-9,.px-xl-9{padding-left:10rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-n-9{margin:10rem!important}.mt-xl-n-9,.my-xl-n-9{margin-top:10rem!important}.mr-xl-n-9,.mx-xl-n-9{margin-right:10rem!important}.mb-xl-n-9,.my-xl-n-9{margin-bottom:10rem!important}.ml-xl-n-9,.mx-xl-n-9{margin-left:10rem!important}.m-xl-n-8{margin:8rem!important}.mt-xl-n-8,.my-xl-n-8{margin-top:8rem!important}.mr-xl-n-8,.mx-xl-n-8{margin-right:8rem!important}.mb-xl-n-8,.my-xl-n-8{margin-bottom:8rem!important}.ml-xl-n-8,.mx-xl-n-8{margin-left:8rem!important}.m-xl-n-7{margin:6rem!important}.mt-xl-n-7,.my-xl-n-7{margin-top:6rem!important}.mr-xl-n-7,.mx-xl-n-7{margin-right:6rem!important}.mb-xl-n-7,.my-xl-n-7{margin-bottom:6rem!important}.ml-xl-n-7,.mx-xl-n-7{margin-left:6rem!important}.m-xl-n-6{margin:4.5rem!important}.mt-xl-n-6,.my-xl-n-6{margin-top:4.5rem!important}.mr-xl-n-6,.mx-xl-n-6{margin-right:4.5rem!important}.mb-xl-n-6,.my-xl-n-6{margin-bottom:4.5rem!important}.ml-xl-n-6,.mx-xl-n-6{margin-left:4.5rem!important}.m-xl-n-5{margin:3rem!important}.mt-xl-n-5,.my-xl-n-5{margin-top:3rem!important}.mr-xl-n-5,.mx-xl-n-5{margin-right:3rem!important}.mb-xl-n-5,.my-xl-n-5{margin-bottom:3rem!important}.ml-xl-n-5,.mx-xl-n-5{margin-left:3rem!important}.m-xl-n-4{margin:1.5rem!important}.mt-xl-n-4,.my-xl-n-4{margin-top:1.5rem!important}.mr-xl-n-4,.mx-xl-n-4{margin-right:1.5rem!important}.mb-xl-n-4,.my-xl-n-4{margin-bottom:1.5rem!important}.ml-xl-n-4,.mx-xl-n-4{margin-left:1.5rem!important}.m-xl-n-3{margin:1rem!important}.mt-xl-n-3,.my-xl-n-3{margin-top:1rem!important}.mr-xl-n-3,.mx-xl-n-3{margin-right:1rem!important}.mb-xl-n-3,.my-xl-n-3{margin-bottom:1rem!important}.ml-xl-n-3,.mx-xl-n-3{margin-left:1rem!important}.m-xl-n-2{margin:.5rem!important}.mt-xl-n-2,.my-xl-n-2{margin-top:.5rem!important}.mr-xl-n-2,.mx-xl-n-2{margin-right:.5rem!important}.mb-xl-n-2,.my-xl-n-2{margin-bottom:.5rem!important}.ml-xl-n-2,.mx-xl-n-2{margin-left:.5rem!important}.m-xl-n-1{margin:.25rem!important}.mt-xl-n-1,.my-xl-n-1{margin-top:.25rem!important}.mr-xl-n-1,.mx-xl-n-1{margin-right:.25rem!important}.mb-xl-n-1,.my-xl-n-1{margin-bottom:.25rem!important}.ml-xl-n-1,.mx-xl-n-1{margin-left:.25rem!important}.m-xl-n6{margin:-4.5rem!important}.mt-xl-n6,.my-xl-n6{margin-top:-4.5rem!important}.mr-xl-n6,.mx-xl-n6{margin-right:-4.5rem!important}.mb-xl-n6,.my-xl-n6{margin-bottom:-4.5rem!important}.ml-xl-n6,.mx-xl-n6{margin-left:-4.5rem!important}.m-xl-n7{margin:-6rem!important}.mt-xl-n7,.my-xl-n7{margin-top:-6rem!important}.mr-xl-n7,.mx-xl-n7{margin-right:-6rem!important}.mb-xl-n7,.my-xl-n7{margin-bottom:-6rem!important}.ml-xl-n7,.mx-xl-n7{margin-left:-6rem!important}.m-xl-n8{margin:-8rem!important}.mt-xl-n8,.my-xl-n8{margin-top:-8rem!important}.mr-xl-n8,.mx-xl-n8{margin-right:-8rem!important}.mb-xl-n8,.my-xl-n8{margin-bottom:-8rem!important}.ml-xl-n8,.mx-xl-n8{margin-left:-8rem!important}.m-xl-n9{margin:-10rem!important}.mt-xl-n9,.my-xl-n9{margin-top:-10rem!important}.mr-xl-n9,.mx-xl-n9{margin-right:-10rem!important}.mb-xl-n9,.my-xl-n9{margin-bottom:-10rem!important}.ml-xl-n9,.mx-xl-n9{margin-left:-10rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-lighter{font-weight:lighter!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:600!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#5e72e4!important}a.text-primary:focus,a.text-primary:hover{color:#233dd2!important}.text-secondary{color:#f7fafc!important}a.text-secondary:focus,a.text-secondary:hover{color:#bfd7e7!important}.text-success{color:#2dce89!important}a.text-success:focus,a.text-success:hover{color:#1f8f5f!important}.text-info{color:#11cdef!important}a.text-info:focus,a.text-info:hover{color:#0b90a8!important}.text-warning{color:#fb6340!important}a.text-warning:focus,a.text-warning:hover{color:#ea3005!important}.text-danger{color:#f5365c!important}a.text-danger:focus,a.text-danger:hover{color:#d40b33!important}.text-light{color:#adb5bd!important}a.text-light:focus,a.text-light:hover{color:#838f9b!important}.text-dark{color:#212529!important}a.text-dark:focus,a.text-dark:hover{color:#000!important}.text-default{color:#172b4d!important}a.text-default:focus,a.text-default:hover{color:#050a12!important}.text-white{color:#fff!important}a.text-white:focus,a.text-white:hover{color:#d9d9d9!important}.text-neutral{color:#fff!important}a.text-neutral:focus,a.text-neutral:hover{color:#d9d9d9!important}.text-darker{color:#000!important}a.text-darker:focus,a.text-darker:hover{color:#000!important}.text-body{color:#525f7f!important}.text-muted{color:#8898aa!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:rgba(255,255,255,.5)!important}.text-hide{font:0/0 a;color:transparent;border:0;background-color:transparent;text-shadow:none}.text-decoration-none{text-decoration:none!important}.text-break{word-break:break-word!important;overflow-wrap:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,::after,::before{box-shadow:none!important;text-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]::after{content:' (' attr(title) ')'}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}body{min-width:992px!important}.container{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#e9ecef}.table .thead-dark th{color:inherit;border-color:#e9ecef}}.alert{font-size:.875rem}.alert-heading{font-size:.9375rem;font-weight:600;margin-top:.15rem}.alert-icon{font-size:1.25rem;display:inline-block;margin-right:1.25rem;vertical-align:middle}.alert-icon i.ni{position:relative;top:2px}.alert-text{display:inline-block;vertical-align:middle}[class*=alert-] .alert-link{color:#fff;border-bottom:1px dotted rgba(255,255,255,.5)}.alert-dismissible .close{top:50%;right:1.5rem;padding:0;transform:translateY(-50%);opacity:1}@media (max-width:575.98px){.alert-dismissible .close{top:1rem;right:.5rem}}.alert-dismissible .close>span:not(.sr-only){font-size:1.5rem;color:rgba(255,255,255,.6);background-color:transparent}.alert-dismissible .close:focus>span:not(.sr-only),.alert-dismissible .close:hover>span:not(.sr-only){color:#fff;background-color:transparent}.alert-secondary .close>span:not(.sr-only){color:rgba(23,43,77,.6)}.alert-secondary .close:focus>span:not(.sr-only),.alert-secondary .close:hover>span:not(.sr-only){color:#172b4d}.avatar{font-size:1rem;display:inline-flex;width:48px;height:48px;color:#fff;border-radius:.375rem;background-color:#adb5bd;align-items:center;justify-content:center}.avatar img{width:100%;border-radius:.375rem}.avatar+.avatar-content{display:inline-block;margin-left:.75rem}.avatar-lg{font-size:.875rem;width:58px;height:58px}.avatar-sm{font-size:.875rem;width:36px;height:36px}.avatar-group .avatar{position:relative;z-index:2;border:2px solid #fff}.avatar-group .avatar:hover{z-index:3}.avatar-group .avatar+.avatar{margin-left:-1rem}.badge{text-transform:uppercase}.badge a{color:#fff}.badge-md{padding:.65em 1em}.badge-lg{padding:.85em 1.375em}.badge-inline{margin-right:.625rem}.badge-inline+span{position:relative;top:2px}.badge-inline+span>a{text-decoration:underline}.badge-default{color:#fff}.badge-secondary{color:#212529;background-color:#f7fafc}.btn .badge:not(:first-child){margin-left:.5rem}.btn .badge:not(:last-child){margin-right:.5rem}.badge-circle{font-size:.75rem;font-weight:600;display:inline-flex;width:1.25rem;height:1.25rem;padding:0!important;text-align:center;border-radius:50%;align-items:center;justify-content:center}.badge-circle.badge-md{width:1.5rem;height:1.5rem}.badge-circle.badge-lg{width:2rem;height:2rem}.badge-dot{font-size:.875rem;font-weight:400;padding-right:0;padding-left:0;text-transform:none;background:0 0}.badge-dot strong{color:#32325d}.badge-dot i{display:inline-block;width:.375rem;height:.375rem;margin-right:.375rem;vertical-align:middle;border-radius:50%}.badge-dot.badge-md i{width:.5rem;height:.5rem}.badge-dot.badge-lg i{width:.625rem;height:.625rem}.btn{font-size:.875rem;position:relative;transition:all .15s ease;letter-spacing:.025em;text-transform:none;will-change:transform}.btn:hover{transform:translateY(-1px);box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08)}.btn:not(:last-child){margin-right:.5rem}.btn i:not(:first-child),.btn svg:not(:first-child){margin-left:.5rem}.btn i:not(:last-child),.btn svg:not(:last-child){margin-right:.5rem}.btn-group .btn,.input-group .btn{margin-right:0;transform:translateY(0)}.btn-group-sm>.btn,.btn-sm{font-size:.75rem}.btn-group-lg>.btn,.btn-lg{font-size:.875rem}[class*=btn-outline-]{border-width:1px}.btn-outline-secondary{color:#4385b1}.btn-inner--icon i:not(.fas):not(.fab){position:relative;top:2px}.btn-link{font-weight:600;box-shadow:none}.btn-link:hover{transform:none;box-shadow:none}.btn-neutral{color:#5e72e4}.btn-facebook{color:#fff;border-color:#3b5999;background-color:#3b5999;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-facebook:hover{color:#fff;border-color:#3b5999;background-color:#3b5999}.btn-facebook.focus,.btn-facebook:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(59,89,153,.5)}.btn-facebook.disabled,.btn-facebook:disabled{color:#fff;border-color:#3b5999;background-color:#3b5999}.btn-facebook:not(:disabled):not(.disabled).active,.btn-facebook:not(:disabled):not(.disabled):active,.show>.btn-facebook.dropdown-toggle{color:#fff;border-color:#3b5999;background-color:#2d4474}.btn-facebook:not(:disabled):not(.disabled).active:focus,.btn-facebook:not(:disabled):not(.disabled):active:focus,.show>.btn-facebook.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(59,89,153,.5)}.btn-twitter{color:#fff;border-color:#1da1f2;background-color:#1da1f2;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-twitter:hover{color:#fff;border-color:#1da1f2;background-color:#1da1f2}.btn-twitter.focus,.btn-twitter:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(29,161,242,.5)}.btn-twitter.disabled,.btn-twitter:disabled{color:#fff;border-color:#1da1f2;background-color:#1da1f2}.btn-twitter:not(:disabled):not(.disabled).active,.btn-twitter:not(:disabled):not(.disabled):active,.show>.btn-twitter.dropdown-toggle{color:#fff;border-color:#1da1f2;background-color:#0c85d0}.btn-twitter:not(:disabled):not(.disabled).active:focus,.btn-twitter:not(:disabled):not(.disabled):active:focus,.show>.btn-twitter.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(29,161,242,.5)}.btn-google-plus{color:#fff;border-color:#dd4b39;background-color:#dd4b39;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-google-plus:hover{color:#fff;border-color:#dd4b39;background-color:#dd4b39}.btn-google-plus.focus,.btn-google-plus:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(221,75,57,.5)}.btn-google-plus.disabled,.btn-google-plus:disabled{color:#fff;border-color:#dd4b39;background-color:#dd4b39}.btn-google-plus:not(:disabled):not(.disabled).active,.btn-google-plus:not(:disabled):not(.disabled):active,.show>.btn-google-plus.dropdown-toggle{color:#fff;border-color:#dd4b39;background-color:#c23321}.btn-google-plus:not(:disabled):not(.disabled).active:focus,.btn-google-plus:not(:disabled):not(.disabled):active:focus,.show>.btn-google-plus.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(221,75,57,.5)}.btn-instagram{color:#fff;border-color:#e4405f;background-color:#e4405f;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-instagram:hover{color:#fff;border-color:#e4405f;background-color:#e4405f}.btn-instagram.focus,.btn-instagram:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(228,64,95,.5)}.btn-instagram.disabled,.btn-instagram:disabled{color:#fff;border-color:#e4405f;background-color:#e4405f}.btn-instagram:not(:disabled):not(.disabled).active,.btn-instagram:not(:disabled):not(.disabled):active,.show>.btn-instagram.dropdown-toggle{color:#fff;border-color:#e4405f;background-color:#d31e40}.btn-instagram:not(:disabled):not(.disabled).active:focus,.btn-instagram:not(:disabled):not(.disabled):active:focus,.show>.btn-instagram.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(228,64,95,.5)}.btn-pinterest{color:#fff;border-color:#bd081c;background-color:#bd081c;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-pinterest:hover{color:#fff;border-color:#bd081c;background-color:#bd081c}.btn-pinterest.focus,.btn-pinterest:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(189,8,28,.5)}.btn-pinterest.disabled,.btn-pinterest:disabled{color:#fff;border-color:#bd081c;background-color:#bd081c}.btn-pinterest:not(:disabled):not(.disabled).active,.btn-pinterest:not(:disabled):not(.disabled):active,.show>.btn-pinterest.dropdown-toggle{color:#fff;border-color:#bd081c;background-color:#8c0615}.btn-pinterest:not(:disabled):not(.disabled).active:focus,.btn-pinterest:not(:disabled):not(.disabled):active:focus,.show>.btn-pinterest.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(189,8,28,.5)}.btn-youtube{color:#fff;border-color:#cd201f;background-color:#cd201f;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-youtube:hover{color:#fff;border-color:#cd201f;background-color:#cd201f}.btn-youtube.focus,.btn-youtube:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(205,32,31,.5)}.btn-youtube.disabled,.btn-youtube:disabled{color:#fff;border-color:#cd201f;background-color:#cd201f}.btn-youtube:not(:disabled):not(.disabled).active,.btn-youtube:not(:disabled):not(.disabled):active,.show>.btn-youtube.dropdown-toggle{color:#fff;border-color:#cd201f;background-color:#a11918}.btn-youtube:not(:disabled):not(.disabled).active:focus,.btn-youtube:not(:disabled):not(.disabled):active:focus,.show>.btn-youtube.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(205,32,31,.5)}.btn-slack{color:#fff;border-color:#3aaf85;background-color:#3aaf85;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-slack:hover{color:#fff;border-color:#3aaf85;background-color:#3aaf85}.btn-slack.focus,.btn-slack:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(58,175,133,.5)}.btn-slack.disabled,.btn-slack:disabled{color:#fff;border-color:#3aaf85;background-color:#3aaf85}.btn-slack:not(:disabled):not(.disabled).active,.btn-slack:not(:disabled):not(.disabled):active,.show>.btn-slack.dropdown-toggle{color:#fff;border-color:#3aaf85;background-color:#2d8968}.btn-slack:not(:disabled):not(.disabled).active:focus,.btn-slack:not(:disabled):not(.disabled):active:focus,.show>.btn-slack.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(58,175,133,.5)}.btn-dribbble{color:#fff;border-color:#ea4c89;background-color:#ea4c89;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-dribbble:hover{color:#fff;border-color:#ea4c89;background-color:#ea4c89}.btn-dribbble.focus,.btn-dribbble:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(234,76,137,.5)}.btn-dribbble.disabled,.btn-dribbble:disabled{color:#fff;border-color:#ea4c89;background-color:#ea4c89}.btn-dribbble:not(:disabled):not(.disabled).active,.btn-dribbble:not(:disabled):not(.disabled):active,.show>.btn-dribbble.dropdown-toggle{color:#fff;border-color:#ea4c89;background-color:#e51e6b}.btn-dribbble:not(:disabled):not(.disabled).active:focus,.btn-dribbble:not(:disabled):not(.disabled):active:focus,.show>.btn-dribbble.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(234,76,137,.5)}.btn-github{color:#fff;border-color:#222;background-color:#222;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-github:hover{color:#fff;border-color:#222;background-color:#222}.btn-github.focus,.btn-github:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(34,34,34,.5)}.btn-github.disabled,.btn-github:disabled{color:#fff;border-color:#222;background-color:#222}.btn-github:not(:disabled):not(.disabled).active,.btn-github:not(:disabled):not(.disabled):active,.show>.btn-github.dropdown-toggle{color:#fff;border-color:#222;background-color:#090909}.btn-github:not(:disabled):not(.disabled).active:focus,.btn-github:not(:disabled):not(.disabled):active:focus,.show>.btn-github.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(34,34,34,.5)}.btn-vimeo{color:#fff;border-color:#04a0f0;background-color:#04a0f0;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.btn-vimeo:hover{color:#fff;border-color:#04a0f0;background-color:#04a0f0}.btn-vimeo.focus,.btn-vimeo:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(4,160,240,.5)}.btn-vimeo.disabled,.btn-vimeo:disabled{color:#fff;border-color:#04a0f0;background-color:#04a0f0}.btn-vimeo:not(:disabled):not(.disabled).active,.btn-vimeo:not(:disabled):not(.disabled):active,.show>.btn-vimeo.dropdown-toggle{color:#fff;border-color:#04a0f0;background-color:#037fbe}.btn-vimeo:not(:disabled):not(.disabled).active:focus,.btn-vimeo:not(:disabled):not(.disabled):active:focus,.show>.btn-vimeo.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(4,160,240,.5)}.btn-icon .btn-inner--icon img{width:20px}.btn-icon .btn-inner--text:not(:first-child){margin-left:.75em}.btn-icon .btn-inner--text:not(:last-child){margin-right:.75em}.btn-icon-only{width:2.375rem;height:2.375rem;padding:0}a.btn-icon-only{line-height:2.5}.btn-group-sm>.btn-icon-only.btn,.btn-icon-only.btn-sm{width:2rem;height:2rem}.btn-icon-clipboard{font-family:inherit;font-size:1rem;font-weight:400;line-height:1.25;display:inline-block;width:100%;margin:0;margin:.5rem 0;padding:1.5rem;cursor:pointer;text-align:left;vertical-align:middle;text-decoration:none;color:#32325d;border:0;border-radius:.375rem;background-color:#f6f9fc;-moz-appearance:none}.btn-icon-clipboard:hover{background-color:#fff;box-shadow:rgba(0,0,0,.1) 0 0 0 1px,rgba(0,0,0,.1) 0 4px 16px}.btn-icon-clipboard>div{display:flex;align-items:center}.btn-icon-clipboard i{font-size:1.5rem;box-sizing:content-box;vertical-align:middle;color:#5e72e4}.btn-icon-clipboard span{font-size:.875rem;line-height:1.5;display:inline-block;overflow:hidden;margin-left:16px;vertical-align:middle;white-space:nowrap;text-overflow:ellipsis}.card{margin-bottom:30px;border:0;box-shadow:0 0 2rem 0 rgba(136,152,170,.15)}.card-translucent{background-color:rgba(18,91,152,.08)}.card-deck .card{margin-bottom:30px}.card.shadow{border:0!important}@media (min-width:576px){.card-columns{column-count:1}}@media (min-width:768px){.card-columns{column-count:2}}@media (min-width:1200px){.card-columns{column-count:3;column-gap:1.25rem}}.card-lift--hover:hover{transition:all .15s ease;transform:translateY(-20px)}@media (prefers-reduced-motion:reduce){.card-lift--hover:hover{transition:none}}.card-blockquote{position:relative;padding:2rem}.card-blockquote .svg-bg{position:absolute;top:-94px;left:0;display:block;width:100%;height:95px}.card-profile-image{position:relative}.card-profile-image img{position:absolute;left:50%;max-width:140px;transition:all .15s ease;transform:translate(-50%,-50%) scale(1);border:3px solid #fff;border-radius:.375rem}.card-profile-image img:hover{transform:translate(-50%,-50%) scale(1.03)}.card-profile-stats{padding:1rem 0}.card-profile-stats>div{margin-right:1rem;padding:.875rem;text-align:center}.card-profile-stats>div:last-child{margin-right:0}.card-profile-stats>div .heading{font-size:1.1rem;font-weight:700;display:block}.card-profile-stats>div .description{font-size:.875rem;color:#adb5bd}.card-profile-actions{padding:.875rem}.card-stats .card-body{padding:1rem 1.5rem}.card-stats .card-status-bullet{position:absolute;top:0;right:0;transform:translate(50%,-50%)}.chart{position:relative;height:350px}.chart-sm{height:230px}.chart-legend{font-size:.875rem;display:flex;margin-top:2.5rem;text-align:center;color:#8898aa;justify-content:center}.chart-legend-item{display:inline-flex;align-items:center}.chart-legend-item+.chart-legend-item{margin-left:1rem}.chart-legend-indicator{display:inline-block;width:.5rem;height:.5rem;margin-right:.375rem;border-radius:50%}#chart-tooltip{z-index:0}#chart-tooltip .arrow{top:100%;left:50%;transform:translateX(-50%) translateX(-.5rem)}.chart-info-overlay{position:absolute;z-index:1;top:0;left:5%;max-width:350px;padding:20px}.close{transition:all .15s ease}.close>span:not(.sr-only){font-size:1.25rem;line-height:17px;display:block;width:1.25rem;height:1.25rem;transition:all .15s ease;color:rgba(0,0,0,.6);border-radius:50%;background-color:transparent}.close:focus,.close:hover{color:rgba(0,0,0,.9);outline:0;background-color:transparent}.close:focus span:not(.sr-only),.close:hover span:not(.sr-only){background-color:transparent}.accordion .card-header{position:relative;cursor:pointer}.accordion .card-header:after{font:normal normal normal 14px/1 NucleoIcons;line-height:0;position:absolute;top:50%;right:1.5rem;content:'\ea0f';transition:all .15s cubic-bezier(.68,-.55,.265,1.55);transform:translateY(-50%)}@media (prefers-reduced-motion:reduce){.accordion .card-header:after{transition:none}}.accordion .card-header[aria-expanded=false]:after{content:'\ea0f'}.accordion .card-header[aria-expanded=true]:after{transform:rotate(180deg)}.accordion .card-header[aria-expanded=true] .heading{color:#5e72e4}.main-content{position:relative}.main-content .navbar-top{padding-right:0!important;padding-left:0!important}@media (min-width:768px){.main-content .container-fluid,.main-content .container-lg,.main-content .container-md,.main-content .container-sm,.main-content .container-xl{padding-right:30px!important;padding-left:30px!important}}.custom-checkbox .custom-control-input~.custom-control-label{font-size:.875rem;cursor:pointer}.custom-checkbox .custom-control-input:checked~.custom-control-label::before{border-color:#5e72e4}.custom-checkbox .custom-control-input:checked~.custom-control-label::after{background-image:url('data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'8\' height=\'8\' viewBox=\'0 0 8 8\'><path fill=\'#fff\' d=\'M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z\'/></svg>')}.custom-checkbox .custom-control-input:disabled~.custom-control-label::before{border-color:#e9ecef}.custom-checkbox .custom-control-input:disabled:checked::before{border-color:rgba(94,114,228,.5)}.custom-control-label::before{top:.25rem;left:-1.75rem;transition:all .15s cubic-bezier(.68,-.55,.265,1.55);border:1px solid #dee2e6}@media (prefers-reduced-motion:reduce){.custom-control-label::before{transition:none}}.custom-control-label::after{top:.25rem;left:-1.75rem}.custom-control-label span{position:relative;top:2px}.custom-control-label{margin-bottom:0}.custom-control-alternative .custom-control-label::before{border:0;box-shadow:0 1px 3px rgba(50,50,93,.15),0 1px 0 rgba(0,0,0,.02)}.custom-control-alternative .custom-control-input:checked~.custom-control-label::before{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.custom-control-alternative .custom-control-input:active~.custom-control-label::before,.custom-control-alternative .custom-control-input:focus~.custom-control-label::before{box-shadow:0 1px 3px rgba(50,50,93,.15),0 1px 0 rgba(0,0,0,.02)}.custom-checkbox .custom-control-input~.custom-control-label{font-size:.875rem;height:1rem;cursor:pointer}.custom-checkbox .custom-control-input:checked~.custom-control-label::before{border-color:#5e72e4}.custom-checkbox .custom-control-input:checked~.custom-control-label::after{background-image:url('data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'8\' height=\'8\' viewBox=\'0 0 8 8\'><path fill=\'#fff\' d=\'M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z\'/></svg>')}.custom-checkbox .custom-control-input:disabled~.custom-control-label::before{border-color:#e9ecef}.custom-checkbox .custom-control-input:disabled:checked::before{border-color:rgba(94,114,228,.5)}.custom-checkbox-primary .custom-control-input:checked~.custom-control-label::before{border-color:#5e72e4;background-color:#5e72e4}.custom-checkbox-primary .custom-control-input:checked~.custom-control-label::after{background-image:#5e72e4}.custom-checkbox-secondary .custom-control-input:checked~.custom-control-label::before{border-color:#f7fafc;background-color:#f7fafc}.custom-checkbox-secondary .custom-control-input:checked~.custom-control-label::after{background-image:#f7fafc}.custom-checkbox-success .custom-control-input:checked~.custom-control-label::before{border-color:#2dce89;background-color:#2dce89}.custom-checkbox-success .custom-control-input:checked~.custom-control-label::after{background-image:#2dce89}.custom-checkbox-info .custom-control-input:checked~.custom-control-label::before{border-color:#11cdef;background-color:#11cdef}.custom-checkbox-info .custom-control-input:checked~.custom-control-label::after{background-image:#11cdef}.custom-checkbox-warning .custom-control-input:checked~.custom-control-label::before{border-color:#fb6340;background-color:#fb6340}.custom-checkbox-warning .custom-control-input:checked~.custom-control-label::after{background-image:#fb6340}.custom-checkbox-danger .custom-control-input:checked~.custom-control-label::before{border-color:#f5365c;background-color:#f5365c}.custom-checkbox-danger .custom-control-input:checked~.custom-control-label::after{background-image:#f5365c}.custom-checkbox-light .custom-control-input:checked~.custom-control-label::before{border-color:#adb5bd;background-color:#adb5bd}.custom-checkbox-light .custom-control-input:checked~.custom-control-label::after{background-image:#adb5bd}.custom-checkbox-dark .custom-control-input:checked~.custom-control-label::before{border-color:#212529;background-color:#212529}.custom-checkbox-dark .custom-control-input:checked~.custom-control-label::after{background-image:#212529}.custom-checkbox-default .custom-control-input:checked~.custom-control-label::before{border-color:#172b4d;background-color:#172b4d}.custom-checkbox-default .custom-control-input:checked~.custom-control-label::after{background-image:#172b4d}.custom-checkbox-white .custom-control-input:checked~.custom-control-label::before{border-color:#fff;background-color:#fff}.custom-checkbox-white .custom-control-input:checked~.custom-control-label::after{background-image:#fff}.custom-checkbox-neutral .custom-control-input:checked~.custom-control-label::before{border-color:#fff;background-color:#fff}.custom-checkbox-neutral .custom-control-input:checked~.custom-control-label::after{background-image:#fff}.custom-checkbox-darker .custom-control-input:checked~.custom-control-label::before{border-color:#000;background-color:#000}.custom-checkbox-darker .custom-control-input:checked~.custom-control-label::after{background-image:#000}.custom-radio .custom-control-input~.custom-control-label{font-size:.875rem;height:1rem;cursor:pointer}.custom-radio .custom-control-input:checked~.custom-control-label::before{border-color:#5e72e4}.custom-radio .custom-control-input:checked~.custom-control-label::after{background-image:url('data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'12\' viewBox=\'-4 -4 8 8\'><circle r=\'3\' fill=\'#fff\'/></svg>')}.custom-radio .custom-control-input:disabled~.custom-control-label::before{border-color:#e9ecef}.custom-radio .custom-control-input:disabled:checked::before{border-color:rgba(94,114,228,.5)}.custom-toggle{position:relative;display:inherit;display:inline-block;width:52px;height:1.5rem;margin:0}.custom-toggle input{display:none}.custom-toggle input:checked+.custom-toggle-slider{border:1px solid #5e72e4}.custom-toggle input:checked+.custom-toggle-slider:before{transform:translateX(28px);background:#5e72e4}.custom-toggle input:disabled+.custom-toggle-slider{border:1px solid #e9ecef}.custom-toggle input:disabled:checked+.custom-toggle-slider{border:1px solid #e9ecef}.custom-toggle input:disabled:checked+.custom-toggle-slider:before{background-color:#8a98eb}.custom-toggle-slider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;border:1px solid #ced4da;border-radius:34px!important;background-color:transparent}.custom-toggle-slider:before{position:absolute;bottom:2px;left:2px;width:18px;height:18px;content:'';transition:all .15s cubic-bezier(.68,-.55,.265,1.55);border-radius:50%!important;background-color:#e9ecef}.custom-toggle-wrapper .custom-toggle+.custom-toggle{margin-left:1rem!important}.custom-toggle input:checked+.custom-toggle-slider:after{right:auto;left:0;content:attr(data-label-on);color:#5e72e4}.custom-toggle-slider:after{font-family:inherit;font-size:.75rem;font-weight:600;line-height:24px;position:absolute;top:0;right:0;display:block;overflow:hidden;min-width:1.66667rem;margin:0 .21667rem;content:attr(data-label-off);transition:all .15s ease;text-align:center;color:#ced4da}@media (prefers-reduced-motion:reduce){.custom-toggle-slider:after{transition:none}}.custom-toggle-primary input:checked+.custom-toggle-slider{border-color:#5e72e4}.custom-toggle-primary input:checked+.custom-toggle-slider:before{background:#5e72e4}.custom-toggle-primary input:checked+.custom-toggle-slider:after{color:#5e72e4}.custom-toggle-primary input:disabled:checked+.custom-toggle-slider{border-color:#5e72e4}.custom-toggle-primary input:disabled:checked+.custom-toggle-slider:before{background-color:#8a98eb}.custom-toggle-secondary input:checked+.custom-toggle-slider{border-color:#f7fafc}.custom-toggle-secondary input:checked+.custom-toggle-slider:before{background:#f7fafc}.custom-toggle-secondary input:checked+.custom-toggle-slider:after{color:#f7fafc}.custom-toggle-secondary input:disabled:checked+.custom-toggle-slider{border-color:#f7fafc}.custom-toggle-secondary input:disabled:checked+.custom-toggle-slider:before{background-color:#fff}.custom-toggle-success input:checked+.custom-toggle-slider{border-color:#2dce89}.custom-toggle-success input:checked+.custom-toggle-slider:before{background:#2dce89}.custom-toggle-success input:checked+.custom-toggle-slider:after{color:#2dce89}.custom-toggle-success input:disabled:checked+.custom-toggle-slider{border-color:#2dce89}.custom-toggle-success input:disabled:checked+.custom-toggle-slider:before{background-color:#54daa1}.custom-toggle-info input:checked+.custom-toggle-slider{border-color:#11cdef}.custom-toggle-info input:checked+.custom-toggle-slider:before{background:#11cdef}.custom-toggle-info input:checked+.custom-toggle-slider:after{color:#11cdef}.custom-toggle-info input:disabled:checked+.custom-toggle-slider{border-color:#11cdef}.custom-toggle-info input:disabled:checked+.custom-toggle-slider:before{background-color:#41d7f2}.custom-toggle-warning input:checked+.custom-toggle-slider{border-color:#fb6340}.custom-toggle-warning input:checked+.custom-toggle-slider:before{background:#fb6340}.custom-toggle-warning input:checked+.custom-toggle-slider:after{color:#fb6340}.custom-toggle-warning input:disabled:checked+.custom-toggle-slider{border-color:#fb6340}.custom-toggle-warning input:disabled:checked+.custom-toggle-slider:before{background-color:#fc8c72}.custom-toggle-danger input:checked+.custom-toggle-slider{border-color:#f5365c}.custom-toggle-danger input:checked+.custom-toggle-slider:before{background:#f5365c}.custom-toggle-danger input:checked+.custom-toggle-slider:after{color:#f5365c}.custom-toggle-danger input:disabled:checked+.custom-toggle-slider{border-color:#f5365c}.custom-toggle-danger input:disabled:checked+.custom-toggle-slider:before{background-color:#f76783}.custom-toggle-light input:checked+.custom-toggle-slider{border-color:#adb5bd}.custom-toggle-light input:checked+.custom-toggle-slider:before{background:#adb5bd}.custom-toggle-light input:checked+.custom-toggle-slider:after{color:#adb5bd}.custom-toggle-light input:disabled:checked+.custom-toggle-slider{border-color:#adb5bd}.custom-toggle-light input:disabled:checked+.custom-toggle-slider:before{background-color:#c9cfd4}.custom-toggle-dark input:checked+.custom-toggle-slider{border-color:#212529}.custom-toggle-dark input:checked+.custom-toggle-slider:before{background:#212529}.custom-toggle-dark input:checked+.custom-toggle-slider:after{color:#212529}.custom-toggle-dark input:disabled:checked+.custom-toggle-slider{border-color:#212529}.custom-toggle-dark input:disabled:checked+.custom-toggle-slider:before{background-color:#383f45}.custom-toggle-default input:checked+.custom-toggle-slider{border-color:#172b4d}.custom-toggle-default input:checked+.custom-toggle-slider:before{background:#172b4d}.custom-toggle-default input:checked+.custom-toggle-slider:after{color:#172b4d}.custom-toggle-default input:disabled:checked+.custom-toggle-slider{border-color:#172b4d}.custom-toggle-default input:disabled:checked+.custom-toggle-slider:before{background-color:#234174}.custom-toggle-white input:checked+.custom-toggle-slider{border-color:#fff}.custom-toggle-white input:checked+.custom-toggle-slider:before{background:#fff}.custom-toggle-white input:checked+.custom-toggle-slider:after{color:#fff}.custom-toggle-white input:disabled:checked+.custom-toggle-slider{border-color:#fff}.custom-toggle-white input:disabled:checked+.custom-toggle-slider:before{background-color:#fff}.custom-toggle-neutral input:checked+.custom-toggle-slider{border-color:#fff}.custom-toggle-neutral input:checked+.custom-toggle-slider:before{background:#fff}.custom-toggle-neutral input:checked+.custom-toggle-slider:after{color:#fff}.custom-toggle-neutral input:disabled:checked+.custom-toggle-slider{border-color:#fff}.custom-toggle-neutral input:disabled:checked+.custom-toggle-slider:before{background-color:#fff}.custom-toggle-darker input:checked+.custom-toggle-slider{border-color:#000}.custom-toggle-darker input:checked+.custom-toggle-slider:before{background:#000}.custom-toggle-darker input:checked+.custom-toggle-slider:after{color:#000}.custom-toggle-darker input:disabled:checked+.custom-toggle-slider{border-color:#000}.custom-toggle-darker input:disabled:checked+.custom-toggle-slider:before{background-color:#1a1a1a}.dropdown,.dropleft,.dropright,.dropup{display:inline-block}.dropdown-menu{min-width:12rem}.dropdown-menu .dropdown-item{font-size:.875rem;padding:.5rem 1rem}.dropdown-menu .dropdown-item>i,.dropdown-menu .dropdown-item>svg{font-size:1rem;margin-right:1rem;vertical-align:-17%}.dropdown-header{font-size:.625rem;font-weight:700;padding-right:1rem;padding-left:1rem;text-transform:uppercase}.dropdown-menu a.media>div:first-child{line-height:1}.dropdown-menu a.media p{color:#8898aa}.dropdown-menu a.media:hover .heading,.dropdown-menu a.media:hover p{color:#172b4d!important}.dropdown-menu-sm{min-width:100px;border:.4375rem}.dropdown-menu-lg{min-width:320px;border-radius:.4375rem}.dropdown-menu-xl{min-width:420px;border-radius:.4375rem}.footer{padding:30px 0;background:#f8f9fe}.footer .col-footer .heading{font-size:.875rem;font-weight:600;margin-bottom:1rem;letter-spacing:0;text-transform:uppercase;color:#8898aa}.footer .footer-link,.footer .nav .nav-item .nav-link{color:#8898aa!important}.footer .footer-link:hover,.footer .nav .nav-item .nav-link:hover{color:#525f7f!important}.footer .list-unstyled li a{font-size:.85rem;display:inline-block;padding:.125rem 0;color:#8898aa}.footer .list-unstyled li a:hover{color:#525f7f}.footer .copyright{font-size:.875rem}.footer-dark .col-footer .heading{color:#fff}.nav-footer .nav-link{font-size:.875rem}.nav-footer .nav-item:last-child .nav-link{padding-right:0}.footer.has-cards{position:relative;overflow:hidden;margin-top:-420px;padding-top:500px;pointer-events:none;background:0 0}.footer.has-cards:before{position:absolute;top:600px;right:0;left:0;height:2000px;content:'';transform:skew(0,-8deg);background:#f7fafc}.footer.has-cards .container{position:relative;pointer-events:auto}.footer-auto-bottom{position:absolute;bottom:0;width:100%}.form-control-label{font-size:.875rem;font-weight:600;color:#525f7f}.form-control{font-size:.875rem;height:calc(1.5em + 1.25rem + 5px);transition:all .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control:focus::-ms-input-placeholder{color:#adb5bd}.form-control:focus::placeholder{color:#adb5bd}.form-control-lg{height:calc(2.25em + 1.25rem + 5px)}.form-control-sm{height:calc(.45em + 1.25rem + 5px)}.form-control-flush{padding:0;border-width:0;background-color:transparent;box-shadow:none}.form-control-flush:focus{border-width:0;background-color:transparent;box-shadow:none}textarea[resize=none]{resize:none!important}textarea[resize=both]{resize:both!important}textarea[resize=vertical]{resize:vertical!important}textarea[resize=horizontal]{resize:horizontal!important}.form-control-muted{border-color:#f7fafe;background-color:#f7fafe;box-shadow:none}.form-control-muted:focus{background-color:#fcfdff}.form-control-alternative{transition:box-shadow .15s ease;border:0;box-shadow:0 1px 3px rgba(50,50,93,.15),0 1px 0 rgba(0,0,0,.02)}.form-control-alternative:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.form-control-lg,.input-group-lg .form-control,.input-group-text{font-size:1rem!important}.custom-control{padding-left:1.75rem}.input-group{transition:all .15s ease-in-out;border-radius:.25rem;box-shadow:0 3px 2px rgba(233,236,239,.05)}@media (prefers-reduced-motion:reduce){.input-group{transition:none}}.input-group .form-control{box-shadow:none}.input-group .form-control:focus{box-shadow:none}.input-group-text{transition:all .15s cubic-bezier(.68,-.55,.265,1.55)}@media (prefers-reduced-motion:reduce){.input-group-text{transition:none}}.input-group-text i{font-size:.875rem}.input-group-text .custom-control{line-height:1}.input-group-prepend .input-group-text{border-right:0}.input-group-append .input-group-text{border-left:0}.input-group-merge .form-control:not(:first-child){padding-left:0;border-left:0}.input-group-merge .form-control:not(:last-child){padding-right:0;border-right:0}.input-group-alternative{transition:box-shadow .15s ease;border:0;box-shadow:0 1px 3px rgba(50,50,93,.15),0 1px 0 rgba(0,0,0,.02)}.input-group-alternative .form-control,.input-group-alternative .input-group-text{border:0;box-shadow:none}.focused .input-group-alternative{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)!important}.input-group-flush{box-shadow:none}.input-group-flush>.form-control{padding:0;border-width:0;background-color:transparent}.input-group-flush>.input-group-append>.input-group-text,.input-group-flush>.input-group-prepend>.input-group-text{padding:0;padding-right:1rem;border-width:0;background-color:transparent}.focused .input-group{box-shadow:0 3px 9px rgba(50,50,9,0),3px 4px 8px rgba(94,114,228,.1)}.focused .input-group-text{color:#8898aa;border-color:#5e72e4;background-color:#fff}.focused .form-control{border-color:#5e72e4}.focused .input-group-flush{box-shadow:none}.has-danger,.has-success{position:relative}.has-danger:after,.has-success:after{font-family:NucleoIcons;font-size:9px;line-height:19px;position:absolute;top:50%;right:15px;display:none;width:19px;height:19px;transform:translateY(-50%);text-align:center;opacity:1;border-radius:50%}.has-danger .input-group-prepend .input-group-text,.has-success .input-group-prepend .input-group-text{border-color:red}.has-success:after{content:'\ea26';color:#1d8357;background-color:#69deac}.has-success .form-control{background-color:#fff}.has-success .form-control::-ms-input-placeholder{color:#2dce89}.has-success .form-control::placeholder{color:#2dce89}.has-danger:after{content:'\ea53';color:#db2d05;background-color:#fda08b}.has-danger .form-control{background-color:#fff}.has-danger .form-control::-ms-input-placeholder{color:#fb6340}.has-danger .form-control::placeholder{color:#fb6340}.row-example>.col span,.row-example>[class^=col-] span{font-size:.875rem;display:block;margin:1rem 0;padding:.75rem;color:#393f49;border-radius:.25rem;background-color:#fff;box-shadow:rgba(0,0,0,.1) 0 0 0 1px,rgba(0,0,0,.1) 0 4px 16px}.no-gutters>.col span,.no-gutters>[class^=col-] span{border-radius:0}.header{position:relative}.icon{width:3rem;height:3rem}.icon i,.icon svg{font-size:2.25rem}.icon+.icon-text{width:calc(100% - 3rem - 1);padding-left:1rem}.icon-xl{width:5rem;height:5rem}.icon-xl i,.icon-xl svg{font-size:4.25rem}.icon-xl+.icon-text{width:calc(100% - 5rem - 1)}.icon-lg{width:4rem;height:4rem}.icon-lg i,.icon-lg svg{font-size:3.25rem}.icon-lg+.icon-text{width:calc(100% - $icon-size-lg - 1)}.icon-sm{width:2rem;height:2rem}.icon-sm i,.icon-sm svg{font-size:1.25rem}.icon-sm+.icon-text{width:calc(100% - $icon-size-sm - 1)}.icon-xs{width:1.25rem;height:1.25rem}.icon-xs i,.icon-xs svg{font-size:.5rem}.icon-xs+.icon-text{width:calc(100% - $icon-size-xs - 1)}.icon-shape{display:inline-flex;padding:12px;text-align:center;border-radius:50%;align-items:center;justify-content:center}.icon-shape i,.icon-shape svg{font-size:1.25rem}.icon-shape.icon-lg i,.icon-shape.icon-lg svg{font-size:1.625rem}.icon-shape.icon-sm i,.icon-shape.icon-sm svg{font-size:.875rem}.icon-shape.icon-xs i,.icon-shape.icon-xs svg{font-size:.6rem}.icon-shape svg{width:30px;height:30px}.icon-shape-primary{color:#2643e9;background-color:rgba(138,152,235,.5)}.icon-shape-secondary{color:#cfe3f1;background-color:rgba(255,255,255,.5)}.icon-shape-success{color:#1aae6f;background-color:rgba(84,218,161,.5)}.icon-shape-info{color:#03acca;background-color:rgba(65,215,242,.5)}.icon-shape-warning{color:#ff3709;background-color:rgba(252,140,114,.5)}.icon-shape-danger{color:#f80031;background-color:rgba(247,103,131,.5)}.icon-shape-light{color:#879cb0;background-color:rgba(201,207,212,.5)}.icon-shape-dark{color:#090c0e;background-color:rgba(56,63,69,.5)}.icon-shape-default{color:#091428;background-color:rgba(35,65,116,.5)}.icon-shape-white{color:#e8e3e3;background-color:rgba(255,255,255,.5)}.icon-shape-neutral{color:#e8e3e3;background-color:rgba(255,255,255,.5)}.icon-shape-darker{color:#000;background-color:rgba(26,26,26,.5)}.list-group-space .list-group-item{margin-bottom:1.5rem;border-radius:.375rem}.list-group-img{width:3rem;height:3rem;margin:-.1rem 1.2rem 0 -.2rem;vertical-align:top;border-radius:50%}.list-group-content{min-width:0;flex:1 1}.list-group-content>p{line-height:1.5;margin:.2rem 0 0;color:#adb5bd}.list-group-heading{font-size:1rem;color:#32325d}.list-group-heading>small{font-weight:500;float:right;color:#adb5bd}.map-canvas{position:relative;width:100%;height:500px;border-radius:.375rem}.mask{position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease}@media (prefers-reduced-motion:reduce){.mask{transition:none}}.modal-title{font-size:1.0625rem}.modal-fluid .modal-dialog{margin-top:0;margin-bottom:0}.modal-fluid .modal-content{border-radius:0}.modal-primary .modal-title{color:#fff}.modal-primary .modal-footer,.modal-primary .modal-header{border-color:rgba(255,255,255,.075)}.modal-primary .modal-content{color:#fff;background-color:#5e72e4}.modal-primary .modal-content .heading{color:#fff}.modal-primary .close>span:not(.sr-only){color:#fff}.modal-secondary .modal-title{color:#212529}.modal-secondary .modal-footer,.modal-secondary .modal-header{border-color:rgba(33,37,41,.075)}.modal-secondary .modal-content{color:#212529;background-color:#f7fafc}.modal-secondary .modal-content .heading{color:#212529}.modal-secondary .close>span:not(.sr-only){color:#fff}.modal-success .modal-title{color:#fff}.modal-success .modal-footer,.modal-success .modal-header{border-color:rgba(255,255,255,.075)}.modal-success .modal-content{color:#fff;background-color:#2dce89}.modal-success .modal-content .heading{color:#fff}.modal-success .close>span:not(.sr-only){color:#fff}.modal-info .modal-title{color:#fff}.modal-info .modal-footer,.modal-info .modal-header{border-color:rgba(255,255,255,.075)}.modal-info .modal-content{color:#fff;background-color:#11cdef}.modal-info .modal-content .heading{color:#fff}.modal-info .close>span:not(.sr-only){color:#fff}.modal-warning .modal-title{color:#fff}.modal-warning .modal-footer,.modal-warning .modal-header{border-color:rgba(255,255,255,.075)}.modal-warning .modal-content{color:#fff;background-color:#fb6340}.modal-warning .modal-content .heading{color:#fff}.modal-warning .close>span:not(.sr-only){color:#fff}.modal-danger .modal-title{color:#fff}.modal-danger .modal-footer,.modal-danger .modal-header{border-color:rgba(255,255,255,.075)}.modal-danger .modal-content{color:#fff;background-color:#f5365c}.modal-danger .modal-content .heading{color:#fff}.modal-danger .close>span:not(.sr-only){color:#fff}.modal-light .modal-title{color:#fff}.modal-light .modal-footer,.modal-light .modal-header{border-color:rgba(255,255,255,.075)}.modal-light .modal-content{color:#fff;background-color:#adb5bd}.modal-light .modal-content .heading{color:#fff}.modal-light .close>span:not(.sr-only){color:#fff}.modal-dark .modal-title{color:#fff}.modal-dark .modal-footer,.modal-dark .modal-header{border-color:rgba(255,255,255,.075)}.modal-dark .modal-content{color:#fff;background-color:#212529}.modal-dark .modal-content .heading{color:#fff}.modal-dark .close>span:not(.sr-only){color:#fff}.modal-default .modal-title{color:#fff}.modal-default .modal-footer,.modal-default .modal-header{border-color:rgba(255,255,255,.075)}.modal-default .modal-content{color:#fff;background-color:#172b4d}.modal-default .modal-content .heading{color:#fff}.modal-default .close>span:not(.sr-only){color:#fff}.modal-white .modal-title{color:#212529}.modal-white .modal-footer,.modal-white .modal-header{border-color:rgba(33,37,41,.075)}.modal-white .modal-content{color:#212529;background-color:#fff}.modal-white .modal-content .heading{color:#212529}.modal-white .close>span:not(.sr-only){color:#fff}.modal-neutral .modal-title{color:#212529}.modal-neutral .modal-footer,.modal-neutral .modal-header{border-color:rgba(33,37,41,.075)}.modal-neutral .modal-content{color:#212529;background-color:#fff}.modal-neutral .modal-content .heading{color:#212529}.modal-neutral .close>span:not(.sr-only){color:#fff}.modal-darker .modal-title{color:#fff}.modal-darker .modal-footer,.modal-darker .modal-header{border-color:rgba(255,255,255,.075)}.modal-darker .modal-content{color:#fff;background-color:#000}.modal-darker .modal-content .heading{color:#fff}.modal-darker .close>span:not(.sr-only){color:#fff}.navbar-horizontal .navbar-nav .nav-link{font-size:.875rem;font-weight:500;letter-spacing:0;text-transform:normal}.navbar-horizontal .navbar-nav .nav-link .nav-link-inner--text{margin-left:.25rem}.navbar-horizontal .navbar-brand{font-size:.875rem;font-size:.875rem;font-weight:600;letter-spacing:.05px;text-transform:uppercase}.navbar-horizontal .navbar-brand img{height:30px}.navbar-horizontal .navbar-dark .navbar-brand{color:#fff}.navbar-horizontal .navbar-light .navbar-brand{color:#32325d}.navbar-horizontal .navbar-nav .nav-item .media:not(:last-child){margin-bottom:1.5rem}@media (min-width:992px){.navbar-horizontal .navbar-nav .nav-item{margin-right:.5rem}.navbar-horizontal .navbar-nav .nav-item [data-toggle=dropdown]::after{transition:all .15s ease}.navbar-horizontal .navbar-nav .nav-item.show [data-toggle=dropdown]::after{transform:rotate(180deg)}.navbar-horizontal .navbar-nav .nav-link{padding-top:1rem;padding-bottom:1rem;border-radius:.375rem}.navbar-horizontal .navbar-nav .nav-link i{margin-right:.625rem}.navbar-horizontal .navbar-nav .nav-link-icon{font-size:1rem;padding-right:.5rem!important;padding-left:.5rem!important;border-radius:.375rem}.navbar-horizontal .navbar-nav .nav-link-icon i{margin-right:0}.navbar-horizontal .navbar-nav .dropdown-menu{margin:0;pointer-events:none;opacity:0}.navbar-horizontal .navbar-nav .dropdown-menu:before{position:absolute;z-index:-5;bottom:100%;left:20px;display:block;width:16px;height:16px;content:'';transform:rotate(-45deg) translateY(1rem);border-radius:.25rem;background:#fff;box-shadow:none}.navbar-horizontal .navbar-nav .dropdown-menu-right:before{right:20px;left:auto}.navbar-horizontal .navbar-nav:not(.navbar-nav-hover) .dropdown-menu.show{animation:show-navbar-dropdown .25s ease forwards;pointer-events:auto;opacity:1}.navbar-horizontal .navbar-nav:not(.navbar-nav-hover) .dropdown-menu.close{display:block;animation:hide-navbar-dropdown .15s ease backwards}.navbar-horizontal .navbar-nav.navbar-nav-hover .dropdown-menu{display:block;transition:visibility .25s,opacity .25s,transform .25s;transform:translate(0,10px) perspective(200px) rotateX(-2deg);pointer-events:none;opacity:0}.navbar-horizontal .navbar-nav.navbar-nav-hover .nav-item.dropdown:hover>.dropdown-menu{display:block;visibility:visible;transform:translate(0,0);animation:none;pointer-events:auto;opacity:1}.navbar-horizontal .navbar-nav .dropdown-menu-inner{position:relative;padding:1rem}}.navbar-horizontal.navbar-transparent{position:absolute;z-index:100;top:0;width:100%;border:0;background-color:transparent;box-shadow:none}.navbar-horizontal.navbar-transparent .navbar-brand{color:#fff}.navbar-horizontal.navbar-transparent .navbar-toggler{color:#fff}.navbar-horizontal.navbar-transparent .navbar-toggler-icon{background-image:url('data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'30\' height=\'30\' viewBox=\'0 0 30 30\'><path stroke=\'rgba(255, 255, 255, 0.95)\' stroke-linecap=\'round\' stroke-miterlimit=\'10\' stroke-width=\'2\' d=\'M4 7h22M4 15h22M4 23h22\'/></svg>')}@media (min-width:768px){.navbar-horizontal.navbar-transparent .navbar-nav .nav-link{color:rgba(255,255,255,.95)}.navbar-horizontal.navbar-transparent .navbar-nav .nav-link:focus,.navbar-horizontal.navbar-transparent .navbar-nav .nav-link:hover{color:rgba(255,255,255,.65)}.navbar-horizontal.navbar-transparent .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-horizontal.navbar-transparent .navbar-nav .active>.nav-link,.navbar-horizontal.navbar-transparent .navbar-nav .nav-link.active,.navbar-horizontal.navbar-transparent .navbar-nav .nav-link.show,.navbar-horizontal.navbar-transparent .navbar-nav .show>.nav-link{color:rgba(255,255,255,.65)}.navbar-horizontal.navbar-transparent .navbar-brand{color:rgba(255,255,255,.95)}.navbar-horizontal.navbar-transparent .navbar-brand:focus,.navbar-horizontal.navbar-transparent .navbar-brand:hover{color:rgba(255,255,255,.95)}}.navbar-horizontal .navbar-collapse-header{display:none}@media (max-width:991.98px){.navbar-horizontal .navbar-nav .nav-link{padding:.625rem 0;color:#172b4d!important}.navbar-horizontal .navbar-nav .dropdown-menu{min-width:auto;box-shadow:none}.navbar-horizontal .navbar-nav .dropdown-menu .media svg{width:30px}.navbar-horizontal .navbar-collapse{position:absolute;z-index:1050;top:0;right:0;left:0;overflow-y:auto;width:calc(100% - 1.4rem);height:auto!important;margin:.7rem;opacity:0}.navbar-horizontal .navbar-collapse .navbar-toggler{position:relative;display:inline-block;width:20px;height:20px;padding:0;cursor:pointer}.navbar-horizontal .navbar-collapse .navbar-toggler span{position:absolute;display:block;width:100%;height:2px;opacity:1;border-radius:2px;background:#283448}.navbar-horizontal .navbar-collapse .navbar-toggler :nth-child(1){transform:rotate(135deg)}.navbar-horizontal .navbar-collapse .navbar-toggler :nth-child(2){transform:rotate(-135deg)}.navbar-horizontal .navbar-collapse .navbar-collapse-header{display:block;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(0,0,0,.1)}.navbar-horizontal .navbar-collapse .collapse-brand img{height:36px}.navbar-horizontal .navbar-collapse .collapse-close{text-align:right}.navbar-horizontal .navbar-collapse.collapsing,.navbar-horizontal .navbar-collapse.show{padding:1.5rem;animation:show-navbar-collapse .2s ease forwards;border-radius:.375rem;background:#fff;box-shadow:0 50px 100px rgba(50,50,93,.1),0 15px 35px rgba(50,50,93,.15),0 5px 15px rgba(0,0,0,.1)}.navbar-horizontal .navbar-collapse.collapsing-out{animation:hide-navbar-collapse .2s ease forwards}}@keyframes show-navbar-collapse{0%{transform:scale(.95);transform-origin:100% 0;opacity:0}100%{transform:scale(1);opacity:1}}@keyframes hide-navbar-collapse{from{transform:scale(1);transform-origin:100% 0;opacity:1}to{transform:scale(.95);opacity:0}}@keyframes show-navbar-dropdown{0%{transition:visibility .25s,opacity .25s,transform .25s;transform:translate(0,10px) perspective(200px) rotateX(-2deg);opacity:0}100%{transform:translate(0,0);opacity:1}}@keyframes hide-navbar-dropdown{from{opacity:1}to{transform:translate(0,10px);opacity:0}}.nav-open .sidenav{transform:translateX(0)}.nav-open .sidenav-toggler-inner .sidenav-toggler-line:first-child{width:13px;transform:translateX(5px)}.nav-open .sidenav-toggler-inner .sidenav-toggler-line:last-child{width:13px;transform:translateX(5px)}.navbar-vertical{padding-top:0;border-width:0 0 1px 0;border-style:solid;box-shadow:0 0 2rem 0 rgba(136,152,170,.15)}.navbar-vertical.navbar-light{border-color:rgba(0,0,0,.05);background-color:#f6f9fc}.navbar-vertical.navbar-dark{border-color:rgba(255,255,255,.1);background-color:transparent}.navbar-vertical .navbar-brand{margin-right:0}.navbar-vertical .navbar-brand-img,.navbar-vertical .navbar-brand>img{max-width:100%;max-height:2rem}@media (min-width:768px){.navbar-vertical .navbar-collapse{margin-right:-1rem;margin-left:-1rem}.navbar-vertical .navbar-collapse:before{display:block;margin:.5rem;content:''}}.navbar-vertical .navbar-nav{margin-right:-1rem;margin-left:-1rem}.navbar-vertical .navbar-nav .nav-link{font-size:.875rem;font-weight:500;padding-right:1rem;padding-left:1rem}.navbar-vertical .navbar-nav .nav-link.active{position:relative}.navbar-vertical .navbar-nav .nav-link>i{font-size:.9375rem;line-height:1.5rem;min-width:2rem}.navbar-vertical .navbar-nav .nav-link .dropdown-menu{border:none}.navbar-vertical .navbar-nav .nav-link .dropdown-menu .dropdown-menu{margin-left:.5rem}.navbar-vertical .navbar-nav .nav-sm .nav-link{font-size:.8125rem}.navbar-vertical .navbar-nav .nav-link{display:flex;align-items:center}.navbar-vertical .navbar-nav .nav-link[data-toggle=collapse]:after{font-family:'Font Awesome 5 Free';font-weight:700;font-style:normal;font-variant:normal;display:inline-block;margin-left:auto;content:'\f105';transition:all .15s ease;color:#ced4da;text-rendering:auto;-webkit-font-smoothing:antialiased}@media (prefers-reduced-motion:reduce){.navbar-vertical .navbar-nav .nav-link[data-toggle=collapse]:after{transition:none}}.navbar-vertical .navbar-nav .nav-link[data-toggle=collapse][aria-expanded=true]:after{transform:rotate(90deg);color:#5e72e4}.navbar-vertical .navbar-nav .nav .nav-link{padding-left:3rem}.navbar-vertical .navbar-nav .nav .nav .nav-link{padding-left:3.5rem}.navbar-vertical .navbar-heading{font-size:.75rem;padding-top:.25rem;padding-bottom:.25rem;letter-spacing:.04em;text-transform:uppercase}.navbar-vertical.navbar-expand-xs{position:fixed;top:0;bottom:0;display:block;overflow-y:auto;width:100%;max-width:250px;padding-right:0;padding-left:0}.navbar-vertical.navbar-expand-xs .navbar-inner{padding-right:1.5rem;padding-left:1.5rem}.navbar-vertical.navbar-expand-xs>[class*=container]{flex-direction:column;min-height:100%;padding-right:0;padding-left:0;align-items:stretch}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.navbar-vertical.navbar-expand-xs>[class*=container]{height:100%;min-height:none}}.navbar-vertical.navbar-expand-xs.fixed-left{left:0;border-width:0 1px 0 0}.navbar-vertical.navbar-expand-xs.fixed-right{right:0;border-width:0 0 0 1px}.navbar-vertical.navbar-expand-xs .navbar-collapse{display:flex;flex-direction:column;margin-right:-1.5rem;margin-left:-1.5rem;padding-right:1.5rem;padding-left:1.5rem;flex:1 1;align-items:stretch}.navbar-vertical.navbar-expand-xs .navbar-collapse>*{min-width:100%}.navbar-vertical.navbar-expand-xs .navbar-nav{flex-direction:column;margin-right:-1.5rem;margin-left:-1.5rem}.navbar-vertical.navbar-expand-xs .navbar-nav .nav-link{padding:.675rem 1.5rem}.navbar-vertical.navbar-expand-xs .navbar-nav>.nav-item{margin-top:2px}.navbar-vertical.navbar-expand-xs .navbar-nav>.nav-item>.nav-link.active{margin-right:.5rem;margin-left:.5rem;padding-right:1rem;padding-left:1rem;border-radius:.375rem;background:#f6f9fc}.navbar-vertical.navbar-expand-xs .lavalamp-object{width:calc(100% - 1rem)!important;margin-right:.5rem;margin-left:.5rem;padding-right:1rem;padding-left:1rem;color:#fff;border-radius:.375rem;background:#5e72e4}.navbar-vertical.navbar-expand-xs .navbar-nav .nav .nav-link{padding-top:.45rem;padding-bottom:.45rem;padding-left:3.5rem}.navbar-vertical.navbar-expand-xs .navbar-nav .nav .nav .nav-link{padding-left:4.25rem}@media (min-width:576px){.navbar-vertical.navbar-expand-sm{position:fixed;top:0;bottom:0;display:block;overflow-y:auto;width:100%;max-width:250px;padding-right:0;padding-left:0}.navbar-vertical.navbar-expand-sm .navbar-inner{padding-right:1.5rem;padding-left:1.5rem}.navbar-vertical.navbar-expand-sm>[class*=container]{flex-direction:column;min-height:100%;padding-right:0;padding-left:0;align-items:stretch}}@media all and (min-width:576px) and (-ms-high-contrast:none),(min-width:576px) and (-ms-high-contrast:active){.navbar-vertical.navbar-expand-sm>[class*=container]{height:100%;min-height:none}}@media (min-width:576px){.navbar-vertical.navbar-expand-sm.fixed-left{left:0;border-width:0 1px 0 0}.navbar-vertical.navbar-expand-sm.fixed-right{right:0;border-width:0 0 0 1px}.navbar-vertical.navbar-expand-sm .navbar-collapse{display:flex;flex-direction:column;margin-right:-1.5rem;margin-left:-1.5rem;padding-right:1.5rem;padding-left:1.5rem;flex:1 1;align-items:stretch}.navbar-vertical.navbar-expand-sm .navbar-collapse>*{min-width:100%}.navbar-vertical.navbar-expand-sm .navbar-nav{flex-direction:column;margin-right:-1.5rem;margin-left:-1.5rem}.navbar-vertical.navbar-expand-sm .navbar-nav .nav-link{padding:.675rem 1.5rem}.navbar-vertical.navbar-expand-sm .navbar-nav>.nav-item{margin-top:2px}.navbar-vertical.navbar-expand-sm .navbar-nav>.nav-item>.nav-link.active{margin-right:.5rem;margin-left:.5rem;padding-right:1rem;padding-left:1rem;border-radius:.375rem;background:#f6f9fc}.navbar-vertical.navbar-expand-sm .lavalamp-object{width:calc(100% - 1rem)!important;margin-right:.5rem;margin-left:.5rem;padding-right:1rem;padding-left:1rem;color:#fff;border-radius:.375rem;background:#5e72e4}.navbar-vertical.navbar-expand-sm .navbar-nav .nav .nav-link{padding-top:.45rem;padding-bottom:.45rem;padding-left:3.5rem}.navbar-vertical.navbar-expand-sm .navbar-nav .nav .nav .nav-link{padding-left:4.25rem}}@media (min-width:768px){.navbar-vertical.navbar-expand-md{position:fixed;top:0;bottom:0;display:block;overflow-y:auto;width:100%;max-width:250px;padding-right:0;padding-left:0}.navbar-vertical.navbar-expand-md .navbar-inner{padding-right:1.5rem;padding-left:1.5rem}.navbar-vertical.navbar-expand-md>[class*=container]{flex-direction:column;min-height:100%;padding-right:0;padding-left:0;align-items:stretch}}@media all and (min-width:768px) and (-ms-high-contrast:none),(min-width:768px) and (-ms-high-contrast:active){.navbar-vertical.navbar-expand-md>[class*=container]{height:100%;min-height:none}}@media (min-width:768px){.navbar-vertical.navbar-expand-md.fixed-left{left:0;border-width:0 1px 0 0}.navbar-vertical.navbar-expand-md.fixed-right{right:0;border-width:0 0 0 1px}.navbar-vertical.navbar-expand-md .navbar-collapse{display:flex;flex-direction:column;margin-right:-1.5rem;margin-left:-1.5rem;padding-right:1.5rem;padding-left:1.5rem;flex:1 1;align-items:stretch}.navbar-vertical.navbar-expand-md .navbar-collapse>*{min-width:100%}.navbar-vertical.navbar-expand-md .navbar-nav{flex-direction:column;margin-right:-1.5rem;margin-left:-1.5rem}.navbar-vertical.navbar-expand-md .navbar-nav .nav-link{padding:.675rem 1.5rem}.navbar-vertical.navbar-expand-md .navbar-nav>.nav-item{margin-top:2px}.navbar-vertical.navbar-expand-md .navbar-nav>.nav-item>.nav-link.active{margin-right:.5rem;margin-left:.5rem;padding-right:1rem;padding-left:1rem;border-radius:.375rem;background:#f6f9fc}.navbar-vertical.navbar-expand-md .lavalamp-object{width:calc(100% - 1rem)!important;margin-right:.5rem;margin-left:.5rem;padding-right:1rem;padding-left:1rem;color:#fff;border-radius:.375rem;background:#5e72e4}.navbar-vertical.navbar-expand-md .navbar-nav .nav .nav-link{padding-top:.45rem;padding-bottom:.45rem;padding-left:3.5rem}.navbar-vertical.navbar-expand-md .navbar-nav .nav .nav .nav-link{padding-left:4.25rem}}@media (min-width:992px){.navbar-vertical.navbar-expand-lg{position:fixed;top:0;bottom:0;display:block;overflow-y:auto;width:100%;max-width:250px;padding-right:0;padding-left:0}.navbar-vertical.navbar-expand-lg .navbar-inner{padding-right:1.5rem;padding-left:1.5rem}.navbar-vertical.navbar-expand-lg>[class*=container]{flex-direction:column;min-height:100%;padding-right:0;padding-left:0;align-items:stretch}}@media all and (min-width:992px) and (-ms-high-contrast:none),(min-width:992px) and (-ms-high-contrast:active){.navbar-vertical.navbar-expand-lg>[class*=container]{height:100%;min-height:none}}@media (min-width:992px){.navbar-vertical.navbar-expand-lg.fixed-left{left:0;border-width:0 1px 0 0}.navbar-vertical.navbar-expand-lg.fixed-right{right:0;border-width:0 0 0 1px}.navbar-vertical.navbar-expand-lg .navbar-collapse{display:flex;flex-direction:column;margin-right:-1.5rem;margin-left:-1.5rem;padding-right:1.5rem;padding-left:1.5rem;flex:1 1;align-items:stretch}.navbar-vertical.navbar-expand-lg .navbar-collapse>*{min-width:100%}.navbar-vertical.navbar-expand-lg .navbar-nav{flex-direction:column;margin-right:-1.5rem;margin-left:-1.5rem}.navbar-vertical.navbar-expand-lg .navbar-nav .nav-link{padding:.675rem 1.5rem}.navbar-vertical.navbar-expand-lg .navbar-nav>.nav-item{margin-top:2px}.navbar-vertical.navbar-expand-lg .navbar-nav>.nav-item>.nav-link.active{margin-right:.5rem;margin-left:.5rem;padding-right:1rem;padding-left:1rem;border-radius:.375rem;background:#f6f9fc}.navbar-vertical.navbar-expand-lg .lavalamp-object{width:calc(100% - 1rem)!important;margin-right:.5rem;margin-left:.5rem;padding-right:1rem;padding-left:1rem;color:#fff;border-radius:.375rem;background:#5e72e4}.navbar-vertical.navbar-expand-lg .navbar-nav .nav .nav-link{padding-top:.45rem;padding-bottom:.45rem;padding-left:3.5rem}.navbar-vertical.navbar-expand-lg .navbar-nav .nav .nav .nav-link{padding-left:4.25rem}}@media (min-width:1200px){.navbar-vertical.navbar-expand-xl{position:fixed;top:0;bottom:0;display:block;overflow-y:auto;width:100%;max-width:250px;padding-right:0;padding-left:0}.navbar-vertical.navbar-expand-xl .navbar-inner{padding-right:1.5rem;padding-left:1.5rem}.navbar-vertical.navbar-expand-xl>[class*=container]{flex-direction:column;min-height:100%;padding-right:0;padding-left:0;align-items:stretch}}@media all and (min-width:1200px) and (-ms-high-contrast:none),(min-width:1200px) and (-ms-high-contrast:active){.navbar-vertical.navbar-expand-xl>[class*=container]{height:100%;min-height:none}}@media (min-width:1200px){.navbar-vertical.navbar-expand-xl.fixed-left{left:0;border-width:0 1px 0 0}.navbar-vertical.navbar-expand-xl.fixed-right{right:0;border-width:0 0 0 1px}.navbar-vertical.navbar-expand-xl .navbar-collapse{display:flex;flex-direction:column;margin-right:-1.5rem;margin-left:-1.5rem;padding-right:1.5rem;padding-left:1.5rem;flex:1 1;align-items:stretch}.navbar-vertical.navbar-expand-xl .navbar-collapse>*{min-width:100%}.navbar-vertical.navbar-expand-xl .navbar-nav{flex-direction:column;margin-right:-1.5rem;margin-left:-1.5rem}.navbar-vertical.navbar-expand-xl .navbar-nav .nav-link{padding:.675rem 1.5rem}.navbar-vertical.navbar-expand-xl .navbar-nav>.nav-item{margin-top:2px}.navbar-vertical.navbar-expand-xl .navbar-nav>.nav-item>.nav-link.active{margin-right:.5rem;margin-left:.5rem;padding-right:1rem;padding-left:1rem;border-radius:.375rem;background:#f6f9fc}.navbar-vertical.navbar-expand-xl .lavalamp-object{width:calc(100% - 1rem)!important;margin-right:.5rem;margin-left:.5rem;padding-right:1rem;padding-left:1rem;color:#fff;border-radius:.375rem;background:#5e72e4}.navbar-vertical.navbar-expand-xl .navbar-nav .nav .nav-link{padding-top:.45rem;padding-bottom:.45rem;padding-left:3.5rem}.navbar-vertical.navbar-expand-xl .navbar-nav .nav .nav .nav-link{padding-left:4.25rem}}.navbar-vertical.navbar-expand-xs.fixed-left+.main-content{margin-left:250px}.navbar-vertical.navbar-expand-xs.fixed-right+.main-content{margin-right:62px}@media (min-width:576px){.navbar-vertical.navbar-expand-sm.fixed-left+.main-content{margin-left:250px}.navbar-vertical.navbar-expand-sm.fixed-right+.main-content{margin-right:62px}}@media (min-width:768px){.navbar-vertical.navbar-expand-md.fixed-left+.main-content{margin-left:250px}.navbar-vertical.navbar-expand-md.fixed-right+.main-content{margin-right:62px}}@media (min-width:992px){.navbar-vertical.navbar-expand-lg.fixed-left+.main-content{margin-left:250px}.navbar-vertical.navbar-expand-lg.fixed-right+.main-content{margin-right:62px}}@media (min-width:1200px){.navbar-vertical.navbar-expand-xl.fixed-left+.main-content{margin-left:250px}.navbar-vertical.navbar-expand-xl.fixed-right+.main-content{margin-right:62px}}.sidenav.fixed-left+.main-content{margin-left:62px;transition:all .15s ease}@media (prefers-reduced-motion:reduce){.sidenav.fixed-left+.main-content{transition:none}}.sidenav.fixed-right+.main-content{margin-right:62px;transition:all .15s ease}@media (prefers-reduced-motion:reduce){.sidenav.fixed-right+.main-content{transition:none}}@media (min-width:1200px){.g-sidenav-pinned .sidenav.fixed-left+.main-content{margin-left:250px}.g-sidenav-pinned .sidenav.fixed-right+.main-content{margin-right:250px}}.sidenav{z-index:1050;transition:all .4s ease}@media (min-width:1200px){.sidenav:hover{max-width:250px}.sidenav .sidenav-toggler{padding:1.5rem}}.sidenav .navbar-brand,.sidenav .navbar-heading{padding:1.5rem}.sidenav-header{height:78px;text-align:center}.g-sidenav-show .sidenav .navbar-brand,.g-sidenav-show .sidenav .navbar-heading{display:block}.g-sidenav-show .sidenav .nav-item .collapse{height:auto;transition:all .15s ease}@media (prefers-reduced-motion:reduce){.g-sidenav-show .sidenav .nav-item .collapse{transition:none}}.g-sidenav-show .sidenav .nav-link-text{transition:.3s ease;opacity:1}.g-sidenav-pinned .sidenav{max-width:250px!important}.g-sidenav-pinned .sidenav .navbar-brand,.g-sidenav-pinned .sidenav .navbar-heading{display:block}@media (min-width:768px){.nav-item .nav-link.active.active-pro{position:absolute;bottom:10px;width:100%;margin-left:0!important;padding-left:25px!important;border-radius:0!important;background:#f6f9fc}}@media (max-width:1199.98px){.sidenav{transform:translateX(-250px)}.sidenav.fixed-left+.main-content{margin-left:0!important}.g-sidenav-pinned .sidenav{transform:translateX(0)}}.sidenav-toggler-inner,.sidenav-toggler-line{width:18px;transition:all .15s ease}@media (prefers-reduced-motion:reduce){.sidenav-toggler-inner,.sidenav-toggler-line{transition:none}}.sidenav-toggler-inner{position:relative}.sidenav-toggler-inner:before{position:absolute;top:-14px;left:-11px;width:40px;height:40px;content:'';transition:all .15s cubic-bezier(.68,-.55,.265,1.55);transform:scale(0);border-radius:50%}@media (prefers-reduced-motion:reduce){.sidenav-toggler-inner:before{transition:none}}.sidenav-toggler-line{position:relative;display:block;height:2px;background-color:#172b4d}.sidenav-toggler-line:not(:last-child){margin-bottom:3px}.sidenav-toggler-dark .sidenav-toggler-line{background-color:#fff}.sidenav-toggler{cursor:pointer}.sidenav-toggler.active .sidenav-toggler-inner:before{transform:scale(1)}.sidenav-toggler.active .sidenav-toggler-line:first-child{width:13px;transform:translateX(5px)}.sidenav-toggler.active .sidenav-toggler-line:last-child{width:13px;transform:translateX(5px)}.bodyClick{position:absolute;top:0;width:100%;height:100vh}.navbar-search .input-group{transition:background-color .3s linear;transition-delay:.15s;border:0 solid;border-radius:2rem}@media (prefers-reduced-motion:reduce){.navbar-search .input-group{transition:none}}.navbar-search .input-group .input-group-text{padding-left:1rem;border:0;background-color:transparent}.navbar-search .form-control{width:250px;transition:all .15s cubic-bezier(.68,-.55,.265,1.55);border:0;background-color:transparent}@media (prefers-reduced-motion:reduce){.navbar-search .form-control{transition:none}}.navbar-search .focused .input-group .form-control{width:380px}.navbar-search .close{display:none}.navbar-search-dark .input-group{border-color:rgba(255,255,255,.6);background-color:rgba(23,43,77,.8)}.navbar-search-dark .input-group-text{color:rgba(255,255,255,.6)}.navbar-search-dark .form-control{color:rgba(255,255,255,.9)}.navbar-search-dark .form-control::-ms-input-placeholder{color:rgba(255,255,255,.6)}.navbar-search-dark .form-control::placeholder{color:rgba(255,255,255,.6)}.navbar-search-dark .focused .input-group{border-color:rgba(255,255,255,.9);background-color:rgba(23,43,77,.9)}.navbar-search-light .input-group{border-color:rgba(0,0,0,.6);background-color:rgba(255,255,255,.9)}.navbar-search-light .input-group-text{color:rgba(0,0,0,.6)}.navbar-search-light .form-control{color:rgba(0,0,0,.9)}.navbar-search-light .form-control::-ms-input-placeholder{color:rgba(0,0,0,.6)}.navbar-search-light .form-control::placeholder{color:rgba(0,0,0,.6)}.navbar-search-light .focused .input-group{border-color:rgba(0,0,0,.9);background-color:#fff}@media (max-width:575.98px){.navbar-search{display:none;width:100%;transition:all .15s cubic-bezier(.68,-.55,.265,1.55);transform:translateX(-150%)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.navbar-search{transition:none}}@media (max-width:575.98px){.navbar-search .form-group{width:100%}.navbar-search .form-control{width:auto}.navbar-search .focused .input-group .form-control{width:auto}.navbar-search .close{display:none;opacity:0}.navbar-search .close span{width:auto;height:auto}.navbar-top .navbar-nav{transition:all .15s ease}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.navbar-top .navbar-nav{transition:none}}@media (max-width:575.98px){.g-navbar-search-showing .navbar-search .close{display:block}.g-navbar-search-showing .navbar-top .navbar-nav{display:flex;transform:translateX(150%);opacity:1}.g-navbar-search-show .navbar-search{display:block}.g-navbar-search-show .navbar-search .form-control{width:auto}.g-navbar-search-show .navbar-search .close{line-height:46px;position:absolute;top:0;right:0;width:46px;height:46px;cursor:pointer;text-align:center;color:#fff}.g-navbar-search-show .navbar-top .navbar-nav{display:none}.g-navbar-search-show .navbar-top .navbar-collapse{width:100%}.g-navbar-search-shown .navbar-search{transform:translateX(0)}.g-navbar-search-shown .navbar-search .close{display:block;opacity:1}.g-navbar-search-hiding .navbar-top .navbar-nav{display:flex;transform:translateX(150%);opacity:0}.g-navbar-search-hidden .navbar-top .navbar-nav{transform:translateX(0);opacity:1}}.navbar .dropdown-menu{margin:0;pointer-events:none;opacity:0}.navbar .dropdown-menu-arrow:before{position:absolute;z-index:-5;bottom:100%;left:20px;display:block;width:12px;height:12px;content:'';transform:rotate(-45deg) translateY(12px);border-radius:2px;background:#fff;box-shadow:none}.navbar .dropdown-menu-right:before{right:20px;left:auto}.navbar:not(.navbar-nav-hover) .dropdown-menu.show{animation:show-navbar-dropdown .25s ease forwards;pointer-events:auto;opacity:1}.navbar:not(.navbar-nav-hover) .dropdown-menu.close{display:block;animation:hide-navbar-dropdown .15s ease backwards}.navbar.navbar-nav-hover .dropdown-menu{display:block;transition:visibility .25s,opacity .25s,transform .25s;transform:translate(0,10px) perspective(200px) rotateX(-2deg);pointer-events:none;opacity:0}.navbar.navbar-nav-hover .nav-item.dropdown:hover>.dropdown-menu{display:block;visibility:visible;transform:translate(0,0);animation:none;pointer-events:auto;opacity:1}.navbar .dropdown-menu-inner{position:relative;padding:1rem}@keyframes show-navbar-dropdown{0%{transition:visibility .25s,opacity .25s,transform .25s;transform:translate(0,10px) perspective(200px);opacity:0}100%{transform:translate(0,0);opacity:1}}@keyframes hide-navbar-dropdown{from{opacity:1}to{transform:translate(0,10px);opacity:0}}.navbar-collapse-header{display:none}@keyframes show-navbar-collapse{0%{transform:scale(.95);transform-origin:100% 0;opacity:0}100%{transform:scale(1);opacity:1}}@keyframes hide-navbar-collapse{from{transform:scale(1);transform-origin:100% 0;opacity:1}to{transform:scale(.95);opacity:0}}.navbar-top{padding-right:1rem;padding-left:1rem;border:0}.navbar-top .container,.navbar-top .container-fluid,.navbar-top .container-lg,.navbar-top .container-md,.navbar-top .container-sm,.navbar-top .container-xl{padding-right:15px;padding-left:15px}@media (min-width:576px){.navbar-top .navbar-brand{display:none}}@media (max-width:575.98px){.navbar-top .navbar-collapse{width:100%}.navbar-top .nav-item{position:static}.navbar-top .nav-item .dropdown-menu{position:absolute;right:auto;left:3%;width:94%;min-width:auto}}.navbar-top.border-bottom.navbar-dark{border-color:rgba(255,255,255,.08)!important}.navbar-top.border-bottom.navbar-light{border-color:rgba(0,0,0,.04)!important}.sidenav-pinned .navbar-top .navbar-brand{display:none}.nav-wrapper{padding:1rem 0;border-top-left-radius:.375rem;border-top-right-radius:.375rem}.nav-wrapper+.card{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.nav-link{color:#525f7f}.nav-link:hover{color:#5e72e4}.nav-link i.ni{position:relative;top:2px}.nav-pills .nav-item:not(:last-child){padding-right:1rem}.nav-pills .nav-link{font-size:.875rem;font-weight:500;padding:.75rem 1rem;transition:all .15s ease;color:#5e72e4;background-color:#fff;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.nav-pills .nav-link:hover{color:#485fe0}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#5e72e4}@media (max-width:575.98px){.nav-pills .nav-item{margin-bottom:1rem}}@media (max-width:767.98px){.nav-pills:not(.nav-pills-circle) .nav-item{padding-right:0}}.nav-pills-circle .nav-link{line-height:60px;width:60px;height:60px;padding:0;text-align:center;border-radius:50%}.nav-pills-circle .nav-link-icon i,.nav-pills-circle .nav-link-icon svg{font-size:1rem}.page-item.active .page-link{box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08)}.page-item .page-link,.page-item span{font-size:.875rem;display:flex;width:36px;height:36px;margin:0 3px;padding:0;border-radius:50%!important;align-items:center;justify-content:center}.pagination-lg .page-item .page-link,.pagination-lg .page-item span{line-height:46px;width:46px;height:46px}.pagination-sm .page-item .page-link,.pagination-sm .page-item span{line-height:30px;width:30px;height:30px}.popover{border:0}.popover-header{font-weight:600}.popover-primary{background-color:#5e72e4}.popover-primary .popover-header{color:#fff;background-color:#5e72e4}.popover-primary .popover-body{color:#fff}.popover-primary .popover-header{border-color:rgba(255,255,255,.2)}.popover-primary.bs-popover-auto[x-placement^=top] .arrow::after,.popover-primary.bs-popover-top .arrow::after{border-top-color:#5e72e4}.popover-primary.bs-popover-auto[x-placement^=right] .arrow::after,.popover-primary.bs-popover-right .arrow::after{border-right-color:#5e72e4}.popover-primary.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-primary.bs-popover-bottom .arrow::after{border-bottom-color:#5e72e4}.popover-primary.bs-popover-auto[x-placement^=left] .arrow::after,.popover-primary.bs-popover-left .arrow::after{border-left-color:#5e72e4}.popover-secondary{background-color:#f7fafc}.popover-secondary .popover-header{color:#212529;background-color:#f7fafc}.popover-secondary .popover-body{color:#212529}.popover-secondary .popover-header{border-color:rgba(33,37,41,.2)}.popover-secondary.bs-popover-auto[x-placement^=top] .arrow::after,.popover-secondary.bs-popover-top .arrow::after{border-top-color:#f7fafc}.popover-secondary.bs-popover-auto[x-placement^=right] .arrow::after,.popover-secondary.bs-popover-right .arrow::after{border-right-color:#f7fafc}.popover-secondary.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-secondary.bs-popover-bottom .arrow::after{border-bottom-color:#f7fafc}.popover-secondary.bs-popover-auto[x-placement^=left] .arrow::after,.popover-secondary.bs-popover-left .arrow::after{border-left-color:#f7fafc}.popover-success{background-color:#2dce89}.popover-success .popover-header{color:#fff;background-color:#2dce89}.popover-success .popover-body{color:#fff}.popover-success .popover-header{border-color:rgba(255,255,255,.2)}.popover-success.bs-popover-auto[x-placement^=top] .arrow::after,.popover-success.bs-popover-top .arrow::after{border-top-color:#2dce89}.popover-success.bs-popover-auto[x-placement^=right] .arrow::after,.popover-success.bs-popover-right .arrow::after{border-right-color:#2dce89}.popover-success.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-success.bs-popover-bottom .arrow::after{border-bottom-color:#2dce89}.popover-success.bs-popover-auto[x-placement^=left] .arrow::after,.popover-success.bs-popover-left .arrow::after{border-left-color:#2dce89}.popover-info{background-color:#11cdef}.popover-info .popover-header{color:#fff;background-color:#11cdef}.popover-info .popover-body{color:#fff}.popover-info .popover-header{border-color:rgba(255,255,255,.2)}.popover-info.bs-popover-auto[x-placement^=top] .arrow::after,.popover-info.bs-popover-top .arrow::after{border-top-color:#11cdef}.popover-info.bs-popover-auto[x-placement^=right] .arrow::after,.popover-info.bs-popover-right .arrow::after{border-right-color:#11cdef}.popover-info.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-info.bs-popover-bottom .arrow::after{border-bottom-color:#11cdef}.popover-info.bs-popover-auto[x-placement^=left] .arrow::after,.popover-info.bs-popover-left .arrow::after{border-left-color:#11cdef}.popover-warning{background-color:#fb6340}.popover-warning .popover-header{color:#fff;background-color:#fb6340}.popover-warning .popover-body{color:#fff}.popover-warning .popover-header{border-color:rgba(255,255,255,.2)}.popover-warning.bs-popover-auto[x-placement^=top] .arrow::after,.popover-warning.bs-popover-top .arrow::after{border-top-color:#fb6340}.popover-warning.bs-popover-auto[x-placement^=right] .arrow::after,.popover-warning.bs-popover-right .arrow::after{border-right-color:#fb6340}.popover-warning.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-warning.bs-popover-bottom .arrow::after{border-bottom-color:#fb6340}.popover-warning.bs-popover-auto[x-placement^=left] .arrow::after,.popover-warning.bs-popover-left .arrow::after{border-left-color:#fb6340}.popover-danger{background-color:#f5365c}.popover-danger .popover-header{color:#fff;background-color:#f5365c}.popover-danger .popover-body{color:#fff}.popover-danger .popover-header{border-color:rgba(255,255,255,.2)}.popover-danger.bs-popover-auto[x-placement^=top] .arrow::after,.popover-danger.bs-popover-top .arrow::after{border-top-color:#f5365c}.popover-danger.bs-popover-auto[x-placement^=right] .arrow::after,.popover-danger.bs-popover-right .arrow::after{border-right-color:#f5365c}.popover-danger.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-danger.bs-popover-bottom .arrow::after{border-bottom-color:#f5365c}.popover-danger.bs-popover-auto[x-placement^=left] .arrow::after,.popover-danger.bs-popover-left .arrow::after{border-left-color:#f5365c}.popover-light{background-color:#adb5bd}.popover-light .popover-header{color:#fff;background-color:#adb5bd}.popover-light .popover-body{color:#fff}.popover-light .popover-header{border-color:rgba(255,255,255,.2)}.popover-light.bs-popover-auto[x-placement^=top] .arrow::after,.popover-light.bs-popover-top .arrow::after{border-top-color:#adb5bd}.popover-light.bs-popover-auto[x-placement^=right] .arrow::after,.popover-light.bs-popover-right .arrow::after{border-right-color:#adb5bd}.popover-light.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-light.bs-popover-bottom .arrow::after{border-bottom-color:#adb5bd}.popover-light.bs-popover-auto[x-placement^=left] .arrow::after,.popover-light.bs-popover-left .arrow::after{border-left-color:#adb5bd}.popover-dark{background-color:#212529}.popover-dark .popover-header{color:#fff;background-color:#212529}.popover-dark .popover-body{color:#fff}.popover-dark .popover-header{border-color:rgba(255,255,255,.2)}.popover-dark.bs-popover-auto[x-placement^=top] .arrow::after,.popover-dark.bs-popover-top .arrow::after{border-top-color:#212529}.popover-dark.bs-popover-auto[x-placement^=right] .arrow::after,.popover-dark.bs-popover-right .arrow::after{border-right-color:#212529}.popover-dark.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-dark.bs-popover-bottom .arrow::after{border-bottom-color:#212529}.popover-dark.bs-popover-auto[x-placement^=left] .arrow::after,.popover-dark.bs-popover-left .arrow::after{border-left-color:#212529}.popover-default{background-color:#172b4d}.popover-default .popover-header{color:#fff;background-color:#172b4d}.popover-default .popover-body{color:#fff}.popover-default .popover-header{border-color:rgba(255,255,255,.2)}.popover-default.bs-popover-auto[x-placement^=top] .arrow::after,.popover-default.bs-popover-top .arrow::after{border-top-color:#172b4d}.popover-default.bs-popover-auto[x-placement^=right] .arrow::after,.popover-default.bs-popover-right .arrow::after{border-right-color:#172b4d}.popover-default.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-default.bs-popover-bottom .arrow::after{border-bottom-color:#172b4d}.popover-default.bs-popover-auto[x-placement^=left] .arrow::after,.popover-default.bs-popover-left .arrow::after{border-left-color:#172b4d}.popover-white{background-color:#fff}.popover-white .popover-header{color:#212529;background-color:#fff}.popover-white .popover-body{color:#212529}.popover-white .popover-header{border-color:rgba(33,37,41,.2)}.popover-white.bs-popover-auto[x-placement^=top] .arrow::after,.popover-white.bs-popover-top .arrow::after{border-top-color:#fff}.popover-white.bs-popover-auto[x-placement^=right] .arrow::after,.popover-white.bs-popover-right .arrow::after{border-right-color:#fff}.popover-white.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-white.bs-popover-bottom .arrow::after{border-bottom-color:#fff}.popover-white.bs-popover-auto[x-placement^=left] .arrow::after,.popover-white.bs-popover-left .arrow::after{border-left-color:#fff}.popover-neutral{background-color:#fff}.popover-neutral .popover-header{color:#212529;background-color:#fff}.popover-neutral .popover-body{color:#212529}.popover-neutral .popover-header{border-color:rgba(33,37,41,.2)}.popover-neutral.bs-popover-auto[x-placement^=top] .arrow::after,.popover-neutral.bs-popover-top .arrow::after{border-top-color:#fff}.popover-neutral.bs-popover-auto[x-placement^=right] .arrow::after,.popover-neutral.bs-popover-right .arrow::after{border-right-color:#fff}.popover-neutral.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-neutral.bs-popover-bottom .arrow::after{border-bottom-color:#fff}.popover-neutral.bs-popover-auto[x-placement^=left] .arrow::after,.popover-neutral.bs-popover-left .arrow::after{border-left-color:#fff}.popover-darker{background-color:#000}.popover-darker .popover-header{color:#fff;background-color:#000}.popover-darker .popover-body{color:#fff}.popover-darker .popover-header{border-color:rgba(255,255,255,.2)}.popover-darker.bs-popover-auto[x-placement^=top] .arrow::after,.popover-darker.bs-popover-top .arrow::after{border-top-color:#000}.popover-darker.bs-popover-auto[x-placement^=right] .arrow::after,.popover-darker.bs-popover-right .arrow::after{border-right-color:#000}.popover-darker.bs-popover-auto[x-placement^=bottom] .arrow::after,.popover-darker.bs-popover-bottom .arrow::after{border-bottom-color:#000}.popover-darker.bs-popover-auto[x-placement^=left] .arrow::after,.popover-darker.bs-popover-left .arrow::after{border-left-color:#000}.progress-wrapper{position:relative;padding-top:1.5rem}.progress{overflow:hidden;height:8px;margin-bottom:1rem;border-radius:.25rem;background-color:#e9ecef;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress .sr-only{font-size:13px;line-height:20px;left:0;clip:auto;width:auto;height:20px;margin:0 0 0 30px}.progress-sm{height:5px}.progress-xs{height:3px}.progress-heading{font-size:14px;font-weight:500;margin:0 0 2px;padding:0}.progress-bar{height:auto;border-radius:0;box-shadow:none}.progress-info{display:flex;margin-bottom:.5rem;align-items:center;justify-content:space-between}.progress-label span{font-size:.625rem;font-weight:600;display:inline-block;padding:.25rem 1rem;text-transform:uppercase;color:#5e72e4;border-radius:30px;background:rgba(94,114,228,.1)}.progress-percentage{text-align:right}.progress-percentage span{font-size:.875rem;font-weight:600;display:inline-block;color:#8898aa}.separator{position:absolute;top:auto;right:0;left:0;overflow:hidden;width:100%;height:150px;transform:translateZ(0);pointer-events:none}.separator svg{position:absolute;pointer-events:none}.separator-top{top:0;bottom:auto}.separator-top svg{top:0}.separator-bottom{top:auto;bottom:0}.separator-bottom svg{bottom:0}.separator-inverse{transform:rotate(180deg)}.separator-skew{height:60px}@media (min-width:1200px){.separator-skew{height:70px}}.section-nucleo-icons{--icon-size:5rem;--icon-sm-size:3.75rem;--gutter:7rem}.section-nucleo-icons .icons-container{position:relative;z-index:1;max-width:100%;height:360px;margin:0 auto}.section-nucleo-icons .icons-container i{position:absolute;z-index:1;display:inline-flex;transition:all .2s cubic-bezier(.25,.65,.9,.75);transform:translate(-50%,-50%);border-radius:50%;background:#fff;box-shadow:0 0 2rem 0 rgba(136,152,170,.15);align-items:center;justify-content:center}.section-nucleo-icons .icons-container i.icon{font-size:1.7em;width:var(--icon-size);height:var(--icon-size)}.section-nucleo-icons .icons-container i.icon-sm{font-size:1.5em;width:var(--icon-sm-size);height:var(--icon-sm-size)}.section-nucleo-icons .icons-container i:nth-child(1){font-size:42px;z-index:2;color:#fb6340}.section-nucleo-icons .icons-container i{opacity:1}.section-nucleo-icons .icons-container i:nth-child(1){font-size:42px;top:50%;left:50%;color:#fb6340}.section-nucleo-icons .icons-container i:nth-child(2){top:50%;left:calc(50% + (var(--gutter) * 1.7))}.section-nucleo-icons .icons-container i:nth-child(3){top:calc(50% + var(--gutter));left:calc(50% + var(--gutter))}.section-nucleo-icons .icons-container i:nth-child(4){top:calc(50% - var(--gutter));left:calc(50% + var(--gutter))}.section-nucleo-icons .icons-container i:nth-child(5){top:50%;left:calc(50% + (var(--gutter) * 4))}.section-nucleo-icons .icons-container i:nth-child(6){top:calc(50% + (var(--gutter) * 1.5));left:calc(50% + (var(--gutter) * 2.7))}.section-nucleo-icons .icons-container i:nth-child(7){top:calc(50% - (var(--gutter) * 1.5));left:calc(50% + (var(--gutter) * 2.7))}.section-nucleo-icons .icons-container i:nth-child(8){top:50%;left:calc(50% - (var(--gutter) * 1.7))}.section-nucleo-icons .icons-container i:nth-child(9){top:calc(50% + var(--gutter));left:calc(50% - var(--gutter))}.section-nucleo-icons .icons-container i:nth-child(10){top:calc(50% - var(--gutter));left:calc(50% - var(--gutter))}.section-nucleo-icons .icons-container i:nth-child(11){top:50%;left:calc(50% - (var(--gutter) * 4))}.section-nucleo-icons .icons-container i:nth-child(12){top:calc(50% + (var(--gutter) * 1.5));left:calc(50% - (var(--gutter) * 2.7))}.section-nucleo-icons .icons-container i:nth-child(13){top:calc(50% - (var(--gutter) * 1.5));left:calc(50% - (var(--gutter) * 2.7))}.table thead th{font-size:.65rem;padding-top:.75rem;padding-bottom:.75rem;letter-spacing:1px;text-transform:uppercase;border-bottom:1px solid #e9ecef}.table th{font-weight:600}.table td .progress{width:120px;height:3px;margin:0}.table td,.table th{font-size:.8125rem;white-space:nowrap}.table.align-items-center td,.table.align-items-center th{vertical-align:middle}.table .thead-dark th{color:#4d7bca;background-color:#1c345d}.table .thead-dark th a{color:#4d7bca}.table .thead-light th{color:#8898aa;background-color:#f6f9fc}.table .thead-light th a{color:#8898aa}.table-hover tr{transition:all .15s ease}@media (prefers-reduced-motion:reduce){.table-hover tr{transition:none}}.table-flush td,.table-flush th{border-right:0;border-left:0}.table-flush tbody tr:first-child td,.table-flush tbody tr:first-child th{border-top:0}.table-flush tbody tr:last-child td,.table-flush tbody tr:last-child th{border-bottom:0}.card .table{margin-bottom:0}.card .table td,.card .table th{padding-right:1.5rem;padding-left:1.5rem}.table .custom-toggle{display:block}p{font-size:1rem;font-weight:300;line-height:1.7}.lead{font-size:1.25rem;font-weight:300;line-height:1.7;margin-top:1.5rem}.lead+.btn-wrapper{margin-top:3rem}.description{font-size:.875rem}article h4:not(:first-child),article h5:not(:first-child){margin-top:3rem}article h4,article h5{margin-bottom:1.5rem}article figure{margin:3rem 0}article h5+figure{margin-top:0}.display-1 span,.display-2 span,.display-3 span,.display-4 span{font-weight:300;display:block}h1>a,h2>a,h3>a,h4>a,h5>a,h6>a{color:inherit}.heading{font-size:.95rem;font-weight:600;letter-spacing:.025em;text-transform:uppercase}.heading-small{font-size:.75rem;padding-top:.25rem;padding-bottom:.25rem;letter-spacing:.04em;text-transform:uppercase}.heading-title{font-size:1.375rem;font-weight:600;letter-spacing:.025em;text-transform:uppercase}.heading-section{font-size:1.375rem;font-weight:600;letter-spacing:.025em;text-transform:uppercase}.heading-section img{display:block;width:72px;height:72px;margin-bottom:1.5rem}.heading-section.text-center img{margin-right:auto;margin-left:auto}.surtitle{margin-bottom:0;letter-spacing:2px;text-transform:uppercase;color:#8898aa}.bg-blue{background-color:#5e72e4!important}a.bg-blue:focus,a.bg-blue:hover,button.bg-blue:focus,button.bg-blue:hover{background-color:#324cdd!important}.bg-indigo{background-color:#5603ad!important}a.bg-indigo:focus,a.bg-indigo:hover,button.bg-indigo:focus,button.bg-indigo:hover{background-color:#3d027b!important}.bg-purple{background-color:#8965e0!important}a.bg-purple:focus,a.bg-purple:hover,button.bg-purple:focus,button.bg-purple:hover{background-color:#683bd7!important}.bg-pink{background-color:#f3a4b5!important}a.bg-pink:focus,a.bg-pink:hover,button.bg-pink:focus,button.bg-pink:hover{background-color:#ed7790!important}.bg-red{background-color:#f5365c!important}a.bg-red:focus,a.bg-red:hover,button.bg-red:focus,button.bg-red:hover{background-color:#ec0c38!important}.bg-orange{background-color:#fb6340!important}a.bg-orange:focus,a.bg-orange:hover,button.bg-orange:focus,button.bg-orange:hover{background-color:#fa3a0e!important}.bg-yellow{background-color:#ffd600!important}a.bg-yellow:focus,a.bg-yellow:hover,button.bg-yellow:focus,button.bg-yellow:hover{background-color:#ccab00!important}.bg-green{background-color:#2dce89!important}a.bg-green:focus,a.bg-green:hover,button.bg-green:focus,button.bg-green:hover{background-color:#24a46d!important}.bg-teal{background-color:#11cdef!important}a.bg-teal:focus,a.bg-teal:hover,button.bg-teal:focus,button.bg-teal:hover{background-color:#0da5c0!important}.bg-cyan{background-color:#2bffc6!important}a.bg-cyan:focus,a.bg-cyan:hover,button.bg-cyan:focus,button.bg-cyan:hover{background-color:#00f7b5!important}.bg-white{background-color:#fff!important}a.bg-white:focus,a.bg-white:hover,button.bg-white:focus,button.bg-white:hover{background-color:#e6e6e6!important}.bg-gray{background-color:#8898aa!important}a.bg-gray:focus,a.bg-gray:hover,button.bg-gray:focus,button.bg-gray:hover{background-color:#6a7e95!important}.bg-gray-dark{background-color:#32325d!important}a.bg-gray-dark:focus,a.bg-gray-dark:hover,button.bg-gray-dark:focus,button.bg-gray-dark:hover{background-color:#20203c!important}.bg-light{background-color:#ced4da!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#b1bbc4!important}.bg-lighter{background-color:#e9ecef!important}a.bg-lighter:focus,a.bg-lighter:hover,button.bg-lighter:focus,button.bg-lighter:hover{background-color:#cbd3da!important}.bg-gradient-primary{background:linear-gradient(87deg,#5e72e4 0,#825ee4 100%)!important}.bg-gradient-secondary{background:linear-gradient(87deg,#f7fafc 0,#f7f8fc 100%)!important}.bg-gradient-success{background:linear-gradient(87deg,#2dce89 0,#2dcecc 100%)!important}.bg-gradient-info{background:linear-gradient(87deg,#11cdef 0,#1171ef 100%)!important}.bg-gradient-warning{background:linear-gradient(87deg,#fb6340 0,#fbb140 100%)!important}.bg-gradient-danger{background:linear-gradient(87deg,#f5365c 0,#f56036 100%)!important}.bg-gradient-light{background:linear-gradient(87deg,#adb5bd 0,#adaebd 100%)!important}.bg-gradient-dark{background:linear-gradient(87deg,#212529 0,#212229 100%)!important}.bg-gradient-default{background:linear-gradient(87deg,#172b4d 0,#1a174d 100%)!important}.bg-gradient-white{background:linear-gradient(87deg,#fff 0,#fff 100%)!important}.bg-gradient-neutral{background:linear-gradient(87deg,#fff 0,#fff 100%)!important}.bg-gradient-darker{background:linear-gradient(87deg,#000 0,#000 100%)!important}.bg-gradient-blue{background:linear-gradient(87deg,#5e72e4 0,#825ee4 100%)!important}.bg-gradient-indigo{background:linear-gradient(87deg,#5603ad 0,#9d03ad 100%)!important}.bg-gradient-purple{background:linear-gradient(87deg,#8965e0 0,#bc65e0 100%)!important}.bg-gradient-pink{background:linear-gradient(87deg,#f3a4b5 0,#f3b4a4 100%)!important}.bg-gradient-red{background:linear-gradient(87deg,#f5365c 0,#f56036 100%)!important}.bg-gradient-orange{background:linear-gradient(87deg,#fb6340 0,#fbb140 100%)!important}.bg-gradient-yellow{background:linear-gradient(87deg,#ffd600 0,#beff00 100%)!important}.bg-gradient-green{background:linear-gradient(87deg,#2dce89 0,#2dcecc 100%)!important}.bg-gradient-teal{background:linear-gradient(87deg,#11cdef 0,#1171ef 100%)!important}.bg-gradient-cyan{background:linear-gradient(87deg,#2bffc6 0,#2be0ff 100%)!important}.bg-gradient-white{background:linear-gradient(87deg,#fff 0,#fff 100%)!important}.bg-gradient-gray{background:linear-gradient(87deg,#8898aa 0,#888aaa 100%)!important}.bg-gradient-gray-dark{background:linear-gradient(87deg,#32325d 0,#44325d 100%)!important}.bg-gradient-light{background:linear-gradient(87deg,#ced4da 0,#cecfda 100%)!important}.bg-gradient-lighter{background:linear-gradient(87deg,#e9ecef 0,#e9eaef 100%)!important}.bg-translucent-primary{background-color:rgba(63,87,223,.6)!important}a.bg-translucent-primary:focus,a.bg-translucent-primary:hover,button.bg-translucent-primary:focus,button.bg-translucent-primary:hover{background-color:rgba(42,68,219,.6)!important}.bg-translucent-secondary{background-color:rgba(221,234,242,.6)!important}a.bg-translucent-secondary:focus,a.bg-translucent-secondary:hover,button.bg-translucent-secondary:focus,button.bg-translucent-secondary:hover{background-color:rgba(202,222,235,.6)!important}.bg-translucent-success{background-color:rgba(39,177,118,.6)!important}a.bg-translucent-success:focus,a.bg-translucent-success:hover,button.bg-translucent-success:focus,button.bg-translucent-success:hover{background-color:rgba(34,156,104,.6)!important}.bg-translucent-info{background-color:rgba(14,177,206,.6)!important}a.bg-translucent-info:focus,a.bg-translucent-info:hover,button.bg-translucent-info:focus,button.bg-translucent-info:hover{background-color:rgba(12,156,183,.6)!important}.bg-translucent-warning{background-color:rgba(250,70,29,.6)!important}a.bg-translucent-warning:focus,a.bg-translucent-warning:hover,button.bg-translucent-warning:focus,button.bg-translucent-warning:hover{background-color:rgba(249,51,5,.6)!important}.bg-translucent-danger{background-color:rgba(243,20,64,.6)!important}a.bg-translucent-danger:focus,a.bg-translucent-danger:hover,button.bg-translucent-danger:focus,button.bg-translucent-danger:hover{background-color:rgba(227,11,54,.6)!important}.bg-translucent-light{background-color:rgba(153,163,173,.6)!important}a.bg-translucent-light:focus,a.bg-translucent-light:hover,button.bg-translucent-light:focus,button.bg-translucent-light:hover{background-color:rgba(139,150,162,.6)!important}.bg-translucent-dark{background-color:rgba(17,19,21,.6)!important}a.bg-translucent-dark:focus,a.bg-translucent-dark:hover,button.bg-translucent-dark:focus,button.bg-translucent-dark:hover{background-color:rgba(6,6,7,.6)!important}.bg-translucent-default{background-color:rgba(15,28,50,.6)!important}a.bg-translucent-default:focus,a.bg-translucent-default:hover,button.bg-translucent-default:focus,button.bg-translucent-default:hover{background-color:rgba(9,17,30,.6)!important}.bg-translucent-white{background-color:rgba(237,237,237,.6)!important}a.bg-translucent-white:focus,a.bg-translucent-white:hover,button.bg-translucent-white:focus,button.bg-translucent-white:hover{background-color:rgba(224,224,224,.6)!important}.bg-translucent-neutral{background-color:rgba(237,237,237,.6)!important}a.bg-translucent-neutral:focus,a.bg-translucent-neutral:hover,button.bg-translucent-neutral:focus,button.bg-translucent-neutral:hover{background-color:rgba(224,224,224,.6)!important}.bg-translucent-darker{background-color:rgba(0,0,0,.6)!important}a.bg-translucent-darker:focus,a.bg-translucent-darker:hover,button.bg-translucent-darker:focus,button.bg-translucent-darker:hover{background-color:rgba(0,0,0,.6)!important}.section-primary{background-color:#f8f9fe!important}a.section-primary:focus,a.section-primary:hover,button.section-primary:focus,button.section-primary:hover{background-color:#cbd3f8!important}.section-secondary{background-color:#f7fafc!important}a.section-secondary:focus,a.section-secondary:hover,button.section-secondary:focus,button.section-secondary:hover{background-color:#d2e3ee!important}.section-light{background-color:#ced4da!important}a.section-light:focus,a.section-light:hover,button.section-light:focus,button.section-light:hover{background-color:#b1bbc4!important}.section-dark{background-color:#212529!important}a.section-dark:focus,a.section-dark:hover,button.section-dark:focus,button.section-dark:hover{background-color:#0a0c0d!important}.section-darker{background-color:#000!important}a.section-darker:focus,a.section-darker:hover,button.section-darker:focus,button.section-darker:hover{background-color:#000!important}.bg-gradient-primary{background:linear-gradient(87deg,#5e72e4 0,#825ee4 100%)!important}.bg-gradient-secondary{background:linear-gradient(87deg,#f7fafc 0,#f7f8fc 100%)!important}.bg-gradient-success{background:linear-gradient(87deg,#2dce89 0,#2dcecc 100%)!important}.bg-gradient-info{background:linear-gradient(87deg,#11cdef 0,#1171ef 100%)!important}.bg-gradient-warning{background:linear-gradient(87deg,#fb6340 0,#fbb140 100%)!important}.bg-gradient-danger{background:linear-gradient(87deg,#f5365c 0,#f56036 100%)!important}.bg-gradient-light{background:linear-gradient(87deg,#adb5bd 0,#adaebd 100%)!important}.bg-gradient-dark{background:linear-gradient(87deg,#212529 0,#212229 100%)!important}.bg-gradient-default{background:linear-gradient(87deg,#172b4d 0,#1a174d 100%)!important}.bg-gradient-white{background:linear-gradient(87deg,#fff 0,#fff 100%)!important}.bg-gradient-neutral{background:linear-gradient(87deg,#fff 0,#fff 100%)!important}.bg-gradient-darker{background:linear-gradient(87deg,#000 0,#000 100%)!important}.fill-primary{fill:#5e72e4}.stroke-primary{stroke:#5e72e4}.fill-secondary{fill:#f7fafc}.stroke-secondary{stroke:#f7fafc}.fill-success{fill:#2dce89}.stroke-success{stroke:#2dce89}.fill-info{fill:#11cdef}.stroke-info{stroke:#11cdef}.fill-warning{fill:#fb6340}.stroke-warning{stroke:#fb6340}.fill-danger{fill:#f5365c}.stroke-danger{stroke:#f5365c}.fill-light{fill:#adb5bd}.stroke-light{stroke:#adb5bd}.fill-dark{fill:#212529}.stroke-dark{stroke:#212529}.fill-default{fill:#172b4d}.stroke-default{stroke:#172b4d}.fill-white{fill:#fff}.stroke-white{stroke:#fff}.fill-neutral{fill:#fff}.stroke-neutral{stroke:#fff}.fill-darker{fill:#000}.stroke-darker{stroke:#000}.fill-opacity-8{fill-opacity:.8}.blur--hover{position:relative}.blur--hover .blur-item{transition:1s cubic-bezier(.19,1,.22,1);opacity:1;will-change:transform;filter:blur(0)}.blur--hover .blur-hidden{position:absolute;z-index:100;top:calc(50% + 7px);left:50%;transition:all .15s ease;transform:translate(-50%,-50%);opacity:0}.blur--hover:hover .blur-item{z-index:1;transform:scale(.95);opacity:.8;filter:blur(10px)}.blur--hover:hover .blur-hidden{top:50%;opacity:1}.floating{animation:floating 3s ease infinite;will-change:transform}.floating:hover{animation-play-state:paused}.floating-lg{animation:floating-lg 3s ease infinite}.floating-sm{animation:floating-sm 3s ease infinite}@keyframes floating-lg{0%{transform:translateY(0)}50%{transform:translateY(15px)}100%{transform:translateY(0)}}@keyframes floating{0%{transform:translateY(0)}50%{transform:translateY(10px)}100%{transform:translateY(0)}}@keyframes floating-sm{0%{transform:translateY(0)}50%{transform:translateY(5px)}100%{transform:translateY(0)}}.floatfix:after,.floatfix:before{display:table;content:''}.floatfix:after{clear:both}.img-center{display:block;margin-right:auto;margin-left:auto}.opacity-1{opacity:.1!important}.opacity-2{opacity:.2!important}.opacity-3{opacity:.3!important}.opacity-4{opacity:.4!important}.opacity-5{opacity:.5!important}.opacity-6{opacity:.6!important}.opacity-7{opacity:.7!important}.opacity-8{opacity:.8!important}.opacity-8{opacity:.9!important}.opacity-10{opacity:1!important}.overflow-visible{overflow:visible!important}.overflow-hidden{overflow:hidden!important}.top-0{top:0}.right-0{right:0}.bottom-0{bottom:0}.left-0{left:0}.top-1{top:.25rem}.right-1{right:.25rem}.bottom-1{bottom:.25rem}.left-1{left:.25rem}.top-2{top:.5rem}.right-2{right:.5rem}.bottom-2{bottom:.5rem}.left-2{left:.5rem}.top-3{top:1rem}.right-3{right:1rem}.bottom-3{bottom:1rem}.left-3{left:1rem}.top-4{top:1.5rem}.right-4{right:1.5rem}.bottom-4{bottom:1.5rem}.left-4{left:1.5rem}.top-5{top:3rem}.right-5{right:3rem}.bottom-5{bottom:3rem}.left-5{left:3rem}.top--9{top:-10rem}.right--9{right:-10rem}.bottom--9{bottom:-10rem}.left--9{left:-10rem}.top--8{top:-8rem}.right--8{right:-8rem}.bottom--8{bottom:-8rem}.left--8{left:-8rem}.top--7{top:-6rem}.right--7{right:-6rem}.bottom--7{bottom:-6rem}.left--7{left:-6rem}.top--6{top:-4.5rem}.right--6{right:-4.5rem}.bottom--6{bottom:-4.5rem}.left--6{left:-4.5rem}.top--5{top:-3rem}.right--5{right:-3rem}.bottom--5{bottom:-3rem}.left--5{left:-3rem}.top--4{top:-1.5rem}.right--4{right:-1.5rem}.bottom--4{bottom:-1.5rem}.left--4{left:-1.5rem}.top--3{top:-1rem}.right--3{right:-1rem}.bottom--3{bottom:-1rem}.left--3{left:-1rem}.top--2{top:-.5rem}.right--2{right:-.5rem}.bottom--2{bottom:-.5rem}.left--2{left:-.5rem}.top--1{top:-.25rem}.right--1{right:-.25rem}.bottom--1{bottom:-.25rem}.left--1{left:-.25rem}.top-6{top:4.5rem}.right-6{right:4.5rem}.bottom-6{bottom:4.5rem}.left-6{left:4.5rem}.top-7{top:6rem}.right-7{right:6rem}.bottom-7{bottom:6rem}.left-7{left:6rem}.top-8{top:8rem}.right-8{right:8rem}.bottom-8{bottom:8rem}.left-8{left:8rem}.top-9{top:10rem}.right-9{right:10rem}.bottom-9{bottom:10rem}.left-9{left:10rem}.center{left:50%;transform:translateX(-50%)}[class*=shadow]{transition:all .15s ease}.shadow-sm--hover:hover{box-shadow:0 0 .5rem rgba(136,152,170,.075)!important}.shadow--hover:hover{box-shadow:0 0 2rem 0 rgba(136,152,170,.15)!important}.shadow-lg--hover:hover{box-shadow:0 0 3rem rgba(136,152,170,.175)!important}.shadow-none--hover:hover{box-shadow:none!important}.h-100vh{height:100vh!important}.row.row-grid>[class*=col-]+[class*=col-]{margin-top:3rem}@media (min-width:992px){.row.row-grid>[class*=col-lg-]+[class*=col-lg-]{margin-top:0}}@media (min-width:768px){.row.row-grid>[class*=col-md-]+[class*=col-md-]{margin-top:0}}@media (min-width:576px){.row.row-grid>[class*=col-sm-]+[class*=col-sm-]{margin-top:0}}.row-grid+.row-grid{margin-top:3rem}@media (min-width:992px){.mt--100{margin-top:-100px!important}.mr--100{margin-right:-100px!important}.mb--100{margin-bottom:-100px!important}.ml--100{margin-left:-100px!important}.mt--150{margin-top:-150px!important}.mb--150{margin-bottom:-150px!important}.mt--200{margin-top:-200px!important}.mb--200{margin-bottom:-200px!important}.mt--300{margin-top:-300px!important}.mb--300{margin-bottom:-300px!important}.pt-100{padding-top:100px!important}.pb-100{padding-bottom:100px!important}.pt-150{padding-top:150px!important}.pb-150{padding-bottom:150px!important}.pt-200{padding-top:200px!important}.pb-200{padding-bottom:200px!important}.pt-250{padding-top:250px!important}.pb-250{padding-bottom:250px!important}.pt-300{padding-top:300px!important}.pb-300{padding-bottom:300px!important}}.font-weight-300{font-weight:300!important}.font-weight-400{font-weight:400!important}.font-weight-500{font-weight:500!important}.font-weight-600{font-weight:600!important}.font-weight-700{font-weight:700!important}.font-weight-800{font-weight:800!important}.font-weight-900{font-weight:900!important}.text-underline{text-decoration:underline}.text-through{text-decoration:line-through}.text-xs{font-size:.75rem!important}.text-sm{font-size:.875rem!important}.text-lg{font-size:1.25rem!important}.text-xl{font-size:1.5rem!important}.lh-100{line-height:1}.lh-110{line-height:1.1}.lh-120{line-height:1.2}.lh-130{line-height:1.3}.lh-140{line-height:1.4}.lh-150{line-height:1.5}.lh-160{line-height:1.6}.lh-170{line-height:1.7}.lh-180{line-height:1.8}.ls-1{letter-spacing:.0625rem}.ls-15{letter-spacing:.09375rem}.ls-2{letter-spacing:.125rem}.text-blue{color:#5e72e4!important}a.text-blue:focus,a.text-blue:hover{color:#233dd2!important}.text-indigo{color:#5603ad!important}a.text-indigo:focus,a.text-indigo:hover{color:#310262!important}.text-purple{color:#8965e0!important}a.text-purple:focus,a.text-purple:hover{color:#5a2acf!important}.text-pink{color:#f3a4b5!important}a.text-pink:focus,a.text-pink:hover{color:#ea607e!important}.text-red{color:#f5365c!important}a.text-red:focus,a.text-red:hover{color:#d40b33!important}.text-orange{color:#fb6340!important}a.text-orange:focus,a.text-orange:hover{color:#ea3005!important}.text-yellow{color:#ffd600!important}a.text-yellow:focus,a.text-yellow:hover{color:#b39600!important}.text-green{color:#2dce89!important}a.text-green:focus,a.text-green:hover{color:#1f8f5f!important}.text-teal{color:#11cdef!important}a.text-teal:focus,a.text-teal:hover{color:#0b90a8!important}.text-cyan{color:#2bffc6!important}a.text-cyan:focus,a.text-cyan:hover{color:#00dea2!important}.text-white{color:#fff!important}a.text-white:focus,a.text-white:hover{color:#d9d9d9!important}.text-gray{color:#8898aa!important}a.text-gray:focus,a.text-gray:hover{color:#607286!important}.text-gray-dark{color:#32325d!important}a.text-gray-dark:focus,a.text-gray-dark:hover{color:#17172b!important}.text-light{color:#ced4da!important}a.text-light:focus,a.text-light:hover{color:#a2aeb9!important}.text-lighter{color:#e9ecef!important}a.text-lighter:focus,a.text-lighter:hover{color:#bdc6cf!important}@media (min-width:992px){.transform-perspective-right{transform:scale(1) perspective(1040px) rotateY(-11deg) rotateX(2deg) rotate(2deg)}.transform-perspective-left{transform:scale(1) perspective(2000px) rotateY(11deg) rotateX(2deg) rotate(-2deg)}}.datepicker{border-radius:.375rem;direction:ltr}.datepicker-inline{width:220px}.datepicker-rtl{direction:rtl}.datepicker-rtl.dropdown-menu{left:auto}.datepicker-rtl table tr td span{float:right}.datepicker-dropdown{top:0;left:0;padding:20px 22px;box-shadow:0 50px 100px rgba(50,50,93,.1),0 15px 35px rgba(50,50,93,.15),0 5px 15px rgba(0,0,0,.1)}.datepicker-dropdown.datepicker-orient-left:before{left:6px}.datepicker-dropdown.datepicker-orient-left:after{left:7px}.datepicker-dropdown.datepicker-orient-right:before{right:6px}.datepicker-dropdown.datepicker-orient-right:after{right:7px}.datepicker-dropdown.datepicker-orient-bottom:before{top:-7px}.datepicker-dropdown.datepicker-orient-bottom:after{top:-6px}.datepicker-dropdown.datepicker-orient-top:before{bottom:-7px;border-top:7px solid #fff;border-bottom:0}.datepicker-dropdown.datepicker-orient-top:after{bottom:-6px;border-top:6px solid #fff;border-bottom:0}.datepicker table{margin:0;-webkit-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none}.datepicker table tr td{border-radius:50%}.datepicker table tr th{font-weight:500;border-radius:.375rem}.datepicker table tr td,.datepicker table tr th{font-size:.875rem;width:36px;height:36px;transition:all .15s ease;text-align:center;border:none}.table-striped .datepicker table tr td,.table-striped .datepicker table tr th{background-color:transparent}.datepicker table tr td.new,.datepicker table tr td.old{color:#adb5bd}.datepicker table tr td.day:hover,.datepicker table tr td.focused{cursor:pointer;background:#fff}.datepicker table tr td.disabled,.datepicker table tr td.disabled:hover{cursor:default;color:#dee2e6;background:0 0}.datepicker table tr td.highlighted{border-radius:0}.datepicker table tr td.highlighted.focused{background:#5e72e4}.datepicker table tr td.highlighted.disabled,.datepicker table tr td.highlighted.disabled:active{color:#ced4da;background:#5e72e4}.datepicker table tr td.today{background:#fff}.datepicker table tr td.today.focused{background:#fff}.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled:active{color:#8898aa;background:#fff}.datepicker table tr td.range{color:#fff;border-radius:0;background:#5e72e4}.datepicker table tr td.range.focused{background:#3b53de}.datepicker table tr td.range.day.disabled:hover,.datepicker table tr td.range.disabled,.datepicker table tr td.range.disabled:active{color:#8a98eb;background:#324cdd}.datepicker table tr td.range.highlighted.focused{background:#cbd3da}.datepicker table tr td.range.highlighted.disabled,.datepicker table tr td.range.highlighted.disabled:active{color:#dee2e6;background:#e9ecef}.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today.disabled:active{color:#fff;background:#5e72e4}.datepicker table tr td.day.range-start{border-top-right-radius:0;border-bottom-right-radius:0}.datepicker table tr td.day.range-end{border-top-left-radius:0;border-bottom-left-radius:0}.datepicker table tr td.day.range-start.range-end{border-radius:50%}.datepicker table tr td.day.range:hover,.datepicker table tr td.selected,.datepicker table tr td.selected.highlighted,.datepicker table tr td.selected.highlighted:hover,.datepicker table tr td.selected:hover{color:#fff;background:#5e72e4}.datepicker table tr td.active,.datepicker table tr td.active.highlighted,.datepicker table tr td.active.highlighted:hover,.datepicker table tr td.active:hover{color:#fff;background:#5e72e4;box-shadow:none}.datepicker table tr td span{line-height:54px;display:block;float:left;width:23%;height:54px;margin:1%;cursor:pointer;border-radius:4px}.datepicker table tr td span.focused,.datepicker table tr td span:hover{background:#e9ecef}.datepicker table tr td span.disabled,.datepicker table tr td span.disabled:hover{cursor:default;color:#dee2e6;background:0 0}.datepicker table tr td span.active,.datepicker table tr td span.active.disabled,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active:hover{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td span.new,.datepicker table tr td span.old{color:#8898aa}.datepicker .datepicker-switch{width:145px}.datepicker .datepicker-switch,.datepicker .next,.datepicker .prev,.datepicker tfoot tr th{cursor:pointer}.datepicker .datepicker-switch:hover,.datepicker .next:hover,.datepicker .prev:hover,.datepicker tfoot tr th:hover{background:#e9ecef}.datepicker .next.disabled,.datepicker .prev.disabled{visibility:hidden}.datepicker .cw{font-size:10px;width:12px;padding:0 2px 0 5px;vertical-align:middle}.bootstrap-tagsinput{display:inline-block;max-width:100%;padding:.25rem;cursor:text;vertical-align:middle;color:#8898aa;border:0 solid transparent;border-radius:.25rem;background-color:#fff}.bootstrap-tagsinput input{width:auto;max-width:inherit;margin:0;padding:0 6px;border:none;outline:0;background-color:transparent;box-shadow:none}.bootstrap-tagsinput input::-ms-input-placeholder{opacity:1;color:#adb5bd}.bootstrap-tagsinput input::placeholder{opacity:1;color:#adb5bd}.bootstrap-tagsinput input:focus{border:none;box-shadow:none}.bootstrap-tagsinput .badge{line-height:1.5;position:relative;margin:.125rem;padding:.625rem .625rem .5rem;transition:all .15s ease;color:#fff;border-radius:.25rem;background:#172b4d;box-shadow:0 1px 2px rgba(68,68,68,.25)}@media (prefers-reduced-motion:reduce){.bootstrap-tagsinput .badge{transition:none}}.bootstrap-tagsinput .badge:hover{padding-right:1.5rem}.bootstrap-tagsinput [data-role=remove]{position:absolute;top:50%;margin-left:10px;cursor:pointer;transform:translate(0,-50%);color:#fff}.bootstrap-tagsinput [data-role=remove]:after{font-size:16px;content:'×'}#chartjs-tooltip{position:absolute;transition:all .1s ease;transform:translate(-50%,0);pointer-events:none;opacity:1;color:#fff;border-radius:3px;background:rgba(0,0,0,.7)}.chartjs-tooltip-key{display:inline-block;width:10px;height:10px;margin-right:10px}.dataTables_wrapper{font-size:.875rem}table.dataTable{margin-bottom:1.25rem!important;border-bottom:1px solid #e9ecef}table.dataTable tbody>tr.selected{background-color:#5e72e4}.dataTables_info,.dataTables_length,.dt-buttons{padding-left:1.5rem}.dataTables_length .form-control{margin:0 .375rem}.dataTables_filter{display:inline-block;float:right;padding-right:1.5rem}.dataTables_paginate{padding-right:1.5rem}.dropzone{position:relative;display:flex;flex-direction:column}.dz-message{z-index:999;padding:5rem 1rem;cursor:pointer;transition:all .15s ease;text-align:center;color:#8898aa;border:1px dashed #dee2e6;border-radius:.375rem;background-color:#fff;order:-1}.dz-message:hover{color:#525f7f;border-color:#8898aa}.dz-drag-hover .dz-message{color:#5e72e4;border-color:#5e72e4}.dropzone-multiple .dz-message{padding-top:2rem;padding-bottom:2rem}.dropzone-single.dz-max-files-reached .dz-message{opacity:0;color:#fff;background-color:rgba(0,0,0,.9)}.dropzone-single.dz-max-files-reached .dz-message:hover{opacity:1}.dz-preview-single{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:.375rem}.dz-preview-cover{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:.375rem}.dz-preview-img{width:100%;height:100%;border-radius:.375rem;-o-object-fit:cover;object-fit:cover}.dz-preview-multiple .list-group-item:last-child{padding-bottom:0;border-bottom:0}[data-dz-size] strong{font-weight:400}.fc-header-toolbar{display:none}.fc-scroller{height:auto!important}.fc th{font-size:.75rem;font-weight:600;padding:.75rem 1rem;text-transform:uppercase;color:#8898aa}.fc div.fc-row{margin-right:0;border:0}.fc button .fc-icon{top:-5px}.fc-unthemed td.fc-today{background-color:transparent}.fc-unthemed td.fc-today span{color:#fb6340}.fc-event{font-size:.75rem;padding:0;border:0;border-radius:.25rem}.fc-event .fc-title{font-weight:600;display:block;overflow:hidden;padding:.4rem .5rem;white-space:nowrap;text-overflow:ellipsis;color:#fff}.fc-event .fc-time{float:left;margin:0 0 0 -1px;padding:2px 6px;background:rgba(0,0,0,.2)}.fc-view,.fc-view>table{overflow:hidden;border:0}.fc-view>table>tbody>tr .ui-widget-content{border-top:0}.fc-body{border:0}.fc-icon{font-family:NucleoIcons,sans-serif;font-size:1rem;line-height:35px;width:35px;height:35px;border-radius:50%}.fc-icon:hover{color:#5e72e4}.fc-button{border:0;background:0 0;box-shadow:none}.fc-button:active,.fc-button:focus{outline:0}.calendar{z-index:0}.calendar td,.calendar th{border-color:#eff1f3}.calendar .fc-toolbar{position:relative;z-index:2;height:250px;margin-bottom:-2px;border-radius:.375rem .375rem 0 0;background-color:#fff}@media (max-width:575.98px){.calendar .fc-toolbar{height:135px}}.calendar .fc-day-number{box-sizing:border-box;width:100%;padding:.5rem 1rem}@media (min-width:576px){.calendar .fc-day-number{font-size:.875rem;font-weight:600;color:#67779d}}.calendar .fc-day-header{text-align:left}.calendar .fc-day-grid-event{margin:1px 9px}[data-calendar-month]{transition:background-image .3s;background-size:contain}@media (prefers-reduced-motion:reduce){[data-calendar-month]{transition:none}}[data-calendar-month='0']{background-image:url(../img/calendar/january.jpg)}[data-calendar-month='1']{background-image:url(../img/calendar/february.jpg)}[data-calendar-month='2']{background-image:url(../img/calendar/march.jpg)}[data-calendar-month='3']{background-image:url(../img/calendar/april.jpg)}[data-calendar-month='4']{background-image:url(../img/calendar/may.jpg)}[data-calendar-month='5']{background-image:url(../img/calendar/june.jpg)}[data-calendar-month='6']{background-image:url(../img/calendar/july.jpg)}[data-calendar-month='7']{background-image:url(../img/calendar/august.jpg)}[data-calendar-month='8']{background-image:url(../img/calendar/september.jpg)}[data-calendar-month='9']{background-image:url(../img/calendar/october.jpg)}[data-calendar-month='10']{background-image:url(../img/calendar/november.jpg)}[data-calendar-month='11']{background-image:url(../img/calendar/december.jpg)}.card-calendar .card-header{border-bottom:0}.card-calendar table{background:0 0}.card-calendar table tr>td:first-child{border-left-width:0}.card-calendar table tr>td:last-child{border-right-width:0}.widget-calendar{position:relative;z-index:0}.widget-calendar td,.widget-calendar th{text-align:center;border-color:transparent}.widget-calendar .fc-toolbar{margin-top:1.25rem}.widget-calendar .fc-toolbar h2{font-size:1rem}.widget-calendar .fc-day-number{width:100%;padding:0;text-align:center}.widget-calendar .fc table{font-size:.875rem}.widget-calendar .fc th{font-size:.75rem;padding:.75rem .5rem}.vector-map{position:relative;height:600px}.vector-map-sm{height:280px}.jvectormap-container{width:100%;height:100%}.jvectormap-zoomin,.jvectormap-zoomout{position:absolute;bottom:0;left:0}.jvectormap-zoomin{bottom:4.25rem}.jvectormap-zoomout{bottom:2rem}/*! + * Lavalamp + * http://lavalamp.magicmediamuse.com/ + */.lavalamp{position:relative}.lavalamp-item{position:relative;z-index:5}.lavalamp-object{position:absolute;top:0;left:0}.lavalamp .lavalamp-object{transition-property:transform,width,height}.lavalamp .lavalamp-object.ease{transition-timing-function:ease}.lavalamp .lavalamp-object.ease-in{transition-timing-function:ease-in}.lavalamp .lavalamp-object.ease-out{transition-timing-function:ease-out}.lavalamp .lavalamp-object.ease-in-out{transition-timing-function:ease-in-out}.lavalamp .lavalamp-object.linear{transition-timing-function:linear}.lavalamp .lavalamp-object.easeInQuad{transition-timing-function:cubic-bezier(.55,.085,.68,.53)}.lavalamp .lavalamp-object.easeInCubic{transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.lavalamp .lavalamp-object.easeInQuart{transition-timing-function:cubic-bezier(.895,.03,.685,.22)}.lavalamp .lavalamp-object.easeInQuint{transition-timing-function:cubic-bezier(.755,.05,.855,.06)}.lavalamp .lavalamp-object.easeInSine{transition-timing-function:cubic-bezier(.47,0,.745,.715)}.lavalamp .lavalamp-object.easeInExpo{transition-timing-function:cubic-bezier(.95,.05,.795,.035)}.lavalamp .lavalamp-object.easeInCirc{transition-timing-function:cubic-bezier(.6,.04,.98,.335)}.lavalamp .lavalamp-object.easeInBack{transition-timing-function:cubic-bezier(.6,-.28,.735,.045)}.lavalamp .lavalamp-object.easeOutQuad{transition-timing-function:cubic-bezier(.25,.46,.45,.94)}.lavalamp .lavalamp-object.easeOutCubic{transition-timing-function:cubic-bezier(.215,.61,.355,1)}.lavalamp .lavalamp-object.easeOutQuart{transition-timing-function:cubic-bezier(.165,.84,.44,1)}.lavalamp .lavalamp-object.easeOutQuint{transition-timing-function:cubic-bezier(.23,1,.32,1)}.lavalamp .lavalamp-object.easeOutSine{transition-timing-function:cubic-bezier(.39,.575,.565,1)}.lavalamp .lavalamp-object.easeOutExpo{transition-timing-function:cubic-bezier(.19,1,.22,1)}.lavalamp .lavalamp-object.easeOutCirc{transition-timing-function:cubic-bezier(.075,.82,.165,1)}.lavalamp .lavalamp-object.easeOutBack{transition-timing-function:cubic-bezier(.175,.885,.32,1.275)}.lavalamp .lavalamp-object.easeInOutQuad{transition-timing-function:cubic-bezier(.455,.03,.515,.955)}.lavalamp .lavalamp-object.easeInOutCubic{transition-timing-function:cubic-bezier(.645,.045,.355,1)}.lavalamp .lavalamp-object.easeInOutQuart{transition-timing-function:cubic-bezier(.645,.045,.355,1)}.lavalamp .lavalamp-object.easeInOutQuint{transition-timing-function:cubic-bezier(.86,0,.07,1)}.lavalamp .lavalamp-object.easeInOutSine{transition-timing-function:cubic-bezier(.445,.05,.55,.95)}.lavalamp .lavalamp-object.easeInOutExpo{transition-timing-function:cubic-bezier(1,0,0,1)}.lavalamp .lavalamp-object.easeInOutCirc{transition-timing-function:cubic-bezier(.785,.135,.15,.86)}.lavalamp .lavalamp-object.easeInOutBack{transition-timing-function:cubic-bezier(.68,-.55,.265,1.55)}.noUi-target,.noUi-target *{box-sizing:border-box;-webkit-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:none}.noUi-target{position:relative;direction:ltr}.noUi-base,.noUi-connects{position:relative;z-index:1;width:100%;height:100%}.noUi-connects{z-index:0;overflow:hidden}.noUi-connect,.noUi-origin{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;transform-origin:0 0;will-change:transform}html:not([dir=rtl]) .noUi-horizontal .noUi-origin{right:0;left:auto}.noUi-vertical .noUi-origin{width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{position:absolute}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:5px}.noUi-horizontal .noUi-handle{top:-6px;left:-17px;width:34px;height:28px}.noUi-vertical{width:5px}.noUi-vertical .noUi-handle{top:-17px;left:-6px;width:28px;height:34px}html:not([dir=rtl]) .noUi-horizontal .noUi-handle{right:-17px;left:auto}.noUi-connects{border-radius:3px}.noUi-connect{background:#5e72e4}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{cursor:default;border:1px solid #d9d9d9;border-radius:3px;outline:0;background:#fff;box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ebebeb,0 3px 6px -3px #bbb}.noUi-active{outline:0}[disabled] .noUi-connect{background:#b8b8b8}[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target{cursor:not-allowed}.noUi-pips,.noUi-pips *{box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;text-align:center;white-space:nowrap}.noUi-value-sub{font-size:10px;color:#ccc}.noUi-marker{position:absolute;background:#ccc}.noUi-marker-sub{background:#aaa}.noUi-marker-large{background:#aaa}.noUi-pips-horizontal{top:100%;left:0;width:100%;height:80px;padding:10px 0}.noUi-value-horizontal{transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{width:2px;height:5px;margin-left:-1px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{top:0;left:100%;height:100%;padding:0 10px}.noUi-value-vertical{padding-left:25px;transform:translate(0,-50%,0)}.noUi-rtl .noUi-value-vertical{transform:translate(0,50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{position:absolute;display:block;padding:5px;text-align:center;white-space:nowrap;color:#000;border:1px solid #d9d9d9;border-radius:3px;background:#fff}.noUi-horizontal .noUi-tooltip{bottom:120%;left:50%;transform:translate(-50%,0)}.noUi-vertical .noUi-tooltip{top:50%;right:120%;transform:translate(0,-50%)}.noUi-target{margin:15px 0;cursor:pointer;border:0;border-radius:5px;background:#eceeef;box-shadow:inset 0 1px 2px rgba(90,97,105,.1)}.noUi-horizontal{height:5px}html:not([dir=rtl]) .noUi-horizontal .noUi-handle{right:-10px}.noUi-vertical{width:5px}.noUi-connect{background:#5e72e4;box-shadow:none}.noUi-horizontal .noUi-handle,.noUi-vertical .noUi-handle{top:-5px;width:15px;height:15px;cursor:pointer;transition:box-shadow .15s,transform .15s;border:0;border-radius:100%;background-color:#5e72e4;box-shadow:none}.noUi-horizontal .noUi-handle.noUi-active,.noUi-vertical .noUi-handle.noUi-active{box-shadow:0 0 0 2px #5e72e4}.input-slider--cyan .noUi-connect{background:#2bffc6}[disabled] .noUi-connect,[disabled].noUi-connect{background:#b2b2b2}[disabled] .noUi-handle,[disabled].noUi-origin{cursor:not-allowed}.range-slider-value{font-size:.75rem;font-weight:500;padding:.4em .8em .3em .85em;color:#fff;border-radius:10px;background-color:rgba(33,37,41,.7)}.range-slider-wrapper .upper-info{font-weight:400;margin-bottom:5px}.input-slider-value-output{font-size:11px;position:relative;top:12px;padding:4px 8px;color:#fff;border-radius:2px;background:#333}.input-slider-value-output:after{position:absolute;bottom:100%;left:10px;width:0;height:0;margin-left:-4px;content:' ';pointer-events:none;border:solid transparent;border-width:4px;border-color:rgba(136,183,213,0);border-bottom-color:#333}.input-slider-value-output.left:after{right:auto;left:10px}.input-slider-value-output.right:after{right:10px;left:auto}.ql-container{font-family:Open Sans,sans-serif}.ql-toolbar{position:relative;padding:.625rem .75rem;color:#8898aa;border:1px solid #dee2e6;border-radius:.25rem .25rem 0 0;background-color:#fff}.ql-toolbar+.ql-container{margin-top:-1px}.ql-toolbar+.ql-container .ql-editor{border-top-left-radius:0;border-top-right-radius:0}.ql-editor{font-size:1rem;line-height:1.5;display:block;width:100%;min-height:6rem;padding:.625rem .75rem;transition:all .15s cubic-bezier(.68,-.55,.265,1.55);color:#8898aa;border:1px solid #dee2e6;border-radius:.25rem;background-color:#fff;background-clip:padding-box;box-shadow:0 3px 2px rgba(233,236,239,.05)}@media (prefers-reduced-motion:reduce){.ql-editor{transition:none}}.ql-editor::-ms-expand{border:0;background-color:transparent}.ql-editor:focus{color:#8898aa;border-color:#5e72e4;outline:0;background-color:#fff;box-shadow:0 3px 9px rgba(50,50,9,0),3px 4px 8px rgba(94,114,228,.1)}.ql-editor:focus{border-color:#dee2e6}.ql-hidden{position:absolute;transform:scale(0)}.ql-editor.ql-blank::before{font-style:normal;top:.625rem;left:.75rem;color:#adb5bd}.ql-editor:focus::before{display:none}.ql-formats{padding-right:.5rem;padding-left:.5rem}.ql-formats:first-child{padding-left:0}.ql-formats:last-child{padding-right:0}.ql-toolbar button{padding:0 .25rem;cursor:pointer;transition:all .15s ease;color:#525f7f;border:none;background:0 0}.ql-toolbar button:hover{color:#5e72e4}.ql-toolbar button:first-child{margin-left:-.25rem}.ql-toolbar .ql-active{color:#5e72e4}.ql-toolbar button svg{width:1.25rem;height:1.25rem}.ql-toolbar .ql-stroke{stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}.ql-toolbar .ql-thin{stroke-width:1}.ql-toolbar .ql-fill{fill:currentColor}.ql-toolbar input.ql-image{position:absolute;transform:scale(0)}.ql-tooltip{position:absolute;display:flex;width:18.5rem;margin-top:.6rem;padding:.625rem .75rem;border:1px solid rgba(0,0,0,.05);border-radius:.4375rem;background-color:#fff;box-shadow:0 .5rem 2rem 0 rgba(0,0,0,.2);flex-wrap:nowrap}.ql-tooltip:after,.ql-tooltip:before{position:absolute;bottom:100%;left:50%;content:'';transform:translateX(-50%)}.ql-tooltip:before{border-right:.6rem solid transparent;border-bottom:.6rem solid rgba(0,0,0,.05);border-left:.6rem solid transparent}.ql-tooltip:after{border-right:.5rem solid transparent;border-bottom:.5rem solid #fff;border-left:.5rem solid transparent}.ql-container .ql-tooltip:hover{display:flex!important}.ql-tooltip .ql-preview{font-size:.875rem;line-height:1.5;width:100%;padding:.25rem .5rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;border-radius:.25rem}@media (prefers-reduced-motion:reduce){.ql-tooltip .ql-preview{transition:none}}.ql-tooltip.ql-editing .ql-preview{display:none}.ql-tooltip input{font-size:.875rem;line-height:1.5;display:none;width:100%;padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);color:#8898aa;border:none;background-color:transparent}.ql-tooltip input:focus{outline:0}.ql-tooltip.ql-editing input{display:block}.ql-tooltip .ql-action,.ql-tooltip .ql-remove{margin-left:.25rem}.ql-tooltip .ql-action::before,.ql-tooltip .ql-remove::before{font-size:.875rem;font-weight:600;line-height:1.5;display:inline-block;padding:.25rem .5rem;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;text-align:center;vertical-align:middle;white-space:nowrap;border:1px solid transparent;border-radius:.25rem}@media (prefers-reduced-motion:reduce){.ql-tooltip .ql-action::before,.ql-tooltip .ql-remove::before{transition:none}}.ql-tooltip .ql-action::before:focus,.ql-tooltip .ql-action::before:hover,.ql-tooltip .ql-remove::before:focus,.ql-tooltip .ql-remove::before:hover{text-decoration:none}.ql-tooltip .ql-action::before.focus,.ql-tooltip .ql-action::before:focus,.ql-tooltip .ql-remove::before.focus,.ql-tooltip .ql-remove::before:focus{outline:0;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08)}.ql-tooltip .ql-action::before,.ql-tooltip.ql-editing .ql-action::before{color:#fff;border-color:#5e72e4;background-color:#5e72e4;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.ql-tooltip .ql-action::before:hover,.ql-tooltip.ql-editing .ql-action::before:hover{color:#fff;border-color:#5e72e4;background-color:#5e72e4}.ql-tooltip .ql-action::before.focus,.ql-tooltip .ql-action::before:focus,.ql-tooltip.ql-editing .ql-action::before.focus,.ql-tooltip.ql-editing .ql-action::before:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(94,114,228,.5)}.ql-tooltip .ql-action::before.disabled,.ql-tooltip .ql-action::before:disabled,.ql-tooltip.ql-editing .ql-action::before.disabled,.ql-tooltip.ql-editing .ql-action::before:disabled{color:#fff;border-color:#5e72e4;background-color:#5e72e4}.ql-tooltip .ql-action::before:not(:disabled):not(.disabled).active,.ql-tooltip .ql-action::before:not(:disabled):not(.disabled):active,.ql-tooltip.ql-editing .ql-action::before:not(:disabled):not(.disabled).active,.ql-tooltip.ql-editing .ql-action::before:not(:disabled):not(.disabled):active,.show>.ql-tooltip .ql-action::before.dropdown-toggle,.show>.ql-tooltip.ql-editing .ql-action::before.dropdown-toggle{color:#fff;border-color:#5e72e4;background-color:#324cdd}.ql-tooltip .ql-action::before:not(:disabled):not(.disabled).active:focus,.ql-tooltip .ql-action::before:not(:disabled):not(.disabled):active:focus,.ql-tooltip.ql-editing .ql-action::before:not(:disabled):not(.disabled).active:focus,.ql-tooltip.ql-editing .ql-action::before:not(:disabled):not(.disabled):active:focus,.show>.ql-tooltip .ql-action::before.dropdown-toggle:focus,.show>.ql-tooltip.ql-editing .ql-action::before.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(94,114,228,.5)}.ql-tooltip .ql-action::before{content:'Edit'}.ql-tooltip.ql-editing .ql-action::before{content:'Save'}.ql-tooltip .ql-remove::before{content:'Remove';color:#212529;border-color:#fff;border-color:#dee2e6;background-color:#fff;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.ql-tooltip .ql-remove::before:hover{color:#212529;border-color:#fff;background-color:#fff}.ql-tooltip .ql-remove::before.focus,.ql-tooltip .ql-remove::before:focus{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08),0 0 0 0 rgba(255,255,255,.5)}.ql-tooltip .ql-remove::before.disabled,.ql-tooltip .ql-remove::before:disabled{color:#212529;border-color:#fff;background-color:#fff}.ql-tooltip .ql-remove::before:not(:disabled):not(.disabled).active,.ql-tooltip .ql-remove::before:not(:disabled):not(.disabled):active,.show>.ql-tooltip .ql-remove::before.dropdown-toggle{color:#212529;border-color:#fff;background-color:#e6e6e6}.ql-tooltip .ql-remove::before:not(:disabled):not(.disabled).active:focus,.ql-tooltip .ql-remove::before:not(:disabled):not(.disabled):active:focus,.show>.ql-tooltip .ql-remove::before.dropdown-toggle:focus{box-shadow:none,0 0 0 0 rgba(255,255,255,.5)}.ql-tooltip.ql-editing .ql-remove::before{display:none}.ql-editor blockquote{font-size:1.25rem;margin-bottom:1rem}.ql-editor img{max-width:100%;height:auto}.scroll-wrapper{position:relative;overflow:hidden!important;padding:0!important}.scroll-wrapper>.scroll-content{position:relative!important;top:0;left:0;overflow:scroll!important;box-sizing:content-box!important;width:auto!important;max-width:none!important;height:auto;max-height:none;margin:0;padding:0;border:none!important}.scroll-wrapper>.scroll-content::-webkit-scrollbar{width:0;height:0}.scroll-wrapper.scroll--rtl{direction:rtl}.scroll-element{display:none;box-sizing:content-box}.scroll-element div{box-sizing:content-box}.scroll-element .scroll-arrow,.scroll-element .scroll-bar{cursor:default}.scroll-element.scroll-x.scroll-scrollx_visible,.scroll-element.scroll-y.scroll-scrolly_visible{display:block}.scroll-textarea{border:1px solid #ccc;border-top-color:#999}.scroll-textarea>.scroll-content{overflow:hidden!important}.scroll-textarea>.scroll-content>textarea{position:relative!important;top:0;overflow:scroll!important;box-sizing:border-box;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0;padding:2px;border:none!important;outline:0}.scroll-textarea>.scroll-content>textarea::-webkit-scrollbar{width:0;height:0}.scrollbar-inner>.scroll-element,.scrollbar-inner>.scroll-element div{position:absolute;z-index:10;margin:0;padding:0;border:none}.scrollbar-inner>.scroll-element div{top:0;left:0;display:block;width:100%;height:100%}.scrollbar-inner>.scroll-element.scroll-x{bottom:2px;left:0;width:100%;height:8px}.scrollbar-inner>.scroll-element.scroll-y{top:0;right:2px;width:8px;height:100%}.scrollbar-inner>.scroll-element .scroll-element_outer{overflow:hidden}.scrollbar-inner>.scroll-element .scroll-bar,.scrollbar-inner>.scroll-element .scroll-element_outer,.scrollbar-inner>.scroll-element .scroll-element_track{border-radius:8px}.scrollbar-inner>.scroll-element .scroll-bar,.scrollbar-inner>.scroll-element .scroll-element_track{opacity:.4}.scrollbar-inner>.scroll-element .scroll-element_track{background-color:#e0e0e0}.scrollbar-inner>.scroll-element .scroll-bar{background-color:#c2c2c2}.scrollbar-inner>.scroll-element:hover .scroll-bar{background-color:#919191}.scrollbar-inner>.scroll-element.scroll-draggable .scroll-bar{background-color:#919191}.scrollbar-inner>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track{left:-12px}.scrollbar-inner>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track{top:-12px}.scrollbar-inner>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-12px}.scrollbar-inner>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-12px}.scrollbar-outer>.scroll-element,.scrollbar-outer>.scroll-element div{position:absolute;z-index:10;margin:0;padding:0;border:none}.scrollbar-outer>.scroll-element{background-color:#fff}.scrollbar-outer>.scroll-element div{top:0;left:0;display:block;width:100%;height:100%}.scrollbar-outer>.scroll-element.scroll-x{bottom:0;left:0;width:100%;height:12px}.scrollbar-outer>.scroll-element.scroll-y{top:0;right:0;width:12px;height:100%}.scrollbar-outer>.scroll-element.scroll-x .scroll-element_outer{top:2px;height:8px}.scrollbar-outer>.scroll-element.scroll-y .scroll-element_outer{left:2px;width:8px}.scrollbar-outer>.scroll-element .scroll-element_outer{overflow:hidden}.scrollbar-outer>.scroll-element .scroll-element_track{background-color:#eee}.scrollbar-outer>.scroll-element .scroll-bar,.scrollbar-outer>.scroll-element .scroll-element_outer,.scrollbar-outer>.scroll-element .scroll-element_track{border-radius:8px}.scrollbar-outer>.scroll-element .scroll-bar{background-color:#d9d9d9}.scrollbar-outer>.scroll-element .scroll-bar:hover{background-color:#c2c2c2}.scrollbar-outer>.scroll-element.scroll-draggable .scroll-bar{background-color:#919191}.scrollbar-outer>.scroll-content.scroll-scrolly_visible{left:-12px;margin-left:12px}.scrollbar-outer>.scroll-content.scroll-scrollx_visible{top:-12px;margin-top:12px}.scrollbar-outer>.scroll-element.scroll-x .scroll-bar{min-width:10px}.scrollbar-outer>.scroll-element.scroll-y .scroll-bar{min-height:10px}.scrollbar-outer>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track{left:-14px}.scrollbar-outer>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track{top:-14px}.scrollbar-outer>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-14px}.scrollbar-outer>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-14px}.scrollbar-macosx>.scroll-element,.scrollbar-macosx>.scroll-element div{position:absolute;z-index:10;margin:0;padding:0;border:none;background:0 0}.scrollbar-macosx>.scroll-element div{top:0;left:0;display:block;width:100%;height:100%}.scrollbar-macosx>.scroll-element .scroll-element_track{display:none}.scrollbar-macosx>.scroll-element .scroll-bar{display:block;transition:opacity .2s linear;opacity:0;border-radius:7px;background-color:#6c6e71}.scrollbar-macosx:hover>.scroll-element .scroll-bar,.scrollbar-macosx>.scroll-element.scroll-draggable .scroll-bar{opacity:.7}.scrollbar-macosx>.scroll-element.scroll-x{bottom:0;left:0;overflow:visible;width:100%;min-width:100%;height:0}.scrollbar-macosx>.scroll-element.scroll-y{top:0;right:0;width:0;height:100%;min-height:100%}.scrollbar-macosx>.scroll-element.scroll-x .scroll-bar{top:-9px;min-width:10px;height:7px}.scrollbar-macosx>.scroll-element.scroll-y .scroll-bar{left:-9px;width:7px;min-height:10px}.scrollbar-macosx>.scroll-element.scroll-x .scroll-element_outer{left:2px}.scrollbar-macosx>.scroll-element.scroll-x .scroll-element_size{left:-4px}.scrollbar-macosx>.scroll-element.scroll-y .scroll-element_outer{top:2px}.scrollbar-macosx>.scroll-element.scroll-y .scroll-element_size{top:-4px}.scrollbar-macosx>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-11px}.scrollbar-macosx>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-11px}.scrollbar-light>.scroll-element,.scrollbar-light>.scroll-element div{position:absolute;z-index:10;overflow:hidden;margin:0;padding:0;border:none}.scrollbar-light>.scroll-element{background-color:#fff}.scrollbar-light>.scroll-element div{top:0;left:0;display:block;width:100%;height:100%}.scrollbar-light>.scroll-element .scroll-element_outer{border-radius:10px}.scrollbar-light>.scroll-element .scroll-element_size{border-radius:10px;background:#dbdbdb;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RiZGJkYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlOGU4ZTgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);background:linear-gradient(to right,#dbdbdb 0,#e8e8e8 100%)}.scrollbar-light>.scroll-element.scroll-x{bottom:0;left:0;width:100%;min-width:100%;height:17px}.scrollbar-light>.scroll-element.scroll-y{top:0;right:0;width:17px;height:100%;min-height:100%}.scrollbar-light>.scroll-element .scroll-bar{border:1px solid #dbdbdb;border-radius:10px;background:#fefefe;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZlZmVmZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNWY1ZjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);background:linear-gradient(to right,#fefefe 0,#f5f5f5 100%)}.scrollbar-light>.scroll-content.scroll-scrolly_visible{left:-17px;margin-left:17px}.scrollbar-light>.scroll-content.scroll-scrollx_visible{top:-17px;margin-top:17px}.scrollbar-light>.scroll-element.scroll-x .scroll-bar{top:0;min-width:10px;height:10px}.scrollbar-light>.scroll-element.scroll-y .scroll-bar{left:0;width:10px;min-height:10px}.scrollbar-light>.scroll-element.scroll-x .scroll-element_outer{top:2px;left:2px;height:12px}.scrollbar-light>.scroll-element.scroll-x .scroll-element_size{left:-4px}.scrollbar-light>.scroll-element.scroll-y .scroll-element_outer{top:2px;left:2px;width:12px}.scrollbar-light>.scroll-element.scroll-y .scroll-element_size{top:-4px}.scrollbar-light>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-19px}.scrollbar-light>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-19px}.scrollbar-light>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track{left:-19px}.scrollbar-light>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track{top:-19px}.scrollbar-rail>.scroll-element,.scrollbar-rail>.scroll-element div{position:absolute;z-index:10;overflow:hidden;margin:0;padding:0;border:none}.scrollbar-rail>.scroll-element{background-color:#fff}.scrollbar-rail>.scroll-element div{top:0;left:0;display:block;width:100%;height:100%}.scrollbar-rail>.scroll-element .scroll-element_size{background-color:#999;background-color:rgba(0,0,0,.3)}.scrollbar-rail>.scroll-element .scroll-element_outer:hover .scroll-element_size{background-color:#666;background-color:rgba(0,0,0,.5)}.scrollbar-rail>.scroll-element.scroll-x{bottom:0;left:0;width:100%;min-width:100%;height:12px;padding:3px 0 2px}.scrollbar-rail>.scroll-element.scroll-y{top:0;right:0;width:12px;height:100%;min-height:100%;padding:0 2px 0 3px}.scrollbar-rail>.scroll-element .scroll-bar{border-radius:2px;background-color:#d0b9a0;box-shadow:1px 1px 3px rgba(0,0,0,.5)}.scrollbar-rail>.scroll-element .scroll-element_outer:hover .scroll-bar{box-shadow:1px 1px 3px rgba(0,0,0,.6)}.scrollbar-rail>.scroll-content.scroll-scrolly_visible{left:-17px;margin-left:17px}.scrollbar-rail>.scroll-content.scroll-scrollx_visible{top:-17px;margin-top:17px}.scrollbar-rail>.scroll-element.scroll-x .scroll-bar{top:1px;min-width:10px;height:10px}.scrollbar-rail>.scroll-element.scroll-y .scroll-bar{left:1px;width:10px;min-height:10px}.scrollbar-rail>.scroll-element.scroll-x .scroll-element_outer{left:5px;height:15px}.scrollbar-rail>.scroll-element.scroll-x .scroll-element_size{top:5px;left:-10px;height:2px}.scrollbar-rail>.scroll-element.scroll-y .scroll-element_outer{top:5px;width:15px}.scrollbar-rail>.scroll-element.scroll-y .scroll-element_size{top:-10px;left:5px;width:2px}.scrollbar-rail>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-25px}.scrollbar-rail>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-25px}.scrollbar-rail>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track{left:-25px}.scrollbar-rail>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track{top:-25px}.scrollbar-dynamic>.scroll-element,.scrollbar-dynamic>.scroll-element div{position:absolute;z-index:10;margin:0;padding:0;border:none;background:0 0}.scrollbar-dynamic>.scroll-element div{top:0;left:0;display:block;width:100%;height:100%}.scrollbar-dynamic>.scroll-element.scroll-x{bottom:2px;left:0;width:100%;min-width:100%;height:7px}.scrollbar-dynamic>.scroll-element.scroll-y{top:0;right:2px;width:7px;height:100%;min-height:100%}.scrollbar-dynamic>.scroll-element .scroll-element_outer{opacity:.3;border-radius:12px}.scrollbar-dynamic>.scroll-element .scroll-element_size{transition:opacity .2s;opacity:0;border-radius:12px;background-color:#ccc}.scrollbar-dynamic>.scroll-element .scroll-bar{border-radius:7px;background-color:#6c6e71}.scrollbar-dynamic>.scroll-element.scroll-x .scroll-bar{top:auto;bottom:0;min-width:24px;height:7px}.scrollbar-dynamic>.scroll-element.scroll-y .scroll-bar{right:0;left:auto;width:7px;min-height:24px}.scrollbar-dynamic>.scroll-element.scroll-x .scroll-element_outer{top:auto;bottom:0;left:2px;transition:height .2s}.scrollbar-dynamic>.scroll-element.scroll-y .scroll-element_outer{top:2px;right:0;left:auto;transition:width .2s}.scrollbar-dynamic>.scroll-element.scroll-x .scroll-element_size{left:-4px}.scrollbar-dynamic>.scroll-element.scroll-y .scroll-element_size{top:-4px}.scrollbar-dynamic>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-11px}.scrollbar-dynamic>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-11px}.scrollbar-dynamic>.scroll-element.scroll-draggable .scroll-element_outer,.scrollbar-dynamic>.scroll-element:hover .scroll-element_outer{overflow:hidden;opacity:.7}.scrollbar-dynamic>.scroll-element.scroll-draggable .scroll-element_outer .scroll-element_size,.scrollbar-dynamic>.scroll-element:hover .scroll-element_outer .scroll-element_size{opacity:1}.scrollbar-dynamic>.scroll-element.scroll-draggable .scroll-element_outer .scroll-bar,.scrollbar-dynamic>.scroll-element:hover .scroll-element_outer .scroll-bar{width:100%;height:100%;border-radius:12px}.scrollbar-dynamic>.scroll-element.scroll-x.scroll-draggable .scroll-element_outer,.scrollbar-dynamic>.scroll-element.scroll-x:hover .scroll-element_outer{height:20px;min-height:7px}.scrollbar-dynamic>.scroll-element.scroll-y.scroll-draggable .scroll-element_outer,.scrollbar-dynamic>.scroll-element.scroll-y:hover .scroll-element_outer{width:20px;min-width:7px}.scrollbar-chrome>.scroll-element,.scrollbar-chrome>.scroll-element div{position:absolute;z-index:10;overflow:hidden;margin:0;padding:0;border:none}.scrollbar-chrome>.scroll-element{background-color:#fff}.scrollbar-chrome>.scroll-element div{top:0;left:0;display:block;width:100%;height:100%}.scrollbar-chrome>.scroll-element .scroll-element_track{border:1px solid #dbdbdb;background:#f1f1f1}.scrollbar-chrome>.scroll-element.scroll-x{bottom:0;left:0;width:100%;min-width:100%;height:16px}.scrollbar-chrome>.scroll-element.scroll-y{top:0;right:0;width:16px;height:100%;min-height:100%}.scrollbar-chrome>.scroll-element .scroll-bar{cursor:default;border:1px solid #bdbdbd;border-radius:2px;background-color:#d9d9d9}.scrollbar-chrome>.scroll-element .scroll-bar:hover{border-color:#a9a9a9;background-color:#c2c2c2}.scrollbar-chrome>.scroll-element.scroll-draggable .scroll-bar{border-color:#7e7e7e;background-color:#919191}.scrollbar-chrome>.scroll-content.scroll-scrolly_visible{left:-16px;margin-left:16px}.scrollbar-chrome>.scroll-content.scroll-scrollx_visible{top:-16px;margin-top:16px}.scrollbar-chrome>.scroll-element.scroll-x .scroll-bar{top:3px;min-width:10px;height:8px}.scrollbar-chrome>.scroll-element.scroll-y .scroll-bar{left:3px;width:8px;min-height:10px}.scrollbar-chrome>.scroll-element.scroll-x .scroll-element_outer{border-left:1px solid #dbdbdb}.scrollbar-chrome>.scroll-element.scroll-x .scroll-element_track{left:-3px;height:14px}.scrollbar-chrome>.scroll-element.scroll-x .scroll-element_size{left:-4px;height:14px}.scrollbar-chrome>.scroll-element.scroll-y .scroll-element_outer{border-top:1px solid #dbdbdb}.scrollbar-chrome>.scroll-element.scroll-y .scroll-element_track{top:-3px;width:14px}.scrollbar-chrome>.scroll-element.scroll-y .scroll-element_size{top:-4px;width:14px}.scrollbar-chrome>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-19px}.scrollbar-chrome>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-19px}.scrollbar-chrome>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track{left:-19px}.scrollbar-chrome>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track{top:-19px}.scrollbar-inner{height:100%}.scrollbar-inner:not(:hover) .scroll-element{opacity:0}.scrollbar-inner .scroll-element{margin-right:2px;transition:opacity .3s}.scrollbar-inner .scroll-element .scroll-bar,.scrollbar-inner .scroll-element .scroll-element_track{transition:background-color .3s}.scrollbar-inner .scroll-element .scroll-element_track{background-color:transparent}.scrollbar-inner .scroll-element:hover{width:4px}.scrollbar-inner .scroll-element.scroll-y{right:0;width:3px}.scrollbar-inner .scroll-element.scroll-x{bottom:0;height:3px}.select2-selection__arrow{display:none}.select2.select2-container{width:100%!important}.select2-container .select2-selection--single,.select2-container--default .select2-search--dropdown .select2-search__field,.select2-container--default .select2-selection--multiple,.select2-container--default.select2-container--focus .select2-selection--multiple{font-size:1rem;line-height:1.5;display:block;width:100%;height:calc(1.5em + 1.25rem + 2px);padding:.625rem .75rem;transition:all .15s cubic-bezier(.68,-.55,.265,1.55);color:#8898aa;border:1px solid #dee2e6;border-radius:.25rem;background-color:#fff;background-clip:padding-box;box-shadow:0 3px 2px rgba(233,236,239,.05)}@media (prefers-reduced-motion:reduce){.select2-container .select2-selection--single,.select2-container--default .select2-search--dropdown .select2-search__field,.select2-container--default .select2-selection--multiple,.select2-container--default.select2-container--focus .select2-selection--multiple{transition:none}}.select2-container .select2-selection--single::-ms-expand,.select2-container--default .select2-search--dropdown .select2-search__field::-ms-expand,.select2-container--default .select2-selection--multiple::-ms-expand,.select2-container--default.select2-container--focus .select2-selection--multiple::-ms-expand{border:0;background-color:transparent}.select2-container .select2-selection--single:focus,.select2-container--default .select2-search--dropdown .select2-search__field:focus,.select2-container--default .select2-selection--multiple:focus,.select2-container--default.select2-container--focus .select2-selection--multiple:focus{color:#8898aa;border-color:#5e72e4;outline:0;background-color:#fff;box-shadow:0 3px 9px rgba(50,50,9,0),3px 4px 8px rgba(94,114,228,.1)}.select2-container .select2-selection--single::-ms-input-placeholder,.select2-container--default .select2-search--dropdown .select2-search__field::-ms-input-placeholder,.select2-container--default .select2-selection--multiple::-ms-input-placeholder,.select2-container--default.select2-container--focus .select2-selection--multiple::-ms-input-placeholder{opacity:1;color:#adb5bd}.select2-container .select2-selection--single::placeholder,.select2-container--default .select2-search--dropdown .select2-search__field::placeholder,.select2-container--default .select2-selection--multiple::placeholder,.select2-container--default.select2-container--focus .select2-selection--multiple::placeholder{opacity:1;color:#adb5bd}.select2-container .select2-selection--single:disabled,.select2-container .select2-selection--single[readonly],.select2-container--default .select2-search--dropdown .select2-search__field:disabled,.select2-container--default .select2-search--dropdown .select2-search__field[readonly],.select2-container--default .select2-selection--multiple:disabled,.select2-container--default .select2-selection--multiple[readonly],.select2-container--default.select2-container--focus .select2-selection--multiple:disabled,.select2-container--default.select2-container--focus .select2-selection--multiple[readonly]{opacity:1;background-color:#e9ecef}.select2-container .select2-selection--single .select2-selection__rendered{overflow:inherit;padding:0;white-space:inherit;text-overflow:inherit}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:inherit;color:inherit}.select2-dropdown{padding:.5rem 0;border:1px solid #dee2e6;border-radius:.4375rem;background-color:#fff}.select2-results__option{font-size:.875rem;padding:.5rem .75rem;color:#212529;background-color:#fff}.select2-results__option:focus,.select2-results__option:hover{text-decoration:none;color:#16181b;background-color:#f6f9fc}.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option[aria-selected=true]{color:#16181b;background-color:transparent}.select2-container--default .select2-results__option[aria-disabled=true]{color:#8898aa}.select2-container--default .select2-selection--multiple,.select2-container--default.select2-container--focus .select2-selection--multiple{height:auto;min-height:calc(1.5em + 1.25rem + 2px)}.select2-container--default .select2-selection--multiple .select2-selection__rendered{display:block;margin:0 0 -.25rem -.25rem;padding:0}.select2-container--default .select2-selection--multiple .select2-selection__choice{font-size:.875rem;line-height:1.5rem;display:inline-flex;margin:0 0 .25rem .25rem;padding:0 .5rem;color:#8898aa;border:none;border-radius:.25rem;background-color:#adb5bd}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-left:.5rem;color:#8898aa;order:2}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#525f7f}.select2-container .select2-search--inline{display:none}.select2-selection[aria-expanded=true]{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.select2-search--dropdown{padding:.5rem .75rem}.select2-container--default .select2-search--dropdown .select2-search__field{font-size:.875rem;line-height:1.5;padding:.25rem .5rem;border-radius:.25rem}.form-control-sm+.select2-container .select2-selection--single,.form-control-sm+.select2-container--default .select2-selection--multiple,.form-control-sm+.select2-container--default.select2-container--focus .select2-selection--multiple{font-size:.875rem;line-height:1.5;height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;border-radius:.25rem}.form-control-sm+.select2-container--default .select2-selection--multiple,.form-control-sm+.select2-container--default.select2-container--focus .select2-selection--multiple{min-height:calc(1.5em + .5rem + 2px)}.form-control-sm+.select2-container--default .select2-selection--multiple .select2-selection__choice{line-height:1.3125rem}.form-control-lg+.select2-container .select2-selection--single,.form-control-lg+.select2-container--default .select2-selection--multiple,.form-control-lg+.select2-container--default.select2-container--focus .select2-selection--multiple{font-size:1.25rem;line-height:1.5;height:calc(1.5em + 1.75rem + 2px);padding:.875rem 1rem;border-radius:.4375rem}.form-control-lg+.select2-container--default .select2-selection--multiple,.form-control-lg+.select2-container--default.select2-container--focus .select2-selection--multiple{min-height:calc(1.5em + 1.75rem + 2px)}.form-control-lg+.select2-container--default .select2-selection--multiple .select2-selection__choice{line-height:1.875rem}.swal2-popup{padding:1.5rem}.swal2-popup .swal2-title{font-size:1.5rem}.swal2-popup .swal2-content{font-size:.875rem}.swal2-popup .swal2-image{max-width:200px}.bootstrap-datetimepicker-widget .btn[data-action=clear]::after,.bootstrap-datetimepicker-widget .btn[data-action=decrementHours]::after,.bootstrap-datetimepicker-widget .btn[data-action=decrementMinutes]::after,.bootstrap-datetimepicker-widget .btn[data-action=incrementHours]::after,.bootstrap-datetimepicker-widget .btn[data-action=incrementMinutes]::after,.bootstrap-datetimepicker-widget .btn[data-action=showHours]::after,.bootstrap-datetimepicker-widget .btn[data-action=showMinutes]::after,.bootstrap-datetimepicker-widget .btn[data-action=today]::after,.bootstrap-datetimepicker-widget .btn[data-action=togglePeriod]::after,.bootstrap-datetimepicker-widget .picker-switch::after,.bootstrap-datetimepicker-widget table th.next::after,.bootstrap-datetimepicker-widget table th.prev::after,.sr-only{position:absolute;overflow:hidden;clip:rect(0,0,0,0);width:1px;height:1px;margin:-1px;padding:0;border:0}.bootstrap-datetimepicker-widget{list-style:none}.bootstrap-datetimepicker-widget a .btn:hover{background-color:transparent}.bootstrap-datetimepicker-widget.dropdown-menu{width:254px;max-width:254px;padding:8px 6px}.bootstrap-datetimepicker-widget.dropdown-menu .tim-icons{opacity:1}.bootstrap-datetimepicker-widget.dropdown-menu .picker-switch .table-condensed:hover{border-radius:3px;background:#eee}.bootstrap-datetimepicker-widget.dropdown-menu .timepicker-picker .table-condensed{margin-top:10px;margin-bottom:5px}.bootstrap-datetimepicker-widget.dropdown-menu .timepicker-picker .table-condensed .btn[data-action=togglePeriod]:hover,.bootstrap-datetimepicker-widget.dropdown-menu .timepicker-picker .table-condensed .separator{color:#9a9a9a!important}.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .decade,.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .month,.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .year{color:#9a9a9a}.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .decade.active,.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .month.active,.bootstrap-datetimepicker-widget.dropdown-menu .table-condensed .year.active{color:#fff}@media (min-width:768px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:992px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:1200px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before{position:absolute;right:auto;display:inline-block;width:0;height:0;content:'';vertical-align:middle;border-right:.4em solid transparent;border-bottom:.4em solid;border-left:.4em solid transparent}.bootstrap-datetimepicker-widget.dropdown-menu.top:before{display:none}.bootstrap-datetimepicker-widget.dropdown-menu.top:after{position:absolute;top:auto;right:auto;bottom:-6px;left:10px;display:inline-block;width:0;height:0;content:'';vertical-align:middle;color:#fff;border-top:.4em solid;border-right:.4em solid transparent;border-left:.4em solid transparent}.bootstrap-datetimepicker-widget.dropdown-menu.top{margin-top:auto}.bootstrap-datetimepicker-widget.dropdown-menu.top.open{margin-top:auto}.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before{right:6px;left:auto}.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after{right:7px;left:auto}.bootstrap-datetimepicker-widget .list-unstyled{margin:0}.bootstrap-datetimepicker-widget a[data-action]{padding:0;color:#fff;border-width:0}.bootstrap-datetimepicker-widget a[data-action=togglePicker],.bootstrap-datetimepicker-widget a[data-action=togglePicker]:hover{color:#5e72e4}.bootstrap-datetimepicker-widget a[data-action]:active{box-shadow:none}.bootstrap-datetimepicker-widget .timepicker-hour,.bootstrap-datetimepicker-widget .timepicker-minute,.bootstrap-datetimepicker-widget .timepicker-second{font-size:1.5em;font-weight:300;line-height:40px;width:40px;height:40px;margin:3px;color:#9a9a9a;border-radius:50%}.bootstrap-datetimepicker-widget button[data-action]{width:38px;height:38px;padding:0;box-shadow:0 1px 10px 0 rgba(0,0,0,.2)}.bootstrap-datetimepicker-widget .btn{margin:0!important}.bootstrap-datetimepicker-widget .btn[data-action=incrementHours]::after{content:'Increment Hours'}.bootstrap-datetimepicker-widget .btn[data-action=incrementMinutes]::after{content:'Increment Minutes'}.bootstrap-datetimepicker-widget .btn[data-action=decrementHours]::after{content:'Decrement Hours'}.bootstrap-datetimepicker-widget .btn[data-action=decrementMinutes]::after{content:'Decrement Minutes'}.bootstrap-datetimepicker-widget .btn[data-action=showHours]::after{content:'Show Hours'}.bootstrap-datetimepicker-widget .btn[data-action=showMinutes]::after{content:'Show Minutes'}.bootstrap-datetimepicker-widget .btn[data-action=togglePeriod]::after{content:'Toggle AM/PM'}.bootstrap-datetimepicker-widget .btn[data-action=clear]::after{content:'Clear the picker'}.bootstrap-datetimepicker-widget .btn[data-action=today]::after{content:'Set the date to today'}.bootstrap-datetimepicker-widget .picker-switch{text-align:center;color:#5e72e4;border-radius:3px}.bootstrap-datetimepicker-widget .picker-switch::after{content:'Toggle Date and Time Screens'}.bootstrap-datetimepicker-widget .picker-switch td{line-height:inherit;width:auto;height:auto;margin:0;padding:0}.bootstrap-datetimepicker-widget .picker-switch td span{line-height:2.5;width:100%;height:2.5em;margin:2px 0!important;border-radius:3px}.bootstrap-datetimepicker-widget table{width:100%;margin:0;text-align:center}.bootstrap-datetimepicker-widget table td>div,.bootstrap-datetimepicker-widget table th>div{text-align:center}.bootstrap-datetimepicker-widget table th{font-weight:300;line-height:20px;width:20px;height:20px}.bootstrap-datetimepicker-widget table th.picker-switch{width:145px}.bootstrap-datetimepicker-widget table th.disabled,.bootstrap-datetimepicker-widget table th.disabled:hover{cursor:not-allowed;color:#cfcfca;background:0 0}.bootstrap-datetimepicker-widget table th.next span,.bootstrap-datetimepicker-widget table th.prev span{font-size:12px;line-height:28px;width:27px;height:27px;text-align:center;color:#5e72e4;border-radius:4px;border-radius:50%}.bootstrap-datetimepicker-widget table th.prev::after{content:'Previous Month'}.bootstrap-datetimepicker-widget table th.next::after{content:'Next Month'}.bootstrap-datetimepicker-widget table th.dow{padding-top:10px;padding-bottom:5px;text-align:center;color:#5e72e4}.bootstrap-datetimepicker-widget table thead tr:first-child th{cursor:pointer}.bootstrap-datetimepicker-widget table thead tr:first-child th.picker-switch:hover,.bootstrap-datetimepicker-widget table thead tr:first-child th:hover span{background:#eee}.bootstrap-datetimepicker-widget table td.cw>div{font-size:.8em;line-height:20px;height:20px;color:#cfcfca}.bootstrap-datetimepicker-widget table td.day>div,.bootstrap-datetimepicker-widget table td.hour>div,.bootstrap-datetimepicker-widget table td.minute>div{font-size:14px;font-weight:300;line-height:2.2;position:relative;z-index:-1;width:30px;height:30px;margin:0 auto;padding:0;cursor:pointer;transition:all .3s ease 0s;text-align:center;color:#9a9a9a;border:none;border-radius:50%}.bootstrap-datetimepicker-widget table td.day:hover>div,.bootstrap-datetimepicker-widget table td.hour:hover>div,.bootstrap-datetimepicker-widget table td.minute:hover>div,.bootstrap-datetimepicker-widget table td.second:hover>div{cursor:pointer;background:#eee}.bootstrap-datetimepicker-widget table td.new>div,.bootstrap-datetimepicker-widget table td.old>div{color:#172b4d}.bootstrap-datetimepicker-widget table td.day,.bootstrap-datetimepicker-widget table td.today{background:0 0!important}.bootstrap-datetimepicker-widget table td.today>div:before{position:absolute;right:4px;bottom:4px;display:inline-block;content:'';border:0 0 7px 7px solid transparent;border-top-color:rgba(0,0,0,.2);border-bottom-color:#68b3c8}.bootstrap-datetimepicker-widget table td.active:hover>div,.bootstrap-datetimepicker-widget table td.active>div{color:#fff;background-color:#5e72e4;box-shadow:0 1px 10px 0 rgba(0,0,0,.2)}.bootstrap-datetimepicker-widget table td.active.today:before>div{border-bottom-color:#fff}.bootstrap-datetimepicker-widget table td.disabled:hover>div,.bootstrap-datetimepicker-widget table td.disabled>div{cursor:not-allowed;color:#cfcfca;background:0 0}.bootstrap-datetimepicker-widget table td span{line-height:40px;display:inline-block;width:40px;height:40px;margin:0 3px;cursor:pointer;text-align:center;border-radius:50%}.bootstrap-datetimepicker-widget table td span.active{color:#fff;background-color:#5e72e4}.bootstrap-datetimepicker-widget table td span.old{color:#cfcfca}.bootstrap-datetimepicker-widget table td span.disabled,.bootstrap-datetimepicker-widget table td span.disabled:hover{cursor:not-allowed;color:#cfcfca;background:0 0}.bootstrap-datetimepicker-widget .timepicker-hours span,.bootstrap-datetimepicker-widget .timepicker-minutes span,.bootstrap-datetimepicker-widget .timepicker-picker span{border-radius:50%!important}.bootstrap-datetimepicker-widget.usetwentyfour td.hour{line-height:27px;height:27px}.input-group.date .input-group-addon{cursor:pointer}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{z-index:1;padding:1px;cursor:pointer;text-align:center}.bootstrap-datetimepicker-widget .separator{position:relative;width:auto;height:auto;color:red}input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget .picker-switch,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget .separator,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget .timepicker-hours span,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget .timepicker-minutes span,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget a[data-action=togglePicker],input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget a[data-action=togglePicker]:hover,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget span,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td.day>div,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td.hour>div,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td.minute>div,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table th.next span,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table th.prev span{color:#9a9a9a}input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table th.dow{color:rgba(255,255,255,.8)}input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td.new>div,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td.old>div{color:rgba(255,255,255,.4)}input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget button[data-action]{background-color:#fff}input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td.active:hover>div,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td.active>div{background-color:#fff}input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td span:hover,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td.hour:hover>div,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td.minute:hover>div,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td.second:hover>div,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table td:not(.active).day:hover>div{background:rgba(255,255,255,.2)}input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table thead tr:first-child th.picker-switch:hover,input.datetimepicker[data-color]+.bootstrap-datetimepicker-widget table thead tr:first-child th:hover span{background-color:rgba(255,255,255,.2)}input.datetimepicker[data-color=orange]+.bootstrap-datetimepicker-widget{background-color:#5e72e4}input.datetimepicker[data-color=orange]+.bootstrap-datetimepicker-widget button[data-action],input.datetimepicker[data-color=orange]+.bootstrap-datetimepicker-widget table td.active:hover>div,input.datetimepicker[data-color=orange]+.bootstrap-datetimepicker-widget table td.active>div,input.datetimepicker[data-color=orange]+.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before,input.datetimepicker[data-color=orange]+.bootstrap-datetimepicker-widget.dropdown-menu.top:after{color:#5e72e4}input.datetimepicker[data-color=blue]+.bootstrap-datetimepicker-widget{background-color:#11cdef}input.datetimepicker[data-color=blue]+.bootstrap-datetimepicker-widget button[data-action],input.datetimepicker[data-color=blue]+.bootstrap-datetimepicker-widget table td.active:hover>div,input.datetimepicker[data-color=blue]+.bootstrap-datetimepicker-widget table td.active>div,input.datetimepicker[data-color=blue]+.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before,input.datetimepicker[data-color=blue]+.bootstrap-datetimepicker-widget.dropdown-menu.top:after{color:#11cdef}input.datetimepicker[data-color=green]+.bootstrap-datetimepicker-widget{background-color:#2dce89}input.datetimepicker[data-color=green]+.bootstrap-datetimepicker-widget button[data-action],input.datetimepicker[data-color=green]+.bootstrap-datetimepicker-widget table td.active:hover>div,input.datetimepicker[data-color=green]+.bootstrap-datetimepicker-widget table td.active>div,input.datetimepicker[data-color=green]+.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before,input.datetimepicker[data-color=green]+.bootstrap-datetimepicker-widget.dropdown-menu.top:after{color:#2dce89}input.datetimepicker[data-color=red]+.bootstrap-datetimepicker-widget{background-color:#f5365c}input.datetimepicker[data-color=red]+.bootstrap-datetimepicker-widget button[data-action],input.datetimepicker[data-color=red]+.bootstrap-datetimepicker-widget table td.active:hover>div,input.datetimepicker[data-color=red]+.bootstrap-datetimepicker-widget table td.active>div,input.datetimepicker[data-color=red]+.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before,input.datetimepicker[data-color=red]+.bootstrap-datetimepicker-widget.dropdown-menu.top:after{color:#f5365c}input.datetimepicker[data-color=yellow]+.bootstrap-datetimepicker-widget{background-color:#fb6340}input.datetimepicker[data-color=yellow]+.bootstrap-datetimepicker-widget button[data-action],input.datetimepicker[data-color=yellow]+.bootstrap-datetimepicker-widget table td.active:hover>div,input.datetimepicker[data-color=yellow]+.bootstrap-datetimepicker-widget table td.active>div,input.datetimepicker[data-color=yellow]+.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before,input.datetimepicker[data-color=yellow]+.bootstrap-datetimepicker-widget.dropdown-menu.top:after{color:#fb6340}.bootstrap-datetimepicker-widget.dropdown-black .datepicker-days .day,.bootstrap-datetimepicker-widget.dropdown-black .datepicker-days .minute{color:rgba(255,255,255,.7)}.bootstrap-datetimepicker-widget.dropdown-black .datepicker-days .day:hover,.bootstrap-datetimepicker-widget.dropdown-black .datepicker-days .minute:hover{color:#212529}.bootstrap-datetimepicker-widget.dropdown-black table td span,.bootstrap-datetimepicker-widget.dropdown-black table td.hour,.bootstrap-datetimepicker-widget.dropdown-black table td.minute{color:rgba(255,255,255,.7)}.bootstrap-datetimepicker-widget.dropdown-black table td span:hover,.bootstrap-datetimepicker-widget.dropdown-black table td.hour:hover,.bootstrap-datetimepicker-widget.dropdown-black table td.minute:hover{color:rgba(255,255,255,.4);background:0 0}.bootstrap-datetimepicker-widget.dropdown-black table td span:hover div,.bootstrap-datetimepicker-widget.dropdown-black table td.hour:hover div,.bootstrap-datetimepicker-widget.dropdown-black table td.minute:hover div{background:0 0}.bootstrap-datetimepicker-widget.dropdown-black table td .btn[data-action]{color:#fff}.bootstrap-datetimepicker-widget.dropdown-black table td .btn[data-action=togglePeriod]{background:0 0}
\ No newline at end of file diff --git a/yaksh/static/yaksh/css/custom.css b/yaksh/static/yaksh/css/custom.css index f995c61..91f68b5 100644 --- a/yaksh/static/yaksh/css/custom.css +++ b/yaksh/static/yaksh/css/custom.css @@ -15,15 +15,6 @@ body, .dropdown-menu { display: flex; } -.course-detail, #result-table { - table-layout: fixed; - width: 100%; -} - -.course-detail, #result-table > th, td { - word-wrap: break-word; -} - #rendered_text{ width: 550px; } @@ -73,7 +64,6 @@ body, .dropdown-menu { #sidebar .sidebar-header { padding: 20px; - background: #158CBA; } #sidebar ul.components { @@ -109,12 +99,49 @@ body, .dropdown-menu { FORUM STYLE ----------------------------------------------------- */ -.brown-light { - background: #f4a460; - padding-left: 0.3em; - padding-right: 0.3em; - padding-top: 0.2em; - padding-bottom: 0.2em; + #wrapper { + overflow-x: hidden; + } + +#sidebar-wrapper { + min-height: 100vh; + margin-left: -15rem; + -webkit-transition: margin .25s ease-out; + -moz-transition: margin .25s ease-out; + -o-transition: margin .25s ease-out; + transition: margin .25s ease-out; +} + +#sidebar-wrapper .sidebar-heading { + padding: 0.875rem 1.25rem; + font-size: 1.2rem; +} + +#sidebar-wrapper .list-group { + width: 15rem; +} + +#page-content-wrapper { + min-width: 100vw; +} + +#wrapper.toggled #sidebar-wrapper { + margin-left: 0; +} + +@media (min-width: 768px) { + #sidebar-wrapper { + margin-left: 0; + } + + #page-content-wrapper { + min-width: 0; + width: 100%; + } + + #wrapper.toggled #sidebar-wrapper { + margin-left: -15rem; + } } .post_image, .comment_image { @@ -131,3 +158,56 @@ body, .dropdown-menu { #question_card { border: none; } + + +::-webkit-scrollbar { + width: 10px; +} + +::-webkit-scrollbar { + width: 8px; + height: 8px; +} + +::-webkit-scrollbar-thumb { + border-radius: 6px; + background: #c2c9d2; +} + +iframe { + display:block; + width:100%; +} + +#loader { + position: fixed; + display: none; + width: 100%; + height: 100%; + top:0; + bottom: 0; + left:0; + right: 0; + background-color: rgba(0,0,0,0.5); + z-index: 1001; /* 1001 coz sidebar is 1000. So will be on top of sidebar*/ +} + +#state1 { + position: absolute; + top: 40%; + left: 45%; + font-size: 30px; + color: white; +} + +.toast-top-center { + padding-top: 5em; +} + +.footer { + position: fixed; + z-index: 100; + bottom: 0; + width: 100%; + text-align: center; +}
\ No newline at end of file diff --git a/yaksh/static/yaksh/css/plyr.css b/yaksh/static/yaksh/css/plyr.css new file mode 100644 index 0000000..8536fb7 --- /dev/null +++ b/yaksh/static/yaksh/css/plyr.css @@ -0,0 +1 @@ +@keyframes plyr-progress{to{background-position:25px 0;background-position:var(--plyr-progress-loading-size,25px) 0}}@keyframes plyr-popup{0%{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes plyr-fade-in{from{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;direction:ltr;display:flex;flex-direction:column;font-family:inherit;font-family:var(--plyr-font-family,inherit);font-variant-numeric:tabular-nums;font-weight:400;font-weight:var(--plyr-font-weight-regular,400);height:100%;line-height:1.7;line-height:var(--plyr-line-height,1.7);max-width:100%;min-width:200px;position:relative;text-shadow:none;transition:box-shadow .3s ease;z-index:0}.plyr audio,.plyr iframe,.plyr video{display:block;height:100%;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui ::after,.plyr--full-ui ::before{box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{touch-action:manipulation}.plyr__badge{background:#4a5464;background:var(--plyr-badge-background,#4a5464);border-radius:2px;border-radius:var(--plyr-badge-border-radius,2px);color:#fff;color:var(--plyr-badge-text-color,#fff);font-size:9px;font-size:var(--plyr-font-size-badge,9px);line-height:1;padding:3px 4px}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{animation:plyr-fade-in .3s ease;bottom:0;display:none;font-size:13px;font-size:var(--plyr-font-size-small,13px);left:0;padding:10px;padding:var(--plyr-control-spacing,10px);position:absolute;text-align:center;transition:transform .4s ease-in-out;width:100%}.plyr__captions span:empty{display:none}@media (min-width:480px){.plyr__captions{font-size:15px;font-size:var(--plyr-font-size-base,15px);padding:calc(10px * 2);padding:calc(var(--plyr-control-spacing,10px) * 2)}}@media (min-width:768px){.plyr__captions{font-size:18px;font-size:var(--plyr-font-size-large,18px)}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(calc(10px * -4));transform:translateY(calc(var(--plyr-control-spacing,10px) * -4))}.plyr__caption{background:rgba(0,0,0,.8);background:var(--plyr-captions-background,rgba(0,0,0,.8));border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#fff;color:var(--plyr-captions-text-color,#fff);line-height:185%;padding:.2em .5em;white-space:pre-wrap}.plyr__caption div{display:inline}.plyr__control{background:0 0;border:0;border-radius:3px;border-radius:var(--plyr-control-radius,3px);color:inherit;cursor:pointer;flex-shrink:0;overflow:visible;padding:calc(10px * .7);padding:calc(var(--plyr-control-spacing,10px) * .7);position:relative;transition:all .3s ease}.plyr__control svg{display:block;fill:currentColor;height:18px;height:var(--plyr-control-icon-size,18px);pointer-events:none;width:18px;width:var(--plyr-control-icon-size,18px)}.plyr__control:focus{outline:0}.plyr__control.plyr__tab-focus{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}a.plyr__control{text-decoration:none}a.plyr__control::after,a.plyr__control::before{display:none}.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed{display:none}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{align-items:center;display:flex;justify-content:flex-end;text-align:center}.plyr__controls .plyr__progress__container{flex:1;min-width:0}.plyr__controls .plyr__controls__item{margin-left:calc(10px / 4);margin-left:calc(var(--plyr-control-spacing,10px)/ 4)}.plyr__controls .plyr__controls__item:first-child{margin-left:0;margin-right:auto}.plyr__controls .plyr__controls__item.plyr__progress__container{padding-left:calc(10px / 4);padding-left:calc(var(--plyr-control-spacing,10px)/ 4)}.plyr__controls .plyr__controls__item.plyr__time{padding:0 calc(10px / 2);padding:0 calc(var(--plyr-control-spacing,10px)/ 2)}.plyr__controls .plyr__controls__item.plyr__progress__container:first-child,.plyr__controls .plyr__controls__item.plyr__time+.plyr__time,.plyr__controls .plyr__controls__item.plyr__time:first-child{padding-left:0}.plyr__controls:empty{display:none}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip]{display:none}.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}.plyr__menu{display:flex;position:relative}.plyr__menu .plyr__control svg{transition:transform .3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{animation:plyr-popup .2s ease;background:rgba(255,255,255,.9);background:var(--plyr-menu-background,rgba(255,255,255,.9));border-radius:4px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-menu-shadow,0 1px 2px rgba(0,0,0,.15));color:#4a5464;color:var(--plyr-menu-color,#4a5464);font-size:15px;font-size:var(--plyr-font-size-base,15px);margin-bottom:10px;position:absolute;right:-3px;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}.plyr__menu__container::after{border:4px solid transparent;border:var(--plyr-menu-arrow-size,4px) solid transparent;border-top-color:rgba(255,255,255,.9);border-top-color:var(--plyr-menu-background,rgba(255,255,255,.9));content:'';height:0;position:absolute;right:calc(((18px / 2) + calc(10px * .7)) - (4px / 2));right:calc(((var(--plyr-control-icon-size,18px)/ 2) + calc(var(--plyr-control-spacing,10px) * .7)) - (var(--plyr-menu-arrow-size,4px)/ 2));top:100%;width:0}.plyr__menu__container [role=menu]{padding:calc(10px * .7);padding:calc(var(--plyr-control-spacing,10px) * .7)}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{align-items:center;color:#4a5464;color:var(--plyr-menu-color,#4a5464);display:flex;font-size:13px;font-size:var(--plyr-font-size-menu,var(--plyr-font-size-small,13px));padding-bottom:calc(calc(10px * .7)/ 1.5);padding-bottom:calc(calc(var(--plyr-control-spacing,10px) * .7)/ 1.5);padding-left:calc(calc(10px * .7) * 1.5);padding-left:calc(calc(var(--plyr-control-spacing,10px) * .7) * 1.5);padding-right:calc(calc(10px * .7) * 1.5);padding-right:calc(calc(var(--plyr-control-spacing,10px) * .7) * 1.5);padding-top:calc(calc(10px * .7)/ 1.5);padding-top:calc(calc(var(--plyr-control-spacing,10px) * .7)/ 1.5);-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%}.plyr__menu__container .plyr__control>span{align-items:inherit;display:flex;width:100%}.plyr__menu__container .plyr__control::after{border:4px solid transparent;border:var(--plyr-menu-item-arrow-size,4px) solid transparent;content:'';position:absolute;top:50%;transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:calc(calc(10px * .7) * 4);padding-right:calc(calc(var(--plyr-control-spacing,10px) * .7) * 4)}.plyr__menu__container .plyr__control--forward::after{border-left-color:#728197;border-left-color:var(--plyr-menu-arrow-color,#728197);right:calc((calc(10px * .7) * 1.5) - 4px);right:calc((calc(var(--plyr-control-spacing,10px) * .7) * 1.5) - var(--plyr-menu-item-arrow-size,4px))}.plyr__menu__container .plyr__control--forward.plyr__tab-focus::after,.plyr__menu__container .plyr__control--forward:hover::after{border-left-color:currentColor}.plyr__menu__container .plyr__control--back{font-weight:400;font-weight:var(--plyr-font-weight-regular,400);margin:calc(10px * .7);margin:calc(var(--plyr-control-spacing,10px) * .7);margin-bottom:calc(calc(10px * .7)/ 2);margin-bottom:calc(calc(var(--plyr-control-spacing,10px) * .7)/ 2);padding-left:calc(calc(10px * .7) * 4);padding-left:calc(calc(var(--plyr-control-spacing,10px) * .7) * 4);position:relative;width:calc(100% - (calc(10px * .7) * 2));width:calc(100% - (calc(var(--plyr-control-spacing,10px) * .7) * 2))}.plyr__menu__container .plyr__control--back::after{border-right-color:#728197;border-right-color:var(--plyr-menu-arrow-color,#728197);left:calc((calc(10px * .7) * 1.5) - 4px);left:calc((calc(var(--plyr-control-spacing,10px) * .7) * 1.5) - var(--plyr-menu-item-arrow-size,4px))}.plyr__menu__container .plyr__control--back::before{background:#dcdfe5;background:var(--plyr-menu-back-border-color,#dcdfe5);box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 var(--plyr-menu-back-border-shadow-color,#fff);content:'';height:1px;left:0;margin-top:calc(calc(10px * .7)/ 2);margin-top:calc(calc(var(--plyr-control-spacing,10px) * .7)/ 2);overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back.plyr__tab-focus::after,.plyr__menu__container .plyr__control--back:hover::after{border-right-color:currentColor}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:calc(10px * .7);padding-left:calc(var(--plyr-control-spacing,10px) * .7)}.plyr__menu__container .plyr__control[role=menuitemradio]::after,.plyr__menu__container .plyr__control[role=menuitemradio]::before{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]::before{background:rgba(0,0,0,.1);content:'';display:block;flex-shrink:0;height:16px;margin-right:10px;margin-right:var(--plyr-control-spacing,10px);transition:all .3s ease;width:16px}.plyr__menu__container .plyr__control[role=menuitemradio]::after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;transform:translateY(-50%) scale(0);transition:transform .3s ease,opacity .3s ease;width:6px}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]::before{background:#00b3ff;background:var(--plyr-control-toggle-checked-background,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)))}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]::after{opacity:1;transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio].plyr__tab-focus::before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover::before{background:rgba(35,40,47,.1)}.plyr__menu__container .plyr__menu__value{align-items:center;display:flex;margin-left:auto;margin-right:calc((calc(10px * .7) - 2) * -1);margin-right:calc((calc(var(--plyr-control-spacing,10px) * .7) - 2) * -1);overflow:hidden;padding-left:calc(calc(10px * .7) * 3.5);padding-left:calc(calc(var(--plyr-control-spacing,10px) * .7) * 3.5);pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;background:0 0;border:0;border-radius:calc(13px * 2);border-radius:calc(var(--plyr-range-thumb-height,13px) * 2);color:#00b3ff;color:var(--plyr-range-fill-background,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));display:block;height:calc((3px * 2) + 13px);height:calc((var(--plyr-range-thumb-active-shadow-width,3px) * 2) + var(--plyr-range-thumb-height,13px));margin:0;padding:0;transition:box-shadow .3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:0 0;border:0;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;height:var(--plyr-range-track-height,5px);-webkit-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-webkit-user-select:none;user-select:none;background-image:linear-gradient(to right,currentColor 0,transparent 0);background-image:linear-gradient(to right,currentColor var(--value,0),transparent var(--value,0))}.plyr--full-ui input[type=range]::-webkit-slider-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px);-webkit-appearance:none;margin-top:calc(((13px - 5px)/ 2) * -1);margin-top:calc(((var(--plyr-range-thumb-height,13px) - var(--plyr-range-track-height,5px))/ 2) * -1)}.plyr--full-ui input[type=range]::-moz-range-track{background:0 0;border:0;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;height:var(--plyr-range-track-height,5px);-moz-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);position:relative;-moz-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;height:var(--plyr-range-track-height,5px)}.plyr--full-ui input[type=range]::-ms-track{background:0 0;border:0;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-ms-user-select:none;user-select:none;color:transparent}.plyr--full-ui input[type=range]::-ms-fill-upper{background:0 0;border:0;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-ms-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:0 0;border:0;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-ms-user-select:none;user-select:none;background:currentColor}.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);position:relative;-ms-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px);margin-top:0}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}.plyr--full-ui input[type=range].plyr__tab-focus::-moz-range-track{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}.plyr--full-ui input[type=range].plyr__tab-focus::-ms-track{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}.plyr__poster{background-color:#000;background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr__time{font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__time+.plyr__time::before{content:'\2044';margin-right:10px;margin-right:var(--plyr-control-spacing,10px)}@media (max-width:calc(768px - 1)){.plyr__time+.plyr__time{display:none}}.plyr__tooltip{background:rgba(255,255,255,.9);background:var(--plyr-tooltip-background,rgba(255,255,255,.9));border-radius:3px;border-radius:var(--plyr-tooltip-radius,3px);bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px rgba(0,0,0,.15));color:#4a5464;color:var(--plyr-tooltip-color,#4a5464);font-size:13px;font-size:var(--plyr-font-size-small,13px);font-weight:400;font-weight:var(--plyr-font-weight-regular,400);left:50%;line-height:1.3;margin-bottom:calc(calc(10px / 2) * 2);margin-bottom:calc(calc(var(--plyr-control-spacing,10px)/ 2) * 2);opacity:0;padding:calc(10px / 2) calc(calc(10px / 2) * 1.5);padding:calc(var(--plyr-control-spacing,10px)/ 2) calc(calc(var(--plyr-control-spacing,10px)/ 2) * 1.5);pointer-events:none;position:absolute;transform:translate(-50%,10px) scale(.8);transform-origin:50% 100%;transition:transform .2s .1s ease,opacity .2s .1s ease;white-space:nowrap;z-index:2}.plyr__tooltip::before{border-left:4px solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:4px solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:4px solid rgba(255,255,255,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,rgba(255,255,255,.9));bottom:calc(4px * -1);bottom:calc(var(--plyr-tooltip-arrow-size,4px) * -1);content:'';height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr .plyr__control.plyr__tab-focus .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;transform:translate(-50%,0) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip{left:0;transform:translate(0,10px) scale(.8);transform-origin:0 100%}.plyr__controls>.plyr__control:first-child .plyr__tooltip::before,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip::before{left:calc((18px / 2) + calc(10px * .7));left:calc((var(--plyr-control-icon-size,18px)/ 2) + calc(var(--plyr-control-spacing,10px) * .7))}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;transform:translate(0,10px) scale(.8);transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip::before{left:auto;right:calc((18px / 2) + calc(10px * .7));right:calc((var(--plyr-control-icon-size,18px)/ 2) + calc(var(--plyr-control-spacing,10px) * .7));transform:translateX(50%)}.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{transform:translate(0,0) scale(1)}.plyr__progress{left:calc(13px * .5);left:calc(var(--plyr-range-thumb-height,13px) * .5);margin-right:13px;margin-right:var(--plyr-range-thumb-height,13px);position:relative}.plyr__progress input[type=range],.plyr__progress__buffer{margin-left:calc(13px * -.5);margin-left:calc(var(--plyr-range-thumb-height,13px) * -.5);margin-right:calc(13px * -.5);margin-right:calc(var(--plyr-range-thumb-height,13px) * -.5);width:calc(100% + 13px);width:calc(100% + var(--plyr-range-thumb-height,13px))}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px));left:0}.plyr__progress__buffer{-webkit-appearance:none;background:0 0;border:0;border-radius:100px;height:5px;height:var(--plyr-range-track-height,5px);left:0;margin-top:calc((5px / 2) * -1);margin-top:calc((var(--plyr-range-track-height,5px)/ 2) * -1);padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:0 0}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-webkit-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-moz-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:100px;-ms-transition:width .2s ease;transition:width .2s ease}.plyr--loading .plyr__progress__buffer{animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,rgba(35,40,47,.6) 25%,transparent 25%,transparent 50%,rgba(35,40,47,.6) 50%,rgba(35,40,47,.6) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 25%,transparent 25%,transparent 50%,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 50%,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 75%,transparent 75%,transparent);background-repeat:repeat-x;background-size:25px 25px;background-size:var(--plyr-progress-loading-size,25px) var(--plyr-progress-loading-size,25px);color:transparent}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-progress-buffered-background,rgba(255,255,255,.25))}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6))}.plyr__volume{align-items:center;display:flex;max-width:110px;min-width:80px;position:relative;width:20%}.plyr__volume input[type=range]{margin-left:calc(10px / 2);margin-left:calc(var(--plyr-control-spacing,10px)/ 2);margin-right:calc(10px / 2);margin-right:calc(var(--plyr-control-spacing,10px)/ 2);position:relative;z-index:2}.plyr--is-ios .plyr__volume{min-width:0;width:auto}.plyr--audio{display:block}.plyr--audio .plyr__controls{background:#fff;background:var(--plyr-audio-controls-background,#fff);border-radius:inherit;color:#4a5464;color:var(--plyr-audio-control-color,#4a5464);padding:10px;padding:var(--plyr-control-spacing,10px)}.plyr--audio .plyr__control.plyr__tab-focus,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#00b3ff;background:var(--plyr-audio-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));color:#fff;color:var(--plyr-audio-control-color-hover,#fff)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--audio .plyr__progress__buffer{color:rgba(193,200,209,.6);color:var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6))}.plyr--video{background:#000;overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:#000;height:100%;margin:auto;overflow:hidden;position:relative;width:100%}.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{height:0;padding-bottom:56.25%}.plyr__video-embed iframe,.plyr__video-wrapper--fixed-ratio video{border:0;left:0;position:absolute;top:0}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;transform:translateY(-38.28125%)}.plyr--video .plyr__controls{background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.75));background:var(--plyr-video-controls-background,linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.75)));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;color:var(--plyr-video-control-color,#fff);left:0;padding:calc(10px / 2);padding:calc(var(--plyr-control-spacing,10px)/ 2);padding-top:calc(10px * 2);padding-top:calc(var(--plyr-control-spacing,10px) * 2);position:absolute;right:0;transition:opacity .4s ease-in-out,transform .4s ease-in-out;z-index:3}@media (min-width:480px){.plyr--video .plyr__controls{padding:10px;padding:var(--plyr-control-spacing,10px);padding-top:calc(10px * 3.5);padding-top:calc(var(--plyr-control-spacing,10px) * 3.5)}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;transform:translateY(100%)}.plyr--video .plyr__control.plyr__tab-focus,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#00b3ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));color:#fff;color:var(--plyr-video-control-color-hover,#fff)}.plyr__control--overlaid{background:#00b3ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));border:0;border-radius:100%;color:#fff;color:var(--plyr-video-control-color,#fff);display:none;left:50%;opacity:.9;padding:calc(10px * 1.5);padding:calc(var(--plyr-control-spacing,10px) * 1.5);position:absolute;top:50%;transform:translate(-50%,-50%);transition:.3s;z-index:2}.plyr__control--overlaid svg{left:2px;position:relative}.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{opacity:1}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,rgba(255,255,255,.25)))}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,rgba(255,255,255,.25)))}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,rgba(255,255,255,.25)))}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(255,255,255,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(255,255,255,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(255,255,255,.5))}.plyr--video .plyr__progress__buffer{color:rgba(255,255,255,.25);color:var(--plyr-video-progress-buffered-background,rgba(255,255,255,.25))}.plyr:-webkit-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-ms-fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-webkit-full-screen video{height:100%}.plyr:-ms-fullscreen video{height:100%}.plyr:fullscreen video{height:100%}.plyr:-webkit-full-screen .plyr__video-wrapper{height:100%;position:static}.plyr:-ms-fullscreen .plyr__video-wrapper{height:100%;position:static}.plyr:fullscreen .plyr__video-wrapper{height:100%;position:static}.plyr:-webkit-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.plyr:-ms-fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.plyr:fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-webkit-full-screen.plyr--hide-controls{cursor:none}.plyr:-ms-fullscreen.plyr--hide-controls{cursor:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}.plyr:-ms-fullscreen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}.plyr:fullscreen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr:-webkit-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-webkit-full-screen video{height:100%}.plyr:-webkit-full-screen .plyr__video-wrapper{height:100%;position:static}.plyr:-webkit-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-webkit-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr:-moz-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-moz-full-screen video{height:100%}.plyr:-moz-full-screen .plyr__video-wrapper{height:100%;position:static}.plyr:-moz-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-moz-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-moz-full-screen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr:-ms-fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-ms-fullscreen video{height:100%}.plyr:-ms-fullscreen .plyr__video-wrapper{height:100%;position:static}.plyr:-ms-fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-ms-fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-ms-fullscreen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;height:100%;margin:0;width:100%;bottom:0;display:block;left:0;position:fixed;right:0;top:0;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__video-wrapper{height:100%;position:static}.plyr--fullscreen-fallback.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads::after{background:#23282f;border-radius:2px;bottom:10px;bottom:var(--plyr-control-spacing,10px);color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:10px;right:var(--plyr-control-spacing,10px);z-index:3}.plyr__ads::after:empty{display:none}.plyr__cues{background:currentColor;display:block;height:5px;height:var(--plyr-range-track-height,5px);left:0;margin:-var(--plyr-range-track-height,5px)/2 0 0;opacity:.8;position:absolute;top:50%;width:3px;z-index:3}.plyr__preview-thumb{background-color:rgba(255,255,255,.9);background-color:var(--plyr-tooltip-background,rgba(255,255,255,.9));border-radius:3px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px rgba(0,0,0,.15));margin-bottom:calc(calc(10px / 2) * 2);margin-bottom:calc(calc(var(--plyr-control-spacing,10px)/ 2) * 2);opacity:0;padding:3px;padding:var(--plyr-tooltip-radius,3px);pointer-events:none;position:absolute;transform:translate(0,10px) scale(.8);transform-origin:50% 100%;transition:transform .2s .1s ease,opacity .2s .1s ease;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;transform:translate(0,0) scale(1)}.plyr__preview-thumb::before{border-left:4px solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:4px solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:4px solid rgba(255,255,255,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,rgba(255,255,255,.9));bottom:calc(4px * -1);bottom:calc(var(--plyr-tooltip-arrow-size,4px) * -1);content:'';height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#c1c8d1;border-radius:calc(3px - 1px);border-radius:calc(var(--plyr-tooltip-radius,3px) - 1px);overflow:hidden;position:relative;z-index:0}.plyr__preview-thumb__image-container img{height:100%;left:0;max-height:none;max-width:none;position:absolute;top:0;width:100%}.plyr__preview-thumb__time-container{bottom:6px;left:0;position:absolute;right:0;white-space:nowrap;z-index:3}.plyr__preview-thumb__time-container span{background-color:rgba(0,0,0,.55);border-radius:calc(3px - 1px);border-radius:calc(var(--plyr-tooltip-radius,3px) - 1px);color:#fff;font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px));padding:3px 6px}.plyr__preview-scrubbing{bottom:0;filter:blur(1px);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .3s ease;width:100%;z-index:1}.plyr__preview-scrubbing--is-shown{opacity:1}.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{transition:none!important}.plyr__sr-only{clip:rect(1px,1px,1px,1px);overflow:hidden;border:0!important;height:1px!important;padding:0!important;position:absolute!important;width:1px!important}.plyr [hidden]{display:none!important}
\ No newline at end of file diff --git a/yaksh/static/yaksh/css/simplemde.min.css b/yaksh/static/yaksh/css/simplemde.min.css new file mode 100644 index 0000000..d62f4d7 --- /dev/null +++ b/yaksh/static/yaksh/css/simplemde.min.css @@ -0,0 +1,7 @@ +/** + * simplemde v1.11.2 + * Copyright Next Step Webs, Inc. + * @link https://github.com/NextStepWebs/simplemde-markdown-editor + * @license MIT + */ +.CodeMirror{color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:none;font-variant-ligatures:none}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected,.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0}.CodeMirror{height:auto;min-height:300px;border:1px solid #ddd;border-bottom-left-radius:4px;border-bottom-right-radius:4px;padding:10px;font:inherit;z-index:1}.CodeMirror-scroll{min-height:300px}.CodeMirror-fullscreen{background:#fff;position:fixed!important;top:50px;left:0;right:0;bottom:0;height:auto;z-index:9}.CodeMirror-sided{width:50%!important}.editor-toolbar{position:relative;opacity:.6;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;padding:0 10px;border-top:1px solid #bbb;border-left:1px solid #bbb;border-right:1px solid #bbb;border-top-left-radius:4px;border-top-right-radius:4px}.editor-toolbar:after,.editor-toolbar:before{display:block;content:' ';height:1px}.editor-toolbar:before{margin-bottom:8px}.editor-toolbar:after{margin-top:8px}.editor-toolbar:hover,.editor-wrapper input.title:focus,.editor-wrapper input.title:hover{opacity:.8}.editor-toolbar.fullscreen{width:100%;height:50px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;padding-top:10px;padding-bottom:10px;box-sizing:border-box;background:#fff;border:0;position:fixed;top:0;left:0;opacity:1;z-index:9}.editor-toolbar.fullscreen::before{width:20px;height:50px;background:-moz-linear-gradient(left,rgba(255,255,255,1) 0,rgba(255,255,255,0) 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(255,255,255,1)),color-stop(100%,rgba(255,255,255,0)));background:-webkit-linear-gradient(left,rgba(255,255,255,1) 0,rgba(255,255,255,0) 100%);background:-o-linear-gradient(left,rgba(255,255,255,1) 0,rgba(255,255,255,0) 100%);background:-ms-linear-gradient(left,rgba(255,255,255,1) 0,rgba(255,255,255,0) 100%);background:linear-gradient(to right,rgba(255,255,255,1) 0,rgba(255,255,255,0) 100%);position:fixed;top:0;left:0;margin:0;padding:0}.editor-toolbar.fullscreen::after{width:20px;height:50px;background:-moz-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(255,255,255,0)),color-stop(100%,rgba(255,255,255,1)));background:-webkit-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);background:-o-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);background:-ms-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);background:linear-gradient(to right,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);position:fixed;top:0;right:0;margin:0;padding:0}.editor-toolbar a{display:inline-block;text-align:center;text-decoration:none!important;color:#2c3e50!important;width:30px;height:30px;margin:0;border:1px solid transparent;border-radius:3px;cursor:pointer}.editor-toolbar a.active,.editor-toolbar a:hover{background:#fcfcfc;border-color:#95a5a6}.editor-toolbar a:before{line-height:30px}.editor-toolbar i.separator{display:inline-block;width:0;border-left:1px solid #d9d9d9;border-right:1px solid #fff;color:transparent;text-indent:-10px;margin:0 6px}.editor-toolbar a.fa-header-x:after{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:65%;vertical-align:text-bottom;position:relative;top:2px}.editor-toolbar a.fa-header-1:after{content:"1"}.editor-toolbar a.fa-header-2:after{content:"2"}.editor-toolbar a.fa-header-3:after{content:"3"}.editor-toolbar a.fa-header-bigger:after{content:"▲"}.editor-toolbar a.fa-header-smaller:after{content:"▼"}.editor-toolbar.disabled-for-preview a:not(.no-disable){pointer-events:none;background:#fff;border-color:transparent;text-shadow:inherit}@media only screen and (max-width:700px){.editor-toolbar a.no-mobile{display:none}}.editor-statusbar{padding:8px 10px;font-size:12px;color:#959694;text-align:right}.editor-statusbar span{display:inline-block;min-width:4em;margin-left:1em}.editor-preview,.editor-preview-side{padding:10px;background:#fafafa;overflow:auto;display:none;box-sizing:border-box}.editor-statusbar .lines:before{content:'lines: '}.editor-statusbar .words:before{content:'words: '}.editor-statusbar .characters:before{content:'characters: '}.editor-preview{position:absolute;width:100%;height:100%;top:0;left:0;z-index:7}.editor-preview-side{position:fixed;bottom:0;width:50%;top:50px;right:0;z-index:9;border:1px solid #ddd}.editor-preview-active,.editor-preview-active-side{display:block}.editor-preview-side>p,.editor-preview>p{margin-top:0}.editor-preview pre,.editor-preview-side pre{background:#eee;margin-bottom:10px}.editor-preview table td,.editor-preview table th,.editor-preview-side table td,.editor-preview-side table th{border:1px solid #ddd;padding:5px}.CodeMirror .CodeMirror-code .cm-tag{color:#63a35c}.CodeMirror .CodeMirror-code .cm-attribute{color:#795da3}.CodeMirror .CodeMirror-code .cm-string{color:#183691}.CodeMirror .CodeMirror-selected{background:#d9d9d9}.CodeMirror .CodeMirror-code .cm-header-1{font-size:200%;line-height:200%}.CodeMirror .CodeMirror-code .cm-header-2{font-size:160%;line-height:160%}.CodeMirror .CodeMirror-code .cm-header-3{font-size:125%;line-height:125%}.CodeMirror .CodeMirror-code .cm-header-4{font-size:110%;line-height:110%}.CodeMirror .CodeMirror-code .cm-comment{background:rgba(0,0,0,.05);border-radius:2px}.CodeMirror .CodeMirror-code .cm-link{color:#7f8c8d}.CodeMirror .CodeMirror-code .cm-url{color:#aab2b3}.CodeMirror .CodeMirror-code .cm-strikethrough{text-decoration:line-through}.CodeMirror .CodeMirror-placeholder{opacity:.5}.CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word){background:rgba(255,0,0,.15)}
\ No newline at end of file diff --git a/yaksh/static/yaksh/css/toastr.min.css b/yaksh/static/yaksh/css/toastr.min.css new file mode 100644 index 0000000..643135e --- /dev/null +++ b/yaksh/static/yaksh/css/toastr.min.css @@ -0,0 +1 @@ +/*
* Note that this is toastr v2.1.3, the "latest" version in url has no more maintenance,
* please go to https://cdnjs.com/libraries/toastr.js and pick a certain version you want to use,
* make sure you copy the url from the website since the url may change between versions.
* */
.toast-title{font-weight:700}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#FFF}.toast-message a:hover{color:#CCC;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#FFF;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80);line-height:1}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}.rtl .toast-close-button{left:-.3em;float:left;right:.3em}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}#toast-container{position:fixed;z-index:999999;pointer-events:none}#toast-container *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#toast-container>div{position:relative;pointer-events:auto;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;-moz-box-shadow:0 0 12px #999;-webkit-box-shadow:0 0 12px #999;box-shadow:0 0 12px #999;color:#FFF;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80)}#toast-container>div.rtl{direction:rtl;padding:15px 50px 15px 15px;background-position:right 15px center}#toast-container>div:hover{-moz-box-shadow:0 0 12px #000;-webkit-box-shadow:0 0 12px #000;box-shadow:0 0 12px #000;opacity:1;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);filter:alpha(opacity=100);cursor:pointer}#toast-container>.toast-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=)!important}#toast-container>.toast-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important}#toast-container>.toast-success{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important}#toast-container>.toast-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=)!important}#toast-container.toast-bottom-center>div,#toast-container.toast-top-center>div{width:300px;margin-left:auto;margin-right:auto}#toast-container.toast-bottom-full-width>div,#toast-container.toast-top-full-width>div{width:96%;margin-left:auto;margin-right:auto}.toast{background-color:#030303}.toast-success{background-color:#51A351}.toast-error{background-color:#BD362F}.toast-info{background-color:#2F96B4}.toast-warning{background-color:#F89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}@media all and (max-width:240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width:241px) and (max-width:480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width:481px) and (max-width:768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}#toast-container>div.rtl{padding:15px 50px 15px 15px}}
\ No newline at end of file diff --git a/yaksh/static/yaksh/js/add_course.js b/yaksh/static/yaksh/js/add_course.js new file mode 100644 index 0000000..0fba2e9 --- /dev/null +++ b/yaksh/static/yaksh/js/add_course.js @@ -0,0 +1,16 @@ +$(document).ready(function () { + $(function() { + tinymce.init({ + selector: 'textarea#id_instructions', + setup : function(ed) { + ed.on('change', function(e) { + tinymce.triggerSave(); + }); + }, + max_height: 400, + height: 400, + plugins: "image code link", + convert_urls: false + }); + }); +}); diff --git a/yaksh/static/yaksh/js/add_grades.js b/yaksh/static/yaksh/js/add_grades.js new file mode 100644 index 0000000..151fef1 --- /dev/null +++ b/yaksh/static/yaksh/js/add_grades.js @@ -0,0 +1,14 @@ +$(function() { + tinymce.init({ + selector: 'textarea#id_description', + setup : function(ed) { + ed.on('change', function(e) { + tinymce.triggerSave(); + }); + }, + max_height: 400, + height: 400, + plugins: "image code link", + convert_urls: false + }); + }); diff --git a/yaksh/static/yaksh/js/add_question.js b/yaksh/static/yaksh/js/add_question.js index 480ce51..551c611 100644 --- a/yaksh/static/yaksh/js/add_question.js +++ b/yaksh/static/yaksh/js/add_question.js @@ -144,15 +144,6 @@ function textareaformat() } }); - $('#id_file_field').on('change',function(){ - //get the file name - var files = []; - for (var i = 0; i < $(this)[0].files.length; i++) { - files.push($(this)[0].files[i].name); - } - $(this).next('.custom-file-label').html(files.join(', ')); - }); - $("#question_form").each(function(){ $(this).find('textarea').addClass("form-control"); $(this).find('input[type=number]').addClass("form-control"); @@ -195,16 +186,20 @@ $(document).ready(() => { let option = $('#id_language').val(); if(option === 'other') { $('#id_topic').closest('tr').show(); + $('#id_topic').prop("required", true); } else { + $('#id_topic').prop("required", false); $('#id_topic').closest('tr').hide(); } $('#id_language').change(function() { let value = $(this).val(); if (value === "other") { $('#id_topic').closest('tr').show(); + $('#id_topic').prop("required", true); $('#id_type').children("option[value='code']").hide(); } else { $('#id_topic').closest('tr').hide(); + $('#id_topic').prop("required", false); $('#id_type').children("option[value='code']").show(); } }); diff --git a/yaksh/static/yaksh/js/add_quiz.js b/yaksh/static/yaksh/js/add_quiz.js index dab5a3d..63468fa 100644 --- a/yaksh/static/yaksh/js/add_quiz.js +++ b/yaksh/static/yaksh/js/add_quiz.js @@ -1,18 +1,19 @@ function test() { - document.getElementById('id_duration').setAttribute('class','mini-text form-control'); document.getElementById('id_pass_criteria').setAttribute('class','mini-text form-control'); - if (document.getElementById("id_description").value != "") - { - document.getElementById("submit").innerHTML = "Save"; - } - var template = "<p id='rendered_text' align='justify'></p>"; - $(template).insertBefore("#id_instructions"); - $('#id_instructions').keypress(function (event){ - document.getElementById('rendered_text').innerHTML = document.getElementById('id_instructions').value ; + tinymce.init({ + selector: 'textarea#id_instructions', + setup : function(ed) { + ed.on('change', function(e) { + tinymce.triggerSave(); + }); + }, + max_height: 400, + height: 400, + plugins: "image code link", + convert_urls: false }); - document.getElementById('rendered_text').innerHTML = document.getElementById('id_instructions').value ; } String.prototype.beginsWith = function (string) { diff --git a/yaksh/static/yaksh/js/argon.js b/yaksh/static/yaksh/js/argon.js new file mode 100644 index 0000000..db43859 --- /dev/null +++ b/yaksh/static/yaksh/js/argon.js @@ -0,0 +1,1088 @@ + +/*! + +========================================================= +* Argon Dashboard - v1.2.0 +========================================================= + +* Product Page: https://www.creative-tim.com/product/argon-dashboard +* Copyright 2020 Creative Tim (https://www.creative-tim.com) +* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard/blob/master/LICENSE.md) + +* Coded by www.creative-tim.com + +========================================================= + +* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +*/ + + + +// +// Layout +// + +'use strict'; + +var Layout = (function() { + + function pinSidenav() { + $('.sidenav-toggler').addClass('active'); + $('.sidenav-toggler').data('action', 'sidenav-unpin'); + $('body').removeClass('g-sidenav-hidden').addClass('g-sidenav-show g-sidenav-pinned'); + $('body').append('<div class="backdrop d-xl-none" data-action="sidenav-unpin" data-target='+$('#sidenav-main').data('target')+' />'); + + // Store the sidenav state in a cookie session + Cookies.set('sidenav-state', 'pinned'); + } + + function unpinSidenav() { + $('.sidenav-toggler').removeClass('active'); + $('.sidenav-toggler').data('action', 'sidenav-pin'); + $('body').removeClass('g-sidenav-pinned').addClass('g-sidenav-hidden'); + $('body').find('.backdrop').remove(); + + // Store the sidenav state in a cookie session + Cookies.set('sidenav-state', 'unpinned'); + } + + // Set sidenav state from cookie + + var $sidenavState = Cookies.get('sidenav-state') ? Cookies.get('sidenav-state') : 'pinned'; + + if($(window).width() > 1200) { + if($sidenavState == 'pinned') { + pinSidenav() + } + + if(Cookies.get('sidenav-state') == 'unpinned') { + unpinSidenav() + } + + $(window).resize(function() { + if( $('body').hasClass('g-sidenav-show') && !$('body').hasClass('g-sidenav-pinned')) { + $('body').removeClass('g-sidenav-show').addClass('g-sidenav-hidden'); + } + }) + } + + if($(window).width() < 1200){ + $('body').removeClass('g-sidenav-hide').addClass('g-sidenav-hidden'); + $('body').removeClass('g-sidenav-show'); + $(window).resize(function() { + if( $('body').hasClass('g-sidenav-show') && !$('body').hasClass('g-sidenav-pinned')) { + $('body').removeClass('g-sidenav-show').addClass('g-sidenav-hidden'); + } + }) + } + + + + $("body").on("click", "[data-action]", function(e) { + + e.preventDefault(); + + var $this = $(this); + var action = $this.data('action'); + var target = $this.data('target'); + + + // Manage actions + + switch (action) { + case 'sidenav-pin': + pinSidenav(); + break; + + case 'sidenav-unpin': + unpinSidenav(); + break; + + case 'search-show': + target = $this.data('target'); + $('body').removeClass('g-navbar-search-show').addClass('g-navbar-search-showing'); + + setTimeout(function() { + $('body').removeClass('g-navbar-search-showing').addClass('g-navbar-search-show'); + }, 150); + + setTimeout(function() { + $('body').addClass('g-navbar-search-shown'); + }, 300) + break; + + case 'search-close': + target = $this.data('target'); + $('body').removeClass('g-navbar-search-shown'); + + setTimeout(function() { + $('body').removeClass('g-navbar-search-show').addClass('g-navbar-search-hiding'); + }, 150); + + setTimeout(function() { + $('body').removeClass('g-navbar-search-hiding').addClass('g-navbar-search-hidden'); + }, 300); + + setTimeout(function() { + $('body').removeClass('g-navbar-search-hidden'); + }, 500); + break; + } + }) + + + // Add sidenav modifier classes on mouse events + + $('.sidenav').on('mouseenter', function() { + if(! $('body').hasClass('g-sidenav-pinned')) { + $('body').removeClass('g-sidenav-hide').removeClass('g-sidenav-hidden').addClass('g-sidenav-show'); + } + }) + + $('.sidenav').on('mouseleave', function() { + if(! $('body').hasClass('g-sidenav-pinned')) { + $('body').removeClass('g-sidenav-show').addClass('g-sidenav-hide'); + + setTimeout(function() { + $('body').removeClass('g-sidenav-hide').addClass('g-sidenav-hidden'); + }, 300); + } + }) + + + // Make the body full screen size if it has not enough content inside + $(window).on('load resize', function() { + if($('body').height() < 800) { + $('body').css('min-height', '100vh'); + $('#footer-main').addClass('footer-auto-bottom') + } + }) + +})(); + +// +// Charts +// + +'use strict'; + +var Charts = (function() { + + // Variable + + var $toggle = $('[data-toggle="chart"]'); + var mode = 'light';//(themeMode) ? themeMode : 'light'; + var fonts = { + base: 'Open Sans' + } + + // Colors + var colors = { + gray: { + 100: '#f6f9fc', + 200: '#e9ecef', + 300: '#dee2e6', + 400: '#ced4da', + 500: '#adb5bd', + 600: '#8898aa', + 700: '#525f7f', + 800: '#32325d', + 900: '#212529' + }, + theme: { + 'default': '#172b4d', + 'primary': '#5e72e4', + 'secondary': '#f4f5f7', + 'info': '#11cdef', + 'success': '#2dce89', + 'danger': '#f5365c', + 'warning': '#fb6340' + }, + black: '#12263F', + white: '#FFFFFF', + transparent: 'transparent', + }; + + + // Methods + + // Chart.js global options + function chartOptions() { + + // Options + var options = { + defaults: { + global: { + responsive: true, + maintainAspectRatio: false, + defaultColor: (mode == 'dark') ? colors.gray[700] : colors.gray[600], + defaultFontColor: (mode == 'dark') ? colors.gray[700] : colors.gray[600], + defaultFontFamily: fonts.base, + defaultFontSize: 13, + layout: { + padding: 0 + }, + legend: { + display: false, + position: 'bottom', + labels: { + usePointStyle: true, + padding: 16 + } + }, + elements: { + point: { + radius: 0, + backgroundColor: colors.theme['primary'] + }, + line: { + tension: .4, + borderWidth: 4, + borderColor: colors.theme['primary'], + backgroundColor: colors.transparent, + borderCapStyle: 'rounded' + }, + rectangle: { + backgroundColor: colors.theme['warning'] + }, + arc: { + backgroundColor: colors.theme['primary'], + borderColor: (mode == 'dark') ? colors.gray[800] : colors.white, + borderWidth: 4 + } + }, + tooltips: { + enabled: true, + mode: 'index', + intersect: false, + } + }, + doughnut: { + cutoutPercentage: 83, + legendCallback: function(chart) { + var data = chart.data; + var content = ''; + + data.labels.forEach(function(label, index) { + var bgColor = data.datasets[0].backgroundColor[index]; + + content += '<span class="chart-legend-item">'; + content += '<i class="chart-legend-indicator" style="background-color: ' + bgColor + '"></i>'; + content += label; + content += '</span>'; + }); + + return content; + } + } + } + } + + // yAxes + Chart.scaleService.updateScaleDefaults('linear', { + gridLines: { + borderDash: [2], + borderDashOffset: [2], + color: (mode == 'dark') ? colors.gray[900] : colors.gray[300], + drawBorder: false, + drawTicks: false, + drawOnChartArea: true, + zeroLineWidth: 0, + zeroLineColor: 'rgba(0,0,0,0)', + zeroLineBorderDash: [2], + zeroLineBorderDashOffset: [2] + }, + ticks: { + beginAtZero: true, + padding: 10, + callback: function(value) { + if (!(value % 10)) { + return value + } + } + } + }); + + // xAxes + Chart.scaleService.updateScaleDefaults('category', { + gridLines: { + drawBorder: false, + drawOnChartArea: false, + drawTicks: false + }, + ticks: { + padding: 20 + }, + maxBarThickness: 10 + }); + + return options; + + } + + // Parse global options + function parseOptions(parent, options) { + for (var item in options) { + if (typeof options[item] !== 'object') { + parent[item] = options[item]; + } else { + parseOptions(parent[item], options[item]); + } + } + } + + // Push options + function pushOptions(parent, options) { + for (var item in options) { + if (Array.isArray(options[item])) { + options[item].forEach(function(data) { + parent[item].push(data); + }); + } else { + pushOptions(parent[item], options[item]); + } + } + } + + // Pop options + function popOptions(parent, options) { + for (var item in options) { + if (Array.isArray(options[item])) { + options[item].forEach(function(data) { + parent[item].pop(); + }); + } else { + popOptions(parent[item], options[item]); + } + } + } + + // Toggle options + function toggleOptions(elem) { + var options = elem.data('add'); + var $target = $(elem.data('target')); + var $chart = $target.data('chart'); + + if (elem.is(':checked')) { + + // Add options + pushOptions($chart, options); + + // Update chart + $chart.update(); + } else { + + // Remove options + popOptions($chart, options); + + // Update chart + $chart.update(); + } + } + + // Update options + function updateOptions(elem) { + var options = elem.data('update'); + var $target = $(elem.data('target')); + var $chart = $target.data('chart'); + + // Parse options + parseOptions($chart, options); + + // Toggle ticks + toggleTicks(elem, $chart); + + // Update chart + $chart.update(); + } + + // Toggle ticks + function toggleTicks(elem, $chart) { + + if (elem.data('prefix') !== undefined || elem.data('prefix') !== undefined) { + var prefix = elem.data('prefix') ? elem.data('prefix') : ''; + var suffix = elem.data('suffix') ? elem.data('suffix') : ''; + + // Update ticks + $chart.options.scales.yAxes[0].ticks.callback = function(value) { + if (!(value % 10)) { + return prefix + value + suffix; + } + } + + // Update tooltips + $chart.options.tooltips.callbacks.label = function(item, data) { + var label = data.datasets[item.datasetIndex].label || ''; + var yLabel = item.yLabel; + var content = ''; + + if (data.datasets.length > 1) { + content += '<span class="popover-body-label mr-auto">' + label + '</span>'; + } + + content += '<span class="popover-body-value">' + prefix + yLabel + suffix + '</span>'; + return content; + } + + } + } + + + // Events + + // Parse global options + if (window.Chart) { + parseOptions(Chart, chartOptions()); + } + + // Toggle options + $toggle.on({ + 'change': function() { + var $this = $(this); + + if ($this.is('[data-add]')) { + toggleOptions($this); + } + }, + 'click': function() { + var $this = $(this); + + if ($this.is('[data-update]')) { + updateOptions($this); + } + } + }); + + + // Return + + return { + colors: colors, + fonts: fonts, + mode: mode + }; + +})(); + +// +// Icon code copy/paste +// + +'use strict'; + +var CopyIcon = (function() { + + // Variables + + var $element = '.btn-icon-clipboard', + $btn = $($element); + + + // Methods + + function init($this) { + $this.tooltip().on('mouseleave', function() { + // Explicitly hide tooltip, since after clicking it remains + // focused (as it's a button), so tooltip would otherwise + // remain visible until focus is moved away + $this.tooltip('hide'); + }); + + var clipboard = new ClipboardJS($element); + + clipboard.on('success', function(e) { + $(e.trigger) + .attr('title', 'Copied!') + .tooltip('_fixTitle') + .tooltip('show') + .attr('title', 'Copy to clipboard') + .tooltip('_fixTitle') + + e.clearSelection() + }); + } + + + // Events + if ($btn.length) { + init($btn); + } + +})(); + +// +// Navbar +// + +'use strict'; + +var Navbar = (function() { + + // Variables + + var $nav = $('.navbar-nav, .navbar-nav .nav'); + var $collapse = $('.navbar .collapse'); + var $dropdown = $('.navbar .dropdown'); + + // Methods + + function accordion($this) { + $this.closest($nav).find($collapse).not($this).collapse('hide'); + } + + function closeDropdown($this) { + var $dropdownMenu = $this.find('.dropdown-menu'); + + $dropdownMenu.addClass('close'); + + setTimeout(function() { + $dropdownMenu.removeClass('close'); + }, 200); + } + + + // Events + + $collapse.on({ + 'show.bs.collapse': function() { + accordion($(this)); + } + }) + + $dropdown.on({ + 'hide.bs.dropdown': function() { + closeDropdown($(this)); + } + }) + +})(); + + +// +// Navbar collapse +// + + +var NavbarCollapse = (function() { + + // Variables + + var $nav = $('.navbar-nav'), + $collapse = $('.navbar .navbar-custom-collapse'); + + + // Methods + + function hideNavbarCollapse($this) { + $this.addClass('collapsing-out'); + } + + function hiddenNavbarCollapse($this) { + $this.removeClass('collapsing-out'); + } + + + // Events + + if ($collapse.length) { + $collapse.on({ + 'hide.bs.collapse': function() { + hideNavbarCollapse($collapse); + } + }) + + $collapse.on({ + 'hidden.bs.collapse': function() { + hiddenNavbarCollapse($collapse); + } + }) + } + + var navbar_menu_visible = 0; + + $( ".sidenav-toggler" ).click(function() { + if(navbar_menu_visible == 1){ + $('body').removeClass('nav-open'); + navbar_menu_visible = 0; + $('.bodyClick').remove(); + + } else { + + var div = '<div class="bodyClick"></div>'; + $(div).appendTo('body').click(function() { + $('body').removeClass('nav-open'); + navbar_menu_visible = 0; + $('.bodyClick').remove(); + + }); + + $('body').addClass('nav-open'); + navbar_menu_visible = 1; + + } + + }); + +})(); + +// +// Popover +// + +'use strict'; + +var Popover = (function() { + + // Variables + + var $popover = $('[data-toggle="popover"]'), + $popoverClass = ''; + + + // Methods + + function init($this) { + if ($this.data('color')) { + $popoverClass = 'popover-' + $this.data('color'); + } + + var options = { + trigger: 'focus', + template: '<div class="popover ' + $popoverClass + '" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>' + }; + + $this.popover(options); + } + + + // Events + + if ($popover.length) { + $popover.each(function() { + init($(this)); + }); + } + +})(); + +// +// Scroll to (anchor links) +// + +'use strict'; + +var ScrollTo = (function() { + + // + // Variables + // + + var $scrollTo = $('.scroll-me, [data-scroll-to], .toc-entry a'); + + + // + // Methods + // + + function scrollTo($this) { + var $el = $this.attr('href'); + var offset = $this.data('scroll-to-offset') ? $this.data('scroll-to-offset') : 0; + var options = { + scrollTop: $($el).offset().top - offset + }; + + // Animate scroll to the selected section + $('html, body').stop(true, true).animate(options, 600); + + event.preventDefault(); + } + + + // + // Events + // + + if ($scrollTo.length) { + $scrollTo.on('click', function(event) { + scrollTo($(this)); + }); + } + +})(); + +// +// Tooltip +// + +'use strict'; + +var Tooltip = (function() { + + // Variables + + var $tooltip = $('[data-toggle="tooltip"]'); + + + // Methods + + function init() { + $tooltip.tooltip(); + } + + + // Events + + if ($tooltip.length) { + init(); + } + +})(); + +// +// Form control +// + +'use strict'; + +var FormControl = (function() { + + // Variables + + var $input = $('.form-control'); + + + // Methods + + function init($this) { + $this.on('focus blur', function(e) { + $(this).parents('.form-group').toggleClass('focused', (e.type === 'focus')); + }).trigger('blur'); + } + + + // Events + + if ($input.length) { + init($input); + } + +})(); + +// +// Google maps +// + +var $map = $('#map-default'), + map, + lat, + lng, + color = "#5e72e4"; + +function initMap() { + + map = document.getElementById('map-default'); + lat = map.getAttribute('data-lat'); + lng = map.getAttribute('data-lng'); + + var myLatlng = new google.maps.LatLng(lat, lng); + var mapOptions = { + zoom: 12, + scrollwheel: false, + center: myLatlng, + mapTypeId: google.maps.MapTypeId.ROADMAP, + } + + map = new google.maps.Map(map, mapOptions); + + var marker = new google.maps.Marker({ + position: myLatlng, + map: map, + animation: google.maps.Animation.DROP, + title: 'Hello World!' + }); + + var contentString = '<div class="info-window-content"><h2>Argon Dashboard</h2>' + + '<p>A beautiful Dashboard for Bootstrap 4. It is Free and Open Source.</p></div>'; + + var infowindow = new google.maps.InfoWindow({ + content: contentString + }); + + google.maps.event.addListener(marker, 'click', function() { + infowindow.open(map, marker); + }); +} + +if($map.length) { + google.maps.event.addDomListener(window, 'load', initMap); +} + +// +// Bars chart +// + +var BarsChart = (function() { + + // + // Variables + // + + var $chart = $('#chart-bars'); + + + // + // Methods + // + + // Init chart + function initChart($chart) { + + // Create chart + var ordersChart = new Chart($chart, { + type: 'bar', + data: { + labels: ['Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + datasets: [{ + label: 'Sales', + data: [25, 20, 30, 22, 17, 29] + }] + } + }); + + // Save to jQuery object + $chart.data('chart', ordersChart); + } + + + // Init chart + if ($chart.length) { + initChart($chart); + } + +})(); + +'use strict'; + +// +// Sales chart +// + +var SalesChart = (function() { + + // Variables + + var $chart = $('#chart-sales-dark'); + + + // Methods + + function init($chart) { + + var salesChart = new Chart($chart, { + type: 'line', + options: { + scales: { + yAxes: [{ + gridLines: { + lineWidth: 1, + color: Charts.colors.gray[900], + zeroLineColor: Charts.colors.gray[900] + }, + ticks: { + callback: function(value) { + if (!(value % 10)) { + return '$' + value + 'k'; + } + } + } + }] + }, + tooltips: { + callbacks: { + label: function(item, data) { + var label = data.datasets[item.datasetIndex].label || ''; + var yLabel = item.yLabel; + var content = ''; + + if (data.datasets.length > 1) { + content += '<span class="popover-body-label mr-auto">' + label + '</span>'; + } + + content += '<span class="popover-body-value">$' + yLabel + 'k</span>'; + return content; + } + } + } + }, + data: { + labels: ['May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + datasets: [{ + label: 'Performance', + data: [0, 20, 10, 30, 15, 40, 20, 60, 60] + }] + } + }); + + // Save to jQuery object + + $chart.data('chart', salesChart); + + }; + + + // Events + + if ($chart.length) { + init($chart); + } + +})(); + +// +// Bootstrap Datepicker +// + +'use strict'; + +var Datepicker = (function() { + + // Variables + + var $datepicker = $('.datepicker'); + + + // Methods + + function init($this) { + var options = { + disableTouchKeyboard: true, + autoclose: false + }; + + $this.datepicker(options); + } + + + // Events + + if ($datepicker.length) { + $datepicker.each(function() { + init($(this)); + }); + } + +})(); + +// +// Form control +// + +'use strict'; + +var noUiSlider = (function() { + + // Variables + + // var $sliderContainer = $('.input-slider-container'), + // $slider = $('.input-slider'), + // $sliderId = $slider.attr('id'), + // $sliderMinValue = $slider.data('range-value-min'); + // $sliderMaxValue = $slider.data('range-value-max');; + + + // // Methods + // + // function init($this) { + // $this.on('focus blur', function(e) { + // $this.parents('.form-group').toggleClass('focused', (e.type === 'focus' || this.value.length > 0)); + // }).trigger('blur'); + // } + // + // + // // Events + // + // if ($input.length) { + // init($input); + // } + + + + if ($(".input-slider-container")[0]) { + $('.input-slider-container').each(function() { + + var slider = $(this).find('.input-slider'); + var sliderId = slider.attr('id'); + var minValue = slider.data('range-value-min'); + var maxValue = slider.data('range-value-max'); + + var sliderValue = $(this).find('.range-slider-value'); + var sliderValueId = sliderValue.attr('id'); + var startValue = sliderValue.data('range-value-low'); + + var c = document.getElementById(sliderId), + d = document.getElementById(sliderValueId); + + noUiSlider.create(c, { + start: [parseInt(startValue)], + connect: [true, false], + //step: 1000, + range: { + 'min': [parseInt(minValue)], + 'max': [parseInt(maxValue)] + } + }); + + c.noUiSlider.on('update', function(a, b) { + d.textContent = a[b]; + }); + }) + } + + if ($("#input-slider-range")[0]) { + var c = document.getElementById("input-slider-range"), + d = document.getElementById("input-slider-range-value-low"), + e = document.getElementById("input-slider-range-value-high"), + f = [d, e]; + + noUiSlider.create(c, { + start: [parseInt(d.getAttribute('data-range-value-low')), parseInt(e.getAttribute('data-range-value-high'))], + connect: !0, + range: { + min: parseInt(c.getAttribute('data-range-value-min')), + max: parseInt(c.getAttribute('data-range-value-max')) + } + }), c.noUiSlider.on("update", function(a, b) { + f[b].textContent = a[b] + }) + } + +})(); + +// +// Scrollbar +// + +'use strict'; + +var Scrollbar = (function() { + + // Variables + + var $scrollbar = $('.scrollbar-inner'); + + + // Methods + + function init() { + $scrollbar.scrollbar().scrollLock() + } + + + // Events + + if ($scrollbar.length) { + init(); + } + +})(); diff --git a/yaksh/static/yaksh/js/argon.min.js b/yaksh/static/yaksh/js/argon.min.js new file mode 100644 index 0000000..8aefe57 --- /dev/null +++ b/yaksh/static/yaksh/js/argon.min.js @@ -0,0 +1,18 @@ +/*! + +========================================================= +* Argon Dashboard - v1.2.0 +========================================================= + +* Product Page: https://www.creative-tim.com/product/argon-dashboard +* Copyright 2020 Creative Tim (https://www.creative-tim.com) +* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard/blob/master/LICENSE.md) + +* Coded by www.creative-tim.com + +========================================================= + +* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +*/ +"use strict";var map,lat,lng,Layout=function(){function a(){$(".sidenav-toggler").addClass("active"),$(".sidenav-toggler").data("action","sidenav-unpin"),$("body").removeClass("g-sidenav-hidden").addClass("g-sidenav-show g-sidenav-pinned"),$("body").append('<div class="backdrop d-xl-none" data-action="sidenav-unpin" data-target='+$("#sidenav-main").data("target")+" />"),Cookies.set("sidenav-state","pinned")}function e(){$(".sidenav-toggler").removeClass("active"),$(".sidenav-toggler").data("action","sidenav-pin"),$("body").removeClass("g-sidenav-pinned").addClass("g-sidenav-hidden"),$("body").find(".backdrop").remove(),Cookies.set("sidenav-state","unpinned")}var n=Cookies.get("sidenav-state")?Cookies.get("sidenav-state"):"pinned";$(window).width()>1200&&("pinned"==n&&a(),"unpinned"==Cookies.get("sidenav-state")&&e(),$(window).resize(function(){$("body").hasClass("g-sidenav-show")&&!$("body").hasClass("g-sidenav-pinned")&&$("body").removeClass("g-sidenav-show").addClass("g-sidenav-hidden")})),$(window).width()<1200&&($("body").removeClass("g-sidenav-hide").addClass("g-sidenav-hidden"),$("body").removeClass("g-sidenav-show"),$(window).resize(function(){$("body").hasClass("g-sidenav-show")&&!$("body").hasClass("g-sidenav-pinned")&&$("body").removeClass("g-sidenav-show").addClass("g-sidenav-hidden")})),$("body").on("click","[data-action]",function(n){n.preventDefault();var t=$(this),o=t.data("action");t.data("target");switch(o){case"sidenav-pin":a();break;case"sidenav-unpin":e();break;case"search-show":t.data("target"),$("body").removeClass("g-navbar-search-show").addClass("g-navbar-search-showing"),setTimeout(function(){$("body").removeClass("g-navbar-search-showing").addClass("g-navbar-search-show")},150),setTimeout(function(){$("body").addClass("g-navbar-search-shown")},300);break;case"search-close":t.data("target"),$("body").removeClass("g-navbar-search-shown"),setTimeout(function(){$("body").removeClass("g-navbar-search-show").addClass("g-navbar-search-hiding")},150),setTimeout(function(){$("body").removeClass("g-navbar-search-hiding").addClass("g-navbar-search-hidden")},300),setTimeout(function(){$("body").removeClass("g-navbar-search-hidden")},500)}}),$(".sidenav").on("mouseenter",function(){$("body").hasClass("g-sidenav-pinned")||$("body").removeClass("g-sidenav-hide").removeClass("g-sidenav-hidden").addClass("g-sidenav-show")}),$(".sidenav").on("mouseleave",function(){$("body").hasClass("g-sidenav-pinned")||($("body").removeClass("g-sidenav-show").addClass("g-sidenav-hide"),setTimeout(function(){$("body").removeClass("g-sidenav-hide").addClass("g-sidenav-hidden")},300))}),$(window).on("load resize",function(){$("body").height()<800&&($("body").css("min-height","100vh"),$("#footer-main").addClass("footer-auto-bottom"))})}(),Charts=function(){var a,e=$('[data-toggle="chart"]'),n="light",t={base:"Open Sans"},o={gray:{100:"#f6f9fc",200:"#e9ecef",300:"#dee2e6",400:"#ced4da",500:"#adb5bd",600:"#8898aa",700:"#525f7f",800:"#32325d",900:"#212529"},theme:{default:"#172b4d",primary:"#5e72e4",secondary:"#f4f5f7",info:"#11cdef",success:"#2dce89",danger:"#f5365c",warning:"#fb6340"},black:"#12263F",white:"#FFFFFF",transparent:"transparent"};function s(a,e){for(var n in e)"object"!=typeof e[n]?a[n]=e[n]:s(a[n],e[n])}function r(a){var e=a.data("add"),n=$(a.data("target")).data("chart");a.is(":checked")?(!function a(e,n){for(var t in n)Array.isArray(n[t])?n[t].forEach(function(a){e[t].push(a)}):a(e[t],n[t])}(n,e),n.update()):(!function a(e,n){for(var t in n)Array.isArray(n[t])?n[t].forEach(function(a){e[t].pop()}):a(e[t],n[t])}(n,e),n.update())}function i(a){var e=a.data("update"),n=$(a.data("target")).data("chart");s(n,e),function(a,e){if(void 0!==a.data("prefix")||void 0!==a.data("prefix")){var n=a.data("prefix")?a.data("prefix"):"",t=a.data("suffix")?a.data("suffix"):"";e.options.scales.yAxes[0].ticks.callback=function(a){if(!(a%10))return n+a+t},e.options.tooltips.callbacks.label=function(a,e){var o=e.datasets[a.datasetIndex].label||"",s=a.yLabel,r="";return e.datasets.length>1&&(r+='<span class="popover-body-label mr-auto">'+o+"</span>"),r+='<span class="popover-body-value">'+n+s+t+"</span>"}}}(a,n),n.update()}return window.Chart&&s(Chart,(a={defaults:{global:{responsive:!0,maintainAspectRatio:!1,defaultColor:"dark"==n?o.gray[700]:o.gray[600],defaultFontColor:"dark"==n?o.gray[700]:o.gray[600],defaultFontFamily:t.base,defaultFontSize:13,layout:{padding:0},legend:{display:!1,position:"bottom",labels:{usePointStyle:!0,padding:16}},elements:{point:{radius:0,backgroundColor:o.theme.primary},line:{tension:.4,borderWidth:4,borderColor:o.theme.primary,backgroundColor:o.transparent,borderCapStyle:"rounded"},rectangle:{backgroundColor:o.theme.warning},arc:{backgroundColor:o.theme.primary,borderColor:"dark"==n?o.gray[800]:o.white,borderWidth:4}},tooltips:{enabled:!0,mode:"index",intersect:!1}},doughnut:{cutoutPercentage:83,legendCallback:function(a){var e=a.data,n="";return e.labels.forEach(function(a,t){var o=e.datasets[0].backgroundColor[t];n+='<span class="chart-legend-item">',n+='<i class="chart-legend-indicator" style="background-color: '+o+'"></i>',n+=a,n+="</span>"}),n}}}},Chart.scaleService.updateScaleDefaults("linear",{gridLines:{borderDash:[2],borderDashOffset:[2],color:"dark"==n?o.gray[900]:o.gray[300],drawBorder:!1,drawTicks:!1,drawOnChartArea:!0,zeroLineWidth:0,zeroLineColor:"rgba(0,0,0,0)",zeroLineBorderDash:[2],zeroLineBorderDashOffset:[2]},ticks:{beginAtZero:!0,padding:10,callback:function(a){if(!(a%10))return a}}}),Chart.scaleService.updateScaleDefaults("category",{gridLines:{drawBorder:!1,drawOnChartArea:!1,drawTicks:!1},ticks:{padding:20},maxBarThickness:10}),a)),e.on({change:function(){var a=$(this);a.is("[data-add]")&&r(a)},click:function(){var a=$(this);a.is("[data-update]")&&i(a)}}),{colors:o,fonts:t,mode:n}}(),CopyIcon=function(){var a,e=".btn-icon-clipboard",n=$(e);n.length&&((a=n).tooltip().on("mouseleave",function(){a.tooltip("hide")}),new ClipboardJS(e).on("success",function(a){$(a.trigger).attr("title","Copied!").tooltip("_fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("_fixTitle"),a.clearSelection()}))}(),Navbar=function(){var a=$(".navbar-nav, .navbar-nav .nav"),e=$(".navbar .collapse"),n=$(".navbar .dropdown");e.on({"show.bs.collapse":function(){var n;(n=$(this)).closest(a).find(e).not(n).collapse("hide")}}),n.on({"hide.bs.dropdown":function(){var a,e;a=$(this),(e=a.find(".dropdown-menu")).addClass("close"),setTimeout(function(){e.removeClass("close")},200)}})}(),NavbarCollapse=function(){$(".navbar-nav");var a=$(".navbar .navbar-custom-collapse");a.length&&(a.on({"hide.bs.collapse":function(){a.addClass("collapsing-out")}}),a.on({"hidden.bs.collapse":function(){a.removeClass("collapsing-out")}}));var e=0;$(".sidenav-toggler").click(function(){if(1==e)$("body").removeClass("nav-open"),e=0,$(".bodyClick").remove();else{$('<div class="bodyClick"></div>').appendTo("body").click(function(){$("body").removeClass("nav-open"),e=0,$(".bodyClick").remove()}),$("body").addClass("nav-open"),e=1}})}(),Popover=function(){var a=$('[data-toggle="popover"]'),e="";a.length&&a.each(function(){!function(a){a.data("color")&&(e="popover-"+a.data("color"));var n={trigger:"focus",template:'<div class="popover '+e+'" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'};a.popover(n)}($(this))})}(),ScrollTo=function(){var a=$(".scroll-me, [data-scroll-to], .toc-entry a");function e(a){var e=a.attr("href"),n=a.data("scroll-to-offset")?a.data("scroll-to-offset"):0,t={scrollTop:$(e).offset().top-n};$("html, body").stop(!0,!0).animate(t,600),event.preventDefault()}a.length&&a.on("click",function(a){e($(this))})}(),Tooltip=function(){var a=$('[data-toggle="tooltip"]');a.length&&a.tooltip()}(),FormControl=function(){var a=$(".form-control");a.length&&a.on("focus blur",function(a){$(this).parents(".form-group").toggleClass("focused","focus"===a.type)}).trigger("blur")}(),$map=$("#map-default"),color="#5e72e4";function initMap(){map=document.getElementById("map-default"),lat=map.getAttribute("data-lat"),lng=map.getAttribute("data-lng");var a=new google.maps.LatLng(lat,lng),e={zoom:12,scrollwheel:!1,center:a,mapTypeId:google.maps.MapTypeId.ROADMAP};map=new google.maps.Map(map,e);var n=new google.maps.Marker({position:a,map:map,animation:google.maps.Animation.DROP,title:"Hello World!"}),t=new google.maps.InfoWindow({content:'<div class="info-window-content"><h2>Argon Dashboard</h2><p>A beautiful Dashboard for Bootstrap 4. It is Free and Open Source.</p></div>'});google.maps.event.addListener(n,"click",function(){t.open(map,n)})}$map.length&&google.maps.event.addDomListener(window,"load",initMap);var BarsChart=function(){var a=$("#chart-bars");a.length&&function(a){var e=new Chart(a,{type:"bar",data:{labels:["Jul","Aug","Sep","Oct","Nov","Dec"],datasets:[{label:"Sales",data:[25,20,30,22,17,29]}]}});a.data("chart",e)}(a)}(),SalesChart=function(){var a=$("#chart-sales-dark");a.length&&function(a){var e=new Chart(a,{type:"line",options:{scales:{yAxes:[{gridLines:{lineWidth:1,color:Charts.colors.gray[900],zeroLineColor:Charts.colors.gray[900]},ticks:{callback:function(a){if(!(a%10))return"$"+a+"k"}}}]},tooltips:{callbacks:{label:function(a,e){var n=e.datasets[a.datasetIndex].label||"",t=a.yLabel,o="";return e.datasets.length>1&&(o+='<span class="popover-body-label mr-auto">'+n+"</span>"),o+='<span class="popover-body-value">$'+t+"k</span>"}}}},data:{labels:["May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],datasets:[{label:"Performance",data:[0,20,10,30,15,40,20,60,60]}]}});a.data("chart",e)}(a)}(),Datepicker=function(){var a=$(".datepicker");a.length&&a.each(function(){$(this).datepicker({disableTouchKeyboard:!0,autoclose:!1})})}(),noUiSlider=function(){if($(".input-slider-container")[0]&&$(".input-slider-container").each(function(){var a=$(this).find(".input-slider"),e=a.attr("id"),n=a.data("range-value-min"),t=a.data("range-value-max"),o=$(this).find(".range-slider-value"),s=o.attr("id"),r=o.data("range-value-low"),i=document.getElementById(e),d=document.getElementById(s);noUiSlider.create(i,{start:[parseInt(r)],connect:[!0,!1],range:{min:[parseInt(n)],max:[parseInt(t)]}}),i.noUiSlider.on("update",function(a,e){d.textContent=a[e]})}),$("#input-slider-range")[0]){var a=document.getElementById("input-slider-range"),e=document.getElementById("input-slider-range-value-low"),n=document.getElementById("input-slider-range-value-high"),t=[e,n];noUiSlider.create(a,{start:[parseInt(e.getAttribute("data-range-value-low")),parseInt(n.getAttribute("data-range-value-high"))],connect:!0,range:{min:parseInt(a.getAttribute("data-range-value-min")),max:parseInt(a.getAttribute("data-range-value-max"))}}),a.noUiSlider.on("update",function(a,e){t[e].textContent=a[e]})}}(),Scrollbar=function(){var a=$(".scrollbar-inner");a.length&&a.scrollbar().scrollLock()}();
\ No newline at end of file diff --git a/yaksh/static/yaksh/js/course.js b/yaksh/static/yaksh/js/course.js index d469af4..9daf5e5 100644 --- a/yaksh/static/yaksh/js/course.js +++ b/yaksh/static/yaksh/js/course.js @@ -90,8 +90,9 @@ $(document).ready(function(){ course_id = data.split("+")[0];
student_id = data.split("+")[1];
var status_div = $("#show_status_"+course_id+"_"+student_id);
- if(!status_div.is(":visible")){
+ if(!status_div.is(":visible")) {
var get_url = $("#url-"+student_id).attr("data-url");
+ lock_screen();
$.ajax({
url: get_url,
timeout: 8000,
@@ -99,10 +100,12 @@ $(document).ready(function(){ dataType: "json",
contentType: 'application/json; charset=utf-8',
success: function(data) {
+ unlock_screen();
status_div.toggle();
status_div.html(data.user_data);
},
error: function(jqXHR, textStatus) {
+ unlock_screen();
alert("Unable to get user data. Please Try again later.");
}
});
@@ -130,3 +133,11 @@ $(document).ready(function(){ });
}); // end document ready
+
+function lock_screen() {
+ document.getElementById("loader").style.display = "block";
+}
+
+function unlock_screen() {
+ document.getElementById("loader").style.display = "none";
+}
diff --git a/yaksh/static/yaksh/js/js.cookie.js b/yaksh/static/yaksh/js/js.cookie.js new file mode 100644 index 0000000..9a0945e --- /dev/null +++ b/yaksh/static/yaksh/js/js.cookie.js @@ -0,0 +1,165 @@ +/*! + * JavaScript Cookie v2.2.0 + * https://github.com/js-cookie/js-cookie + * + * Copyright 2006, 2015 Klaus Hartl & Fagner Brack + * Released under the MIT license + */ +;(function (factory) { + var registeredInModuleLoader = false; + if (typeof define === 'function' && define.amd) { + define(factory); + registeredInModuleLoader = true; + } + if (typeof exports === 'object') { + module.exports = factory(); + registeredInModuleLoader = true; + } + if (!registeredInModuleLoader) { + var OldCookies = window.Cookies; + var api = window.Cookies = factory(); + api.noConflict = function () { + window.Cookies = OldCookies; + return api; + }; + } +}(function () { + function extend () { + var i = 0; + var result = {}; + for (; i < arguments.length; i++) { + var attributes = arguments[ i ]; + for (var key in attributes) { + result[key] = attributes[key]; + } + } + return result; + } + + function init (converter) { + function api (key, value, attributes) { + var result; + if (typeof document === 'undefined') { + return; + } + + // Write + + if (arguments.length > 1) { + attributes = extend({ + path: '/' + }, api.defaults, attributes); + + if (typeof attributes.expires === 'number') { + var expires = new Date(); + expires.setMilliseconds(expires.getMilliseconds() + attributes.expires * 864e+5); + attributes.expires = expires; + } + + // We're using "expires" because "max-age" is not supported by IE + attributes.expires = attributes.expires ? attributes.expires.toUTCString() : ''; + + try { + result = JSON.stringify(value); + if (/^[\{\[]/.test(result)) { + value = result; + } + } catch (e) {} + + if (!converter.write) { + value = encodeURIComponent(String(value)) + .replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent); + } else { + value = converter.write(value, key); + } + + key = encodeURIComponent(String(key)); + key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent); + key = key.replace(/[\(\)]/g, escape); + + var stringifiedAttributes = ''; + + for (var attributeName in attributes) { + if (!attributes[attributeName]) { + continue; + } + stringifiedAttributes += '; ' + attributeName; + if (attributes[attributeName] === true) { + continue; + } + stringifiedAttributes += '=' + attributes[attributeName]; + } + return (document.cookie = key + '=' + value + stringifiedAttributes); + } + + // Read + + if (!key) { + result = {}; + } + + // To prevent the for loop in the first place assign an empty array + // in case there are no cookies at all. Also prevents odd result when + // calling "get()" + var cookies = document.cookie ? document.cookie.split('; ') : []; + var rdecode = /(%[0-9A-Z]{2})+/g; + var i = 0; + + for (; i < cookies.length; i++) { + var parts = cookies[i].split('='); + var cookie = parts.slice(1).join('='); + + if (!this.json && cookie.charAt(0) === '"') { + cookie = cookie.slice(1, -1); + } + + try { + var name = parts[0].replace(rdecode, decodeURIComponent); + cookie = converter.read ? + converter.read(cookie, name) : converter(cookie, name) || + cookie.replace(rdecode, decodeURIComponent); + + if (this.json) { + try { + cookie = JSON.parse(cookie); + } catch (e) {} + } + + if (key === name) { + result = cookie; + break; + } + + if (!key) { + result[name] = cookie; + } + } catch (e) {} + } + + return result; + } + + api.set = api; + api.get = function (key) { + return api.call(api, key); + }; + api.getJSON = function () { + return api.apply({ + json: true + }, [].slice.call(arguments)); + }; + api.defaults = {}; + + api.remove = function (key, attributes) { + api(key, '', extend(attributes, { + expires: -1 + })); + }; + + api.withConverter = init; + + return api; + } + + return init(function () {}); +})); diff --git a/yaksh/static/yaksh/js/lesson.js b/yaksh/static/yaksh/js/lesson.js index 55d4846..d562197 100644 --- a/yaksh/static/yaksh/js/lesson.js +++ b/yaksh/static/yaksh/js/lesson.js @@ -1,82 +1,91 @@ -$(document).ready(function(){ - var csrftoken = jQuery("[name=csrfmiddlewaretoken]").val(); - - function csrfSafeMethod(method) { - // These HTTP methods do not require CSRF protection - return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method)); - } - $.ajaxSetup({ - beforeSend: function(xhr, settings) { - if (!csrfSafeMethod(settings.type) && !this.crossDomain) { - xhr.setRequestHeader("X-CSRFToken", csrftoken); +$(document).ready(function() { + var simplemde = new SimpleMDE({ + element: document.getElementById("id_description"), + forceSync: true, + hideIcons: ["preview", "side-by-side", "fullscreen"] + }); + simplemde.codemirror.on("change", function() { + $("#description_body").html(simplemde.markdown(simplemde.value())); + renderMathInElement( + document.body, + { + delimiters: [ + {left: "$$", right: "$$", display: true}, + {left: "$", right: "$", display: false}, + ] + } + ); + }); + var completion_msg = "Add Youtube and Vimeo video ID, for Others add "+ + "video file url e.g https://example.com/video.mp4" + $("#video_msg").attr("title", completion_msg); + $("#video_msg").tooltip(); + $("#submit-lesson").click(function() { + var video_option = $("#id_video_option").val(); + var video_url = $("#id_video_url").val(); + if(video_option != "---") { + if(!video_url.trim()) { + $('#id_video_url').prop('required', true); + } + else { + $("#id_video_path").val("{'"+video_option+"': '"+video_url+"'}"); } + } else { + $('#id_video_url').prop('required', false); + $("#id_video_path").val(null); } }); - $("#preview").click(function(){ - var description = $("#id_description").val(); - var preview_url = window.location.protocol + "//" + - window.location.host + "/exam/manage/courses/lesson/preview/"; - $.ajax({ - url: preview_url, - timeout: 15000, - type: 'POST', - data: JSON.stringify({'description': description}), - dataType: 'json', - contentType: 'application/json; charset=utf-8', - success: function(msg) { - preview_text(msg['data']); - }, - error: function(jqXHR, textStatus) { - - } - }); + const player = new Plyr('#player'); + var timer = $("#vtimer"); + var totalSeconds; + player.on('timeupdate', event => { + totalSeconds = parseInt(player.currentTime) + hours = Math.floor(totalSeconds / 3600); + totalSeconds %= 3600; + minutes = Math.floor(totalSeconds / 60); + seconds = totalSeconds % 60; + hours = hours < 10 ? "0" + hours : hours; + minutes = minutes < 10 ? "0" + minutes : minutes; + seconds = seconds < 10 ? "0" + seconds : seconds; + timer.val(hours + ":" + minutes + ":" + seconds); }); - function preview_text(data){ - var preview_div = $("#preview_text_div"); - if (!preview_div.is(":visible")){ - $("#preview_text_div").toggle(); - } - $("#description_body").empty(); - $("#description_body").append(data); - } - - $("#embed").click(function() { - $("#dialog_iframe").toggle(); - $("#dialog_iframe").dialog({ - resizable: true, - height: '450', - width: '640' - }); + $("#vtimer").on("change keyup paste", function() { + player.pause(); + var time = $(this).val().split(":"); + var hh = parseInt(time[0]); + var mm = parseInt(time[1]); + var ss = parseInt(time[2]); + player.currentTime = hh * 3600 + mm * 60 + ss; }); - $("#submit_info").click(function(){ - var url = $("#url").val(); - if (url == "") { - if (!$("#error_div").is(":visible")){ - $("#error_div").toggle(); + $('#content-type').on('change', function (e) { + var optionSelected = $("option:selected", this); + var valueSelected = this.value; + if (valueSelected == "" || valueSelected == "1") { + $("#id_type").hide(); + $("#id_type").attr("required", false); + } else { + if(valueSelected == "4") { + $('#id_type option[value="mcq"]').prop("selected", true); + $('#id_type').attr("disabled", true); + } else { + $('#id_type').attr("disabled", false); } - } - else{ - if ($("#error_div").is(":visible")){ - $("#error_div").toggle(); - } - $("#video_frame").attr("src", url); - $("#html_text").text($("#iframe_div").html().trim()); + $("#id_type").show(); + $("#id_type").attr("required", true); } }); - - $("#copy").click(function(){ - try{ - var text = $("#html_text"); - text.select(); - document.execCommand("Copy"); - } catch (err) { - alert("Unable to copy. Press Ctrl+C or Cmd+C to copy") - } + + // Marker Form + $("#marker-form").submit(function(e) { + e.preventDefault(); + lock_screen(); + var csrf = document.getElementById("marker-form").elements[0].value; + ajax_call($(this).attr("action"), $(this).attr("method"), $(this).serialize(), csrf); }); - $('#id_video_file').on('change',function(){ + $('#id_video_file').on('change',function() { //get the file name var files = []; for (var i = 0; i < $(this)[0].files.length; i++) { @@ -85,7 +94,7 @@ $(document).ready(function(){ $(this).next('.custom-file-label').html(files.join(', ')); }); - $('#id_Lesson_files').on('change',function(){ + $('#id_Lesson_files').on('change',function() { //get the file name var files = []; for (var i = 0; i < $(this)[0].files.length; i++) { @@ -94,3 +103,143 @@ $(document).ready(function(){ $(this).next('.custom-file-label').html(files.join(', ')); }); }); + + +function add_topic() { + if (!$("#id_timer").val()) { + $("#id_timer").val($("#vtimer").val()); + } + document.getElementById("id_timer").focus(); + $("#topic-form").submit(function(e) { + e.preventDefault(); + lock_screen(); + var csrf = document.getElementById("topic-form").elements[0].value; + ajax_call($(this).attr("action"), $(this).attr("method"), $(this).serialize(), csrf); + }); +} + +function add_question() { + if (!$("#id_timer").val()) { + $("#id_timer").val($("#vtimer").val()); + } + document.getElementById("id_timer").focus(); + $("#question-form").submit(function(e) { + e.preventDefault(); + lock_screen(); + var csrf = document.getElementById("question-form").elements[0].value; + ajax_call($(this).attr("action"), $(this).attr("method"), $(this).serialize(), csrf); + }); +} + +function lock_screen() { + document.getElementById("loader").style.display = "block"; +} + +function unlock_screen() { + document.getElementById("loader").style.display = "none"; +} + +function show_error(error) { + var err_msg = "\n"; + Object.keys(err).forEach(function(key) { + var value = err[key]; + err_msg = err_msg + key + " : " + value[0].message + "\n"; + }); + show_message(err_msg, "error"); +} + +function show_message(message, msg_type) { + toastr.options = { + "positionClass": "toast-top-center", + "timeOut": "1500", + "showDuration": "300", + } + switch(msg_type) { + case "info": { + toastr.info(message); + break; + } + case "error": { + toastr.error(message); + break; + } + case "warning": { + toastr.warning(message); + break; + } + case "success": { + toastr.success(message); + break; + } + default: { + toastr.info(message); + break; + } + } +} + + +function show_toc(toc) { + $("#lesson-content").empty(); + $("#toc").html(toc); +} + +function csrfSafeMethod(method) { + // these HTTP methods do not require CSRF protection + return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method)); +} + +function ajax_call(url, method, data, csrf) { + $.ajax({ + url: url, + timeout: 15000, + method: method, + data: data, + beforeSend: function(xhr, settings) { + if (!csrfSafeMethod(settings.type) && !this.crossDomain) { + xhr.setRequestHeader("X-CSRFToken", csrf); + } + }, + success: function(msg) { + unlock_screen(); + if (msg.status) $("#lesson-content").html(msg.data); + if (parseInt(msg.content_type) === 1) { + add_topic(); + } + else { + add_question(); + } + if (msg.toc) show_toc(msg.toc); + if (msg.message) { + if (msg.success) { + show_message(msg.message, "success"); + } + else { + show_message(msg.message, "warning"); + } + } + }, + error: function(xhr, data) { + unlock_screen(); + switch(xhr.status) { + case 400: { + err = JSON.parse(xhr.responseJSON.message); + show_error(err); + break; + } + case 500: { + show_message('500 status code! server error', "error"); + break; + } + case 404: { + show_message('404 status code! server error', "error"); + break; + } + default: { + show_message('Unable to perform action. Please try again', "error"); + break; + } + } + } + }); +} diff --git a/yaksh/static/yaksh/js/plyr.js b/yaksh/static/yaksh/js/plyr.js new file mode 100644 index 0000000..6a4fd0e --- /dev/null +++ b/yaksh/static/yaksh/js/plyr.js @@ -0,0 +1,4 @@ +"object"==typeof navigator&&function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Plyr",t):(e=e||self).Plyr=t()}(this,(function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function s(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){n(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function r(e,t){if(null==e)return{};var i,n,a=function(e,t){if(null==e)return{};var i,n,a={},s=Object.keys(e);for(n=0;n<s.length;n++)i=s[n],t.indexOf(i)>=0||(a[i]=e[i]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)i=s[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var i=[],n=!0,a=!1,s=void 0;try{for(var r,o=e[Symbol.iterator]();!(n=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);n=!0);}catch(e){a=!0,s=e}finally{try{n||null==o.return||o.return()}finally{if(a)throw s}}return i}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||c(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function d(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function p(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function m(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?p(Object(i),!0).forEach((function(t){h(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var f={addCSS:!0,thumbWidth:15,watch:!0};function g(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}var y=function(e){return null!=e?e.constructor:null},v=function(e,t){return!!(e&&t&&e instanceof t)},b=function(e){return null==e},w=function(e){return y(e)===Object},k=function(e){return y(e)===String},T=function(e){return Array.isArray(e)},C=function(e){return v(e,NodeList)},A=k,S=T,P=C,E=function(e){return v(e,Element)},N=function(e){return v(e,Event)},M=function(e){return b(e)||(k(e)||T(e)||C(e))&&!e.length||w(e)&&!Object.keys(e).length};function x(e,t){if(1>t){var i=function(e){var t="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}(t);return parseFloat(e.toFixed(i))}return Math.round(e/t)*t}var I,L,O,_=function(){function e(t,i){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),E(t)?this.element=t:A(t)&&(this.element=document.querySelector(t)),E(this.element)&&M(this.element.rangeTouch)&&(this.config=m({},f,{},i),this.init())}return function(e,t,i){t&&d(e.prototype,t),i&&d(e,i)}(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,i=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(e){t.element[i](e,(function(e){return t.set(e)}),!1)}))}},{key:"get",value:function(t){if(!e.enabled||!N(t))return null;var i,n=t.target,a=t.changedTouches[0],s=parseFloat(n.getAttribute("min"))||0,r=parseFloat(n.getAttribute("max"))||100,o=parseFloat(n.getAttribute("step"))||1,l=n.getBoundingClientRect(),c=100/l.width*(this.config.thumbWidth/2)/100;return 0>(i=100/l.width*(a.clientX-l.left))?i=0:100<i&&(i=100),50>i?i-=(100-2*i)*c:50<i&&(i+=2*(i-50)*c),s+x(i/100*(r-s),o)}},{key:"set",value:function(t){e.enabled&&N(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),function(e,t){if(e&&t){var i=new Event(t,{bubbles:!0});e.dispatchEvent(i)}}(t.target,"touchend"===t.type?"change":"input"))}}],[{key:"setup",value:function(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=null;if(M(t)||A(t)?n=Array.from(document.querySelectorAll(A(t)?t:'input[type="range"]')):E(t)?n=[t]:P(t)?n=Array.from(t):S(t)&&(n=t.filter(E)),M(n))return null;var a=m({},f,{},i);if(A(t)&&a.watch){var s=new MutationObserver((function(i){Array.from(i).forEach((function(i){Array.from(i.addedNodes).forEach((function(i){E(i)&&g(i,t)&&new e(i,a)}))}))}));s.observe(document.body,{childList:!0,subtree:!0})}return n.map((function(t){return new e(t,i)}))}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e}(),j=function(e){return null!=e?e.constructor:null},q=function(e,t){return Boolean(e&&t&&e instanceof t)},D=function(e){return null==e},H=function(e){return j(e)===Object},F=function(e){return j(e)===String},R=function(e){return j(e)===Function},V=function(e){return Array.isArray(e)},B=function(e){return q(e,NodeList)},U=function(e){return D(e)||(F(e)||V(e)||B(e))&&!e.length||H(e)&&!Object.keys(e).length},W=D,z=H,K=function(e){return j(e)===Number&&!Number.isNaN(e)},Y=F,Q=function(e){return j(e)===Boolean},X=R,$=V,J=B,G=function(e){return q(e,Element)},Z=function(e){return q(e,Event)},ee=function(e){return q(e,KeyboardEvent)},te=function(e){return q(e,TextTrack)||!D(e)&&F(e.kind)},ie=function(e){return q(e,Promise)&&R(e.then)},ne=function(e){if(q(e,window.URL))return!0;if(!F(e))return!1;var t=e;e.startsWith("http://")&&e.startsWith("https://")||(t="http://".concat(e));try{return!U(new URL(t).hostname)}catch(e){return!1}},ae=U,se=(I=document.createElement("span"),L={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},O=Object.keys(L).find((function(e){return void 0!==I.style[e]})),!!Y(O)&&L[O]);function re(e,t){setTimeout((function(){try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}}),t)}var oe={isIE: +/* @cc_on!@ */ +!!document.documentMode,isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)};function le(e,t){return t.split(".").reduce((function(e,t){return e&&e[t]}),e)}function ce(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];if(!i.length)return e;var s=i.shift();return z(s)?(Object.keys(s).forEach((function(t){z(s[t])?(Object.keys(e).includes(t)||Object.assign(e,n({},t,{})),ce(e[t],s[t])):Object.assign(e,n({},t,s[t]))})),ce.apply(void 0,[e].concat(i))):e}function ue(e,t){var i=e.length?e:[e];Array.from(i).reverse().forEach((function(e,i){var n=i>0?t.cloneNode(!0):t,a=e.parentNode,s=e.nextSibling;n.appendChild(e),s?a.insertBefore(n,s):a.appendChild(n)}))}function de(e,t){G(e)&&!ae(t)&&Object.entries(t).filter((function(e){var t=o(e,2)[1];return!W(t)})).forEach((function(t){var i=o(t,2),n=i[0],a=i[1];return e.setAttribute(n,a)}))}function he(e,t,i){var n=document.createElement(e);return z(t)&&de(n,t),Y(i)&&(n.innerText=i),n}function pe(e,t,i,n){G(t)&&t.appendChild(he(e,i,n))}function me(e){J(e)||$(e)?Array.from(e).forEach(me):G(e)&&G(e.parentNode)&&e.parentNode.removeChild(e)}function fe(e){if(G(e))for(var t=e.childNodes.length;t>0;)e.removeChild(e.lastChild),t-=1}function ge(e,t){return G(t)&&G(t.parentNode)&&G(e)?(t.parentNode.replaceChild(e,t),e):null}function ye(e,t){if(!Y(e)||ae(e))return{};var i={},n=ce({},t);return e.split(",").forEach((function(e){var t=e.trim(),a=t.replace(".",""),s=t.replace(/[[\]]/g,"").split("="),r=o(s,1)[0],l=s.length>1?s[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":Y(n.class)?i.class="".concat(n.class," ").concat(a):i.class=a;break;case"#":i.id=t.replace("#","");break;case"[":i[r]=l}})),ce(n,i)}function ve(e,t){if(G(e)){var i=t;Q(i)||(i=!e.hidden),e.hidden=i}}function be(e,t,i){if(J(e))return Array.from(e).map((function(e){return be(e,t,i)}));if(G(e)){var n="toggle";return void 0!==i&&(n=i?"add":"remove"),e.classList[n](t),e.classList.contains(t)}return!1}function we(e,t){return G(e)&&e.classList.contains(t)}function ke(e,t){var i=Element.prototype;return(i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function Te(e){return this.elements.container.querySelectorAll(e)}function Ce(e){return this.elements.container.querySelector(e)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];G(e)&&(e.focus({preventScroll:!0}),t&&be(e,this.config.classNames.tabFocus))}var Se,Pe={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},Ee={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(e,t,i){var n=oe.isIPhone&&i&&Ee.playsinline,a=Ee[e]||"html5"!==t;return{api:a,ui:a&&Ee.rangeInput&&("video"!==e||!oe.isIPhone||n)}},pip:!(oe.isIPhone||!X(he("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||he("video").disablePictureInPicture)),airplay:X(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(e){if(ae(e))return!1;var t=o(e.split("/"),1)[0],i=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(Pe).includes(i)&&(i+='; codecs="'.concat(Pe[e],'"'));try{return Boolean(i&&this.media.canPlayType(i).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(Se=document.createElement("input"),Se.type="range","range"===Se.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==se,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},Ne=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,null}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function Me(e,t,i){var n=this,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&"addEventListener"in e&&!ae(t)&&X(i)){var o=t.split(" "),l=r;Ne&&(l={passive:s,capture:r}),o.forEach((function(t){n&&n.eventListeners&&a&&n.eventListeners.push({element:e,type:t,callback:i,options:l}),e[a?"addEventListener":"removeEventListener"](t,i,l)}))}}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];Me.call(this,e,t,i,!0,n,a)}function Ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];Me.call(this,e,t,i,!1,n,a)}function Le(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=function r(){Ie(e,i,r,a,s);for(var o=arguments.length,l=new Array(o),c=0;c<o;c++)l[c]=arguments[c];n.apply(t,l)};Me.call(this,e,i,r,!0,a,s)}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(G(e)&&!ae(t)){var a=new CustomEvent(t,{bubbles:i,detail:s(s({},n),{},{plyr:this})});e.dispatchEvent(a)}}function _e(){this&&this.eventListeners&&(this.eventListeners.forEach((function(e){var t=e.element,i=e.type,n=e.callback,a=e.options;t.removeEventListener(i,n,a)})),this.eventListeners=[])}function je(){var e=this;return new Promise((function(t){return e.ready?setTimeout(t,0):xe.call(e,e.elements.container,"ready",t)})).then((function(){}))}function qe(e){ie(e)&&e.then(null,(function(){}))}function De(e){return!!($(e)||Y(e)&&e.includes(":"))&&($(e)?e:e.split(":")).map(Number).every(K)}function He(e){if(!$(e)||!e.every(K))return null;var t=o(e,2),i=t[0],n=t[1],a=function e(t,i){return 0===i?t:e(i,t%i)}(i,n);return[i/a,n/a]}function Fe(e){var t=function(e){return De(e)?e.split(":").map(Number):null},i=t(e);if(null===i&&(i=t(this.config.ratio)),null===i&&!ae(this.embed)&&$(this.embed.ratio)&&(i=this.embed.ratio),null===i&&this.isHTML5){var n=this.media;i=He([n.videoWidth,n.videoHeight])}return i}function Re(e){if(!this.isVideo)return{};var t=this.elements.wrapper,i=Fe.call(this,e),n=o($(i)?i:[0,0],2),a=100/n[0]*n[1];if(t.style.paddingBottom="".concat(a,"%"),this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){var s=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),r=(s-a)/(s/50);this.media.style.transform="translateY(-".concat(r,"%)")}else this.isHTML5&&t.classList.toggle(this.config.classNames.videoFixedRatio,null!==i);return{padding:a,ratio:i}}var Ve={getSources:function(){var e=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter((function(t){var i=t.getAttribute("type");return!!ae(i)||Ee.mime.call(e,i)})):[]},getQualityOptions:function(){return this.config.quality.forced?this.config.quality.options:Ve.getSources.call(this).map((function(e){return Number(e.getAttribute("size"))})).filter(Boolean)},setup:function(){if(this.isHTML5){var e=this;e.options.speed=e.config.speed.options,ae(this.config.ratio)||Re.call(e),Object.defineProperty(e.media,"quality",{get:function(){var t=Ve.getSources.call(e).find((function(t){return t.getAttribute("src")===e.source}));return t&&Number(t.getAttribute("size"))},set:function(t){if(e.quality!==t){if(e.config.quality.forced&&X(e.config.quality.onChange))e.config.quality.onChange(t);else{var i=Ve.getSources.call(e).find((function(e){return Number(e.getAttribute("size"))===t}));if(!i)return;var n=e.media,a=n.currentTime,s=n.paused,r=n.preload,o=n.readyState,l=n.playbackRate;e.media.src=i.getAttribute("src"),("none"!==r||o)&&(e.once("loadedmetadata",(function(){e.speed=l,e.currentTime=a,s||qe(e.play())})),e.media.load())}Oe.call(e,e.media,"qualitychange",!1,{quality:t})}}})}},cancelRequests:function(){this.isHTML5&&(me(Ve.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function Be(e){return $(e)?e.filter((function(t,i){return e.indexOf(t)===i})):e}function Ue(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return ae(e)?e:e.toString().replace(/{(\d+)}/g,(function(e,t){return i[t].toString()}))}var We=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),i.toString())},ze=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toString().replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))};function Ke(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.toString();return t=We(t,"-"," "),t=We(t,"_"," "),t=ze(t),We(t," ","")}function Ye(e){var t=document.createElement("div");return t.appendChild(e),t.innerHTML}var Qe={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},Xe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ae(e)||ae(t))return"";var i=le(t.i18n,e);if(ae(i))return Object.keys(Qe).includes(e)?Qe[e]:"";var n={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(n).forEach((function(e){var t=o(e,2),n=t[0],a=t[1];i=We(i,n,a)})),i},$e=function(){function t(i){e(this,t),this.enabled=i.config.storage.enabled,this.key=i.config.storage.key}return i(t,[{key:"get",value:function(e){if(!t.supported||!this.enabled)return null;var i=window.localStorage.getItem(this.key);if(ae(i))return null;var n=JSON.parse(i);return Y(e)&&e.length?n[e]:n}},{key:"set",value:function(e){if(t.supported&&this.enabled&&z(e)){var i=this.get();ae(i)&&(i={}),ce(i,e),window.localStorage.setItem(this.key,JSON.stringify(i))}}}],[{key:"supported",get:function(){try{if(!("localStorage"in window))return!1;return window.localStorage.setItem("___test","___test"),window.localStorage.removeItem("___test"),!0}catch(e){return!1}}}]),t}();function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise((function(i,n){try{var a=new XMLHttpRequest;if(!("withCredentials"in a))return;a.addEventListener("load",(function(){if("text"===t)try{i(JSON.parse(a.responseText))}catch(e){i(a.responseText)}else i(a.response)})),a.addEventListener("error",(function(){throw new Error(a.status)})),a.open("GET",e,!0),a.responseType=t,a.send()}catch(e){n(e)}}))}function Ge(e,t){if(Y(e)){var i=Y(t),n=function(){return null!==document.getElementById(t)},a=function(e,t){e.innerHTML=t,i&&n()||document.body.insertAdjacentElement("afterbegin",e)};if(!i||!n()){var s=$e.supported,r=document.createElement("div");if(r.setAttribute("hidden",""),i&&r.setAttribute("id",t),s){var o=window.localStorage.getItem("".concat("cache","-").concat(t));if(null!==o){var l=JSON.parse(o);a(r,l.content)}}Je(e).then((function(e){ae(e)||(s&&window.localStorage.setItem("".concat("cache","-").concat(t),JSON.stringify({content:e})),a(r,e))})).catch((function(){}))}}}var Ze=function(e){return Math.trunc(e/60/60%60,10)},et=function(e){return Math.trunc(e/60%60,10)},tt=function(e){return Math.trunc(e%60,10)};function it(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!K(e))return it(void 0,t,i);var n=function(e){return"0".concat(e).slice(-2)},a=Ze(e),s=et(e),r=tt(e);return a=t||a>0?"".concat(a,":"):"","".concat(i&&e>0?"-":"").concat(a).concat(n(s),":").concat(n(r))}var nt={getIconUrl:function(){var e=new URL(this.config.iconUrl,window.location).host!==window.location.host||oe.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:e}},findElements:function(){try{return this.elements.controls=Ce.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:Te.call(this,this.config.selectors.buttons.play),pause:Ce.call(this,this.config.selectors.buttons.pause),restart:Ce.call(this,this.config.selectors.buttons.restart),rewind:Ce.call(this,this.config.selectors.buttons.rewind),fastForward:Ce.call(this,this.config.selectors.buttons.fastForward),mute:Ce.call(this,this.config.selectors.buttons.mute),pip:Ce.call(this,this.config.selectors.buttons.pip),airplay:Ce.call(this,this.config.selectors.buttons.airplay),settings:Ce.call(this,this.config.selectors.buttons.settings),captions:Ce.call(this,this.config.selectors.buttons.captions),fullscreen:Ce.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=Ce.call(this,this.config.selectors.progress),this.elements.inputs={seek:Ce.call(this,this.config.selectors.inputs.seek),volume:Ce.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:Ce.call(this,this.config.selectors.display.buffer),currentTime:Ce.call(this,this.config.selectors.display.currentTime),duration:Ce.call(this,this.config.selectors.display.duration)},G(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon:function(e,t){var i=nt.getIconUrl.call(this),n="".concat(i.cors?"":i.url,"#").concat(this.config.iconPrefix),a=document.createElementNS("http://www.w3.org/2000/svg","svg");de(a,ce(t,{"aria-hidden":"true",focusable:"false"}));var s=document.createElementNS("http://www.w3.org/2000/svg","use"),r="".concat(n,"-").concat(e);return"href"in s&&s.setAttributeNS("http://www.w3.org/1999/xlink","href",r),s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r),a.appendChild(s),a},createLabel:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Xe(e,this.config),n=s(s({},t),{},{class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")});return he("span",n,i)},createBadge:function(e){if(ae(e))return null;var t=he("span",{class:this.config.classNames.menu.value});return t.appendChild(he("span",{class:this.config.classNames.menu.badge},e)),t},createButton:function(e,t){var i=this,n=ce({},t),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.toString();return(t=Ke(t)).charAt(0).toLowerCase()+t.slice(1)}(e),s={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach((function(e){Object.keys(n).includes(e)&&(s[e]=n[e],delete n[e])})),"button"!==s.element||Object.keys(n).includes("type")||(n.type="button"),Object.keys(n).includes("class")?n.class.split(" ").some((function(e){return e===i.config.classNames.control}))||ce(n,{class:"".concat(n.class," ").concat(this.config.classNames.control)}):n.class=this.config.classNames.control,e){case"play":s.toggle=!0,s.label="play",s.labelPressed="pause",s.icon="play",s.iconPressed="pause";break;case"mute":s.toggle=!0,s.label="mute",s.labelPressed="unmute",s.icon="volume",s.iconPressed="muted";break;case"captions":s.toggle=!0,s.label="enableCaptions",s.labelPressed="disableCaptions",s.icon="captions-off",s.iconPressed="captions-on";break;case"fullscreen":s.toggle=!0,s.label="enterFullscreen",s.labelPressed="exitFullscreen",s.icon="enter-fullscreen",s.iconPressed="exit-fullscreen";break;case"play-large":n.class+=" ".concat(this.config.classNames.control,"--overlaid"),a="play",s.label="play",s.icon="play";break;default:ae(s.label)&&(s.label=a),ae(s.icon)&&(s.icon=e)}var r=he(s.element);return s.toggle?(r.appendChild(nt.createIcon.call(this,s.iconPressed,{class:"icon--pressed"})),r.appendChild(nt.createIcon.call(this,s.icon,{class:"icon--not-pressed"})),r.appendChild(nt.createLabel.call(this,s.labelPressed,{class:"label--pressed"})),r.appendChild(nt.createLabel.call(this,s.label,{class:"label--not-pressed"}))):(r.appendChild(nt.createIcon.call(this,s.icon)),r.appendChild(nt.createLabel.call(this,s.label))),ce(n,ye(this.config.selectors.buttons[a],n)),de(r,n),"play"===a?($(this.elements.buttons[a])||(this.elements.buttons[a]=[]),this.elements.buttons[a].push(r)):this.elements.buttons[a]=r,r},createRange:function(e,t){var i=he("input",ce(ye(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":Xe(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=i,nt.updateRangeFill.call(this,i),_.setup(i),i},createProgress:function(e,t){var i=he("progress",ce(ye(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){i.appendChild(he("span",null,"0"));var n={played:"played",buffer:"buffered"}[e],a=n?Xe(n,this.config):"";i.innerText="% ".concat(a.toLowerCase())}return this.elements.display[e]=i,i},createTime:function(e,t){var i=ye(this.config.selectors.display[e],t),n=he("div",ce(i,{class:"".concat(i.class?i.class:""," ").concat(this.config.classNames.display.time," ").trim(),"aria-label":Xe(e,this.config)}),"00:00");return this.elements.display[e]=n,n},bindMenuItemShortcuts:function(e,t){var i=this;xe.call(this,e,"keydown keyup",(function(n){if([32,38,39,40].includes(n.which)&&(n.preventDefault(),n.stopPropagation(),"keydown"!==n.type)){var a,s=ke(e,'[role="menuitemradio"]');if(!s&&[32,39].includes(n.which))nt.showMenuPanel.call(i,t,!0);else 32!==n.which&&(40===n.which||s&&39===n.which?(a=e.nextElementSibling,G(a)||(a=e.parentNode.firstElementChild)):(a=e.previousElementSibling,G(a)||(a=e.parentNode.lastElementChild)),Ae.call(i,a,!0))}}),!1),xe.call(this,e,"keyup",(function(e){13===e.which&&nt.focusFirstMenuItem.call(i,null,!0)}))},createMenuItem:function(e){var t=this,i=e.value,n=e.list,a=e.type,s=e.title,r=e.badge,o=void 0===r?null:r,l=e.checked,c=void 0!==l&&l,u=ye(this.config.selectors.inputs[a]),d=he("button",ce(u,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(u.class?u.class:"").trim(),"aria-checked":c,value:i})),h=he("span");h.innerHTML=s,G(o)&&h.appendChild(o),d.appendChild(h),Object.defineProperty(d,"checked",{enumerable:!0,get:function(){return"true"===d.getAttribute("aria-checked")},set:function(e){e&&Array.from(d.parentNode.children).filter((function(e){return ke(e,'[role="menuitemradio"]')})).forEach((function(e){return e.setAttribute("aria-checked","false")})),d.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(d,"click keyup",(function(e){if(!ee(e)||32===e.which){switch(e.preventDefault(),e.stopPropagation(),d.checked=!0,a){case"language":t.currentTrack=Number(i);break;case"quality":t.quality=i;break;case"speed":t.speed=parseFloat(i)}nt.showMenuPanel.call(t,"home",ee(e))}}),a,!1),nt.bindMenuItemShortcuts.call(this,d,a),n.appendChild(d)},formatTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!K(e))return e;var i=Ze(this.duration)>0;return it(e,i,t)},updateTimeDisplay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];G(e)&&K(t)&&(e.innerText=nt.formatTime(t,i))},updateVolume:function(){this.supported.ui&&(G(this.elements.inputs.volume)&&nt.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),G(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;G(e)&&(e.value=t,nt.updateRangeFill.call(this,e))},updateProgress:function(e){var t=this;if(this.supported.ui&&Z(e)){var i,n,a=0;if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":i=this.currentTime,n=this.duration,a=0===i||0===n||Number.isNaN(i)||Number.isNaN(n)?0:(i/n*100).toFixed(2),"timeupdate"===e.type&&nt.setRange.call(this,this.elements.inputs.seek,a);break;case"playing":case"progress":!function(e,i){var n=K(i)?i:0,a=G(e)?e:t.elements.display.buffer;if(G(a)){a.value=n;var s=a.getElementsByTagName("span")[0];G(s)&&(s.childNodes[0].nodeValue=n)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(e){var t=Z(e)?e.target:e;if(G(t)&&"range"===t.getAttribute("type")){if(ke(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);var i=nt.formatTime(this.currentTime),n=nt.formatTime(this.duration),a=Xe("seekLabel",this.config);t.setAttribute("aria-valuetext",a.replace("{currentTime}",i).replace("{duration}",n))}else if(ke(t,this.config.selectors.inputs.volume)){var s=100*t.value;t.setAttribute("aria-valuenow",s),t.setAttribute("aria-valuetext","".concat(s.toFixed(1),"%"))}else t.setAttribute("aria-valuenow",t.value);oe.isWebkit&&t.style.setProperty("--value","".concat(t.value/t.max*100,"%"))}},updateSeekTooltip:function(e){var t=this;if(this.config.tooltips.seek&&G(this.elements.inputs.seek)&&G(this.elements.display.seekTooltip)&&0!==this.duration){var i="".concat(this.config.classNames.tooltip,"--visible"),n=function(e){return be(t.elements.display.seekTooltip,i,e)};if(this.touch)n(!1);else{var a=0,s=this.elements.progress.getBoundingClientRect();if(Z(e))a=100/s.width*(e.pageX-s.left);else{if(!we(this.elements.display.seekTooltip,i))return;a=parseFloat(this.elements.display.seekTooltip.style.left,10)}a<0?a=0:a>100&&(a=100),nt.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*a),this.elements.display.seekTooltip.style.left="".concat(a,"%"),Z(e)&&["mouseenter","mouseleave"].includes(e.type)&&n("mouseenter"===e.type)}}},timeUpdate:function(e){var t=!G(this.elements.display.duration)&&this.config.invertTime;nt.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||nt.updateProgress.call(this,e)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return ve(this.elements.display.currentTime,!0),void ve(this.elements.progress,!0);G(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var e=G(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&nt.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&nt.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),nt.updateSeekTooltip.call(this)}},toggleMenuButton:function(e,t){ve(this.elements.settings.buttons[e],!t)},updateSetting:function(e,t,i){var n=this.elements.settings.panels[e],a=null,s=t;if("captions"===e)a=this.currentTrack;else{if(a=ae(i)?this[e]:i,ae(a)&&(a=this.config[e].default),!ae(this.options[e])&&!this.options[e].includes(a))return void this.debug.warn("Unsupported value of '".concat(a,"' for ").concat(e));if(!this.config[e].options.includes(a))return void this.debug.warn("Disabled value of '".concat(a,"' for ").concat(e))}if(G(s)||(s=n&&n.querySelector('[role="menu"]')),G(s)){this.elements.settings.buttons[e].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=nt.getLabel.call(this,e,a);var r=s&&s.querySelector('[value="'.concat(a,'"]'));G(r)&&(r.checked=!0)}},getLabel:function(e,t){switch(e){case"speed":return 1===t?Xe("normal",this.config):"".concat(t,"×");case"quality":if(K(t)){var i=Xe("qualityLabel.".concat(t),this.config);return i.length?i:"".concat(t,"p")}return ze(t);case"captions":return rt.getLabel.call(this);default:return null}},setQualityMenu:function(e){var t=this;if(G(this.elements.settings.panels.quality)){var i=this.elements.settings.panels.quality.querySelector('[role="menu"]');$(e)&&(this.options.quality=Be(e).filter((function(e){return t.config.quality.options.includes(e)})));var n=!ae(this.options.quality)&&this.options.quality.length>1;if(nt.toggleMenuButton.call(this,"quality",n),fe(i),nt.checkMenu.call(this),n){var a=function(e){var i=Xe("qualityBadge.".concat(e),t.config);return i.length?nt.createBadge.call(t,i):null};this.options.quality.sort((function(e,i){var n=t.config.quality.options;return n.indexOf(e)>n.indexOf(i)?1:-1})).forEach((function(e){nt.createMenuItem.call(t,{value:e,list:i,type:"quality",title:nt.getLabel.call(t,"quality",e),badge:a(e)})})),nt.updateSetting.call(this,"quality",i)}}},setCaptionsMenu:function(){var e=this;if(G(this.elements.settings.panels.captions)){var t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),i=rt.getTracks.call(this),n=Boolean(i.length);if(nt.toggleMenuButton.call(this,"captions",n),fe(t),nt.checkMenu.call(this),n){var a=i.map((function(i,n){return{value:n,checked:e.captions.toggled&&e.currentTrack===n,title:rt.getLabel.call(e,i),badge:i.language&&nt.createBadge.call(e,i.language.toUpperCase()),list:t,type:"language"}}));a.unshift({value:-1,checked:!this.captions.toggled,title:Xe("disabled",this.config),list:t,type:"language"}),a.forEach(nt.createMenuItem.bind(this)),nt.updateSetting.call(this,"captions",t)}}},setSpeedMenu:function(){var e=this;if(G(this.elements.settings.panels.speed)){var t=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter((function(t){return t>=e.minimumSpeed&&t<=e.maximumSpeed}));var i=!ae(this.options.speed)&&this.options.speed.length>1;nt.toggleMenuButton.call(this,"speed",i),fe(t),nt.checkMenu.call(this),i&&(this.options.speed.forEach((function(i){nt.createMenuItem.call(e,{value:i,list:t,type:"speed",title:nt.getLabel.call(e,"speed",i)})})),nt.updateSetting.call(this,"speed",t))}},checkMenu:function(){var e=this.elements.settings.buttons,t=!ae(e)&&Object.values(e).some((function(e){return!e.hidden}));ve(this.elements.settings.menu,!t)},focusFirstMenuItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var i=e;G(i)||(i=Object.values(this.elements.settings.panels).find((function(e){return!e.hidden})));var n=i.querySelector('[role^="menuitem"]');Ae.call(this,n,t)}},toggleMenu:function(e){var t=this.elements.settings.popup,i=this.elements.buttons.settings;if(G(t)&&G(i)){var n=t.hidden,a=n;if(Q(e))a=e;else if(ee(e)&&27===e.which)a=!1;else if(Z(e)){var s=X(e.composedPath)?e.composedPath()[0]:e.target,r=t.contains(s);if(r||!r&&e.target!==i&&a)return}i.setAttribute("aria-expanded",a),ve(t,!a),be(this.elements.container,this.config.classNames.menu.open,a),a&&ee(e)?nt.focusFirstMenuItem.call(this,null,!0):a||n||Ae.call(this,i,ee(e))}},getMenuSize:function(e){var t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);var i=t.scrollWidth,n=t.scrollHeight;return me(t),{width:i,height:n}},showMenuPanel:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.elements.container.querySelector("#plyr-settings-".concat(this.id,"-").concat(t));if(G(n)){var a=n.parentNode,s=Array.from(a.children).find((function(e){return!e.hidden}));if(Ee.transitions&&!Ee.reducedMotion){a.style.width="".concat(s.scrollWidth,"px"),a.style.height="".concat(s.scrollHeight,"px");var r=nt.getMenuSize.call(this,n),o=function t(i){i.target===a&&["width","height"].includes(i.propertyName)&&(a.style.width="",a.style.height="",Ie.call(e,a,se,t))};xe.call(this,a,se,o),a.style.width="".concat(r.width,"px"),a.style.height="".concat(r.height,"px")}ve(s,!0),ve(n,!1),nt.focusFirstMenuItem.call(this,n,i)}},setDownloadUrl:function(){var e=this.elements.buttons.download;G(e)&&e.setAttribute("href",this.download)},create:function(e){var t=this,i=nt.bindMenuItemShortcuts,n=nt.createButton,a=nt.createProgress,s=nt.createRange,r=nt.createTime,o=nt.setQualityMenu,l=nt.setSpeedMenu,c=nt.showMenuPanel;this.elements.controls=null,$(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(n.call(this,"play-large"));var u=he("div",ye(this.config.selectors.controls.wrapper));this.elements.controls=u;var d={class:"plyr__controls__item"};return Be($(this.config.controls)?this.config.controls:[]).forEach((function(o){if("restart"===o&&u.appendChild(n.call(t,"restart",d)),"rewind"===o&&u.appendChild(n.call(t,"rewind",d)),"play"===o&&u.appendChild(n.call(t,"play",d)),"fast-forward"===o&&u.appendChild(n.call(t,"fast-forward",d)),"progress"===o){var l=he("div",{class:"".concat(d.class," plyr__progress__container")}),h=he("div",ye(t.config.selectors.progress));if(h.appendChild(s.call(t,"seek",{id:"plyr-seek-".concat(e.id)})),h.appendChild(a.call(t,"buffer")),t.config.tooltips.seek){var p=he("span",{class:t.config.classNames.tooltip},"00:00");h.appendChild(p),t.elements.display.seekTooltip=p}t.elements.progress=h,l.appendChild(t.elements.progress),u.appendChild(l)}if("current-time"===o&&u.appendChild(r.call(t,"currentTime",d)),"duration"===o&&u.appendChild(r.call(t,"duration",d)),"mute"===o||"volume"===o){var m=t.elements.volume;if(G(m)&&u.contains(m)||(m=he("div",ce({},d,{class:"".concat(d.class," plyr__volume").trim()})),t.elements.volume=m,u.appendChild(m)),"mute"===o&&m.appendChild(n.call(t,"mute")),"volume"===o&&!oe.isIos){var f={max:1,step:.05,value:t.config.volume};m.appendChild(s.call(t,"volume",ce(f,{id:"plyr-volume-".concat(e.id)})))}}if("captions"===o&&u.appendChild(n.call(t,"captions",d)),"settings"===o&&!ae(t.config.settings)){var g=he("div",ce({},d,{class:"".concat(d.class," plyr__menu").trim(),hidden:""}));g.appendChild(n.call(t,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(e.id),"aria-expanded":!1}));var y=he("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(e.id),hidden:""}),v=he("div"),b=he("div",{id:"plyr-settings-".concat(e.id,"-home")}),w=he("div",{role:"menu"});b.appendChild(w),v.appendChild(b),t.elements.settings.panels.home=b,t.config.settings.forEach((function(n){var a=he("button",ce(ye(t.config.selectors.buttons.settings),{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));i.call(t,a,n),xe.call(t,a,"click",(function(){c.call(t,n,!1)}));var s=he("span",null,Xe(n,t.config)),r=he("span",{class:t.config.classNames.menu.value});r.innerHTML=e[n],s.appendChild(r),a.appendChild(s),w.appendChild(a);var o=he("div",{id:"plyr-settings-".concat(e.id,"-").concat(n),hidden:""}),l=he("button",{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--back")});l.appendChild(he("span",{"aria-hidden":!0},Xe(n,t.config))),l.appendChild(he("span",{class:t.config.classNames.hidden},Xe("menuBack",t.config))),xe.call(t,o,"keydown",(function(e){37===e.which&&(e.preventDefault(),e.stopPropagation(),c.call(t,"home",!0))}),!1),xe.call(t,l,"click",(function(){c.call(t,"home",!1)})),o.appendChild(l),o.appendChild(he("div",{role:"menu"})),v.appendChild(o),t.elements.settings.buttons[n]=a,t.elements.settings.panels[n]=o})),y.appendChild(v),g.appendChild(y),u.appendChild(g),t.elements.settings.popup=y,t.elements.settings.menu=g}if("pip"===o&&Ee.pip&&u.appendChild(n.call(t,"pip",d)),"airplay"===o&&Ee.airplay&&u.appendChild(n.call(t,"airplay",d)),"download"===o){var k=ce({},d,{element:"a",href:t.download,target:"_blank"});t.isHTML5&&(k.download="");var T=t.config.urls.download;!ne(T)&&t.isEmbed&&ce(k,{icon:"logo-".concat(t.provider),label:t.provider}),u.appendChild(n.call(t,"download",k))}"fullscreen"===o&&u.appendChild(n.call(t,"fullscreen",d))})),this.isHTML5&&o.call(this,Ve.getQualityOptions.call(this)),l.call(this),u},inject:function(){var e=this;if(this.config.loadSprite){var t=nt.getIconUrl.call(this);t.cors&&Ge(t.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var i=null;this.elements.controls=null;var n={id:this.id,seektime:this.config.seekTime,title:this.config.title},a=!0;X(this.config.controls)&&(this.config.controls=this.config.controls.call(this,n)),this.config.controls||(this.config.controls=[]),G(this.config.controls)||Y(this.config.controls)?i=this.config.controls:(i=nt.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:rt.getLabel.call(this)}),a=!1);var s,r;if(a&&Y(this.config.controls)&&(s=i,Object.entries(n).forEach((function(e){var t=o(e,2),i=t[0],n=t[1];s=We(s,"{".concat(i,"}"),n)})),i=s),Y(this.config.selectors.controls.container)&&(r=document.querySelector(this.config.selectors.controls.container)),G(r)||(r=this.elements.container),r[G(i)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",i),G(this.elements.controls)||nt.findElements.call(this),!ae(this.elements.buttons)){var l=function(t){var i=e.config.classNames.controlPressed;Object.defineProperty(t,"pressed",{enumerable:!0,get:function(){return we(t,i)},set:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];be(t,i,e)}})};Object.values(this.elements.buttons).filter(Boolean).forEach((function(e){$(e)||J(e)?Array.from(e).filter(Boolean).forEach(l):l(e)}))}if(oe.isEdge&&re(r),this.config.tooltips.controls){var c=this.config,u=c.classNames,d=c.selectors,h="".concat(d.controls.wrapper," ").concat(d.labels," .").concat(u.hidden),p=Te.call(this,h);Array.from(p).forEach((function(t){be(t,e.config.classNames.hidden,!1),be(t,e.config.classNames.tooltip,!0)}))}}};function at(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e;if(t){var n=document.createElement("a");n.href=i,i=n.href}try{return new URL(i)}catch(e){return null}}function st(e){var t=new URLSearchParams;return z(e)&&Object.entries(e).forEach((function(e){var i=o(e,2),n=i[0],a=i[1];t.set(n,a)})),t}var rt={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!Ee.textTracks)$(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&nt.setCaptionsMenu.call(this);else{if(G(this.elements.captions)||(this.elements.captions=he("div",ye(this.config.selectors.captions)),function(e,t){G(e)&&G(t)&&t.parentNode.insertBefore(e,t.nextSibling)}(this.elements.captions,this.elements.wrapper)),oe.isIE&&window.URL){var e=this.media.querySelectorAll("track");Array.from(e).forEach((function(e){var t=e.getAttribute("src"),i=at(t);null!==i&&i.hostname!==window.location.href.hostname&&["http:","https:"].includes(i.protocol)&&Je(t,"blob").then((function(t){e.setAttribute("src",window.URL.createObjectURL(t))})).catch((function(){me(e)}))}))}var t=Be((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map((function(e){return e.split("-")[0]}))),i=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();if("auto"===i)i=o(t,1)[0];var n=this.storage.get("captions");if(Q(n)||(n=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:n,language:i,languages:t}),this.isHTML5){var a=this.config.captions.update?"addtrack removetrack":"removetrack";xe.call(this,this.media.textTracks,a,rt.update.bind(this))}setTimeout(rt.update.bind(this),0)}},update:function(){var e=this,t=rt.getTracks.call(this,!0),i=this.captions,n=i.active,a=i.language,s=i.meta,r=i.currentTrackNode,o=Boolean(t.find((function(e){return e.language===a})));this.isHTML5&&this.isVideo&&t.filter((function(e){return!s.get(e)})).forEach((function(t){e.debug.log("Track added",t),s.set(t,{default:"showing"===t.mode}),"showing"===t.mode&&(t.mode="hidden"),xe.call(e,t,"cuechange",(function(){return rt.updateCues.call(e)}))})),(o&&this.language!==a||!t.includes(r))&&(rt.setLanguage.call(this,a),rt.toggle.call(this,n&&o)),be(this.elements.container,this.config.classNames.captions.enabled,!ae(t)),$(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&nt.setCaptionsMenu.call(this)},toggle:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,a=this.config.classNames.captions.active,s=W(e)?!n:e;if(s!==n){if(i||(this.captions.active=s,this.storage.set({captions:s})),!this.language&&s&&!i){var r=rt.getTracks.call(this),o=rt.findTrack.call(this,[this.captions.language].concat(l(this.captions.languages)),!0);return this.captions.language=o.language,void rt.set.call(this,r.indexOf(o))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=s),be(this.elements.container,a,s),this.captions.toggled=s,nt.updateSetting.call(this,"captions"),Oe.call(this,this.media,s?"captionsenabled":"captionsdisabled")}setTimeout((function(){s&&t.captions.toggled&&(t.captions.currentTrackNode.mode="hidden")}))}},set:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=rt.getTracks.call(this);if(-1!==e)if(K(e))if(e in i){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;var n=i[e],a=n||{},s=a.language;this.captions.currentTrackNode=n,nt.updateSetting.call(this,"captions"),t||(this.captions.language=s,this.storage.set({language:s})),this.isVimeo&&this.embed.enableTextTrack(s),Oe.call(this,this.media,"languagechange")}rt.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&rt.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else rt.toggle.call(this,!1,t)},setLanguage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(Y(e)){var i=e.toLowerCase();this.captions.language=i;var n=rt.getTracks.call(this),a=rt.findTrack.call(this,[i]);rt.set.call(this,n.indexOf(a),t)}else this.debug.warn("Invalid language argument",e)},getTracks:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=Array.from((this.media||{}).textTracks||[]);return i.filter((function(i){return!e.isHTML5||t||e.captions.meta.has(i)})).filter((function(e){return["captions","subtitles"].includes(e.kind)}))},findTrack:function(e){var t,i=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=rt.getTracks.call(this),s=function(e){return Number((i.captions.meta.get(e)||{}).default)},r=Array.from(a).sort((function(e,t){return s(t)-s(e)}));return e.every((function(e){return!(t=r.find((function(t){return t.language===e})))})),t||(n?r[0]:void 0)},getCurrentTrack:function(){return rt.getTracks.call(this)[this.currentTrack]},getLabel:function(e){var t=e;return!te(t)&&Ee.textTracks&&this.captions.toggled&&(t=rt.getCurrentTrack.call(this)),te(t)?ae(t.label)?ae(t.language)?Xe("enabled",this.config):e.language.toUpperCase():t.label:Xe("disabled",this.config)},updateCues:function(e){if(this.supported.ui)if(G(this.elements.captions))if(W(e)||Array.isArray(e)){var t=e;if(!t){var i=rt.getCurrentTrack.call(this);t=Array.from((i||{}).activeCues||[]).map((function(e){return e.getCueAsHTML()})).map(Ye)}var n=t.map((function(e){return e.trim()})).join("\n");if(n!==this.elements.captions.innerHTML){fe(this.elements.captions);var a=he("span",ye(this.config.selectors.caption));a.innerHTML=n,this.elements.captions.appendChild(a),Oe.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",e);else this.debug.warn("No captions element to render to")}},ot={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.6.2/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/v2/video/{0}.json"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,premium:!1,referrerPolicy:null},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1}},lt="picture-in-picture",ct="inline",ut={html5:"html5",youtube:"youtube",vimeo:"vimeo"},dt="audio",ht="video";var pt=function(){},mt=function(){function t(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e(this,t),this.enabled=window.console&&i,this.enabled&&this.log("Debugging enabled")}return i(t,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):pt}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):pt}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):pt}}]),t}(),ft=function(){function t(i){var n=this;e(this,t),this.player=i,this.prefix=t.prefix,this.property=t.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===i.config.fullscreen.fallback,this.player.elements.fullscreen=i.config.fullscreen.container&&function(e,t){return(Element.prototype.closest||function(){var e=this;do{if(ke.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}(this.player.elements.container,i.config.fullscreen.container),xe.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),(function(){n.onChange()})),xe.call(this.player,this.player.elements.container,"dblclick",(function(e){G(n.player.elements.controls)&&n.player.elements.controls.contains(e.target)||n.toggle()})),xe.call(this,this.player.elements.container,"keydown",(function(e){return n.trapFocus(e)})),this.update()}return i(t,[{key:"onChange",value:function(){if(this.enabled){var e=this.player.elements.buttons.fullscreen;G(e)&&(e.pressed=this.active),Oe.call(this.player,this.target,this.active?"enterfullscreen":"exitfullscreen",!0)}}},{key:"toggleFallback",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",be(this.target,this.player.config.classNames.fullscreen.fallback,e),oe.isIos){var t=document.head.querySelector('meta[name="viewport"]'),i="viewport-fit=cover";t||(t=document.createElement("meta")).setAttribute("name","viewport");var n=Y(t.content)&&t.content.includes(i);e?(this.cleanupViewport=!n,n||(t.content+=",".concat(i))):this.cleanupViewport&&(t.content=t.content.split(",").filter((function(e){return e.trim()!==i})).join(","))}this.onChange()}},{key:"trapFocus",value:function(e){if(!oe.isIos&&this.active&&"Tab"===e.key&&9===e.keyCode){var t=document.activeElement,i=Te.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),n=o(i,1)[0],a=i[i.length-1];t!==a||e.shiftKey?t===n&&e.shiftKey&&(a.focus(),e.preventDefault()):(n.focus(),e.preventDefault())}}},{key:"update",value:function(){var e;this.enabled?(e=this.forceFallback?"Fallback (forced)":t.native?"Native":"Fallback",this.player.debug.log("".concat(e," fullscreen enabled"))):this.player.debug.log("Fullscreen not supported and fallback disabled");be(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:"enter",value:function(){this.enabled&&(oe.isIos&&this.player.config.fullscreen.iosNative?this.target.webkitEnterFullscreen():!t.native||this.forceFallback?this.toggleFallback(!0):this.prefix?ae(this.prefix)||this.target["".concat(this.prefix,"Request").concat(this.property)]():this.target.requestFullscreen({navigationUI:"hide"}))}},{key:"exit",value:function(){if(this.enabled)if(oe.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),qe(this.player.play());else if(!t.native||this.forceFallback)this.toggleFallback(!1);else if(this.prefix){if(!ae(this.prefix)){var e="moz"===this.prefix?"Cancel":"Exit";document["".concat(this.prefix).concat(e).concat(this.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}},{key:"toggle",value:function(){this.active?this.exit():this.enter()}},{key:"usingNative",get:function(){return t.native&&!this.forceFallback}},{key:"enabled",get:function(){return(t.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){if(!this.enabled)return!1;if(!t.native||this.forceFallback)return we(this.target,this.player.config.classNames.fullscreen.fallback);var e=this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement;return e&&e.shadowRoot?e===this.target.getRootNode().host:e===this.target}},{key:"target",get:function(){return oe.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen||this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(X(document.exitFullscreen))return"";var e="";return["webkit","moz","ms"].some((function(t){return!(!X(document["".concat(t,"ExitFullscreen")])&&!X(document["".concat(t,"CancelFullScreen")]))&&(e=t,!0)})),e}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),t}();function gt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise((function(i,n){var a=new Image,s=function(){delete a.onload,delete a.onerror,(a.naturalWidth>=t?i:n)(a)};Object.assign(a,{onload:s,onerror:s,src:e})}))}var yt={addStyleHook:function(){be(this.elements.container,this.config.selectors.container.replace(".",""),!0),be(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var e=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void yt.toggleNativeControls.call(this,!0);G(this.elements.controls)||(nt.inject.call(this),this.listeners.controls()),yt.toggleNativeControls.call(this),this.isHTML5&&rt.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,nt.updateVolume.call(this),nt.timeUpdate.call(this),yt.checkPlaying.call(this),be(this.elements.container,this.config.classNames.pip.supported,Ee.pip&&this.isHTML5&&this.isVideo),be(this.elements.container,this.config.classNames.airplay.supported,Ee.airplay&&this.isHTML5),be(this.elements.container,this.config.classNames.isIos,oe.isIos),be(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout((function(){Oe.call(e,e.media,"ready")}),0),yt.setTitle.call(this),this.poster&&yt.setPoster.call(this,this.poster,!1).catch((function(){})),this.config.duration&&nt.durationUpdate.call(this)},setTitle:function(){var e=Xe("play",this.config);if(Y(this.config.title)&&!ae(this.config.title)&&(e+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach((function(t){t.setAttribute("aria-label",e)})),this.isEmbed){var t=Ce.call(this,"iframe");if(!G(t))return;var i=ae(this.config.title)?"video":this.config.title,n=Xe("frameTitle",this.config);t.setAttribute("title",n.replace("{title}",i))}},togglePoster:function(e){be(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return i&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",e),je.call(this).then((function(){return gt(e)})).catch((function(i){throw e===t.poster&&yt.togglePoster.call(t,!1),i})).then((function(){if(e!==t.poster)throw new Error("setPoster cancelled by later call to setPoster")})).then((function(){return Object.assign(t.elements.poster.style,{backgroundImage:"url('".concat(e,"')"),backgroundSize:""}),yt.togglePoster.call(t,!0),e})))},checkPlaying:function(e){var t=this;be(this.elements.container,this.config.classNames.playing,this.playing),be(this.elements.container,this.config.classNames.paused,this.paused),be(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach((function(e){Object.assign(e,{pressed:t.playing}),e.setAttribute("aria-label",Xe(t.playing?"pause":"play",t.config))})),Z(e)&&"timeupdate"===e.type||yt.toggleControls.call(this)},checkLoading:function(e){var t=this;this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout((function(){be(t.elements.container,t.config.classNames.loading,t.loading),yt.toggleControls.call(t)}),this.loading?250:0)},toggleControls:function(e){var t=this.elements.controls;if(t&&this.config.hideControls){var i=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||i))}},migrateStyles:function(){var e=this;Object.values(s({},this.media.style)).filter((function(e){return!ae(e)&&e.startsWith("--plyr")})).forEach((function(t){e.elements.container.style.setProperty(t,e.media.style.getPropertyValue(t)),e.media.style.removeProperty(t)})),ae(this.media.style)&&this.media.removeAttribute("style")}},vt=function(){function t(i){e(this,t),this.player=i,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return i(t,[{key:"handleKey",value:function(e){var t=this.player,i=t.elements,n=e.keyCode?e.keyCode:e.which,a="keydown"===e.type,s=a&&n===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&K(n)){if(a){var r=document.activeElement;if(G(r)){var o=t.config.selectors.editable;if(r!==i.inputs.seek&&ke(r,o))return;if(32===e.which&&ke(r,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(n)&&(e.preventDefault(),e.stopPropagation()),n){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:s||(t.currentTime=t.duration/10*(n-48));break;case 32:case 75:s||qe(t.togglePlay());break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:s||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:s||t.toggleCaptions();break;case 76:t.loop=!t.loop}27===n&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=n}else this.lastKey=null}}},{key:"toggleMenu",value:function(e){nt.toggleMenu.call(this.player,e)}},{key:"firstTouch",value:function(){var e=this.player,t=e.elements;e.touch=!0,be(t.container,e.config.classNames.isTouch,!0)}},{key:"setTabFocus",value:function(e){var t=this.player,i=t.elements;if(clearTimeout(this.focusTimer),"keydown"!==e.type||9===e.which){"keydown"===e.type&&(this.lastKeyDown=e.timeStamp);var n,a=e.timeStamp-this.lastKeyDown<=20;if("focus"!==e.type||a)n=t.config.classNames.tabFocus,be(Te.call(t,".".concat(n)),n,!1),"focusout"!==e.type&&(this.focusTimer=setTimeout((function(){var e=document.activeElement;i.container.contains(e)&&be(document.activeElement,t.config.classNames.tabFocus,!0)}),10))}}},{key:"global",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.player;t.config.keyboard.global&&Me.call(t,window,"keydown keyup",this.handleKey,e,!1),Me.call(t,document.body,"click",this.toggleMenu,e),Le.call(t,document.body,"touchstart",this.firstTouch),Me.call(t,document.body,"keydown focus blur focusout",this.setTabFocus,e,!1,!0)}},{key:"container",value:function(){var e=this.player,t=e.config,i=e.elements,n=e.timers;!t.keyboard.global&&t.keyboard.focused&&xe.call(e,i.container,"keydown keyup",this.handleKey,!1),xe.call(e,i.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",(function(t){var a=i.controls;a&&"enterfullscreen"===t.type&&(a.pressed=!1,a.hover=!1);var s=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(yt.toggleControls.call(e,!0),s=e.touch?3e3:2e3),clearTimeout(n.controls),n.controls=setTimeout((function(){return yt.toggleControls.call(e,!1)}),s)}));var a=function(t){if(!t)return Re.call(e);var n=i.container.getBoundingClientRect(),a=n.width,s=n.height;return Re.call(e,"".concat(a,":").concat(s))},s=function(){clearTimeout(n.resized),n.resized=setTimeout(a,50)};xe.call(e,i.container,"enterfullscreen exitfullscreen",(function(t){var n=e.fullscreen,r=n.target,l=n.usingNative;if(r===i.container&&(e.isEmbed||!ae(e.config.ratio))){var c="enterfullscreen"===t.type,u=a(c);u.padding;!function(t,i,n){if(e.isVimeo&&!e.config.vimeo.premium){var a=e.elements.wrapper.firstChild,s=o(t,2)[1],r=o(Fe.call(e),2),l=r[0],c=r[1];a.style.maxWidth=n?"".concat(s/c*l,"px"):null,a.style.margin=n?"0 auto":null}}(u.ratio,0,c),l||(c?xe.call(e,window,"resize",s):Ie.call(e,window,"resize",s))}}))}},{key:"media",value:function(){var e=this,t=this.player,i=t.elements;if(xe.call(t,t.media,"timeupdate seeking seeked",(function(e){return nt.timeUpdate.call(t,e)})),xe.call(t,t.media,"durationchange loadeddata loadedmetadata",(function(e){return nt.durationUpdate.call(t,e)})),xe.call(t,t.media,"ended",(function(){t.isHTML5&&t.isVideo&&t.config.resetOnEnd&&(t.restart(),t.pause())})),xe.call(t,t.media,"progress playing seeking seeked",(function(e){return nt.updateProgress.call(t,e)})),xe.call(t,t.media,"volumechange",(function(e){return nt.updateVolume.call(t,e)})),xe.call(t,t.media,"playing play pause ended emptied timeupdate",(function(e){return yt.checkPlaying.call(t,e)})),xe.call(t,t.media,"waiting canplay seeked playing",(function(e){return yt.checkLoading.call(t,e)})),t.supported.ui&&t.config.clickToPlay&&!t.isAudio){var n=Ce.call(t,".".concat(t.config.classNames.video));if(!G(n))return;xe.call(t,i.container,"click",(function(a){([i.container,n].includes(a.target)||n.contains(a.target))&&(t.touch&&t.config.hideControls||(t.ended?(e.proxy(a,t.restart,"restart"),e.proxy(a,(function(){qe(t.play())}),"play")):e.proxy(a,(function(){qe(t.togglePlay())}),"play")))}))}t.supported.ui&&t.config.disableContextMenu&&xe.call(t,i.wrapper,"contextmenu",(function(e){e.preventDefault()}),!1),xe.call(t,t.media,"volumechange",(function(){t.storage.set({volume:t.volume,muted:t.muted})})),xe.call(t,t.media,"ratechange",(function(){nt.updateSetting.call(t,"speed"),t.storage.set({speed:t.speed})})),xe.call(t,t.media,"qualitychange",(function(e){nt.updateSetting.call(t,"quality",null,e.detail.quality)})),xe.call(t,t.media,"ready qualitychange",(function(){nt.setDownloadUrl.call(t)}));var a=t.config.events.concat(["keyup","keydown"]).join(" ");xe.call(t,t.media,a,(function(e){var n=e.detail,a=void 0===n?{}:n;"error"===e.type&&(a=t.media.error),Oe.call(t,i.container,e.type,!0,a)}))}},{key:"proxy",value:function(e,t,i){var n=this.player,a=n.config.listeners[i],s=!0;X(a)&&(s=a.call(n,e)),!1!==s&&X(t)&&t.call(n,e)}},{key:"bind",value:function(e,t,i,n){var a=this,s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=this.player,o=r.config.listeners[n],l=X(o);xe.call(r,e,t,(function(e){return a.proxy(e,i,n)}),s&&!l)}},{key:"controls",value:function(){var e=this,t=this.player,i=t.elements,n=oe.isIE?"change":"input";if(i.buttons.play&&Array.from(i.buttons.play).forEach((function(i){e.bind(i,"click",(function(){qe(t.togglePlay())}),"play")})),this.bind(i.buttons.restart,"click",t.restart,"restart"),this.bind(i.buttons.rewind,"click",t.rewind,"rewind"),this.bind(i.buttons.fastForward,"click",t.forward,"fastForward"),this.bind(i.buttons.mute,"click",(function(){t.muted=!t.muted}),"mute"),this.bind(i.buttons.captions,"click",(function(){return t.toggleCaptions()})),this.bind(i.buttons.download,"click",(function(){Oe.call(t,t.media,"download")}),"download"),this.bind(i.buttons.fullscreen,"click",(function(){t.fullscreen.toggle()}),"fullscreen"),this.bind(i.buttons.pip,"click",(function(){t.pip="toggle"}),"pip"),this.bind(i.buttons.airplay,"click",t.airplay,"airplay"),this.bind(i.buttons.settings,"click",(function(e){e.stopPropagation(),e.preventDefault(),nt.toggleMenu.call(t,e)}),null,!1),this.bind(i.buttons.settings,"keyup",(function(e){var i=e.which;[13,32].includes(i)&&(13!==i?(e.preventDefault(),e.stopPropagation(),nt.toggleMenu.call(t,e)):nt.focusFirstMenuItem.call(t,null,!0))}),null,!1),this.bind(i.settings.menu,"keydown",(function(e){27===e.which&&nt.toggleMenu.call(t,e)})),this.bind(i.inputs.seek,"mousedown mousemove",(function(e){var t=i.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);e.currentTarget.setAttribute("seek-value",n)})),this.bind(i.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",(function(e){var i=e.currentTarget,n=e.keyCode?e.keyCode:e.which;if(!ee(e)||39===n||37===n){t.lastSeekTime=Date.now();var a=i.hasAttribute("play-on-seeked"),s=["mouseup","touchend","keyup"].includes(e.type);a&&s?(i.removeAttribute("play-on-seeked"),qe(t.play())):!s&&t.playing&&(i.setAttribute("play-on-seeked",""),t.pause())}})),oe.isIos){var a=Te.call(t,'input[type="range"]');Array.from(a).forEach((function(t){return e.bind(t,n,(function(e){return re(e.target)}))}))}this.bind(i.inputs.seek,n,(function(e){var i=e.currentTarget,n=i.getAttribute("seek-value");ae(n)&&(n=i.value),i.removeAttribute("seek-value"),t.currentTime=n/i.max*t.duration}),"seek"),this.bind(i.progress,"mouseenter mouseleave mousemove",(function(e){return nt.updateSeekTooltip.call(t,e)})),this.bind(i.progress,"mousemove touchmove",(function(e){var i=t.previewThumbnails;i&&i.loaded&&i.startMove(e)})),this.bind(i.progress,"mouseleave touchend click",(function(){var e=t.previewThumbnails;e&&e.loaded&&e.endMove(!1,!0)})),this.bind(i.progress,"mousedown touchstart",(function(e){var i=t.previewThumbnails;i&&i.loaded&&i.startScrubbing(e)})),this.bind(i.progress,"mouseup touchend",(function(e){var i=t.previewThumbnails;i&&i.loaded&&i.endScrubbing(e)})),oe.isWebkit&&Array.from(Te.call(t,'input[type="range"]')).forEach((function(i){e.bind(i,"input",(function(e){return nt.updateRangeFill.call(t,e.target)}))})),t.config.toggleInvert&&!G(i.display.duration)&&this.bind(i.display.currentTime,"click",(function(){0!==t.currentTime&&(t.config.invertTime=!t.config.invertTime,nt.timeUpdate.call(t))})),this.bind(i.inputs.volume,n,(function(e){t.volume=e.target.value}),"volume"),this.bind(i.controls,"mouseenter mouseleave",(function(e){i.controls.hover=!t.touch&&"mouseenter"===e.type})),i.fullscreen&&Array.from(i.fullscreen.children).filter((function(e){return!e.contains(i.container)})).forEach((function(n){e.bind(n,"mouseenter mouseleave",(function(e){i.controls.hover=!t.touch&&"mouseenter"===e.type}))})),this.bind(i.controls,"mousedown mouseup touchstart touchend touchcancel",(function(e){i.controls.pressed=["mousedown","touchstart"].includes(e.type)})),this.bind(i.controls,"focusin",(function(){var n=t.config,a=t.timers;be(i.controls,n.classNames.noTransition,!0),yt.toggleControls.call(t,!0),setTimeout((function(){be(i.controls,n.classNames.noTransition,!1)}),0);var s=e.touch?3e3:4e3;clearTimeout(a.controls),a.controls=setTimeout((function(){return yt.toggleControls.call(t,!1)}),s)})),this.bind(i.inputs.volume,"wheel",(function(e){var i=e.webkitDirectionInvertedFromDevice,n=o([e.deltaX,-e.deltaY].map((function(e){return i?-e:e})),2),a=n[0],s=n[1],r=Math.sign(Math.abs(a)>Math.abs(s)?a:s);t.increaseVolume(r/50);var l=t.media.volume;(1===r&&l<1||-1===r&&l>0)&&e.preventDefault()}),"volume",!1)}}]),t}();"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var bt=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){e.exports=function(){var e=function(){},t={},i={},n={};function a(e,t){if(e){var a=n[e];if(i[e]=t,a)for(;a.length;)a[0](e,t),a.splice(0,1)}}function s(t,i){t.call&&(t={success:t}),i.length?(t.error||e)(i):(t.success||e)(t)}function r(t,i,n,a){var s,o,l=document,c=n.async,u=(n.numRetries||0)+1,d=n.before||e,h=t.replace(/[\?|#].*$/,""),p=t.replace(/^(css|img)!/,"");a=a||0,/(^css!|\.css$)/.test(h)?((o=l.createElement("link")).rel="stylesheet",o.href=p,(s="hideFocus"in o)&&o.relList&&(s=0,o.rel="preload",o.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(h)?(o=l.createElement("img")).src=p:((o=l.createElement("script")).src=t,o.async=void 0===c||c),o.onload=o.onerror=o.onbeforeload=function(e){var l=e.type[0];if(s)try{o.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((a+=1)<u)return r(t,i,n,a)}else if("preload"==o.rel&&"style"==o.as)return o.rel="stylesheet";i(t,l,e.defaultPrevented)},!1!==d(t,o)&&l.head.appendChild(o)}function o(e,i,n){var o,l;if(i&&i.trim&&(o=i),l=(o?n:i)||{},o){if(o in t)throw"LoadJS";t[o]=!0}function c(t,i){!function(e,t,i){var n,a,s=(e=e.push?e:[e]).length,o=s,l=[];for(n=function(e,i,n){if("e"==i&&l.push(e),"b"==i){if(!n)return;l.push(e)}--s||t(l)},a=0;a<o;a++)r(e[a],n,i)}(e,(function(e){s(l,e),t&&s({success:t,error:i},e),a(o,e)}),l)}if(l.returnPromise)return new Promise(c);c()}return o.ready=function(e,t){return function(e,t){e=e.push?e:[e];var a,s,r,o=[],l=e.length,c=l;for(a=function(e,i){i.length&&o.push(e),--c||t(o)};l--;)s=e[l],(r=i[s])?a(s,r):(n[s]=n[s]||[]).push(a)}(e,(function(e){s(t,e)})),o},o.done=function(e){a(e,[])},o.reset=function(){t={},i={},n={}},o.isDefined=function(e){return e in t},o}()}));function wt(e){return new Promise((function(t,i){bt(e,{success:t,error:i})}))}function kt(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,Oe.call(this,this.media,e?"play":"pause"))}var Tt={setup:function(){var e=this;be(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,Re.call(e),z(window.Vimeo)?Tt.ready.call(e):wt(e.config.urls.vimeo.sdk).then((function(){Tt.ready.call(e)})).catch((function(t){e.debug.warn("Vimeo SDK (player.js) failed to load",t)}))},ready:function(){var e=this,t=this,i=t.config.vimeo,n=i.premium,a=i.referrerPolicy,l=r(i,["premium","referrerPolicy"]);n&&Object.assign(l,{controls:!1,sidedock:!1});var c=st(s({loop:t.config.loop.active,autoplay:t.autoplay,muted:t.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative},l)),u=t.media.getAttribute("src");ae(u)&&(u=t.media.getAttribute(t.config.attributes.embed.id));var d,h=ae(d=u)?null:K(Number(d))?d:d.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:d,p=he("iframe"),m=Ue(t.config.urls.vimeo.iframe,h,c);p.setAttribute("src",m),p.setAttribute("allowfullscreen",""),p.setAttribute("allow","autoplay,fullscreen,picture-in-picture"),ae(a)||p.setAttribute("referrerPolicy",a);var f=t.poster;if(n)p.setAttribute("data-poster",f),t.media=ge(p,t.media);else{var g=he("div",{class:t.config.classNames.embedContainer,"data-poster":f});g.appendChild(p),t.media=ge(g,t.media)}Je(Ue(t.config.urls.vimeo.api,h),"json").then((function(e){if(!ae(e)){var i=new URL(e[0].thumbnail_large);i.pathname="".concat(i.pathname.split("_")[0],".jpg"),yt.setPoster.call(t,i.href).catch((function(){}))}})),t.embed=new window.Vimeo.Player(p,{autopause:t.config.autopause,muted:t.muted}),t.media.paused=!0,t.media.currentTime=0,t.supported.ui&&t.embed.disableTextTrack(),t.media.play=function(){return kt.call(t,!0),t.embed.play()},t.media.pause=function(){return kt.call(t,!1),t.embed.pause()},t.media.stop=function(){t.pause(),t.currentTime=0};var y=t.media.currentTime;Object.defineProperty(t.media,"currentTime",{get:function(){return y},set:function(e){var i=t.embed,n=t.media,a=t.paused,s=t.volume,r=a&&!i.hasPlayed;n.seeking=!0,Oe.call(t,n,"seeking"),Promise.resolve(r&&i.setVolume(0)).then((function(){return i.setCurrentTime(e)})).then((function(){return r&&i.pause()})).then((function(){return r&&i.setVolume(s)})).catch((function(){}))}});var v=t.config.speed.selected;Object.defineProperty(t.media,"playbackRate",{get:function(){return v},set:function(e){t.embed.setPlaybackRate(e).then((function(){v=e,Oe.call(t,t.media,"ratechange")})).catch((function(){t.options.speed=[1]}))}});var b=t.config.volume;Object.defineProperty(t.media,"volume",{get:function(){return b},set:function(e){t.embed.setVolume(e).then((function(){b=e,Oe.call(t,t.media,"volumechange")}))}});var w=t.config.muted;Object.defineProperty(t.media,"muted",{get:function(){return w},set:function(e){var i=!!Q(e)&&e;t.embed.setVolume(i?0:t.config.volume).then((function(){w=i,Oe.call(t,t.media,"volumechange")}))}});var k,T=t.config.loop;Object.defineProperty(t.media,"loop",{get:function(){return T},set:function(e){var i=Q(e)?e:t.config.loop.active;t.embed.setLoop(i).then((function(){T=i}))}}),t.embed.getVideoUrl().then((function(e){k=e,nt.setDownloadUrl.call(t)})).catch((function(t){e.debug.warn(t)})),Object.defineProperty(t.media,"currentSrc",{get:function(){return k}}),Object.defineProperty(t.media,"ended",{get:function(){return t.currentTime===t.duration}}),Promise.all([t.embed.getVideoWidth(),t.embed.getVideoHeight()]).then((function(i){var n=o(i,2),a=n[0],s=n[1];t.embed.ratio=[a,s],Re.call(e)})),t.embed.setAutopause(t.config.autopause).then((function(e){t.config.autopause=e})),t.embed.getVideoTitle().then((function(i){t.config.title=i,yt.setTitle.call(e)})),t.embed.getCurrentTime().then((function(e){y=e,Oe.call(t,t.media,"timeupdate")})),t.embed.getDuration().then((function(e){t.media.duration=e,Oe.call(t,t.media,"durationchange")})),t.embed.getTextTracks().then((function(e){t.media.textTracks=e,rt.setup.call(t)})),t.embed.on("cuechange",(function(e){var i=e.cues,n=(void 0===i?[]:i).map((function(e){return function(e){var t=document.createDocumentFragment(),i=document.createElement("div");return t.appendChild(i),i.innerHTML=e,t.firstChild.innerText}(e.text)}));rt.updateCues.call(t,n)})),t.embed.on("loaded",(function(){(t.embed.getPaused().then((function(e){kt.call(t,!e),e||Oe.call(t,t.media,"playing")})),G(t.embed.element)&&t.supported.ui)&&t.embed.element.setAttribute("tabindex",-1)})),t.embed.on("bufferstart",(function(){Oe.call(t,t.media,"waiting")})),t.embed.on("bufferend",(function(){Oe.call(t,t.media,"playing")})),t.embed.on("play",(function(){kt.call(t,!0),Oe.call(t,t.media,"playing")})),t.embed.on("pause",(function(){kt.call(t,!1)})),t.embed.on("timeupdate",(function(e){t.media.seeking=!1,y=e.seconds,Oe.call(t,t.media,"timeupdate")})),t.embed.on("progress",(function(e){t.media.buffered=e.percent,Oe.call(t,t.media,"progress"),1===parseInt(e.percent,10)&&Oe.call(t,t.media,"canplaythrough"),t.embed.getDuration().then((function(e){e!==t.media.duration&&(t.media.duration=e,Oe.call(t,t.media,"durationchange"))}))})),t.embed.on("seeked",(function(){t.media.seeking=!1,Oe.call(t,t.media,"seeked")})),t.embed.on("ended",(function(){t.media.paused=!0,Oe.call(t,t.media,"ended")})),t.embed.on("error",(function(e){t.media.error=e,Oe.call(t,t.media,"error")})),setTimeout((function(){return yt.build.call(t)}),0)}};function Ct(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,Oe.call(this,this.media,e?"play":"pause"))}function At(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}var St={setup:function(){var e=this;if(be(this.elements.wrapper,this.config.classNames.embed,!0),z(window.YT)&&X(window.YT.Player))St.ready.call(this);else{var t=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){X(t)&&t(),St.ready.call(e)},wt(this.config.urls.youtube.sdk).catch((function(t){e.debug.warn("YouTube API failed to load",t)}))}},getTitle:function(e){var t=this;Je(Ue(this.config.urls.youtube.api,e)).then((function(e){if(z(e)){var i=e.title,n=e.height,a=e.width;t.config.title=i,yt.setTitle.call(t),t.embed.ratio=[a,n]}Re.call(t)})).catch((function(){Re.call(t)}))},ready:function(){var e=this,t=e.media&&e.media.getAttribute("id");if(ae(t)||!t.startsWith("youtube-")){var i=e.media.getAttribute("src");ae(i)&&(i=e.media.getAttribute(this.config.attributes.embed.id));var n,a,s=ae(n=i)?null:n.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:n,r=(a=e.provider,"".concat(a,"-").concat(Math.floor(1e4*Math.random()))),o=he("div",{id:r,"data-poster":e.poster});e.media=ge(o,e.media);var l=function(e){return"https://i.ytimg.com/vi/".concat(s,"/").concat(e,"default.jpg")};gt(l("maxres"),121).catch((function(){return gt(l("sd"),121)})).catch((function(){return gt(l("hq"))})).then((function(t){return yt.setPoster.call(e,t.src)})).then((function(t){t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")})).catch((function(){}));var c=e.config.youtube;e.embed=new window.YT.Player(r,{videoId:s,host:At(c),playerVars:ce({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui?0:1,disablekb:1,playsinline:e.config.fullscreen.iosNative?0:1,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},c),events:{onError:function(t){if(!e.media.error){var i=t.data,n={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[i]||"An unknown error occured";e.media.error={code:i,message:n},Oe.call(e,e.media,"error")}},onPlaybackRateChange:function(t){var i=t.target;e.media.playbackRate=i.getPlaybackRate(),Oe.call(e,e.media,"ratechange")},onReady:function(t){if(!X(e.media.play)){var i=t.target;St.getTitle.call(e,s),e.media.play=function(){Ct.call(e,!0),i.playVideo()},e.media.pause=function(){Ct.call(e,!1),i.pauseVideo()},e.media.stop=function(){i.stopVideo()},e.media.duration=i.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:function(){return Number(i.getCurrentTime())},set:function(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,Oe.call(e,e.media,"seeking"),i.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:function(){return i.getPlaybackRate()},set:function(e){i.setPlaybackRate(e)}});var n=e.config.volume;Object.defineProperty(e.media,"volume",{get:function(){return n},set:function(t){n=t,i.setVolume(100*n),Oe.call(e,e.media,"volumechange")}});var a=e.config.muted;Object.defineProperty(e.media,"muted",{get:function(){return a},set:function(t){var n=Q(t)?t:a;a=n,i[n?"mute":"unMute"](),Oe.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:function(){return i.getVideoUrl()}}),Object.defineProperty(e.media,"ended",{get:function(){return e.currentTime===e.duration}});var r=i.getAvailablePlaybackRates();e.options.speed=r.filter((function(t){return e.config.speed.options.includes(t)})),e.supported.ui&&e.media.setAttribute("tabindex",-1),Oe.call(e,e.media,"timeupdate"),Oe.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval((function(){e.media.buffered=i.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBuffered<e.media.buffered)&&Oe.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,1===e.media.buffered&&(clearInterval(e.timers.buffering),Oe.call(e,e.media,"canplaythrough"))}),200),setTimeout((function(){return yt.build.call(e)}),50)}},onStateChange:function(t){var i=t.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(t.data)&&(e.media.seeking=!1,Oe.call(e,e.media,"seeked")),t.data){case-1:Oe.call(e,e.media,"timeupdate"),e.media.buffered=i.getVideoLoadedFraction(),Oe.call(e,e.media,"progress");break;case 0:Ct.call(e,!1),e.media.loop?(i.stopVideo(),i.playVideo()):Oe.call(e,e.media,"ended");break;case 1:e.config.autoplay||!e.media.paused||e.embed.hasPlayed?(Ct.call(e,!0),Oe.call(e,e.media,"playing"),e.timers.playing=setInterval((function(){Oe.call(e,e.media,"timeupdate")}),50),e.media.duration!==i.getDuration()&&(e.media.duration=i.getDuration(),Oe.call(e,e.media,"durationchange"))):e.media.pause();break;case 2:e.muted||e.embed.unMute(),Ct.call(e,!1);break;case 3:Oe.call(e,e.media,"waiting")}Oe.call(e,e.elements.container,"statechange",!1,{code:t.data})}}})}}},Pt={setup:function(){this.media?(be(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),be(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&be(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=he("div",{class:this.config.classNames.video}),ue(this.media,this.elements.wrapper),this.elements.poster=he("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?Ve.setup.call(this):this.isYouTube?St.setup.call(this):this.isVimeo&&Tt.setup.call(this)):this.debug.warn("No media element found!")}},Et=function(){function t(i){var n=this;e(this,t),this.player=i,this.config=i.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise((function(e,t){n.on("loaded",e),n.on("error",t)})),this.load()}return i(t,[{key:"load",value:function(){var e=this;this.enabled&&(z(window.google)&&z(window.google.ima)?this.ready():wt(this.player.config.urls.googleIMA.sdk).then((function(){e.ready()})).catch((function(){e.trigger("error",new Error("Google IMA SDK failed to load"))})))}},{key:"ready",value:function(){var e,t=this;this.enabled||((e=this).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then((function(){t.clearSafetyTimer("onAdsManagerLoaded()")})),this.listeners(),this.setupIMA()}},{key:"setupIMA",value:function(){var e=this;this.elements.container=he("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(function(t){return e.onAdsManagerLoaded(t)}),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(t){return e.onAdError(t)}),!1),this.requestAds()}},{key:"requestAds",value:function(){var e=this.player.elements.container;try{var t=new google.ima.AdsRequest;t.adTagUrl=this.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(t)}catch(e){this.onAdError(e)}}},{key:"pollCountdown",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!t)return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");var i=function(){var t=it(Math.max(e.manager.getRemainingTime(),0)),i="".concat(Xe("advertisement",e.player.config)," - ").concat(t);e.elements.container.setAttribute("data-badge-text",i)};this.countdownTimer=setInterval(i,100)}},{key:"onAdsManagerLoaded",value:function(e){var t=this;if(this.enabled){var i=new google.ima.AdsRenderingSettings;i.restoreCustomPlaybackStateOnAdBreakComplete=!0,i.enablePreloading=!0,this.manager=e.getAdsManager(this.player,i),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){return t.onAdError(e)})),Object.keys(google.ima.AdEvent.Type).forEach((function(e){t.manager.addEventListener(google.ima.AdEvent.Type[e],(function(e){return t.onAdEvent(e)}))})),this.trigger("loaded")}}},{key:"addCuePoints",value:function(){var e=this;ae(this.cuePoints)||this.cuePoints.forEach((function(t){if(0!==t&&-1!==t&&t<e.player.duration){var i=e.player.elements.progress;if(G(i)){var n=100/e.player.duration*t,a=he("span",{class:e.player.config.classNames.cues});a.style.left="".concat(n.toString(),"%"),i.appendChild(a)}}}))}},{key:"onAdEvent",value:function(e){var t=this,i=this.player.elements.container,n=e.getAd(),a=e.getAdData();switch(function(e){Oe.call(t.player,t.player.media,"ads".concat(e.replace(/_/g,"").toLowerCase()))}(e.type),e.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),n.isLinear()||(n.width=i.offsetWidth,n.height=i.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:a.adError&&this.player.debug.warn("Non-fatal ad error: ".concat(a.adError.getMessage()))}}},{key:"onAdError",value:function(e){this.cancel(),this.player.debug.warn("Ads error",e)}},{key:"listeners",value:function(){var e,t=this,i=this.player.elements.container;this.player.on("canplay",(function(){t.addCuePoints()})),this.player.on("ended",(function(){t.loader.contentComplete()})),this.player.on("timeupdate",(function(){e=t.player.currentTime})),this.player.on("seeked",(function(){var i=t.player.currentTime;ae(t.cuePoints)||t.cuePoints.forEach((function(n,a){e<n&&n<i&&(t.manager.discardAdBreak(),t.cuePoints.splice(a,1))}))})),window.addEventListener("resize",(function(){t.manager&&t.manager.resize(i.offsetWidth,i.offsetHeight,google.ima.ViewMode.NORMAL)}))}},{key:"play",value:function(){var e=this,t=this.player.elements.container;this.managerPromise||this.resumeContent(),this.managerPromise.then((function(){e.manager.setVolume(e.player.volume),e.elements.displayContainer.initialize();try{e.initialized||(e.manager.init(t.offsetWidth,t.offsetHeight,google.ima.ViewMode.NORMAL),e.manager.start()),e.initialized=!0}catch(t){e.onAdError(t)}})).catch((function(){}))}},{key:"resumeContent",value:function(){this.elements.container.style.zIndex="",this.playing=!1,qe(this.player.media.play())}},{key:"pauseContent",value:function(){this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()}},{key:"cancel",value:function(){this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()}},{key:"loadAds",value:function(){var e=this;this.managerPromise.then((function(){e.manager&&e.manager.destroy(),e.managerPromise=new Promise((function(t){e.on("loaded",t),e.player.debug.log(e.manager)})),e.initialized=!1,e.requestAds()})).catch((function(){}))}},{key:"trigger",value:function(e){for(var t=this,i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];var s=this.events[e];$(s)&&s.forEach((function(e){X(e)&&e.apply(t,n)}))}},{key:"on",value:function(e,t){return $(this.events[e])||(this.events[e]=[]),this.events[e].push(t),this}},{key:"startSafetyTimer",value:function(e,t){var i=this;this.player.debug.log("Safety timer invoked from: ".concat(t)),this.safetyTimer=setTimeout((function(){i.cancel(),i.clearSafetyTimer("startSafetyTimer()")}),e)}},{key:"clearSafetyTimer",value:function(e){W(this.safetyTimer)||(this.player.debug.log("Safety timer cleared from: ".concat(e)),clearTimeout(this.safetyTimer),this.safetyTimer=null)}},{key:"enabled",get:function(){var e=this.config;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!ae(e.publisherId)||ne(e.tagUrl))}},{key:"tagUrl",get:function(){var e=this.config;if(ne(e.tagUrl))return e.tagUrl;var t={AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId};return"".concat("https://go.aniview.com/api/adserver6/vast/","?").concat(st(t))}}]),t}(),Nt=function(e,t){var i={};return e>t.width/t.height?(i.width=t.width,i.height=1/e*t.width):(i.height=t.height,i.width=e*t.height),i},Mt=function(){function t(i){e(this,t),this.player=i,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}return i(t,[{key:"load",value:function(){var e=this;this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then((function(){e.enabled&&(e.render(),e.determineContainerAutoSizing(),e.loaded=!0)}))}},{key:"getThumbnails",value:function(){var e=this;return new Promise((function(t){var i=e.player.config.previewThumbnails.src;if(ae(i))throw new Error("Missing previewThumbnails.src config attribute");var n=function(){e.thumbnails.sort((function(e,t){return e.height-t.height})),e.player.debug.log("Preview thumbnails",e.thumbnails),t()};if(X(i))i((function(t){e.thumbnails=t,n()}));else{var a=(Y(i)?[i]:i).map((function(t){return e.getThumbnail(t)}));Promise.all(a).then(n)}}))}},{key:"getThumbnail",value:function(e){var t=this;return new Promise((function(i){Je(e).then((function(n){var a,s,r={frames:(a=n,s=[],a.split(/\r\n\r\n|\n\n|\r\r/).forEach((function(e){var t={};e.split(/\r\n|\n|\r/).forEach((function(e){if(K(t.startTime)){if(!ae(e.trim())&&ae(t.text)){var i=e.trim().split("#xywh="),n=o(i,1);if(t.text=n[0],i[1]){var a=o(i[1].split(","),4);t.x=a[0],t.y=a[1],t.w=a[2],t.h=a[3]}}}else{var s=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);s&&(t.startTime=60*Number(s[1]||0)*60+60*Number(s[2])+Number(s[3])+Number("0.".concat(s[4])),t.endTime=60*Number(s[6]||0)*60+60*Number(s[7])+Number(s[8])+Number("0.".concat(s[9])))}})),t.text&&s.push(t)})),s),height:null,urlPrefix:""};r.frames[0].text.startsWith("/")||r.frames[0].text.startsWith("http://")||r.frames[0].text.startsWith("https://")||(r.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));var l=new Image;l.onload=function(){r.height=l.naturalHeight,r.width=l.naturalWidth,t.thumbnails.push(r),i()},l.src=r.urlPrefix+r.frames[0].text}))}))}},{key:"startMove",value:function(e){if(this.loaded&&Z(e)&&["touchmove","mousemove"].includes(e.type)&&this.player.media.duration){if("touchmove"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var t=this.player.elements.progress.getBoundingClientRect(),i=100/t.width*(e.pageX-t.left);this.seekTime=this.player.media.duration*(i/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=it(this.seekTime)}this.showImageAtCurrentTime()}}},{key:"endMove",value:function(){this.toggleThumbContainer(!1,!0)}},{key:"startScrubbing",value:function(e){(W(e.button)||!1===e.button||0===e.button)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}},{key:"endScrubbing",value:function(){var e=this;this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):Le.call(this.player,this.player.media,"timeupdate",(function(){e.mouseDown||e.toggleScrubbingContainer(!1)}))}},{key:"listeners",value:function(){var e=this;this.player.on("play",(function(){e.toggleThumbContainer(!1,!0)})),this.player.on("seeked",(function(){e.toggleThumbContainer(!1)})),this.player.on("timeupdate",(function(){e.lastTime=e.player.media.currentTime}))}},{key:"render",value:function(){this.elements.thumb.container=he("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=he("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);var e=he("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=he("span",{},"00:00"),e.appendChild(this.elements.thumb.time),this.elements.thumb.container.appendChild(e),G(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=he("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}},{key:"destroy",value:function(){this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()}},{key:"showImageAtCurrentTime",value:function(){var e=this;this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();var t=this.thumbnails[0].frames.findIndex((function(t){return e.seekTime>=t.startTime&&e.seekTime<=t.endTime})),i=t>=0,n=0;this.mouseDown||this.toggleThumbContainer(i),i&&(this.thumbnails.forEach((function(i,a){e.loadedImages.includes(i.frames[t].text)&&(n=a)})),t!==this.showingThumb&&(this.showingThumb=t,this.loadImage(n)))}},{key:"loadImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=this.showingThumb,n=this.thumbnails[t],a=n.urlPrefix,s=n.frames[i],r=n.frames[i].text,o=a+r;if(this.currentImageElement&&this.currentImageElement.dataset.filename===r)this.showImage(this.currentImageElement,s,t,i,r,!1),this.currentImageElement.dataset.index=i,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);var l=new Image;l.src=o,l.dataset.index=i,l.dataset.filename=r,this.showingThumbFilename=r,this.player.debug.log("Loading image: ".concat(o)),l.onload=function(){return e.showImage(l,s,t,i,r,!0)},this.loadingImage=l,this.removeOldImages(l)}}},{key:"showImage",value:function(e,t,i,n,a){var s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];this.player.debug.log("Showing thumb: ".concat(a,". num: ").concat(n,". qual: ").concat(i,". newimg: ").concat(s)),this.setImageSizeAndOffset(e,t),s&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(a)||this.loadedImages.push(a)),this.preloadNearby(n,!0).then(this.preloadNearby(n,!1)).then(this.getHigherQuality(i,e,t,a))}},{key:"removeOldImages",value:function(e){var t=this;Array.from(this.currentImageContainer.children).forEach((function(i){if("img"===i.tagName.toLowerCase()){var n=t.usingSprites?500:1e3;if(i.dataset.index!==e.dataset.index&&!i.dataset.deleting){i.dataset.deleting=!0;var a=t.currentImageContainer;setTimeout((function(){a.removeChild(i),t.player.debug.log("Removing thumb: ".concat(i.dataset.filename))}),n)}}}))}},{key:"preloadNearby",value:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise((function(n){setTimeout((function(){var a=t.thumbnails[0].frames[e].text;if(t.showingThumbFilename===a){var s;s=i?t.thumbnails[0].frames.slice(e):t.thumbnails[0].frames.slice(0,e).reverse();var r=!1;s.forEach((function(e){var i=e.text;if(i!==a&&!t.loadedImages.includes(i)){r=!0,t.player.debug.log("Preloading thumb filename: ".concat(i));var s=t.thumbnails[0].urlPrefix+i,o=new Image;o.src=s,o.onload=function(){t.player.debug.log("Preloaded thumb filename: ".concat(i)),t.loadedImages.includes(i)||t.loadedImages.push(i),n()}}})),r||n()}}),300)}))}},{key:"getHigherQuality",value:function(e,t,i,n){var a=this;if(e<this.thumbnails.length-1){var s=t.naturalHeight;this.usingSprites&&(s=i.h),s<this.thumbContainerHeight&&setTimeout((function(){a.showingThumbFilename===n&&(a.player.debug.log("Showing higher quality thumb for: ".concat(n)),a.loadImage(e+1))}),300)}}},{key:"toggleThumbContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(i,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"toggleScrubbingContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"determineContainerAutoSizing",value:function(){(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)}},{key:"setThumbContainerSizeAndPos",value:function(){if(this.sizeSpecifiedInCSS){if(this.elements.thumb.imageContainer.clientHeight>20&&this.elements.thumb.imageContainer.clientWidth<20){var e=Math.floor(this.elements.thumb.imageContainer.clientHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.width="".concat(e,"px")}else if(this.elements.thumb.imageContainer.clientHeight<20&&this.elements.thumb.imageContainer.clientWidth>20){var t=Math.floor(this.elements.thumb.imageContainer.clientWidth/this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height="".concat(t,"px")}}else{var i=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height="".concat(this.thumbContainerHeight,"px"),this.elements.thumb.imageContainer.style.width="".concat(i,"px")}this.setThumbContainerPos()}},{key:"setThumbContainerPos",value:function(){var e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),i=this.elements.thumb.container,n=t.left-e.left+10,a=t.right-e.left-i.clientWidth-10,s=this.mousePosX-e.left-i.clientWidth/2;s<n&&(s=n),s>a&&(s=a),i.style.left="".concat(s,"px")}},{key:"setScrubbingContainerSize",value:function(){var e=Nt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}),t=e.width,i=e.height;this.elements.scrubbing.container.style.width="".concat(t,"px"),this.elements.scrubbing.container.style.height="".concat(i,"px")}},{key:"setImageSizeAndOffset",value:function(e,t){if(this.usingSprites){var i=this.thumbContainerHeight/t.h;e.style.height="".concat(e.naturalHeight*i,"px"),e.style.width="".concat(e.naturalWidth*i,"px"),e.style.left="-".concat(t.x*i,"px"),e.style.top="-".concat(t.y*i,"px")}}},{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?Nt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}).height:this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}]),t}(),xt={insertElements:function(e,t){var i=this;Y(t)?pe(e,this.media,{src:t}):$(t)&&t.forEach((function(t){pe(e,i.media,t)}))},change:function(e){var t=this;le(e,"sources.length")?(Ve.cancelRequests.call(this),this.destroy.call(this,(function(){t.options.quality=[],me(t.media),t.media=null,G(t.elements.container)&&t.elements.container.removeAttribute("class");var i=e.sources,n=e.type,a=o(i,1)[0],s=a.provider,r=void 0===s?ut.html5:s,l=a.src,c="html5"===r?n:"div",u="html5"===r?{}:{src:l};Object.assign(t,{provider:r,type:n,supported:Ee.check(n,r,t.config.playsinline),media:he(c,u)}),t.elements.container.appendChild(t.media),Q(e.autoplay)&&(t.config.autoplay=e.autoplay),t.isHTML5&&(t.config.crossorigin&&t.media.setAttribute("crossorigin",""),t.config.autoplay&&t.media.setAttribute("autoplay",""),ae(e.poster)||(t.poster=e.poster),t.config.loop.active&&t.media.setAttribute("loop",""),t.config.muted&&t.media.setAttribute("muted",""),t.config.playsinline&&t.media.setAttribute("playsinline","")),yt.addStyleHook.call(t),t.isHTML5&&xt.insertElements.call(t,"source",i),t.config.title=e.title,Pt.setup.call(t),t.isHTML5&&Object.keys(e).includes("tracks")&&xt.insertElements.call(t,"track",e.tracks),(t.isHTML5||t.isEmbed&&!t.supported.ui)&&yt.build.call(t),t.isHTML5&&t.media.load(),ae(e.previewThumbnails)||(Object.assign(t.config.previewThumbnails,e.previewThumbnails),t.previewThumbnails&&t.previewThumbnails.loaded&&(t.previewThumbnails.destroy(),t.previewThumbnails=null),t.config.previewThumbnails.enabled&&(t.previewThumbnails=new Mt(t))),t.fullscreen.update()}),!0)):this.debug.warn("Invalid source format")}};var It,Lt=function(){function t(i,n){var a=this;if(e(this,t),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=Ee.touch,this.media=i,Y(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||J(this.media)||$(this.media))&&(this.media=this.media[0]),this.config=ce({},ot,t.defaults,n||{},function(){try{return JSON.parse(a.media.getAttribute("data-plyr-config"))}catch(e){return{}}}()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new mt(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",Ee),!W(this.media)&&G(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(Ee.check().api){var s=this.media.cloneNode(!0);s.autoplay=!1,this.elements.original=s;var r=this.media.tagName.toLowerCase(),o=null,l=null;switch(r){case"div":if(o=this.media.querySelector("iframe"),G(o)){if(l=at(o.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?ut.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?ut.vimeo:null}(l.toString()),this.elements.container=this.media,this.media=o,this.elements.container.className="",l.search.length){var c=["1","true"];c.includes(l.searchParams.get("autoplay"))&&(this.config.autoplay=!0),c.includes(l.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=c.includes(l.searchParams.get("playsinline")),this.config.youtube.hl=l.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(ae(this.provider)||!Object.keys(ut).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=ht;break;case"video":case"audio":this.type=r,this.provider=ut.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=Ee.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new vt(this),this.storage=new $e(this),this.media.plyr=this,G(this.elements.container)||(this.elements.container=he("div",{tabindex:0}),ue(this.media,this.elements.container)),yt.migrateStyles.call(this),yt.addStyleHook.call(this),Pt.setup.call(this),this.config.debug&&xe.call(this,this.elements.container,this.config.events.join(" "),(function(e){a.debug.log("event: ".concat(e.type))})),this.fullscreen=new ft(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&yt.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new Et(this)),this.isHTML5&&this.config.autoplay&&setTimeout((function(){return qe(a.play())}),10),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Mt(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return i(t,[{key:"play",value:function(){var e=this;return X(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then((function(){return e.ads.play()})).catch((function(){return qe(e.media.play())})),this.media.play()):null}},{key:"pause",value:function(){return this.playing&&X(this.media.pause)?this.media.pause():null}},{key:"togglePlay",value:function(e){return(Q(e)?e:!this.playing)?this.play():this.pause()}},{key:"stop",value:function(){this.isHTML5?(this.pause(),this.restart()):X(this.media.stop)&&this.media.stop()}},{key:"restart",value:function(){this.currentTime=0}},{key:"rewind",value:function(e){this.currentTime-=K(e)?e:this.config.seekTime}},{key:"forward",value:function(e){this.currentTime+=K(e)?e:this.config.seekTime}},{key:"increaseVolume",value:function(e){var t=this.media.muted?0:this.volume;this.volume=t+(K(e)?e:0)}},{key:"decreaseVolume",value:function(e){this.increaseVolume(-e)}},{key:"toggleCaptions",value:function(e){rt.toggle.call(this,e,!1)}},{key:"airplay",value:function(){Ee.airplay&&this.media.webkitShowPlaybackTargetPicker()}},{key:"toggleControls",value:function(e){if(this.supported.ui&&!this.isAudio){var t=we(this.elements.container,this.config.classNames.hideControls),i=void 0===e?void 0:!e,n=be(this.elements.container,this.config.classNames.hideControls,i);if(n&&$(this.config.controls)&&this.config.controls.includes("settings")&&!ae(this.config.settings)&&nt.toggleMenu.call(this,!1),n!==t){var a=n?"controlshidden":"controlsshown";Oe.call(this,this.media,a)}return!n}return!1}},{key:"on",value:function(e,t){xe.call(this,this.elements.container,e,t)}},{key:"once",value:function(e,t){Le.call(this,this.elements.container,e,t)}},{key:"off",value:function(e,t){Ie(this.elements.container,e,t)}},{key:"destroy",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var n=function(){document.body.style.overflow="",t.embed=null,i?(Object.keys(t.elements).length&&(me(t.elements.buttons.play),me(t.elements.captions),me(t.elements.controls),me(t.elements.wrapper),t.elements.buttons.play=null,t.elements.captions=null,t.elements.controls=null,t.elements.wrapper=null),X(e)&&e()):(_e.call(t),ge(t.elements.original,t.elements.container),Oe.call(t,t.elements.original,"destroyed",!0),X(e)&&e.call(t.elements.original),t.ready=!1,setTimeout((function(){t.elements=null,t.media=null}),200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(yt.toggleNativeControls.call(this,!0),n()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&X(this.embed.destroy)&&this.embed.destroy(),n()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(n),setTimeout(n,200))}}},{key:"supports",value:function(e){return Ee.mime.call(this,e)}},{key:"isHTML5",get:function(){return this.provider===ut.html5}},{key:"isEmbed",get:function(){return this.isYouTube||this.isVimeo}},{key:"isYouTube",get:function(){return this.provider===ut.youtube}},{key:"isVimeo",get:function(){return this.provider===ut.vimeo}},{key:"isVideo",get:function(){return this.type===ht}},{key:"isAudio",get:function(){return this.type===dt}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(e){if(this.duration){var t=K(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var e=this.media.buffered;return K(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var e=parseFloat(this.config.duration),t=(this.media||{}).duration,i=K(t)&&t!==1/0?t:0;return e||i}},{key:"volume",set:function(e){var t=e;Y(t)&&(t=Number(t)),K(t)||(t=this.storage.get("volume")),K(t)||(t=this.config.volume),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!ae(e)&&this.muted&&t>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(e){var t=e;Q(t)||(t=this.storage.get("muted")),Q(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||(!!this.isAudio||(Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)))}},{key:"speed",set:function(e){var t=this,i=null;K(e)&&(i=e),K(i)||(i=this.storage.get("speed")),K(i)||(i=this.config.speed.selected);var n=this.minimumSpeed,a=this.maximumSpeed;i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:255;return Math.min(Math.max(e,t),i)}(i,n,a),this.config.speed.selected=i,setTimeout((function(){t.media.playbackRate=i}),0)},get:function(){return Number(this.media.playbackRate)}},{key:"minimumSpeed",get:function(){return this.isYouTube?Math.min.apply(Math,l(this.options.speed)):this.isVimeo?.5:.0625}},{key:"maximumSpeed",get:function(){return this.isYouTube?Math.max.apply(Math,l(this.options.speed)):this.isVimeo?2:16}},{key:"quality",set:function(e){var t=this.config.quality,i=this.options.quality;if(i.length){var n=[!ae(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(K),a=!0;if(!i.includes(n)){var s=function(e,t){return $(e)&&e.length?e.reduce((function(e,i){return Math.abs(i-t)<Math.abs(e-t)?i:e})):null}(i,n);this.debug.warn("Unsupported quality option: ".concat(n,", using ").concat(s," instead")),n=s,a=!1}t.selected=n,this.media.quality=n,a&&this.storage.set({quality:n})}},get:function(){return this.media.quality}},{key:"loop",set:function(e){var t=Q(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t},get:function(){return Boolean(this.media.loop)}},{key:"source",set:function(e){xt.change.call(this,e)},get:function(){return this.media.currentSrc}},{key:"download",get:function(){var e=this.config.urls.download;return ne(e)?e:this.source},set:function(e){ne(e)&&(this.config.urls.download=e,nt.setDownloadUrl.call(this))}},{key:"poster",set:function(e){this.isVideo?yt.setPoster.call(this,e,!1).catch((function(){})):this.debug.warn("Poster can only be set for video")},get:function(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}},{key:"ratio",get:function(){if(!this.isVideo)return null;var e=He(Fe.call(this));return $(e)?e.join(":"):e},set:function(e){this.isVideo?Y(e)&&De(e)?(this.config.ratio=e,Re.call(this)):this.debug.error("Invalid aspect ratio specified (".concat(e,")")):this.debug.warn("Aspect ratio can only be set for video")}},{key:"autoplay",set:function(e){var t=Q(e)?e:this.config.autoplay;this.config.autoplay=t},get:function(){return Boolean(this.config.autoplay)}},{key:"currentTrack",set:function(e){rt.set.call(this,e,!1)},get:function(){var e=this.captions,t=e.toggled,i=e.currentTrack;return t?i:-1}},{key:"language",set:function(e){rt.setLanguage.call(this,e,!1)},get:function(){return(rt.getCurrentTrack.call(this)||{}).language}},{key:"pip",set:function(e){if(Ee.pip){var t=Q(e)?e:!this.pip;X(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?lt:ct),X(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}},get:function(){return Ee.pip?ae(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===lt:null}}],[{key:"supported",value:function(e,t,i){return Ee.check(e,t,i)}},{key:"loadSprite",value:function(e,t){return Ge(e,t)}},{key:"setup",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;return Y(e)?n=Array.from(document.querySelectorAll(e)):J(e)?n=Array.from(e):$(e)&&(n=e.filter(G)),ae(n)?null:n.map((function(e){return new t(e,i)}))}}]),t}();return Lt.defaults=(It=ot,JSON.parse(JSON.stringify(It))),Lt})); +//# sourceMappingURL=plyr.js.map diff --git a/yaksh/static/yaksh/js/question_paper_creation.js b/yaksh/static/yaksh/js/question_paper_creation.js index 9d04728..1159dd3 100644 --- a/yaksh/static/yaksh/js/question_paper_creation.js +++ b/yaksh/static/yaksh/js/question_paper_creation.js @@ -57,7 +57,37 @@ $(document).ready(function(){ $('#design_q').submit(function(eventObj) { $(this).append('<input type="hidden" name="checked_ques" value='+checked_vals+'>'); return true; -}); + }); + + $('#add_checkall').on("change", function () { + if($(this).prop("checked")) { + $("#fixed-available input:checkbox").each(function(index, element) { + if(isNaN($(this).val())) {return}; + $(this).prop("checked", true); + checked_vals.push(parseInt($(this).val())) + }); + } else { + $("#fixed-available input:checkbox").each(function(index, element){ + $(this).prop('checked', false); + checked_vals.pop(parseInt($(this).val())); + }); + } + }); + + $('#remove_checkall').on("change", function () { + if($(this).prop("checked")) { + $("#fixed-added input:checkbox").each(function (index, element) { + if(isNaN($(this).val())) { return }; + $(this).prop('checked', true); + checked_vals.push(parseInt($(this).val())); + }); + } else { + $("#fixed-added input:checkbox").each(function (index, element) { + $(this).prop('checked', false); + checked_vals.pop(parseInt($(this).val())); + }); + } + }); });//document function append_tag(tag){ @@ -69,3 +99,4 @@ function append_tag(tag){ tag_name.value = tag.value; } } + diff --git a/yaksh/static/yaksh/js/show_toc.js b/yaksh/static/yaksh/js/show_toc.js new file mode 100644 index 0000000..2bedc6a --- /dev/null +++ b/yaksh/static/yaksh/js/show_toc.js @@ -0,0 +1,232 @@ +$(document).ready(function() { + $('#sidebarCollapse').on('click', function () { + $('#sidebar').toggleClass('active'); + }); + + $(document).ready(() => { + $(function() { + tinymce.init({ + selector: 'textarea#id_description', + setup : function(ed) { + ed.on('change', function(e) { + tinymce.triggerSave(); + }); + }, + max_height: 400, + height: 200, + plugins: "image code link", + convert_urls: false + }); + }); + }); + + player = new Plyr('#player'); + var totalSeconds; + store_video_time(contents_by_time); + var time_arr_length = video_time.length; + var total_duration; + player.on('ready loadedmetadata', event => { + total_duration = parseInt(player.duration); + store_tracker_time(total_duration); + $("#video_duration").val(get_time_in_hrs(total_duration)); + }); + + player.on('timeupdate', event => { + var current_time = player.currentTime; + $("#current_video_time").val(get_time_in_hrs(current_time)); + if (time_arr_length > 0 && current_time >= video_time[loc]) { + var content = contents_by_time[loc]; + loc += 1; + if(content.content == 1) { + show_topic($("#toc_desc_"+content.id).val(), false); + } + else { + if(player.fullscreen.active) player.fullscreen.exit(); + player.pause() + url = $("#toc_"+content.id).val(); + ajax_call(url, "GET", screen_lock=true); + } + } + if(markers.length > 0 && current_time >= markers[track_count]) { + track_count++; + var csrf = document.getElementById("track-form").elements[0].value; + ajax_call($("#track-form").attr("action"), $("#track-form").attr("method"), + $("#track-form").serialize(), csrf, screen_lock=false); + } + }); + player.on('ended', event => { + var csrf = document.getElementById("track-form").elements[0].value; + ajax_call($("#track-form").attr("action"), $("#track-form").attr("method"), + $("#track-form").serialize(), csrf, screen_lock=false); + window.location.href = $("#next_unit").attr("href"); + }); +}); + +function store_tracker_time(duration) { + marker = duration / 4; + for(var i = marker; i <= duration - marker; i = i + marker) { + markers.push(i); + } +} + +function show_topic(description, override) { + var topic_div = $("#topic-description"); + if(override) { + topic_div.html(description); + } else { + topic_div.append("<br>" + description); + } +} + +function store_video_time(contents) { + if(contents) { + for (var j = 0; j < contents.length; j++) + video_time.push(get_time_in_seconds(contents[j].time)); + } +} + +function get_time_in_seconds(time) { + var time = time.split(":"); + var hh = parseInt(time[0]); + var mm = parseInt(time[1]); + var ss = parseInt(time[2]); + return hh * 3600 + mm * 60 + ss; +} + +function get_time_in_hrs(time) { + totalSeconds = parseInt(time) + hours = Math.floor(totalSeconds / 3600); + totalSeconds %= 3600; + minutes = Math.floor(totalSeconds / 60); + seconds = totalSeconds % 60; + hours = hours < 10 ? "0" + hours : hours; + minutes = minutes < 10 ? "0" + minutes : minutes; + seconds = seconds < 10 ? "0" + seconds : seconds; + return hours + ":" + minutes + ":" + seconds; +} + +function lock_screen() { + document.getElementById("loader").style.display = "block"; + if ($("#check").is(":visible")) { + $("#check").attr("disabled", true); + } +} + +function unlock_screen() { + document.getElementById("loader").style.display = "none"; + if ($("#check").is(":visible")) { + $("#check").attr("disabled", false); + } +} + +function show_question(data) { + $("#myModal").modal({backdrop: 'static', keyboard: false}); + $("#lesson_quiz_question").html(data) + $("#submit-quiz-form").submit(function(e) { + e.preventDefault(); + lock_screen(); + var csrf = document.getElementById("submit-quiz-form").elements[0].value; + ajax_call($(this).attr("action"), $(this).attr("method"), + $(this).serialize(), csrf, screen_lock=true); + }); +} + +function select_toc(element) { + var toc_id = element.getAttribute("data-toc"); + var content_type = element.getAttribute("data-toc-type"); + var toc_time = $("#toc_time_"+toc_id).html().trim(); + player.currentTime = get_time_in_seconds(toc_time); + if (content_type == 1) { + show_topic($("#toc_desc_"+toc_id).val(), true); + } + else { + url = $("#toc_"+toc_id).val(); + ajax_call(url, "GET"); + } +} + +function csrfSafeMethod(method) { + // these HTTP methods do not require CSRF protection + return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method)); +} + +function show_message(message, msg_type) { + toastr.options = { + "positionClass": "toast-top-center", + "timeOut": "1500", + "showDuration": "300", + } + switch(msg_type) { + case "info": { + toastr.info(message); + break; + } + case "error": { + toastr.error(message); + break; + } + case "warning": { + toastr.warning(message); + break; + } + case "success": { + toastr.success(message); + break; + } + default: { + toastr.info(message); + break; + } + } +} + +function ajax_call(url, method, data, csrf, screen_lock=true) { + if(screen_lock) {lock_screen();} + $.ajax({ + url: url, + timeout: 15000, + method: method, + data: data, + beforeSend: function(xhr, settings) { + if (!csrfSafeMethod(settings.type) && !this.crossDomain) { + xhr.setRequestHeader("X-CSRFToken", csrf); + } + }, + success: function(msg) { + unlock_screen(); + if (msg.data) { + show_question(msg.data); + } + if (msg.message) { + $("#myModal").modal('hide'); + if (msg.success) { + show_message(msg.message, "success"); + } + else { + show_message(msg.message, "warning"); + } + } + }, + error: function(xhr, data) { + unlock_screen(); + switch(xhr.status) { + case 400: { + show_message("400 status code! server error", "error"); + break; + } + case 500: { + show_message("500 status code! server error", "error"); + break; + } + case 404: { + show_message("404 status code! server error", "error"); + break; + } + default: { + show_message('Unable to perform action. Please try again', "error"); + break; + } + } + } + }); +}
\ No newline at end of file diff --git a/yaksh/static/yaksh/js/simplemde.min.js b/yaksh/static/yaksh/js/simplemde.min.js new file mode 100644 index 0000000..50c624f --- /dev/null +++ b/yaksh/static/yaksh/js/simplemde.min.js @@ -0,0 +1,15 @@ +/** + * simplemde v1.11.2 + * Copyright Next Step Webs, Inc. + * @link https://github.com/NextStepWebs/simplemde-markdown-editor + * @license MIT + */ +!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.SimpleMDE=e()}}(function(){var e;return function t(e,n,r){function i(a,l){if(!n[a]){if(!e[a]){var s="function"==typeof require&&require;if(!l&&s)return s(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};e[a][0].call(u.exports,function(t){var n=e[a][1][t];return i(n?n:t)},u,u.exports,t,e,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";function r(){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;n>t;++t)s[t]=e[t],c[e.charCodeAt(t)]=t;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63}function i(e){var t,n,r,i,o,a,l=e.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[l-2]?2:"="===e[l-1]?1:0,a=new u(3*l/4-o),r=o>0?l-4:l;var s=0;for(t=0,n=0;r>t;t+=4,n+=3)i=c[e.charCodeAt(t)]<<18|c[e.charCodeAt(t+1)]<<12|c[e.charCodeAt(t+2)]<<6|c[e.charCodeAt(t+3)],a[s++]=i>>16&255,a[s++]=i>>8&255,a[s++]=255&i;return 2===o?(i=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,a[s++]=255&i):1===o&&(i=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,a[s++]=i>>8&255,a[s++]=255&i),a}function o(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}function a(e,t,n){for(var r,i=[],a=t;n>a;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],i.push(o(r));return i.join("")}function l(e){for(var t,n=e.length,r=n%3,i="",o=[],l=16383,c=0,u=n-r;u>c;c+=l)o.push(a(e,c,c+l>u?u:c+l));return 1===r?(t=e[n-1],i+=s[t>>2],i+=s[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=s[t>>10],i+=s[t>>4&63],i+=s[t<<2&63],i+="="),o.push(i),o.join("")}n.toByteArray=i,n.fromByteArray=l;var s=[],c=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array;r()},{}],2:[function(e,t,n){},{}],3:[function(e,t,n){(function(t){"use strict";function r(){try{var e=new Uint8Array(1);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function i(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(i()<t)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=a.prototype):(null===e&&(e=new a(t)),e.length=t),e}function a(e,t,n){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?d(e,t,n,r):"string"==typeof t?f(e,t,n):p(e,t)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number')}function c(e,t,n,r){return s(t),0>=t?o(e,t):void 0!==n?"string"==typeof r?o(e,t).fill(n,r):o(e,t).fill(n):o(e,t)}function u(e,t){if(s(t),e=o(e,0>t?0:0|m(t)),!a.TYPED_ARRAY_SUPPORT)for(var n=0;t>n;n++)e[n]=0;return e}function f(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!a.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|v(t,n);return e=o(e,r),e.write(t,n),e}function h(e,t){var n=0|m(t.length);e=o(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function d(e,t,n,r){if(t.byteLength,0>n||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),a.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=a.prototype):e=h(e,t),e}function p(e,t){if(a.isBuffer(t)){var n=0|m(t.length);return e=o(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||K(t.length)?o(e,0):h(e,t);if("Buffer"===t.type&&J(t.data))return h(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function g(e){return+e!=e&&(e=0),a.alloc(+e)}function v(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return n;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $(e).length;default:if(r)return q(e).length;t=(""+t).toLowerCase(),r=!0}}function y(e,t,n){var r=!1;if((void 0===t||0>t)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),0>=n)return"";if(n>>>=0,t>>>=0,t>=n)return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return N(this,t,n);case"ascii":return E(this,t,n);case"binary":return O(this,t,n);case"base64":return M(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function x(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function b(e,t,n,r){function i(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,a=e.length,l=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,a/=2,l/=2,n/=2}for(var s=-1,c=0;a>n+c;c++)if(i(e,n+c)===i(t,-1===s?0:c-s)){if(-1===s&&(s=c),c-s+1===l)return(n+s)*o}else-1!==s&&(c-=c-s),s=-1;return-1}function w(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new Error("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;r>a;a++){var l=parseInt(t.substr(2*a,2),16);if(isNaN(l))return a;e[n+a]=l}return a}function k(e,t,n,r){return V(q(t,e.length-n),e,n,r)}function S(e,t,n,r){return V(G(t),e,n,r)}function C(e,t,n,r){return S(e,t,n,r)}function L(e,t,n,r){return V($(t),e,n,r)}function T(e,t,n,r){return V(Y(t,e.length-n),e,n,r)}function M(e,t,n){return 0===t&&n===e.length?X.fromByteArray(e):X.fromByteArray(e.slice(t,n))}function N(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;n>i;){var o=e[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(n>=i+l){var s,c,u,f;switch(l){case 1:128>o&&(a=o);break;case 2:s=e[i+1],128===(192&s)&&(f=(31&o)<<6|63&s,f>127&&(a=f));break;case 3:s=e[i+1],c=e[i+2],128===(192&s)&&128===(192&c)&&(f=(15&o)<<12|(63&s)<<6|63&c,f>2047&&(55296>f||f>57343)&&(a=f));break;case 4:s=e[i+1],c=e[i+2],u=e[i+3],128===(192&s)&&128===(192&c)&&128===(192&u)&&(f=(15&o)<<18|(63&s)<<12|(63&c)<<6|63&u,f>65535&&1114112>f&&(a=f))}}null===a?(a=65533,l=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=l}return A(r)}function A(e){var t=e.length;if(Q>=t)return String.fromCharCode.apply(String,e);for(var n="",r=0;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Q));return n}function E(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(127&e[i]);return r}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r}function I(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=t;n>o;o++)i+=U(e[o]);return i}function P(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function R(e,t,n){if(e%1!==0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||o>t)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function H(e,t,n,r){0>t&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);o>i;i++)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function W(e,t,n,r){0>t&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);o>i;i++)e[n+i]=t>>>8*(r?i:3-i)&255}function B(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(0>n)throw new RangeError("Index out of range")}function _(e,t,n,r,i){return i||B(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Z.write(e,t,n,r,23,4),n+4}function F(e,t,n,r,i){return i||B(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Z.write(e,t,n,r,52,8),n+8}function z(e){if(e=j(e).replace(ee,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function U(e){return 16>e?"0"+e.toString(16):e.toString(16)}function q(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;r>a;a++){if(n=e.charCodeAt(a),n>55295&&57344>n){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(56320>n){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,128>n){if((t-=1)<0)break;o.push(n)}else if(2048>n){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function G(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}function Y(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);a++)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function $(e){return X.toByteArray(z(e))}function V(e,t,n,r){for(var i=0;r>i&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}function K(e){return e!==e}var X=e("base64-js"),Z=e("ieee754"),J=e("isarray");n.Buffer=a,n.SlowBuffer=g,n.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:r(),n.kMaxLength=i(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,n){return l(null,e,t,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,n){return c(null,e,t,n)},a.allocUnsafe=function(e){return u(null,e)},a.allocUnsafeSlow=function(e){return u(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);o>i;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return r>n?-1:n>r?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!J(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;n++)t+=e[n].length;var r=a.allocUnsafe(t),i=0;for(n=0;n<e.length;n++){var o=e[n];if(!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},a.byteLength=v,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;e>t;t+=2)x(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;e>t;t+=4)x(this,t,t+3),x(this,t+1,t+2);return this},a.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?N(this,0,e):y.apply(this,arguments)},a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},a.prototype.compare=function(e,t,n,r,i){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),0>t||n>e.length||0>r||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,l=n-t,s=Math.min(o,l),c=this.slice(r,i),u=e.slice(t,n),f=0;s>f;++f)if(c[f]!==u[f]){o=c[f],l=u[f];break}return l>o?-1:o>l?1:0},a.prototype.indexOf=function(e,t,n){if("string"==typeof t?(n=t,t=0):t>2147483647?t=2147483647:-2147483648>t&&(t=-2147483648),t>>=0,0===this.length)return-1;if(t>=this.length)return-1;if(0>t&&(t=Math.max(this.length+t,0)),"string"==typeof e&&(e=a.from(e,n)),a.isBuffer(e))return 0===e.length?-1:b(this,e,t,n);if("number"==typeof e)return a.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,e,t):b(this,[e],t,n);throw new TypeError("val must be string, number or Buffer")},a.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},a.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t=0|t,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return k(this,e,t,n);case"ascii":return S(this,e,t,n);case"binary":return C(this,e,t,n);case"base64":return L(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,0>e?(e+=n,0>e&&(e=0)):e>n&&(e=n),0>t?(t+=n,0>t&&(t=0)):t>n&&(t=n),e>t&&(t=e);var r;if(a.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=a.prototype;else{var i=t-e;r=new a(i,void 0);for(var o=0;i>o;o++)r[o]=this[o+e]}return r},a.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},a.prototype.readUIntBE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},a.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),Z.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),Z.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),Z.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),Z.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t=0|t,n=0|n,!r){var i=Math.pow(2,8*n)-1;D(this,e,t,n,i,0)}var o=1,a=0;for(this[t]=255&e;++a<n&&(o*=256);)this[t+a]=e/o&255;return t+n},a.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t=0|t,n=0|n,!r){var i=Math.pow(2,8*n)-1;D(this,e,t,n,i,0)}var o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t=0|t,n||D(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=0|t,n||D(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):H(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=0|t,n||D(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):H(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=0|t,n||D(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):W(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=0|t,n||D(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):W(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=0|t,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var o=0,a=1,l=0;for(this[t]=255&e;++o<n&&(a*=256);)0>e&&0===l&&0!==this[t+o-1]&&(l=1),this[t+o]=(e/a>>0)-l&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t=0|t,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var o=n-1,a=1,l=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)0>e&&0===l&&0!==this[t+o+1]&&(l=1),this[t+o]=(e/a>>0)-l&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t=0|t,n||D(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t=0|t,n||D(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):H(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t=0|t,n||D(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):H(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t=0|t,n||D(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):W(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t=0|t,n||D(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):W(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,n){return _(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return _(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&n>r&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>r)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&t>n&&r>t)for(i=o-1;i>=0;i--)e[i+t]=this[i+n];else if(1e3>o||!a.TYPED_ARRAY_SUPPORT)for(i=0;o>i;i++)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},a.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);256>i&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e=255&e);if(0>t||this.length<t||this.length<n)throw new RangeError("Out of range index");if(t>=n)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;n>o;o++)this[o]=e;else{var l=a.isBuffer(e)?e:q(new a(e,r).toString()),s=l.length;for(o=0;n-t>o;o++)this[o+t]=l[o%s]}return this};var ee=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":1,ieee754:15,isarray:16}],4:[function(e,t,n){"use strict";function r(e){return e=e||{},"function"!=typeof e.codeMirrorInstance||"function"!=typeof e.codeMirrorInstance.defineMode?void console.log("CodeMirror Spell Checker: You must provide an instance of CodeMirror via the option `codeMirrorInstance`"):(String.prototype.includes||(String.prototype.includes=function(){return-1!==String.prototype.indexOf.apply(this,arguments)}),void e.codeMirrorInstance.defineMode("spell-checker",function(t){if(!r.aff_loading){r.aff_loading=!0;var n=new XMLHttpRequest;n.open("GET","https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.aff",!0),n.onload=function(){4===n.readyState&&200===n.status&&(r.aff_data=n.responseText,r.num_loaded++,2==r.num_loaded&&(r.typo=new i("en_US",r.aff_data,r.dic_data,{platform:"any"})))},n.send(null)}if(!r.dic_loading){r.dic_loading=!0;var o=new XMLHttpRequest;o.open("GET","https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.dic",!0),o.onload=function(){4===o.readyState&&200===o.status&&(r.dic_data=o.responseText,r.num_loaded++,2==r.num_loaded&&(r.typo=new i("en_US",r.aff_data,r.dic_data,{platform:"any"})))},o.send(null)}var a='!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~ ',l={token:function(e){var t=e.peek(),n="";if(a.includes(t))return e.next(),null;for(;null!=(t=e.peek())&&!a.includes(t);)n+=t,e.next();return r.typo&&!r.typo.check(n)?"spell-error":null}},s=e.codeMirrorInstance.getMode(t,t.backdrop||"text/plain");return e.codeMirrorInstance.overlayMode(s,l,!0)}))}var i=e("typo-js");r.num_loaded=0,r.aff_loading=!1,r.dic_loading=!1,r.aff_data="",r.dic_data="",r.typo,t.exports=r},{"typo-js":18}],5:[function(t,n,r){!function(i){"object"==typeof r&&"object"==typeof n?i(t("../../lib/codemirror")):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)}(function(e){"use strict";function t(e){var t=e.getWrapperElement();e.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:t.style.width,height:t.style.height},t.style.width="",t.style.height="auto",t.className+=" CodeMirror-fullscreen",document.documentElement.style.overflow="hidden",e.refresh()}function n(e){var t=e.getWrapperElement();t.className=t.className.replace(/\s*CodeMirror-fullscreen\b/,""),document.documentElement.style.overflow="";var n=e.state.fullScreenRestore;t.style.width=n.width,t.style.height=n.height,window.scrollTo(n.scrollLeft,n.scrollTop),e.refresh()}e.defineOption("fullScreen",!1,function(r,i,o){o==e.Init&&(o=!1),!o!=!i&&(i?t(r):n(r))})})},{"../../lib/codemirror":10}],6:[function(t,n,r){!function(i){"object"==typeof r&&"object"==typeof n?i(t("../../lib/codemirror")):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)}(function(e){function t(e){e.state.placeholder&&(e.state.placeholder.parentNode.removeChild(e.state.placeholder),e.state.placeholder=null)}function n(e){t(e);var n=e.state.placeholder=document.createElement("pre");n.style.cssText="height: 0; overflow: visible",n.className="CodeMirror-placeholder";var r=e.getOption("placeholder");"string"==typeof r&&(r=document.createTextNode(r)),n.appendChild(r),e.display.lineSpace.insertBefore(n,e.display.lineSpace.firstChild)}function r(e){o(e)&&n(e)}function i(e){var r=e.getWrapperElement(),i=o(e);r.className=r.className.replace(" CodeMirror-empty","")+(i?" CodeMirror-empty":""),i?n(e):t(e)}function o(e){return 1===e.lineCount()&&""===e.getLine(0)}e.defineOption("placeholder","",function(n,o,a){var l=a&&a!=e.Init;if(o&&!l)n.on("blur",r),n.on("change",i),n.on("swapDoc",i),i(n);else if(!o&&l){n.off("blur",r),n.off("change",i),n.off("swapDoc",i),t(n);var s=n.getWrapperElement();s.className=s.className.replace(" CodeMirror-empty","")}o&&!n.hasFocus()&&r(n)})})},{"../../lib/codemirror":10}],7:[function(t,n,r){!function(i){"object"==typeof r&&"object"==typeof n?i(t("../../lib/codemirror")):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)}(function(e){"use strict";var t=/^(\s*)(>[> ]*|[*+-]\s|(\d+)([.)]))(\s*)/,n=/^(\s*)(>[> ]*|[*+-]|(\d+)[.)])(\s*)$/,r=/[*+-]\s/;e.commands.newlineAndIndentContinueMarkdownList=function(i){if(i.getOption("disableInput"))return e.Pass;for(var o=i.listSelections(),a=[],l=0;l<o.length;l++){var s=o[l].head,c=i.getStateAfter(s.line),u=c.list!==!1,f=0!==c.quote,h=i.getLine(s.line),d=t.exec(h);if(!o[l].empty()||!u&&!f||!d)return void i.execCommand("newlineAndIndent");if(n.test(h))i.replaceRange("",{line:s.line,ch:0},{line:s.line,ch:s.ch+1}),a[l]="\n";else{var p=d[1],m=d[5],g=r.test(d[2])||d[2].indexOf(">")>=0?d[2]:parseInt(d[3],10)+1+d[4];a[l]="\n"+p+g+m}}i.replaceSelections(a)}})},{"../../lib/codemirror":10}],8:[function(t,n,r){!function(i){"object"==typeof r&&"object"==typeof n?i(t("../../lib/codemirror")):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)}(function(e){"use strict";e.overlayMode=function(t,n,r){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(r){return{base:e.copyState(t,r.base),overlay:e.copyState(n,r.overlay),basePos:r.basePos,baseCur:null,overlayPos:r.overlayPos,overlayCur:null}},token:function(e,i){return(e!=i.streamSeen||Math.min(i.basePos,i.overlayPos)<e.start)&&(i.streamSeen=e,i.basePos=i.overlayPos=e.start),e.start==i.basePos&&(i.baseCur=t.token(e,i.base),i.basePos=e.pos),e.start==i.overlayPos&&(e.pos=e.start,i.overlayCur=n.token(e,i.overlay),i.overlayPos=e.pos),e.pos=Math.min(i.basePos,i.overlayPos),null==i.overlayCur?i.baseCur:null!=i.baseCur&&i.overlay.combineTokens||r&&null==i.overlay.combineTokens?i.baseCur+" "+i.overlayCur:i.overlayCur},indent:t.indent&&function(e,n){return t.indent(e.base,n)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){t.blankLine&&t.blankLine(e.base),n.blankLine&&n.blankLine(e.overlay)}}}})},{"../../lib/codemirror":10}],9:[function(t,n,r){!function(i){"object"==typeof r&&"object"==typeof n?i(t("../../lib/codemirror")):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)}(function(e){"use strict";function t(e){e.operation(function(){a(e)})}function n(e){e.state.markedSelection.length&&e.operation(function(){i(e)})}function r(e,t,n,r){if(0!=c(t,n))for(var i=e.state.markedSelection,o=e.state.markedSelectionStyle,a=t.line;;){var u=a==t.line?t:s(a,0),f=a+l,h=f>=n.line,d=h?n:s(f,0),p=e.markText(u,d,{className:o});if(null==r?i.push(p):i.splice(r++,0,p),h)break;a=f}}function i(e){for(var t=e.state.markedSelection,n=0;n<t.length;++n)t[n].clear();t.length=0}function o(e){i(e);for(var t=e.listSelections(),n=0;n<t.length;n++)r(e,t[n].from(),t[n].to())}function a(e){if(!e.somethingSelected())return i(e);if(e.listSelections().length>1)return o(e);var t=e.getCursor("start"),n=e.getCursor("end"),a=e.state.markedSelection;if(!a.length)return r(e,t,n);var s=a[0].find(),u=a[a.length-1].find();if(!s||!u||n.line-t.line<l||c(t,u.to)>=0||c(n,s.from)<=0)return o(e);for(;c(t,s.from)>0;)a.shift().clear(),s=a[0].find();for(c(t,s.from)<0&&(s.to.line-t.line<l?(a.shift().clear(),r(e,t,s.to,0)):r(e,t,s.from,0));c(n,u.to)<0;)a.pop().clear(),u=a[a.length-1].find();c(n,u.to)>0&&(n.line-u.from.line<l?(a.pop().clear(),r(e,u.from,n)):r(e,u.to,n))}e.defineOption("styleSelectedText",!1,function(r,a,l){var s=l&&l!=e.Init;a&&!s?(r.state.markedSelection=[],r.state.markedSelectionStyle="string"==typeof a?a:"CodeMirror-selectedtext",o(r),r.on("cursorActivity",t),r.on("change",n)):!a&&s&&(r.off("cursorActivity",t),r.off("change",n),i(r),r.state.markedSelection=r.state.markedSelectionStyle=null)});var l=8,s=e.Pos,c=e.cmpPos})},{"../../lib/codemirror":10}],10:[function(t,n,r){!function(t){if("object"==typeof r&&"object"==typeof n)n.exports=t();else{if("function"==typeof e&&e.amd)return e([],t);(this||window).CodeMirror=t()}}(function(){"use strict";function e(n,r){if(!(this instanceof e))return new e(n,r);this.options=r=r?Wi(r):{},Wi(ea,r,!1),d(r);var i=r.value;"string"==typeof i&&(i=new Ca(i,r.mode,null,r.lineSeparator)),this.doc=i;var o=new e.inputStyles[r.inputStyle](this),a=this.display=new t(n,i,o);a.wrapper.CodeMirror=this,c(this),l(this),r.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),r.autofocus&&!Ao&&a.input.focus(),v(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new Ei,keySeq:null,specialChars:null};var s=this;xo&&11>bo&&setTimeout(function(){s.display.input.reset(!0)},20),jt(this),Ki(),bt(this),this.curOp.forceUpdate=!0,Xr(this,i),r.autofocus&&!Ao||s.hasFocus()?setTimeout(Bi(vn,this),20):yn(this);for(var u in ta)ta.hasOwnProperty(u)&&ta[u](this,r[u],na);k(this),r.finishInit&&r.finishInit(this);for(var f=0;f<aa.length;++f)aa[f](this);kt(this),wo&&r.lineWrapping&&"optimizelegibility"==getComputedStyle(a.lineDiv).textRendering&&(a.lineDiv.style.textRendering="auto")}function t(e,t,n){var r=this;this.input=n,r.scrollbarFiller=ji("div",null,"CodeMirror-scrollbar-filler"),r.scrollbarFiller.setAttribute("cm-not-content","true"),r.gutterFiller=ji("div",null,"CodeMirror-gutter-filler"),r.gutterFiller.setAttribute("cm-not-content","true"),r.lineDiv=ji("div",null,"CodeMirror-code"),r.selectionDiv=ji("div",null,null,"position: relative; z-index: 1"),r.cursorDiv=ji("div",null,"CodeMirror-cursors"),r.measure=ji("div",null,"CodeMirror-measure"),r.lineMeasure=ji("div",null,"CodeMirror-measure"),r.lineSpace=ji("div",[r.measure,r.lineMeasure,r.selectionDiv,r.cursorDiv,r.lineDiv],null,"position: relative; outline: none"),r.mover=ji("div",[ji("div",[r.lineSpace],"CodeMirror-lines")],null,"position: relative"),r.sizer=ji("div",[r.mover],"CodeMirror-sizer"),r.sizerWidth=null,r.heightForcer=ji("div",null,null,"position: absolute; height: "+Da+"px; width: 1px;"),r.gutters=ji("div",null,"CodeMirror-gutters"),r.lineGutter=null,r.scroller=ji("div",[r.sizer,r.heightForcer,r.gutters],"CodeMirror-scroll"),r.scroller.setAttribute("tabIndex","-1"),r.wrapper=ji("div",[r.scrollbarFiller,r.gutterFiller,r.scroller],"CodeMirror"),xo&&8>bo&&(r.gutters.style.zIndex=-1,r.scroller.style.paddingRight=0),wo||go&&Ao||(r.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(r.wrapper):e(r.wrapper)),r.viewFrom=r.viewTo=t.first,r.reportedViewFrom=r.reportedViewTo=t.first,r.view=[],r.renderedView=null,r.externalMeasured=null,r.viewOffset=0,r.lastWrapHeight=r.lastWrapWidth=0,r.updateLineNumbers=null,r.nativeBarWidth=r.barHeight=r.barWidth=0,r.scrollbarsClipped=!1,r.lineNumWidth=r.lineNumInnerWidth=r.lineNumChars=null,r.alignWidgets=!1,r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null, +r.maxLine=null,r.maxLineLength=0,r.maxLineChanged=!1,r.wheelDX=r.wheelDY=r.wheelStartX=r.wheelStartY=null,r.shift=!1,r.selForContextMenu=null,r.activeTouch=null,n.init(r)}function n(t){t.doc.mode=e.getMode(t.options,t.doc.modeOption),r(t)}function r(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.frontier=e.doc.first,_e(e,100),e.state.modeGen++,e.curOp&&Dt(e)}function i(e){e.options.lineWrapping?(Ja(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(Za(e.display.wrapper,"CodeMirror-wrap"),h(e)),a(e),Dt(e),lt(e),setTimeout(function(){y(e)},100)}function o(e){var t=yt(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/xt(e.display)-3);return function(i){if(kr(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function a(e){var t=e.doc,n=o(e);t.iter(function(e){var t=n(e);t!=e.height&&ei(e,t)})}function l(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),lt(e)}function s(e){c(e),Dt(e),setTimeout(function(){w(e)},20)}function c(e){var t=e.display.gutters,n=e.options.gutters;Ui(t);for(var r=0;r<n.length;++r){var i=n[r],o=t.appendChild(ji("div",null,"CodeMirror-gutter "+i));"CodeMirror-linenumbers"==i&&(e.display.lineGutter=o,o.style.width=(e.display.lineNumWidth||1)+"px")}t.style.display=r?"":"none",u(e)}function u(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function f(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=mr(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=gr(r);){var i=t.find(0,!0);n-=r.text.length-i.from.ch,r=i.to.line,n+=r.text.length-i.to.ch}return n}function h(e){var t=e.display,n=e.doc;t.maxLine=Zr(n,n.first),t.maxLineLength=f(t.maxLine),t.maxLineChanged=!0,n.iter(function(e){var n=f(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function d(e){var t=Pi(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function p(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+qe(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Ye(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function m(e,t,n){this.cm=n;var r=this.vert=ji("div",[ji("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=ji("div",[ji("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(r),e(i),Ea(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),Ea(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,xo&&8>bo&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function g(){}function v(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&Za(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new e.scrollbarModel[t.options.scrollbarStyle](function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),Ea(e,"mousedown",function(){t.state.focused&&setTimeout(function(){t.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,n){"horizontal"==n?on(t,e):rn(t,e)},t),t.display.scrollbars.addClass&&Ja(t.display.wrapper,t.display.scrollbars.addClass)}function y(e,t){t||(t=p(e));var n=e.display.barWidth,r=e.display.barHeight;x(e,t);for(var i=0;4>i&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&O(e),x(e,p(e)),n=e.display.barWidth,r=e.display.barHeight}function x(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function b(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-Ue(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=ni(t,r),a=ni(t,i);if(n&&n.ensure){var l=n.ensure.from.line,s=n.ensure.to.line;o>l?(o=l,a=ni(t,ri(Zr(t,l))+e.wrapper.clientHeight)):Math.min(s,t.lastLine())>=a&&(o=ni(t,ri(Zr(t,s))-e.wrapper.clientHeight),a=s)}return{from:o,to:Math.max(a,o+1)}}function w(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=C(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&n[a].gutter&&(n[a].gutter.style.left=o);var l=n[a].alignable;if(l)for(var s=0;s<l.length;s++)l[s].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function k(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=S(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(ji("div",[ji("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",u(e),!0}return!1}function S(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function C(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function L(e,t,n){var r=e.display;this.viewport=t,this.visible=b(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=$e(e),this.force=n,this.dims=P(e),this.events=[]}function T(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Ye(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Ye(e)+"px",t.scrollbarsClipped=!0)}function M(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return Wt(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==zt(e))return!1;k(e)&&(Wt(e),t.dims=P(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Wo&&(o=br(e.doc,o),a=wr(e.doc,a));var l=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Ft(e,o,a),n.viewOffset=ri(Zr(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var s=zt(e);if(!l&&0==s&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=Gi();return s>4&&(n.lineDiv.style.display="none"),R(e,n.updateLineNumbers,t.dims),s>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,c&&Gi()!=c&&c.offsetHeight&&c.focus(),Ui(n.cursorDiv),Ui(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,l&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,_e(e,400)),n.updateLineNumbers=null,!0}function N(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=$e(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+qe(e.display)-Ve(e),n.top)}),t.visible=b(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&M(e,t);r=!1){O(e);var i=p(e);Re(e),y(e,i),E(e,i)}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function A(e,t){var n=new L(e,t);if(M(e,n)){O(e),N(e,n);var r=p(e);Re(e),y(e,r),E(e,r),n.finish()}}function E(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Ye(e)+"px"}function O(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i,o=t.view[r];if(!o.hidden){if(xo&&8>bo){var a=o.node.offsetTop+o.node.offsetHeight;i=a-n,n=a}else{var l=o.node.getBoundingClientRect();i=l.bottom-l.top}var s=o.line.height-i;if(2>i&&(i=yt(t)),(s>.001||-.001>s)&&(ei(o.line,i),I(o.line),o.rest))for(var c=0;c<o.rest.length;c++)I(o.rest[c])}}}function I(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t)e.widgets[t].height=e.widgets[t].node.parentNode.offsetHeight}function P(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a)n[e.options.gutters[a]]=o.offsetLeft+o.clientLeft+i,r[e.options.gutters[a]]=o.clientWidth;return{fixedPos:C(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function R(e,t,n){function r(t){var n=t.nextSibling;return wo&&Eo&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var i=e.display,o=e.options.lineNumbers,a=i.lineDiv,l=a.firstChild,s=i.view,c=i.viewFrom,u=0;u<s.length;u++){var f=s[u];if(f.hidden);else if(f.node&&f.node.parentNode==a){for(;l!=f.node;)l=r(l);var h=o&&null!=t&&c>=t&&f.lineNumber;f.changes&&(Pi(f.changes,"gutter")>-1&&(h=!1),D(e,f,c,n)),h&&(Ui(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(S(e.options,c)))),l=f.node.nextSibling}else{var d=U(e,f,c,n);a.insertBefore(d,l)}c+=f.size}for(;l;)l=r(l)}function D(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?_(e,t):"gutter"==o?z(e,t,n,r):"class"==o?F(t):"widget"==o&&j(e,t,r)}t.changes=null}function H(e){return e.node==e.text&&(e.node=ji("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),xo&&8>bo&&(e.node.style.zIndex=2)),e.node}function W(e){var t=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(t&&(t+=" CodeMirror-linebackground"),e.background)t?e.background.className=t:(e.background.parentNode.removeChild(e.background),e.background=null);else if(t){var n=H(e);e.background=n.insertBefore(ji("div",null,t),n.firstChild)}}function B(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):Br(e,t)}function _(e,t){var n=t.text.className,r=B(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,F(t)):n&&(t.text.className=n)}function F(e){W(e),e.line.wrapClass?H(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var t=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=t||""}function z(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=H(t);t.gutterBackground=ji("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var i=H(t),a=t.gutter=ji("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(a),i.insertBefore(a,t.text),t.line.gutterClass&&(a.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=a.appendChild(ji("div",S(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.options.gutters.length;++l){var s=e.options.gutters[l],c=o.hasOwnProperty(s)&&o[s];c&&a.appendChild(ji("div",[c],"CodeMirror-gutter-elt","left: "+r.gutterLeft[s]+"px; width: "+r.gutterWidth[s]+"px"))}}}function j(e,t,n){t.alignable&&(t.alignable=null);for(var r,i=t.node.firstChild;i;i=r){var r=i.nextSibling;"CodeMirror-linewidget"==i.className&&t.node.removeChild(i)}q(e,t,n)}function U(e,t,n,r){var i=B(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),F(t),z(e,t,n,r),q(e,t,r),t.node}function q(e,t,n){if(G(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)G(e,t.rest[r],t,n,!1)}function G(e,t,n,r,i){if(t.widgets)for(var o=H(n),a=0,l=t.widgets;a<l.length;++a){var s=l[a],c=ji("div",[s.node],"CodeMirror-linewidget");s.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),Y(s,c,n,r),e.display.input.setUneditable(c),i&&s.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),Ci(s,"redraw")}}function Y(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function $(e){return Bo(e.line,e.ch)}function V(e,t){return _o(e,t)<0?t:e}function K(e,t){return _o(e,t)<0?e:t}function X(e){e.state.focused||(e.display.input.focus(),vn(e))}function Z(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=e.state.pasteIncoming||"paste"==i,l=o.splitLines(t),s=null;if(a&&r.ranges.length>1)if(Fo&&Fo.text.join("\n")==t){if(r.ranges.length%Fo.text.length==0){s=[];for(var c=0;c<Fo.text.length;c++)s.push(o.splitLines(Fo.text[c]))}}else l.length==r.ranges.length&&(s=Ri(l,function(e){return[e]}));for(var c=r.ranges.length-1;c>=0;c--){var u=r.ranges[c],f=u.from(),h=u.to();u.empty()&&(n&&n>0?f=Bo(f.line,f.ch-n):e.state.overwrite&&!a?h=Bo(h.line,Math.min(Zr(o,h.line).text.length,h.ch+Ii(l).length)):Fo&&Fo.lineWise&&Fo.text.join("\n")==t&&(f=h=Bo(f.line,0)));var d=e.curOp.updateInput,p={from:f,to:h,text:s?s[c%s.length]:l,origin:i||(a?"paste":e.state.cutIncoming?"cut":"+input")};Tn(e.doc,p),Ci(e,"inputRead",e,p)}t&&!a&&Q(e,t),Bn(e),e.curOp.updateInput=d,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function J(e,t){var n=e.clipboardData&&e.clipboardData.getData("text/plain");return n?(e.preventDefault(),t.isReadOnly()||t.options.disableInput||At(t,function(){Z(t,n,0,null,"paste")}),!0):void 0}function Q(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var l=0;l<o.electricChars.length;l++)if(t.indexOf(o.electricChars.charAt(l))>-1){a=Fn(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Zr(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Fn(e,i.head.line,"smart"));a&&Ci(e,"electricInput",e,i.head.line)}}}function ee(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:Bo(i,0),head:Bo(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function te(e){e.setAttribute("autocorrect","off"),e.setAttribute("autocapitalize","off"),e.setAttribute("spellcheck","false")}function ne(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new Ei,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null}function re(){var e=ji("textarea",null,null,"position: absolute; padding: 0; width: 1px; height: 1em; outline: none"),t=ji("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return wo?e.style.width="1000px":e.setAttribute("wrap","off"),No&&(e.style.border="1px solid black"),te(e),t}function ie(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ei,this.gracePeriod=!1}function oe(e,t){var n=Qe(e,t.line);if(!n||n.hidden)return null;var r=Zr(e.doc,t.line),i=Xe(n,r,t.line),o=ii(r),a="left";if(o){var l=co(o,t.ch);a=l%2?"right":"left"}var s=nt(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function ae(e,t){return t&&(e.bad=!0),e}function le(e,t,n){var r;if(t==e.display.lineDiv){if(r=e.display.lineDiv.childNodes[n],!r)return ae(e.clipPos(Bo(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return se(o,t,n)}}function se(e,t,n){function r(t,n,r){for(var i=-1;i<(u?u.length:0);i++)for(var o=0>i?c.map:u[i],a=0;a<o.length;a+=3){var l=o[a+2];if(l==t||l==n){var s=ti(0>i?e.line:e.rest[i]),f=o[a]+r;return(0>r||l!=t)&&(f=o[a+(r?1:0)]),Bo(s,f)}}}var i=e.text.firstChild,o=!1;if(!t||!Va(i,t))return ae(Bo(ti(e.line),0),!0);if(t==i&&(o=!0,t=i.childNodes[n],n=0,!t)){var a=e.rest?Ii(e.rest):e.line;return ae(Bo(ti(a),a.text.length),o)}var l=3==t.nodeType?t:null,s=t;for(l||1!=t.childNodes.length||3!=t.firstChild.nodeType||(l=t.firstChild,n&&(n=l.nodeValue.length));s.parentNode!=i;)s=s.parentNode;var c=e.measure,u=c.maps,f=r(l,s,n);if(f)return ae(f,o);for(var h=s.nextSibling,d=l?l.nodeValue.length-n:0;h;h=h.nextSibling){if(f=r(h,h.firstChild,0))return ae(Bo(f.line,f.ch-d),o);d+=h.textContent.length}for(var p=s.previousSibling,d=n;p;p=p.previousSibling){if(f=r(p,p.firstChild,-1))return ae(Bo(f.line,f.ch+d),o);d+=h.textContent.length}}function ce(e,t,n,r,i){function o(e){return function(t){return t.id==e}}function a(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return""==n&&(n=t.textContent.replace(/\u200b/g,"")),void(l+=n);var u,f=t.getAttribute("cm-marker");if(f){var h=e.findMarks(Bo(r,0),Bo(i+1,0),o(+f));return void(h.length&&(u=h[0].find())&&(l+=Jr(e.doc,u.from,u.to).join(c)))}if("false"==t.getAttribute("contenteditable"))return;for(var d=0;d<t.childNodes.length;d++)a(t.childNodes[d]);/^(pre|div|p)$/i.test(t.nodeName)&&(s=!0)}else if(3==t.nodeType){var p=t.nodeValue;if(!p)return;s&&(l+=c,s=!1),l+=p}}for(var l="",s=!1,c=e.doc.lineSeparator();a(t),t!=n;)t=t.nextSibling;return l}function ue(e,t){this.ranges=e,this.primIndex=t}function fe(e,t){this.anchor=e,this.head=t}function he(e,t){var n=e[t];e.sort(function(e,t){return _o(e.from(),t.from())}),t=Pi(e,n);for(var r=1;r<e.length;r++){var i=e[r],o=e[r-1];if(_o(o.to(),i.from())>=0){var a=K(o.from(),i.from()),l=V(o.to(),i.to()),s=o.empty()?i.from()==i.head:o.from()==o.head;t>=r&&--t,e.splice(--r,2,new fe(s?l:a,s?a:l))}}return new ue(e,t)}function de(e,t){return new ue([new fe(e,t||e)],0)}function pe(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function me(e,t){if(t.line<e.first)return Bo(e.first,0);var n=e.first+e.size-1;return t.line>n?Bo(n,Zr(e,n).text.length):ge(t,Zr(e,t.line).text.length)}function ge(e,t){var n=e.ch;return null==n||n>t?Bo(e.line,t):0>n?Bo(e.line,0):e}function ve(e,t){return t>=e.first&&t<e.first+e.size}function ye(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=me(e,t[r]);return n}function xe(e,t,n,r){if(e.cm&&e.cm.display.shift||e.extend){var i=t.anchor;if(r){var o=_o(n,i)<0;o!=_o(r,i)<0?(i=n,n=r):o!=_o(n,r)<0&&(n=r)}return new fe(i,n)}return new fe(r||n,n)}function be(e,t,n,r){Te(e,new ue([xe(e,e.sel.primary(),t,n)],0),r)}function we(e,t,n){for(var r=[],i=0;i<e.sel.ranges.length;i++)r[i]=xe(e,e.sel.ranges[i],t[i],null);var o=he(r,e.sel.primIndex);Te(e,o,n)}function ke(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Te(e,he(i,e.sel.primIndex),r)}function Se(e,t,n,r){Te(e,de(t,n),r)}function Ce(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new fe(me(e,t[n].anchor),me(e,t[n].head))},origin:n&&n.origin};return Pa(e,"beforeSelectionChange",e,r),e.cm&&Pa(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?he(r.ranges,r.ranges.length-1):t}function Le(e,t,n){var r=e.history.done,i=Ii(r);i&&i.ranges?(r[r.length-1]=t,Me(e,t,n)):Te(e,t,n)}function Te(e,t,n){Me(e,t,n),fi(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function Me(e,t,n){(Ni(e,"beforeSelectionChange")||e.cm&&Ni(e.cm,"beforeSelectionChange"))&&(t=Ce(e,t,n));var r=n&&n.bias||(_o(t.primary().head,e.sel.primary().head)<0?-1:1);Ne(e,Ee(e,t,r,!0)),n&&n.scroll===!1||!e.cm||Bn(e.cm)}function Ne(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=e.cm.curOp.selectionChanged=!0,Mi(e.cm)),Ci(e,"cursorActivity",e))}function Ae(e){Ne(e,Ee(e,e.sel,null,!1),Wa)}function Ee(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],l=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],s=Ie(e,a.anchor,l&&l.anchor,n,r),c=Ie(e,a.head,l&&l.head,n,r);(i||s!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new fe(s,c))}return i?he(i,t.primIndex):t}function Oe(e,t,n,r,i){var o=Zr(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var l=o.markedSpans[a],s=l.marker;if((null==l.from||(s.inclusiveLeft?l.from<=t.ch:l.from<t.ch))&&(null==l.to||(s.inclusiveRight?l.to>=t.ch:l.to>t.ch))){if(i&&(Pa(s,"beforeCursorEnter"),s.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!s.atomic)continue;if(n){var c,u=s.find(0>r?1:-1);if((0>r?s.inclusiveRight:s.inclusiveLeft)&&(u=Pe(e,u,-r,u&&u.line==t.line?o:null)),u&&u.line==t.line&&(c=_o(u,n))&&(0>r?0>c:c>0))return Oe(e,u,t,r,i)}var f=s.find(0>r?-1:1);return(0>r?s.inclusiveLeft:s.inclusiveRight)&&(f=Pe(e,f,r,f.line==t.line?o:null)),f?Oe(e,f,t,r,i):null}}return t}function Ie(e,t,n,r,i){var o=r||1,a=Oe(e,t,n,o,i)||!i&&Oe(e,t,n,o,!0)||Oe(e,t,n,-o,i)||!i&&Oe(e,t,n,-o,!0);return a?a:(e.cantEdit=!0,Bo(e.first,0))}function Pe(e,t,n,r){return 0>n&&0==t.ch?t.line>e.first?me(e,Bo(t.line-1)):null:n>0&&t.ch==(r||Zr(e,t.line)).text.length?t.line<e.first+e.size-1?Bo(t.line+1,0):null:new Bo(t.line,t.ch+n)}function Re(e){e.display.input.showSelection(e.display.input.prepareSelection())}function De(e,t){for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t!==!1||a!=n.sel.primIndex){var l=n.sel.ranges[a];if(!(l.from().line>=e.display.viewTo||l.to().line<e.display.viewFrom)){var s=l.empty();(s||e.options.showCursorWhenSelecting)&&He(e,l.head,i),s||We(e,l,o)}}return r}function He(e,t,n){var r=dt(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(ji("div"," ","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",r.other){var o=n.appendChild(ji("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=r.other.left+"px",o.style.top=r.other.top+"px",o.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function We(e,t,n){function r(e,t,n,r){0>t&&(t=0),t=Math.round(t),r=Math.round(r),l.appendChild(ji("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px; top: "+t+"px; width: "+(null==n?u-e:n)+"px; height: "+(r-t)+"px"))}function i(t,n,i){function o(n,r){return ht(e,Bo(t,n),"div",f,r)}var l,s,f=Zr(a,t),h=f.text.length;return eo(ii(f),n||0,null==i?h:i,function(e,t,a){var f,d,p,m=o(e,"left");if(e==t)f=m,d=p=m.left;else{if(f=o(t-1,"right"),"rtl"==a){var g=m;m=f,f=g}d=m.left,p=f.right}null==n&&0==e&&(d=c),f.top-m.top>3&&(r(d,m.top,null,m.bottom),d=c,m.bottom<f.top&&r(d,m.bottom,null,f.top)),null==i&&t==h&&(p=u),(!l||m.top<l.top||m.top==l.top&&m.left<l.left)&&(l=m),(!s||f.bottom>s.bottom||f.bottom==s.bottom&&f.right>s.right)&&(s=f),c+1>d&&(d=c),r(d,f.top,p-d,f.bottom)}),{start:l,end:s}}var o=e.display,a=e.doc,l=document.createDocumentFragment(),s=Ge(e.display),c=s.left,u=Math.max(o.sizerWidth,$e(e)-o.sizer.offsetLeft)-s.right,f=t.from(),h=t.to();if(f.line==h.line)i(f.line,f.ch,h.ch);else{var d=Zr(a,f.line),p=Zr(a,h.line),m=yr(d)==yr(p),g=i(f.line,f.ch,m?d.text.length+1:null).end,v=i(h.line,m?0:null,h.ch).start;m&&(g.top<v.top-2?(r(g.right,g.top,null,g.bottom),r(c,v.top,v.left,v.bottom)):r(g.right,g.top,v.left-g.right,g.bottom)),g.bottom<v.top&&r(c,g.bottom,null,v.top)}n.appendChild(l)}function Be(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function _e(e,t){e.doc.mode.startState&&e.doc.frontier<e.display.viewTo&&e.state.highlight.set(t,Bi(Fe,e))}function Fe(e){var t=e.doc;if(t.frontier<t.first&&(t.frontier=t.first),!(t.frontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=sa(t.mode,je(e,t.frontier)),i=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(t.frontier>=e.display.viewFrom){var a=o.styles,l=o.text.length>e.options.maxHighlightLength,s=Rr(e,o,l?sa(t.mode,r):r,!0);o.styles=s.styles;var c=o.styleClasses,u=s.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),h=0;!f&&h<a.length;++h)f=a[h]!=o.styles[h];f&&i.push(t.frontier),o.stateAfter=l?r:sa(t.mode,r)}else o.text.length<=e.options.maxHighlightLength&&Hr(e,o.text,r),o.stateAfter=t.frontier%5==0?sa(t.mode,r):null;return++t.frontier,+new Date>n?(_e(e,e.options.workDelay),!0):void 0}),i.length&&At(e,function(){for(var t=0;t<i.length;t++)Ht(e,i[t],"text")})}}function ze(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),l=t;l>a;--l){if(l<=o.first)return o.first;var s=Zr(o,l-1);if(s.stateAfter&&(!n||l<=o.frontier))return l;var c=Fa(s.text,null,e.options.tabSize);(null==i||r>c)&&(i=l-1,r=c)}return i}function je(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return!0;var o=ze(e,t,n),a=o>r.first&&Zr(r,o-1).stateAfter;return a=a?sa(r.mode,a):ca(r.mode),r.iter(o,t,function(n){Hr(e,n.text,a);var l=o==t-1||o%5==0||o>=i.viewFrom&&o<i.viewTo;n.stateAfter=l?sa(r.mode,a):null,++o}),n&&(r.frontier=o),a}function Ue(e){return e.lineSpace.offsetTop}function qe(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Ge(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=qi(e.measure,ji("pre","x")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function Ye(e){return Da-e.display.nativeBarWidth}function $e(e){return e.display.scroller.clientWidth-Ye(e)-e.display.barWidth}function Ve(e){return e.display.scroller.clientHeight-Ye(e)-e.display.barHeight}function Ke(e,t,n){var r=e.options.lineWrapping,i=r&&$e(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),l=0;l<a.length-1;l++){var s=a[l],c=a[l+1];Math.abs(s.bottom-c.bottom)>2&&o.push((s.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Xe(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var r=0;r<e.rest.length;r++)if(ti(e.rest[r])>n)return{map:e.measure.maps[r],cache:e.measure.caches[r],before:!0}}function Ze(e,t){t=yr(t);var n=ti(t),r=e.display.externalMeasured=new Pt(e.doc,t,n);r.lineN=n;var i=r.built=Br(e,r);return r.text=i.pre,qi(e.display.lineMeasure,i.pre),r}function Je(e,t,n,r){return tt(e,et(e,t),n,r)}function Qe(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Bt(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function et(e,t){var n=ti(t),r=Qe(e,n);r&&!r.text?r=null:r&&r.changes&&(D(e,r,n,P(e)),e.curOp.forceUpdate=!0),r||(r=Ze(e,t));var i=Xe(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function tt(e,t,n,r,i){t.before&&(n=-1);var o,a=n+(r||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Ke(e,t.view,t.rect),t.hasHeights=!0),o=rt(e,t,n,r),o.bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}function nt(e,t,n){for(var r,i,o,a,l=0;l<e.length;l+=3){var s=e[l],c=e[l+1];if(s>t?(i=0,o=1,a="left"):c>t?(i=t-s,o=i+1):(l==e.length-3||t==c&&e[l+3]>t)&&(o=c-s,i=o-1,t>=c&&(a="right")),null!=i){if(r=e[l+2],s==c&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;l&&e[l-2]==e[l-3]&&e[l-1].insertLeft;)r=e[(l-=3)+2],a="left";if("right"==n&&i==c-s)for(;l<e.length-3&&e[l+3]==e[l+4]&&!e[l+5].insertLeft;)r=e[(l+=3)+2],a="right";break}}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:c}}function rt(e,t,n,r){var i,o=nt(t.map,n,r),a=o.node,l=o.start,s=o.end,c=o.collapse;if(3==a.nodeType){for(var u=0;4>u;u++){for(;l&&zi(t.line.text.charAt(o.coverStart+l));)--l;for(;o.coverStart+s<o.coverEnd&&zi(t.line.text.charAt(o.coverStart+s));)++s;if(xo&&9>bo&&0==l&&s==o.coverEnd-o.coverStart)i=a.parentNode.getBoundingClientRect();else if(xo&&e.options.lineWrapping){var f=qa(a,l,s).getClientRects();i=f.length?f["right"==r?f.length-1:0]:qo}else i=qa(a,l,s).getBoundingClientRect()||qo;if(i.left||i.right||0==l)break;s=l,l-=1,c="right"}xo&&11>bo&&(i=it(e.display.measure,i))}else{l>0&&(c=r="right");var f;i=e.options.lineWrapping&&(f=a.getClientRects()).length>1?f["right"==r?f.length-1:0]:a.getBoundingClientRect()}if(xo&&9>bo&&!l&&(!i||!i.left&&!i.right)){var h=a.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+xt(e.display),top:h.top,bottom:h.bottom}:qo}for(var d=i.top-t.rect.top,p=i.bottom-t.rect.top,m=(d+p)/2,g=t.view.measure.heights,u=0;u<g.length-1&&!(m<g[u]);u++);var v=u?g[u-1]:0,y=g[u],x={left:("right"==c?i.right:i.left)-t.rect.left,right:("left"==c?i.left:i.right)-t.rect.left,top:v,bottom:y};return i.left||i.right||(x.bogus=!0),e.options.singleCursorHeightPerLine||(x.rtop=d,x.rbottom=p),x}function it(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Qi(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}function ot(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function at(e){e.display.externalMeasure=null,Ui(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)ot(e.display.view[t])}function lt(e){at(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function st(){return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function ct(){return window.pageYOffset||(document.documentElement||document.body).scrollTop}function ut(e,t,n,r){if(t.widgets)for(var i=0;i<t.widgets.length;++i)if(t.widgets[i].above){var o=Lr(t.widgets[i]);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=ri(t);if("local"==r?a+=Ue(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var l=e.display.lineSpace.getBoundingClientRect();a+=l.top+("window"==r?0:ct());var s=l.left+("window"==r?0:st());n.left+=s,n.right+=s}return n.top+=a,n.bottom+=a,n}function ft(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=st(), +i-=ct();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function ht(e,t,n,r,i){return r||(r=Zr(e.doc,t.line)),ut(e,r,Je(e,r,t.ch,i),n)}function dt(e,t,n,r,i,o){function a(t,a){var l=tt(e,i,t,a?"right":"left",o);return a?l.left=l.right:l.right=l.left,ut(e,r,l,n)}function l(e,t){var n=s[t],r=n.level%2;return e==to(n)&&t&&n.level<s[t-1].level?(n=s[--t],e=no(n)-(n.level%2?0:1),r=!0):e==no(n)&&t<s.length-1&&n.level<s[t+1].level&&(n=s[++t],e=to(n)-n.level%2,r=!1),r&&e==n.to&&e>n.from?a(e-1):a(e,r)}r=r||Zr(e.doc,t.line),i||(i=et(e,r));var s=ii(r),c=t.ch;if(!s)return a(c);var u=co(s,c),f=l(c,u);return null!=al&&(f.other=l(c,al)),f}function pt(e,t){var n=0,t=me(e.doc,t);e.options.lineWrapping||(n=xt(e.display)*t.ch);var r=Zr(e.doc,t.line),i=ri(r)+Ue(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function mt(e,t,n,r){var i=Bo(e,t);return i.xRel=r,n&&(i.outside=!0),i}function gt(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,0>n)return mt(r.first,0,!0,-1);var i=ni(r,n),o=r.first+r.size-1;if(i>o)return mt(r.first+r.size-1,Zr(r,o).text.length,!0,1);0>t&&(t=0);for(var a=Zr(r,i);;){var l=vt(e,a,i,t,n),s=gr(a),c=s&&s.find(0,!0);if(!s||!(l.ch>c.from.ch||l.ch==c.from.ch&&l.xRel>0))return l;i=ti(a=c.to.line)}}function vt(e,t,n,r,i){function o(r){var i=dt(e,Bo(n,r),"line",t,c);return l=!0,a>i.bottom?i.left-s:a<i.top?i.left+s:(l=!1,i.left)}var a=i-ri(t),l=!1,s=2*e.display.wrapper.clientWidth,c=et(e,t),u=ii(t),f=t.text.length,h=ro(t),d=io(t),p=o(h),m=l,g=o(d),v=l;if(r>g)return mt(n,d,v,1);for(;;){if(u?d==h||d==fo(t,h,1):1>=d-h){for(var y=p>r||g-r>=r-p?h:d,x=r-(y==h?p:g);zi(t.text.charAt(y));)++y;var b=mt(n,y,y==h?m:v,-1>x?-1:x>1?1:0);return b}var w=Math.ceil(f/2),k=h+w;if(u){k=h;for(var S=0;w>S;++S)k=fo(t,k,1)}var C=o(k);C>r?(d=k,g=C,(v=l)&&(g+=1e3),f=w):(h=k,p=C,m=l,f-=w)}}function yt(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==zo){zo=ji("pre");for(var t=0;49>t;++t)zo.appendChild(document.createTextNode("x")),zo.appendChild(ji("br"));zo.appendChild(document.createTextNode("x"))}qi(e.measure,zo);var n=zo.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),Ui(e.measure),n||1}function xt(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=ji("span","xxxxxxxxxx"),n=ji("pre",[t]);qi(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function bt(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Yo},Go?Go.ops.push(e.curOp):e.curOp.ownsGroup=Go={ops:[e.curOp],delayedCallbacks:[]}}function wt(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}function kt(e){var t=e.curOp,n=t.ownsGroup;if(n)try{wt(n)}finally{Go=null;for(var r=0;r<n.ops.length;r++)n.ops[r].cm.curOp=null;St(n)}}function St(e){for(var t=e.ops,n=0;n<t.length;n++)Ct(t[n]);for(var n=0;n<t.length;n++)Lt(t[n]);for(var n=0;n<t.length;n++)Tt(t[n]);for(var n=0;n<t.length;n++)Mt(t[n]);for(var n=0;n<t.length;n++)Nt(t[n])}function Ct(e){var t=e.cm,n=t.display;T(t),e.updateMaxLine&&h(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new L(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Lt(e){e.updatedDisplay=e.mustUpdate&&M(e.cm,e.update)}function Tt(e){var t=e.cm,n=t.display;e.updatedDisplay&&O(t),e.barMeasure=p(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Je(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Ye(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-$e(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection(e.focus))}function Mt(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&on(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==Gi()&&(!document.hasFocus||document.hasFocus());e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&y(t,e.barMeasure),e.updatedDisplay&&E(t,e.barMeasure),e.selectionChanged&&Be(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&X(e.cm)}function Nt(e){var t=e.cm,n=t.display,r=t.doc;if(e.updatedDisplay&&N(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null==e.scrollTop||n.scroller.scrollTop==e.scrollTop&&!e.forceScroll||(r.scrollTop=Math.max(0,Math.min(n.scroller.scrollHeight-n.scroller.clientHeight,e.scrollTop)),n.scrollbars.setScrollTop(r.scrollTop),n.scroller.scrollTop=r.scrollTop),null==e.scrollLeft||n.scroller.scrollLeft==e.scrollLeft&&!e.forceScroll||(r.scrollLeft=Math.max(0,Math.min(n.scroller.scrollWidth-n.scroller.clientWidth,e.scrollLeft)),n.scrollbars.setScrollLeft(r.scrollLeft),n.scroller.scrollLeft=r.scrollLeft,w(t)),e.scrollToPos){var i=Rn(t,me(r,e.scrollToPos.from),me(r,e.scrollToPos.to),e.scrollToPos.margin);e.scrollToPos.isCursor&&t.state.focused&&Pn(t,i)}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var l=0;l<o.length;++l)o[l].lines.length||Pa(o[l],"hide");if(a)for(var l=0;l<a.length;++l)a[l].lines.length&&Pa(a[l],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&Pa(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function At(e,t){if(e.curOp)return t();bt(e);try{return t()}finally{kt(e)}}function Et(e,t){return function(){if(e.curOp)return t.apply(e,arguments);bt(e);try{return t.apply(e,arguments)}finally{kt(e)}}}function Ot(e){return function(){if(this.curOp)return e.apply(this,arguments);bt(this);try{return e.apply(this,arguments)}finally{kt(this)}}}function It(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);bt(t);try{return e.apply(this,arguments)}finally{kt(t)}}}function Pt(e,t,n){this.line=t,this.rest=xr(t),this.size=this.rest?ti(Ii(this.rest))-n+1:1,this.node=this.text=null,this.hidden=kr(e,t)}function Rt(e,t,n){for(var r,i=[],o=t;n>o;o=r){var a=new Pt(e.doc,Zr(e.doc,o),o);r=o+a.size,i.push(a)}return i}function Dt(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Wo&&br(e.doc,t)<i.viewTo&&Wt(e);else if(n<=i.viewFrom)Wo&&wr(e.doc,n+r)>i.viewFrom?Wt(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Wt(e);else if(t<=i.viewFrom){var o=_t(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Wt(e)}else if(n>=i.viewTo){var o=_t(e,t,t,-1);o?(i.view=i.view.slice(0,o.index),i.viewTo=o.lineN):Wt(e)}else{var a=_t(e,t,t,-1),l=_t(e,n,n+r,1);a&&l?(i.view=i.view.slice(0,a.index).concat(Rt(e,a.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Wt(e)}var s=i.externalMeasured;s&&(n<s.lineN?s.lineN+=r:t<s.lineN+s.size&&(i.externalMeasured=null))}function Ht(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[Bt(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==Pi(a,n)&&a.push(n)}}}function Wt(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Bt(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,0>t)return null;for(var n=e.display.view,r=0;r<n.length;r++)if(t-=n[r].size,0>t)return r}function _t(e,t,n,r){var i,o=Bt(e,t),a=e.display.view;if(!Wo||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var l=0,s=e.display.viewFrom;o>l;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;br(e.doc,n)!=n;){if(o==(0>r?0:a.length-1))return null;n+=r*a[o-(0>r?1:0)].size,o+=r}return{index:o,lineN:n}}function Ft(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=Rt(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=Rt(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(Bt(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(Rt(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,Bt(e,n)))),r.viewTo=n}function zt(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function jt(e){function t(){i.activeTouch&&(o=setTimeout(function(){i.activeTouch=null},1e3),a=i.activeTouch,a.end=+new Date)}function n(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function r(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}var i=e.display;Ea(i.scroller,"mousedown",Et(e,$t)),xo&&11>bo?Ea(i.scroller,"dblclick",Et(e,function(t){if(!Ti(e,t)){var n=Yt(e,t);if(n&&!Jt(e,t)&&!Gt(e.display,t)){Ma(t);var r=e.findWordAt(n);be(e.doc,r.anchor,r.head)}}})):Ea(i.scroller,"dblclick",function(t){Ti(e,t)||Ma(t)}),Do||Ea(i.scroller,"contextmenu",function(t){xn(e,t)});var o,a={end:0};Ea(i.scroller,"touchstart",function(t){if(!Ti(e,t)&&!n(t)){clearTimeout(o);var r=+new Date;i.activeTouch={start:r,moved:!1,prev:r-a.end<=300?a:null},1==t.touches.length&&(i.activeTouch.left=t.touches[0].pageX,i.activeTouch.top=t.touches[0].pageY)}}),Ea(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),Ea(i.scroller,"touchend",function(n){var o=i.activeTouch;if(o&&!Gt(i,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var a,l=e.coordsChar(i.activeTouch,"page");a=!o.prev||r(o,o.prev)?new fe(l,l):!o.prev.prev||r(o,o.prev.prev)?e.findWordAt(l):new fe(Bo(l.line,0),me(e.doc,Bo(l.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),Ma(n)}t()}),Ea(i.scroller,"touchcancel",t),Ea(i.scroller,"scroll",function(){i.scroller.clientHeight&&(rn(e,i.scroller.scrollTop),on(e,i.scroller.scrollLeft,!0),Pa(e,"scroll",e))}),Ea(i.scroller,"mousewheel",function(t){an(e,t)}),Ea(i.scroller,"DOMMouseScroll",function(t){an(e,t)}),Ea(i.wrapper,"scroll",function(){i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={enter:function(t){Ti(e,t)||Aa(t)},over:function(t){Ti(e,t)||(tn(e,t),Aa(t))},start:function(t){en(e,t)},drop:Et(e,Qt),leave:function(t){Ti(e,t)||nn(e)}};var l=i.input.getField();Ea(l,"keyup",function(t){pn.call(e,t)}),Ea(l,"keydown",Et(e,hn)),Ea(l,"keypress",Et(e,mn)),Ea(l,"focus",Bi(vn,e)),Ea(l,"blur",Bi(yn,e))}function Ut(t,n,r){var i=r&&r!=e.Init;if(!n!=!i){var o=t.display.dragFunctions,a=n?Ea:Ia;a(t.display.scroller,"dragstart",o.start),a(t.display.scroller,"dragenter",o.enter),a(t.display.scroller,"dragover",o.over),a(t.display.scroller,"dragleave",o.leave),a(t.display.scroller,"drop",o.drop)}}function qt(e){var t=e.display;t.lastWrapHeight==t.wrapper.clientHeight&&t.lastWrapWidth==t.wrapper.clientWidth||(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function Gt(e,t){for(var n=wi(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Yt(e,t,n,r){var i=e.display;if(!n&&"true"==wi(t).getAttribute("cm-not-content"))return null;var o,a,l=i.lineSpace.getBoundingClientRect();try{o=t.clientX-l.left,a=t.clientY-l.top}catch(t){return null}var s,c=gt(e,o,a);if(r&&1==c.xRel&&(s=Zr(e.doc,c.line).text).length==c.ch){var u=Fa(s,s.length,e.options.tabSize)-s.length;c=Bo(c.line,Math.max(0,Math.round((o-Ge(e.display).left)/xt(e.display))-u))}return c}function $t(e){var t=this,n=t.display;if(!(Ti(t,e)||n.activeTouch&&n.input.supportsTouch())){if(n.shift=e.shiftKey,Gt(n,e))return void(wo||(n.scroller.draggable=!1,setTimeout(function(){n.scroller.draggable=!0},100)));if(!Jt(t,e)){var r=Yt(t,e);switch(window.focus(),ki(e)){case 1:t.state.selectingText?t.state.selectingText(e):r?Vt(t,e,r):wi(e)==n.scroller&&Ma(e);break;case 2:wo&&(t.state.lastMiddleDown=+new Date),r&&be(t.doc,r),setTimeout(function(){n.input.focus()},20),Ma(e);break;case 3:Do?xn(t,e):gn(t)}}}}function Vt(e,t,n){xo?setTimeout(Bi(X,e),0):e.curOp.focus=Gi();var r,i=+new Date;Uo&&Uo.time>i-400&&0==_o(Uo.pos,n)?r="triple":jo&&jo.time>i-400&&0==_o(jo.pos,n)?(r="double",Uo={time:i,pos:n}):(r="single",jo={time:i,pos:n});var o,a=e.doc.sel,l=Eo?t.metaKey:t.ctrlKey;e.options.dragDrop&&el&&!e.isReadOnly()&&"single"==r&&(o=a.contains(n))>-1&&(_o((o=a.ranges[o]).from(),n)<0||n.xRel>0)&&(_o(o.to(),n)>0||n.xRel<0)?Kt(e,t,n,l):Xt(e,t,n,r,l)}function Kt(e,t,n,r){var i=e.display,o=+new Date,a=Et(e,function(l){wo&&(i.scroller.draggable=!1),e.state.draggingText=!1,Ia(document,"mouseup",a),Ia(i.scroller,"drop",a),Math.abs(t.clientX-l.clientX)+Math.abs(t.clientY-l.clientY)<10&&(Ma(l),!r&&+new Date-200<o&&be(e.doc,n),wo||xo&&9==bo?setTimeout(function(){document.body.focus(),i.input.focus()},20):i.input.focus())});wo&&(i.scroller.draggable=!0),e.state.draggingText=a,i.scroller.dragDrop&&i.scroller.dragDrop(),Ea(document,"mouseup",a),Ea(i.scroller,"drop",a)}function Xt(e,t,n,r,i){function o(t){if(0!=_o(g,t))if(g=t,"rect"==r){for(var i=[],o=e.options.tabSize,a=Fa(Zr(c,n.line).text,n.ch,o),l=Fa(Zr(c,t.line).text,t.ch,o),s=Math.min(a,l),d=Math.max(a,l),p=Math.min(n.line,t.line),m=Math.min(e.lastLine(),Math.max(n.line,t.line));m>=p;p++){var v=Zr(c,p).text,y=za(v,s,o);s==d?i.push(new fe(Bo(p,y),Bo(p,y))):v.length>y&&i.push(new fe(Bo(p,y),Bo(p,za(v,d,o))))}i.length||i.push(new fe(n,n)),Te(c,he(h.ranges.slice(0,f).concat(i),f),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var x=u,b=x.anchor,w=t;if("single"!=r){if("double"==r)var k=e.findWordAt(t);else var k=new fe(Bo(t.line,0),me(c,Bo(t.line+1,0)));_o(k.anchor,b)>0?(w=k.head,b=K(x.from(),k.anchor)):(w=k.anchor,b=V(x.to(),k.head))}var i=h.ranges.slice(0);i[f]=new fe(me(c,b),w),Te(c,he(i,f),Ba)}}function a(t){var n=++y,i=Yt(e,t,!0,"rect"==r);if(i)if(0!=_o(i,g)){e.curOp.focus=Gi(),o(i);var l=b(s,c);(i.line>=l.to||i.line<l.from)&&setTimeout(Et(e,function(){y==n&&a(t)}),150)}else{var u=t.clientY<v.top?-20:t.clientY>v.bottom?20:0;u&&setTimeout(Et(e,function(){y==n&&(s.scroller.scrollTop+=u,a(t))}),50)}}function l(t){e.state.selectingText=!1,y=1/0,Ma(t),s.input.focus(),Ia(document,"mousemove",x),Ia(document,"mouseup",w),c.history.lastSelOrigin=null}var s=e.display,c=e.doc;Ma(t);var u,f,h=c.sel,d=h.ranges;if(i&&!t.shiftKey?(f=c.sel.contains(n),u=f>-1?d[f]:new fe(n,n)):(u=c.sel.primary(),f=c.sel.primIndex),Oo?t.shiftKey&&t.metaKey:t.altKey)r="rect",i||(u=new fe(n,n)),n=Yt(e,t,!0,!0),f=-1;else if("double"==r){var p=e.findWordAt(n);u=e.display.shift||c.extend?xe(c,u,p.anchor,p.head):p}else if("triple"==r){var m=new fe(Bo(n.line,0),me(c,Bo(n.line+1,0)));u=e.display.shift||c.extend?xe(c,u,m.anchor,m.head):m}else u=xe(c,u,n);i?-1==f?(f=d.length,Te(c,he(d.concat([u]),f),{scroll:!1,origin:"*mouse"})):d.length>1&&d[f].empty()&&"single"==r&&!t.shiftKey?(Te(c,he(d.slice(0,f).concat(d.slice(f+1)),0),{scroll:!1,origin:"*mouse"}),h=c.sel):ke(c,f,u,Ba):(f=0,Te(c,new ue([u],0),Ba),h=c.sel);var g=n,v=s.wrapper.getBoundingClientRect(),y=0,x=Et(e,function(e){ki(e)?a(e):l(e)}),w=Et(e,l);e.state.selectingText=w,Ea(document,"mousemove",x),Ea(document,"mouseup",w)}function Zt(e,t,n,r){try{var i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Ma(t);var a=e.display,l=a.lineDiv.getBoundingClientRect();if(o>l.bottom||!Ni(e,n))return bi(t);o-=l.top-a.viewOffset;for(var s=0;s<e.options.gutters.length;++s){var c=a.gutters.childNodes[s];if(c&&c.getBoundingClientRect().right>=i){var u=ni(e.doc,o),f=e.options.gutters[s];return Pa(e,n,e,u,f,t),bi(t)}}}function Jt(e,t){return Zt(e,t,"gutterClick",!0)}function Qt(e){var t=this;if(nn(t),!Ti(t,e)&&!Gt(t.display,e)){Ma(e),xo&&($o=+new Date);var n=Yt(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),a=0,l=function(e,r){if(!t.options.allowDropFileTypes||-1!=Pi(t.options.allowDropFileTypes,e.type)){var l=new FileReader;l.onload=Et(t,function(){var e=l.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),o[r]=e,++a==i){n=me(t.doc,n);var s={from:n,to:n,text:t.doc.splitLines(o.join(t.doc.lineSeparator())),origin:"paste"};Tn(t.doc,s),Le(t.doc,de(n,Qo(s)))}}),l.readAsText(e)}},s=0;i>s;++s)l(r[s],s);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout(function(){t.display.input.focus()},20);try{var o=e.dataTransfer.getData("Text");if(o){if(t.state.draggingText&&!(Eo?e.altKey:e.ctrlKey))var c=t.listSelections();if(Me(t.doc,de(n,n)),c)for(var s=0;s<c.length;++s)In(t.doc,"",c[s].anchor,c[s].head,"drag");t.replaceSelection(o,"around","paste"),t.display.input.focus()}}catch(e){}}}}function en(e,t){if(xo&&(!e.state.draggingText||+new Date-$o<100))return void Aa(t);if(!Ti(e,t)&&!Gt(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!Lo)){var n=ji("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Co&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),Co&&n.parentNode.removeChild(n)}}function tn(e,t){var n=Yt(e,t);if(n){var r=document.createDocumentFragment();He(e,n,r),e.display.dragCursor||(e.display.dragCursor=ji("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),qi(e.display.dragCursor,r)}}function nn(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function rn(e,t){Math.abs(e.doc.scrollTop-t)<2||(e.doc.scrollTop=t,go||A(e,{top:t}),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t),e.display.scrollbars.setScrollTop(t),go&&A(e),_e(e,100))}function on(e,t,n){(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)||(t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),e.doc.scrollLeft=t,w(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function an(e,t){var n=Xo(t),r=n.x,i=n.y,o=e.display,a=o.scroller,l=a.scrollWidth>a.clientWidth,s=a.scrollHeight>a.clientHeight;if(r&&l||i&&s){if(i&&Eo&&wo)e:for(var c=t.target,u=o.view;c!=a;c=c.parentNode)for(var f=0;f<u.length;f++)if(u[f].node==c){e.display.currentWheelTarget=c;break e}if(r&&!go&&!Co&&null!=Ko)return i&&s&&rn(e,Math.max(0,Math.min(a.scrollTop+i*Ko,a.scrollHeight-a.clientHeight))),on(e,Math.max(0,Math.min(a.scrollLeft+r*Ko,a.scrollWidth-a.clientWidth))),(!i||i&&s)&&Ma(t),void(o.wheelStartX=null);if(i&&null!=Ko){var h=i*Ko,d=e.doc.scrollTop,p=d+o.wrapper.clientHeight;0>h?d=Math.max(0,d+h-50):p=Math.min(e.doc.height,p+h+50),A(e,{top:d,bottom:p})}20>Vo&&(null==o.wheelStartX?(o.wheelStartX=a.scrollLeft,o.wheelStartY=a.scrollTop,o.wheelDX=r,o.wheelDY=i,setTimeout(function(){if(null!=o.wheelStartX){var e=a.scrollLeft-o.wheelStartX,t=a.scrollTop-o.wheelStartY,n=t&&o.wheelDY&&t/o.wheelDY||e&&o.wheelDX&&e/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(Ko=(Ko*Vo+n)/(Vo+1),++Vo)}},200)):(o.wheelDX+=r,o.wheelDY+=i))}}function ln(e,t,n){if("string"==typeof t&&(t=ua[t],!t))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=Ha}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function sn(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=ha(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&ha(t,e.options.extraKeys,n,e)||ha(t,e.options.keyMap,n,e)}function cn(e,t,n,r){var i=e.state.keySeq;if(i){if(da(t))return"handled";Zo.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),t=i+" "+t}var o=sn(e,t,r);return"multi"==o&&(e.state.keySeq=t),"handled"==o&&Ci(e,"keyHandled",e,t,n),"handled"!=o&&"multi"!=o||(Ma(n),Be(e)),i&&!o&&/\'$/.test(t)?(Ma(n),!0):!!o}function un(e,t){var n=pa(t,!0);return n?t.shiftKey&&!e.state.keySeq?cn(e,"Shift-"+n,t,function(t){return ln(e,t,!0)})||cn(e,n,t,function(t){return("string"==typeof t?/^go[A-Z]/.test(t):t.motion)?ln(e,t):void 0}):cn(e,n,t,function(t){return ln(e,t)}):!1}function fn(e,t,n){return cn(e,"'"+n+"'",t,function(t){return ln(e,t,!0)})}function hn(e){var t=this;if(t.curOp.focus=Gi(),!Ti(t,e)){xo&&11>bo&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var r=un(t,e);Co&&(Jo=r?n:null,!r&&88==n&&!rl&&(Eo?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||dn(t)}}function dn(e){function t(e){18!=e.keyCode&&e.altKey||(Za(n,"CodeMirror-crosshair"),Ia(document,"keyup",t),Ia(document,"mouseover",t))}var n=e.display.lineDiv;Ja(n,"CodeMirror-crosshair"),Ea(document,"keyup",t),Ea(document,"mouseover",t)}function pn(e){16==e.keyCode&&(this.doc.sel.shift=!1),Ti(this,e)}function mn(e){var t=this;if(!(Gt(t.display,e)||Ti(t,e)||e.ctrlKey&&!e.altKey||Eo&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(Co&&n==Jo)return Jo=null,void Ma(e);if(!Co||e.which&&!(e.which<10)||!un(t,e)){var i=String.fromCharCode(null==r?n:r);fn(t,e,i)||t.display.input.onKeyPress(e)}}}function gn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,yn(e))},100)}function vn(e){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(Pa(e,"focus",e),e.state.focused=!0,Ja(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),wo&&setTimeout(function(){e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Be(e))}function yn(e){e.state.delayingBlurEvent||(e.state.focused&&(Pa(e,"blur",e),e.state.focused=!1,Za(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function xn(e,t){Gt(e.display,t)||bn(e,t)||Ti(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function bn(e,t){return Ni(e,"gutterContextMenu")?Zt(e,t,"gutterContextMenu",!1):!1}function wn(e,t){if(_o(e,t.from)<0)return e;if(_o(e,t.to)<=0)return Qo(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=Qo(t).ch-t.to.ch),Bo(n,r)}function kn(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new fe(wn(i.anchor,t),wn(i.head,t)))}return he(n,e.sel.primIndex)}function Sn(e,t,n){return e.line==t.line?Bo(n.line,e.ch-t.ch+n.ch):Bo(n.line+(e.line-t.line),e.ch)}function Cn(e,t,n){for(var r=[],i=Bo(e.first,0),o=i,a=0;a<t.length;a++){var l=t[a],s=Sn(l.from,i,o),c=Sn(Qo(l),i,o);if(i=l.to,o=c,"around"==n){var u=e.sel.ranges[a],f=_o(u.head,u.anchor)<0;r[a]=new fe(f?c:s,f?s:c)}else r[a]=new fe(s,s)}return new ue(r,e.sel.primIndex)}function Ln(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){this.canceled=!0}};return n&&(r.update=function(t,n,r,i){t&&(this.from=me(e,t)),n&&(this.to=me(e,n)),r&&(this.text=r),void 0!==i&&(this.origin=i)}),Pa(e,"beforeChange",e,r),e.cm&&Pa(e.cm,"beforeChange",e.cm,r),r.canceled?null:{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Tn(e,t,n){if(e.cm){if(!e.cm.curOp)return Et(e.cm,Tn)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(Ni(e,"beforeChange")||e.cm&&Ni(e.cm,"beforeChange"))||(t=Ln(e,t,!0))){var r=Ho&&!n&&sr(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)Mn(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text});else Mn(e,t)}}function Mn(e,t){if(1!=t.text.length||""!=t.text[0]||0!=_o(t.from,t.to)){var n=kn(e,t);ci(e,t,n,e.cm?e.cm.curOp.id:NaN),En(e,t,n,or(e,t));var r=[];Kr(e,function(e,n){n||-1!=Pi(r,e.history)||(xi(e.history,t),r.push(e.history)),En(e,t,null,or(e,t))})}}function Nn(e,t,n){if(!e.cm||!e.cm.state.suppressEdits){for(var r,i=e.history,o=e.sel,a="undo"==t?i.done:i.undone,l="undo"==t?i.undone:i.done,s=0;s<a.length&&(r=a[s],n?!r.ranges||r.equals(e.sel):r.ranges);s++);if(s!=a.length){for(i.lastOrigin=i.lastSelOrigin=null;r=a.pop(),r.ranges;){if(hi(r,l),n&&!r.equals(e.sel))return void Te(e,r,{clearRedo:!1});o=r}var c=[];hi(o,l),l.push({changes:c,generation:i.generation}),i.generation=r.generation||++i.maxGeneration;for(var u=Ni(e,"beforeChange")||e.cm&&Ni(e.cm,"beforeChange"),s=r.changes.length-1;s>=0;--s){var f=r.changes[s];if(f.origin=t,u&&!Ln(e,f,!1))return void(a.length=0);c.push(ai(e,f));var h=s?kn(e,f):Ii(a);En(e,f,h,lr(e,f)),!s&&e.cm&&e.cm.scrollIntoView({from:f.from,to:Qo(f)});var d=[];Kr(e,function(e,t){t||-1!=Pi(d,e.history)||(xi(e.history,f),d.push(e.history)),En(e,f,null,lr(e,f))})}}}}function An(e,t){if(0!=t&&(e.first+=t,e.sel=new ue(Ri(e.sel.ranges,function(e){return new fe(Bo(e.anchor.line+t,e.anchor.ch),Bo(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Dt(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)Ht(e.cm,r,"gutter")}}function En(e,t,n,r){if(e.cm&&!e.cm.curOp)return Et(e.cm,En)(e,t,n,r);if(t.to.line<e.first)return void An(e,t.text.length-1-(t.to.line-t.from.line));if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);An(e,i),t={from:Bo(e.first,0),to:Bo(t.to.line+i,t.to.ch),text:[Ii(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:Bo(o,Zr(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Jr(e,t.from,t.to),n||(n=kn(e,t)),e.cm?On(e.cm,t,r):Yr(e,t,r),Me(e,n,Wa)}}function On(e,t,n){var r=e.doc,i=e.display,a=t.from,l=t.to,s=!1,c=a.line;e.options.lineWrapping||(c=ti(yr(Zr(r,a.line))),r.iter(c,l.line+1,function(e){return e==i.maxLine?(s=!0,!0):void 0})),r.sel.contains(t.from,t.to)>-1&&Mi(e),Yr(r,t,n,o(e)),e.options.lineWrapping||(r.iter(c,a.line+t.text.length,function(e){var t=f(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),r.frontier=Math.min(r.frontier,a.line),_e(e,400);var u=t.text.length-(l.line-a.line)-1;t.full?Dt(e):a.line!=l.line||1!=t.text.length||Gr(e.doc,t)?Dt(e,a.line,l.line+1,u):Ht(e,a.line,"text");var h=Ni(e,"changes"),d=Ni(e,"change");if(d||h){var p={from:a,to:l,text:t.text,removed:t.removed,origin:t.origin};d&&Ci(e,"change",e,p),h&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}function In(e,t,n,r,i){if(r||(r=n),_o(r,n)<0){var o=r;r=n,n=o}"string"==typeof t&&(t=e.splitLines(t)),Tn(e,{from:n,to:r,text:t,origin:i})}function Pn(e,t){if(!Ti(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!Mo){var o=ji("div","",null,"position: absolute; top: "+(t.top-n.viewOffset-Ue(e.display))+"px; height: "+(t.bottom-t.top+Ye(e)+n.barHeight)+"px; left: "+t.left+"px; width: 2px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function Rn(e,t,n,r){null==r&&(r=0);for(var i=0;5>i;i++){var o=!1,a=dt(e,t),l=n&&n!=t?dt(e,n):a,s=Hn(e,Math.min(a.left,l.left),Math.min(a.top,l.top)-r,Math.max(a.left,l.left),Math.max(a.bottom,l.bottom)+r),c=e.doc.scrollTop,u=e.doc.scrollLeft;if(null!=s.scrollTop&&(rn(e,s.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(o=!0)),null!=s.scrollLeft&&(on(e,s.scrollLeft),Math.abs(e.doc.scrollLeft-u)>1&&(o=!0)),!o)break}return a}function Dn(e,t,n,r,i){var o=Hn(e,t,n,r,i);null!=o.scrollTop&&rn(e,o.scrollTop),null!=o.scrollLeft&&on(e,o.scrollLeft)}function Hn(e,t,n,r,i){var o=e.display,a=yt(e.display);0>n&&(n=0);var l=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:o.scroller.scrollTop,s=Ve(e),c={};i-n>s&&(i=n+s);var u=e.doc.height+qe(o),f=a>n,h=i>u-a;if(l>n)c.scrollTop=f?0:n;else if(i>l+s){var d=Math.min(n,(h?u:i)-s);d!=l&&(c.scrollTop=d)}var p=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:o.scroller.scrollLeft,m=$e(e)-(e.options.fixedGutter?o.gutters.offsetWidth:0),g=r-t>m;return g&&(r=t+m),10>t?c.scrollLeft=0:p>t?c.scrollLeft=Math.max(0,t-(g?0:10)):r>m+p-3&&(c.scrollLeft=r+(g?0:10)-m),c}function Wn(e,t,n){null==t&&null==n||_n(e),null!=t&&(e.curOp.scrollLeft=(null==e.curOp.scrollLeft?e.doc.scrollLeft:e.curOp.scrollLeft)+t),null!=n&&(e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+n)}function Bn(e){_n(e);var t=e.getCursor(),n=t,r=t;e.options.lineWrapping||(n=t.ch?Bo(t.line,t.ch-1):t,r=Bo(t.line,t.ch+1)),e.curOp.scrollToPos={from:n,to:r,margin:e.options.cursorScrollMargin,isCursor:!0}}function _n(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=pt(e,t.from),r=pt(e,t.to),i=Hn(e,Math.min(n.left,r.left),Math.min(n.top,r.top)-t.margin,Math.max(n.right,r.right),Math.max(n.bottom,r.bottom)+t.margin);e.scrollTo(i.scrollLeft,i.scrollTop)}}function Fn(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=je(e,t):n="prev");var a=e.options.tabSize,l=Zr(o,t),s=Fa(l.text,null,a);l.stateAfter&&(l.stateAfter=null);var c,u=l.text.match(/^\s*/)[0];if(r||/\S/.test(l.text)){if("smart"==n&&(c=o.mode.indent(i,l.text.slice(u.length),l.text),c==Ha||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?Fa(Zr(o,t-1).text,null,a):0:"add"==n?c=s+e.options.indentUnit:"subtract"==n?c=s-e.options.indentUnit:"number"==typeof n&&(c=s+n),c=Math.max(0,c);var f="",h=0;if(e.options.indentWithTabs)for(var d=Math.floor(c/a);d;--d)h+=a,f+=" ";if(c>h&&(f+=Oi(c-h)),f!=u)return In(o,f,Bo(t,0),Bo(t,u.length),"+input"),l.stateAfter=null,!0;for(var d=0;d<o.sel.ranges.length;d++){var p=o.sel.ranges[d];if(p.head.line==t&&p.head.ch<u.length){var h=Bo(t,u.length);ke(o,d,new fe(h,h));break}}}function zn(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=Zr(e,pe(e,t)):i=ti(t),null==i?null:(r(o,i)&&e.cm&&Ht(e.cm,i,n),o)}function jn(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&_o(o.from,Ii(r).to)<=0;){var a=r.pop();if(_o(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}At(e,function(){for(var t=r.length-1;t>=0;t--)In(e.doc,"",r[t].from,r[t].to,"+delete");Bn(e)})}function Un(e,t,n,r,i){function o(){var t=l+n;return t<e.first||t>=e.first+e.size?!1:(l=t,u=Zr(e,t))}function a(e){var t=(i?fo:ho)(u,s,n,!0);if(null==t){if(e||!o())return!1;s=i?(0>n?io:ro)(u):0>n?u.text.length:0}else s=t;return!0}var l=t.line,s=t.ch,c=n,u=Zr(e,l);if("char"==r)a();else if("column"==r)a(!0);else if("word"==r||"group"==r)for(var f=null,h="group"==r,d=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(0>n)||a(!p);p=!1){var m=u.text.charAt(s)||"\n",g=_i(m,d)?"w":h&&"\n"==m?"n":!h||/\s/.test(m)?null:"p";if(!h||p||g||(g="s"),f&&f!=g){0>n&&(n=1,a());break}if(g&&(f=g),n>0&&!a(!p))break}var v=Ie(e,Bo(l,s),t,c,!0);return _o(t,v)||(v.hitSide=!0),v}function qn(e,t,n,r){var i,o=e.doc,a=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);i=t.top+n*(l-(0>n?1.5:.5)*yt(e.display))}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;;){var s=gt(e,a,i);if(!s.outside)break;if(0>n?0>=i:i>=o.height){s.hitSide=!0;break}i+=5*n}return s}function Gn(t,n,r,i){e.defaults[t]=n,r&&(ta[t]=i?function(e,t,n){n!=na&&r(e,t,n)}:r)}function Yn(e){for(var t,n,r,i,o=e.split(/-(?!$)/),e=o[o.length-1],a=0;a<o.length-1;a++){var l=o[a];if(/^(cmd|meta|m)$/i.test(l))i=!0;else if(/^a(lt)?$/i.test(l))t=!0;else if(/^(c|ctrl|control)$/i.test(l))n=!0;else{ +if(!/^s(hift)$/i.test(l))throw new Error("Unrecognized modifier name: "+l);r=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function $n(e){return"string"==typeof e?fa[e]:e}function Vn(e,t,n,r,i){if(r&&r.shared)return Kn(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return Et(e.cm,Vn)(e,t,n,r,i);var o=new va(e,i),a=_o(t,n);if(r&&Wi(r,o,!1),a>0||0==a&&o.clearWhenEmpty!==!1)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=ji("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(vr(e,t.line,t,n,o)||t.line!=n.line&&vr(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Wo=!0}o.addToHistory&&ci(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var l,s=t.line,c=e.cm;if(e.iter(s,n.line+1,function(e){c&&o.collapsed&&!c.options.lineWrapping&&yr(e)==c.display.maxLine&&(l=!0),o.collapsed&&s!=t.line&&ei(e,0),nr(e,new Qn(o,s==t.line?t.ch:null,s==n.line?n.ch:null)),++s}),o.collapsed&&e.iter(t.line,n.line+1,function(t){kr(e,t)&&ei(t,0)}),o.clearOnEnter&&Ea(o,"beforeCursorEnter",function(){o.clear()}),o.readOnly&&(Ho=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++ga,o.atomic=!0),c){if(l&&(c.curOp.updateMaxLine=!0),o.collapsed)Dt(c,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var u=t.line;u<=n.line;u++)Ht(c,u,"text");o.atomic&&Ae(c.doc),Ci(c,"markerAdded",c,o)}return o}function Kn(e,t,n,r,i){r=Wi(r),r.shared=!1;var o=[Vn(e,t,n,r,i)],a=o[0],l=r.widgetNode;return Kr(e,function(e){l&&(r.widgetNode=l.cloneNode(!0)),o.push(Vn(e,me(e,t),me(e,n),r,i));for(var s=0;s<e.linked.length;++s)if(e.linked[s].isParent)return;a=Ii(o)}),new ya(o,a)}function Xn(e){return e.findMarks(Bo(e.first,0),e.clipPos(Bo(e.lastLine())),function(e){return e.parent})}function Zn(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(_o(o,a)){var l=Vn(e,o,a,r.primary,r.primary.type);r.markers.push(l),l.parent=r}}}function Jn(e){for(var t=0;t<e.length;t++){var n=e[t],r=[n.primary.doc];Kr(n.primary.doc,function(e){r.push(e)});for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==Pi(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}}}function Qn(e,t,n){this.marker=e,this.from=t,this.to=n}function er(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function tr(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function nr(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function rr(e,t,n){if(e)for(var r,i=0;i<e.length;++i){var o=e[i],a=o.marker,l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);if(l||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new Qn(a,o.from,s?null:o.to))}}return r}function ir(e,t,n){if(e)for(var r,i=0;i<e.length;++i){var o=e[i],a=o.marker,l=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);if(l||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new Qn(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}function or(e,t){if(t.full)return null;var n=ve(e,t.from.line)&&Zr(e,t.from.line).markedSpans,r=ve(e,t.to.line)&&Zr(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==_o(t.from,t.to),l=rr(n,i,a),s=ir(r,o,a),c=1==t.text.length,u=Ii(t.text).length+(c?i:0);if(l)for(var f=0;f<l.length;++f){var h=l[f];if(null==h.to){var d=er(s,h.marker);d?c&&(h.to=null==d.to?null:d.to+u):h.to=i}}if(s)for(var f=0;f<s.length;++f){var h=s[f];if(null!=h.to&&(h.to+=u),null==h.from){var d=er(l,h.marker);d||(h.from=u,c&&(l||(l=[])).push(h))}else h.from+=u,c&&(l||(l=[])).push(h)}l&&(l=ar(l)),s&&s!=l&&(s=ar(s));var p=[l];if(!c){var m,g=t.text.length-2;if(g>0&&l)for(var f=0;f<l.length;++f)null==l[f].to&&(m||(m=[])).push(new Qn(l[f].marker,null,null));for(var f=0;g>f;++f)p.push(m);p.push(s)}return p}function ar(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&n.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function lr(e,t){var n=mi(e,t),r=or(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var l=0;l<a.length;++l){for(var s=a[l],c=0;c<o.length;++c)if(o[c].marker==s.marker)continue e;o.push(s)}else a&&(n[i]=a)}return n}function sr(e,t,n){var r=null;if(e.iter(t.line,n.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=Pi(r,n)||(r||(r=[])).push(n)}}),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],l=a.find(0),s=0;s<i.length;++s){var c=i[s];if(!(_o(c.to,l.from)<0||_o(c.from,l.to)>0)){var u=[s,1],f=_o(c.from,l.from),h=_o(c.to,l.to);(0>f||!a.inclusiveLeft&&!f)&&u.push({from:c.from,to:l.from}),(h>0||!a.inclusiveRight&&!h)&&u.push({from:l.to,to:c.to}),i.splice.apply(i,u),s+=u.length-1}}return i}function cr(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function ur(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function fr(e){return e.inclusiveLeft?-1:0}function hr(e){return e.inclusiveRight?1:0}function dr(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=_o(r.from,i.from)||fr(e)-fr(t);if(o)return-o;var a=_o(r.to,i.to)||hr(e)-hr(t);return a?a:t.id-e.id}function pr(e,t){var n,r=Wo&&e.markedSpans;if(r)for(var i,o=0;o<r.length;++o)i=r[o],i.marker.collapsed&&null==(t?i.from:i.to)&&(!n||dr(n,i.marker)<0)&&(n=i.marker);return n}function mr(e){return pr(e,!0)}function gr(e){return pr(e,!1)}function vr(e,t,n,r,i){var o=Zr(e,t),a=Wo&&o.markedSpans;if(a)for(var l=0;l<a.length;++l){var s=a[l];if(s.marker.collapsed){var c=s.marker.find(0),u=_o(c.from,n)||fr(s.marker)-fr(i),f=_o(c.to,r)||hr(s.marker)-hr(i);if(!(u>=0&&0>=f||0>=u&&f>=0)&&(0>=u&&(s.marker.inclusiveRight&&i.inclusiveLeft?_o(c.to,n)>=0:_o(c.to,n)>0)||u>=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?_o(c.from,r)<=0:_o(c.from,r)<0)))return!0}}}function yr(e){for(var t;t=mr(e);)e=t.find(-1,!0).line;return e}function xr(e){for(var t,n;t=gr(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function br(e,t){var n=Zr(e,t),r=yr(n);return n==r?t:ti(r)}function wr(e,t){if(t>e.lastLine())return t;var n,r=Zr(e,t);if(!kr(e,r))return t;for(;n=gr(r);)r=n.find(1,!0).line;return ti(r)+1}function kr(e,t){var n=Wo&&t.markedSpans;if(n)for(var r,i=0;i<n.length;++i)if(r=n[i],r.marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&Sr(e,t,r))return!0}}function Sr(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return Sr(e,r.line,er(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i,o=0;o<t.markedSpans.length;++o)if(i=t.markedSpans[o],i.marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&Sr(e,t,i))return!0}function Cr(e,t,n){ri(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Wn(e,null,n)}function Lr(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!Va(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),qi(t.display.measure,ji("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function Tr(e,t,n,r){var i=new xa(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),zn(e,t,"widget",function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!kr(e,t)){var r=ri(t)<e.scrollTop;ei(t,t.height+Lr(i)),r&&Wn(o,null,i.height),o.curOp.forceUpdate=!0}return!0}),i}function Mr(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),cr(e),ur(e,n);var i=r?r(e):1;i!=e.height&&ei(e,i)}function Nr(e){e.parent=null,cr(e)}function Ar(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(t[r])||(t[r]+=" "+n[2])}return e}function Er(t,n){if(t.blankLine)return t.blankLine(n);if(t.innerMode){var r=e.innerMode(t,n);return r.mode.blankLine?r.mode.blankLine(r.state):void 0}}function Or(t,n,r,i){for(var o=0;10>o;o++){i&&(i[0]=e.innerMode(t,r).mode);var a=t.token(n,r);if(n.pos>n.start)return a}throw new Error("Mode "+t.name+" failed to advance stream.")}function Ir(e,t,n,r){function i(e){return{start:f.start,end:f.pos,string:f.current(),type:o||null,state:e?sa(a.mode,u):u}}var o,a=e.doc,l=a.mode;t=me(a,t);var s,c=Zr(a,t.line),u=je(e,t.line,n),f=new ma(c.text,e.options.tabSize);for(r&&(s=[]);(r||f.pos<t.ch)&&!f.eol();)f.start=f.pos,o=Or(l,f,u),r&&s.push(i(!0));return r?s:i()}function Pr(e,t,n,r,i,o,a){var l=n.flattenSpans;null==l&&(l=e.options.flattenSpans);var s,c=0,u=null,f=new ma(t,e.options.tabSize),h=e.options.addModeClass&&[null];for(""==t&&Ar(Er(n,r),o);!f.eol();){if(f.pos>e.options.maxHighlightLength?(l=!1,a&&Hr(e,t,r,f.pos),f.pos=t.length,s=null):s=Ar(Or(n,f,r,h),o),h){var d=h[0].name;d&&(s="m-"+(s?d+" "+s:d))}if(!l||u!=s){for(;c<f.start;)c=Math.min(f.start,c+5e4),i(c,u);u=s}f.start=f.pos}for(;c<f.pos;){var p=Math.min(f.pos,c+5e4);i(p,u),c=p}}function Rr(e,t,n,r){var i=[e.state.modeGen],o={};Pr(e,t.text,e.doc.mode,n,function(e,t){i.push(e,t)},o,r);for(var a=0;a<e.state.overlays.length;++a){var l=e.state.overlays[a],s=1,c=0;Pr(e,t.text,l.mode,!0,function(e,t){for(var n=s;e>c;){var r=i[s];r>e&&i.splice(s,1,e,i[s+1],r),s+=2,c=Math.min(e,r)}if(t)if(l.opaque)i.splice(n,s-n,e,"cm-overlay "+t),s=n+2;else for(;s>n;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"cm-overlay "+t}},o)}return{styles:i,classes:o.bgClass||o.textClass?o:null}}function Dr(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=je(e,ti(t)),i=Rr(e,t,t.text.length>e.options.maxHighlightLength?sa(e.doc.mode,r):r);t.stateAfter=r,t.styles=i.styles,i.classes?t.styleClasses=i.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.frontier&&e.doc.frontier++}return t.styles}function Hr(e,t,n,r){var i=e.doc.mode,o=new ma(t,e.options.tabSize);for(o.start=o.pos=r||0,""==t&&Er(i,n);!o.eol();)Or(i,o,n),o.start=o.pos}function Wr(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?ka:wa;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Br(e,t){var n=ji("span",null,null,wo?"padding-right: .1px":null),r={pre:ji("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,splitSpaces:(xo||wo)&&e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o,a=i?t.rest[i-1]:t.line;r.pos=0,r.addToken=Fr,Ji(e.display.measure)&&(o=ii(a))&&(r.addToken=jr(r.addToken,o)),r.map=[];var l=t!=e.display.externalMeasured&&ti(a);qr(a,r,Dr(e,a,l)),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=$i(a.styleClasses.bgClass,r.bgClass||"")),a.styleClasses.textClass&&(r.textClass=$i(a.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Zi(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(wo){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return Pa(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=$i(r.pre.className,r.textClass||"")),r}function _r(e){var t=ji("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Fr(e,t,n,r,i,o,a){if(t){var l=e.splitSpaces?t.replace(/ {3,}/g,zr):t,s=e.cm.state.specialChars,c=!1;if(s.test(t))for(var u=document.createDocumentFragment(),f=0;;){s.lastIndex=f;var h=s.exec(t),d=h?h.index-f:t.length-f;if(d){var p=document.createTextNode(l.slice(f,f+d));xo&&9>bo?u.appendChild(ji("span",[p])):u.appendChild(p),e.map.push(e.pos,e.pos+d,p),e.col+=d,e.pos+=d}if(!h)break;if(f+=d+1," "==h[0]){var m=e.cm.options.tabSize,g=m-e.col%m,p=u.appendChild(ji("span",Oi(g),"cm-tab"));p.setAttribute("role","presentation"),p.setAttribute("cm-text"," "),e.col+=g}else if("\r"==h[0]||"\n"==h[0]){var p=u.appendChild(ji("span","\r"==h[0]?"␍":"","cm-invalidchar"));p.setAttribute("cm-text",h[0]),e.col+=1}else{var p=e.cm.options.specialCharPlaceholder(h[0]);p.setAttribute("cm-text",h[0]),xo&&9>bo?u.appendChild(ji("span",[p])):u.appendChild(p),e.col+=1}e.map.push(e.pos,e.pos+1,p),e.pos++}else{e.col+=t.length;var u=document.createTextNode(l);e.map.push(e.pos,e.pos+t.length,u),xo&&9>bo&&(c=!0),e.pos+=t.length}if(n||r||i||c||a){var v=n||"";r&&(v+=r),i&&(v+=i);var y=ji("span",[u],v,a);return o&&(y.title=o),e.content.appendChild(y)}e.content.appendChild(u)}}function zr(e){for(var t=" ",n=0;n<e.length-2;++n)t+=n%2?" ":" ";return t+=" "}function jr(e,t){return function(n,r,i,o,a,l,s){i=i?i+" cm-force-border":"cm-force-border";for(var c=n.pos,u=c+r.length;;){for(var f=0;f<t.length;f++){var h=t[f];if(h.to>c&&h.from<=c)break}if(h.to>=u)return e(n,r,i,o,a,l,s);e(n,r.slice(0,h.to-c),i,o,null,l,s),o=null,r=r.slice(h.to-c),c=h.to}}}function Ur(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t}function qr(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,l,s,c,u,f,h,d=i.length,p=0,m=1,g="",v=0;;){if(v==p){s=c=u=f=l="",h=null,v=1/0;for(var y,x=[],b=0;b<r.length;++b){var w=r[b],k=w.marker;"bookmark"==k.type&&w.from==p&&k.widgetNode?x.push(k):w.from<=p&&(null==w.to||w.to>p||k.collapsed&&w.to==p&&w.from==p)?(null!=w.to&&w.to!=p&&v>w.to&&(v=w.to,c=""),k.className&&(s+=" "+k.className),k.css&&(l=(l?l+";":"")+k.css),k.startStyle&&w.from==p&&(u+=" "+k.startStyle),k.endStyle&&w.to==v&&(y||(y=[])).push(k.endStyle,w.to),k.title&&!f&&(f=k.title),k.collapsed&&(!h||dr(h.marker,k)<0)&&(h=w)):w.from>p&&v>w.from&&(v=w.from)}if(y)for(var b=0;b<y.length;b+=2)y[b+1]==v&&(c+=" "+y[b]);if(!h||h.from==p)for(var b=0;b<x.length;++b)Ur(t,0,x[b]);if(h&&(h.from||0)==p){if(Ur(t,(null==h.to?d+1:h.to)-p,h.marker,null==h.from),null==h.to)return;h.to==p&&(h=!1)}}if(p>=d)break;for(var S=Math.min(d,v);;){if(g){var C=p+g.length;if(!h){var L=C>S?g.slice(0,S-p):g;t.addToken(t,L,a?a+s:s,u,p+L.length==v?c:"",f,l)}if(C>=S){g=g.slice(S-p),p=S;break}p=C,u=""}g=i.slice(o,o=n[m++]),a=Wr(n[m++],t.cm.options)}}else for(var m=1;m<n.length;m+=2)t.addToken(t,i.slice(o,o=n[m]),Wr(n[m+1],t.cm.options))}function Gr(e,t){return 0==t.from.ch&&0==t.to.ch&&""==Ii(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Yr(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){Mr(e,n,i,r),Ci(e,"change",e,t)}function a(e,t){for(var n=e,o=[];t>n;++n)o.push(new ba(c[n],i(n),r));return o}var l=t.from,s=t.to,c=t.text,u=Zr(e,l.line),f=Zr(e,s.line),h=Ii(c),d=i(c.length-1),p=s.line-l.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Gr(e,t)){var m=a(0,c.length-1);o(f,f.text,d),p&&e.remove(l.line,p),m.length&&e.insert(l.line,m)}else if(u==f)if(1==c.length)o(u,u.text.slice(0,l.ch)+h+u.text.slice(s.ch),d);else{var m=a(1,c.length-1);m.push(new ba(h+u.text.slice(s.ch),d,r)),o(u,u.text.slice(0,l.ch)+c[0],i(0)),e.insert(l.line+1,m)}else if(1==c.length)o(u,u.text.slice(0,l.ch)+c[0]+f.text.slice(s.ch),i(0)),e.remove(l.line+1,p);else{o(u,u.text.slice(0,l.ch)+c[0],i(0)),o(f,h+f.text.slice(s.ch),d);var m=a(1,c.length-1);p>1&&e.remove(l.line+1,p-1),e.insert(l.line+1,m)}Ci(e,"change",e,t)}function $r(e){this.lines=e,this.parent=null;for(var t=0,n=0;t<e.length;++t)e[t].parent=this,n+=e[t].height;this.height=n}function Vr(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}function Kr(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a<e.linked.length;++a){var l=e.linked[a];if(l.doc!=i){var s=o&&l.sharedHist;n&&!s||(t(l.doc,s),r(l.doc,e,s))}}}r(e,null,!0)}function Xr(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,a(e),n(e),e.options.lineWrapping||h(e),e.options.mode=t.modeOption,Dt(e)}function Zr(e,t){if(t-=e.first,0>t||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(o>t){n=i;break}t-=o}return n.lines[t]}function Jr(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i}),r}function Qr(e,t,n){var r=[];return e.iter(t,n,function(e){r.push(e.text)}),r}function ei(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function ti(e){if(null==e.parent)return null;for(var t=e.parent,n=Pi(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function ni(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(o>t){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var r=0;r<e.lines.length;++r){var a=e.lines[r],l=a.height;if(l>t)break;t-=l}return n+r}function ri(e){e=yr(e);for(var t=0,n=e.parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;n=o,o=n.parent)for(var r=0;r<o.children.length;++r){var a=o.children[r];if(a==n)break;t+=a.height}return t}function ii(e){var t=e.order;return null==t&&(t=e.order=ll(e.text)),t}function oi(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function ai(e,t){var n={from:$(t.from),to:Qo(t),text:Jr(e,t.from,t.to)};return di(e,n,t.from.line,t.to.line+1),Kr(e,function(e){di(e,n,t.from.line,t.to.line+1)},!0),n}function li(e){for(;e.length;){var t=Ii(e);if(!t.ranges)break;e.pop()}}function si(e,t){return t?(li(e.done),Ii(e.done)):e.done.length&&!Ii(e.done).ranges?Ii(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Ii(e.done)):void 0}function ci(e,t,n,r){var i=e.history;i.undone.length=0;var o,a=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&i.lastModTime>a-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=si(i,i.lastOp==r))){var l=Ii(o.changes);0==_o(t.from,t.to)&&0==_o(t.from,l.to)?l.to=Qo(t):o.changes.push(ai(e,t))}else{var s=Ii(i.done);for(s&&s.ranges||hi(e.sel,i.done),o={changes:[ai(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=a,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,l||Pa(e,"historyAdded")}function ui(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function fi(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||ui(e,o,Ii(i.done),t))?i.done[i.done.length-1]=t:hi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&r.clearRedo!==!1&&li(i.undone)}function hi(e,t){var n=Ii(t);n&&n.ranges&&n.equals(e)||t.push(e)}function di(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function pi(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function mi(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=0,i=[];r<t.text.length;++r)i.push(pi(n[r]));return i}function gi(e,t,n){for(var r=0,i=[];r<e.length;++r){var o=e[r];if(o.ranges)i.push(n?ue.prototype.deepCopy.call(o):o);else{var a=o.changes,l=[];i.push({changes:l});for(var s=0;s<a.length;++s){var c,u=a[s];if(l.push({from:u.from,to:u.to,text:u.text}),t)for(var f in u)(c=f.match(/^spans_(\d+)$/))&&Pi(t,Number(c[1]))>-1&&(Ii(l)[f]=u[f],delete u[f])}}}return i}function vi(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function yi(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||(o=e[i]=o.deepCopy(),o.copied=!0);for(var l=0;l<o.ranges.length;l++)vi(o.ranges[l].anchor,t,n,r),vi(o.ranges[l].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var s=o.changes[l];if(n<s.from.line)s.from=Bo(s.from.line+r,s.from.ch),s.to=Bo(s.to.line+r,s.to.ch);else if(t<=s.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function xi(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;yi(e.done,n,r,i),yi(e.undone,n,r,i)}function bi(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function wi(e){return e.target||e.srcElement}function ki(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),Eo&&e.ctrlKey&&1==t&&(t=3),t}function Si(e,t,n){var r=e._handlers&&e._handlers[t];return n?r&&r.length>0?r.slice():Oa:r||Oa}function Ci(e,t){function n(e){return function(){e.apply(null,o)}}var r=Si(e,t,!1);if(r.length){var i,o=Array.prototype.slice.call(arguments,2);Go?i=Go.delayedCallbacks:Ra?i=Ra:(i=Ra=[],setTimeout(Li,0));for(var a=0;a<r.length;++a)i.push(n(r[a]))}}function Li(){var e=Ra;Ra=null;for(var t=0;t<e.length;++t)e[t]()}function Ti(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),Pa(e,n||t.type,e,t),bi(t)||t.codemirrorIgnore}function Mi(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==Pi(n,t[r])&&n.push(t[r])}function Ni(e,t){return Si(e,t).length>0}function Ai(e){e.prototype.on=function(e,t){Ea(this,e,t)},e.prototype.off=function(e,t){Ia(this,e,t)}}function Ei(){this.id=null}function Oi(e){for(;ja.length<=e;)ja.push(Ii(ja)+" ");return ja[e]}function Ii(e){return e[e.length-1]}function Pi(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}function Ri(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function Di(){}function Hi(e,t){var n;return Object.create?n=Object.create(e):(Di.prototype=e,n=new Di),t&&Wi(t,n),n}function Wi(e,t,n){t||(t={});for(var r in e)!e.hasOwnProperty(r)||n===!1&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function Bi(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function _i(e,t){return t?t.source.indexOf("\\w")>-1&&Ya(e)?!0:t.test(e):Ya(e)}function Fi(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function zi(e){return e.charCodeAt(0)>=768&&$a.test(e)}function ji(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function Ui(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function qi(e,t){return Ui(e).appendChild(t)}function Gi(){for(var e=document.activeElement;e&&e.root&&e.root.activeElement;)e=e.root.activeElement;return e}function Yi(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function $i(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!Yi(n[r]).test(t)&&(t+=" "+n[r]);return t}function Vi(e){if(document.body.getElementsByClassName)for(var t=document.body.getElementsByClassName("CodeMirror"),n=0;n<t.length;n++){var r=t[n].CodeMirror;r&&e(r)}}function Ki(){Qa||(Xi(),Qa=!0)}function Xi(){var e;Ea(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,Vi(qt)},100))}),Ea(window,"blur",function(){Vi(yn)})}function Zi(e){if(null==Ka){var t=ji("span","");qi(e,ji("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Ka=t.offsetWidth<=1&&t.offsetHeight>2&&!(xo&&8>bo))}var n=Ka?ji("span",""):ji("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Ji(e){if(null!=Xa)return Xa;var t=qi(e,document.createTextNode("AخA")),n=qa(t,0,1).getBoundingClientRect();if(!n||n.left==n.right)return!1;var r=qa(t,1,2).getBoundingClientRect();return Xa=r.right-n.right<3}function Qi(e){if(null!=il)return il;var t=qi(e,ji("span","x")),n=t.getBoundingClientRect(),r=qa(t,0,1).getBoundingClientRect();return il=Math.abs(n.left-r.left)>1}function eo(e,t,n,r){if(!e)return r(t,n,"ltr");for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr"),i=!0)}i||r(t,n,"ltr")}function to(e){return e.level%2?e.to:e.from}function no(e){return e.level%2?e.from:e.to}function ro(e){var t=ii(e);return t?to(t[0]):0}function io(e){var t=ii(e);return t?no(Ii(t)):e.text.length}function oo(e,t){var n=Zr(e.doc,t),r=yr(n);r!=n&&(t=ti(r));var i=ii(r),o=i?i[0].level%2?io(r):ro(r):0;return Bo(t,o)}function ao(e,t){for(var n,r=Zr(e.doc,t);n=gr(r);)r=n.find(1,!0).line,t=null;var i=ii(r),o=i?i[0].level%2?ro(r):io(r):r.text.length;return Bo(null==t?ti(r):t,o)}function lo(e,t){var n=oo(e,t.line),r=Zr(e.doc,n.line),i=ii(r);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return Bo(n.line,a?0:o)}return n}function so(e,t,n){var r=e[0].level;return t==r?!0:n==r?!1:n>t}function co(e,t){al=null;for(var n,r=0;r<e.length;++r){var i=e[r];if(i.from<t&&i.to>t)return r;if(i.from==t||i.to==t){if(null!=n)return so(e,i.level,e[n].level)?(i.from!=i.to&&(al=n),r):(i.from!=i.to&&(al=r),n);n=r}}return n}function uo(e,t,n,r){if(!r)return t+n;do t+=n;while(t>0&&zi(e.text.charAt(t)));return t}function fo(e,t,n,r){var i=ii(e);if(!i)return ho(e,t,n,r);for(var o=co(i,t),a=i[o],l=uo(e,t,a.level%2?-n:n,r);;){if(l>a.from&&l<a.to)return l;if(l==a.from||l==a.to)return co(i,l)==o?l:(a=i[o+=n],n>0==a.level%2?a.to:a.from);if(a=i[o+=n],!a)return null;l=n>0==a.level%2?uo(e,a.to,-1,r):uo(e,a.from,1,r)}}function ho(e,t,n,r){var i=t+n;if(r)for(;i>0&&zi(e.text.charAt(i));)i+=n;return 0>i||i>e.text.length?null:i}var po=navigator.userAgent,mo=navigator.platform,go=/gecko\/\d/i.test(po),vo=/MSIE \d/.test(po),yo=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(po),xo=vo||yo,bo=xo&&(vo?document.documentMode||6:yo[1]),wo=/WebKit\//.test(po),ko=wo&&/Qt\/\d+\.\d+/.test(po),So=/Chrome\//.test(po),Co=/Opera\//.test(po),Lo=/Apple Computer/.test(navigator.vendor),To=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(po),Mo=/PhantomJS/.test(po),No=/AppleWebKit/.test(po)&&/Mobile\/\w+/.test(po),Ao=No||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(po),Eo=No||/Mac/.test(mo),Oo=/\bCrOS\b/.test(po),Io=/win/i.test(mo),Po=Co&&po.match(/Version\/(\d*\.\d*)/);Po&&(Po=Number(Po[1])),Po&&Po>=15&&(Co=!1,wo=!0);var Ro=Eo&&(ko||Co&&(null==Po||12.11>Po)),Do=go||xo&&bo>=9,Ho=!1,Wo=!1;m.prototype=Wi({update:function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=e.scrollWidth-e.clientWidth+o+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},setScrollLeft:function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},setScrollTop:function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},zeroWidthHack:function(){var e=Eo&&!To?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ei,this.disableVert=new Ei},enableZeroWidthBar:function(e,t){function n(){var r=e.getBoundingClientRect(),i=document.elementFromPoint(r.left+1,r.bottom-1);i!=e?e.style.pointerEvents="none":t.set(1e3,n)}e.style.pointerEvents="auto",t.set(1e3,n)},clear:function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)}},m.prototype),g.prototype=Wi({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},g.prototype),e.scrollbarModel={"native":m,"null":g},L.prototype.signal=function(e,t){Ni(e,t)&&this.events.push(arguments)},L.prototype.finish=function(){for(var e=0;e<this.events.length;e++)Pa.apply(null,this.events[e])};var Bo=e.Pos=function(e,t){return this instanceof Bo?(this.line=e,void(this.ch=t)):new Bo(e,t)},_o=e.cmpPos=function(e,t){return e.line-t.line||e.ch-t.ch},Fo=null;ne.prototype=Wi({init:function(e){function t(e){if(!Ti(r,e)){if(r.somethingSelected())Fo={lineWise:!1,text:r.getSelections()},n.inaccurateSelection&&(n.prevInput="",n.inaccurateSelection=!1,o.value=Fo.text.join("\n"),Ua(o));else{if(!r.options.lineWiseCopyCut)return;var t=ee(r);Fo={lineWise:!0,text:t.text},"cut"==e.type?r.setSelections(t.ranges,null,Wa):(n.prevInput="",o.value=t.text.join("\n"),Ua(o))}"cut"==e.type&&(r.state.cutIncoming=!0)}}var n=this,r=this.cm,i=this.wrapper=re(),o=this.textarea=i.firstChild;e.wrapper.insertBefore(i,e.wrapper.firstChild),No&&(o.style.width="0px"),Ea(o,"input",function(){xo&&bo>=9&&n.hasSelection&&(n.hasSelection=null),n.poll()}),Ea(o,"paste",function(e){Ti(r,e)||J(e,r)||(r.state.pasteIncoming=!0,n.fastPoll())}),Ea(o,"cut",t),Ea(o,"copy",t),Ea(e.scroller,"paste",function(t){Gt(e,t)||Ti(r,t)||(r.state.pasteIncoming=!0,n.focus())}),Ea(e.lineSpace,"selectstart",function(t){Gt(e,t)||Ma(t)}),Ea(o,"compositionstart",function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}}),Ea(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},prepareSelection:function(){var e=this.cm,t=e.display,n=e.doc,r=De(e);if(e.options.moveInputWithCursor){var i=dt(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},showSelection:function(e){var t=this.cm,n=t.display;qi(n.cursorDiv,e.cursors),qi(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},reset:function(e){if(!this.contextMenuPending){var t,n,r=this.cm,i=r.doc;if(r.somethingSelected()){this.prevInput="";var o=i.sel.primary();t=rl&&(o.to().line-o.from().line>100||(n=r.getSelection()).length>1e3);var a=t?"-":n||r.getSelection();this.textarea.value=a,r.state.focused&&Ua(this.textarea),xo&&bo>=9&&(this.hasSelection=a)}else e||(this.prevInput=this.textarea.value="",xo&&bo>=9&&(this.hasSelection=null));this.inaccurateSelection=t}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!Ao||Gi()!=this.textarea))try{this.textarea.focus()}catch(e){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0; +},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var e=this;e.pollingFast||e.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},fastPoll:function(){function e(){var r=n.poll();r||t?(n.pollingFast=!1,n.slowPoll()):(t=!0,n.polling.set(60,e))}var t=!1,n=this;n.pollingFast=!0,n.polling.set(20,e)},poll:function(){var e=this.cm,t=this.textarea,n=this.prevInput;if(this.contextMenuPending||!e.state.focused||nl(t)&&!n&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var r=t.value;if(r==n&&!e.somethingSelected())return!1;if(xo&&bo>=9&&this.hasSelection===r||Eo&&/[\uf700-\uf7ff]/.test(r))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var i=r.charCodeAt(0);if(8203!=i||n||(n=""),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var o=0,a=Math.min(n.length,r.length);a>o&&n.charCodeAt(o)==r.charCodeAt(o);)++o;var l=this;return At(e,function(){Z(e,r.slice(o),n.length-o,null,l.composing?"*compose":null),r.length>1e3||r.indexOf("\n")>-1?t.value=l.prevInput="":l.prevInput=r,l.composing&&(l.composing.range.clear(),l.composing.range=e.markText(l.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){xo&&bo>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(e){function t(){if(null!=a.selectionStart){var e=i.somethingSelected(),t=""+(e?a.value:"");a.value="⇚",a.value=t,r.prevInput=e?"":"",a.selectionStart=1,a.selectionEnd=t.length,o.selForContextMenu=i.doc.sel}}function n(){if(r.contextMenuPending=!1,r.wrapper.style.cssText=f,a.style.cssText=u,xo&&9>bo&&o.scrollbars.setScrollTop(o.scroller.scrollTop=s),null!=a.selectionStart){(!xo||xo&&9>bo)&&t();var e=0,n=function(){o.selForContextMenu==i.doc.sel&&0==a.selectionStart&&a.selectionEnd>0&&""==r.prevInput?Et(i,ua.selectAll)(i):e++<10?o.detectingSelectAll=setTimeout(n,500):o.input.reset()};o.detectingSelectAll=setTimeout(n,200)}}var r=this,i=r.cm,o=i.display,a=r.textarea,l=Yt(i,e),s=o.scroller.scrollTop;if(l&&!Co){var c=i.options.resetSelectionOnContextMenu;c&&-1==i.doc.sel.contains(l)&&Et(i,Te)(i.doc,de(l),Wa);var u=a.style.cssText,f=r.wrapper.style.cssText;r.wrapper.style.cssText="position: absolute";var h=r.wrapper.getBoundingClientRect();if(a.style.cssText="position: absolute; width: 30px; height: 30px; top: "+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+"px; z-index: 1000; background: "+(xo?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",wo)var d=window.scrollY;if(o.input.focus(),wo&&window.scrollTo(null,d),o.input.reset(),i.somethingSelected()||(a.value=r.prevInput=" "),r.contextMenuPending=!0,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),xo&&bo>=9&&t(),Do){Aa(e);var p=function(){Ia(window,"mouseup",p),setTimeout(n,20)};Ea(window,"mouseup",p)}else setTimeout(n,50)}},readOnlyChanged:function(e){e||this.reset()},setUneditable:Di,needsContentAttribute:!1},ne.prototype),ie.prototype=Wi({init:function(e){function t(e){if(!Ti(r,e)){if(r.somethingSelected())Fo={lineWise:!1,text:r.getSelections()},"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=ee(r);Fo={lineWise:!0,text:t.text},"cut"==e.type&&r.operation(function(){r.setSelections(t.ranges,0,Wa),r.replaceSelection("",null,"cut")})}if(e.clipboardData&&!No)e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/plain",Fo.text.join("\n"));else{var n=re(),i=n.firstChild;r.display.lineSpace.insertBefore(n,r.display.lineSpace.firstChild),i.value=Fo.text.join("\n");var o=document.activeElement;Ua(i),setTimeout(function(){r.display.lineSpace.removeChild(n),o.focus()},50)}}}var n=this,r=n.cm,i=n.div=e.lineDiv;te(i),Ea(i,"paste",function(e){Ti(r,e)||J(e,r)}),Ea(i,"compositionstart",function(e){var t=e.data;if(n.composing={sel:r.doc.sel,data:t,startData:t},t){var i=r.doc.sel.primary(),o=r.getLine(i.head.line),a=o.indexOf(t,Math.max(0,i.head.ch-t.length));a>-1&&a<=i.head.ch&&(n.composing.sel=de(Bo(i.head.line,a),Bo(i.head.line,a+t.length)))}}),Ea(i,"compositionupdate",function(e){n.composing.data=e.data}),Ea(i,"compositionend",function(e){var t=n.composing;t&&(e.data==t.startData||/\u200b/.test(e.data)||(t.data=e.data),setTimeout(function(){t.handled||n.applyComposition(t),n.composing==t&&(n.composing=null)},50))}),Ea(i,"touchstart",function(){n.forceCompositionEnd()}),Ea(i,"input",function(){n.composing||!r.isReadOnly()&&n.pollContent()||At(n.cm,function(){Dt(r)})}),Ea(i,"copy",t),Ea(i,"cut",t)},prepareSelection:function(){var e=De(this.cm,!1);return e.focus=this.cm.state.focused,e},showSelection:function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},showPrimarySelection:function(){var e=window.getSelection(),t=this.cm.doc.sel.primary(),n=le(this.cm,e.anchorNode,e.anchorOffset),r=le(this.cm,e.focusNode,e.focusOffset);if(!n||n.bad||!r||r.bad||0!=_o(K(n,r),t.from())||0!=_o(V(n,r),t.to())){var i=oe(this.cm,t.from()),o=oe(this.cm,t.to());if(i||o){var a=this.cm.display.view,l=e.rangeCount&&e.getRangeAt(0);if(i){if(!o){var s=a[a.length-1].measure,c=s.maps?s.maps[s.maps.length-1]:s.map;o={node:c[c.length-1],offset:c[c.length-2]-c[c.length-3]}}}else i={node:a[0].measure.map[2],offset:0};try{var u=qa(i.node,i.offset,o.offset,o.node)}catch(f){}u&&(!go&&this.cm.state.focused?(e.collapse(i.node,i.offset),u.collapsed||e.addRange(u)):(e.removeAllRanges(),e.addRange(u)),l&&null==e.anchorNode?e.addRange(l):go&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){e.cm.curOp.selectionChanged=!0})},20)},showMultipleSelections:function(e){qi(this.cm.display.cursorDiv,e.cursors),qi(this.cm.display.selectionDiv,e.selection)},rememberSelection:function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},selectionInEditor:function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Va(this.div,t)},focus:function(){"nocursor"!=this.cm.options.readOnly&&this.div.focus()},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}var t=this;this.selectionInEditor()?this.pollSelection():At(this.cm,function(){t.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,e)},selectionChanged:function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;this.rememberSelection();var n=le(t,e.anchorNode,e.anchorOffset),r=le(t,e.focusNode,e.focusOffset);n&&r&&At(t,function(){Te(t.doc,de(n,r),Wa),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}},pollContent:function(){var e=this.cm,t=e.display,n=e.doc.sel.primary(),r=n.from(),i=n.to();if(r.line<t.viewFrom||i.line>t.viewTo-1)return!1;var o;if(r.line==t.viewFrom||0==(o=Bt(e,r.line)))var a=ti(t.view[0].line),l=t.view[0].node;else var a=ti(t.view[o].line),l=t.view[o-1].node.nextSibling;var s=Bt(e,i.line);if(s==t.view.length-1)var c=t.viewTo-1,u=t.lineDiv.lastChild;else var c=ti(t.view[s+1].line)-1,u=t.view[s+1].node.previousSibling;for(var f=e.doc.splitLines(ce(e,l,u,a,c)),h=Jr(e.doc,Bo(a,0),Bo(c,Zr(e.doc,c).text.length));f.length>1&&h.length>1;)if(Ii(f)==Ii(h))f.pop(),h.pop(),c--;else{if(f[0]!=h[0])break;f.shift(),h.shift(),a++}for(var d=0,p=0,m=f[0],g=h[0],v=Math.min(m.length,g.length);v>d&&m.charCodeAt(d)==g.charCodeAt(d);)++d;for(var y=Ii(f),x=Ii(h),b=Math.min(y.length-(1==f.length?d:0),x.length-(1==h.length?d:0));b>p&&y.charCodeAt(y.length-p-1)==x.charCodeAt(x.length-p-1);)++p;f[f.length-1]=y.slice(0,y.length-p),f[0]=f[0].slice(d);var w=Bo(a,d),k=Bo(c,h.length?Ii(h).length-p:0);return f.length>1||f[0]||_o(w,k)?(In(e.doc,f,w,k,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&!this.composing.handled&&(this.applyComposition(this.composing),this.composing.handled=!0,this.div.blur(),this.div.focus())},applyComposition:function(e){this.cm.isReadOnly()?Et(this.cm,Dt)(this.cm):e.data&&e.data!=e.startData&&Et(this.cm,Z)(this.cm,e.data,0,e.sel)},setUneditable:function(e){e.contentEditable="false"},onKeyPress:function(e){e.preventDefault(),this.cm.isReadOnly()||Et(this.cm,Z)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0)},readOnlyChanged:function(e){this.div.contentEditable=String("nocursor"!=e)},onContextMenu:Di,resetPosition:Di,needsContentAttribute:!0},ie.prototype),e.inputStyles={textarea:ne,contenteditable:ie},ue.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(0!=_o(n.anchor,r.anchor)||0!=_o(n.head,r.head))return!1}return!0},deepCopy:function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new fe($(this.ranges[t].anchor),$(this.ranges[t].head));return new ue(e,this.primIndex)},somethingSelected:function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},contains:function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(_o(t,r.from())>=0&&_o(e,r.to())<=0)return n}return-1}},fe.prototype={from:function(){return K(this.anchor,this.head)},to:function(){return V(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};var zo,jo,Uo,qo={left:0,right:0,top:0,bottom:0},Go=null,Yo=0,$o=0,Vo=0,Ko=null;xo?Ko=-.53:go?Ko=15:So?Ko=-.7:Lo&&(Ko=-1/3);var Xo=function(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}};e.wheelEventPixels=function(e){var t=Xo(e);return t.x*=Ko,t.y*=Ko,t};var Zo=new Ei,Jo=null,Qo=e.changeEnd=function(e){return e.text?Bo(e.from.line+e.text.length-1,Ii(e.text).length+(1==e.text.length?e.from.ch:0)):e.to};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,t){var n=this.options,r=n[e];n[e]==t&&"mode"!=e||(n[e]=t,ta.hasOwnProperty(e)&&Et(this,ta[e])(this,t,r))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"]($n(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:Ot(function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");this.state.overlays.push({mode:r,modeSpec:t,opaque:n&&n.opaque}),this.state.modeGen++,Dt(this)}),removeOverlay:Ot(function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void Dt(this)}}),indentLine:Ot(function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),ve(this.doc,e)&&Fn(this,e,t,n)}),indentSelection:Ot(function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Fn(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Bn(this));else{var o=i.from(),a=i.to(),l=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var s=l;n>s;++s)Fn(this,s,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[r].from().ch>0&&ke(this.doc,r,new fe(o,c[r].to()),Wa)}}}),getTokenAt:function(e,t){return Ir(this,e,t)},getLineTokens:function(e,t){return Ir(this,Bo(e),t,!0)},getTokenTypeAt:function(e){e=me(this.doc,e);var t,n=Dr(this,Zr(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var l=t?t.indexOf("cm-overlay "):-1;return 0>l?t:0==l?null:t.slice(0,l-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=[];if(!la.hasOwnProperty(t))return n;var r=la[t],i=this.getModeAt(e);if("string"==typeof i[t])r[i[t]]&&n.push(r[i[t]]);else if(i[t])for(var o=0;o<i[t].length;o++){var a=r[i[t][o]];a&&n.push(a)}else i.helperType&&r[i.helperType]?n.push(r[i.helperType]):r[i.name]&&n.push(r[i.name]);for(var o=0;o<r._global.length;o++){var l=r._global[o];l.pred(i,this)&&-1==Pi(n,l.val)&&n.push(l.val)}return n},getStateAfter:function(e,t){var n=this.doc;return e=pe(n,null==e?n.first+n.size-1:e),je(this,e+1,t)},cursorCoords:function(e,t){var n,r=this.doc.sel.primary();return n=null==e?r.head:"object"==typeof e?me(this.doc,e):e?r.from():r.to(),dt(this,n,t||"page")},charCoords:function(e,t){return ht(this,me(this.doc,e),t||"page")},coordsChar:function(e,t){return e=ft(this,e,t||"page"),gt(this,e.left,e.top)},lineAtHeight:function(e,t){return e=ft(this,{top:e,left:0},t||"page").top,ni(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t){var n,r=!1;if("number"==typeof e){var i=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>i&&(e=i,r=!0),n=Zr(this.doc,e)}else n=e;return ut(this,n,{top:0,left:0},t||"page").top+(r?this.doc.height-ri(n):0)},defaultTextHeight:function(){return yt(this.display)},defaultCharWidth:function(){return xt(this.display)},setGutterMarker:Ot(function(e,t,n){return zn(this.doc,e,"gutter",function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&Fi(r)&&(e.gutterMarkers=null),!0})}),clearGutter:Ot(function(e){var t=this,n=t.doc,r=n.first;n.iter(function(n){n.gutterMarkers&&n.gutterMarkers[e]&&(n.gutterMarkers[e]=null,Ht(t,r,"gutter"),Fi(n.gutterMarkers)&&(n.gutterMarkers=null)),++r})}),lineInfo:function(e){if("number"==typeof e){if(!ve(this.doc,e))return null;var t=e;if(e=Zr(this.doc,e),!e)return null}else{var t=ti(e);if(null==t)return null}return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=dt(this,me(this.doc,e));var a=e.bottom,l=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var s=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>s)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=s&&(a=e.bottom),l+t.offsetWidth>c&&(l=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(l=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?l=0:"middle"==i&&(l=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=l+"px"),n&&Dn(this,l,a,l+t.offsetWidth,a+t.offsetHeight)},triggerOnKeyDown:Ot(hn),triggerOnKeyPress:Ot(mn),triggerOnKeyUp:pn,execCommand:function(e){return ua.hasOwnProperty(e)?ua[e].call(null,this):void 0},triggerElectric:Ot(function(e){Q(this,e)}),findPosH:function(e,t,n,r){var i=1;0>t&&(i=-1,t=-t);for(var o=0,a=me(this.doc,e);t>o&&(a=Un(this.doc,a,i,n,r),!a.hitSide);++o);return a},moveH:Ot(function(e,t){var n=this;n.extendSelectionsBy(function(r){return n.display.shift||n.doc.extend||r.empty()?Un(n.doc,r.head,e,t,n.options.rtlMoveVisually):0>e?r.from():r.to()},_a)}),deleteH:Ot(function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):jn(this,function(n){var i=Un(r,n.head,e,t,!1);return 0>e?{from:i,to:n.head}:{from:n.head,to:i}})}),findPosV:function(e,t,n,r){var i=1,o=r;0>t&&(i=-1,t=-t);for(var a=0,l=me(this.doc,e);t>a;++a){var s=dt(this,l,"div");if(null==o?o=s.left:s.left=o,l=qn(this,s,i,n),l.hitSide)break}return l},moveV:Ot(function(e,t){var n=this,r=this.doc,i=[],o=!n.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy(function(a){if(o)return 0>e?a.from():a.to();var l=dt(n,a.head,"div");null!=a.goalColumn&&(l.left=a.goalColumn),i.push(l.left);var s=qn(n,l,e,t);return"page"==t&&a==r.sel.primary()&&Wn(n,null,ht(n,s,"div").top-l.top),s},_a),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]}),findWordAt:function(e){var t=this.doc,n=Zr(t,e.line).text,r=e.ch,i=e.ch;if(n){var o=this.getHelper(e,"wordChars");(e.xRel<0||i==n.length)&&r?--r:++i;for(var a=n.charAt(r),l=_i(a,o)?function(e){return _i(e,o)}:/\s/.test(a)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!_i(e)};r>0&&l(n.charAt(r-1));)--r;for(;i<n.length&&l(n.charAt(i));)++i}return new fe(Bo(e.line,r),Bo(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Ja(this.display.cursorDiv,"CodeMirror-overwrite"):Za(this.display.cursorDiv,"CodeMirror-overwrite"),Pa(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Gi()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Ot(function(e,t){null==e&&null==t||_n(this),null!=e&&(this.curOp.scrollLeft=e),null!=t&&(this.curOp.scrollTop=t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Ye(this)-this.display.barHeight,width:e.scrollWidth-Ye(this)-this.display.barWidth,clientHeight:Ve(this),clientWidth:$e(this)}},scrollIntoView:Ot(function(e,t){if(null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:Bo(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line)_n(this),this.curOp.scrollToPos=e;else{var n=Hn(this,Math.min(e.from.left,e.to.left),Math.min(e.from.top,e.to.top)-e.margin,Math.max(e.from.right,e.to.right),Math.max(e.from.bottom,e.to.bottom)+e.margin);this.scrollTo(n.scrollLeft,n.scrollTop)}}),setSize:Ot(function(e,t){function n(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e}var r=this;null!=e&&(r.display.wrapper.style.width=n(e)),null!=t&&(r.display.wrapper.style.height=n(t)),r.options.lineWrapping&&at(this);var i=r.display.viewFrom;r.doc.iter(i,r.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){Ht(r,i,"widget");break}++i}),r.curOp.forceUpdate=!0,Pa(r,"refresh",this)}),operation:function(e){return At(this,e)},refresh:Ot(function(){var e=this.display.cachedTextHeight;Dt(this),this.curOp.forceUpdate=!0,lt(this),this.scrollTo(this.doc.scrollLeft,this.doc.scrollTop),u(this),(null==e||Math.abs(e-yt(this.display))>.5)&&a(this),Pa(this,"refresh",this)}),swapDoc:Ot(function(e){var t=this.doc;return t.cm=null,Xr(this,e),lt(this),this.display.input.reset(),this.scrollTo(e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Ci(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ai(e);var ea=e.defaults={},ta=e.optionHandlers={},na=e.Init={toString:function(){return"CodeMirror.Init"}};Gn("value","",function(e,t){e.setValue(t)},!0),Gn("mode",null,function(e,t){e.doc.modeOption=t,n(e)},!0),Gn("indentUnit",2,n,!0),Gn("indentWithTabs",!1),Gn("smartIndent",!0),Gn("tabSize",4,function(e){r(e),lt(e),Dt(e)},!0),Gn("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(Bo(r,o))}r++});for(var i=n.length-1;i>=0;i--)In(e.doc,t,n[i],Bo(n[i].line,n[i].ch+t.length))}}),Gn("specialChars",/[\u0000-\u001f\u007f\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,n,r){t.state.specialChars=new RegExp(n.source+(n.test(" ")?"":"| "),"g"),r!=e.Init&&t.refresh()}),Gn("specialCharPlaceholder",_r,function(e){e.refresh()},!0),Gn("electricChars",!0),Gn("inputStyle",Ao?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Gn("rtlMoveVisually",!Io),Gn("wholeLineUpdateBefore",!0),Gn("theme","default",function(e){l(e),s(e)},!0),Gn("keyMap","default",function(t,n,r){var i=$n(n),o=r!=e.Init&&$n(r);o&&o.detach&&o.detach(t,i),i.attach&&i.attach(t,o||null)}),Gn("extraKeys",null),Gn("lineWrapping",!1,i,!0),Gn("gutters",[],function(e){d(e.options),s(e)},!0),Gn("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?C(e.display)+"px":"0",e.refresh()},!0),Gn("coverGutterNextToScrollbar",!1,function(e){y(e)},!0),Gn("scrollbarStyle","native",function(e){v(e),y(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),Gn("lineNumbers",!1,function(e){d(e.options),s(e)},!0),Gn("firstLineNumber",1,s,!0),Gn("lineNumberFormatter",function(e){return e},s,!0),Gn("showCursorWhenSelecting",!1,Re,!0),Gn("resetSelectionOnContextMenu",!0),Gn("lineWiseCopyCut",!0),Gn("readOnly",!1,function(e,t){"nocursor"==t?(yn(e),e.display.input.blur(),e.display.disabled=!0):e.display.disabled=!1,e.display.input.readOnlyChanged(t)}),Gn("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),Gn("dragDrop",!0,Ut),Gn("allowDropFileTypes",null),Gn("cursorBlinkRate",530),Gn("cursorScrollMargin",0),Gn("cursorHeight",1,Re,!0),Gn("singleCursorHeightPerLine",!0,Re,!0),Gn("workTime",100),Gn("workDelay",100),Gn("flattenSpans",!0,r,!0),Gn("addModeClass",!1,r,!0),Gn("pollInterval",100),Gn("undoDepth",200,function(e,t){e.doc.history.undoDepth=t}),Gn("historyEventDelay",1250),Gn("viewportMargin",10,function(e){e.refresh()},!0),Gn("maxHighlightLength",1e4,r,!0),Gn("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),Gn("tabindex",null,function(e,t){e.display.input.getField().tabIndex=t||""}),Gn("autofocus",null);var ra=e.modes={},ia=e.mimeModes={};e.defineMode=function(t,n){e.defaults.mode||"null"==t||(e.defaults.mode=t),arguments.length>2&&(n.dependencies=Array.prototype.slice.call(arguments,2)),ra[t]=n},e.defineMIME=function(e,t){ia[e]=t},e.resolveMode=function(t){if("string"==typeof t&&ia.hasOwnProperty(t))t=ia[t];else if(t&&"string"==typeof t.name&&ia.hasOwnProperty(t.name)){var n=ia[t.name];"string"==typeof n&&(n={name:n}),t=Hi(n,t),t.name=n.name}else if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return e.resolveMode("application/xml");return"string"==typeof t?{name:t}:t||{name:"null"}},e.getMode=function(t,n){var n=e.resolveMode(n),r=ra[n.name];if(!r)return e.getMode(t,"text/plain");var i=r(t,n);if(oa.hasOwnProperty(n.name)){var o=oa[n.name];for(var a in o)o.hasOwnProperty(a)&&(i.hasOwnProperty(a)&&(i["_"+a]=i[a]),i[a]=o[a])}if(i.name=n.name,n.helperType&&(i.helperType=n.helperType),n.modeProps)for(var a in n.modeProps)i[a]=n.modeProps[a];return i},e.defineMode("null",function(){return{token:function(e){e.skipToEnd()}}}),e.defineMIME("text/plain","null");var oa=e.modeExtensions={};e.extendMode=function(e,t){var n=oa.hasOwnProperty(e)?oa[e]:oa[e]={};Wi(t,n)},e.defineExtension=function(t,n){e.prototype[t]=n},e.defineDocExtension=function(e,t){Ca.prototype[e]=t},e.defineOption=Gn;var aa=[];e.defineInitHook=function(e){aa.push(e)};var la=e.helpers={};e.registerHelper=function(t,n,r){la.hasOwnProperty(t)||(la[t]=e[t]={_global:[]}),la[t][n]=r},e.registerGlobalHelper=function(t,n,r,i){e.registerHelper(t,n,i),la[t]._global.push({pred:r,val:i})};var sa=e.copyState=function(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n},ca=e.startState=function(e,t,n){return e.startState?e.startState(t,n):!0};e.innerMode=function(e,t){for(;e.innerMode;){var n=e.innerMode(t);if(!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}};var ua=e.commands={selectAll:function(e){e.setSelection(Bo(e.firstLine(),0),Bo(e.lastLine()),Wa)},singleSelection:function(e){e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Wa)},killLine:function(e){jn(e,function(t){if(t.empty()){var n=Zr(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:Bo(t.head.line+1,0)}:{from:t.head,to:Bo(t.head.line,n)}}return{from:t.from(),to:t.to()}})},deleteLine:function(e){jn(e,function(t){return{from:Bo(t.from().line,0),to:me(e.doc,Bo(t.to().line+1,0))}})},delLineLeft:function(e){jn(e,function(e){return{from:Bo(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(e){jn(e,function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return{from:r,to:t.from()}})},delWrappedLineRight:function(e){jn(e,function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}})},undo:function(e){e.undo()},redo:function(e){e.redo()},undoSelection:function(e){e.undoSelection()},redoSelection:function(e){e.redoSelection()},goDocStart:function(e){e.extendSelection(Bo(e.firstLine(),0))},goDocEnd:function(e){e.extendSelection(Bo(e.lastLine()))},goLineStart:function(e){e.extendSelectionsBy(function(t){return oo(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){e.extendSelectionsBy(function(t){return lo(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){e.extendSelectionsBy(function(t){return ao(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){e.extendSelectionsBy(function(t){var n=e.charCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")},_a)},goLineLeft:function(e){e.extendSelectionsBy(function(t){var n=e.charCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")},_a)},goLineLeftSmart:function(e){e.extendSelectionsBy(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?lo(e,t.head):r},_a)},goLineUp:function(e){e.moveV(-1,"line")},goLineDown:function(e){e.moveV(1,"line")},goPageUp:function(e){e.moveV(-1,"page")},goPageDown:function(e){e.moveV(1,"page")},goCharLeft:function(e){e.moveH(-1,"char")},goCharRight:function(e){e.moveH(1,"char")},goColumnLeft:function(e){e.moveH(-1,"column")},goColumnRight:function(e){e.moveH(1,"column")},goWordLeft:function(e){e.moveH(-1,"word")},goGroupRight:function(e){e.moveH(1,"group")},goGroupLeft:function(e){e.moveH(-1,"group")},goWordRight:function(e){e.moveH(1,"word")},delCharBefore:function(e){e.deleteH(-1,"char")},delCharAfter:function(e){e.deleteH(1,"char")},delWordBefore:function(e){e.deleteH(-1,"word")},delWordAfter:function(e){e.deleteH(1,"word")},delGroupBefore:function(e){e.deleteH(-1,"group")},delGroupAfter:function(e){e.deleteH(1,"group")},indentAuto:function(e){e.indentSelection("smart")},indentMore:function(e){e.indentSelection("add")},indentLess:function(e){e.indentSelection("subtract")},insertTab:function(e){e.replaceSelection(" ")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=Fa(e.getLine(o.line),o.ch,r);t.push(Oi(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){At(e,function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++){var i=t[r].head,o=Zr(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new Bo(i.line,i.ch-1)),i.ch>0)i=new Bo(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),Bo(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Zr(e.doc,i.line-1).text;a&&e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Bo(i.line-1,a.length-1),Bo(i.line,1),"+transpose")}n.push(new fe(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){At(e,function(){for(var t=e.listSelections().length,n=0;t>n;n++){var r=e.listSelections()[n];e.replaceRange(e.doc.lineSeparator(),r.anchor,r.head,"+input"),e.indentLine(r.from().line+1,null,!0)}Bn(e)})},openLine:function(e){e.replaceSelection("\n","start")},toggleOverwrite:function(e){e.toggleOverwrite()}},fa=e.keyMap={};fa.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},fa.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},fa.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},fa.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},fa["default"]=Eo?fa.macDefault:fa.pcDefault,e.normalizeKeyMap=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=Ri(n.split(" "),Yn),o=0;o<i.length;o++){var a,l;o==i.length-1?(l=i.join(" "),a=r):(l=i.slice(0,o+1).join(" "),a="...");var s=t[l];if(s){if(s!=a)throw new Error("Inconsistent bindings for "+l)}else t[l]=a}delete e[n]}for(var c in t)e[c]=t[c];return e};var ha=e.lookupKey=function(e,t,n,r){t=$n(t);var i=t.call?t.call(e,r):t[e];if(i===!1)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return ha(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=ha(e,t.fallthrough[o],n,r); +if(a)return a}}},da=e.isModifierKey=function(e){var t="string"==typeof e?e:ol[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t},pa=e.keyName=function(e,t){if(Co&&34==e.keyCode&&e["char"])return!1;var n=ol[e.keyCode],r=n;return null==r||e.altGraphKey?!1:(e.altKey&&"Alt"!=n&&(r="Alt-"+r),(Ro?e.metaKey:e.ctrlKey)&&"Ctrl"!=n&&(r="Ctrl-"+r),(Ro?e.ctrlKey:e.metaKey)&&"Cmd"!=n&&(r="Cmd-"+r),!t&&e.shiftKey&&"Shift"!=n&&(r="Shift-"+r),r)};e.fromTextArea=function(t,n){function r(){t.value=c.getValue()}if(n=n?Wi(n):{},n.value=t.value,!n.tabindex&&t.tabIndex&&(n.tabindex=t.tabIndex),!n.placeholder&&t.placeholder&&(n.placeholder=t.placeholder),null==n.autofocus){var i=Gi();n.autofocus=i==t||null!=t.getAttribute("autofocus")&&i==document.body}if(t.form&&(Ea(t.form,"submit",r),!n.leaveSubmitMethodAlone)){var o=t.form,a=o.submit;try{var l=o.submit=function(){r(),o.submit=a,o.submit(),o.submit=l}}catch(s){}}n.finishInit=function(e){e.save=r,e.getTextArea=function(){return t},e.toTextArea=function(){e.toTextArea=isNaN,r(),t.parentNode.removeChild(e.getWrapperElement()),t.style.display="",t.form&&(Ia(t.form,"submit",r),"function"==typeof t.form.submit&&(t.form.submit=a))}},t.style.display="none";var c=e(function(e){t.parentNode.insertBefore(e,t.nextSibling)},n);return c};var ma=e.StringStream=function(e,t){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};ma.prototype={eol:function(){return this.pos>=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){return this.pos<this.string.length?this.string.charAt(this.pos++):void 0},eat:function(e){var t=this.string.charAt(this.pos);if("string"==typeof e)var n=t==e;else var n=t&&(e.test?e.test(t):e(t));return n?(++this.pos,t):void 0},eatWhile:function(e){for(var t=this.pos;this.eat(e););return this.pos>t},eatSpace:function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},skipToEnd:function(){this.pos=this.string.length},skipTo:function(e){var t=this.string.indexOf(e,this.pos);return t>-1?(this.pos=t,!0):void 0},backUp:function(e){this.pos-=e},column:function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Fa(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Fa(this.string,this.lineStart,this.tabSize):0)},indentation:function(){return Fa(this.string,null,this.tabSize)-(this.lineStart?Fa(this.string,this.lineStart,this.tabSize):0)},match:function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&t!==!1&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);return i(o)==i(e)?(t!==!1&&(this.pos+=e.length),!0):void 0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}}};var ga=0,va=e.TextMarker=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++ga};Ai(va),va.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&bt(e),Ni(this,"clear")){var n=this.find();n&&Ci(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],l=er(a.markedSpans,this);e&&!this.collapsed?Ht(e,ti(a),"text"):e&&(null!=l.to&&(i=ti(a)),null!=l.from&&(r=ti(a))),a.markedSpans=tr(a.markedSpans,l),null==l.from&&this.collapsed&&!kr(this.doc,a)&&e&&ei(a,yt(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var o=0;o<this.lines.length;++o){var s=yr(this.lines[o]),c=f(s);c>e.display.maxLineLength&&(e.display.maxLine=s,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Dt(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ae(e.doc)),e&&Ci(e,"markerCleared",e,this),t&&kt(e),this.parent&&this.parent.clear()}},va.prototype.find=function(e,t){null==e&&"bookmark"==this.type&&(e=1);for(var n,r,i=0;i<this.lines.length;++i){var o=this.lines[i],a=er(o.markedSpans,this);if(null!=a.from&&(n=Bo(t?o:ti(o),a.from),-1==e))return n;if(null!=a.to&&(r=Bo(t?o:ti(o),a.to),1==e))return r}return n&&{from:n,to:r}},va.prototype.changed=function(){var e=this.find(-1,!0),t=this,n=this.doc.cm;e&&n&&At(n,function(){var r=e.line,i=ti(e.line),o=Qe(n,i);if(o&&(ot(o),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!kr(t.doc,r)&&null!=t.height){var a=t.height;t.height=null;var l=Lr(t)-a;l&&ei(r,r.height+l)}})},va.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=Pi(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},va.prototype.detachLine=function(e){if(this.lines.splice(Pi(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}};var ga=0,ya=e.SharedTextMarker=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};Ai(ya),ya.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Ci(this,"clear")}},ya.prototype.find=function(e,t){return this.primary.find(e,t)};var xa=e.LineWidget=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};Ai(xa),xa.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=ti(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=Lr(this);ei(n,Math.max(0,n.height-o)),e&&At(e,function(){Cr(e,n,-o),Ht(e,r,"widget")})}},xa.prototype.changed=function(){var e=this.height,t=this.doc.cm,n=this.line;this.height=null;var r=Lr(this)-e;r&&(ei(n,n.height+r),t&&At(t,function(){t.curOp.forceUpdate=!0,Cr(t,n,r)}))};var ba=e.Line=function(e,t,n){this.text=e,ur(this,t),this.height=n?n(this):1};Ai(ba),ba.prototype.lineNo=function(){return ti(this)};var wa={},ka={};$r.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;r>n;++n){var i=this.lines[n];this.height-=i.height,Nr(i),Ci(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;r>e;++e)if(n(this.lines[e]))return!0}},Vr.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(i>e){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof $r))){var l=[];this.collapse(l),this.children=[new $r(l)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(o>=e){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,l=a;l<i.lines.length;){var s=new $r(i.lines.slice(l,l+=25));i.height-=s.height,this.children.splice(++r,0,s),s.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),n=new Vr(t);if(e.parent){e.size-=n.size,e.height-=n.height;var r=Pi(e.parent.children,e);e.parent.children.splice(r+1,0,n)}else{var i=new Vr(e.children);i.parent=e,e.children=[i,n],e=i}n.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(o>e){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var Sa=0,Ca=e.Doc=function(e,t,n,r){if(!(this instanceof Ca))return new Ca(e,t,n,r);null==n&&(n=0),Vr.call(this,[new $r([new ba("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=n;var i=Bo(n,0);this.sel=de(i),this.history=new oi(null),this.id=++Sa,this.modeOption=t,this.lineSep=r,this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),Yr(this,{from:i,to:i,text:e}),Te(this,de(i),Wa)};Ca.prototype=Hi(Vr.prototype,{constructor:Ca,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Qr(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:It(function(e){var t=Bo(this.first,0),n=this.first+this.size-1;Tn(this,{from:t,to:Bo(n,Zr(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),Te(this,de(t))}),replaceRange:function(e,t,n,r){t=me(this,t),n=n?me(this,n):t,In(this,e,t,n,r)},getRange:function(e,t,n){var r=Jr(this,me(this,e),me(this,t));return n===!1?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){return ve(this,e)?Zr(this,e):void 0},getLineNumber:function(e){return ti(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Zr(this,e)),yr(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return me(this,e)},getCursor:function(e){var t,n=this.sel.primary();return t=null==e||"head"==e?n.head:"anchor"==e?n.anchor:"end"==e||"to"==e||e===!1?n.to():n.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:It(function(e,t,n){Se(this,me(this,"number"==typeof e?Bo(e,t||0):e),null,n)}),setSelection:It(function(e,t,n){Se(this,me(this,e),me(this,t||e),n)}),extendSelection:It(function(e,t,n){be(this,me(this,e),t&&me(this,t),n)}),extendSelections:It(function(e,t){we(this,ye(this,e),t)}),extendSelectionsBy:It(function(e,t){var n=Ri(this.sel.ranges,e);we(this,ye(this,n),t)}),setSelections:It(function(e,t,n){if(e.length){for(var r=0,i=[];r<e.length;r++)i[r]=new fe(me(this,e[r].anchor),me(this,e[r].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Te(this,he(i,t),n)}}),addSelection:It(function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new fe(me(this,e),me(this,t||e))),Te(this,he(r,r.length-1),n)}),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=Jr(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return e===!1?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Jr(this,n[r].from(),n[r].to());e!==!1&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:It(function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var l=t&&"end"!=t&&Cn(this,r,t),o=r.length-1;o>=0;o--)Tn(this,r[o]);l?Le(this,l):this.cm&&Bn(this.cm)}),undo:It(function(){Nn(this,"undo")}),redo:It(function(){Nn(this,"redo")}),undoSelection:It(function(){Nn(this,"undo",!0)}),redoSelection:It(function(){Nn(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var r=0;r<e.undone.length;r++)e.undone[r].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){this.history=new oi(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:gi(this.history.done),undone:gi(this.history.undone)}},setHistory:function(e){var t=this.history=new oi(this.history.maxGeneration);t.done=gi(e.done.slice(0),null,!0),t.undone=gi(e.undone.slice(0),null,!0)},addLineClass:It(function(e,t,n){return zn(this,e,"gutter"==t?"gutter":"class",function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(Yi(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0})}),removeLineClass:It(function(e,t,n){return zn(this,e,"gutter"==t?"gutter":"class",function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(Yi(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0})}),addLineWidget:It(function(e,t,n){return Tr(this,e,t,n)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return Vn(this,me(this,e),me(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=me(this,e),Vn(this,e,e,n,"bookmark")},findMarksAt:function(e){e=me(this,e);var t=[],n=Zr(this,e.line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=me(this,e),t=me(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var l=0;l<a.length;l++){var s=a[l];null!=s.to&&i==e.line&&e.ch>=s.to||null==s.from&&i!=e.line||null!=s.from&&i==t.line&&s.from>=t.ch||n&&!n(s.marker)||r.push(s.marker.parent||s.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)}),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter(function(i){var o=i.text.length+r;return o>e?(t=e,!0):(e-=o,void++n)}),me(this,Bo(n,t))},indexFromPos:function(e){e=me(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+n}),t},copy:function(e){var t=new Ca(Qr(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new Ca(Qr(this,t,n),e.mode||this.modeOption,t,this.lineSep);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],Zn(r,Xn(this)),r},unlinkDoc:function(t){if(t instanceof e&&(t=t.doc),this.linked)for(var n=0;n<this.linked.length;++n){var r=this.linked[n];if(r.doc==t){this.linked.splice(n,1),t.unlinkDoc(this),Jn(Xn(this));break}}if(t.history==this.history){var i=[t.id];Kr(t,function(e){i.push(e.id)},!0),t.history=new oi(null),t.history.done=gi(this.history.done,i),t.history.undone=gi(this.history.undone,i)}},iterLinkedDocs:function(e){Kr(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):tl(e)},lineSeparator:function(){return this.lineSep||"\n"}}),Ca.prototype.eachLine=Ca.prototype.iter;var La="iter insert remove copy getEditor constructor".split(" ");for(var Ta in Ca.prototype)Ca.prototype.hasOwnProperty(Ta)&&Pi(La,Ta)<0&&(e.prototype[Ta]=function(e){return function(){return e.apply(this.doc,arguments)}}(Ca.prototype[Ta]));Ai(Ca);var Ma=e.e_preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},Na=e.e_stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},Aa=e.e_stop=function(e){Ma(e),Na(e)},Ea=e.on=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={}),i=r[t]||(r[t]=[]);i.push(n)}},Oa=[],Ia=e.off=function(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else for(var r=Si(e,t,!1),i=0;i<r.length;++i)if(r[i]==n){r.splice(i,1);break}},Pa=e.signal=function(e,t){var n=Si(e,t,!0);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)},Ra=null,Da=30,Ha=e.Pass={toString:function(){return"CodeMirror.Pass"}},Wa={scroll:!1},Ba={origin:"*mouse"},_a={origin:"+move"};Ei.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var Fa=e.countColumn=function(e,t,n,r,i){null==t&&(t=e.search(/[^\s\u00a0]/),-1==t&&(t=e.length));for(var o=r||0,a=i||0;;){var l=e.indexOf(" ",o);if(0>l||l>=t)return a+(t-o);a+=l-o,a+=n-a%n,o=l+1}},za=e.findColumn=function(e,t,n){for(var r=0,i=0;;){var o=e.indexOf(" ",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}},ja=[""],Ua=function(e){e.select()};No?Ua=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:xo&&(Ua=function(e){try{e.select()}catch(t){}});var qa,Ga=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Ya=e.isWordChar=function(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||Ga.test(e))},$a=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;qa=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(i){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var Va=e.contains=function(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do if(11==t.nodeType&&(t=t.host),t==e)return!0;while(t=t.parentNode)};xo&&11>bo&&(Gi=function(){try{return document.activeElement}catch(e){return document.body}});var Ka,Xa,Za=e.rmClass=function(e,t){var n=e.className,r=Yi(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}},Ja=e.addClass=function(e,t){var n=e.className;Yi(t).test(n)||(e.className+=(n?" ":"")+t)},Qa=!1,el=function(){if(xo&&9>bo)return!1;var e=ji("div");return"draggable"in e||"dragDrop"in e}(),tl=e.splitLines=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;r>=t;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},nl=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){try{var t=e.ownerDocument.selection.createRange()}catch(n){}return t&&t.parentElement()==e?0!=t.compareEndPoints("StartToEnd",t):!1},rl=function(){var e=ji("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),il=null,ol=e.keyNames={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};!function(){for(var e=0;10>e;e++)ol[e+48]=ol[e+96]=String(e);for(var e=65;90>=e;e++)ol[e]=String.fromCharCode(e);for(var e=1;12>=e;e++)ol[e+111]=ol[e+63235]="F"+e}();var al,ll=function(){function e(e){return 247>=e?n.charAt(e):e>=1424&&1524>=e?"R":e>=1536&&1773>=e?r.charAt(e-1536):e>=1774&&2220>=e?"r":e>=8192&&8203>=e?"w":8204==e?"b":"L"}function t(e,t,n){this.level=e,this.from=t,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,a=/[LRr]/,l=/[Lb1n]/,s=/[1n]/,c="L";return function(n){if(!i.test(n))return!1;for(var r,u=n.length,f=[],h=0;u>h;++h)f.push(r=e(n.charCodeAt(h)));for(var h=0,d=c;u>h;++h){var r=f[h];"m"==r?f[h]=d:d=r}for(var h=0,p=c;u>h;++h){var r=f[h];"1"==r&&"r"==p?f[h]="n":a.test(r)&&(p=r,"r"==r&&(f[h]="R"))}for(var h=1,d=f[0];u-1>h;++h){var r=f[h];"+"==r&&"1"==d&&"1"==f[h+1]?f[h]="1":","!=r||d!=f[h+1]||"1"!=d&&"n"!=d||(f[h]=d),d=r}for(var h=0;u>h;++h){var r=f[h];if(","==r)f[h]="N";else if("%"==r){for(var m=h+1;u>m&&"%"==f[m];++m);for(var g=h&&"!"==f[h-1]||u>m&&"1"==f[m]?"1":"N",v=h;m>v;++v)f[v]=g;h=m-1}}for(var h=0,p=c;u>h;++h){var r=f[h];"L"==p&&"1"==r?f[h]="L":a.test(r)&&(p=r)}for(var h=0;u>h;++h)if(o.test(f[h])){for(var m=h+1;u>m&&o.test(f[m]);++m);for(var y="L"==(h?f[h-1]:c),x="L"==(u>m?f[m]:c),g=y||x?"L":"R",v=h;m>v;++v)f[v]=g;h=m-1}for(var b,w=[],h=0;u>h;)if(l.test(f[h])){var k=h;for(++h;u>h&&l.test(f[h]);++h);w.push(new t(0,k,h))}else{var S=h,C=w.length;for(++h;u>h&&"L"!=f[h];++h);for(var v=S;h>v;)if(s.test(f[v])){v>S&&w.splice(C,0,new t(1,S,v));var L=v;for(++v;h>v&&s.test(f[v]);++v);w.splice(C,0,new t(2,L,v)),S=v}else++v;h>S&&w.splice(C,0,new t(1,S,h))}return 1==w[0].level&&(b=n.match(/^\s+/))&&(w[0].from=b[0].length,w.unshift(new t(0,0,b[0].length))),1==Ii(w).level&&(b=n.match(/\s+$/))&&(Ii(w).to-=b[0].length,w.push(new t(0,u-b[0].length,u))),2==w[0].level&&w.unshift(new t(1,w[0].to,w[0].to)),w[0].level!=Ii(w).level&&w.push(new t(w[0].level,u,u)),w}}();return e.version="5.15.2",e})},{}],11:[function(t,n,r){!function(i){"object"==typeof r&&"object"==typeof n?i(t("../../lib/codemirror"),t("../markdown/markdown"),t("../../addon/mode/overlay")):"function"==typeof e&&e.amd?e(["../../lib/codemirror","../markdown/markdown","../../addon/mode/overlay"],i):i(CodeMirror)}(function(e){"use strict";var t=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;e.defineMode("gfm",function(n,r){function i(e){return e.code=!1,null}var o=0,a={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,n){if(n.combineTokens=null,n.codeBlock)return e.match(/^```+/)?(n.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(n.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),n.codeBlock=!0,null;if("`"===e.peek()){e.next();var i=e.pos;e.eatWhile("`");var a=1+e.pos-i;return n.code?a===o&&(n.code=!1):(o=a,n.code=!0),null}if(n.code)return e.next(),null;if(e.eatSpace())return n.ateSpace=!0,null;if((e.sol()||n.ateSpace)&&(n.ateSpace=!1,r.gitHubSpice!==!1)){if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return e.match(t)&&"]("!=e.string.slice(e.start-2,e.start)&&(0==e.start||/\W/.test(e.string.charAt(e.start-1)))?(n.combineTokens=!0,"link"):(e.next(),null)},blankLine:i},l={underscoresBreakWords:!1,taskLists:!0,fencedCodeBlocks:"```",strikethrough:!0};for(var s in r)l[s]=r[s];return l.name="markdown",e.overlayMode(e.getMode(n,l),a)},"markdown"),e.defineMIME("text/x-gfm","gfm")})},{"../../addon/mode/overlay":8,"../../lib/codemirror":10,"../markdown/markdown":12}],12:[function(t,n,r){!function(i){"object"==typeof r&&"object"==typeof n?i(t("../../lib/codemirror"),t("../xml/xml"),t("../meta")):"function"==typeof e&&e.amd?e(["../../lib/codemirror","../xml/xml","../meta"],i):i(CodeMirror)}(function(e){"use strict";e.defineMode("markdown",function(t,n){function r(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=e.getMode(t,n);return"null"==i.name?null:i}function i(e,t,n){return t.f=t.inline=n,n(e,t)}function o(e,t,n){return t.f=t.block=n,n(e,t)}function a(e){return!e||!/\S/.test(e.string)}function l(e){return e.linkTitle=!1,e.em=!1,e.strong=!1,e.strikethrough=!1,e.quote=0,e.indentedCode=!1,k&&e.f==c&&(e.f=p,e.block=s),e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.prevLine=e.thisLine,e.thisLine=null,null}function s(t,o){var l=t.sol(),s=o.list!==!1,c=o.indentedCode;o.indentedCode=!1,s&&(o.indentationDiff>=0?(o.indentationDiff<4&&(o.indentation-=o.indentationDiff),o.list=null):o.indentation>0?o.list=null:o.list=!1);var f=null;if(o.indentationDiff>=4)return t.skipToEnd(),c||a(o.prevLine)?(o.indentation-=4,o.indentedCode=!0,S.code):null;if(t.eatSpace())return null;if((f=t.match(A))&&f[1].length<=6)return o.header=f[1].length,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,h(o);if(!(a(o.prevLine)||o.quote||s||c)&&(f=t.match(E)))return o.header="="==f[0].charAt(0)?1:2,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,h(o);if(t.eat(">"))return o.quote=l?1:o.quote+1,n.highlightFormatting&&(o.formatting="quote"),t.eatSpace(),h(o);if("["===t.peek())return i(t,o,y);if(t.match(L,!0))return o.hr=!0,S.hr;if((a(o.prevLine)||s)&&(t.match(T,!1)||t.match(M,!1))){var d=null;for(t.match(T,!0)?d="ul":(t.match(M,!0),d="ol"),o.indentation=t.column()+t.current().length,o.list=!0;o.listStack&&t.column()<o.listStack[o.listStack.length-1];)o.listStack.pop();return o.listStack.push(o.indentation),n.taskLists&&t.match(N,!1)&&(o.taskList=!0),o.f=o.inline,n.highlightFormatting&&(o.formatting=["list","list-"+d]),h(o)}return n.fencedCodeBlocks&&(f=t.match(I,!0))?(o.fencedChars=f[1],o.localMode=r(f[2]),o.localMode&&(o.localState=e.startState(o.localMode)),o.f=o.block=u,n.highlightFormatting&&(o.formatting="code-block"),o.code=-1,h(o)):i(t,o,o.inline)}function c(t,n){var r=w.token(t,n.htmlState);if(!k){var i=e.innerMode(w,n.htmlState);("xml"==i.mode.name&&null===i.state.tagStart&&!i.state.context&&i.state.tokenize.isInText||n.md_inside&&t.current().indexOf(">")>-1)&&(n.f=p,n.block=s,n.htmlState=null)}return r}function u(e,t){return t.fencedChars&&e.match(t.fencedChars,!1)?(t.localMode=t.localState=null,t.f=t.block=f,null):t.localMode?t.localMode.token(e,t.localState):(e.skipToEnd(),S.code)}function f(e,t){e.match(t.fencedChars),t.block=s,t.f=p,t.fencedChars=null,n.highlightFormatting&&(t.formatting="code-block"),t.code=1;var r=h(t);return t.code=0,r}function h(e){var t=[];if(e.formatting){t.push(S.formatting),"string"==typeof e.formatting&&(e.formatting=[e.formatting]);for(var r=0;r<e.formatting.length;r++)t.push(S.formatting+"-"+e.formatting[r]),"header"===e.formatting[r]&&t.push(S.formatting+"-"+e.formatting[r]+"-"+e.header),"quote"===e.formatting[r]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(S.formatting+"-"+e.formatting[r]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(S.linkHref,"url"):(e.strong&&t.push(S.strong),e.em&&t.push(S.em),e.strikethrough&&t.push(S.strikethrough),e.linkText&&t.push(S.linkText),e.code&&t.push(S.code)),e.header&&t.push(S.header,S.header+"-"+e.header),e.quote&&(t.push(S.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(S.quote+"-"+e.quote):t.push(S.quote+"-"+n.maxBlockquoteDepth)),e.list!==!1){var i=(e.listStack.length-1)%3;i?1===i?t.push(S.list2):t.push(S.list3):t.push(S.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function d(e,t){return e.match(O,!0)?h(t):void 0}function p(t,r){var i=r.text(t,r);if("undefined"!=typeof i)return i;if(r.list)return r.list=null,h(r);if(r.taskList){var a="x"!==t.match(N,!0)[1];return a?r.taskOpen=!0:r.taskClosed=!0,n.highlightFormatting&&(r.formatting="task"),r.taskList=!1,h(r)}if(r.taskOpen=!1,r.taskClosed=!1,r.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(r.formatting="header"), +h(r);var l=t.sol(),s=t.next();if(r.linkTitle){r.linkTitle=!1;var u=s;"("===s&&(u=")"),u=(u+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");var f="^\\s*(?:[^"+u+"\\\\]+|\\\\\\\\|\\\\.)"+u;if(t.match(new RegExp(f),!0))return S.linkHref}if("`"===s){var d=r.formatting;n.highlightFormatting&&(r.formatting="code"),t.eatWhile("`");var p=t.current().length;if(0==r.code)return r.code=p,h(r);if(p==r.code){var v=h(r);return r.code=0,v}return r.formatting=d,h(r)}if(r.code)return h(r);if("\\"===s&&(t.next(),n.highlightFormatting)){var y=h(r),x=S.formatting+"-escape";return y?y+" "+x:x}if("!"===s&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return t.match(/\[[^\]]*\]/),r.inline=r.f=g,S.image;if("["===s&&t.match(/[^\]]*\](\(.*\)| ?\[.*?\])/,!1))return r.linkText=!0,n.highlightFormatting&&(r.formatting="link"),h(r);if("]"===s&&r.linkText&&t.match(/\(.*?\)| ?\[.*?\]/,!1)){n.highlightFormatting&&(r.formatting="link");var y=h(r);return r.linkText=!1,r.inline=r.f=g,y}if("<"===s&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=m,n.highlightFormatting&&(r.formatting="link");var y=h(r);return y?y+=" ":y="",y+S.linkInline}if("<"===s&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=m,n.highlightFormatting&&(r.formatting="link");var y=h(r);return y?y+=" ":y="",y+S.linkEmail}if("<"===s&&t.match(/^(!--|\w)/,!1)){var b=t.string.indexOf(">",t.pos);if(-1!=b){var k=t.string.substring(t.start,b);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(k)&&(r.md_inside=!0)}return t.backUp(1),r.htmlState=e.startState(w),o(t,r,c)}if("<"===s&&t.match(/^\/\w*?>/))return r.md_inside=!1,"tag";var C=!1;if(!n.underscoresBreakWords&&"_"===s&&"_"!==t.peek()&&t.match(/(\w)/,!1)){var L=t.pos-2;if(L>=0){var T=t.string.charAt(L);"_"!==T&&T.match(/(\w)/,!1)&&(C=!0)}}if("*"===s||"_"===s&&!C)if(l&&" "===t.peek());else{if(r.strong===s&&t.eat(s)){n.highlightFormatting&&(r.formatting="strong");var v=h(r);return r.strong=!1,v}if(!r.strong&&t.eat(s))return r.strong=s,n.highlightFormatting&&(r.formatting="strong"),h(r);if(r.em===s){n.highlightFormatting&&(r.formatting="em");var v=h(r);return r.em=!1,v}if(!r.em)return r.em=s,n.highlightFormatting&&(r.formatting="em"),h(r)}else if(" "===s&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return h(r);t.backUp(1)}if(n.strikethrough)if("~"===s&&t.eatWhile(s)){if(r.strikethrough){n.highlightFormatting&&(r.formatting="strikethrough");var v=h(r);return r.strikethrough=!1,v}if(t.match(/^[^\s]/,!1))return r.strikethrough=!0,n.highlightFormatting&&(r.formatting="strikethrough"),h(r)}else if(" "===s&&t.match(/^~~/,!0)){if(" "===t.peek())return h(r);t.backUp(2)}return" "===s&&(t.match(/ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),h(r)}function m(e,t){var r=e.next();if(">"===r){t.f=t.inline=p,n.highlightFormatting&&(t.formatting="link");var i=h(t);return i?i+=" ":i="",i+S.linkInline}return e.match(/^[^>]+/,!0),S.linkInline}function g(e,t){if(e.eatSpace())return null;var r=e.next();return"("===r||"["===r?(t.f=t.inline=v("("===r?")":"]",0),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,h(t)):"error"}function v(e){return function(t,r){var i=t.next();if(i===e){r.f=r.inline=p,n.highlightFormatting&&(r.formatting="link-string");var o=h(r);return r.linkHref=!1,o}return t.match(P[e]),r.linkHref=!0,h(r)}}function y(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=x,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,h(t)):i(e,t,p)}function x(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=b,n.highlightFormatting&&(t.formatting="link");var r=h(t);return t.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),S.linkText}function b(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=p,S.linkHref+" url")}var w=e.getMode(t,"text/html"),k="null"==w.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.underscoresBreakWords&&(n.underscoresBreakWords=!0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var S={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"tag",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough"};for(var C in S)S.hasOwnProperty(C)&&n.tokenTypeOverrides[C]&&(S[C]=n.tokenTypeOverrides[C]);var L=/^([*\-_])(?:\s*\1){2,}\s*$/,T=/^[*\-+]\s+/,M=/^[0-9]+([.)])\s+/,N=/^\[(x| )\](?=\s)/,A=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,E=/^ *(?:\={1,}|-{1,})\s*$/,O=/^[^#!\[\]*_\\<>` "'(~]+/,I=new RegExp("^("+(n.fencedCodeBlocks===!0?"~~~+|```+":n.fencedCodeBlocks)+")[ \\t]*([\\w+#-]*)"),P={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\\]]|\\.)*\])*?(?=\])/},R={startState:function(){return{f:s,prevLine:null,thisLine:null,block:s,htmlState:null,indentation:0,inline:p,text:d,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,fencedChars:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(w,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkTitle:t.linkTitle,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,header:t.header,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedChars:t.fencedChars}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine){var n=t.header||t.hr;if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0)||n){if(l(t),!n)return null;t.prevLine=null}t.prevLine=t.thisLine,t.thisLine=e,t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.f=t.block;var r=e.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(t.indentationDiff=Math.min(r-t.indentation,4),t.indentation=t.indentation+t.indentationDiff,r>0)return null}return t.f(e,t)},innerMode:function(e){return e.block==c?{state:e.htmlState,mode:w}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:R}},blankLine:l,getType:h,fold:"markdown"};return R},"xml"),e.defineMIME("text/x-markdown","markdown")})},{"../../lib/codemirror":10,"../meta":13,"../xml/xml":14}],13:[function(t,n,r){!function(i){"object"==typeof r&&"object"==typeof n?i(t("../lib/codemirror")):"function"==typeof e&&e.amd?e(["../lib/codemirror"],i):i(CodeMirror)}(function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["pgp"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mime:"text/x-coffeescript",mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"]},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Jade",mime:"text/x-jade",mode:"jade",ext:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"null",mode:"jinja2"},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mime:"text/n-triples",mode:"ntriples",ext:["nt"]},{name:"Objective C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mime:"application/x-httpd-php",mode:"php",ext:["php","php3","php4","php5","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mime:"text/x-sh",mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mime:"text/x-yaml",mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.mime==t)return r;if(r.mimes)for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==t)return r}},e.findModeByExtension=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.ext)for(var i=0;i<r.ext.length;i++)if(r.ext[i]==t)return r}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.file&&r.file.test(t))return r}var i=t.lastIndexOf("."),o=i>-1&&t.substring(i+1,t.length);return o?e.findModeByExtension(o):void 0},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.name.toLowerCase()==t)return r;if(r.alias)for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==t)return r}}})},{"../lib/codemirror":10}],14:[function(t,n,r){!function(i){"object"==typeof r&&"object"==typeof n?i(t("../../lib/codemirror")):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(r,i){function o(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?n(s("atom","]]>")):null:e.match("--")?n(s("comment","-->")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(c(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=s("meta","?>"),"meta"):(T=e.eat("/")?"closeTag":"openTag",t.tokenize=a,"tag bracket");if("&"==r){var i;return i=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),i?"atom":"error"}return e.eatWhile(/[^&<]/),null}function a(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=o,T=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return T="equals",null;if("<"==n){t.tokenize=o,t.state=d,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=l(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=a;break}return"string"};return t.isInAttribute=!0,t}function s(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=o;break}n.next()}return e}}function c(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=c(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=o;break}return n.tokenize=c(e-1),n.tokenize(t,n)}}return"meta"}}function u(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(S.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function f(e){e.context&&(e.context=e.context.prev)}function h(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!S.contextGrabbers.hasOwnProperty(n)||!S.contextGrabbers[n].hasOwnProperty(t))return;f(e)}}function d(e,t,n){return"openTag"==e?(n.tagStart=t.column(),p):"closeTag"==e?m:d}function p(e,t,n){return"word"==e?(n.tagName=t.current(),M="tag",y):(M="error",p)}function m(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&S.implicitlyClosed.hasOwnProperty(n.context.tagName)&&f(n),n.context&&n.context.tagName==r||S.matchClosing===!1?(M="tag",g):(M="tag error",v)}return M="error",v}function g(e,t,n){return"endTag"!=e?(M="error",g):(f(n),d)}function v(e,t,n){return M="error",g(e,t,n)}function y(e,t,n){if("word"==e)return M="attribute",x;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||S.autoSelfClosers.hasOwnProperty(r)?h(n,r):(h(n,r),n.context=new u(n,r,i==n.indented)),d}return M="error",y}function x(e,t,n){return"equals"==e?b:(S.allowMissing||(M="error"),y(e,t,n))}function b(e,t,n){return"string"==e?w:"word"==e&&S.allowUnquoted?(M="string",y):(M="error",y(e,t,n))}function w(e,t,n){return"string"==e?w:y(e,t,n)}var k=r.indentUnit,S={},C=i.htmlMode?t:n;for(var L in C)S[L]=C[L];for(var L in i)S[L]=i[L];var T,M;return o.isInText=!0,{startState:function(e){var t={tokenize:o,state:d,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;T=null;var n=t.tokenize(e,t);return(n||T)&&"comment"!=n&&(M=null,t.state=t.state(T||n,e,t),M&&(n="error"==M?n+" error":M)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+k;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=a&&t.tokenize!=o)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return S.multilineTagIndentPastTag!==!1?t.tagStart+t.tagName.length+2:t.tagStart+k*(S.multilineTagIndentFactor||1);if(S.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var l=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(l&&l[1])for(;i;){if(i.tagName==l[2]){i=i.prev;break}if(!S.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev}else if(l)for(;i;){var s=S.contextGrabbers[i.tagName];if(!s||!s.hasOwnProperty(l[2]))break;i=i.prev}for(;i&&i.prev&&!i.startOfLine;)i=i.prev;return i?i.indent+k:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:S.htmlMode?"html":"xml",helperType:S.htmlMode?"html":"xml",skipAttribute:function(e){e.state==b&&(e.state=y)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},{"../../lib/codemirror":10}],15:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,l=8*i-r-1,s=(1<<l)-1,c=s>>1,u=-7,f=n?i-1:0,h=n?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-u)-1,d>>=-u,u+=l;u>0;o=256*o+e[t+f],f+=h,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=h,u-=8);if(0===o)o=1-c;else{if(o===s)return a?NaN:(d?-1:1)*(1/0);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,l,s,c=8*o-i-1,u=(1<<c)-1,f=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),t+=a+f>=1?h/s:h*Math.pow(2,1-f),t*s>=2&&(a++,s/=2),a+f>=u?(l=0,a=u):a+f>=1?(l=(t*s-1)*Math.pow(2,i),a+=f):(l=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&l,d+=p,l/=256,i-=8);for(a=a<<i|l,c+=i;c>0;e[n+d]=255&a,d+=p,a/=256,c-=8);e[n+d-p]|=128*m}},{}],16:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],17:[function(t,n,r){(function(t){(function(){function t(e){this.tokens=[],this.tokens.links={},this.options=e||h.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function i(e,t){if(this.options=t||h.defaults,this.links=e,this.rules=p.normal,this.renderer=this.options.renderer||new o,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=p.breaks:this.rules=p.gfm:this.options.pedantic&&(this.rules=p.pedantic)}function o(e){this.options=e||{}}function a(e){this.tokens=[],this.token=null,this.options=e||h.defaults,this.options.renderer=this.options.renderer||new o,this.renderer=this.options.renderer,this.renderer.options=this.options}function l(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&([#\w]+);/g,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function c(e,t){return e=e.source,t=t||"",function n(r,i){return r?(i=i.source||i,i=i.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,i),n):new RegExp(e,t)}}function u(){}function f(e){for(var t,n,r=1;r<arguments.length;r++){t=arguments[r];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function h(e,n,r){if(r||"function"==typeof n){r||(r=n,n=null),n=f({},h.defaults,n||{});var i,o,s=n.highlight,c=0;try{i=t.lex(e,n)}catch(u){return r(u)}o=i.length;var d=function(e){if(e)return n.highlight=s,r(e);var t;try{t=a.parse(i,n)}catch(o){e=o}return n.highlight=s,e?r(e):r(null,t)};if(!s||s.length<3)return d();if(delete n.highlight,!o)return d();for(;c<i.length;c++)!function(e){return"code"!==e.type?--o||d():s(e.text,e.lang,function(t,n){return t?d(t):null==n||n===e.text?--o||d():(e.text=n,e.escaped=!0,void(--o||d()))})}(i[c])}else try{return n&&(n=f({},h.defaults,n)),a.parse(t.lex(e,n),n)}catch(u){if(u.message+="\nPlease report this to https://github.com/chjj/marked.",(n||h.defaults).silent)return"<p>An error occured:</p><pre>"+l(u.message+"",!0)+"</pre>";throw u}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:u,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:u,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:u,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=c(d.item,"gm")(/bull/g,d.bullet)(),d.list=c(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=c(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=c(d.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,d._tag)(),d.paragraph=c(d.paragraph)("hr",d.hr)("heading",d.heading)("lheading",d.lheading)("blockquote",d.blockquote)("tag","<"+d._tag)("def",d.def)(),d.normal=f({},d),d.gfm=f({},d.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),d.gfm.paragraph=c(d.paragraph)("(?!","(?!"+d.gfm.fences.source.replace("\\1","\\2")+"|"+d.list.source.replace("\\1","\\3")+"|")(),d.tables=f({},d.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),t.rules=d,t.lex=function(e,n){var r=new t(n);return r.lex(e)},t.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},t.prototype.token=function(e,t,n){for(var r,i,o,a,l,s,c,u,f,e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))){for(e=e.substring(o[0].length),s={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},u=0;u<s.align.length;u++)/^ *-+: *$/.test(s.align[u])?s.align[u]="right":/^ *:-+: *$/.test(s.align[u])?s.align[u]="center":/^ *:-+ *$/.test(s.align[u])?s.align[u]="left":s.align[u]=null;for(u=0;u<s.cells.length;u++)s.cells[u]=s.cells[u].split(/ *\| */);this.tokens.push(s)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,t,!0),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),a=o[2],this.tokens.push({type:"list_start",ordered:a.length>1}),o=o[0].match(this.rules.item),r=!1,f=o.length,u=0;f>u;u++)s=o[u],c=s.length,s=s.replace(/^ *([*+-]|\d+\.) +/,""),~s.indexOf("\n ")&&(c-=s.length,s=this.options.pedantic?s.replace(/^ {1,4}/gm,""):s.replace(new RegExp("^ {1,"+c+"}","gm"),"")),this.options.smartLists&&u!==f-1&&(l=d.bullet.exec(o[u+1])[0],a===l||a.length>1&&l.length>1||(e=o.slice(u+1).join("\n")+e,u=f-1)),i=r||/\n\n(?!\s*$)/.test(s),u!==f-1&&(r="\n"===s.charAt(s.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(s,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(!n&&t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),this.tokens.links[o[1].toLowerCase()]={href:o[2],title:o[3]};else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),s={type:"table", +header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},u=0;u<s.align.length;u++)/^ *-+: *$/.test(s.align[u])?s.align[u]="right":/^ *:-+: *$/.test(s.align[u])?s.align[u]="center":/^ *:-+ *$/.test(s.align[u])?s.align[u]="left":s.align[u]=null;for(u=0;u<s.cells.length;u++)s.cells[u]=s.cells[u].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(s)}else if(t&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var p={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:u,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:u,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};p._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,p._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,p.link=c(p.link)("inside",p._inside)("href",p._href)(),p.reflink=c(p.reflink)("inside",p._inside)(),p.normal=f({},p),p.pedantic=f({},p.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),p.gfm=f({},p.normal,{escape:c(p.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:c(p.text)("]|","~]|")("|","|https?://|")()}),p.breaks=f({},p.gfm,{br:c(p.br)("{2,}","*")(),text:c(p.gfm.text)("{2,}","*")()}),i.rules=p,i.output=function(e,t,n){var r=new i(t,n);return r.output(e)},i.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=":"===i[1].charAt(6)?this.mangle(i[1].substring(7)):this.mangle(i[1]),r=this.mangle("mailto:")+n):(n=l(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(i[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):l(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),t=this.links[t.toLowerCase()],!t||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(l(i[2],!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(l(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(i[0].length),n=l(i[1]),r=n,o+=this.renderer.link(r,null,n);return o},i.prototype.outputLink=function(e,t){var n=l(t.href),r=t.title?l(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,l(e[1]))},i.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},i.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;r>i;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},o.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'<pre><code class="'+this.options.langPrefix+l(t,!0)+'">'+(n?e:l(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:l(e,!0))+"\n</code></pre>"},o.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},o.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},o.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"</"+n+">\n"},o.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},o.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},o.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},o.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"},o.prototype.strong=function(e){return"<strong>"+e+"</strong>"},o.prototype.em=function(e){return"<em>"+e+"</em>"},o.prototype.codespan=function(e){return"<code>"+e+"</code>"},o.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},o.prototype.del=function(e){return"<del>"+e+"</del>"},o.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(s(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(i){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var o='<a href="'+e+'"';return t&&(o+=' title="'+t+'"'),o+=">"+n+"</a>"},o.prototype.image=function(e,t,n){var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},o.prototype.text=function(e){return e},a.parse=function(e,t,n){var r=new a(t,n);return r.parse(e)},a.prototype.parse=function(e){this.inline=new i(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},a.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i,o="",a="";for(n="",e=0;e<this.token.header.length;e++)r={header:!0,align:this.token.align[e]},n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(o+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",i=0;i<t.length;i++)n+=this.renderer.tablecell(this.inline.output(t[i]),{header:!1,align:this.token.align[i]});a+=this.renderer.tablerow(n)}return this.renderer.table(o,a);case"blockquote_start":for(var a="";"blockquote_end"!==this.next().type;)a+=this.tok();return this.renderer.blockquote(a);case"list_start":for(var a="",l=this.token.ordered;"list_end"!==this.next().type;)a+=this.tok();return this.renderer.list(a,l);case"list_item_start":for(var a="";"list_item_end"!==this.next().type;)a+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(a);case"loose_item_start":for(var a="";"list_item_end"!==this.next().type;)a+=this.tok();return this.renderer.listitem(a);case"html":var s=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(s);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}},u.exec=u,h.options=h.setOptions=function(e){return f(h.defaults,e),h},h.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new o,xhtml:!1},h.Parser=a,h.parser=a.parse,h.Renderer=o,h.Lexer=t,h.lexer=t.lex,h.InlineLexer=i,h.inlineLexer=i.output,h.parse=h,"undefined"!=typeof n&&"object"==typeof r?n.exports=h:"function"==typeof e&&e.amd?e(function(){return h}):this.marked=h}).call(function(){return this||("undefined"!=typeof window?window:t)}())}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],18:[function(e,t,n){(function(n,r){"use strict";var i=function(e,t,n,i){if(i=i||{},this.dictionary=null,this.rules={},this.dictionaryTable={},this.compoundRules=[],this.compoundRuleCodes={},this.replacementTable=[],this.flags=i.flags||{},e){if(this.dictionary=e,"undefined"!=typeof window&&"chrome"in window&&"extension"in window.chrome&&"getURL"in window.chrome.extension)t||(t=this._readFile(chrome.extension.getURL("lib/typo/dictionaries/"+e+"/"+e+".aff"))),n||(n=this._readFile(chrome.extension.getURL("lib/typo/dictionaries/"+e+"/"+e+".dic")));else{if(i.dictionaryPath)var o=i.dictionaryPath;else if("undefined"!=typeof r)var o=r+"/dictionaries";else var o="./dictionaries";t||(t=this._readFile(o+"/"+e+"/"+e+".aff")),n||(n=this._readFile(o+"/"+e+"/"+e+".dic"))}this.rules=this._parseAFF(t),this.compoundRuleCodes={};for(var a=0,l=this.compoundRules.length;l>a;a++)for(var s=this.compoundRules[a],c=0,u=s.length;u>c;c++)this.compoundRuleCodes[s[c]]=[];"ONLYINCOMPOUND"in this.flags&&(this.compoundRuleCodes[this.flags.ONLYINCOMPOUND]=[]),this.dictionaryTable=this._parseDIC(n);for(var a in this.compoundRuleCodes)0==this.compoundRuleCodes[a].length&&delete this.compoundRuleCodes[a];for(var a=0,l=this.compoundRules.length;l>a;a++){for(var f=this.compoundRules[a],h="",c=0,u=f.length;u>c;c++){var d=f[c];h+=d in this.compoundRuleCodes?"("+this.compoundRuleCodes[d].join("|")+")":d}this.compoundRules[a]=new RegExp(h,"i")}}return this};i.prototype={load:function(e){for(var t in e)this[t]=e[t];return this},_readFile:function(t,r){if(r||(r="utf8"),"undefined"!=typeof XMLHttpRequest){var i=new XMLHttpRequest;return i.open("GET",t,!1),i.overrideMimeType&&i.overrideMimeType("text/plain; charset="+r),i.send(null),i.responseText}if("undefined"!=typeof e){var o=e("fs");try{if(o.existsSync(t)){var a=o.statSync(t),l=o.openSync(t,"r"),s=new n(a.size);return o.readSync(l,s,0,s.length,null),s.toString(r,0,s.length)}console.log("Path "+t+" does not exist.")}catch(c){return console.log(c),""}}},_parseAFF:function(e){var t={};e=this._removeAffixComments(e);for(var n=e.split("\n"),r=0,i=n.length;i>r;r++){var o=n[r],a=o.split(/\s+/),l=a[0];if("PFX"==l||"SFX"==l){for(var s=a[1],c=a[2],u=parseInt(a[3],10),f=[],h=r+1,d=r+1+u;d>h;h++){var o=n[h],p=o.split(/\s+/),m=p[2],g=p[3].split("/"),v=g[0];"0"===v&&(v="");var y=this.parseRuleCodes(g[1]),x=p[4],b={};b.add=v,y.length>0&&(b.continuationClasses=y),"."!==x&&("SFX"===l?b.match=new RegExp(x+"$"):b.match=new RegExp("^"+x)),"0"!=m&&("SFX"===l?b.remove=new RegExp(m+"$"):b.remove=m),f.push(b)}t[s]={type:l,combineable:"Y"==c,entries:f},r+=u}else if("COMPOUNDRULE"===l){for(var u=parseInt(a[1],10),h=r+1,d=r+1+u;d>h;h++){var o=n[h],p=o.split(/\s+/);this.compoundRules.push(p[1])}r+=u}else if("REP"===l){var p=o.split(/\s+/);3===p.length&&this.replacementTable.push([p[1],p[2]])}else this.flags[l]=a[1]}return t},_removeAffixComments:function(e){return e=e.replace(/#.*$/gm,""),e=e.replace(/^\s\s*/m,"").replace(/\s\s*$/m,""),e=e.replace(/\n{2,}/g,"\n"),e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},_parseDIC:function(e){function t(e,t){e in r&&"object"==typeof r[e]||(r[e]=[]),r[e].push(t)}e=this._removeDicComments(e);for(var n=e.split("\n"),r={},i=1,o=n.length;o>i;i++){var a=n[i],l=a.split("/",2),s=l[0];if(l.length>1){var c=this.parseRuleCodes(l[1]);"NEEDAFFIX"in this.flags&&-1!=c.indexOf(this.flags.NEEDAFFIX)||t(s,c);for(var u=0,f=c.length;f>u;u++){var h=c[u],d=this.rules[h];if(d)for(var p=this._applyRule(s,d),m=0,g=p.length;g>m;m++){var v=p[m];if(t(v,[]),d.combineable)for(var y=u+1;f>y;y++){var x=c[y],b=this.rules[x];if(b&&b.combineable&&d.type!=b.type)for(var w=this._applyRule(v,b),k=0,S=w.length;S>k;k++){var C=w[k];t(C,[])}}}h in this.compoundRuleCodes&&this.compoundRuleCodes[h].push(s)}}else t(s.trim(),[])}return r},_removeDicComments:function(e){return e=e.replace(/^\t.*$/gm,"")},parseRuleCodes:function(e){if(!e)return[];if(!("FLAG"in this.flags))return e.split("");if("long"===this.flags.FLAG){for(var t=[],n=0,r=e.length;r>n;n+=2)t.push(e.substr(n,2));return t}return"num"===this.flags.FLAG?textCode.split(","):void 0},_applyRule:function(e,t){for(var n=t.entries,r=[],i=0,o=n.length;o>i;i++){var a=n[i];if(!a.match||e.match(a.match)){var l=e;if(a.remove&&(l=l.replace(a.remove,"")),"SFX"===t.type?l+=a.add:l=a.add+l,r.push(l),"continuationClasses"in a)for(var s=0,c=a.continuationClasses.length;c>s;s++){var u=this.rules[a.continuationClasses[s]];u&&(r=r.concat(this._applyRule(l,u)))}}}return r},check:function(e){var t=e.replace(/^\s\s*/,"").replace(/\s\s*$/,"");if(this.checkExact(t))return!0;if(t.toUpperCase()===t){var n=t[0]+t.substring(1).toLowerCase();if(this.hasFlag(n,"KEEPCASE"))return!1;if(this.checkExact(n))return!0}var r=t.toLowerCase();if(r!==t){if(this.hasFlag(r,"KEEPCASE"))return!1;if(this.checkExact(r))return!0}return!1},checkExact:function(e){var t=this.dictionaryTable[e];if("undefined"==typeof t){if("COMPOUNDMIN"in this.flags&&e.length>=this.flags.COMPOUNDMIN)for(var n=0,r=this.compoundRules.length;r>n;n++)if(e.match(this.compoundRules[n]))return!0;return!1}if("object"==typeof t){for(var n=0,r=t.length;r>n;n++)if(!this.hasFlag(e,"ONLYINCOMPOUND",t[n]))return!0;return!1}},hasFlag:function(e,t,n){if(t in this.flags){if("undefined"==typeof n)var n=Array.prototype.concat.apply([],this.dictionaryTable[e]);if(n&&-1!==n.indexOf(this.flags[t]))return!0}return!1},alphabet:"",suggest:function(e,t){function n(e){for(var t=[],n=0,r=e.length;r>n;n++){for(var i=e[n],o=[],a=0,l=i.length+1;l>a;a++)o.push([i.substring(0,a),i.substring(a,i.length)]);for(var s=[],a=0,l=o.length;l>a;a++){var u=o[a];u[1]&&s.push(u[0]+u[1].substring(1))}for(var f=[],a=0,l=o.length;l>a;a++){var u=o[a];u[1].length>1&&f.push(u[0]+u[1][1]+u[1][0]+u[1].substring(2))}for(var h=[],a=0,l=o.length;l>a;a++){var u=o[a];if(u[1])for(var d=0,p=c.alphabet.length;p>d;d++)h.push(u[0]+c.alphabet[d]+u[1].substring(1))}for(var m=[],a=0,l=o.length;l>a;a++){var u=o[a];if(u[1])for(var d=0,p=c.alphabet.length;p>d;d++)h.push(u[0]+c.alphabet[d]+u[1])}t=t.concat(s),t=t.concat(f),t=t.concat(h),t=t.concat(m)}return t}function r(e){for(var t=[],n=0;n<e.length;n++)c.check(e[n])&&t.push(e[n]);return t}function i(e){function i(e,t){return e[1]<t[1]?-1:1}for(var o=n([e]),a=n(o),l=r(o).concat(r(a)),s={},u=0,f=l.length;f>u;u++)l[u]in s?s[l[u]]+=1:s[l[u]]=1;var h=[];for(var u in s)h.push([u,s[u]]);h.sort(i).reverse();for(var d=[],u=0,f=Math.min(t,h.length);f>u;u++)c.hasFlag(h[u][0],"NOSUGGEST")||d.push(h[u][0]);return d}if(t||(t=5),this.check(e))return[];for(var o=0,a=this.replacementTable.length;a>o;o++){var l=this.replacementTable[o];if(-1!==e.indexOf(l[0])){var s=e.replace(l[0],l[1]);if(this.check(s))return[s]}}var c=this;return c.alphabet="abcdefghijklmnopqrstuvwxyz",i(e)}},"undefined"!=typeof t&&(t.exports=i)}).call(this,e("buffer").Buffer,"/node_modules/typo-js")},{buffer:3,fs:2}],19:[function(e,t,n){var r=e("codemirror");r.commands.tabAndIndentMarkdownList=function(e){var t=e.listSelections(),n=t[0].head,r=e.getStateAfter(n.line),i=r.list!==!1;if(i)return void e.execCommand("indentMore");if(e.options.indentWithTabs)e.execCommand("insertTab");else{var o=Array(e.options.tabSize+1).join(" ");e.replaceSelection(o)}},r.commands.shiftTabAndUnindentMarkdownList=function(e){var t=e.listSelections(),n=t[0].head,r=e.getStateAfter(n.line),i=r.list!==!1;if(i)return void e.execCommand("indentLess");if(e.options.indentWithTabs)e.execCommand("insertTab");else{var o=Array(e.options.tabSize+1).join(" ");e.replaceSelection(o)}}},{codemirror:10}],20:[function(e,t,n){"use strict";function r(e){return e=U?e.replace("Ctrl","Cmd"):e.replace("Cmd","Ctrl")}function i(e,t,n){e=e||{};var r=document.createElement("a");return t=void 0==t?!0:t,e.title&&t&&(r.title=a(e.title,e.action,n),U&&(r.title=r.title.replace("Ctrl","⌘"),r.title=r.title.replace("Alt","⌥"))),r.tabIndex=-1,r.className=e.className,r}function o(){var e=document.createElement("i");return e.className="separator",e.innerHTML="|",e}function a(e,t,n){var i,o=e;return t&&(i=Y(t),n[i]&&(o+=" ("+r(n[i])+")")),o}function l(e,t){t=t||e.getCursor("start");var n=e.getTokenAt(t);if(!n.type)return{};for(var r,i,o=n.type.split(" "),a={},l=0;l<o.length;l++)r=o[l],"strong"===r?a.bold=!0:"variable-2"===r?(i=e.getLine(t.line),/^\s*\d+\.\s/.test(i)?a["ordered-list"]=!0:a["unordered-list"]=!0):"atom"===r?a.quote=!0:"em"===r?a.italic=!0:"quote"===r?a.quote=!0:"strikethrough"===r?a.strikethrough=!0:"comment"===r?a.code=!0:"link"===r?a.link=!0:"tag"===r?a.image=!0:r.match(/^header(\-[1-6])?$/)&&(a[r.replace("header","heading")]=!0);return a}function s(e){var t=e.codemirror;t.setOption("fullScreen",!t.getOption("fullScreen")),t.getOption("fullScreen")?(V=document.body.style.overflow,document.body.style.overflow="hidden"):document.body.style.overflow=V;var n=t.getWrapperElement();/fullscreen/.test(n.previousSibling.className)?n.previousSibling.className=n.previousSibling.className.replace(/\s*fullscreen\b/,""):n.previousSibling.className+=" fullscreen";var r=e.toolbarElements.fullscreen;/active/.test(r.className)?r.className=r.className.replace(/\s*active\s*/g,""):r.className+=" active";var i=t.getWrapperElement().nextSibling;/editor-preview-active-side/.test(i.className)&&N(e)}function c(e){P(e,"bold",e.options.blockStyles.bold)}function u(e){P(e,"italic",e.options.blockStyles.italic)}function f(e){P(e,"strikethrough","~~")}function h(e){function t(e){if("object"!=typeof e)throw"fencing_line() takes a 'line' object (not a line number, or line text). Got: "+typeof e+": "+e;return e.styles&&e.styles[2]&&-1!==e.styles[2].indexOf("formatting-code-block")}function n(e){return e.state.base.base||e.state.base}function r(e,r,i,o,a){i=i||e.getLineHandle(r),o=o||e.getTokenAt({line:r,ch:1}),a=a||!!i.text&&e.getTokenAt({line:r,ch:i.text.length-1});var l=o.type?o.type.split(" "):[];return a&&n(a).indentedCode?"indented":-1===l.indexOf("comment")?!1:n(o).fencedChars||n(a).fencedChars||t(i)?"fenced":"single"}function i(e,t,n,r){var i=t.line+1,o=n.line+1,a=t.line!==n.line,l=r+"\n",s="\n"+r;a&&o++,a&&0===n.ch&&(s=r+"\n",o--),E(e,!1,[l,s]),e.setSelection({line:i,ch:0},{line:o,ch:0})}var o,a,l,s=e.options.blockStyles.code,c=e.codemirror,u=c.getCursor("start"),f=c.getCursor("end"),h=c.getTokenAt({line:u.line,ch:u.ch||1}),d=c.getLineHandle(u.line),p=r(c,u.line,d,h);if("single"===p){var m=d.text.slice(0,u.ch).replace("`",""),g=d.text.slice(u.ch).replace("`","");c.replaceRange(m+g,{line:u.line,ch:0},{line:u.line,ch:99999999999999}),u.ch--,u!==f&&f.ch--,c.setSelection(u,f),c.focus()}else if("fenced"===p)if(u.line!==f.line||u.ch!==f.ch){for(o=u.line;o>=0&&(d=c.getLineHandle(o),!t(d));o--);var v,y,x,b,w=c.getTokenAt({line:o,ch:1}),k=n(w).fencedChars;t(c.getLineHandle(u.line))?(v="",y=u.line):t(c.getLineHandle(u.line-1))?(v="",y=u.line-1):(v=k+"\n",y=u.line),t(c.getLineHandle(f.line))?(x="",b=f.line,0===f.ch&&(b+=1)):0!==f.ch&&t(c.getLineHandle(f.line+1))?(x="",b=f.line+1):(x=k+"\n",b=f.line+1),0===f.ch&&(b-=1),c.operation(function(){c.replaceRange(x,{line:b,ch:0},{line:b+(x?0:1),ch:0}),c.replaceRange(v,{line:y,ch:0},{line:y+(v?0:1),ch:0})}),c.setSelection({line:y+(v?1:0),ch:0},{line:b+(v?1:-1),ch:0}),c.focus()}else{var S=u.line;if(t(c.getLineHandle(u.line))&&("fenced"===r(c,u.line+1)?(o=u.line,S=u.line+1):(a=u.line,S=u.line-1)),void 0===o)for(o=S;o>=0&&(d=c.getLineHandle(o),!t(d));o--);if(void 0===a)for(l=c.lineCount(),a=S;l>a&&(d=c.getLineHandle(a),!t(d));a++);c.operation(function(){c.replaceRange("",{line:o,ch:0},{line:o+1,ch:0}),c.replaceRange("",{line:a-1,ch:0},{line:a,ch:0})}),c.focus()}else if("indented"===p){if(u.line!==f.line||u.ch!==f.ch)o=u.line,a=f.line,0===f.ch&&a--;else{for(o=u.line;o>=0;o--)if(d=c.getLineHandle(o),!d.text.match(/^\s*$/)&&"indented"!==r(c,o,d)){o+=1;break}for(l=c.lineCount(),a=u.line;l>a;a++)if(d=c.getLineHandle(a),!d.text.match(/^\s*$/)&&"indented"!==r(c,a,d)){a-=1;break}}var C=c.getLineHandle(a+1),L=C&&c.getTokenAt({line:a+1,ch:C.text.length-1}),T=L&&n(L).indentedCode;T&&c.replaceRange("\n",{line:a+1,ch:0});for(var M=o;a>=M;M++)c.indentLine(M,"subtract");c.focus()}else{var N=u.line===f.line&&u.ch===f.ch&&0===u.ch,A=u.line!==f.line;N||A?i(c,u,f,s):E(c,!1,["`","`"])}}function d(e){var t=e.codemirror;I(t,"quote")}function p(e){var t=e.codemirror;O(t,"smaller")}function m(e){var t=e.codemirror;O(t,"bigger")}function g(e){var t=e.codemirror;O(t,void 0,1)}function v(e){var t=e.codemirror;O(t,void 0,2)}function y(e){var t=e.codemirror;O(t,void 0,3)}function x(e){var t=e.codemirror;I(t,"unordered-list")}function b(e){var t=e.codemirror;I(t,"ordered-list")}function w(e){var t=e.codemirror;R(t)}function k(e){var t=e.codemirror,n=l(t),r=e.options,i="http://";return r.promptURLs&&(i=prompt(r.promptTexts.link),!i)?!1:void E(t,n.link,r.insertTexts.link,i)}function S(e){var t=e.codemirror,n=l(t),r=e.options,i="http://";return r.promptURLs&&(i=prompt(r.promptTexts.image),!i)?!1:void E(t,n.image,r.insertTexts.image,i)}function C(e){var t=e.codemirror,n=l(t),r=e.options;E(t,n.table,r.insertTexts.table)}function L(e){var t=e.codemirror,n=l(t),r=e.options;E(t,n.image,r.insertTexts.horizontalRule)}function T(e){var t=e.codemirror;t.undo(),t.focus()}function M(e){var t=e.codemirror;t.redo(),t.focus()}function N(e){var t=e.codemirror,n=t.getWrapperElement(),r=n.nextSibling,i=e.toolbarElements["side-by-side"],o=!1;/editor-preview-active-side/.test(r.className)?(r.className=r.className.replace(/\s*editor-preview-active-side\s*/g,""),i.className=i.className.replace(/\s*active\s*/g,""),n.className=n.className.replace(/\s*CodeMirror-sided\s*/g," ")):(setTimeout(function(){t.getOption("fullScreen")||s(e),r.className+=" editor-preview-active-side"},1),i.className+=" active",n.className+=" CodeMirror-sided",o=!0);var a=n.lastChild;if(/editor-preview-active/.test(a.className)){a.className=a.className.replace(/\s*editor-preview-active\s*/g,"");var l=e.toolbarElements.preview,c=n.previousSibling;l.className=l.className.replace(/\s*active\s*/g,""),c.className=c.className.replace(/\s*disabled-for-preview*/g,"")}var u=function(){r.innerHTML=e.options.previewRender(e.value(),r)};t.sideBySideRenderingFunction||(t.sideBySideRenderingFunction=u),o?(r.innerHTML=e.options.previewRender(e.value(),r),t.on("update",t.sideBySideRenderingFunction)):t.off("update",t.sideBySideRenderingFunction),t.refresh()}function A(e){var t=e.codemirror,n=t.getWrapperElement(),r=n.previousSibling,i=e.options.toolbar?e.toolbarElements.preview:!1,o=n.lastChild;o&&/editor-preview/.test(o.className)||(o=document.createElement("div"),o.className="editor-preview",n.appendChild(o)),/editor-preview-active/.test(o.className)?(o.className=o.className.replace(/\s*editor-preview-active\s*/g,""),i&&(i.className=i.className.replace(/\s*active\s*/g,""),r.className=r.className.replace(/\s*disabled-for-preview*/g,""))):(setTimeout(function(){o.className+=" editor-preview-active"},1),i&&(i.className+=" active",r.className+=" disabled-for-preview")),o.innerHTML=e.options.previewRender(e.value(),o);var a=t.getWrapperElement().nextSibling;/editor-preview-active-side/.test(a.className)&&N(e)}function E(e,t,n,r){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){var i,o=n[0],a=n[1],l=e.getCursor("start"),s=e.getCursor("end");r&&(a=a.replace("#url#",r)),t?(i=e.getLine(l.line),o=i.slice(0,l.ch),a=i.slice(l.ch),e.replaceRange(o+a,{line:l.line,ch:0})):(i=e.getSelection(),e.replaceSelection(o+i+a),l.ch+=o.length,l!==s&&(s.ch+=o.length)),e.setSelection(l,s),e.focus()}}function O(e,t,n){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){for(var r=e.getCursor("start"),i=e.getCursor("end"),o=r.line;o<=i.line;o++)!function(r){var i=e.getLine(r),o=i.search(/[^#]/);i=void 0!==t?0>=o?"bigger"==t?"###### "+i:"# "+i:6==o&&"smaller"==t?i.substr(7):1==o&&"bigger"==t?i.substr(2):"bigger"==t?i.substr(1):"#"+i:1==n?0>=o?"# "+i:o==n?i.substr(o+1):"# "+i.substr(o+1):2==n?0>=o?"## "+i:o==n?i.substr(o+1):"## "+i.substr(o+1):0>=o?"### "+i:o==n?i.substr(o+1):"### "+i.substr(o+1),e.replaceRange(i,{line:r,ch:0},{line:r,ch:99999999999999})}(o);e.focus()}}function I(e,t){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){for(var n=l(e),r=e.getCursor("start"),i=e.getCursor("end"),o={quote:/^(\s*)\>\s+/,"unordered-list":/^(\s*)(\*|\-|\+)\s+/,"ordered-list":/^(\s*)\d+\.\s+/},a={quote:"> ","unordered-list":"* ","ordered-list":"1. "},s=r.line;s<=i.line;s++)!function(r){var i=e.getLine(r);i=n[t]?i.replace(o[t],"$1"):a[t]+i,e.replaceRange(i,{line:r,ch:0},{line:r,ch:99999999999999})}(s);e.focus()}}function P(e,t,n,r){if(!/editor-preview-active/.test(e.codemirror.getWrapperElement().lastChild.className)){r="undefined"==typeof r?n:r;var i,o=e.codemirror,a=l(o),s=n,c=r,u=o.getCursor("start"),f=o.getCursor("end");a[t]?(i=o.getLine(u.line),s=i.slice(0,u.ch),c=i.slice(u.ch),"bold"==t?(s=s.replace(/(\*\*|__)(?![\s\S]*(\*\*|__))/,""),c=c.replace(/(\*\*|__)/,"")):"italic"==t?(s=s.replace(/(\*|_)(?![\s\S]*(\*|_))/,""),c=c.replace(/(\*|_)/,"")):"strikethrough"==t&&(s=s.replace(/(\*\*|~~)(?![\s\S]*(\*\*|~~))/,""),c=c.replace(/(\*\*|~~)/,"")),o.replaceRange(s+c,{line:u.line,ch:0},{line:u.line,ch:99999999999999}),"bold"==t||"strikethrough"==t?(u.ch-=2,u!==f&&(f.ch-=2)):"italic"==t&&(u.ch-=1,u!==f&&(f.ch-=1))):(i=o.getSelection(),"bold"==t?(i=i.split("**").join(""),i=i.split("__").join("")):"italic"==t?(i=i.split("*").join(""),i=i.split("_").join("")):"strikethrough"==t&&(i=i.split("~~").join("")),o.replaceSelection(s+i+c),u.ch+=n.length,f.ch=u.ch+i.length),o.setSelection(u,f),o.focus()}}function R(e){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className))for(var t,n=e.getCursor("start"),r=e.getCursor("end"),i=n.line;i<=r.line;i++)t=e.getLine(i),t=t.replace(/^[ ]*([# ]+|\*|\-|[> ]+|[0-9]+(.|\)))[ ]*/,""),e.replaceRange(t,{line:i,ch:0},{line:i,ch:99999999999999})}function D(e,t){for(var n in t)t.hasOwnProperty(n)&&(t[n]instanceof Array?e[n]=t[n].concat(e[n]instanceof Array?e[n]:[]):null!==t[n]&&"object"==typeof t[n]&&t[n].constructor===Object?e[n]=D(e[n]||{},t[n]):e[n]=t[n]);return e}function H(e){for(var t=1;t<arguments.length;t++)e=D(e,arguments[t]);return e}function W(e){var t=/[a-zA-Z0-9_\u0392-\u03c9\u0410-\u04F9]+|[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af]+/g,n=e.match(t),r=0;if(null===n)return r;for(var i=0;i<n.length;i++)r+=n[i].charCodeAt(0)>=19968?n[i].length:1;return r}function B(e){e=e||{},e.parent=this;var t=!0;if(e.autoDownloadFontAwesome===!1&&(t=!1),e.autoDownloadFontAwesome!==!0)for(var n=document.styleSheets,r=0;r<n.length;r++)n[r].href&&n[r].href.indexOf("//maxcdn.bootstrapcdn.com/font-awesome/")>-1&&(t=!1);if(t){var i=document.createElement("link");i.rel="stylesheet",i.href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css",document.getElementsByTagName("head")[0].appendChild(i)}if(e.element)this.element=e.element;else if(null===e.element)return void console.log("SimpleMDE: Error. No element was found.");if(void 0===e.toolbar){e.toolbar=[];for(var o in K)K.hasOwnProperty(o)&&(-1!=o.indexOf("separator-")&&e.toolbar.push("|"),(K[o]["default"]===!0||e.showIcons&&e.showIcons.constructor===Array&&-1!=e.showIcons.indexOf(o))&&e.toolbar.push(o))}e.hasOwnProperty("status")||(e.status=["autosave","lines","words","cursor"]),e.previewRender||(e.previewRender=function(e){return this.parent.markdown(e)}),e.parsingConfig=H({highlightFormatting:!0},e.parsingConfig||{}),e.insertTexts=H({},X,e.insertTexts||{}),e.promptTexts=Z,e.blockStyles=H({},J,e.blockStyles||{}),e.shortcuts=H({},G,e.shortcuts||{}),void 0!=e.autosave&&void 0!=e.autosave.unique_id&&""!=e.autosave.unique_id&&(e.autosave.uniqueId=e.autosave.unique_id),this.options=e,this.render(),!e.initialValue||this.options.autosave&&this.options.autosave.foundSavedValue===!0||this.value(e.initialValue)}function _(){if("object"!=typeof localStorage)return!1;try{localStorage.setItem("smde_localStorage",1),localStorage.removeItem("smde_localStorage")}catch(e){return!1}return!0}var F=e("codemirror");e("codemirror/addon/edit/continuelist.js"),e("./codemirror/tablist"),e("codemirror/addon/display/fullscreen.js"),e("codemirror/mode/markdown/markdown.js"),e("codemirror/addon/mode/overlay.js"),e("codemirror/addon/display/placeholder.js"),e("codemirror/addon/selection/mark-selection.js"),e("codemirror/mode/gfm/gfm.js"),e("codemirror/mode/xml/xml.js");var z=e("codemirror-spell-checker"),j=e("marked"),U=/Mac/.test(navigator.platform),q={toggleBold:c,toggleItalic:u,drawLink:k,toggleHeadingSmaller:p,toggleHeadingBigger:m,drawImage:S,toggleBlockquote:d,toggleOrderedList:b,toggleUnorderedList:x,toggleCodeBlock:h,togglePreview:A,toggleStrikethrough:f,toggleHeading1:g,toggleHeading2:v,toggleHeading3:y,cleanBlock:w,drawTable:C,drawHorizontalRule:L,undo:T,redo:M,toggleSideBySide:N,toggleFullScreen:s},G={toggleBold:"Cmd-B",toggleItalic:"Cmd-I",drawLink:"Cmd-K",toggleHeadingSmaller:"Cmd-H",toggleHeadingBigger:"Shift-Cmd-H",cleanBlock:"Cmd-E",drawImage:"Cmd-Alt-I",toggleBlockquote:"Cmd-'",toggleOrderedList:"Cmd-Alt-L",toggleUnorderedList:"Cmd-L",toggleCodeBlock:"Cmd-Alt-C",togglePreview:"Cmd-P",toggleSideBySide:"F9",toggleFullScreen:"F11"},Y=function(e){for(var t in q)if(q[t]===e)return t;return null},$=function(){var e=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0); +}(navigator.userAgent||navigator.vendor||window.opera),e},V="",K={bold:{name:"bold",action:c,className:"fa fa-bold",title:"Bold","default":!0},italic:{name:"italic",action:u,className:"fa fa-italic",title:"Italic","default":!0},strikethrough:{name:"strikethrough",action:f,className:"fa fa-strikethrough",title:"Strikethrough"},heading:{name:"heading",action:p,className:"fa fa-header",title:"Heading","default":!0},"heading-smaller":{name:"heading-smaller",action:p,className:"fa fa-header fa-header-x fa-header-smaller",title:"Smaller Heading"},"heading-bigger":{name:"heading-bigger",action:m,className:"fa fa-header fa-header-x fa-header-bigger",title:"Bigger Heading"},"heading-1":{name:"heading-1",action:g,className:"fa fa-header fa-header-x fa-header-1",title:"Big Heading"},"heading-2":{name:"heading-2",action:v,className:"fa fa-header fa-header-x fa-header-2",title:"Medium Heading"},"heading-3":{name:"heading-3",action:y,className:"fa fa-header fa-header-x fa-header-3",title:"Small Heading"},"separator-1":{name:"separator-1"},code:{name:"code",action:h,className:"fa fa-code",title:"Code"},quote:{name:"quote",action:d,className:"fa fa-quote-left",title:"Quote","default":!0},"unordered-list":{name:"unordered-list",action:x,className:"fa fa-list-ul",title:"Generic List","default":!0},"ordered-list":{name:"ordered-list",action:b,className:"fa fa-list-ol",title:"Numbered List","default":!0},"clean-block":{name:"clean-block",action:w,className:"fa fa-eraser fa-clean-block",title:"Clean block"},"separator-2":{name:"separator-2"},link:{name:"link",action:k,className:"fa fa-link",title:"Create Link","default":!0},image:{name:"image",action:S,className:"fa fa-picture-o",title:"Insert Image","default":!0},table:{name:"table",action:C,className:"fa fa-table",title:"Insert Table"},"horizontal-rule":{name:"horizontal-rule",action:L,className:"fa fa-minus",title:"Insert Horizontal Line"},"separator-3":{name:"separator-3"},preview:{name:"preview",action:A,className:"fa fa-eye no-disable",title:"Toggle Preview","default":!0},"side-by-side":{name:"side-by-side",action:N,className:"fa fa-columns no-disable no-mobile",title:"Toggle Side by Side","default":!0},fullscreen:{name:"fullscreen",action:s,className:"fa fa-arrows-alt no-disable no-mobile",title:"Toggle Fullscreen","default":!0},"separator-4":{name:"separator-4"},guide:{name:"guide",action:"https://simplemde.com/markdown-guide",className:"fa fa-question-circle",title:"Markdown Guide","default":!0},"separator-5":{name:"separator-5"},undo:{name:"undo",action:T,className:"fa fa-undo no-disable",title:"Undo"},redo:{name:"redo",action:M,className:"fa fa-repeat no-disable",title:"Redo"}},X={link:["[","](#url#)"],image:["![](","#url#)"],table:["","\n\n| Column 1 | Column 2 | Column 3 |\n| -------- | -------- | -------- |\n| Text | Text | Text |\n\n"],horizontalRule:["","\n\n-----\n\n"]},Z={link:"URL for the link:",image:"URL of the image:"},J={bold:"**",code:"```",italic:"*"};B.prototype.markdown=function(e){if(j){var t={};return this.options&&this.options.renderingConfig&&this.options.renderingConfig.singleLineBreaks===!1?t.breaks=!1:t.breaks=!0,this.options&&this.options.renderingConfig&&this.options.renderingConfig.codeSyntaxHighlighting===!0&&window.hljs&&(t.highlight=function(e){return window.hljs.highlightAuto(e).value}),j.setOptions(t),j(e)}},B.prototype.render=function(e){if(e||(e=this.element||document.getElementsByTagName("textarea")[0]),!this._rendered||this._rendered!==e){this.element=e;var t=this.options,n=this,i={};for(var o in t.shortcuts)null!==t.shortcuts[o]&&null!==q[o]&&!function(e){i[r(t.shortcuts[e])]=function(){q[e](n)}}(o);i.Enter="newlineAndIndentContinueMarkdownList",i.Tab="tabAndIndentMarkdownList",i["Shift-Tab"]="shiftTabAndUnindentMarkdownList",i.Esc=function(e){e.getOption("fullScreen")&&s(n)},document.addEventListener("keydown",function(e){e=e||window.event,27==e.keyCode&&n.codemirror.getOption("fullScreen")&&s(n)},!1);var a,l;if(t.spellChecker!==!1?(a="spell-checker",l=t.parsingConfig,l.name="gfm",l.gitHubSpice=!1,z({codeMirrorInstance:F})):(a=t.parsingConfig,a.name="gfm",a.gitHubSpice=!1),this.codemirror=F.fromTextArea(e,{mode:a,backdrop:l,theme:"paper",tabSize:void 0!=t.tabSize?t.tabSize:2,indentUnit:void 0!=t.tabSize?t.tabSize:2,indentWithTabs:t.indentWithTabs!==!1,lineNumbers:!1,autofocus:t.autofocus===!0,extraKeys:i,lineWrapping:t.lineWrapping!==!1,allowDropFileTypes:["text/plain"],placeholder:t.placeholder||e.getAttribute("placeholder")||"",styleSelectedText:void 0!=t.styleSelectedText?t.styleSelectedText:!0}),t.forceSync===!0){var c=this.codemirror;c.on("change",function(){c.save()})}this.gui={},t.toolbar!==!1&&(this.gui.toolbar=this.createToolbar()),t.status!==!1&&(this.gui.statusbar=this.createStatusbar()),void 0!=t.autosave&&t.autosave.enabled===!0&&this.autosave(),this.gui.sideBySide=this.createSideBySide(),this._rendered=this.element;var u=this.codemirror;setTimeout(function(){u.refresh()}.bind(u),0)}},B.prototype.autosave=function(){if(_()){var e=this;if(void 0==this.options.autosave.uniqueId||""==this.options.autosave.uniqueId)return void console.log("SimpleMDE: You must set a uniqueId to use the autosave feature");null!=e.element.form&&void 0!=e.element.form&&e.element.form.addEventListener("submit",function(){localStorage.removeItem("smde_"+e.options.autosave.uniqueId)}),this.options.autosave.loaded!==!0&&("string"==typeof localStorage.getItem("smde_"+this.options.autosave.uniqueId)&&""!=localStorage.getItem("smde_"+this.options.autosave.uniqueId)&&(this.codemirror.setValue(localStorage.getItem("smde_"+this.options.autosave.uniqueId)),this.options.autosave.foundSavedValue=!0),this.options.autosave.loaded=!0),localStorage.setItem("smde_"+this.options.autosave.uniqueId,e.value());var t=document.getElementById("autosaved");if(null!=t&&void 0!=t&&""!=t){var n=new Date,r=n.getHours(),i=n.getMinutes(),o="am",a=r;a>=12&&(a=r-12,o="pm"),0==a&&(a=12),i=10>i?"0"+i:i,t.innerHTML="Autosaved: "+a+":"+i+" "+o}this.autosaveTimeoutId=setTimeout(function(){e.autosave()},this.options.autosave.delay||1e4)}else console.log("SimpleMDE: localStorage not available, cannot autosave")},B.prototype.clearAutosavedValue=function(){if(_()){if(void 0==this.options.autosave||void 0==this.options.autosave.uniqueId||""==this.options.autosave.uniqueId)return void console.log("SimpleMDE: You must set a uniqueId to clear the autosave value");localStorage.removeItem("smde_"+this.options.autosave.uniqueId)}else console.log("SimpleMDE: localStorage not available, cannot autosave")},B.prototype.createSideBySide=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.nextSibling;n&&/editor-preview-side/.test(n.className)||(n=document.createElement("div"),n.className="editor-preview-side",t.parentNode.insertBefore(n,t.nextSibling));var r=!1,i=!1;return e.on("scroll",function(e){if(r)return void(r=!1);i=!0;var t=e.getScrollInfo().height-e.getScrollInfo().clientHeight,o=parseFloat(e.getScrollInfo().top)/t,a=(n.scrollHeight-n.clientHeight)*o;n.scrollTop=a}),n.onscroll=function(){if(i)return void(i=!1);r=!0;var t=n.scrollHeight-n.clientHeight,o=parseFloat(n.scrollTop)/t,a=(e.getScrollInfo().height-e.getScrollInfo().clientHeight)*o;e.scrollTo(0,a)},n},B.prototype.createToolbar=function(e){if(e=e||this.options.toolbar,e&&0!==e.length){var t;for(t=0;t<e.length;t++)void 0!=K[e[t]]&&(e[t]=K[e[t]]);var n=document.createElement("div");n.className="editor-toolbar";var r=this,a={};for(r.toolbar=e,t=0;t<e.length;t++)if(("guide"!=e[t].name||r.options.toolbarGuideIcon!==!1)&&!(r.options.hideIcons&&-1!=r.options.hideIcons.indexOf(e[t].name)||("fullscreen"==e[t].name||"side-by-side"==e[t].name)&&$())){if("|"===e[t]){for(var s=!1,c=t+1;c<e.length;c++)"|"===e[c]||r.options.hideIcons&&-1!=r.options.hideIcons.indexOf(e[c].name)||(s=!0);if(!s)continue}!function(e){var t;t="|"===e?o():i(e,r.options.toolbarTips,r.options.shortcuts),e.action&&("function"==typeof e.action?t.onclick=function(t){t.preventDefault(),e.action(r)}:"string"==typeof e.action&&(t.href=e.action,t.target="_blank")),a[e.name||e]=t,n.appendChild(t)}(e[t])}r.toolbarElements=a;var u=this.codemirror;u.on("cursorActivity",function(){var e=l(u);for(var t in a)!function(t){var n=a[t];e[t]?n.className+=" active":"fullscreen"!=t&&"side-by-side"!=t&&(n.className=n.className.replace(/\s*active\s*/g,""))}(t)});var f=u.getWrapperElement();return f.parentNode.insertBefore(n,f),n}},B.prototype.createStatusbar=function(e){e=e||this.options.status;var t=this.options,n=this.codemirror;if(e&&0!==e.length){var r,i,o,a=[];for(r=0;r<e.length;r++)if(i=void 0,o=void 0,"object"==typeof e[r])a.push({className:e[r].className,defaultValue:e[r].defaultValue,onUpdate:e[r].onUpdate});else{var l=e[r];"words"===l?(o=function(e){e.innerHTML=W(n.getValue())},i=function(e){e.innerHTML=W(n.getValue())}):"lines"===l?(o=function(e){e.innerHTML=n.lineCount()},i=function(e){e.innerHTML=n.lineCount()}):"cursor"===l?(o=function(e){e.innerHTML="0:0"},i=function(e){var t=n.getCursor();e.innerHTML=t.line+":"+t.ch}):"autosave"===l&&(o=function(e){void 0!=t.autosave&&t.autosave.enabled===!0&&e.setAttribute("id","autosaved")}),a.push({className:l,defaultValue:o,onUpdate:i})}var s=document.createElement("div");for(s.className="editor-statusbar",r=0;r<a.length;r++){var c=a[r],u=document.createElement("span");u.className=c.className,"function"==typeof c.defaultValue&&c.defaultValue(u),"function"==typeof c.onUpdate&&this.codemirror.on("update",function(e,t){return function(){t.onUpdate(e)}}(u,c)),s.appendChild(u)}var f=this.codemirror.getWrapperElement();return f.parentNode.insertBefore(s,f.nextSibling),s}},B.prototype.value=function(e){return void 0===e?this.codemirror.getValue():(this.codemirror.getDoc().setValue(e),this)},B.toggleBold=c,B.toggleItalic=u,B.toggleStrikethrough=f,B.toggleBlockquote=d,B.toggleHeadingSmaller=p,B.toggleHeadingBigger=m,B.toggleHeading1=g,B.toggleHeading2=v,B.toggleHeading3=y,B.toggleCodeBlock=h,B.toggleUnorderedList=x,B.toggleOrderedList=b,B.cleanBlock=w,B.drawLink=k,B.drawImage=S,B.drawTable=C,B.drawHorizontalRule=L,B.undo=T,B.redo=M,B.togglePreview=A,B.toggleSideBySide=N,B.toggleFullScreen=s,B.prototype.toggleBold=function(){c(this)},B.prototype.toggleItalic=function(){u(this)},B.prototype.toggleStrikethrough=function(){f(this)},B.prototype.toggleBlockquote=function(){d(this)},B.prototype.toggleHeadingSmaller=function(){p(this)},B.prototype.toggleHeadingBigger=function(){m(this)},B.prototype.toggleHeading1=function(){g(this)},B.prototype.toggleHeading2=function(){v(this)},B.prototype.toggleHeading3=function(){y(this)},B.prototype.toggleCodeBlock=function(){h(this)},B.prototype.toggleUnorderedList=function(){x(this)},B.prototype.toggleOrderedList=function(){b(this)},B.prototype.cleanBlock=function(){w(this)},B.prototype.drawLink=function(){k(this)},B.prototype.drawImage=function(){S(this)},B.prototype.drawTable=function(){C(this)},B.prototype.drawHorizontalRule=function(){L(this)},B.prototype.undo=function(){T(this)},B.prototype.redo=function(){M(this)},B.prototype.togglePreview=function(){A(this)},B.prototype.toggleSideBySide=function(){N(this)},B.prototype.toggleFullScreen=function(){s(this)},B.prototype.isPreviewActive=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.lastChild;return/editor-preview-active/.test(n.className)},B.prototype.isSideBySideActive=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.nextSibling;return/editor-preview-active-side/.test(n.className)},B.prototype.isFullscreenActive=function(){var e=this.codemirror;return e.getOption("fullScreen")},B.prototype.getState=function(){var e=this.codemirror;return l(e)},B.prototype.toTextArea=function(){var e=this.codemirror,t=e.getWrapperElement();t.parentNode&&(this.gui.toolbar&&t.parentNode.removeChild(this.gui.toolbar),this.gui.statusbar&&t.parentNode.removeChild(this.gui.statusbar),this.gui.sideBySide&&t.parentNode.removeChild(this.gui.sideBySide)),e.toTextArea(),this.autosaveTimeoutId&&(clearTimeout(this.autosaveTimeoutId),this.autosaveTimeoutId=void 0,this.clearAutosavedValue())},t.exports=B},{"./codemirror/tablist":19,codemirror:10,"codemirror-spell-checker":4,"codemirror/addon/display/fullscreen.js":5,"codemirror/addon/display/placeholder.js":6,"codemirror/addon/edit/continuelist.js":7,"codemirror/addon/mode/overlay.js":8,"codemirror/addon/selection/mark-selection.js":9,"codemirror/mode/gfm/gfm.js":11,"codemirror/mode/markdown/markdown.js":12,"codemirror/mode/xml/xml.js":14,marked:17}]},{},[20])(20)});
\ No newline at end of file diff --git a/yaksh/static/yaksh/js/toastr.min.js b/yaksh/static/yaksh/js/toastr.min.js new file mode 100644 index 0000000..4b5f34a --- /dev/null +++ b/yaksh/static/yaksh/js/toastr.min.js @@ -0,0 +1,7 @@ +/* + * Note that this is toastr v2.1.3, the "latest" version in url has no more maintenance, + * please go to https://cdnjs.com/libraries/toastr.js and pick a certain version you want to use, + * make sure you copy the url from the website since the url may change between versions. + * */ +!function(e){e(["jquery"],function(e){return function(){function t(e,t,n){return g({type:O.error,iconClass:m().iconClasses.error,message:e,optionsOverride:n,title:t})}function n(t,n){return t||(t=m()),v=e("#"+t.containerId),v.length?v:(n&&(v=d(t)),v)}function o(e,t,n){return g({type:O.info,iconClass:m().iconClasses.info,message:e,optionsOverride:n,title:t})}function s(e){C=e}function i(e,t,n){return g({type:O.success,iconClass:m().iconClasses.success,message:e,optionsOverride:n,title:t})}function a(e,t,n){return g({type:O.warning,iconClass:m().iconClasses.warning,message:e,optionsOverride:n,title:t})}function r(e,t){var o=m();v||n(o),u(e,o,t)||l(o)}function c(t){var o=m();return v||n(o),t&&0===e(":focus",t).length?void h(t):void(v.children().length&&v.remove())}function l(t){for(var n=v.children(),o=n.length-1;o>=0;o--)u(e(n[o]),t)}function u(t,n,o){var s=!(!o||!o.force)&&o.force;return!(!t||!s&&0!==e(":focus",t).length)&&(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){h(t)}}),!0)}function d(t){return v=e("<div/>").attr("id",t.containerId).addClass(t.positionClass),v.appendTo(e(t.target)),v}function p(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">×</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1}}function f(e){C&&C(e)}function g(t){function o(e){return null==e&&(e=""),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function s(){c(),u(),d(),p(),g(),C(),l(),i()}function i(){var e="";switch(t.iconClass){case"toast-success":case"toast-info":e="polite";break;default:e="assertive"}I.attr("aria-live",e)}function a(){E.closeOnHover&&I.hover(H,D),!E.onclick&&E.tapToDismiss&&I.click(b),E.closeButton&&j&&j.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&e.cancelBubble!==!0&&(e.cancelBubble=!0),E.onCloseClick&&E.onCloseClick(e),b(!0)}),E.onclick&&I.click(function(e){E.onclick(e),b()})}function r(){I.hide(),I[E.showMethod]({duration:E.showDuration,easing:E.showEasing,complete:E.onShown}),E.timeOut>0&&(k=setTimeout(b,E.timeOut),F.maxHideTime=parseFloat(E.timeOut),F.hideEta=(new Date).getTime()+F.maxHideTime,E.progressBar&&(F.intervalId=setInterval(x,10)))}function c(){t.iconClass&&I.addClass(E.toastClass).addClass(y)}function l(){E.newestOnTop?v.prepend(I):v.append(I)}function u(){if(t.title){var e=t.title;E.escapeHtml&&(e=o(t.title)),M.append(e).addClass(E.titleClass),I.append(M)}}function d(){if(t.message){var e=t.message;E.escapeHtml&&(e=o(t.message)),B.append(e).addClass(E.messageClass),I.append(B)}}function p(){E.closeButton&&(j.addClass(E.closeClass).attr("role","button"),I.prepend(j))}function g(){E.progressBar&&(q.addClass(E.progressClass),I.prepend(q))}function C(){E.rtl&&I.addClass("rtl")}function O(e,t){if(e.preventDuplicates){if(t.message===w)return!0;w=t.message}return!1}function b(t){var n=t&&E.closeMethod!==!1?E.closeMethod:E.hideMethod,o=t&&E.closeDuration!==!1?E.closeDuration:E.hideDuration,s=t&&E.closeEasing!==!1?E.closeEasing:E.hideEasing;if(!e(":focus",I).length||t)return clearTimeout(F.intervalId),I[n]({duration:o,easing:s,complete:function(){h(I),clearTimeout(k),E.onHidden&&"hidden"!==P.state&&E.onHidden(),P.state="hidden",P.endTime=new Date,f(P)}})}function D(){(E.timeOut>0||E.extendedTimeOut>0)&&(k=setTimeout(b,E.extendedTimeOut),F.maxHideTime=parseFloat(E.extendedTimeOut),F.hideEta=(new Date).getTime()+F.maxHideTime)}function H(){clearTimeout(k),F.hideEta=0,I.stop(!0,!0)[E.showMethod]({duration:E.showDuration,easing:E.showEasing})}function x(){var e=(F.hideEta-(new Date).getTime())/F.maxHideTime*100;q.width(e+"%")}var E=m(),y=t.iconClass||E.iconClass;if("undefined"!=typeof t.optionsOverride&&(E=e.extend(E,t.optionsOverride),y=t.optionsOverride.iconClass||y),!O(E,t)){T++,v=n(E,!0);var k=null,I=e("<div/>"),M=e("<div/>"),B=e("<div/>"),q=e("<div/>"),j=e(E.closeHtml),F={intervalId:null,hideEta:null,maxHideTime:null},P={toastId:T,state:"visible",startTime:new Date,options:E,map:t};return s(),r(),a(),f(P),E.debug&&console&&console.log(P),I}}function m(){return e.extend({},p(),b.options)}function h(e){v||(v=n()),e.is(":visible")||(e.remove(),e=null,0===v.children().length&&(v.remove(),w=void 0))}var v,C,w,T=0,O={error:"error",info:"info",success:"success",warning:"warning"},b={clear:r,remove:c,error:t,getContainer:n,info:o,options:{},subscribe:s,success:i,version:"2.1.3",warning:a};return b}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}); +//# sourceMappingURL=toastr.js.map diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html index c70c265..73861c7 100644 --- a/yaksh/templates/base.html +++ b/yaksh/templates/base.html @@ -20,6 +20,13 @@ <link rel="stylesheet" href="{% static 'yaksh/css/animate.min.css' %}" type="text/css" /> <link rel="stylesheet" href="{% static 'yaksh/css/font-awesome.css' %}" type="text/css" /> <link rel="stylesheet" href="{% static 'yaksh/css/ontop.css' %}" type="text/css" /> + <link rel="stylesheet" href="{% static 'yaksh/css/plyr.css' %}" /> + <link rel="stylesheet" type="text/css" href="{% static 'yaksh/css/simplemde.min.css' %}"> + <link rel="stylesheet" href="{% static 'yaksh/css/toastr.min.css' %}" /> + <!-- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.12.0/katex.min.css --> + <link rel="stylesheet" href="{% static 'yaksh/css/argon.css' %}" /> + <link rel="stylesheet" href="{% static 'yaksh/css/argon.min.css' %}" /> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css" integrity="sha384-AfEj0r4/OFrOo5t7NnNe46zW/tFgW6x/bCJG8FqQCEo3+Aro6EYUG4+cU+KJWu/X" crossorigin="anonymous"> {% block meta %} @@ -37,9 +44,38 @@ <script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/jquery-3.3.1.min.js' %}"></script> <script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/bootstrap.min.js' %}"></script> <script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/wow.min.js' %}"></script> + <script src="{% static 'yaksh/js/plyr.js' %}"></script> + <script type="text/javascript" src="{% static 'yaksh/js/simplemde.min.js' %}"> + </script> + <script type="text/javascript" src="{% static 'yaksh/js/toastr.min.js' %}"> + </script> + <script type="text/javascript" src="{% static 'yaksh/js/js.cookie.js' %}"> + </script> + <script type="text/javascript" src="{% static 'yaksh/js/argon.js' %}"> + </script> + <script type="text/javascript" src="{% static 'yaksh/js/argon.min.js' %}"> + </script> + <!-- The loading of KaTeX is deferred to speed up page rendering --> + <script defer src="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.js" integrity="sha384-g7c+Jr9ZivxKLnZTDUhnkOnsh30B4H0rpLUpJ4jAIKs4fnJI+sEnkvrMWph2EDg4" crossorigin="anonymous"></script> + + <!-- To automatically render math in text elements, include the auto-render extension: --> + <script src="https://cdn.plot.ly/plotly-latest.min.js"></script> + <script defer src="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/contrib/auto-render.min.js" integrity="sha384-mll67QQFJfxn0IYznZYonOWZ644AWYC+Pt2cHqMaRhXVrursRwvLnLaebdGIlYNa" crossorigin="anonymous"> + </script> <script> new WOW().init(); + $(document).ready(function() { + renderMathInElement( + document.body, + { + delimiters: [ + {left: "$$", right: "$$", display: true}, + {left: "$", right: "$", display: false}, + ] + } + ); + }); </script> {% block script %} {% endblock %} @@ -50,26 +86,48 @@ <div id="ontop"> <div id="state"> Checking...<img src="{% static 'yaksh/images/check_answer.gif' %}"/> - </div></div> - - + </div> + </div> + <div id="loader"> + <div id="state1"> + <div class="spinner-grow text-success" role="status"> + <span class="sr-only">Loading...</span> + </div> + <div class="spinner-grow text-danger" role="status"> + <span class="sr-only">Loading...</span> + </div> + <div class="spinner-grow text-warning" role="status"> + <span class="sr-only">Loading...</span> + </div> + <div class="spinner-grow text-primary" role="status"> + <span class="sr-only">Loading...</span> + </div> + </div> + </div> {% block nav %} {% endblock %} - - <div class="base-content"> - <div class="header"> - <h3><center>{% block pagetitle %}{% endblock pagetitle %}</center></h3> - </div> - <h4><center>{% block subtitle %}{% endblock %}</center></h4> - {% block content %} - {% endblock %} - </div> - - - {% block footer %} - {% endblock %} - + <div class="base-content"> + <div class="header"> + <h3><center>{% block pagetitle %}{% endblock pagetitle %}</center></h3> + </div> + <h4><center>{% block subtitle %}{% endblock %}</center></h4> + {% block content %} + {% endblock %} + <br> + </div> + <footer class="footer"> + <div class="container"> + <div class="row"> + <div class="col"> + Developed by FOSSEE group, IIT Bombay + </div> + <div class="col"> + Contact: pythonsupport@fossee.in + </div> + </div> + </div> + </footer> </body> </html> diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html index a773076..2290ca4 100644 --- a/yaksh/templates/exam.html +++ b/yaksh/templates/exam.html @@ -88,14 +88,14 @@ </div> <br> <div> - <table class="table table-bordered table-responsive-sm"> - <thead> + <table class="table table-dark table-responsive-sm"> + <thead class="thead-dark"> <tr> <th>Category</th> <th>Question No.</th> </tr> </thead> - <tbody> + <tbody class="list"> {% for category, question_number in paper.get_categorized_question_indices.items %} <tr> <td> diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html index 6047fc5..7a2830c 100644 --- a/yaksh/templates/manage.html +++ b/yaksh/templates/manage.html @@ -65,37 +65,6 @@ </ul> </div> </nav> - -<!-- iframe div for video embed --> -<div id="iframe_div" style="display: none;"> - <iframe class="embed-responsive-item" id="video_frame" width="640" height="480" allowfullscreen> - </iframe> -</div> -<!-- end iframe div --> - -<!-- Dialog to video embed --> -<div id="dialog_iframe" title="Embed Video URL" style="display: none;"> - <div class="input-group mb-3"> - <input id="url" name="url" type="text" required="true" class="form-control" placeholder="Enter video link"> - <div class="input-group-append"> - <input type="button" id="submit_info" name="submit_info" class="btn btn-primary" value="Submit" /> - </div> - </div> - <div id="error_div" style="display: none;"> - <b> Please enter URL</b> - </div> - <div id="copy_div"> - <br> - <label>Paste HTML to embed in website:</label> - <textarea id="html_text" class="form-control" rows="5" cols="100"></textarea> - <br> - <a class="btn btn-secondary" id="copy" data-toggle="tooltip" title="Copy to Clipboard"> - <i class="fa fa-clipboard" aria-hidden="true"></i> - </a> - </div> -</div> -<!-- end dialog --> - {% endblock %} {% block content %} <div class="container"> diff --git a/yaksh/templates/user.html b/yaksh/templates/user.html index 4e3974b..40a5edd 100644 --- a/yaksh/templates/user.html +++ b/yaksh/templates/user.html @@ -15,6 +15,16 @@ <li class="nav-item"><a class="nav-link" href="{% url 'yaksh:index' %}"><i class="fa fa-home" style="size: 18px"></i> Home</a></li> </ul> <ul class="navbar-nav ml-auto"> + <li class="nav-item"> + <a class="nav-link" href="{% url 'yaksh:view_notifications' %}"> + <i class="fa fa-bell" style="size: 18px"></i> Notifications + {% if request.custom_notifications > 0 %} + <span class="badge badge-success badge-pill"> + {{request.custom_notifications}} + </span> + {% endif %} + </a> + </li> <li class="nav-item dropdown my-lg-0" style="font-size: 1.2rem"> <a class="dropdown-toggle nav-link" id="user_dropdown" data-toggle="dropdown" href="#">{{user.get_full_name|title}} </a> @@ -43,8 +53,6 @@ </nav> </div> {% endblock %} - - {% block content %} {% block main %} {% block navtab %} diff --git a/yaksh/templates/yaksh/add_course.html b/yaksh/templates/yaksh/add_course.html index 0072a95..b264c5e 100644 --- a/yaksh/templates/yaksh/add_course.html +++ b/yaksh/templates/yaksh/add_course.html @@ -6,8 +6,10 @@ {% endblock %} {% block script %} +<script type="text/javascript" src="{% static 'yaksh/js/tinymce/js/tinymce/tinymce.min.js' %}"></script> <script type="text/javascript" src="{% static 'yaksh/js/jquery.datetimepicker.full.min.js' %}"> </script> +<script type="text/javascript" src="{% static 'yaksh/js/add_course.js' %}"></script> {% endblock %} {% block title %} Add Course {% endblock %} {% block pagetitle %} Add Course {% endblock %} @@ -38,7 +40,7 @@ <form name=frm id=frm action="" method="post" > {% csrf_token %} <center> - <table class="table table-bordered table-responsive-sm"> + <table class="table table-responsive-sm"> {{ form.as_table }} </table> <br/> diff --git a/yaksh/templates/yaksh/add_lesson.html b/yaksh/templates/yaksh/add_lesson.html index b984db0..137dbc3 100644 --- a/yaksh/templates/yaksh/add_lesson.html +++ b/yaksh/templates/yaksh/add_lesson.html @@ -9,6 +9,9 @@ </script> <script type="text/javascript" src="{% static 'yaksh/js/jquery-ui.js' %}"> </script> +<script type="text/javascript" src="{% static 'yaksh/js/mathjax/MathJax.js' %}?config=TeX-MML-AM_CHTML"> +</script> + {% endblock %} {% block css %} @@ -17,15 +20,14 @@ {% endblock %} {% block content %} -<div class="container"> -{% if error %} -<div class="alert alert-danger"> - {{error}} -</div> -{% endif %} -<div class="container"> - <div class="row justify-content-center form-group"> - <div class="col-md-9 col-md-offset-4"> +<div class="container-fluid"> + {% if error %} + <div class="alert alert-danger"> + {{error}} + </div> + {% endif %} + <div class="row"> + <div class="col-md-6"> <a class="btn btn-primary" href="{% url 'yaksh:get_course_modules' course_id %}"> <i class="fa fa-arrow-left"></i> Back </a> @@ -52,7 +54,7 @@ <button type="button" class="close" data-dismiss="alert"> <i class="fa fa-close"></i> </button> - <strong>{{ error|escape }}</strong> + <strong>{{ field.label }} : {{ error|escape }}</strong> </div> {% endfor %} {% endfor %} @@ -61,27 +63,45 @@ <button type="button" class="close" data-dismiss="alert"> <i class="fa fa-close"></i> </button> - <strong>{{ error|escape }}</strong> + <strong>{{ field.label }} : {{ error|escape }}</strong> </div> {% endfor %} {% endif %} {{lesson_form.name}} <br> + <div class="card" id="preview_text_div"> + <div class="card-header"> + <center> + <h3>Description Preview</h3> + </center> + </div> + <div class="card-body"> + <div id="description_body" style="max-height: 400px; overflow-y: auto;"> + </div> + </div> + </div> + <br> {{lesson_form.description}} <br> Active: {{lesson_form.active}} <br><br> + Video Path: + <a data-toggle="tooltip" id="video_msg"> + <i class="fa fa-question-circle"></i> + </a> + {{lesson_form.video_option}} + <br><br> + {{lesson_form.video_url}} + {{lesson_form.video_path}} + <br> Video File: - <span class="badge badge-info"> - {{lesson_form.video_file.help_text}} - </span> - <div class="input-group mb-3"> - <div class="custom-file"> - {{lesson_form.video_file}} - <label class="custom-file-label" for="id_video_file"> - Choose file - </label> - </div> + <div class="table-responsive"> + <span class="badge badge-info"> + {{lesson_form.video_file.help_text}} + </span> + </div> + <div class="col-md-4"> + {{lesson_form.video_file}} </div> <br> Lesson Files: @@ -118,37 +138,103 @@ </center> {% endif %} <center> - <button class="btn btn-success btn-lg" type="submit" id="submit" name="Save"> + <button class="btn btn-success btn-lg" type="submit" id="submit-lesson" name="Save"> <i class="fa fa-save"></i> Save </button> {% if lesson_files %} - <button class="btn btn-danger btn-lg" type="submit" id="submit" name="Delete"> <i class="fa fa-trash"></i> Delete Files + <button class="btn btn-danger btn-lg" type="submit" name="Delete"> + <i class="fa fa-trash"></i> Delete Files </button> {% endif %} - <button class="btn btn-outline-primary btn-lg" type="button" name="button" id="preview"> - <i class="fa fa-eye"></i> - Preview Description - </button> - <button class="btn btn-outline-primary btn-lg" type="button" name="button" id="embed"> - <i class="fa fa-angle-left"></i> <i class="fa fa-angle-right"></i> - Embed Video link - </button> </center> - </form> - <hr> - <div class="card" id="preview_text_div" style="display: none;"> - <div class="card-heading"> - <center> - <h3>Description Preview</h3> - </center> - </div> - <div class="card-body" id="description_body"> - </div> - </div> </fieldset> </form> </div> + <br><br> + <div class="col-md-6"> + <br> + <div class="card"> + <div class="card-header"> + <a class="card-link" data-toggle="collapse" href="#toc-collapse"> + Table Of Contents <i class="fa fa-angle-down"></i> + </a> + </div> + <div class="collapse show" id="toc-collapse"> + <div class="card-body" id="toc" style="max-height: 400px; overflow-y: auto;">{{toc}}</div> + </div> + </div> + <br> + <div class="card" id="preview_text_div"> + <div class="card-header"> + Create lesson table of contents + </div> + <div class="card-body"> + {% if lesson_form.instance and lesson_form.instance.video_path %} + {% with lesson_form.instance.video_path|video_name as video %} + {% if video.1 == "others" %} + <video id="player" playsinline controls> + <source src="{{video.0}}" /> + </video> + {% else %} + <div id="player" data-plyr-provider="{{video.1}}" data-plyr-embed-id="{{video.0}}"></div> + {% endif %} + <br> + <form action="{% url 'yaksh:add_marker' course_id lesson_form.instance.id %}" method="POST" id="marker-form" name="marker-form"> + {% csrf_token %} + <div class="row"> + <div class="col-md-3"> + <input type="text" id="vtimer" class="form-control" name="video_time" value="00:00:00" required=""> + </div> + <div class="col-md-4"> + <select name="content" class="custom-select" required="" id="content-type"> + <option value="">Select Marker</option> + <option value="1">Topic</option> + <option value="2">Graded Quiz</option> + <option value="3">Exercise</option> + <option value="4">Poll</option> + </select> + </div> + <div class="col-md-5"> + <select name="type" class="custom-select" id="id_type" style="display: none;"> + <option value="" selected="">Select question type</option> + + <option value="mcq">Single Correct Choice</option> + + <option value="mcc">Multiple Correct Choices</option> + + <option value="integer">Answer in Integer</option> + + <option value="string">Answer in String</option> + + <option value="float">Answer in Float</option> + </select> + </div> + <br><br> + <div class="col-md-4"> + <button type="submit" class="btn btn-success" id="add-marker"> + <i class="fa fa-plus-circle"> </i>Add + </button> + </div> + </div> + {% endwith %} + {% else %} + <div class="table-responsive"> + <div class="badge badge-info"> + <strong> + Add a Video Path or Upload a video file to setup lesson contents + </strong> + </div> + </div> + {% endif %} + </div> + </div> + <br> + <div class="card"> + <div class="card-header">Add/Edit Content</div> + <div class="card-body" id="lesson-content"></div> + </div> + </div> </div> </div> -{% endblock %}
\ No newline at end of file +{% endblock %} diff --git a/yaksh/templates/yaksh/add_module.html b/yaksh/templates/yaksh/add_module.html index 262c009..9df194a 100644 --- a/yaksh/templates/yaksh/add_module.html +++ b/yaksh/templates/yaksh/add_module.html @@ -1,6 +1,8 @@ {% extends "manage.html" %} {% load static %} -{% block title %}Create/Edit Learning Module{% endblock %} +{% block title %} + Create/Edit Learning Module +{% endblock %} {% block script %} <script type="text/javascript" src="{% static 'yaksh/js/jquery-3.3.1.min.js' %}"> @@ -19,17 +21,7 @@ {% endblock %} {% block content %} -<div class="container"> -{% if messages %} - {% for message in messages %} - <div class="alert alert-dismissible alert-{{ message.tags }}"> - <button type="button" class="close" data-dismiss="alert"> - <i class="fa fa-close"></i> - </button> - <strong>{{ message }}</strong> - </div> - {% endfor %} -{% endif %} +<div class="container-fluid"> {% if course_id %} <a class="btn btn-primary" href="{% url 'yaksh:get_course_modules' course_id %}"> <i class="fa fa-arrow-left"></i> @@ -43,10 +35,23 @@ {% endif %} </div> <br> -{% if status == "add" %} <div class="container"> +{% if messages %} + {% for message in messages %} + <div class="alert alert-dismissible alert-{{ message.tags }}"> + <button type="button" class="close" data-dismiss="alert"> + <i class="fa fa-close"></i> + </button> + <strong>{{ message }}</strong> + </div> + {% endfor %} +{% endif %} +</div> +<br> +{% if status == "add" %} +<div class="container-fluid"> <div class="row justify-content-center form-group"> - <div class="col-md-9 col-md-offset-4"> + <div class="col-md-5 col-md-offset-4"> <form name=frm id=frm action="" method="post"> <fieldset> {% csrf_token %} @@ -57,7 +62,7 @@ <button type="button" class="close" data-dismiss="alert"> <i class="fa fa-close"></i> </button> - <strong>{{ error|escape }}</strong> + <strong>{{field.label}} : {{ error|escape }}</strong> </div> {% endfor %} {% endfor %} @@ -66,44 +71,39 @@ <button type="button" class="close" data-dismiss="alert"> <i class="fa fa-close"></i> </button> - <strong>{{ error|escape }}</strong> + <strong>{{field.label}} : {{ error|escape }}</strong> </div> {% endfor %} {% endif %} {{module_form.name}} <br> - {{module_form.description}} - <br> Active: {{module_form.active}} <br> + <br> + {{module_form.description}} + <br> <center> <button class="btn btn-success btn-lg" type="submit" id="submit" name="Save"> <i class="fa fa-save"></i> Save </button> - <button class="btn btn-outline-primary btn-lg" type="button" name="button" id="preview"> - <i class="fa fa-eye"></i> - Preview Description - </button> - <button class="btn btn-outline-primary btn-lg" type="button" name="button" id="embed"> - <i class="fa fa-angle-left"></i> <i class="fa fa-angle-right"></i> - Embed Video link - </button> </center> </form> <hr> - <div class="card" id="preview_text_div" style="display: none;"> - <div class="card-heading"> - <center> - <h3>Description Preview</h3> - </center> - </div> - <div class="card-body" id="description_body"> - </div> - </div> </fieldset> </form> </div> + <div class="col-md-5"> + <div class="card" id="preview_text_div"> + <div class="card-header"> + <center> + <h3>Description Preview</h3> + </center> + </div> + <div class="card-body" id="description_body"> + </div> + </div> + </div> </div> </div> {% endif %} diff --git a/yaksh/templates/yaksh/add_question.html b/yaksh/templates/yaksh/add_question.html index 07e8c74..ba780b1 100644 --- a/yaksh/templates/yaksh/add_question.html +++ b/yaksh/templates/yaksh/add_question.html @@ -64,13 +64,11 @@ <tr> <td> File: </td> <td> - <div class="input-group mb-3"> - <div class="custom-file"> - {{ fileform.file_field }}{{ fileform.file_field.errors }} - <label class="custom-file-label" for="id_file_field"> - Choose file - </label> - </div> + <div class="custom-file"> + {{ fileform.file_field }}{{ fileform.file_field.errors }} + <label class="custom-file-label" for="id_file_field"> + Choose file + </label> </div> </td> </tr> @@ -136,15 +134,15 @@ <div id="accordion"> {% for form in formset %} <div class="card"> - <div class="card-header"> + <div class="card-header bg-success"> <div class="row"> <div class="col-md-4"> - <span class="badge badge-info"> + <span class="badge badge-success"> Test case {{forloop.counter}}. </span> </div> <div class="ml-auto"> - <a class="card-link" data-toggle="collapse" href="#collapse{{form.instance.id}}"> + <a class="card-link text-white" data-toggle="collapse" href="#collapse{{form.instance.id}}"> Details <i class="fa fa-angle-down"></i></i> </a> </div> diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html index 55e3bd6..1609639 100644 --- a/yaksh/templates/yaksh/add_quiz.html +++ b/yaksh/templates/yaksh/add_quiz.html @@ -12,6 +12,7 @@ {% block script %} <script src="{% static 'yaksh/js/jquery-3.3.1.min.js' %}"></script> +<script type="text/javascript" src="{% static 'yaksh/js/tinymce/js/tinymce/tinymce.min.js' %}"></script> <script src="{% static 'yaksh/js/add_quiz.js' %}"></script> <script src="{% static 'yaksh/js/jquery.datetimepicker.full.min.js' %}"></script> <script type="text/javascript"> @@ -55,7 +56,7 @@ {% if quiz and course_id %} {% if quiz.questionpaper_set.get.id %} <center> - <a href="{% url 'yaksh:designquestionpaper' quiz.id quiz.questionpaper_set.get.id course_id %}" class="btn btn-primary"> + <a href="{% url 'yaksh:designquestionpaper' course_id quiz.id quiz.questionpaper_set.get.id %}" class="btn btn-primary"> <i class="fa fa-edit"></i> Edit Question Paper </a> <a href="{% url 'yaksh:preview_questionpaper' quiz.questionpaper_set.get.id %}" class="btn btn-info" target="_blank"> @@ -65,11 +66,11 @@ <br> <h4>You can check the quiz by attempting it in the following modes:</h4> <a class="btn btn-outline-info" name="button" href="{% url 'yaksh:test_quiz' 'usermode' quiz.id course_id %}" target="blank"> - User Mode + Try as student </a> - <a class="btn btn-outline-info" name="button" href="{% url 'yaksh:test_quiz' 'godmode' quiz.id course_id %}" target="blank"> - God Mode + <a class="btn btn-outline-primary" name="button" href="{% url 'yaksh:test_quiz' 'godmode' quiz.id course_id %}" target="blank"> + Try as teacher </a> <a data-toggle="modal" data-target="#help"> <span class="text-info"><i class="fa fa-info-circle"></i> Help</span></a> @@ -87,15 +88,13 @@ </button> </div> <div class="modal-body"> - <p> - <b>User Mode:</b> Attempt quiz the way normal users will attempt i.e. - + <b>Try as student:</b> Attempt quiz the way students will attempt i.e. - <ul class="list-group list-group-flush"> <li class="list-group-item">Quiz will have the same duration as that of the original quiz.</li> <li class="list-group-item">Quiz won't start if the course is inactive or the quiz time has expired.</li> <li class="list-group-item">You will be notified about quiz prerequisites.(You can still attempt the quiz though)</li> </ul> - <b>God Mode:</b> Attempt quiz without any time or eligibilty constraints. - </p> + <b>Try as teacher:</b> Attempt quiz without any time or eligibilty constraints. </div> </div> </div> diff --git a/yaksh/templates/yaksh/add_topic.html b/yaksh/templates/yaksh/add_topic.html new file mode 100644 index 0000000..52923e7 --- /dev/null +++ b/yaksh/templates/yaksh/add_topic.html @@ -0,0 +1,12 @@ +{% if topic_id %} +<form class="form-group" method="POST" action="{% url 'yaksh:edit_topic' content_type course_id lesson_id toc_id topic_id %}" id="topic-form"> +{% else %} +<form class="form-group" method="POST" action="{% url 'yaksh:add_topic' content_type course_id lesson_id %}" id="topic-form"> +{% endif %} + {% csrf_token %} + {{ form.as_p }} + <br> + <button type="submit" class="btn btn-success"> + <i class="fa fa-save"></i> Save + </button> +</form> diff --git a/yaksh/templates/yaksh/add_video_quiz.html b/yaksh/templates/yaksh/add_video_quiz.html new file mode 100644 index 0000000..b8a788e --- /dev/null +++ b/yaksh/templates/yaksh/add_video_quiz.html @@ -0,0 +1,94 @@ +{% load static %} +<script type="text/javascript" src="{% static 'yaksh/js/tinymce/js/tinymce/tinymce.min.js' %}"></script> +<script type="text/javascript" src="{% static 'yaksh/js/mathjax/MathJax.js' %}?config=TeX-MML-AM_CHTML"> +</script> +{% if question_id %} +<form class="form-group" method="POST" action="{% url 'yaksh:edit_marker_quiz' content_type course_id lesson_id toc_id question_id %}" id="question-form"> +{% else %} +<form class="form-group" method="POST" action="{% url 'yaksh:add_marker_quiz' content_type course_id lesson_id %}" id="question-form"> +{% endif %} + {% csrf_token %} + <table class="table table-responsive-sm"> + {% for field in form %} + <tr> + <td>{{ field.label }}</td> + <td>{{ field }} <small>{{ field.help_text }}</small></td> + </tr> + {% endfor %} + </table> + {{ formset.management_form }} + <br> + <button type="button" id="add_more" class="btn btn-primary"> + <i class="fa fa-plus-circle"></i> Add More + </button> + <br><br> + <div id="form_set"> + {% for form in formset.forms %} + {{form.non_field_errors}} + {{form.errors}} + <table class='no_error'> + {{ form }} + </table> + <hr> + {% endfor %} + </div> + <div id="empty_form" style="display:none"> + <table class='no_error'> + {{ formset.empty_form }} + </table> + <hr> + </div> + <button type="submit" class="btn btn-success"> + <i class="fa fa-save"></i> Save + </button> +</form> +<script type="text/javascript"> + $(document).ready(function() { + var tc_type = "#id_"+"{{tc_class}}"+"_set-TOTAL_FORMS"; + $('#add_more').click(function() { + var form_idx = $(tc_type).val(); + $('#form_set').append($('#empty_form').html().replace(/__prefix__/g, form_idx)); + $(tc_type).val(parseInt(form_idx) + 1); + var form_type = "#id_"+'{{tc_class}}'+"_set-"+form_idx+"-type"; + $(form_type).val($("#id_"+'{{tc_class}}'+"_set-0-type").val()); + }); + $("#question-form").each(function() { + $(this).find('textarea').addClass("form-control"); + $(this).find('input[type=number]').addClass("form-control"); + }); + let option = $('#id_language').val(); + if(option === 'other') { + $('#id_topic').closest('tr').show(); + $('#id_topic').prop("required", true); + } else { + $('#id_topic').closest('tr').hide(); + $('#id_topic').prop("required", false); + } + $('#id_language').on('change', function() { + let lang_value = $(this).val(); + if (lang_value === "other") { + $('#id_topic').closest('tr').show(); + $('#id_topic').prop("required", true); + $('#id_type').children("option[value='code']").hide(); + } else { + $('#id_topic').closest('tr').hide(); + $('#id_topic').prop("required", false); + $('#id_type').children("option[value='code']").show(); + } + }); + $(function() { + tinymce.init({ + selector: 'textarea#que_description', + setup : function(ed) { + ed.on('change', function(e) { + tinymce.triggerSave(); + }); + }, + max_height: 400, + height: 400, + plugins: "image code link", + convert_urls: false + }); + }); + }); +</script>
\ No newline at end of file diff --git a/yaksh/templates/yaksh/addteacher.html b/yaksh/templates/yaksh/addteacher.html index 58f48d9..7f59de6 100644 --- a/yaksh/templates/yaksh/addteacher.html +++ b/yaksh/templates/yaksh/addteacher.html @@ -2,15 +2,14 @@ <center><h3>Add Teachers/TAs</h3><br></center> <form action="{% url 'yaksh:search_teacher' course.id %}" method="post"> {% csrf_token %} - <div class="form-group"> + <div class="input-group"> <input class="form-control form-control-lg" type="text" name="uname" id="inputLarge" placeholder="Search teachers with username, firstname, lastname, email" required> + <div class="input-group-append"> + <button class="btn btn-info btn-lg" type="submit"> + <i class="fa fa-search"></i> Search + </button> + </div> </div> - <center> - <button class="btn btn-info btn-lg" type="submit"> - <i class="fa fa-search"></i> - Search - </button> - </center> </form> <br><br> @@ -27,18 +26,29 @@ <br> <form action="{% url 'yaksh:add_teacher' course.id %}" method="post"> {% csrf_token %} - <table class="table table-striped table-responsive-sm course-detail"> - <th></th> - <th>Username</th> - <th>First Name</th> - <th>Last Name</th> - <th>Email</th> - <th>Institute</th> - <th>Department</th> - <th>Position</th> + <div class="card"> + {% if teachers|length > 10 %} + <div class="table-responsive" style="height: 700px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table class="table table-responsive-sm table-dark course-detail"> + <thead class="thead-dark"> + <tr> + <th></th> + <th>Username</th> + <th>First Name</th> + <th>Last Name</th> + <th>Email</th> + <th>Institute</th> + <th>Department</th> + <th>Position</th> + </tr> + </thead> + <tbody class="list"> {% for teacher in teachers %} {% if teacher not in course.get_teachers %} - <tr class="yakshgreen"> + <tr> <td><input type="checkbox" name="check" value="{{ teacher.id }}"></td> <td>{{ teacher.username }}</td> <td>{{ teacher.first_name }}</td> @@ -50,7 +60,10 @@ </tr> {% endif %} {% endfor %} + </tbody> </table> + </div> + </div> </br> <button class="btn btn-success btn-lg" type="submit"> <i class="fa fa-plus-circle"></i> diff --git a/yaksh/templates/yaksh/complete.html b/yaksh/templates/yaksh/complete.html index 2b3897e..4d921e1 100644 --- a/yaksh/templates/yaksh/complete.html +++ b/yaksh/templates/yaksh/complete.html @@ -25,28 +25,27 @@ <center> <div class="col-md-8"> <h3>Submission Status</h3> - <table class="table table-bordered table-responsive-sm" > - <thead> - <tr class="text-center"> + <table class="table table-dark table-responsive-sm" > + <thead class="thead-dark"> + <tr> <th> Question</th> <th> Status </th> </tr> </thead> - + <tbody class="list"> {% for question in paper.questions.all %} - <tbody> - {% if question in paper.questions_answered.all %} - <tr class="table-success"> - <td> {{ question.summary }} </td> - <td> Attempted </td> - {% else %} - <tr class="table-warning"> - <td> {{ question }} </td> - <td> Not completed </td> - {% endif %} - </tr> - </tbody> + {% if question in paper.questions_answered.all %} + <tr> + <td> {{ question.summary }} </td> + <td> <span class="badge badge-success">Attempted</span> </td> + {% else %} + <tr> + <td> {{ question }} </td> + <td> <span class="badge badge-warning">Not Attempted</span> </td> + {% endif %} + </tr> {% endfor %} + </tbody> </table> </div> </center> diff --git a/yaksh/templates/yaksh/course_added_modules.html b/yaksh/templates/yaksh/course_added_modules.html index 2d194b9..9119180 100644 --- a/yaksh/templates/yaksh/course_added_modules.html +++ b/yaksh/templates/yaksh/course_added_modules.html @@ -1,3 +1,4 @@ +{% load custom_filters %} {% if is_modules %} {% block pagetitle %} <center> <h3>Course Modules</h3> </center> {% endblock %} <a href="{% url 'yaksh:add_module' course.id %}" class="btn btn-primary btn-lg"> @@ -45,11 +46,17 @@ <br> {% with module.get_learning_units as units %} {% if units %} + {% if units|length > 5 %} + <div class="table-responsive" style="height: 400px"> + {% else %} + <div class="table-responsive"> + {% endif %} <p><b><u>Lessons/Quizzes/Exercise</u></b><p> <table class="table table-responsive-sm"> {% for unit in units %} <tr> - <td> + <td>{{forloop.counter}}</td> + <td width="25%"> {% if unit.type == "quiz" %} {% if unit.quiz.is_exercise %} <a href="{% url 'yaksh:edit_exercise' course.id module.id unit.quiz.id %}"> @@ -69,12 +76,12 @@ {% if quiz.questionpaper_set.get.id %} <a href="{% url 'yaksh:designquestionpaper' course.id quiz.id quiz.questionpaper_set.get.id %}" class="btn btn-primary"> <i class="fa fa-edit"></i> - Edit Question Paper + Question Paper </a> {% else %} <a href="{% url 'yaksh:designquestionpaper' course.id quiz.id %}" class="btn btn-success"> <i class="fa fa-plus-circle"></i> - Add Question Paper + Question Paper </a> {% endif %} {% endwith %} @@ -93,9 +100,48 @@ Lesson {% endif %} </td> + <td> + {% if unit.type == "quiz" %} + ---- + {% else %} + {% get_lesson_views course.id unit.lesson.id as views %} + {{views.0}} completed out of {{views.1}} + {% endif %} + </td> + <td> + {% if unit.type == "quiz" %} + {% if unit.quiz.questionpaper_set.get.id %} + <a href="{% url 'yaksh:show_statistics' unit.quiz.questionpaper_set.get.id course.id %}" class="btn btn-outline-primary"> + <i class="fa fa-line-chart"></i> + Statistics + </a> + {% else %} + ---- + {% endif %} + {% else %} + <div class="btn-group" role="group" aria-label="Button group with nested dropdown"> + <button type="button" class="btn btn-outline-primary"> + <i class="fa fa-line-chart"></i> + Statistics + </button> + <div class="btn-group" role="group"> + <button id="btnGroupDrop1" type="button" class="btn btn-outline-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button> + <div class="dropdown-menu" aria-labelledby="btnGroupDrop1" style=""> + <a class="dropdown-item" href="{% url 'stats:view_lesson_watch_stats' course.id unit.lesson.id %}"> + Video Views + </a> + <a class="dropdown-item" href="{% url 'yaksh:lesson_statistics' course.id unit.lesson.id %}"> + Quiz Submissions + </a> + </div> + </div> + </div> + {% endif %} + </td> </tr> {% endfor %} </table> + </div> {% else %} <center> <span class="badge badge-warning"> diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html index 654f373..9f75a68 100644 --- a/yaksh/templates/yaksh/course_detail.html +++ b/yaksh/templates/yaksh/course_detail.html @@ -24,69 +24,68 @@ <p id="error_msg"></p> </div> <div class="container-fluid"> - <div class="row"> - <div class="col-sm-3"> - {% include "yaksh/course_detail_options.html" %} - </div> - <div class="col-md-9"> - <div class="tab-content"> - {% if messages %} - {% for message in messages %} - <div class="alert alert-dismissible alert-{{ message.tags }}"> - <button type="button" class="close" data-dismiss="alert"> - <i class="fa fa-close"></i> - </button> - <strong>{{ message }}</strong> - </div> - {% endfor %} - {% endif %} - {% if is_students %} - {% include "yaksh/course_students.html" %} - {% elif is_mail %} - {% include "yaksh/course_send_mail.html" %} - {% elif is_progress %} - {% include "yaksh/course_progress.html" %} - {% elif is_modules %} - {% include "yaksh/course_added_modules.html" %} - {% elif is_design_course %} - {% include "yaksh/design_course_session.html" %} - {% elif is_add_teacher %} - {% include "yaksh/addteacher.html" %} - {% elif is_teachers %} - {% include "yaksh/course_teachers.html" %} - {% else %} - <div class="jumbotron"> - <h1 class="display-4">Manage Course</h1> - <hr class="my-4"> - <p> - <ul> - <li> - Students enrollments - </li> - <li> - Add and View Modules, Lessons and Quizzes - </li> - <li> - Send mail to the students - </li> - <li> - View Students course progress - </li> - <li> - Add and View Teachers/TAs - </li> - </ul> - </p> - <p class="lead"> - <a class="btn btn-primary btn-lg" href="https://yaksh.readthedocs.io/en/latest/moderator_docs/creating_course.html" role="button" target="blank"> - <i class="fa fa-info-circle"></i> - Learn more - </a> - </p> - </div> - {% endif %} + <div class="justify-content-center"> + {% include "yaksh/course_detail_options.html" %} + </div> +</div> +<br><br> +<div class="container"> + <div class="tab-content"> + {% if messages %} + {% for message in messages %} + <div class="alert alert-dismissible alert-{{ message.tags }}"> + <button type="button" class="close" data-dismiss="alert"> + <i class="fa fa-close"></i> + </button> + <strong>{{ message }}</strong> + </div> + {% endfor %} + {% endif %} + {% if is_students %} + {% include "yaksh/course_students.html" %} + {% elif is_mail %} + {% include "yaksh/course_send_mail.html" %} + {% elif is_progress %} + {% include "yaksh/course_progress.html" %} + {% elif is_modules %} + {% include "yaksh/course_added_modules.html" %} + {% elif is_design_course %} + {% include "yaksh/design_course_session.html" %} + {% elif is_add_teacher %} + {% include "yaksh/addteacher.html" %} + {% elif is_teachers %} + {% include "yaksh/course_teachers.html" %} + {% else %} + <div class="jumbotron"> + <h1 class="display-4">Manage Course</h1> + <hr class="my-4"> + <p> + <ul> + <li> + Students enrollments + </li> + <li> + Add and View Modules, Lessons and Quizzes + </li> + <li> + Send mail to the students + </li> + <li> + View Students course progress + </li> + <li> + Add and View Teachers/TAs + </li> + </ul> + </p> + <p class="lead"> + <a class="btn btn-primary btn-lg" href="https://yaksh.readthedocs.io/en/latest/moderator_docs/creating_course.html" role="button" target="blank"> + <i class="fa fa-info-circle"></i> + Learn more + </a> + </p> </div> - </div> + {% endif %} </div> </div> {% endblock %} diff --git a/yaksh/templates/yaksh/course_detail_options.html b/yaksh/templates/yaksh/course_detail_options.html index 4dd4dda..84f78ce 100644 --- a/yaksh/templates/yaksh/course_detail_options.html +++ b/yaksh/templates/yaksh/course_detail_options.html @@ -1,46 +1,45 @@ -<ul class="nav nav-pills list-group"> +<a href="{% url 'yaksh:courses' %}" class="btn btn-primary" title="View all the courses" data-placement="top" data-toggle="tooltip"> + <i class="fa fa-arrow-left"></i> Back +</a> +<br><br> +<ul class="nav nav-pills nav-fill flex-column flex-sm-row" role="tablist"> <li class="nav-item"> - <a href="{% url 'yaksh:courses' %}" class="nav-link list-group-item" title="View all the courses" data-placement="top" data-toggle="tooltip"> - Back to Courses + <a href="{% url 'yaksh:course_students' course.id %}" id="enroll-students" class="nav-link {% if is_students %} active {% endif %}" title="View the course requested, rejected and enrolled students" data-placement="top" data-toggle="tooltip"> + Enrollments </a> </li> <li class="nav-item"> - <a href="{% url 'yaksh:course_students' course.id %}" id="enroll-students" class="nav-link list-group-item {% if is_students %} active {% endif %}" title="View the course requested, rejected and enrolled students" data-placement="top" data-toggle="tooltip"> - Enroll Students - </a> - </li> - <li class="nav-item"> - <a class="nav-link list-group-item {% if is_modules %} active {% endif %}" href="{% url 'yaksh:get_course_modules' course.id %}" title="View modules added to the course" data-placement="top" data-toggle="tooltip"> + <a class="nav-link {% if is_modules %} active {% endif %}" href="{% url 'yaksh:get_course_modules' course.id %}" title="View modules added to the course" data-placement="top" data-toggle="tooltip"> Course Modules </a> </li> <li class="nav-item"> - <a class="nav-link list-group-item {% if is_design_course %} active {% endif %}" href="{% url 'yaksh:design_course' course.id %}" title="Additional course settings" data-placement="top" data-toggle="tooltip"> + <a class="nav-link {% if is_design_course %} active {% endif %}" href="{% url 'yaksh:design_course' course.id %}" title="Additional course settings" data-placement="top" data-toggle="tooltip"> Design Course </a> </li> <li class="nav-item"> - <a href="{% url 'yaksh:course_status' course.id %}" class="nav-link list-group-item {% if is_progress %} active {% endif %}" title="View Students course progress" data-placement="top" data-toggle="tooltip"> + <a href="{% url 'yaksh:course_status' course.id %}" class="nav-link {% if is_progress %} active {% endif %}" title="View Students course progress" data-placement="top" data-toggle="tooltip"> Course Progress </a> </li> <li class="nav-item"> - <a href="{% url 'yaksh:send_mail' course.id %}" class="nav-link list-group-item {% if is_mail %} active {% endif %}" title="Send mail to course students" data-placement="top" data-toggle="tooltip"> + <a href="{% url 'yaksh:send_mail' course.id %}" class="nav-link {% if is_mail %} active {% endif %}" title="Send mail to course students" data-placement="top" data-toggle="tooltip"> Send Mail </a> </li> <li class="nav-item"> - <a href="{% url 'yaksh:course_forum' course.id %}" class="nav-link list-group-item" title="Discussion forum of this course" data-placement="top" data-toggle="tooltip"> + <a href="{% url 'yaksh:course_forum' course.id %}" class="nav-link" title="Discussion forum of this course" data-placement="top" data-toggle="tooltip"> Discussion Forum </a> </li> <li class="nav-item"> - <a class="nav-link list-group-item {% if is_add_teacher %} active {% endif %}" href="{% url 'yaksh:search_teacher' course.id %}" data-toggle="tooltip" title="Add Teachers/TAs to this course" data-placement="top"> + <a class="nav-link {% if is_add_teacher %} active {% endif %}" href="{% url 'yaksh:search_teacher' course.id %}" data-toggle="tooltip" title="Add Teachers/TAs to this course" data-placement="top"> Add Teachers/TAs </a> </li> <li class="nav-item"> - <a class="nav-link list-group-item {% if is_teachers %} active {% endif %}" href="{% url 'yaksh:course_teachers' course.id %}" data-toggle="tooltip" title="View all the Teachers/TAs for this course" data-placement="top"> + <a class="nav-link {% if is_teachers %} active {% endif %}" href="{% url 'yaksh:course_teachers' course.id %}" data-toggle="tooltip" title="View all the Teachers/TAs for this course" data-placement="top"> Current Teachers/TAs </a> </li> diff --git a/yaksh/templates/yaksh/course_forum.html b/yaksh/templates/yaksh/course_forum.html index 4724981..86195dd 100644 --- a/yaksh/templates/yaksh/course_forum.html +++ b/yaksh/templates/yaksh/course_forum.html @@ -4,132 +4,178 @@ {{course.name}}: Discussion Forum {% endblock title %} {% block content %} - <div class="container"> - <div> - <h2><center>{{course.name}}</center></h2> - <center>Discussion Forum</center> - </div> - <div class="d-flex p-2 bd-highlight"> - <div class="col-md-4"> - {% if moderator %} - <a href="{% url 'yaksh:course_detail' course.id %}" class="btn btn-primary"> - <i class="fa fa-arrow-left"></i> Back - </a> - {% else %} - <a href="{% url 'yaksh:course_modules' course.id %}" class="btn btn-primary"> - <i class="fa fa-arrow-left"></i> Back - </a> - {% endif %} + <div id="wrapper" class="d-flex"> + <div class="container" id="page-content-wrapper"> + <div> + <h2><center>{{course.name}}</center></h2> + <center>Discussion Forum</center> </div> - <div class="col-md"> - <button type="button" class="btn btn-success pull-right" data-toggle="modal" data-target="#newPostModal"> - <i class="fa fa-plus-circle"></i> New Post - </button> + <div class="d-flex p-2 bd-highlight"> + <div class="col-md-4"> + {% if moderator %} + <a href="{% url 'yaksh:course_detail' course.id %}" class="btn btn-primary"> + <i class="fa fa-arrow-left"></i> Back + </a> + {% else %} + <a href="{% url 'yaksh:course_modules' course.id %}" class="btn btn-primary"> + <i class="fa fa-arrow-left"></i> Back + </a> + {% endif %} + </div> + <div class="col-md"> + <button type="button" class="btn btn-success pull-right" data-toggle="modal" data-target="#newPostModal"> + <i class="fa fa-plus-circle"></i> New Post + </button> + </div> </div> - </div> - <!-- Modal --> - <div id="newPostModal" class="modal fade" role="dialog"> - <div class="modal-dialog"> + {% if messages %} + <div> + <center> + {% for message in messages %} + <div class="alert alert-dismissible alert-{{ message.tags }}"> + <button type="button" class="close" data-dismiss="alert"> + <i class="fa fa-close"></i> + </button> + <strong>{{ message }}</strong> + </div> + {% endfor %} + </center> + </div> + {% endif %} + <!-- Modal --> + <div id="newPostModal" class="modal fade" role="dialog"> + <div class="modal-dialog"> - <!-- Modal content--> - <div class="modal-content"> - <div class="modal-header"> - <h4 class="modal-title">Create a new Post</h4> - <button type="button" class="close" data-dismiss="modal">×</button> + <!-- Modal content--> + <div class="modal-content"> + <div class="modal-header"> + <h4 class="modal-title">Create a new Post</h4> + <button type="button" class="close" data-dismiss="modal">×</button> + </div> + <div class="modal-body"> + <form action="." method="POST" enctype='multipart/form-data'> + <div class="form-group"> + {% csrf_token %} + {{form}} + </div> + <input type="submit" class="btn btn-primary" value="Create Post"> + </form> + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + </div> + </div> </div> - <div class="modal-body"> - <form action="." method="POST" enctype='multipart/form-data'> - <div class="form-group"> - {% csrf_token %} - {{form}} - </div> - <input type="submit" class="btn btn-primary" value="Create Post"> - </form> - </div> - <div class="modal-footer"> - <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> - </div> - </div> - - </div> - </div> - <br> - <div class="row justify-content-center"> - <div class="col-md-6"> - <form class="my-2 my-lg-0" action="" method="GET"> - <div class="input-group"> - <input type="search" placeholder="Search Post" name="search_post" class="form-control"> - <span class="input-group-append"> - <button class="btn btn-outline-info"> - <i class="fa fa-search"></i> Search - </button> - </span> - </div> - </form> - </div> - <div class="col-md-4"> - <a class="btn btn-outline-danger" href="{% url 'yaksh:course_forum' course.id %}"> - <i class="fa fa-times"></i> Clear Search - </a> </div> - </div> - <br> - {% with objects as posts %} - {% if posts %} - {% include "yaksh/paginator.html" %} <br> - <table id="posts_table" class="tablesorter table"> - <thead class="thread-inverse"> - <tr> - <th width="700">Posts</th> - <th>Created by</th> - <th>Replies</th> - <th>Last reply</th> - <th></th> - </tr> - </thead> - <tbody> - {% for post in posts %} - <tr> - <td> - <a href="{% url 'yaksh:post_comments' course.id post.uid %}">{{post.title}}</a> - <small class="text-muted d-block">{{ post.description|truncatewords:30 }}</small> - <small class="text-muted"><strong>Last updated: {{post.modified_at}}</strong></small> - </td> - <td>{{post.creator.username}}</td> - <td>{{post.get_comments_count}}</td> - <td> - {% with post.get_last_comment as last_comment %} - {% if last_comment %} - {{last_comment.creator}} - {% else %} - None - {% endif %} - {% endwith %} - </td> - <td> - {% if user.profile.is_moderator %} - <small><a href="{% url 'yaksh:hide_post' course.id post.uid %}" class="pull-right btn btn-danger">Delete</i></a></small> - {% endif %} - </td> - </tr> - {% endfor %} - </tbody> - </table> + {% include "yaksh/sidebar.html" %} <br> - {% include "yaksh/paginator.html" %} - {% else %} - No discussion posts are there yet. Create one to start discussing. - {% endif %} - {% endwith %} + {% with objects as posts %} + {% if posts %} + <div class="row justify-content-center"> + <div class="col-md-6"> + <form class="my-2 my-lg-0" action="" method="GET"> + <div class="input-group"> + <input type="search" placeholder="Search Post" name="search_post" class="form-control"> + <span class="input-group-append"> + <button class="btn btn-outline-info"> + <i class="fa fa-search"></i> Search + </button> + </span> + </div> + </form> + </div> + <div class="col-md-4"> + <a class="btn btn-outline-danger" href="{% url 'yaksh:course_forum' course.id %}"> + <i class="fa fa-times"></i> Clear Search + </a> + </div> + </div> + <br> + {% include "yaksh/paginator.html" %} + <br> + <div class="card"> + {% if posts|length > 10 %} + <div class="table-responsive" style="height: 700px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table id="posts_table" class="table table-responsive-sm"> + <thead class="thread-inverse thead-light"> + <tr> + <th width="700">Posts</th> + <th>Created by</th> + <th>Replies</th> + <th>Last reply</th> + <th></th> + </tr> + </thead> + <tbody class="list"> + {% for post in posts %} + <tr> + <td> + <a href="{% url 'yaksh:post_comments' course.id post.uid %}">{{post.title}}</a> + <small class="text-muted d-block">{{ post.description|truncatewords:10 }}</small> + <small class="text-muted"><strong>Last updated: {{post.modified_at}}</strong></small> + </td> + <td> + {% if post.anonymous %} + Anonymous + {% else %} + {{post.creator.username}} + {% endif %} + </td> + <td>{{post.get_comments_count}}</td> + <td> + {% with post.get_last_comment as last_comment %} + {% if last_comment %} + {{last_comment.creator}} + {% else %} + None + {% endif %} + {% endwith %} + </td> + <td> + {% if user == course.creator or user in course.get_teachers %} + <small><a href="{% url 'yaksh:hide_post' course.id post.uid %}" class="pull-right fa fa-trash"></i></a></small> + {% endif %} + </td> + </tr> + {% endfor %} + </tbody> + </table> + </div> + </div> + <br> + {% include "yaksh/paginator.html" %} + {% else %} + <center>No discussion posts are there yet. Create one to start discussing.</center> + {% endif %} + {% endwith %} + </div> </div> {% endblock content %} {% block script %} <script type="text/javascript" src="{% static 'yaksh/js/mathjax/MathJax.js' %}?config=TeX-MML-AM_CHTML"></script> <script type="text/javascript" src="{% static 'yaksh/js/jquery.tablesorter.min.js' %}"></script> + <script type="text/javascript" src="{% static 'yaksh/js/tinymce/js/tinymce/tinymce.min.js' %}"></script> <script type="text/javascript"> $(document).ready(() => { $("#posts_table").tablesorter(); + $(function() { + tinymce.init({ + selector: 'textarea#id_description', + setup : function(ed) { + ed.on('change', function(e) { + tinymce.triggerSave(); + }); + }, + max_height: 400, + height: 400, + plugins: "image code link", + convert_urls: false + }); + }); }); </script> {% endblock script %}
\ No newline at end of file diff --git a/yaksh/templates/yaksh/course_modules.html b/yaksh/templates/yaksh/course_modules.html index b808562..39b9c97 100644 --- a/yaksh/templates/yaksh/course_modules.html +++ b/yaksh/templates/yaksh/course_modules.html @@ -7,7 +7,7 @@ <div class="card"> <div class="card-header"> {{ course.name }} - <a href="{% url "yaksh:course_forum" course.id %}" class="btn btn-info pull-right">Discussion Forum</a> + <a href="{% url 'yaksh:course_forum' course.id %}" class="btn btn-info pull-right">Discussion Forum</a> </div> <div class="card-body"> {% if course.view_grade %} @@ -24,155 +24,173 @@ </div> {% endif %} {% if modules %} - <strong>Overall Course Progress:</strong> - <div class="progress"> - {% if course_percentage %} - {% if course_percentage <= 50 %} - <div class="progress-bar bg-danger" role="progressbar" aria-valuenow="{{course_percentage}}" - aria-valuemin="0" aria-valuemax="100" style="width:{{course_percentage}}%"> - {% elif course_percentage <= 75 %} - <div class="progress-bar bg-warning" role="progressbar" aria-valuenow="{{course_percentage}}" - aria-valuemin="0" aria-valuemax="100" style="width:{{course_percentage}}%"> - {% else %} - <div class="progress-bar bg-success" role="progressbar" aria-valuenow="{{course_percentage}}" - aria-valuemin="0" aria-valuemax="100" style="width:{{course_percentage}}%"> - {% endif %} - <b style="color: white;">{{course_percentage}}% Completed</b> + <div class="progress-wrapper"> + <div class="progress-info"> + <div class="progress-label"> + <span>Course completed</span> + </div> + <div class="progress-percentage"> + <span> + {% if course_percentage %} {{course_percentage}} {% else %} 0 {% endif %}% + </span> </div> - {% else %} - <b style="color: black;">0% Completed</b> - {% endif %} + </div> + <div class="progress"> + {% if course_percentage %} + {% if course_percentage <= 50 %} + <div class="progress-bar bg-danger" role="progressbar" aria-valuenow="{{course_percentage}}" + aria-valuemin="0" aria-valuemax="100" style="width:{{course_percentage}}%"> + </div> + {% elif course_percentage <= 75 %} + <div class="progress-bar bg-warning" role="progressbar" aria-valuenow="{{course_percentage}}" + aria-valuemin="0" aria-valuemax="100" style="width:{{course_percentage}}%"> + </div> + {% else %} + <div class="progress-bar bg-success" role="progressbar" aria-valuenow="{{course_percentage}}" + aria-valuemin="0" aria-valuemax="100" style="width:{{course_percentage}}%"> + </div> + {% endif %} + {% endif %} + </div> </div> {% else %} <div class="alert alert-danger"> <strong>No lectures found</strong> </div> {% endif %} - <br> - {% for module, percent in modules %} - <div class="accordian-{{module.id}}"> - <div class="card"> - <div class="card-header"> - <div class="row"> - <div class="col-md-4"> - {{ module.name|title }} + </div> + </div> + <br> + {% for module, percent in modules %} + <div class="accordian-{{module.id}}"> + <div class="card"> + <div class="card-header"> + <div class="row"> + <div class="col-md-4"> + {{ module.name|title }} + </div> + <div class="col-md-3"> + <a class="card-link btn btn-outline-info" data-toggle="collapse" href="#collapse-{{module.id}}"> + Details <i class="fa fa-toggle-down"></i> + </a> + </div> + <div class="col-md-2"> + <a href="{% url 'yaksh:view_module' module.id course.id %}"> + {% get_module_status user module course as module_status %} + {% if module_status == "completed" %} + <div class="btn btn-info "> + View + </div> + {% elif module_status == "inprogress" %} + <div class="btn btn-primary"> + Continue + </div> + {% else %} + <div class="btn btn-success "> + Start + </div> + {% endif %} + </a> + </div> + <div class="col-md-3"> + <div class="progress-wrapper"> + <div class="progress-info"> + <div class="progress-label"> + <span>Module completed</span> </div> - <div class="col-md-3"> - <a class="card-link btn btn-outline-info" data-toggle="collapse" href="#collapse-{{module.id}}"> - Details <i class="fa fa-toggle-down"></i> - </a> + <div class="progress-percentage"> + <span> + {% if percent %} {{percent}} {% else %} 0 {% endif %}% + </span> </div> - <div class="col-md-2"> - <a href="{% url 'yaksh:view_module' module.id course.id %}"> + </div> + <div class="progress"> + {% if percent %} {% get_module_status user module course as module_status %} {% if module_status == "completed" %} - <div class="btn btn-info "> - View - </div> + <div class="progress-bar bg-success" role="progressbar" aria-valuenow="{{percent}}" + aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"></div> {% elif module_status == "inprogress" %} - <div class="btn btn-primary"> - Continue - </div> - {% else %} - <div class="btn btn-success "> - Start - </div> + <div class="progress-bar bg-warning" role="progressbar" + aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"></div> {% endif %} - </a> - </div> - <div class="col-md-3"> - <div class="progress bg-white"> - {% if percent %} - {% get_module_status user module course as module_status %} - {% if module_status == "completed" %} - <div class="progress-bar bg-success" role="progressbar" aria-valuenow="{{percent}}" - aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"> - {% elif module_status == "inprogress" %} - <div class="progress-bar bg-warning" role="progressbar" - aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"> - {% endif %} - <b style="color: white;">{{percent}}% Completed</b> - </div> - {% else %} - <b style="color: black;">0% Completed</b> - {% endif %} - </div> - </div> + {% endif %} </div> - </div> - <div id="collapse-{{module.id}}" class="collapse hide" data-parent="#accordion-{{module.id}}"> - <div class="card-body"> - <table class="table yakshwell"> - {% for unit in module.get_learning_units %} - <tr> - <td> - {% if unit.type == "quiz" %} - {% if unit.quiz.is_exercise %} - <span class="fa fa-pencil"></span> - {% else %} - <span class="fa fa-puzzle-piece"></span> - {% endif %} - {% else %} - <span class="fa fa-book"></span> - {% endif %} - </td> - <td> - {% if unit.type == "quiz" %} - {{unit.quiz.description}} - {% else %} - {{unit.lesson.name}} - {% endif %} - </td> - <td> - {% if unit.type == "lesson" %} - <a href="{% url 'yaksh:show_lesson' unit.lesson.id module.id course.id %}" class="btn btn-outline-info"> - View - </a> - {% else %} - {% if unit.quiz.questionpaper_set.get %} - <a href="{% url 'yaksh:start_quiz' unit.quiz.questionpaper_set.get.id module.id course.id %}" class="btn btn-outline-info"> - View - </a> - {% endif %} - {% endif %} - </td> - <td> - {% get_unit_status course module unit user as status %} - {% if status == "completed" %} - <span class="badge badge-success">{{status|title}} - </span> - {% elif status == "inprogress" %} - <span class="badge badge-info">{{status|title}} - </span> - {% else %} - <span class="badge badge-warning">{{status|title}} - </span> - {% endif %} - </td> - <td> - {% if unit.type == "quiz" %} - {% if unit.quiz.view_answerpaper %} - <a href="{% url 'yaksh:view_answerpaper' unit.quiz.questionpaper_set.get.id course.id %}" > - <i class="fa fa-eye"></i> Answer paper</a> - {% else %} - <a > - <i class="fa fa-eye-slash" aria-hidden="true"> - </i>Answer paper</a> - {% endif %} - {% else %} - ------ - {% endif %} - </td> - </tr> - {% endfor %} - </table> </div> </div> </div> </div> - <br> - {% endfor %} + <div id="collapse-{{module.id}}" class="collapse hide" data-parent="#accordion-{{module.id}}"> + <div class="card-body"> + <table class="table table-responsive-sm"> + {% for unit in module.get_learning_units %} + <tr> + <td> + {% if unit.type == "quiz" %} + {% if unit.quiz.is_exercise %} + <span class="fa fa-pencil"></span> + {% else %} + <span class="fa fa-puzzle-piece"></span> + {% endif %} + {% else %} + <span class="fa fa-book"></span> + {% endif %} + </td> + <td> + {% if unit.type == "quiz" %} + {{unit.quiz.description}} + {% else %} + {{unit.lesson.name}} + {% endif %} + </td> + <td> + {% if unit.type == "lesson" %} + <a href="{% url 'yaksh:show_lesson' unit.lesson.id module.id course.id %}" class="btn btn-outline-info"> + View + </a> + {% else %} + {% if unit.quiz.questionpaper_set.get %} + <a href="{% url 'yaksh:start_quiz' unit.quiz.questionpaper_set.get.id module.id course.id %}" class="btn btn-outline-info"> + View + </a> + {% endif %} + {% endif %} + </td> + <td> + {% get_unit_status course module unit user as status %} + {% if status == "completed" %} + <span class="badge badge-success">{{status|title}} + </span> + {% elif status == "inprogress" %} + <span class="badge badge-info">{{status|title}} + </span> + {% else %} + <span class="badge badge-warning">{{status|title}} + </span> + {% endif %} + </td> + <td> + {% if unit.type == "quiz" %} + {% if unit.quiz.view_answerpaper %} + <a href="{% url 'yaksh:view_answerpaper' unit.quiz.questionpaper_set.get.id course.id %}" > + <i class="fa fa-eye"></i> Answer paper</a> + {% else %} + <a > + <i class="fa fa-eye-slash" aria-hidden="true"> + </i>Answer paper</a> + {% endif %} + {% else %} + ------ + {% endif %} + </td> + </tr> + {% endfor %} + </table> + </div> + </div> </div> </div> + <br> + {% endfor %} </div> {% endblock %} diff --git a/yaksh/templates/yaksh/course_progress.html b/yaksh/templates/yaksh/course_progress.html index 826f84b..2d3dbf7 100644 --- a/yaksh/templates/yaksh/course_progress.html +++ b/yaksh/templates/yaksh/course_progress.html @@ -18,8 +18,14 @@ </div> <br> {% include "yaksh/paginator.html" %} - <table class="tablesorter table table-bordered table-responsive-sm" id="course_table" data-sortlist="[0,0]"> - <thead> + <div class="card"> + {% if student_details|length > 10 %} + <div class="table-responsive" style="height: 700px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table class="table table-responsive-sm" id="course_table" data-sortlist="[0,0]"> + <thead class="thead-light"> <tr> <th>Sr. No</th> <th>Roll No.</th> @@ -29,7 +35,7 @@ <th>Grade</th> </tr> </thead> - <tbody> + <tbody class="list"> {% for student, grade, percent, unit in student_details %} <tr> <td>{{forloop.counter}}</td> @@ -66,6 +72,8 @@ {% endfor %} </tbody> </table> + </div> + </div> {% include "yaksh/paginator.html" %} {% else %} <center> diff --git a/yaksh/templates/yaksh/course_send_mail.html b/yaksh/templates/yaksh/course_send_mail.html index 57442a6..ce79739 100644 --- a/yaksh/templates/yaksh/course_send_mail.html +++ b/yaksh/templates/yaksh/course_send_mail.html @@ -9,12 +9,10 @@ <textarea name="subject" class="form-control" id="subject" placeholder="Email Subject"></textarea> <br><br> <textarea name="body" id="email_body"></textarea><br> - Attachments: - <div class="input-group mb-3"> - <div class="custom-file"> - <input type="file" class="custom-file-input" name="email_attach" id="upload" multiple=""> - <label class="custom-file-label" for="upload">Choose file</label> - </div> + Attachments: + <div class="custom-file"> + <input type="file" class="custom-file-input" name="email_attach" id="upload" multiple=""> + <label class="custom-file-label" for="upload">Choose file</label> </div> <br> </div> @@ -23,15 +21,21 @@ <input type="checkbox" class="send_check"/> <font size="5">Select all</font> <div id="sender_list"> - <table id="mail_table" class="tablesorter table table-striped table-responsive-sm course-detail" data-sortlist="[1,0]"> - <thead> + <div class="card"> + {% if enrolled|length > 10 %} + <div class="table-responsive" style="height: 700px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table id="mail_table" class="table table-responsive-sm table-dark course-detail" data-sortlist="[1,0]"> + <thead class="thead-dark"> <th></th> <th>Full Name <i class="fa fa-sort"></i></th> <th>Email <i class="fa fa-sort"></i></th> <th>Roll Number <i class="fa fa-sort"></i></th> <th>Institute <i class="fa fa-sort"></i></th> </thead> - <tbody> + <tbody class="list"> {% for enroll in enrolled %} <tr> <td> @@ -48,6 +52,8 @@ {% endfor %} </tbody> </table> + </div> + </div> <button class="btn btn-success btn-lg" type="submit" name='send_mail' value='send_mail' id="send_mail"> Send Mail </button> diff --git a/yaksh/templates/yaksh/course_students.html b/yaksh/templates/yaksh/course_students.html index e8ca800..40ac759 100644 --- a/yaksh/templates/yaksh/course_students.html +++ b/yaksh/templates/yaksh/course_students.html @@ -11,17 +11,16 @@ <div class="card-body"> <form id="upload_users" action="{% url 'yaksh:upload_users' course.id %}" method="POST" enctype="multipart/form-data"> {% csrf_token %} - <div class="input-group mb-3"> - <div class="custom-file"> - <input type="file" class="custom-file-input" name="csv_file" id="upload"/> - <label class="custom-file-label" for="upload">Choose file</label> - </div> - <div class="input-group-append"> - <button class="btn btn-outline-primary" type="submit"> - <i class="fa fa-upload"></i> - Upload - </button> - </div> + <div class="custom-file"> + <input type="file" class="custom-file-input" name="csv_file" id="upload"/> + <label class="custom-file-label" for="upload">Choose file</label> + </div> + <br><br> + <div class="input-group-append"> + <button class="btn btn-outline-primary" type="submit"> + <i class="fa fa-upload"></i> + Upload + </button> </div> </form> <hr> @@ -59,8 +58,14 @@ <div id="enroll-all"> <form action="{% url 'yaksh:enroll_reject_user' course.id %}" method="post"> {% csrf_token %} - <table id="requested_table" class="tablesorter table table-striped table-responsive-sm course-detail" data-sortlist="[1,0]"> - <thead> + <div class="card"> + {% if requested_users|length > 10 %} + <div class="table-responsive" style="height: 700px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table id="requested_table" class="table table-responsive-sm table-dark course-detail" data-sortlist="[1,0]"> + <thead class="thead-dark"> <th></th> <th>Full Name <i class="fa fa-sort"></i></th> <th>Email <i class="fa fa-sort"></i></th> @@ -69,7 +74,7 @@ <th>Department <i class="fa fa-sort"></i></th> <th>Enroll/Reject</th> </thead> - <tbody> + <tbody class="list"> {% for user in requested_users %} <tr> <td> @@ -97,10 +102,14 @@ {% endfor %} </tbody> </table> - <input class="btn btn-success btn-lg" type="submit" name='enroll' value='enroll selected'> - </input> - <input class="btn btn-danger btn-lg" type="submit" name='reject' value='reject selected'> - </input> + </div> + </div> + <button class="btn btn-danger" type="submit" name="reject"> + <i class="fa fa-minus-square"></i> Reject selected + </button> + <button class="btn btn-success" type="submit" name="enroll"> + <i class="fa fa-plus-square"></i> Enroll selected + </button> </form> </div> {% else %} @@ -126,8 +135,14 @@ <div id="reject"> <form action="{% url 'yaksh:reject_enrolled_users' course.id %}" method="post" id="reject-form"> {% csrf_token %} - <table id="enrolled_table" class="tablesorter table table-striped table-responsive-sm course-detail" data-sortlist="[1,0]" style="width: 100%"> - <thead> + <div class="card"> + {% if enrolled_users|length > 10 %} + <div class="table-responsive" style="height: 700px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table id="enrolled_table" class="table table-responsive-sm table-dark" data-sortlist="[1,0]"> + <thead class="thead-dark"> <th></th> <th>Full Name <i class="fa fa-sort"></i></th> <th>Email <i class="fa fa-sort"></i></th> @@ -136,7 +151,7 @@ <th>Department <i class="fa fa-sort"></i></th> <th>Reject</th> </thead> - <tbody> + <tbody class="list"> {% for user in enrolled_users %} <tr> <td> @@ -160,8 +175,11 @@ {% endfor %} </tbody> </table> - <input class="btn btn-danger btn-lg" type="submit" name='reject' value='reject selected'> - </input> + </div> + </div> + <button class="btn btn-danger" type="submit" name="reject"> + <i class="fa fa-minus-square"></i> Reject selected + </button> </form> </div> {% else %} @@ -188,8 +206,15 @@ <div id="enroll"> <form action="{% url 'yaksh:enroll_rejected_users' course.id %}" method="post"> {% csrf_token %} - <table id="rejected_table" class="tablesorter table table-striped table-responsive-sm course-detail" data-sortlist="[1,0]"> - <thead> + <div class="card"> + {% if rejected_users|length > 10 %} + <div class="table-responsive" style="height: 700px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table id="rejected_table" class="table table-responsive-sm table-dark course-detail" data-sortlist="[1,0]"> + <thead class="thead-dark"> + <th></th> <th>Full Name <i class="fa fa-sort"></i></th> <th>Email <i class="fa fa-sort"></i></th> <th>Roll Number <i class="fa fa-sort"></i></th> @@ -197,7 +222,7 @@ <th>Department <i class="fa fa-sort"></i></th> <th>Enroll</th> </thead> - <tbody> + <tbody class="list"> {% for user in rejected_users %} <tr> <td> @@ -221,9 +246,12 @@ {% endfor %} </tbody> </table> + </div> + </div> <br> - <input class="btn btn-success btn-lg" type="submit" name='enroll' value='enroll selected'> - </input> + <button class="btn btn-success" type="submit" name="enroll"> + <i class="fa fa-plus-square"></i> Enroll selected + </button> <br> </form> </div> diff --git a/yaksh/templates/yaksh/course_teachers.html b/yaksh/templates/yaksh/course_teachers.html index 1b1af87..1a32e51 100644 --- a/yaksh/templates/yaksh/course_teachers.html +++ b/yaksh/templates/yaksh/course_teachers.html @@ -5,18 +5,32 @@ <form action="{% url 'yaksh:remove_teacher' course.id %}" method="post"> {% csrf_token %} <div class="container"> - <table class="table table-responsive-sm course-detail"> + <div class="card"> + {% if teachers|length > 10 %} + <div class="table-responsive" style="height: 700px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table class="table table-responsive-sm table-dark course-detail"> + <thead class="thead-dark"> <tr> <th>Select</th> <th>Name</th> + <th>Email</th> </tr> + </thead> + <tbody class="list"> {% for teacher in teachers %} <tr> <td><input type="checkbox" name="remove" value="{{ teacher.id }}"></td> <td>{{ teacher.get_full_name }}</td> + <td>{{ teacher.email }}</td> </tr> {% endfor %} - <table> + </tbody> + </table> + </div> + </div> </div> <br> <button class="btn btn-danger" type="submit" data-toggle="tooltip" title="Remove Selected Teachers from this course"> diff --git a/yaksh/templates/yaksh/courses.html b/yaksh/templates/yaksh/courses.html index 151e1fb..38c106c 100644 --- a/yaksh/templates/yaksh/courses.html +++ b/yaksh/templates/yaksh/courses.html @@ -106,6 +106,17 @@ <div class="card border-primary"> <div class="card-header" style="height: 150px"> {{course.name}} + <div> + {% if user.id != course.creator.id %} + <span class="badge badge-pill badge-warning"> + Allotted Course + </span> + {% else %} + <span class="badge badge-pill badge-primary"> + Created Course + </span> + {% endif %} + </div> </div> <div class="card-body"> <div class="row"> @@ -119,15 +130,6 @@ </div> <hr> <div class="row"> - <div class="col-md-5"> - <span class="badge badge-pill badge-info"> - {% if user.id != course.creator.id %} - Allotted Course - {% else %} - Created Course - {% endif %} - </span> - </div> <div class="col-md-3"> {% if course.active %} <span class="badge badge-pill badge-success"> diff --git a/yaksh/templates/yaksh/design_course_session.html b/yaksh/templates/yaksh/design_course_session.html index 88ecc16..1da7647 100644 --- a/yaksh/templates/yaksh/design_course_session.html +++ b/yaksh/templates/yaksh/design_course_session.html @@ -18,7 +18,7 @@ <div id="fixed-available-wrapper"> <p><u><b>Available Modules:</b></u></p> <div id="fixed-available"> - <table id="course-details" class="table table-bordered table-responsive-sm"> + <table id="course-details" class="table table-responsive-sm"> <tr class="bg-light"> <th width="2%">Select</th> <th>Modules</th> @@ -60,7 +60,7 @@ <div id="fixed-added-wrapper"> <p><u><b>Chosen Modules:</b></u></p> <div id="fixed-added"> - <table id="course-details" class="table table-bordered table-responsive-sm"> + <table id="course-details" class="table table-responsive-sm"> <tr class="bg-light"> <th width="5%">Select</th> <th>Module</th> diff --git a/yaksh/templates/yaksh/design_questionpaper.html b/yaksh/templates/yaksh/design_questionpaper.html index ffbdf5f..fcc3ed5 100644 --- a/yaksh/templates/yaksh/design_questionpaper.html +++ b/yaksh/templates/yaksh/design_questionpaper.html @@ -114,12 +114,47 @@ <div id="fixed-available-wrapper"> <p><u>Select questions to add:</u></p> <div id="fixed-available"> - {% if state == "fixed" or state == "None" %} + {% if questions %} + {% if state == "fixed" or state == "None" %} + <ul class="inputs-list"> + <h5><input id="add_checkall" name="add_checkall" type="checkbox"> Select All </h5> + {% for question in questions %} + <li> + <label> + <input type="checkbox" name="questions" data-qid="{{question.id}}" value={{question.id}}> + <span> + {% if user == question.user %} + <a href="{% url 'yaksh:add_question' question.id %}" target="_blank">{{ question.summary }}</a> + {% else %} + {{question.summary}} + {% endif %} + </span> + <span> {{ question.points }}</span> + </label> + </li> + {% endfor %} + </ul> + {% endif %} + {% endif %} + </div> + </div> + <br /> + <button id="add-fixed" name="add-fixed" class="btn btn-success pull-right" type="submit"> + <i class="fa fa-plus-square"></i> Add to paper + </button> + </div> + <div class="col-md-6"> + <div id="fixed-added-wrapper"> + <p><u>Fixed questions currently in paper:</u></p> + <div id="fixed-added"> + {% if fixed_questions %} <ul class="inputs-list"> - {% for question in questions %} + <h5><input id="remove_checkall" type="checkbox"> Select All </h5> + {% for question in fixed_questions %} <li> <label> - <input type="checkbox" name="questions" data-qid="{{question.id}}" value={{question.id}}> + <input type="checkbox" name="added-questions" + data-qid="{{question.id}}" value={{question.id}}> <span> {% if user == question.user %} <a href="{% url 'yaksh:add_question' question.id %}" target="_blank">{{ question.summary }}</a> @@ -127,7 +162,7 @@ {{question.summary}} {% endif %} </span> - <span> {{ question.points }}</span> + <span> {{ question.points }} </span> </label> </li> {% endfor %} @@ -136,35 +171,6 @@ </div> </div> <br /> - <button id="add-fixed" name="add-fixed" class="btn btn-success pull-right" type="submit"> - <i class="fa fa-plus-square"></i> Add to paper - </button> - </div> - <div class="col-md-6"> - <div id="fixed-added-wrapper"> - <p><u>Fixed questions currently in paper:</u></p> - <div id="fixed-added"> - <ul class="inputs-list"> - {% for question in fixed_questions %} - <li> - <label> - <input type="checkbox" name="added-questions" - data-qid="{{question.id}}" value={{question.id}}> - <span> - {% if user == question.user %} - <a href="{% url 'yaksh:add_question' question.id %}" target="_blank">{{ question.summary }}</a> - {% else %} - {{question.summary}} - {% endif %} - </span> - <span> {{ question.points }} </span> - </label> - </li> - {% endfor %} - </ul> - </div> - </div> - <br /> <button id="remove-fixed" name="remove-fixed" class="btn btn-danger pull-right" type="submit"> <i class="fa fa-minus-square"></i> Remove from paper </button> diff --git a/yaksh/templates/yaksh/editprofile.html b/yaksh/templates/yaksh/editprofile.html index 47e74ea..c95da88 100644 --- a/yaksh/templates/yaksh/editprofile.html +++ b/yaksh/templates/yaksh/editprofile.html @@ -6,13 +6,11 @@ <br> <form action="{% url 'yaksh:edit_profile'%}" method="post" > {% csrf_token %} - <center> <div class="row justify-content-center form-group"> <div class="col-md-4 col-md-offset-4"> <form action="" method="post"> <fieldset> {% csrf_token %} - <center> {% if form.errors %} {% for field in form %} {% for error in field.errors %} @@ -34,14 +32,17 @@ {% endfor %} {% endif %} {% for field in form %} - <td>{{ field }} <small>{{ field.help_text }}</small></td> - <br> + <div class="form-group"> + <label> + {{ field.label }} + </label> + {{ field }} + </div> {% endfor %} <br> <br> - </center> <button class="btn btn-success btn-lg" type="submit">Update</button> - <a href="{% url 'yaksh:index' %}" class="btn btn-primary btn-lg">Cancel</a></center> + <a href="{% url 'yaksh:index' %}" class="btn btn-primary btn-lg">Cancel</a> </fieldset> </form> </div> diff --git a/yaksh/templates/yaksh/error_template.html b/yaksh/templates/yaksh/error_template.html index 9cfeac1..b93d2f1 100644 --- a/yaksh/templates/yaksh/error_template.html +++ b/yaksh/templates/yaksh/error_template.html @@ -13,6 +13,9 @@ <div class="card-header alert-danger">Error No. {{ forloop.counter }}</div> <div class="card-body "> <div class=""> + {% if error.hidden %} + <strong> Hidden test case failed </strong> + {% else %} {% if not error.type %} <pre><code> {{error|safe}} </code></pre> @@ -87,10 +90,11 @@ </tr> </table> {% endif %} - </div> + {% endif %} + </div> </div> </div> <br> </div> {% endfor %} -{% endif %}
\ No newline at end of file +{% endif %} diff --git a/yaksh/templates/yaksh/grade_user.html b/yaksh/templates/yaksh/grade_user.html index a9ab53e..86b7c47 100644 --- a/yaksh/templates/yaksh/grade_user.html +++ b/yaksh/templates/yaksh/grade_user.html @@ -308,18 +308,18 @@ function searchNames() { </div> </div> <div class="card-body"> - <table class="tablesorter table table-striped table-bordered table-responsive-sm" id='marks_table'> - <thead> + <div class="table-responsive" style="height: 400px"> + <table class="table table-dark table-responsive-sm" id='marks_table'> + <thead class="thead-dark"> <tr> <th>Questions</th> <th>Type</th> <th>Marks Obtained</th> - <th>Regrade by question</th> + <th>Regrade</th> </tr> </thead> - <tbody> + <tbody class="list"> {% for question, answers in paper.get_question_answers.items %} - {% with answers|last as answer %} <tr> <td> <a href="#question_{{question.id}}"> @@ -327,17 +327,18 @@ function searchNames() { </a> </td> <td>{{ question.type }}</td> - <td>{{ answer.answer.marks }}</td> + <td>{{ answers|last }}</td> <td> <a href="{% url 'yaksh:regrade_by_question' course_id quiz.questionpaper_set.get.id paper.id question.id %}" class="btn btn-outline-success"> <i class="fa fa-repeat"></i> Regrade </a> </td> </tr> - {% endwith %} {% endfor %} </tbody> </table> + </div> + <br> <form name=frm id="q{{ paper.quiz.id }}_form" action="{% url 'yaksh:grade_user' quiz_id user_id paper.attempt_number course_id %}" method="post"> @@ -437,30 +438,33 @@ function searchNames() { </center> {% endif %} <!-- End has_user_assignments --> {% else %} - {% for ans in answers %} + {% if answers|first is None %} + <p> Did not attempt </p> + {% else %} + {% for ans in answers|slice:":-1" %} <strong> Attempt Number: {{forloop.counter}} </strong> <div id="accordian"> <div class="card"> {% if ans.answer.correct %} - <div class="card-header"> + <div class="card-header bg-success"> <span class="badge badge-success"> Correct answer: </span> <a class="card-link" data-toggle="collapse" href="#submitted_{{ans.answer.id}}"> - <span class="pull-right"> + <span class="pull-right text-white"> Details <i class="fa fa-toggle-down"></i> </span> </a> </div> {% else %} - <div class="card-header"> + <div class="card-header bg-danger"> <span class="badge badge-danger"> Error: </span> <a class="card-link" data-toggle="collapse" href="#submitted_{{ans.answer.id}}"> - <span class="pull-right"> + <span class="pull-right text-white"> Details <i class="fa fa-toggle-down"></i> </span> </a> @@ -559,6 +563,7 @@ function searchNames() { </div> <br> {% endfor %} <!-- End for ans in answers --> + {% endif %}<!-- check if attempted --> </div> </div> {% endif %} @@ -566,9 +571,7 @@ function searchNames() { <div class="form-group"> <div class="col-md-2"> <label class="col-form-label" for="q{{ question.id }}">Marks:</label> - {% with answers|last as answer %} - <input id="q{{ question.id }}" type="text" name="q{{ question.id }}_marks" size="4" class="form-control" value="{{ answer.answer.marks }}"><br><br> - {% endwith %} + <input id="q{{ question.id }}" type="text" name="q{{ question.id }}_marks" size="4" class="form-control" value="{{ answers|last }}"><br><br> </div> </div> <hr/> diff --git a/yaksh/templates/yaksh/lessons_forum.html b/yaksh/templates/yaksh/lessons_forum.html new file mode 100644 index 0000000..070738f --- /dev/null +++ b/yaksh/templates/yaksh/lessons_forum.html @@ -0,0 +1,104 @@ +{% extends base_template %} +{% load static %} +{% block title %} + {{course.name}}: Lessons Forum +{% endblock title %} +{% block content %} + <div id="wrapper" class="d-flex"> + <div class="container" id="page-content-wrapper"> + <div> + <h2><center>{{course.name}}</center></h2> + <center>Discussion Forum</center> + </div> + <div class="d-flex p-2 bd-highlight"> + <div class="col-md-4"> + {% if moderator %} + <a href="{% url 'yaksh:course_detail' course.id %}" class="btn btn-primary"> + <i class="fa fa-arrow-left"></i> Back + </a> + {% else %} + <a href="{% url 'yaksh:course_modules' course.id %}" class="btn btn-primary"> + <i class="fa fa-arrow-left"></i> Back + </a> + {% endif %} + </div> + </div> + {% if messages %} + <div> + <center> + {% for message in messages %} + <div class="alert alert-dismissible alert-{{ message.tags }}"> + <button type="button" class="close" data-dismiss="alert"> + <i class="fa fa-close"></i> + </button> + <strong>{{ message }}</strong> + </div> + {% endfor %} + </center> + </div> + {% endif %} + <br> + {% include "yaksh/sidebar.html" %} + <br> + {% if posts %} + <div class="card"> + {% if posts|length > 10 %} + <div class="table-responsive" style="height: 700px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table class="table table-responsive-sm"> + <thead class="thread-inverse thead-light"> + <tr> + <th width="700">Posts</th> + <th>Created by</th> + <th>Replies</th> + <th>Last reply</th> + <th></th> + </tr> + </thead> + <tbody class="list"> + {% for post in posts %} + <tr> + <td> + <a href="{% url 'yaksh:post_comments' course.id post.uid %}">{{post.title}}</a> + <small class="text-muted d-block">{{ post.description|safe|truncatewords:10 }}</small> + <small class="text-muted"><strong>Last updated: {{post.modified_at}}</strong></small> + </td> + <td> + {% if post.anonymouse %} + Anonymous + {% else %} + {{post.creator.username}} + {% endif %} + </td> + <td>{{post.get_comments_count}}</td> + <td> + {% with post.get_last_comment as last_comment %} + {% if last_comment %} + {{last_comment.creator}} + {% else %} + None + {% endif %} + {% endwith %} + </td> + <td> + {% if user == course.creator or user in course.get_teachers %} + <small><a href="{% url 'yaksh:hide_post' course.id post.uid %}" class="pull-right fa fa-trash"></i></a></small> + {% endif %} + </td> + </tr> + {% endfor %} + </tbody> + </table> + </div> + </div> + {% else %} + <div> + <center>No Lesson posts here. They will appear when someone comments on video lessons.</center> + </div> + {% endif %} + </div> + </div> +{% endblock content %} + diff --git a/yaksh/templates/yaksh/login.html b/yaksh/templates/yaksh/login.html index 63a2ef2..7195167 100644 --- a/yaksh/templates/yaksh/login.html +++ b/yaksh/templates/yaksh/login.html @@ -4,7 +4,7 @@ {% block title %} Login {% endblock %} {% block nav %} -<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top"> +<nav class="navbar navbar-expand-lg navbar-dark bg-primary"> <a class="navbar-brand" href="{% url 'yaksh:index' %}"> <img src="{% static 'yaksh/images/yaksh_banner.png' %}" alt="YAKSH"> </a> @@ -12,71 +12,86 @@ {% endblock %} {% block content %} -<div class="container"> - <div class="row justify-content-center"> - <div class="col-md-6 col-md-offset-6"> - <div class="card border-primary"> - <div class="card-header"> - <h3>Log in to Your Account</h3> - </div> - <div class="card-body"> - <div class="form-group"> - <form action="" method="post"> - {% csrf_token %} - - <center> - <table class="table table-borderless"> - {% if form.errors %} - {% for field in form %} - {% for error in field.errors %} - <div class="alert alert-dismissible alert-danger"> - <button type="button" class="close" data-dismiss="alert"> - <i class="fa fa-close"></i> - </button> - <strong>{{ error|escape }}</strong> - </div> - {% endfor %} - {% endfor %} - {% for error in form.non_field_errors %} - <div class="alert alert-dismissible alert-danger"> - <button type="button" class="close" data-dismiss="alert"> - <i class="fa fa-close"></i> - </button> - <strong>{{ error|escape }}</strong> - </div> - {% endfor %} - {% endif %} - {{form.username}} - <br> - {{form.password}} - </table> - </center> - <div class="row justify-content-center"> - <button class="btn btn-lg btn-success btn-block" type="submit" id="login-btn"> - <i class="fa fa-sign-in"></i> Login +<br><br> +<div class="container mt--8 pb-5"> + <div class="row justify-content-center"> + <div class="col-lg-5 col-md-7"> + <div class="card bg-secondary border-0 mb-0"> + <div class="card-header bg-transparent pb-5"> + <div class="text-muted text-center mt-2 mb-3"><small>Sign in with</small></div> + <div class="btn-wrapper text-center"> + <a href="{% url 'social:begin' 'google-oauth2' %}" class="btn btn-neutral btn-icon"> + <span class="btn-inner--icon"> + <span class="fa fa-google" style="color: red;"></span> + </span> + <span class="btn-inner--text" style="color: red;">Google</span> + </a> + <a href="{% url 'social:begin' 'facebook' %}" class="btn btn-neutral btn-icon"> + <span class="btn-inner--icon"> + <span class="fa fa-facebook-square"> + </span> + <span class="btn-inner--text">Facebook</span> + </a> + </div> + </div> + <div class="card-body px-lg-5 py-lg-5"> + <div class="text-center text-muted mb-4"> + <small>Or Sign in with credentials</small> + </div> + <form role="form" action="" method="post"> + {% csrf_token %} + {% if form.errors %} + {% for field in form %} + {% for error in field.errors %} + <div class="alert alert-dismissible alert-danger"> + <button type="button" class="close" data-dismiss="alert"> + <i class="fa fa-close"></i> </button> - <a href="{% url 'yaksh:register' %}" class="btn btn-lg btn-primary btn-block" id="signup-btn"> - <i class="fa fa-user-plus"></i> NEW USER? SIGN UP - </a> - <a class="btn btn-lg btn-primary btn-block" href="{% url 'password_reset' %}" id="forgot-btn"> - Forgot Password? - </a> + <strong>{{ error|escape }}</strong> </div> - <hr> - <center><h1> OR </h1></center> - Login with - <a class="btn btn-social-icon btn-google" href="{% url 'social:begin' 'google-oauth2' %}"> - <span class="fa fa-google" style="font-size:32px;color:red" ></span> - </a> - <a class="btn btn-social-icon btn-facebook" href="{% url 'social:begin' 'facebook' %}"> - <span class="fa fa-facebook-square" style="font-size:32px"></span> - </a> - </form> - </br> + {% endfor %} + {% endfor %} + {% for error in form.non_field_errors %} + <div class="alert alert-dismissible alert-danger"> + <button type="button" class="close" data-dismiss="alert"> + <i class="fa fa-close"></i> + </button> + <strong>{{ error|escape }}</strong> </div> + {% endfor %} + {% endif %} + <div class="form-group mb-3"> + <div class="input-group input-group-merge input-group-alternative"> + <div class="input-group-prepend"> + <span class="input-group-text"><i class="fa fa-user"></i></span> + </div> + {{form.username}} + </div> + </div> + <div class="form-group"> + <div class="input-group input-group-merge input-group-alternative"> + <div class="input-group-prepend"> + <span class="input-group-text"><i class="fa fa-lock"></i></span> </div> + {{form.password}} + </div> + </div> + <div class="text-center"> + <button type="submit" class="btn btn-primary my-4">Sign in</button> </div> + </form> + </div> + </div> + <div class="row mt-3"> + <div class="col-6"> + <a href="{% url 'password_reset' %}" class="text-muted"><small>Forgot password?</small></a> + </div> + <div class="col-6 text-right"> + <a href="{% url 'yaksh:register' %}" class="text-muted"><small>Create new account</small> + </a> </div> + </div> </div> -</div> + </div> +</div> {% endblock content %} diff --git a/yaksh/templates/yaksh/micromanaged.html b/yaksh/templates/yaksh/micromanaged.html new file mode 100644 index 0000000..5d7e58c --- /dev/null +++ b/yaksh/templates/yaksh/micromanaged.html @@ -0,0 +1,22 @@ +{% if micromanagers %} +<hr> +<div class="row"> + {% for micromanager in micromanagers %} + {% if micromanager.attempts_permitted > 0 %} + <div class="col-md-8"> + <p> You have been given a special attempt to the {{ micromanager.quiz.description }} by the course creator</p> + </div> + <div class="col-md-3"> + {% if micromanager.can_student_attempt %} + <a class="btn btn-success" href="{% url 'yaksh:special_start' micromanager.id %}"> + Start Special Attempt + </a> + {% else %} + <span class="badge badge-secondary">Exhausted</span> + {% endif %} + </div> + {% endif %} + {% endfor %} +</div> +{% endif %} + diff --git a/yaksh/templates/yaksh/micromonitor.html b/yaksh/templates/yaksh/micromonitor.html new file mode 100644 index 0000000..cc059aa --- /dev/null +++ b/yaksh/templates/yaksh/micromonitor.html @@ -0,0 +1,9 @@ +{% if micromanager %} + {% if micromanager.can_student_attempt %} + <a class="btn btn-danger" href="{% url 'yaksh:revoke_special_attempt' micromanager.id %}">Revoke</a> + {% else %} + <a class="btn btn-success" href="{% url 'yaksh:allow_special_attempt' user_id course_id quiz_id %}">Allow </a> + {% endif %} +{% else %} + <a class="btn btn-success" href="{% url 'yaksh:allow_special_attempt' user_id course_id quiz_id %}">Allow </a> +{% endif %} diff --git a/yaksh/templates/yaksh/moderator_dashboard.html b/yaksh/templates/yaksh/moderator_dashboard.html index b2d38b0..3a3d8b9 100644 --- a/yaksh/templates/yaksh/moderator_dashboard.html +++ b/yaksh/templates/yaksh/moderator_dashboard.html @@ -68,7 +68,7 @@ </a> </div> <div class="col-md"> - <a class="card-link btn btn-info" data-toggle="collapse" href="#collapse{{course.id}}"> + <a class="card-link btn btn-outline-info" data-toggle="collapse" href="#collapse{{course.id}}"> Details <i class="fa fa-toggle-down" id="toggle_course_{{course.id}}"></i> </a> @@ -80,7 +80,7 @@ <strong>{{ course.name }}</strong> {% get_course_details course as course_details %} {% if course_details %} - <table class="table table-bordered table-responsive-sm"> + <table class="table table-responsive-sm"> <tr> <th>Quiz</th> <th>Taken By</th> diff --git a/yaksh/templates/yaksh/monitor.html b/yaksh/templates/yaksh/monitor.html index ef7b033..fccf201 100644 --- a/yaksh/templates/yaksh/monitor.html +++ b/yaksh/templates/yaksh/monitor.html @@ -4,7 +4,7 @@ {% block title %} Monitor {% endblock %} {% block pagetitle %} Monitor {% endblock pagetitle %} -{% block meta %} <meta http-equiv="refresh" content="30"/> {% endblock meta %} +{% block meta %} <meta http-equiv="refresh" content="300"/> {% endblock meta %} {% block script %} {% if papers %} @@ -38,95 +38,159 @@ $(document).ready(function() {% endblock %} {% block content %} -<div class="container"> +<div class="container-fluid"> {% if quiz %} {% if papers %} <div class="card"> - <div class="table-responsive"> - <table id="course-detail" class="table"> - <tr> - <td><b>Course Name: </b></td> - <td>{{course.name}}</td> - </tr> - <tr> - <td><b>Quiz Name: </b></td> - <td>{{quiz.description}}</td> - </tr> - <tr> - <td><b>Number of papers:  </b></td> - <td>{{papers|length}}</td> - </tr> - <tr> - <td><b>Papers Completed:  </b></td> - <td> - {% completed papers as completed_papers %} - <b>{{completed_papers}}</b> - </td> - </tr> - <tr> - <td><b>Papers in progress:  </b></td> - <td> - {% inprogress papers as inprogress_papers %} - <b>{{ inprogress_papers }}</b> - </td> - </tr> - </table> - </div> + <div class="table-responsive"> + <table id="course-detail" class="table"> + <tr> + <td><b>Course Name: </b></td> + <td>{{course.name}}</td> + </tr> + <tr> + <td><b>Quiz Name: </b></td> + <td>{{quiz.description}}</td> + </tr> + <tr> + <td><b>Number of papers:  </b></td> + <td>{{papers|length}}</td> + </tr> + <tr> + <td><b>Papers Completed:  </b></td> + <td> + {% completed papers as completed_papers %} + <b>{{completed_papers}}</b> + </td> + </tr> + <tr> + <td><b>Papers in progress:  </b></td> + <td> + {% inprogress papers as inprogress_papers %} + <b>{{ inprogress_papers }}</b> + </td> + </tr> + </table> + </div> </div> <br> + <br> + {% if messages %} + {% for message in messages %} + <div class="alert alert-dismissible alert-{{ message.tags }}"> + <button type="button" class="close" data-dismiss="alert"> + <i class="fa fa-close"></i> + </button> + <strong>{{ message }}</strong> + </div> + {% endfor %} + {% endif %} + <br> <div class="row"> <div class="col-md-4"> - <a href="{% url 'yaksh:show_statistics' papers.0.question_paper.id course.id %}" class="btn btn-primary"> - <i class="fa fa-line-chart"></i> Question Statistics - </a> - </div> - <div class="col-md-4"> <button type="button" class="btn btn-info" data-toggle="modal" data-target="#csvModal"> <i class="fa fa-download"></i> Download CSV </button> </div> <div class="col-md-4"> + <a href="{% url 'yaksh:show_statistics' papers.0.question_paper.id course.id %}" class="btn btn-primary"> + <i class="fa fa-line-chart"></i> Question Statistics + </a> + </div> + <div class="col-md-4"> <div class="badge badge-info"> - Auto-Refreshes every 30 seconds + Auto-Refreshes every 5 minutes </div> </div> </div> + <hr> + <div class="row"> + <div class="col-md-4"> + <p> + <b> + - Download the CSV file from the button above<br /> + - Edit and upload the same <br /> + </b> + </p> + </div> + <div class="col-md-6"> + <form id="upload_users" action="{% url 'yaksh:upload_marks' course.id papers.0.question_paper.id %}" method="POST" enctype="multipart/form-data"> + {% csrf_token %} + <div class="input-group"> + <div class="custom-file"> + <input type="file" class="custom-file-input" name="csv_file" id="upload"/> + <label class="custom-file-label" for="upload">Select</label> + </div> + <div class="input-group-append"> + <button class="btn btn-outline-primary" type="submit"> + <i class="fa fa-upload"></i> + Upload + </button> + </div> + </div> + </form> + </div> + </div> <br> - <table id="result-table" class="tablesorter table table-striped table-responsive-sm"> - <thead> + <div class="card"> + {% if latest_attempts|length > 10 %} + <div class="table-responsive" style="height: 800px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table id="result-table" class="table table-dark table-responsive-sm"> + <thead class="thead-dark"> <tr> <th> Sr No. </th> <th> Name <i class="fa fa-sort"></i> </th> - <th> Username <i class="fa fa-sort"></i> </th> <th> Roll No <i class="fa fa-sort"></i> </th> - <th> Institute <i class="fa fa-sort"></i> </th> <th> Marks <i class="fa fa-sort"></i> </th> <th> Attempts <i class="fa fa-sort"></i> </th> - <th> Time <i class="fa fa-sort"></i> </th> + <th> Time Left <i class="fa fa-sort"></i> </th> <th> Status <i class="fa fa-sort"></i> </th> + <th> Extend time <i class="fa fa-sort"></i> </th> + <th> Special Attempt <i class="fa fa-sort"></i> </th> </tr> </thead> - <tbody> + <tbody class="list"> {% for paper in latest_attempts %} <tr> <td>{{forloop.counter}}</td> <td> <a href="{% url 'yaksh:user_data' paper.user.id paper.question_paper.id course.id %}"> {{ paper.user.get_full_name.title }}</a> </td> - <td> {{ paper.user.username }} </td> <td> {{ paper.user.profile.roll_number }} </td> - <td> {{ paper.user.profile.institute }} </td> <td> {{ paper.marks_obtained }} </td> <td> {{ paper.answers.count }} </td> <td id="time_left{{forloop.counter0}}"> {{ paper.time_left }} </td> - <td id="status{{forloop.counter0}}">{{ paper.status }}</td> + <td> {% if paper.is_attempt_inprogress %} + <span class="badge badge-warning"> Inprogress </span> + {% else %} + <span class="badge badge-success"> Completed </span> + {% endif %} + </td> + <td width="15%"> + <form method="post" action="{% url 'yaksh:extend_time' paper.id %}"> + {% csrf_token %} + <div class="input-group mb-3"> + <input type="number" step="any" class="form-control" id="extra_time" name="extra_time" required> + <div class="input-group-append"> + <button class="btn btn-outline-secondary" type="submit" width="10"> + <i class="fa fa-plus"></i> + </button> + </div> + </div> + </form> + </td> + <td>{% specail_attempt_monitor paper.user.id course.id quiz.id %}</td> </tr> {% endfor %} </tbody> - </table> + </table> + </div> + </div> <!-- CSV Modal --> <div class="modal fade" id="csvModal" role="dialog"> <div class="modal-dialog"> - <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> @@ -143,7 +207,11 @@ $(document).ready(function() {% for field in csv_fields %} <div class="form-check form-check-inline"> <label class="form-check-label"> + {% if field == 'username' or field == 'questions' %} + <input class="form-check-input" name="csv_fields" type="checkbox" value="{{ field }}" checked onclick="return false"> {{ field }} + {% else %} <input class="form-check-input" name="csv_fields" type="checkbox" value="{{ field }}" checked> {{ field }} + {% endif %} </label> </div> <br> @@ -183,5 +251,4 @@ $(document).ready(function() {% else %} <h4>No Quiz Found</h4> {% endif %} -</div> {% endblock %} diff --git a/yaksh/templates/yaksh/post_comments.html b/yaksh/templates/yaksh/post_comments.html index b16b80c..aadc48b 100644 --- a/yaksh/templates/yaksh/post_comments.html +++ b/yaksh/templates/yaksh/post_comments.html @@ -6,24 +6,44 @@ {% block content %} <div class="container"> - <a class="btn btn-primary" href="{% url 'yaksh:course_forum' post.course.id %}"> + <a class="btn btn-primary" href="{% url 'yaksh:course_forum' course.id %}"> <i class="fa fa-arrow-left"></i> Back to Posts </a> <br> <br> + {% if messages %} + <div> + <center> + {% for message in messages %} + <div class="alert alert-dismissible alert-{{ message.tags }}"> + <button type="button" class="close" data-dismiss="alert"> + <i class="fa fa-close"></i> + </button> + <strong>{{ message }}</strong> + </div> + {% endfor %} + </center> + </div> + {% endif %} <div class="card mb-2 border-dark"> <div class="card-header text-white bg-dark py-2 px-3"> {{post.title}} <br> <small> - <strong>{{post.creator.username}}</strong> + <strong> + {% if post.anonymous %} + Anonymous + {% else %} + {{post.creator.username}} + {% endif %} + </strong> {{post.created_at}} - {% if user.profile.is_moderator %}<a href="{% url 'yaksh:hide_post' post.course.id post.uid %}" class="pull-right btn btn-danger">Delete</a>{% endif %} + {% if user == course.creator or user in course.get_teachers %}<a href="{% url 'yaksh:hide_post' post.target.id post.uid %}" class="pull-right fa fa-trash"></a>{% endif %} </small> </div> <div class="card-body"> - <p class="card-text description">{{post.description}}</p> + <p class="card-text description">{{post.description|safe}}</p> {% if post.image %} <a href="{{post.image.url}}" target="_blank"> <center><img src="{{post.image.url}}" class="post_image thumbnail" alt=""></center> @@ -31,6 +51,16 @@ {% endif %} </div> </div> + <div> + <b><u>Add comment:</u></b> + <form action="" method="POST" enctype='multipart/form-data'> + <div class="form-group"> + {% csrf_token %} + {{form}} + </div> + <input type="submit" value="Submit" class="btn btn-success"> + </form> + </div> <br> {% if comments %} {% for comment in comments %} @@ -38,13 +68,19 @@ <div class="card-body p-3"> <div class="row mb-3"> <div class="col-6"> - <strong class="text-muted">{{comment.creator.username}}</strong> + <strong class="text-muted"> + {% if comment.anonymous %} + Anonymous + {% else %} + {{comment.creator.username}} + {% endif %} + </strong> </div> <div class="col-6 text-right"> - <small class="text-muted">{{comment.created_at}} {% if user.profile.is_moderator %} <a href="{% url 'yaksh:hide_comment' post.course.id comment.uid %}" class="btn btn-danger">Delete</a>{% endif %}</small> + <small class="text-muted">{{comment.created_at}} {% if user == course.creator or user in course.get_teachers %} <a href="{% url 'yaksh:hide_comment' course.id comment.uid %}" class="fa fa-trash"></a>{% endif %}</small> </div> </div> - <p class="card-text description">{{comment.description}}</p> + <p class="card-text description">{{comment.description|safe}}</p> <div> {% if comment.image %} <a href="{{comment.image.url}}" target="_blank"> @@ -57,18 +93,27 @@ {% endfor %} {% endif %} <br> - <div> - <b><u>Add comment:</u></b> - <form action="{% url 'yaksh:post_comments' post.course.id post.uid %}" method="POST" enctype='multipart/form-data'> - <div class="form-group"> - {% csrf_token %} - {{form}} - </div> - <input type="submit" value="Submit" class="btn btn-success"> - </form> - </div> </div> {% endblock content %} {% block script %} <script type="text/javascript" src="{% static 'yaksh/js/mathjax/MathJax.js' %}?config=TeX-MML-AM_CHTML"></script> + <script type="text/javascript" src="{% static 'yaksh/js/tinymce/js/tinymce/tinymce.min.js' %}"></script> + <script type="text/javascript"> + $(document).ready(() => { + $(function() { + tinymce.init({ + selector: 'textarea#id_description', + setup : function(ed) { + ed.on('change', function(e) { + tinymce.triggerSave(); + }); + }, + max_height: 400, + height: 400, + plugins: "image code link", + convert_urls: false + }); + }); + }); + </script> {% endblock script %}
\ No newline at end of file diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index ae2f9f4..67bbf3f 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -127,14 +127,14 @@ question_type = "{{ question.type }}"; <button type="button" class="close" data-dismiss="alert"> <i class="fa fa-close"></i> </button> - <strong>Note:</strong> {{ notification }} + {{ notification }} </div> {% else %} <div id="notification" class="alert alert-info col-md-8" role="alert"> <button type="button" class="close" data-dismiss="alert"> <i class="fa fa-close"></i> </button> - <strong>Note:</strong> {{ notification }} + {{ notification }} </div> {% endif %} {% else %} @@ -152,7 +152,7 @@ question_type = "{{ question.type }}"; <div> <h2>{{ question.summary }}</h2> </div> - <div> + <div style="font-size: 20px"> {% if question.language == "other" %} <small class="text text-muted"><strong>Topic:</strong> <span class="badge badge-primary">{{question.topic}}</small></span> {% else %} @@ -239,21 +239,21 @@ question_type = "{{ question.type }}"; <!-- Integer type question --> {% if question.type == "integer" %} Enter Integer:<br/> - <input autofocus class="form-control" name="answer" type="number" id="integer" value="{{ last_attempt|safe }}" /> + <input autofocus class="form-control" name="answer" type="number" id="integer" value="{{ last_attempt|to_integer }}" /> <br><br> {% endif %} <!-- String type question --> {% if question.type == "string" %} Enter Text:<br/> - <textarea autofocus name="answer" id="string" class="form-control" style="width: 100%">{{ last_attempt|safe }}</textarea> + <textarea autofocus name="answer" id="string" class="form-control" style="width: 100%">{{ last_attempt|to_str }}</textarea> <br/><br/> {% endif %} <!-- Float type question --> {% if question.type == "float" %} Enter Decimal Value :<br/> - <input autofocus class="form-control" name="answer" type="number" step="any" id="float" value="{{ last_attempt|safe }}" /> + <input autofocus class="form-control" name="answer" type="number" step="any" id="float" value="{{ last_attempt|to_float }}" /> <br/><br/> {% endif %} @@ -276,6 +276,15 @@ question_type = "{{ question.type }}"; {% if question.type == "upload" %} <p>Upload assignment file for the said question<p> <input type=file id="assignment" name="assignment" multiple=""> + {% if assignment_files %} + <ul class="list-group"> + {% for as_file in assignment_files %} + <li class="list-group-item"> + <a href="{{as_file.assignmentFile.url}}" target="_blank">{{ as_file.assignmentFile.name|file_title }}</a> + </li> + {% endfor %} + </ul> + {% endif %} {% endif %} <!-- Arrange type question --> diff --git a/yaksh/templates/yaksh/quit.html b/yaksh/templates/yaksh/quit.html index ccb0893..828ad60 100644 --- a/yaksh/templates/yaksh/quit.html +++ b/yaksh/templates/yaksh/quit.html @@ -4,43 +4,37 @@ {% block title %} Quit Quiz {% endblock %} {% block nav %} -<div class="container-fluid yakshnav"> - <nav class="navbar fixed-top navbar-expand-lg yakshheading yakshnav"> - <div class="container"> - <a class="navbar-brand" href="{% url 'yaksh:index' %}"> - <img src="{% static 'yaksh/images/yaksh_banner.png' %}" alt="YAKSH"> - </a> - </div><!-- /.container --> - </nav><!-- /.navbar --> -</div> +<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top"> + <a class="navbar-brand" href="{% url 'yaksh:index' %}"> + <img src="{% static 'yaksh/images/yaksh_banner.png' %}" alt="YAKSH"> + </a> +</nav> {% endblock %} {% block content %} <center> <div class="col-md-8"> <h3>Submission Status</h3> - <table class="table table-bordered table-responsive-sm" > - <thead> - <tr class="text-center"> + <table class="table table-dark table-responsive-sm" > + <thead class="thead-dark"> + <tr> <th> Question</th> <th> Status </th> </tr> </thead> - + <tbody class="list"> {% for question in paper.questions.all %} - <tbody> - {% if question in paper.questions_answered.all %} - <tr class="table-success"> - <td> {{ question.summary }} </td> - <td> Attempted </td> - {% else %} - <tr class="table-warning"> - <td> {{ question }} </td> - <td> Not completed </td> - {% endif %} - </tr> - </tbody> + <tr> + {% if question in paper.questions_answered.all %} + <td> {{ question.summary }} </td> + <td> <span class="badge badge-success">Attempted</span> </td> + {% else %} + <td> {{ question }} </td> + <td> <span class="badge badge-warning">Not Attempted</span> </td> + {% endif %} + </tr> {% endfor %} + </tbody> </table> </div> </center> @@ -56,7 +50,11 @@ {% csrf_token %} <center> <button class="btn btn-outline-success btn-lg" type="submit" name="yes">Yes</button> + {% if paper.is_special %} + <a class="btn btn-outline-danger btn-lg" name="no" href="{% url 'yaksh:skip_question' paper.questions.first.id paper.attempt_number module_id paper.question_paper.id course_id %}">No</a> + {% else %} <a class="btn btn-outline-danger btn-lg" name="no" href="{% url 'yaksh:start_quiz' paper.attempt_number module_id paper.question_paper.id course_id %}">No</a> + {% endif %} </center> </form> {% endblock content %} diff --git a/yaksh/templates/yaksh/quizzes_user.html b/yaksh/templates/yaksh/quizzes_user.html index a9f5a43..b1c5e3c 100644 --- a/yaksh/templates/yaksh/quizzes_user.html +++ b/yaksh/templates/yaksh/quizzes_user.html @@ -1,4 +1,5 @@ {% extends "user.html" %} +{% load custom_filters %} {% block title %} Student Dashboard {% endblock %} {% block script %} @@ -27,7 +28,7 @@ </div> {% if "Search" in title %} <div class="col-md-4"> - <a href="{% url 'yaksh:quizlist_user' %}" class="btn btn-primary"> + <a href="{% url 'yaksh:quizlist_user' %}" class="btn btn-outline-danger"> <i class="fa fa-times"></i> Clear search </a> </div> @@ -60,7 +61,7 @@ <div class="row"> <div class="col-md-7">{{course.data.name}}</div> <div class="col-md-2"> - <a class="card-link btn btn-info" data-toggle="collapse" href="#collapse{{course.data.id}}"> + <a class="card-link btn btn-outline-info" data-toggle="collapse" href="#collapse{{course.data.id}}"> Details <i class="fa fa-toggle-down" id="toggle_course_{{course.id}}"></i> </a> </div> @@ -104,6 +105,7 @@ {% endif %} </div> </div> + {% show_special_attempt user.id course.data.id %} </div> <div id="collapse{{course.data.id}}" class="collapse hide" data-parent="#accordion"> <div class="card-body"> @@ -133,24 +135,34 @@ <p><b>Starts On:</b> {{course.data.start_enroll_time}}</p> <p><b>Ends On:</b> {{course.data.end_enroll_time}}</p> {% with course.completion_percentage as percent %} - <p><b>Course Progress:</b></p> - <div class="progress"> - {% if percent %} - {% if percent <= 50 %} - <div class="progress-bar bg-danger" role="progressbar" aria-valuenow="{{percent}}" - aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"> - {% elif percent <= 75 %} - <div class="progress-bar bg-warning" role="progressbar" aria-valuenow="{{percent}}" - aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"> - {% else %} - <div class="progress-bar bg-success" role="progressbar" aria-valuenow="{{percent}}" - aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"> - {% endif %} - <b style="color: white;">{{percent}}% completed</b> + <div class="progress-wrapper"> + <div class="progress-info"> + <div class="progress-label"> + <span>Course completed</span> </div> - {% else %} - <b style="color: black;">0% completed</b> - {% endif %} + <div class="progress-percentage"> + <span> + {% if percent %} {{percent}} {% else %} 0 {% endif %}% + </span> + </div> + </div> + <div class="progress"> + {% if percent %} + {% if percent <= 50 %} + <div class="progress-bar bg-danger" role="progressbar" aria-valuenow="{{percent}}" + aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"> + </div> + {% elif percent <= 75 %} + <div class="progress-bar bg-warning" role="progressbar" aria-valuenow="{{percent}}" + aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"> + </div> + {% else %} + <div class="progress-bar bg-success" role="progressbar" aria-valuenow="{{percent}}" + aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"> + </div> + {% endif %} + {% endif %} + </div> </div> {% endwith %} </div> diff --git a/yaksh/templates/yaksh/show_lesson_quiz.html b/yaksh/templates/yaksh/show_lesson_quiz.html new file mode 100644 index 0000000..71c997d --- /dev/null +++ b/yaksh/templates/yaksh/show_lesson_quiz.html @@ -0,0 +1,142 @@ +{% load custom_filters %} +<script type="text/javascript"> + $(document).ready(function() { + renderMathInElement( + document.body, + { + delimiters: [ + {left: "$$", right: "$$", display: true}, + {left: "$", right: "$", display: false}, + ] + } + ); + }); + function user_arranged_options() { + var temp_array = [] + var add_array = document.getElementById("arrange_order"); + var ans_array = order_array.children().get() + var answer_is = $.each(ans_array, function(index, value) { + temp_array.push(value.id); + }); + add_array.value = temp_array + } +</script> +<form id="submit-quiz-form" method="POST" action="{% url 'yaksh:submit_marker_quiz' course_id toc.id %}"> + {% csrf_token %} + <div class="card"> + <div class="card-header"> + <div> + <div> + <h2>{{ question.summary }}</h2> + </div> + <div> + {% if question.language == "other" %} + <small class="text text-muted"><strong>Topic:</strong> <span class="badge badge-primary">{{question.topic}}</small></span> + {% else %} + <small class="textx text-muted"><strong>Language:</strong> <span class="badge badge-primary">{{question.language}}</span></small> + {% endif %} + {% if question.type == "mcq" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">SINGLE CORRECT CHOICE</span></small> + {% elif question.type == "mcc" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">MULTIPLE CORRECT CHOICES</span></small> + {% elif question.type == "integer" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">FILL IN THE BLANKS WITH INTEGER ANSWER</span></small> + {% elif question.type == "string" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">FILL IN THE BLANKS WITH STRING ANSWER</span></small> + {% if testcase.string_check == "lower" %} + <br>(CASE INSENSITIVE) + {% else %} + <br>(CASE SENSITIVE) + {% endif %} + {% elif question.type == "float" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">FILL IN THE BLANKS WITH FLOAT ANSWER</span></small> + {% elif question.type == "arrange" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">ARRANGE THE OPTIONS IN CORRECT ORDER</span></small> + {% endif %} + <span class="badge badge-info pull-right"> + <small><strong>Points: {{ question.points }}</strong></small> + </span> + </div> + </div> + </div> + <div class="card-body"> + <div> + {{ question.description|safe }} + </div> + <br> + {% if question.type == "mcq" %} + <!-- Single correct choice type Question --> + {% for test_case in test_cases %} + {% if last_attempt and last_attempt|to_int == test_case.id %} + <input name="answer" type="radio" value="{{ test_case.id }}" checked /> + {{ test_case.options|safe }} <br/> + {% else %} + <input name="answer" type="radio" value="{{ test_case.id }}" required="" /> + {{ test_case.options|safe }} <br/> + {% endif %} + {% endfor %} + {% endif %} + + {% if question.type == "integer" %} + <!-- Integer type Question --> + Enter Integer:<br/> + <input autofocus class="form-control" name="answer" type="number" id="integer" value="{{ last_attempt|to_integer }}" required=""/> + <br><br> + {% endif %} + + {% if question.type == "string" %} + <!-- String type question --> + Enter Text:<br/> + <textarea autofocus name="answer" id="string" class="form-control" style="width: 100%" required="">{{ last_attempt|to_str }}</textarea> + <br/><br/> + {% endif %} + + {% if question.type == "float" %} + <!-- Float type question --> + Enter Decimal Value :<br/> + <input autofocus class="form-control" name="answer" type="number" step="any" id="float" value="{{ last_attempt|to_float }}" required=""/> + <br/><br/> + {% endif %} + + {% if question.type == "mcc" %} + <!-- MCC type question --> + {% for test_case in test_cases %} + {% if last_attempt and test_case.id|safe in last_attempt|safe %} + <input name="answer" type="checkbox" value="{{ test_case.id }}" checked/> + {{ test_case.options| safe }} + <br> + {% else %} + <input name="answer" type="checkbox" value="{{ test_case.id }}"> + {{ test_case.options| safe }} + <br> + {% endif %} + {% endfor %} + {% endif %} + + {% if question.type == "arrange" %} + <!-- Arrange options type question --> + {% if last_attempt %} + {% get_answer_for_arrange_options last_attempt question as test_cases %} + {% endif %} + <input name="answer" type="hidden" id='arrange_order'/> + <div class="list-group"> + <ol class="arrange"> + {% for test_case in test_cases %} + <li class="list-group-item" id={{test_case.id}}> + {{test_case.options| safe }}</li> {% endfor %} + </ol> + </div> + <script type="text/javascript"> + var arrange = $("ol.arrange"); + var order_array = $(arrange).sortable(['serialize']); + </script> + {% endif %} + {% if question.type == "arrange" %} + <br><button class="btn btn-success" type="submit" name="check" id="check" onClick="return user_arranged_options();">Submit</button> + {% else %} + <br><button class="btn btn-success" type="submit" name="check" id="check">Submit + </button> + {% endif %} + </div> + </div> +</form>
\ No newline at end of file diff --git a/yaksh/templates/yaksh/show_lesson_statistics.html b/yaksh/templates/yaksh/show_lesson_statistics.html new file mode 100644 index 0000000..0da20ee --- /dev/null +++ b/yaksh/templates/yaksh/show_lesson_statistics.html @@ -0,0 +1,229 @@ +{% extends "manage.html" %} +{% load static %} +{% load custom_filters %} +{% block title %} Lesson Quiz Stats {% endblock %} +{% block pagetitle %} Statistics for {{lesson}} {% endblock %} +{% block script %} +<script type="text/javascript" src="{% static 'yaksh/js/jquery.tablesorter.min.js' %}"> +</script> +<script type="text/javascript"> + $(document).ready(function() { + $.tablesorter.addWidget({ + id: "numbering", + format: function(table) { + var c = table.config; + $("tr:visible", table.tBodies[0]).each(function(i) { + $(this).find('td').eq(0).text(i + 1); + }); + } + }); + $("#stats-table").tablesorter({ + headers: { + 0: { sorter: false } + }, + widgets: ['numbering'] + }); + }); +</script> +{% endblock %} +{% block content %} +<div class="container-fluid"> + <br> + <div class="row"> + <div class="col-md-2"> + <a class="btn btn-primary" href="{% url 'yaksh:get_course_modules' course_id %}"> + <i class="fa fa-arrow-left"></i> Back + </a> + </div> + </div> + <br> + {% if data %} + <div class="row"> + <div class="col-md-4"> + <ul class="list-group"> + {% for toc, count in data.items %} + <li class="list-group-item"> + <div class="row"> + <div class="col-md-4"> + {{ toc.content_object.summary }} + </div> + <div class="col-md-4"> + <span class="badge badge-pill badge-info"> + {{toc.get_content_display}} + </span> + </div> + <div class="col-md-4"> + <a href="{% url 'yaksh:lesson_statistics' toc.course_id toc.lesson_id toc.id %}" class="btn btn-outline-primary"> + <i class="fa fa-info-circle"></i> Details + </a> + </div> + </table> + </li> + {% endfor %} + </ul> + </div> + <div class="col-md-7"> + {% if not is_que_data %} + <table class="table table-responsive"> + <tr> + <th>TOC</th> + <th>Type</th> + <th>Submissions</th> + </tr> + {% for toc, count in data.items %} + <tr> + <td>{{ toc.content_object.summary }}</td> + <td>{{ toc.get_content_display }}</td> + <td>{{ count }}</td> + </tr> + {% endfor %} + </table> + {% else %} + <div class="card"> + <div class="card-header"> + <b>{{question.summary}}</b> + <div style="font-size: 20px"> + {% if question.language == "other" %} + <small class="text text-muted"><strong>Topic:</strong> <span class="badge badge-primary">{{question.topic}}</small></span> + {% else %} + <small class="textx text-muted"><strong>Language:</strong> <span class="badge badge-primary">{{question.language}}</span></small> + {% endif %} + {% if question.type == "mcq" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">SINGLE CORRECT CHOICE</span></small> + {% elif question.type == "mcc" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">MULTIPLE CORRECT CHOICES</span></small> + {% elif question.type == "code" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">PROGRAMMING</span></small> + {% elif question.type == "upload" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">ASSIGNMENT UPLOAD</span></small> + {% elif question.type == "integer" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">FILL IN THE BLANKS WITH INTEGER ANSWER</span></small> + {% elif question.type == "string" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">FILL IN THE BLANKS WITH STRING ANSWER</span></small> + {% if testcase.string_check == "lower" %} + <br>(CASE INSENSITIVE) + {% else %} + <br>(CASE SENSITIVE) + {% endif %} + {% elif question.type == "float" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">FILL IN THE BLANKS WITH FLOAT ANSWER</span></small> + {% elif question.type == "arrange" %} + <small class="text text-muted"><strong>Type:</strong> <span class="badge badge-primary">ARRANGE THE OPTIONS IN CORRECT ORDER</span></small> + {% endif %} + <span class="badge badge-info pull-right"> + <small><strong>Marks: {{ question.points }}</strong></small> + </span> + </div> + </div> + <div class="card-body"> + {{question.description|safe}} + <br> + {% for tc in question.get_test_cases %} + {% if question.type == "mcc" or question.type == "mcq" %} + {% if tc.correct %} + <span class="badge badge-pill badge-success"> + {{forloop.counter}}. + </span> + {% else %} + <span class="badge badge-pill badge-dark"> + {{ forloop.counter }}. + </span> + {% endif %} + {{tc.options}} + {% if per_tc_ans %} + {% get_tc_percent tc.id per_tc_ans as percent %} + <div class="progress-wrapper col-md-4"> + <div class="progress-info"> + <div class="progress-percentage"> + <span> + {% if percent %} {{percent|floatformat}} {% else %} 0 {% endif %}% + </span> + </div> + </div> + <div class="progress"> + {% if percent %} + <div class="progress-bar bg-success" role="progressbar" aria-valuenow="{{percent}}" + aria-valuemin="0" aria-valuemax="100" style="width:{{percent|floatformat}}%"> + </div> + {% endif %} + </div> + </div> + {% endif %} + {% elif question.type == "integer" %} + <span class="badge badge-pill badge-success">Answer:</span> + {{tc.correct}} + {% elif question.type == "string" %} + <span class="badge badge-pill badge-success">Answer:</span> + {{tc.correct}} ({{tc.get_string_check_display}}) + {% elif question.type == "float" %} + {{tc.correct}} with Error Margin {{ tc.error_margin }} + {% endif %} + <br> + {% endfor %} + </div> + </div> + <br> + <strong>Total Submissions: {{total_count}}</strong> + <br><br> + {% if question.type != 'mcq' and question.type != 'mcc' %} + <div id="plot_div"></div> + <script type="text/javascript"> + var x_data = []; + var y_data = []; + {% for i, j in per_tc_ans.items %} + x_data.push("{{i}}"); + y_data.push("{{j}}"); + {% endfor %} + var data = [{x: x_data, y: y_data, type: 'bar'}]; + var layout = { + title: "Submission records", + xaxis: {title: 'Submitted Value'}, + yaxis: {title: 'Number of Submissions'} + }; + var config = {responsive: true} + Plotly.newPlot('plot_div', data, layout, config); + </script> + <br><br> + {% endif %} + {% include "yaksh/paginator.html" %} + {% if objects.object_list|length > 10 %} + <div class="table-responsive" style="height: 700px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table class="table table-dark table-responsive" id="stats-table"> + <thead class="thead-dark"> + <tr> + <th>Sr No.</th> + <th>Student Name <i class="fa fa-sort"></i></th> + <th>Roll No <i class="fa fa-sort"></i></th> + <th>Email <i class="fa fa-sort"></i></th> + <th>Latest Submission <i class="fa fa-sort"></i></th> + </tr> + </thead> + <tbody class="list"> + {% for data in objects.object_list %} + <tr> + <td>{{ forloop.counter }}</td> + <td>{{data.student__first_name}} {{data.student__last_name}}</td> + <td>{{data.student__profile__roll_number}}</td> + <td>{{data.student__email}}</td> + {% get_answers data.toc_id data.student_id as user_answer %} + <td>{{ user_answer.0 }}</td> + </tr> + {% endfor %} + </tbody> + </table> + </div> + <br> + {% include "yaksh/paginator.html" %} + {% endif %} + </div> + </div> + {% else %} + <div class="container alert alert-warning"> + No lesson quizzes found + </div> + {% endif %} +</div> +{% endblock %}
\ No newline at end of file diff --git a/yaksh/templates/yaksh/show_toc.html b/yaksh/templates/yaksh/show_toc.html new file mode 100644 index 0000000..4c8ffe2 --- /dev/null +++ b/yaksh/templates/yaksh/show_toc.html @@ -0,0 +1,74 @@ +{% load custom_filters %} +{% has_lesson_video lesson_id as has_video %} +{% if has_video %} + <div class="card"> + <div class="card-body"> + <a href="{% url 'yaksh:download_sample_toc' %}"> + <i class="fa fa-download"></i> Download Sample + </a> + <hr> + <form action="" method="POST" enctype="multipart/form-data"> + {% csrf_token %} + <input type="file" name="toc" required=""> + <button class="btn btn-outline-success" id="upload_toc" name="upload_toc"> + <i class="fa fa-upload"></i> Upload TOC + </button> + </form> + </div> + </div> + <br> +{% endif %} +<table class="table table-responsive"> +{% for toc in contents %} + {% with toc.get_toc_text as toc_name %} + <tr> + <td width="30%"> + {{ toc_name }} + </td> + <td> + {{toc.get_content_display}} + </td> + <td> + {{toc.time}} + </td> + <td> + {% if toc.content == 1 %} + <a href="#" class="btn btn-outline-info" data-url="{% url 'yaksh:edit_topic' toc.content toc.course_id toc.lesson_id toc.id toc.object_id %}" id="edit-toc" onclick="edit_toc(this)"> + {% else %} + <a href="#" class="btn btn-outline-info" data-url="{% url 'yaksh:edit_marker_quiz' toc.content toc.course_id toc.lesson_id toc.id toc.object_id %}" id="edit-toc" onclick="edit_toc(this)"> + {% endif %} + <i class="fa fa-edit"></i> Edit + </a> + </td> + <td> + <form action="{% url 'yaksh:delete_toc' toc.course_id toc.id %}" method="POST"> + {% csrf_token %} + <input type="hidden" name="redirect_url" id="redirect_url" class="hidden"> + <button class="btn btn-outline-danger" type="submit" onclick="return confirm('Are you sure you want to remove {{toc_name|capfirst}}?')"> + <i class="fa fa-trash"></i> Remove + </button> + </form> + </td> + </tr> + {% endwith %} +{% empty %} + <center> + <span class="badge badge-warning">No Table of contents added</span> + </center> +{% endfor %} +</table> +<script type="text/javascript"> + $(document).ready(function() { + var divs = document.getElementsByClassName("hidden"); + for(var i = 0; i < divs.length; i++) + { + divs[i].value = window.location.pathname; + } + }); + + function edit_toc(obj) { + var url = obj.getAttribute("data-url"); + lock_screen(); + ajax_call(url, "GET"); + } +</script>
\ No newline at end of file diff --git a/yaksh/templates/yaksh/show_video.html b/yaksh/templates/yaksh/show_video.html index a2edbe0..dde178b 100644 --- a/yaksh/templates/yaksh/show_video.html +++ b/yaksh/templates/yaksh/show_video.html @@ -1,14 +1,28 @@ {% extends "user.html" %} +{% load static %} {% load custom_filters %} {% block title %} {{ learning_module.name }} {% endblock %} - +{% block script %} +<script type="text/javascript"> + var player; + var contents_by_time = JSON.parse('{{ contents_by_time|safe }}'); + var loc = 0; + var video_time = []; + var markers = []; + var track_count = 0; +</script> +<script type="text/javascript" src="{% static 'yaksh/js/show_toc.js' %}"> +</script> +<script src="{% static 'yaksh/js/jquery-sortable.js' %}"></script> +<script type="text/javascript" src="{% static 'yaksh/js/tinymce/js/tinymce/tinymce.min.js' %}"></script> +{% endblock %} {% block main %} <div class="wrapper"> <!-- Sidebar --> <nav id="sidebar"> - <div class="sidebar-header"> - <a class="text-light" href="{% url 'yaksh:course_modules' course.id %}"> + <div class="sidebar-header bg-info"> + <a class="text-white" href="{% url 'yaksh:course_modules' course.id %}"> {{course.name}} </a> </div> @@ -73,11 +87,9 @@ <!-- Page Content --> <div id="content"> - <button type="button" id="sidebarCollapse" class="btn btn-outline-info"> <i class="fa fa-navicon fa-lg"></i> </button> - <br><br> <ol class="breadcrumb"> <li class="breadcrumb-item"> @@ -91,7 +103,6 @@ {% endif %} </ol> <br> - {% if msg %} <center> <div class="alert alert-dismissible alert-warning"> @@ -123,41 +134,155 @@ </a> {% endif %} {% else %} <!-- Lesson body --> - <div class="col-md-6" style="width: 100%"> - {{lesson.html_data|safe}} + <!-- Lesson Table of contents --> + <div class="row"> + {% if lesson.video_path %} + <div class="col-md-8"> + <div class="card-body"> + {% with lesson.video_path|video_name as video %} + {% if video.1 == "others" %} + <video id="player" playsinline controls> + <source src="{{video.0}}" /> + </video> + {% else %} + <div id="player" data-plyr-provider="{{video.1}}" data-plyr-embed-id="{{video.0}}"></div> + {% endif %} + {% endwith %} + </div> + </div> + {% if toc %} + <div class="col-md-4"> + <div class="card"> + <div class="card-header"> + <a class="card-link" data-toggle="collapse" href="#toc-collapse"> + Table Of Contents <i class="fa fa-angle-down"></i> + </a> + </div> + <div class="collapse show" id="toc-collapse"> + <div class="card-body" id="toc" style="max-height: 400px; overflow-y: auto;"> + <table class="table table-responsive"> + {% for content in toc %} + {% with content.get_toc_text as toc_name %} + <tr> + <td> + <a href="#" onclick="select_toc(this);" data-toc="{{content.id}}" data-toc-type="{{content.content}}"> + {{ toc_name }} + </a> + </td> + <td> + {{content.get_content_display}} + </td> + <td id="toc_time_{{content.id}}"> + {{content.time}} + </td> + <input type="hidden" id="toc_{{content.id}}" value="{% url 'yaksh:get_marker_quiz' course.id content.id %}" data-content="{{content.content}}"/> + <input type="hidden" id="toc_desc_{{content.id}}" value="{{content.content_object.description|safe}}" data-content="{{content.content}}"/> + </tr> + {% endwith %} + {% empty %} + <center class=table-responsive> + <span class="badge badge-warning">No Table of contents added</span> + </center> + {% endfor %} + </table> + </div> + </div> + </div> + </div> + {% endif %} + {% endif %} + <div class="col-md-8"> + <form action="{% url 'stats:add_tracker' track_id %}" method="POST" id="track-form"> + {% csrf_token %} + <input type="hidden" name="video_duration" id="video_duration"> + <input type="hidden" name="current_video_time" id="current_video_time"> + </form> + <div class="card"> + <div class="card-header"><h3><strong>Lesson Description</strong></h3></div> + <div class="card-body"> + <div class="col" style="width: 100%"> + {{lesson.html_data|safe}} + </div> + <div class="card-body" id="topic-description"></div> + <div class="col-md-7"> + {% with lesson.get_files as lesson_files %} + {% if lesson_files %} + <div class="card"> + <div class="card-header"> + Files for this lesson + </div> + <div class="card-body"> + {% for f in lesson_files %} + <a href="{{f.file.url}}" class="list-group-item"> + {{forloop.counter}}.{{ f.file.name|file_title }} + </a> + {% endfor %} + </div> + </div> + {% endif %} + {% endwith %} + </div> + </div> + </div> + </div> + </div> <br> - <a href="{% url 'yaksh:next_unit' course.id learning_module.id current_unit.id %}" class="btn btn-info btn-lg" > - Next <i class="fa fa-step-forward"></i> + <a href="{% url 'yaksh:next_unit' course.id learning_module.id current_unit.id %}" class="btn btn-info btn-lg" id="next_unit"> + Next <i class="fa fa-step-forward"></i> </a> + {% endif %} + {% if state == 'lesson' %} + <div class="col-md-8"> + <hr> + <b><u>Comments:</u></b> + <form action="" method="POST" enctype='multipart/form-data'> + <div class="form-group"> + {% csrf_token %} + {{form.as_p}} + </div> + <input type="submit" value="Submit" class="btn btn-success btn-lg"> + </form> </div> - <br> - <div class="col-md-7"> - {% with lesson.get_files as lesson_files %} - {% if lesson_files %} - <div class="card"> - <div class="card-header"> - Files for this lesson + {% endif %} + <br> + {% if comments %} + {% for comment in comments %} + <div class="card mb-2 col-md-8"> + <div class="card-body p-3"> + <div class="row mb-3"> + <div class="col-6"> + <strong class="text-muted"> + {% if comment.anonymous %} + Anonymous + {% else %} + {{comment.creator.username}} + {% endif %} + </strong> + </div> + <div class="col-6 text-right"> + <small class="text-muted">{{comment.created_at}} {% if user.profile.is_moderator %} <a href="{% url 'yaksh:hide_comment' course.id comment.uid %}" class="fa fa-trash"></a>{% endif %}</small> + </div> </div> - <div class="card-body"> - {% for f in lesson_files %} - <a href="{{f.file.url}}" class="list-group-item"> - {{forloop.counter}}.{{ f.file.name|file_title }} + <p class="card-text description">{{comment.description|safe}}</p> + <div> + {% if comment.image %} + <a href="{{comment.image.url}}" target="_blank"> + <center><img src="{{comment.image.url}}" class="comment_image thumbnail" alt=""></center> </a> - {% endfor %} + {% endif %} </div> </div> - {% endif %} - {% endwith %} - </div> + </div> + {% endfor %} {% endif %} </div> </div> -<script type="text/javascript"> - $(document).ready(function () { - $('#sidebarCollapse').on('click', function () { - $('#sidebar').toggleClass('active'); - }); - }); -</script> +<div class="modal" tabindex="-1" role="dialog" id="myModal"> + <div class="modal-dialog" role="document"> + <div class="modal-content"> + <div class="modal-body" id="lesson_quiz_question"></div> + </div> + </div> +</div> {% endblock %} diff --git a/yaksh/templates/yaksh/showquestions.html b/yaksh/templates/yaksh/showquestions.html index daeaea7..81bf01a 100644 --- a/yaksh/templates/yaksh/showquestions.html +++ b/yaksh/templates/yaksh/showquestions.html @@ -51,26 +51,17 @@ <br><br> <h4> Or </h4> <br> - <div class="input-group mb-3"> <div class="custom-file"> - {{ upload_form }} + {{ upload_form.file }} <label class="custom-file-label" for="id_file"> Choose file </label> </div> + <br><br> <div class="input-group-append"> <button class="btn btn-outline-primary" type="submit" name="upload" value="upload"><i class="fa fa-upload"></i> Upload File</button> </div> - </div> </div> - <script> - $('#id_file').on('change',function(){ - //get the file name - var fileName = $(this).val(); - //replace the "Choose a file" label - $(this).next('.custom-file-label').html(fileName); - }) - </script> </form> </div> </div> @@ -153,53 +144,57 @@ <a class="btn btn-lg btn-success" href="{% url 'yaksh:add_question' %}"> <i class="fa fa-plus-circle"></i> Add Question</a> {% if objects %} - <div> - <br> - {% include "yaksh/paginator.html" %} - <br> - <h5><input id="checkall" type="checkbox"> Select All </h5> - <div class="table-wrapper-2"> - <table id="questions-table" class="tablesorter table table-striped table-responsive-sm"> - <thead> - <tr> - <th> Select </th> - <th> Sr No. </th> - <th> Summary <i class="fa fa-sort"></i> </th> - <th> Language <i class="fa fa-sort"></i> </th> - <th> Type <i class="fa fa-sort"></i> </th> - <th> Marks <i class="fa fa-sort"></i> </th> - <th>Test</th> - <th>Download</th> - <th>Delete</th> - </tr> - </thead> - <tbody> - {% for question in objects %} - <tr> - <td> - <input type="checkbox" name="question" value="{{ question.id }}"> - </td> - <td>{{forloop.counter}}</td> - <td><a href="{% url 'yaksh:add_question' question.id %}">{{question.summary|capfirst}}</a></td> - <td>{{question.language|capfirst}}</td> - <td>{{question.type|capfirst}}</td> - <td>{{question.points}}</td> - <td> - <a href="{% url 'yaksh:test_question' question.id %}" class="btn btn-info"> - Test - </a> - </td> - <td><a href="{% url 'yaksh:download_question' question.id %}" class="btn btn-primary"> - <i class="fa fa-download"></i> Download</a></td> - <td><a href="{% url 'yaksh:delete_question' question.id %}" class="btn btn-danger" onclick="return confirm('Are you sure you want to delete {{question.summary|capfirst}}?')"> - <i class="fa fa-trash"></i> Delete</a></td> - </tr> - {% endfor %} - </tbody> - </table> + <br><br> + {% include "yaksh/paginator.html" %} + <br> + <h5><input id="checkall" type="checkbox"> Select All </h5> + <div class="card"> + {% if requested_users|length > 10 %} + <div class="table-responsive" style="height: 700px"> + {% else %} + <div class="table-responsive"> + {% endif %} + <table id="questions-table" class="table table-dark table-responsive-sm"> + <thead class="thead-dark"> + <tr> + <th> Select </th> + <th> Sr No. </th> + <th> Summary <i class="fa fa-sort"></i> </th> + <th> Language <i class="fa fa-sort"></i> </th> + <th> Type <i class="fa fa-sort"></i> </th> + <th> Marks <i class="fa fa-sort"></i> </th> + <th>Test</th> + <th>Download</th> + <th>Delete</th> + </tr> + </thead> + <tbody class="list"> + {% for question in objects %} + <tr> + <td> + <input type="checkbox" name="question" value="{{ question.id }}"> + </td> + <td>{{forloop.counter}}</td> + <td><a href="{% url 'yaksh:add_question' question.id %}">{{question.summary|capfirst}}</a></td> + <td>{{question.language|capfirst}}</td> + <td>{{question.type|capfirst}}</td> + <td>{{question.points}}</td> + <td> + <a href="{% url 'yaksh:test_question' question.id %}" class="btn btn-info"> + Test + </a> + </td> + <td><a href="{% url 'yaksh:download_question' question.id %}" class="btn btn-primary"> + <i class="fa fa-download"></i> Download</a></td> + <td><a href="{% url 'yaksh:delete_question' question.id %}" class="btn btn-danger" onclick="return confirm('Are you sure you want to delete {{question.summary|capfirst}}?')"> + <i class="fa fa-trash"></i> Delete</a></td> + </tr> + {% endfor %} + </tbody> + </table> </div> - </div> - {% include "yaksh/paginator.html" %} + </div> + {% include "yaksh/paginator.html" %} {% else %} <br><br> <div class="alert alert-info"> diff --git a/yaksh/templates/yaksh/sidebar.html b/yaksh/templates/yaksh/sidebar.html new file mode 100644 index 0000000..f6edc7f --- /dev/null +++ b/yaksh/templates/yaksh/sidebar.html @@ -0,0 +1,16 @@ +<!-- Sidebar --> +<div> + <ul class="nav nav-pills"> + <li class="nav-item"> + <a href="{% url 'yaksh:course_forum' course.id %}" class="nav-link {% if '/course_forum/' in request.path %}active{% endif %}"> + Course Forum + </a> + </li> + <li class="nav-item"> + <a href="{% url 'yaksh:lessons_forum' course.id %}" class="nav-link {% if '/lessons_forum/' in request.path %}active{% endif %}"> + Lessons Forum + </a> + </li> + </ul> +</div> +<!-- /#sidebar-wrapper --> diff --git a/yaksh/templates/yaksh/statistics_question.html b/yaksh/templates/yaksh/statistics_question.html index 58fd8db..5983835 100644 --- a/yaksh/templates/yaksh/statistics_question.html +++ b/yaksh/templates/yaksh/statistics_question.html @@ -1,9 +1,10 @@ {% extends "manage.html" %} +{% block title %} Question Statistics {% endblock %} {% block pagetitle %} Statistics for {{ quiz.description }}{% endblock pagetitle %} {% block content %} -<div class="container"> +<div class="container-fluid"> <div class="row"> <div class="col-md-2"> <ul class="list-group"> @@ -18,13 +19,118 @@ <div class="col-md-9"> {% if question_stats %} <p><b>Total number of participants: {{ total }}</b></p> - <table class="table table-bordered table-responsive-sm"> - <tr class="bg-light yakshred"><th>Question</th><th>Type</th><th>Total</th><th>Answered</th></tr> + <table class="table table-responsive-sm"> + <tr class="bg-light yakshred"><th>Question</th><th>Type</th><th>Total</th><th>Answered Correctly</th></tr> {% for question, value in question_stats.items %} - <tr><td>{{ question.summary }}</td><td>{{ question.type }}</td><td>{{value.1}}</td><td>{{ value.0 }} ({% widthratio value.0 value.1 100 %}%)</td></tr> + <tr> + <td style="width: 45%"> + <a href="#collapse_question_{{question.id}}" data-toggle="collapse"> + <i class="fa fa-plus"></i> {{ question.summary }}</a> + <div class="collapse" id="collapse_question_{{question.id}}"> + <br> + <div class="card"> + <div class="card-body"> + <strong> + Summary: + </strong> + <p> + {{ question.summary }} + </p> + <strong> + Description: + </strong> + <p> + {{ question.description|safe }} + </p> + <strong> + Points: + </strong> + <p> + {{ question.points }} + </p> + <strong> + Type: + </strong> + <p> + {{ question.get_type_display }} + </p> + {% if question.type in 'mcq mcc' %} + <strong> + Options: + </strong> + <p> + <ol> + {% for tc in question.testcase_set.all %} + <li> + {{ tc.mcqtestcase.options|safe }} + {% if tc.mcqtestcase.correct %} + <span class="badge badge-success">Correct</span> + {% endif %} + </li> + {% endfor %} + </ol> + </p> + {% endif %} + </div> + </div> + </div> + </td> + <td>{{ question.type }}</td> + <td>{{value.1}}</td><td>{{ value.0 }} ({% widthratio value.0 value.1 100 %}%)</td> + </tr> {% endfor %} </table> {% endif %} + + <!-- The Modal --> + <div class="modal" id="question_detail_modal"> + <div class="modal-dialog"> + <div class="modal-content"> + + <!-- Modal Header --> + <div class="modal-header"> + <h4 class="modal-title">Question Details</h4> + <button type="button" class="close" data-dismiss="modal">×</button> + </div> + + <!-- Modal body --> + <div class="modal-body"> + <table> + <tr> + <td>Summary</td> + <td>{{ question.summary }}</td> + </tr> + <tr> + <td>Description</td> + <td>{{ question.description }}</td> + </tr> <tr> + <td>Type</td> + <td>{{ question.type }}</td> + </tr> <tr> + <td>Points</td> + <td>{{ question.points }}</td> + </tr> + <tr> + {% for tc in question.testcase_set.all %} + tc + {% endfor %} + <br><br> + </tr> + </table> + </div> + + <!-- Modal footer --> + <div class="modal-footer"> + <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button> + </div> + + </div> + </div> + </div> + + </div> + </div> + <!-- end Modal outer --> </div> </div> </div> diff --git a/yaksh/templates/yaksh/user_data.html b/yaksh/templates/yaksh/user_data.html index 6252fb3..8d4a727 100644 --- a/yaksh/templates/yaksh/user_data.html +++ b/yaksh/templates/yaksh/user_data.html @@ -65,30 +65,25 @@ Submission Details </div> <div class="card-body"> - <table class="tablesorter table table-striped table-bordered table-responsive-sm" id='marks_table'> - <thead> + <table class="table table-dark table-responsive-sm" id='marks_table'> + <thead class="thead-dark"> <tr> <th>Questions</th> <th>Type</th> <th>Marks Obtained</th> </tr> </thead> - <tbody> - {% for question, answers in paper.get_question_answers.items %} - {% with answers|last as answer %} - <tr> - <td> - <a href="#question_{{question.id}}"> - {{ question.summary }} - </a> - </td> - <td>{{ question.type }}</td> - <td>{{ answer.answer.marks }}</td> - </tr> - {% endwith %} - {% endfor %} + <tbody class="list"> + {% for question, answers in paper.get_question_answers.items %} + <tr> + <td>{{question.summary}}</td> + <td>{{question.type}}</td> + <td>{{ answers|last }}</td> + </tr> + {% endfor %} </tbody> </table> + <br> {% for question, answers in paper.get_question_answers.items %} <div class="card" id="question_{{question.id}}"> <div class="card-header text-white bg-info"> @@ -183,30 +178,34 @@ </center> {% endif %} <!-- End has_user_assignments --> {% else %} - {% for ans in answers %} + + {% if answers|first is None %} + <p> Did not attempt </p> + {% else %} + {% for ans in answers|slice:":-1" %} <strong> Attempt Number: {{forloop.counter}} </strong> <div id="accordian"> <div class="card"> {% if ans.answer.correct %} - <div class="card-header"> + <div class="card-header bg-success"> <span class="badge badge-success"> Correct answer: </span> <a class="card-link" data-toggle="collapse" href="#submitted_{{ans.answer.id}}"> - <span class="pull-right"> + <span class="pull-right text-white"> Details <i class="fa fa-toggle-down"></i> </span> </a> </div> {% else %} - <div class="card-header"> + <div class="card-header bg-danger"> <span class="badge badge-danger"> Error: </span> <a class="card-link" data-toggle="collapse" href="#submitted_{{ans.answer.id}}"> - <span class="pull-right"> + <span class="pull-right text-white"> Details <i class="fa fa-toggle-down"></i> </span> </a> @@ -305,6 +304,7 @@ </div> <br> {% endfor %} <!-- End for ans in answers --> + {% endif %}<!-- check if attempted --> </div> </div> {% endif %} @@ -312,13 +312,11 @@ <div class="form-group"> <div class="col-md-2"> <label class="col-form-label" for="q{{ question.id }}">Marks:</label> - {% with answers|last as answer %} - <input id="q{{ question.id }}" type="text" name="q{{ question.id }}_marks" size="4" class="form-control" value="{{ answer.answer.marks }}" readonly=""><br><br> - {% endwith %} + <input id="q{{ question.id }}" type="text" name="q{{ question.id }}_marks" size="4" class="form-control" value="{{ answers|last }}" readonly=""><br><br> </div> </div> <hr/> - {% endfor %} {# for question, answers ... #} + {% endfor %} {# for question, answers ... #} <div class="form-group"> <h3>Teacher comments: </h3> <textarea id="comments_{{paper.question_paper.id}}" class="form-control" diff --git a/yaksh/templates/yaksh/user_status.html b/yaksh/templates/yaksh/user_status.html index 5f006c9..b5fe74e 100644 --- a/yaksh/templates/yaksh/user_status.html +++ b/yaksh/templates/yaksh/user_status.html @@ -1,19 +1,26 @@ {% if status %} <strong>Student Name: {{student.get_full_name|title}}</strong> <br> - <strong>Overall Course Progress:</strong> - <div class="progress"> - {% if course_percentage <= 50 %} - <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="40" - aria-valuemin="0" aria-valuemax="100" style="width:{{course_percentage}}%"> - {% elif course_percentage <= 75 %} - <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="40" - aria-valuemin="0" aria-valuemax="100" style="width:{{course_percentage}}%"> - {% else %} - <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" - aria-valuemin="0" aria-valuemax="100" style="width:{{course_percentage}}%"> - {% endif %} - <b style="color: black;">{{course_percentage}}% Completed</b> + <div class="progress-wrapper"> + <div class="progress-info"> + <div class="progress-label"> + <span>Course completed</span> + </div> + <div class="progress-percentage"> + <span> + {% if course_percentage %} {{course_percentage}} {% else %} 0 {% endif %}% + </span> + </div> + </div> + <div class="progress"> + <div + class="progress-bar progress-bar-primary" + role="progressbar" + aria-valuenow="{{course_percentage}}" + aria-valuemin="0" + aria-valuemax="100" + style="width:{{course_percentage}}%"> + </div> </div> </div> <br> @@ -22,17 +29,25 @@ <table class="table"> {% for module, percent in modules %} <tr> - <td width="30%">{{ module.name }}</td> + <td>{{ module.name }}</td> <td> - <div class="progress"> - {% if percent <= 50 %} - <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"> - {% elif percent <= 75 %} - <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"> - {% else %} - <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width:{{percent}}%"> - {% endif %} - <b style="color: black;">{{percent}}% Completed</b> + <div class="progress-wrapper"> + <div class="progress-info"> + <div class="progress-percentage"> + <span> + {% if percent %} {{percent}} {% else %} 0 {% endif %}% + </span> + </div> + </div> + <div class="progress"> + <div + class="progress-bar progress-bar-primary" + role="progressbar" + aria-valuenow="{{percent}}" + aria-valuemin="0" + aria-valuemax="100" + style="width:{{percent}}%"> + </div> </div> </div> </td> diff --git a/yaksh/templates/yaksh/view_answerpaper.html b/yaksh/templates/yaksh/view_answerpaper.html index d955192..43fb97a 100644 --- a/yaksh/templates/yaksh/view_answerpaper.html +++ b/yaksh/templates/yaksh/view_answerpaper.html @@ -70,17 +70,16 @@ Submission Details </div> <div class="card-body"> - <table class="tablesorter table table-striped table-bordered table-responsive-sm" id='marks_table'> - <thead> + <table class="table table-dark table-responsive-sm" id='marks_table'> + <thead class="thead-dark"> <tr> <th>Questions</th> <th>Type</th> <th>Marks Obtained</th> </tr> </thead> - <tbody> + <tbody class="list"> {% for question, answers in paper.get_question_answers.items %} - {% with answers|last as answer %} <tr> <td> <a href="#question_{{question.id}}"> @@ -88,12 +87,12 @@ </a> </td> <td>{{ question.type }}</td> - <td>{{ answer.answer.marks }}</td> + <td>{{ answers|last }}{{ answer.answer.marks }}</td> </tr> - {% endwith %} {% endfor %} </tbody> </table> + <br> {% for question, answers in paper.get_question_answers.items %} <div class="card" id="question_{{question.id}}"> <div class="card-header text-white bg-info"> @@ -159,12 +158,15 @@ <span class="badge badge-pill badge-primary">Test cases: </span> </h5> + <ul> {% for testcase in question.get_test_cases %} + {% if not testcase.hidden %} <strong> - {{ forloop.counter }}. {{ testcase }} + <li> {{ testcase }} </li> </strong> - <br> + {% endif %} {% endfor %} + </ul> {% endif %} <br> <div class="card"> @@ -197,30 +199,33 @@ </center> {% endif %} <!-- End has_user_assignments --> {% else %} - {% for ans in answers %} + {% if answers|first is None %} + <p> Did not attempt </p> + {% else %} + {% for ans in answers|slice:":-1" %} <strong> Attempt Number: {{forloop.counter}} </strong> <div id="accordian"> <div class="card"> {% if ans.answer.correct %} - <div class="card-header"> + <div class="card-header bg-success"> <span class="badge badge-success"> Correct answer: </span> <a class="card-link" data-toggle="collapse" href="#submitted_{{ans.answer.id}}"> - <span class="pull-right"> + <span class="pull-right text-white"> Details <i class="fa fa-toggle-down"></i> </span> </a> </div> {% else %} - <div class="card-header"> + <div class="card-header bg-danger"> <span class="badge badge-danger"> Error: </span> <a class="card-link" data-toggle="collapse" href="#submitted_{{ans.answer.id}}"> - <span class="pull-right"> + <span class="pull-right text-white"> Details <i class="fa fa-toggle-down"></i> </span> </a> @@ -230,6 +235,7 @@ <div class="card-body"> {% with ans.error_list as err %} {% for error in err %} + {% if not error.hidden %} {% if error.type == 'stdio' %} {% if error.given_input %} <table class="table table-bordered table-responsive-sm"> @@ -293,6 +299,7 @@ {% else %} <pre><code> {{error}} </code></pre> {% endif %} + {% endif %} {% endfor %} {% endwith %} {% if question.type == "code" %} @@ -319,6 +326,7 @@ </div> <br> {% endfor %} <!-- End for ans in answers --> + {% endif %}<!-- check if attempted --> </div> </div> {% endif %} @@ -326,9 +334,7 @@ <div class="form-group"> <div class="col-md-2"> <label class="col-form-label" for="q{{ question.id }}">Marks:</label> - {% with answers|last as answer %} - <input id="q{{ question.id }}" type="text" name="q{{ question.id }}_marks" size="4" class="form-control" value="{{ answer.answer.marks }}" readonly=""><br><br> - {% endwith %} + <input id="q{{ question.id }}" type="text" name="q{{ question.id }}_marks" size="4" class="form-control" value="{{ answers|last }}" readonly=""><br><br> </div> </div> <hr/> diff --git a/yaksh/templates/yaksh/view_notifications.html b/yaksh/templates/yaksh/view_notifications.html index 48193ed..72a8fd2 100644 --- a/yaksh/templates/yaksh/view_notifications.html +++ b/yaksh/templates/yaksh/view_notifications.html @@ -38,7 +38,7 @@ <span class="fa fa-check" aria-hidden="true" title="Mark as read"></span> </a> </div> - <div class="toast-body"> + <div class="toast-body bg-white"> {% if user.id != message.creator.id %} <p><b>From: </b>{{message.creator.get_full_name}}</p> {% endif %} diff --git a/yaksh/templatetags/custom_filters.py b/yaksh/templatetags/custom_filters.py index 7a065eb..7eba939 100644 --- a/yaksh/templatetags/custom_filters.py +++ b/yaksh/templatetags/custom_filters.py @@ -3,6 +3,7 @@ from django.template.defaultfilters import stringfilter from django.forms.fields import CheckboxInput from ast import literal_eval import os +import pandas as pd try: from itertools import zip_longest except ImportError: @@ -11,6 +12,11 @@ from pygments import highlight from pygments.lexers import get_lexer_by_name from pygments.formatters import HtmlFormatter +# Local Imports +from yaksh.models import User, Course, Quiz, TableOfContents, Lesson +from stats.models import TrackLesson + + register = template.Library() @@ -122,3 +128,86 @@ def highlight_spaces(text): return text.replace( " ", '<span style="background-color:#ffb6db"> </span>' ) + + +@register.filter(name='video_name') +def video_name(text): + video = literal_eval(text) + video = {k.lower(): v for k, v in video.items()} + if 'youtube' in video.keys(): + name, vformat = video.get('youtube'), 'youtube' + elif 'vimeo' in video.keys(): + name, vformat = video.get('vimeo'), 'vimeo' + else: + name, vformat = video.get('others'), 'others' + return name, vformat + + +@register.filter(name="to_integer") +def to_integer(text): + try: + value = int(text) + except ValueError: + value = '' + return value + + +@register.filter(name="to_float") +def to_float(text): + try: + value = float(text) + except ValueError: + value = '' + return value + + +@register.filter(name="to_str") +def to_str(text): + return text.decode("utf-8") + + +@register.inclusion_tag('yaksh/micromanaged.html') +def show_special_attempt(user_id, course_id): + user = User.objects.get(pk=user_id) + micromanagers = user.micromanaged.filter(course_id=course_id) + context = {'micromanagers': micromanagers} + return context + + +@register.inclusion_tag('yaksh/micromonitor.html') +def specail_attempt_monitor(user_id, course_id, quiz_id): + user = User.objects.get(pk=user_id) + micromanagers = user.micromanaged.filter(course_id=course_id, + quiz_id=quiz_id) + context = {'user_id': user_id, 'course_id': course_id, 'quiz_id': quiz_id} + if micromanagers.exists(): + context['micromanager'] = micromanagers.first() + return context + + +@register.simple_tag +def get_answers(toc_id, user_id): + return TableOfContents.objects.get_answer(toc_id, user_id) + + +@register.simple_tag +def has_lesson_video(lesson_id): + lesson = Lesson.objects.filter(id=lesson_id) + if lesson.exists(): + status = True if lesson.first().video_path else False + else: + status = False + return status + + +@register.simple_tag +def get_tc_percent(tc_id, data): + return data.get(str(tc_id), 0) + + +@register.simple_tag +def get_lesson_views(course_id, lesson_id): + course = Course.objects.get(id=course_id) + return TrackLesson.objects.filter( + course_id=course_id, lesson_id=lesson_id, watched=True + ).count(), course.students.count() diff --git a/yaksh/test_models.py b/yaksh/test_models.py index 4e6b1ae..fe0d3b5 100644 --- a/yaksh/test_models.py +++ b/yaksh/test_models.py @@ -1,11 +1,12 @@ import unittest from django.contrib.auth.models import Group +from django.contrib.contenttypes.models import ContentType from django.core.files.uploadedfile import SimpleUploadedFile from yaksh.models import User, Profile, Question, Quiz, QuestionPaper,\ QuestionSet, AnswerPaper, Answer, Course, StandardTestCase,\ StdIOBasedTestCase, FileUpload, McqTestCase, AssignmentUpload,\ LearningModule, LearningUnit, Lesson, LessonFile, CourseStatus, \ - create_group, legend_display_types, Post, Comment + create_group, legend_display_types, Post, Comment, MicroManager from yaksh.code_server import ( ServerPool, get_result as get_result_from_code_server ) @@ -27,7 +28,7 @@ from yaksh import settings def setUpModule(): - Group.objects.create(name='moderator') + Group.objects.get_or_create(name='moderator') # create user profile user = User.objects.create_user(username='creator', @@ -103,7 +104,8 @@ def setUpModule(): course.save() LessonFile.objects.create(lesson=lesson) CourseStatus.objects.create(course=course, user=course_user) - + MicroManager.objects.create(manager=user, course=course, quiz=quiz, + student=course_user) def tearDownModule(): User.objects.all().delete() @@ -116,6 +118,7 @@ def tearDownModule(): LearningUnit.objects.all().delete() LearningModule.objects.all().delete() AnswerPaper.objects.all().delete() + MicroManager.objects.all().delete() Group.objects.all().delete() @@ -129,6 +132,141 @@ class GlobalMethodsTestCases(unittest.TestCase): ############################################################################### +class MicroManagerTestCase(unittest.TestCase): + def setUp(self): + self.micromanager = MicroManager.objects.first() + self.course = self.micromanager.course + quiz = self.micromanager.quiz + self.questionpaper = QuestionPaper.objects.create(quiz=quiz) + question = Question.objects.get(summary='Q1') + self.questionpaper.fixed_questions.add(question) + self.questionpaper.update_total_marks() + self.student = User.objects.get(username='course_user') + + def tearDown(self): + self.questionpaper.delete() + + def test_micromanager(self): + # Given + user = User.objects.get(username='creator') + course = Course.objects.get(name='Python Course', creator=user) + quiz = Quiz.objects.get(description='demo quiz 1') + student = User.objects.get(username='course_user') + + # When + micromanager = MicroManager.objects.first() + + # Then + self.assertIsNotNone(micromanager) + self.assertEqual(micromanager.manager, user) + self.assertEqual(micromanager.student, student) + self.assertEqual(micromanager.course, course) + self.assertEqual(micromanager.quiz, quiz) + self.assertFalse(micromanager.special_attempt) + self.assertEqual(micromanager.attempts_permitted, 0) + self.assertEqual(micromanager.attempts_utilised, 0) + self.assertEqual(micromanager.wait_time, 0) + self.assertEqual(micromanager.attempt_valid_for, 90) + self.assertEqual(user.micromanaging.first(), micromanager) + self.assertEqual(student.micromanaged.first(), micromanager) + + def test_set_wait_time(self): + # Given + micromanager = self.micromanager + + # When + micromanager.set_wait_time(days=2) + + # Then + self.assertEqual(micromanager.wait_time, 2) + + def self_increment_attempts_permitted(self): + # Given + micromanager = self.micromanager + + # When + micromanager.increment_attempts_permitted() + + # Then + self.assertEqual(micromanager.attempts_permitted, 1) + + def test_update_permitted_time(self): + # Given + micromanager = self.micromanager + permit_time = timezone.now() + + # When + micromanager.update_permitted_time(permit_time) + + # Then + self.assertEqual(micromanager.permitted_time, permit_time) + + def test_has_student_attempts_exhausted(self): + # Given + micromanager = self.micromanager + + # Then + self.assertFalse(micromanager.has_student_attempts_exhausted()) + + def test_has_quiz_time_exhausted(self): + # Given + micromanager = self.micromanager + + # Then + self.assertFalse(micromanager.has_quiz_time_exhausted()) + + def test_is_special_attempt_required(self): + # Given + micromanager = self.micromanager + attempt = 1 + ip = '127.0.0.1' + + # Then + self.assertFalse(micromanager.is_special_attempt_required()) + + # When + answerpaper = self.questionpaper.make_answerpaper(self.student, ip, + attempt, + self.course.id) + answerpaper.update_marks(state='completed') + + # Then + self.assertTrue(micromanager.is_special_attempt_required()) + + answerpaper.delete() + + def test_allow_special_attempt(self): + # Given + micromanager = self.micromanager + + # When + micromanager.allow_special_attempt() + + # Then + self.assertFalse(micromanager.special_attempt) + + def test_has_special_attempt(self): + # Given + micromanager = self.micromanager + + # Then + self.assertFalse(micromanager.has_special_attempt()) + + def test_is_attempt_time_valid(self): + # Given + micromanager = self.micromanager + + # Then + self.assertTrue(micromanager.is_attempt_time_valid()) + + def test_can_student_attempt(self): + # Given + micromanager = self.micromanager + + # Then + self.assertFalse(micromanager.can_student_attempt()) + + class LessonTestCases(unittest.TestCase): def setUp(self): self.lesson = Lesson.objects.get(name='L1') @@ -199,7 +337,7 @@ class LearningModuleTestCases(unittest.TestCase): def test_learning_module(self): self.assertEqual(self.learning_module.description, 'module one') self.assertEqual(self.learning_module.creator, self.creator) - self.assertTrue(self.learning_module.check_prerequisite) + self.assertFalse(self.learning_module.check_prerequisite) self.assertEqual(self.learning_module.order, 0) def test_prerequisite_passes(self): @@ -234,16 +372,16 @@ class LearningModuleTestCases(unittest.TestCase): self.assertEqual(module_quiz_lesson, quiz_lessons) def test_toggle_check_prerequisite(self): - self.assertTrue(self.learning_module.check_prerequisite) + self.assertFalse(self.learning_module.check_prerequisite) # When self.learning_module.toggle_check_prerequisite() # Then - self.assertFalse(self.learning_module.check_prerequisite) + self.assertTrue(self.learning_module.check_prerequisite) # When self.learning_module.toggle_check_prerequisite() # Then - self.assertTrue(self.learning_module.check_prerequisite) + self.assertFalse(self.learning_module.check_prerequisite) def test_get_next_unit(self): # Given @@ -329,8 +467,8 @@ class LearningUnitTestCases(unittest.TestCase): ) self.assertIsNone(self.learning_unit_one.quiz) self.assertIsNone(self.learning_unit_two.lesson) - self.assertTrue(self.learning_unit_one.check_prerequisite) - self.assertTrue(self.learning_unit_two.check_prerequisite) + self.assertFalse(self.learning_unit_one.check_prerequisite) + self.assertFalse(self.learning_unit_two.check_prerequisite) class ProfileTestCases(unittest.TestCase): @@ -431,7 +569,8 @@ class QuestionTestCases(unittest.TestCase): self.test_case_upload_data = [{"test_case": "assert fact(3)==6", "test_case_type": "standardtestcase", "test_case_args": "", - "weight": 1.0 + "weight": 1.0, + "hidden": False }] questions_data = [{"snippet": "def fact()", "active": True, "points": 1.0, @@ -841,7 +980,11 @@ class QuestionPaperTestCases(unittest.TestCase): total_marks=0.0, shuffle_questions=True ) - + self.question_paper_with_time_between_attempts.fixed_question_order = \ + "{0}, {1}".format(self.questions[3].id, self.questions[5].id) + self.question_paper_with_time_between_attempts.fixed_questions.add( + self.questions[3], self.questions[5] + ) self.question_paper.fixed_question_order = "{0}, {1}".format( self.questions[3].id, self.questions[5].id ) @@ -852,7 +995,7 @@ class QuestionPaperTestCases(unittest.TestCase): # create two QuestionSet for random questions # QuestionSet 1 self.question_set_1 = QuestionSet.objects.create( - marks=2, num_questions=2 + marks=1, num_questions=2 ) # add pool of questions for random sampling @@ -865,7 +1008,7 @@ class QuestionPaperTestCases(unittest.TestCase): # QuestionSet 2 self.question_set_2 = QuestionSet.objects.create( - marks=3, num_questions=3 + marks=1, num_questions=3 ) # add pool of questions @@ -932,7 +1075,7 @@ class QuestionPaperTestCases(unittest.TestCase): """ Test update_total_marks() method of Question Paper""" self.assertEqual(self.question_paper.total_marks, 0) self.question_paper.update_total_marks() - self.assertEqual(self.question_paper.total_marks, 15) + self.assertEqual(self.question_paper.total_marks, 7.0) def test_get_random_questions(self): """ Test get_random_questions() method of Question Paper""" @@ -1029,7 +1172,7 @@ class QuestionPaperTestCases(unittest.TestCase): qu_list = [str(self.questions_list[0]), str(self.questions_list[1])] trial_paper = \ QuestionPaper.objects.create_trial_paper_to_test_quiz( - self.trial_quiz, self.quiz.id + self.trial_quiz, self.quiz_with_time_between_attempts.id ) trial_paper.random_questions.add(self.question_set_1) trial_paper.random_questions.add(self.question_set_2) @@ -1645,18 +1788,7 @@ class AnswerPaperTestCases(unittest.TestCase): """ Test get_question_answer() method of Answer Paper""" questions = self.answerpaper.questions.all() answered = self.answerpaper.get_question_answers() - for question in questions: - answers_saved = Answer.objects.filter(question=question) - error_list = [json.loads(ans.error) for ans in answers_saved] - if answers_saved: - self.assertEqual(len(answered[question]), len(answers_saved)) - ans = [] - err = [] - for val in answered[question]: - ans.append(val.get('answer')) - err.append(val.get('error_list')) - self.assertEqual(set(ans), set(answers_saved)) - self.assertEqual(error_list, err) + self.assertEqual(list(questions), list(answered.keys())) def test_is_answer_correct(self): self.assertTrue(self.answerpaper.is_answer_correct(self.questions[0])) @@ -2029,7 +2161,8 @@ class TestCaseTestCases(unittest.TestCase): {'test_case': 'assert myfunc(12, 13) == 15', 'test_case_type': 'standardtestcase', 'test_case_args': "", - 'weight': 1.0 + 'weight': 1.0, + 'hidden': False }] } self.answer_data_json = json.dumps(answer_data) @@ -2286,9 +2419,10 @@ class PostModelTestCases(unittest.TestCase): enrollment='Enroll Request', creator=self.user3 ) + course_ct = ContentType.objects.get_for_model(self.course) self.post1 = Post.objects.create( title='Post 1', - course=self.course, + target_ct=course_ct, target_id=self.course.id, creator=self.user1, description='Post 1 description' ) @@ -2311,56 +2445,9 @@ class PostModelTestCases(unittest.TestCase): count = self.post1.get_comments_count() self.assertEquals(count, 2) - def test__str__(self): - self.assertEquals(str(self.post1.title), self.post1.title) - def tearDown(self): self.user1.delete() self.user2.delete() self.user3.delete() self.course.delete() self.post1.delete() - - -class CommentModelTestCases(unittest.TestCase): - def setUp(self): - self.user1 = User.objects.create( - username='bart', - password='bart', - email='bart@test.com' - ) - Profile.objects.create( - user=self.user1, - roll_number=1, - institute='IIT', - department='Chemical', - position='Student' - ) - self.course = Course.objects.create( - name='Python Course', - enrollment='Enroll Request', - creator=self.user1 - ) - self.post1 = Post.objects.create( - title='Post 1', - course=self.course, - creator=self.user1, - description='Post 1 description' - ) - self.comment1 = Comment.objects.create( - post_field=self.post1, - creator=self.user1, - description='Post 1 comment 1' - ) - - def test__str__(self): - self.assertEquals( - str(self.comment1.post_field.title), - self.comment1.post_field.title - ) - - def tearDown(self): - self.user1.delete() - self.course.delete() - self.post1.delete() - self.comment1.delete()
\ No newline at end of file diff --git a/yaksh/test_views.py b/yaksh/test_views.py index 3a42cf5..b46a6d9 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -22,6 +22,7 @@ from django.conf import settings from django.core.files.uploadedfile import SimpleUploadedFile from django.core.files import File from django.contrib.messages import get_messages +from django.contrib.contenttypes.models import ContentType from celery.contrib.testing.worker import start_worker from django.test import SimpleTestCase @@ -30,7 +31,8 @@ from yaksh.models import ( User, Profile, Question, Quiz, QuestionPaper, AnswerPaper, Answer, Course, AssignmentUpload, McqTestCase, IntegerTestCase, StringTestCase, FloatTestCase, FIXTURES_DIR_PATH, LearningModule, LearningUnit, Lesson, - LessonFile, CourseStatus, dict_to_yaml, Post, Comment + LessonFile, CourseStatus, dict_to_yaml, Post, Comment, Topic, + TableOfContents, LessonQuizAnswer ) from yaksh.views import add_as_moderator, course_forum, post_comments from yaksh.forms import PostForm, CommentForm @@ -2565,6 +2567,372 @@ class TestAddCourse(TestCase): target_status_code=301) +class TestUploadMarks(TestCase): + def setUp(self): + self.client = Client() + + self.mod_group = Group.objects.create(name='moderator') + + # Create Moderator with profile + self.teacher = User.objects.create_user( + username='teacher', + password='teacher', + first_name='teacher', + last_name='teaacher', + email='teacher@test.com' + ) + + Profile.objects.create( + user=self.teacher, + roll_number=101, + institute='IIT', + department='Chemical', + position='Moderator', + timezone='UTC', + is_moderator=True + ) + + self.TA = User.objects.create_user( + username='TA', + password='TA', + first_name='TA', + last_name='TA', + email='TA@test.com' + ) + + Profile.objects.create( + user=self.TA, + roll_number=102, + institute='IIT', + department='Aeronautical', + position='Moderator', + timezone='UTC', + is_moderator=True + ) + + # Create Student + self.student1 = User.objects.create_user( + username='student1', + password='student1', + first_name='student_first_name', + last_name='student_last_name', + email='demo_student1@test.com' + ) + self.student2 = User.objects.create_user( + username='student2', + password='student2', + first_name='student_first_name', + last_name='student_last_name', + email='demo_student2@test.com' + ) + + # Add to moderator group + self.mod_group.user_set.add(self.teacher) + self.mod_group.user_set.add(self.TA) + + self.course = Course.objects.create( + name="Python Course", + enrollment="Enroll Request", creator=self.teacher + ) + + self.question1 = Question.objects.create( + id=1212, summary='Dummy1', points=1, + type='code', user=self.teacher + ) + self.question2 = Question.objects.create( + id=1213, summary='Dummy2', points=1, + type='code', user=self.teacher + ) + + self.quiz = Quiz.objects.create(time_between_attempts=0, + description='demo quiz') + self.question_paper = QuestionPaper.objects.create( + quiz=self.quiz, total_marks=2.0 + ) + self.question_paper.fixed_questions.add(self.question1) + self.question_paper.fixed_questions.add(self.question2) + self.question_paper.save() + + self.ans_paper1 = AnswerPaper.objects.create( + user=self.student1, attempt_number=1, + question_paper=self.question_paper, start_time=timezone.now(), + user_ip='101.0.0.1', course=self.course, + end_time=timezone.now()+timezone.timedelta(minutes=20) + ) + self.ans_paper2 = AnswerPaper.objects.create( + user=self.student2, attempt_number=1, + question_paper=self.question_paper, start_time=timezone.now(), + user_ip='101.0.0.1', course=self.course, + end_time=timezone.now()+timezone.timedelta(minutes=20) + ) + self.answer1 = Answer( + question=self.question1, answer="answer1", + correct=False, error=json.dumps([]), marks=0 + ) + self.answer2 = Answer( + question=self.question2, answer="answer2", + correct=False, error=json.dumps([]), marks=0 + ) + self.answer12 = Answer( + question=self.question1, answer="answer12", + correct=False, error=json.dumps([]), marks=0 + ) + self.answer1.save() + self.answer12.save() + self.answer2.save() + self.ans_paper1.answers.add(self.answer1) + self.ans_paper1.answers.add(self.answer2) + self.ans_paper2.answers.add(self.answer12) + self.ans_paper1.questions_answered.add(self.question1) + self.ans_paper1.questions_answered.add(self.question2) + self.ans_paper2.questions_answered.add(self.question1) + self.ans_paper1.questions.add(self.question1) + self.ans_paper1.questions.add(self.question2) + self.ans_paper2.questions.add(self.question1) + self.ans_paper2.questions.add(self.question2) + + def tearDown(self): + self.client.logout() + self.student1.delete() + self.student2.delete() + self.TA.delete() + self.teacher.delete() + self.course.delete() + self.ans_paper1.delete() + self.ans_paper2.delete() + self.question_paper.delete() + self.quiz.delete() + self.question1.delete() + self.question2.delete() + self.mod_group.delete() + + def test_upload_users_marks_not_attempted_question(self): + # Given + self.client.login( + username=self.teacher.username, + password='teacher' + ) + csv_file_path = os.path.join(FIXTURES_DIR_PATH, + "marks_not_attempted_question.csv") + csv_file = open(csv_file_path, 'rb') + upload_file = SimpleUploadedFile(csv_file_path, csv_file.read()) + + # When + response = self.client.post( + reverse('yaksh:upload_marks', + kwargs={'course_id': self.course.id, + 'questionpaper_id': self.question_paper.id}), + data={'csv_file': upload_file}) + csv_file.close() + + # Then + self.assertEqual(response.status_code, 302) + ans_paper = AnswerPaper.objects.get(user=self.student2, + question_paper=self.question_paper, + course=self.course) + self.assertEqual(ans_paper.marks_obtained, 1.3) + answer = Answer.objects.get(answer='answer12') + self.assertEqual(answer.comment.strip(), 'very good') + + def test_upload_users_marks_invalid_question_id(self): + # Given + self.client.login( + username=self.teacher.username, + password='teacher' + ) + csv_file_path = os.path.join(FIXTURES_DIR_PATH, + "marks_invalid_question_id.csv") + csv_file = open(csv_file_path, 'rb') + upload_file = SimpleUploadedFile(csv_file_path, csv_file.read()) + + # When + response = self.client.post( + reverse('yaksh:upload_marks', + kwargs={'course_id': self.course.id, + 'questionpaper_id': self.question_paper.id}), + data={'csv_file': upload_file}) + csv_file.close() + + # Then + self.assertEqual(response.status_code, 302) + + def test_upload_users_marks_invalid_user(self): + # Given + self.client.login( + username=self.teacher.username, + password='teacher' + ) + csv_file_path = os.path.join(FIXTURES_DIR_PATH, + "marks_invalid_user.csv") + csv_file = open(csv_file_path, 'rb') + upload_file = SimpleUploadedFile(csv_file_path, csv_file.read()) + + # When + response = self.client.post( + reverse('yaksh:upload_marks', + kwargs={'course_id': self.course.id, + 'questionpaper_id': self.question_paper.id}), + data={'csv_file': upload_file}) + csv_file.close() + + # Then + self.assertEqual(response.status_code, 302) + + def test_upload_users_marks_invalid_data(self): + # Given + self.client.login( + username=self.teacher.username, + password='teacher' + ) + csv_file_path = os.path.join(FIXTURES_DIR_PATH, + "marks_invalid_data.csv") + csv_file = open(csv_file_path, 'rb') + upload_file = SimpleUploadedFile(csv_file_path, csv_file.read()) + + # When + response = self.client.post( + reverse('yaksh:upload_marks', + kwargs={'course_id': self.course.id, + 'questionpaper_id': self.question_paper.id}), + data={'csv_file': upload_file}) + csv_file.close() + + # Then + self.assertEqual(response.status_code, 302) + + def test_upload_users_marks_headers_missing(self): + # Given + self.client.login( + username=self.teacher.username, + password='teacher' + ) + csv_file_path = os.path.join(FIXTURES_DIR_PATH, + "marks_header_missing.csv") + csv_file = open(csv_file_path, 'rb') + upload_file = SimpleUploadedFile(csv_file_path, csv_file.read()) + + # When + response = self.client.post( + reverse('yaksh:upload_marks', + kwargs={'course_id': self.course.id, + 'questionpaper_id': self.question_paper.id}), + data={'csv_file': upload_file}) + csv_file.close() + + # Then + self.assertEqual(response.status_code, 302) + ans_paper = AnswerPaper.objects.get(user=self.student1, + question_paper=self.question_paper, + course=self.course) + self.assertEqual(ans_paper.marks_obtained, 0.9) + + def test_upload_users_marks_headers_modified(self): + # Given + self.client.login( + username=self.teacher.username, + password='teacher' + ) + csv_file_path = os.path.join(FIXTURES_DIR_PATH, + "marks_header_modified.csv") + csv_file = open(csv_file_path, 'rb') + upload_file = SimpleUploadedFile(csv_file_path, csv_file.read()) + + # When + response = self.client.post( + reverse('yaksh:upload_marks', + kwargs={'course_id': self.course.id, + 'questionpaper_id': self.question_paper.id}), + data={'csv_file': upload_file}) + csv_file.close() + + # Then + self.assertEqual(response.status_code, 302) + answer = Answer.objects.get(answer='answer1') + self.assertEqual(answer.comment.strip(), 'fine work') + self.assertNotEqual(answer.marks, 0.75) + answer = Answer.objects.get(answer='answer2') + self.assertEqual(answer.comment.strip(), 'not nice') + + def test_upload_users_marks_csv_single_question(self): + # Given + self.client.login( + username=self.teacher.username, + password='teacher' + ) + csv_file_path = os.path.join(FIXTURES_DIR_PATH, + "marks_single_question.csv") + csv_file = open(csv_file_path, 'rb') + upload_file = SimpleUploadedFile(csv_file_path, csv_file.read()) + + # When + response = self.client.post( + reverse('yaksh:upload_marks', + kwargs={'course_id': self.course.id, + 'questionpaper_id': self.question_paper.id}), + data={'csv_file': upload_file}) + csv_file.close() + + # Then + self.assertEqual(response.status_code, 302) + ans_paper = AnswerPaper.objects.get(user=self.student1, + question_paper=self.question_paper, + course=self.course) + self.assertEqual(ans_paper.marks_obtained, 0.5) + answer = Answer.objects.get(answer='answer1') + self.assertEqual(answer.comment.strip(), 'okay work') + + def test_upload_users_with_correct_csv(self): + # Given + self.client.login( + username=self.teacher.username, + password='teacher' + ) + csv_file_path = os.path.join(FIXTURES_DIR_PATH, "marks_correct.csv") + csv_file = open(csv_file_path, 'rb') + upload_file = SimpleUploadedFile(csv_file_path, csv_file.read()) + + # When + response = self.client.post( + reverse('yaksh:upload_marks', + kwargs={'course_id': self.course.id, + 'questionpaper_id': self.question_paper.id}), + data={'csv_file': upload_file}) + csv_file.close() + + # Then + self.assertEqual(response.status_code, 302) + ans_paper = AnswerPaper.objects.get(user=self.student1, + question_paper=self.question_paper, + course=self.course) + self.assertEqual(ans_paper.marks_obtained, 2) + answer = Answer.objects.get(answer='answer1') + self.assertEqual(answer.comment.strip(), 'good work') + + def test_upload_users_with_wrong_csv(self): + # Given + self.client.login( + username='teacher', + password='teacher' + ) + csv_file_path = os.path.join(FIXTURES_DIR_PATH, "demo_questions.zip") + csv_file = open(csv_file_path, 'rb') + upload_file = SimpleUploadedFile(csv_file_path, csv_file.read()) + message = "The file uploaded is not a CSV file." + + # When + response = self.client.post( + reverse('yaksh:upload_marks', + kwargs={'course_id': self.course.id, + 'questionpaper_id': self.question_paper.id}), + data={'csv_file': upload_file}) + csv_file.close() + + # Then + self.assertEqual(response.status_code, 302) + messages = [m.message for m in get_messages(response.wsgi_request)] + self.assertEqual('The file uploaded is not a CSV file.', messages[0]) + + class TestCourseDetail(TestCase): def setUp(self): self.client = Client() @@ -2756,6 +3124,33 @@ class TestCourseDetail(TestCase): id=uploaded_users.first().id).exists() ) + def test_upload_existing_user_email(self): + # Given + self.client.login( + username=self.user1.username, password=self.user1_plaintext_pass) + csv_file_path = os.path.join(FIXTURES_DIR_PATH, + 'user_existing_email.csv') + csv_file = open(csv_file_path, 'rb') + upload_file = SimpleUploadedFile(csv_file_path, csv_file.read()) + csv_file.close() + + # When + response = self.client.post( + reverse('yaksh:upload_users', + kwargs={'course_id': self.user1_course.id}), + data={'csv_file': upload_file}) + + # Then + uploaded_users = User.objects.filter(email='demo_student@test.com') + self.assertEqual(response.status_code, 302) + messages = [m.message for m in get_messages(response.wsgi_request)] + self.assertIn('demo_student', messages[0]) + self.assertTrue( + self.user1_course.students.filter( + id=uploaded_users.first().id).exists() + ) + self.assertEqual(uploaded_users.count(), 1) + def test_upload_users_add_update_reject(self): # Given self.client.login( @@ -3293,7 +3688,7 @@ class TestCourseDetail(TestCase): response = self.client.get(reverse('yaksh:download_sample_csv')) self.assertEqual(response.status_code, 200) self.assertEqual(response.get('Content-Disposition'), - 'attachment; filename="sample_user_upload"') + 'attachment; filename="sample_user_upload.csv"') def test_view_course_status(self): """ Test to view course status """ @@ -3386,7 +3781,7 @@ class TestCourseDetail(TestCase): self.assertEqual(response.status_code, 200) data = response.json()['user_data'] self.assertIn("Student_First_Name Student_Last_Name", data) - self.assertIn("Overall Course Progress", data) + self.assertIn("Course completed", data) self.assertIn("Per Module Progress", data) @@ -3939,6 +4334,7 @@ class TestSelfEnroll(TestCase): self.assertRedirects(response, '/exam/manage/') + class TestGrader(SimpleTestCase): allow_database_queries = True @@ -5938,12 +6334,11 @@ class TestQuestionPaper(TestCase): 'add-random': ['']} ) - self.assertEqual(response.status_code, 200) - self.assertTemplateUsed(response, 'yaksh/design_questionpaper.html') - random_set = response.context['random_sets'][0] - added_random_ques = random_set.questions.all() - self.assertIn(self.random_que1, added_random_ques) - self.assertIn(self.random_que2, added_random_ques) + self.assertEqual(response.status_code, 302) + self.assertTrue( + self.question_paper.random_questions.filter( + id__in=[self.random_que1.id, self.random_que2.id]).exists() + ) # Check if questions already exists self.client.login( @@ -5970,10 +6365,11 @@ class TestQuestionPaper(TestCase): data={'checked_ques': [self.fixed_que.id], 'add-fixed': ''} ) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['qpaper'], self.fixed_question_paper) - self.assertEqual(response.context['fixed_questions'][0], - self.fixed_que) + self.assertEqual(response.status_code, 302) + self.assertTrue( + self.fixed_question_paper.fixed_questions.filter( + id=self.fixed_que.id).exists() + ) # Add one more fixed question in question paper response = self.client.post( @@ -5984,10 +6380,11 @@ class TestQuestionPaper(TestCase): data={'checked_ques': [self.question_float.id], 'add-fixed': ''} ) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['qpaper'], self.fixed_question_paper) - self.assertEqual(response.context['fixed_questions'], - [self.fixed_que, self.question_float]) + self.assertEqual(response.status_code, 302) + self.assertTrue( + self.fixed_question_paper.fixed_questions.filter( + id=self.question_float.id).exists() + ) # Remove fixed question from question paper response = self.client.post( @@ -5998,10 +6395,11 @@ class TestQuestionPaper(TestCase): data={'added-questions': [self.fixed_que.id], 'remove-fixed': ''} ) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['qpaper'], self.fixed_question_paper) - self.assertEqual(response.context['fixed_questions'], - [self.question_float]) + self.assertEqual(response.status_code, 302) + self.assertFalse( + self.fixed_question_paper.fixed_questions.filter( + id=self.fixed_que.id).exists() + ) # Remove one more fixed question from question paper response = self.client.post( @@ -6012,9 +6410,11 @@ class TestQuestionPaper(TestCase): data={'added-questions': [self.question_float.id], 'remove-fixed': ''} ) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['qpaper'], self.fixed_question_paper) - self.assertEqual(response.context['fixed_questions'], []) + self.assertEqual(response.status_code, 302) + self.assertFalse( + self.fixed_question_paper.fixed_questions.filter( + id=self.question_float.id).exists() + ) # Remove random questions from question paper random_que_set = self.question_paper.random_questions.all().first() @@ -6026,9 +6426,11 @@ class TestQuestionPaper(TestCase): data={'random_sets': random_que_set.id, 'remove-random': ''} ) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['qpaper'], self.question_paper) - self.assertEqual(len(response.context['random_sets']), 0) + self.assertEqual(response.status_code, 302) + self.assertFalse( + self.question_paper.random_questions.filter( + id=random_que_set.id).exists() + ) class TestLearningModule(TestCase): @@ -6184,7 +6586,7 @@ class TestLearningModule(TestCase): learning_module = LearningModule.objects.get(name="test module1") self.assertEqual(learning_module.description, "my test1") self.assertEqual(learning_module.creator, self.user) - self.assertTrue(learning_module.check_prerequisite) + self.assertFalse(learning_module.check_prerequisite) self.assertEqual(learning_module.html_data, Markdown().convert("my test1")) @@ -6277,7 +6679,7 @@ class TestLearningModule(TestCase): updated_learning_unit = LearningUnit.objects.get(id=learning_unit.id) self.assertEqual(response.status_code, 200) self.assertTemplateUsed(response, 'yaksh/add_module.html') - self.assertFalse(updated_learning_unit.check_prerequisite) + self.assertTrue(updated_learning_unit.check_prerequisite) # Test to remove learning unit from learning module response = self.client.post( @@ -6569,6 +6971,54 @@ class TestLessons(TestCase): lesson=self.lesson).first() self.assertIn("test", lesson_files.file.name) lesson_file_path = lesson_files.file.path + + # Teacher adds multiple videos in video path + response = self.client.post( + reverse('yaksh:edit_lesson', + kwargs={"lesson_id": self.lesson.id, + "course_id": self.course.id, + "module_id": self.learning_module.id}), + data={"name": "updated lesson", + "description": "updated description", + "video_path": "{'youtube': 'test', 'others': 'test'}", + "Save": "Save"} + ) + self.assertEqual(response.status_code, 200) + self.assertIn( + "Video path : Only one type of video path is allowed", + str(response.content) + ) + + # Teacher adds wrong pattern in video path + response = self.client.post( + reverse('yaksh:edit_lesson', + kwargs={"lesson_id": self.lesson.id, + "course_id": self.course.id, + "module_id": self.learning_module.id}), + data={"name": "updated lesson", + "description": "updated description", + "video_path": "test", + "Save": "Save"} + ) + self.assertEqual(response.status_code, 200) + self.assertIn( + "Video path : Value must be dictionary", + str(response.content) + ) + + # Teacher adds correct path in video path + response = self.client.post( + reverse('yaksh:edit_lesson', + kwargs={"lesson_id": self.lesson.id, + "course_id": self.course.id, + "module_id": self.learning_module.id}), + data={"name": "updated lesson", + "description": "updated description", + "video_path": "{'others': 'test'}", + "Save": "Save"} + ) + self.assertEqual(response.status_code, 302) + # Teacher removes the lesson file response = self.client.post( reverse('yaksh:edit_lesson', @@ -6645,20 +7095,6 @@ class TestLessons(TestCase): self.assertEqual(response.status_code, 200) self.assertEqual(response.context["msg"], err_msg) - def test_preview_lesson_description(self): - """ Test preview lesson description converted from md to html""" - self.client.login( - username=self.teacher.username, - password=self.teacher_plaintext_pass - ) - lesson = json.dumps({'description': self.lesson.description}) - response = self.client.post( - reverse('yaksh:preview_html_text'), - data=lesson, content_type="application/json" - ) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.json()['data'], '<p>test description</p>') - class TestPost(TestCase): def setUp(self): @@ -6725,7 +7161,7 @@ class TestPost(TestCase): }) response = self.client.get(url, follow=True) self.assertEqual(response.status_code, 200) - redirection_url = '/exam/login/?next=/exam/forum/{0}/'.format( + redirection_url = '/exam/login/?next=/exam/forum/course_forum/{0}/'.format( str(self.course.id) ) self.assertRedirects(response, redirection_url) @@ -6756,7 +7192,7 @@ class TestPost(TestCase): self.assertEquals(response.status_code, 404) def test_course_forum_url_resolves_course_forum_view(self): - view = resolve('/exam/forum/1/') + view = resolve('/exam/forum/course_forum/1/') self.assertEqual(view.func, course_forum) def test_course_forum_contains_link_to_post_comments_page(self): @@ -6769,10 +7205,11 @@ class TestPost(TestCase): url = reverse('yaksh:course_forum', kwargs={ 'course_id': self.course.id }) + course_ct = ContentType.objects.get_for_model(self.course) post = Post.objects.create( title='post 1', description='post 1 description', - course=self.course, + target_ct=course_ct, target_id=self.course.id, creator=self.student ) response = self.client.get(url) @@ -6797,9 +7234,11 @@ class TestPost(TestCase): } response = self.client.post(url, data) # This shouldn't be 302. Check where does it redirects. + course_ct = ContentType.objects.get_for_model(self.course) result = Post.objects.filter(title='Post 1', creator=self.student, - course=self.course) + target_ct=course_ct, + target_id=self.course.id) self.assertTrue(result.exists()) def test_new_post_invalid_post_data(self): @@ -6832,24 +7271,12 @@ class TestPost(TestCase): self.assertEquals(response.status_code, 200) self.assertFalse(Post.objects.exists()) - def test_contains_form(self): - self.client.login( - username=self.student.username, - password=self.student_plaintext_pass - ) - self.course.students.add(self.student) - url = reverse('yaksh:course_forum', kwargs={ - 'course_id': self.course.id - }) - response = self.client.get(url) - form = response.context.get('form') - self.assertIsInstance(form, PostForm) - def test_open_created_post_denies_anonymous_user(self): + course_ct = ContentType.objects.get_for_model(self.course) post = Post.objects.create( title='post 1', description='post 1 description', - course=self.course, + target_ct=course_ct, target_id=self.course.id, creator=self.student ) url = reverse('yaksh:post_comments', kwargs={ @@ -6888,11 +7315,12 @@ class TestPost(TestCase): password=self.user_plaintext_pass ) self.course.students.add(self.user) + course_ct = ContentType.objects.get_for_model(self.course) post = Post.objects.create( title='post 1', description='post 1 description', - course=self.course, - creator=self.user + target_ct=course_ct, target_id=self.course.id, + creator=self.student ) url = reverse('yaksh:hide_post', kwargs={ 'course_id': self.course.id, @@ -6955,10 +7383,11 @@ class TestPostComment(TestCase): enrollment="Enroll Request", creator=self.user ) + course_ct = ContentType.objects.get_for_model(self.course) self.post = Post.objects.create( title='post 1', description='post 1 description', - course=self.course, + target_ct=course_ct, target_id=self.course.id, creator=self.student ) @@ -7714,3 +8143,840 @@ class TestStartExam(TestCase): self.student.delete() self.quiz1.delete() self.user1_course1.delete() + + +class TestLessonContents(TestCase): + def setUp(self): + self.client = Client() + self.mod_group = Group.objects.create(name='moderator') + tzone = pytz.timezone('UTC') + + # Create Moderator with profile + self.user1_plaintext_pass = 'demo' + self.user1 = User.objects.create_user( + username='demo_user', + password=self.user1_plaintext_pass, + first_name='first_name', + last_name='last_name', + email='demo@test.com', + ) + Profile.objects.create( + user=self.user1, + roll_number=10, + institute='IIT', + department='Chemical', + position='Moderator', + timezone='UTC', + is_moderator=True + ) + + # Add to moderator group + self.mod_group.user_set.add(self.user1) + + # Create Student + self.student_plaintext_pass = 'demo_student' + self.student = User.objects.create_user( + username='demo_student', + password=self.student_plaintext_pass, + first_name='student_first_name', + last_name='student_last_name', + email='demo_student@test.com' + ) + Profile.objects.create( + user=self.student, + roll_number=10, + institute='IIT', + department='Chemical', + position='Moderator', + timezone='UTC' + ) + + # Create courses for user1 + self.user1_course1 = Course.objects.create( + name="My Course", enrollment="Enroll Request", creator=self.user1 + ) + + # Create learning modules for user1 + self.learning_module1 = LearningModule.objects.create( + order=1, name="My Module", description="My Module", + check_prerequisite=False, creator=self.user1 + ) + self.lesson1 = Lesson.objects.create( + name="My Lesson", description="My Lesson", + creator=self.user1 + ) + + # Create units for lesson + self.lesson_unit1 = LearningUnit.objects.create( + order=1, type="lesson", lesson=self.lesson1 + ) + self.learning_module1.learning_unit.add(self.lesson_unit1) + self.user1_course1.learning_module.add(self.learning_module1) + + def tearDown(self): + self.client.logout() + self.user1.delete() + self.lesson_unit1.delete() + self.user1_course1.delete() + self.learning_module1.delete() + + def test_create_marker(self): + self.client.login( + username=self.student.username, + password=self.student_plaintext_pass + ) + # disallow user other than moderator or course creator or course teacher + response = self.client.post( + reverse('yaksh:add_marker', + kwargs={"course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'content': '1', 'question_type': ''} + ) + self.assertEqual(response.status_code, 404) + self.client.login( + username=self.user1.username, + password=self.user1_plaintext_pass + ) + + # Get json response for topic + response = self.client.post( + reverse('yaksh:add_marker', + kwargs={"course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'content': '1', 'question_type': ''} + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + self.assertEqual(json_response.get("content_type"), '1') + + # Get json response for question form + response = self.client.post( + reverse('yaksh:add_marker', + kwargs={"course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'content': '2', 'question_type': ''} + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + self.assertEqual(json_response.get("content_type"), '2') + + def test_add_lesson_topic(self): + self.client.login( + username=self.student.username, + password=self.student_plaintext_pass + ) + # disallow user other than moderator or course creator or course teacher + response = self.client.post( + reverse('yaksh:add_topic', + kwargs={"content_type": '1', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'name': 'My Lesson Topic', + 'description': 'My lesson topic description'} + ) + self.assertEqual(response.status_code, 404) + + self.client.login( + username=self.user1.username, + password=self.user1_plaintext_pass + ) + + # Post json response for topic + response = self.client.post( + reverse('yaksh:add_topic', + kwargs={"content_type": '1', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'name': 'My_Lesson_Topic', + 'description': 'My lesson topic description'} + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + self.assertEqual( + json_response.get("message"), "Saved topic successfully" + ) + topics = Topic.objects.filter(name="My_Lesson_Topic") + self.assertTrue(topics.exists()) + + # Get json response for topic form + single_topic = topics.first() + toc = TableOfContents.objects.get( + course_id=self.user1_course1.id, lesson_id=self.lesson1.id, + object_id=single_topic.id + ) + response = self.client.get( + reverse('yaksh:edit_topic', + kwargs={"content_type": '1', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id, + "topic_id": single_topic.id, + "toc_id": toc.id}) + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + + # delete topic Toc + response = self.client.post( + reverse('yaksh:delete_toc', + kwargs={"course_id": self.user1_course1.id, + "toc_id": toc.id}), + data={'redirect_url': reverse("yaksh:login")} + ) + self.assertEqual(response.status_code, 302) + + def test_add_lesson_quiz(self): + self.client.login( + username=self.student.username, + password=self.student_plaintext_pass + ) + # disallow user other than moderator or course creator or course teacher + response = self.client.post( + reverse('yaksh:add_marker_quiz', + kwargs={"content_type": '1', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'summary': 'My_Lesson_question', + 'description': 'My lesson topic description', + 'language': 'mcq', 'type': 'other', 'topic': 'test'} + ) + self.assertEqual(response.status_code, 404) + + self.client.login( + username=self.user1.username, + password=self.user1_plaintext_pass + ) + + # Post json response for lesson quiz (with 400 error) + response = self.client.post( + reverse('yaksh:add_marker_quiz', + kwargs={"content_type": '1', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'summary': 'My_Lesson_question', + 'description': 'My lesson question description', + 'language': 'other', 'type': 'integer', 'topic': 'test'} + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 400) + self.assertFalse(json_response.get("success")) + + # Post json response for lesson quiz (with 200 success) + response = self.client.post( + reverse('yaksh:add_marker_quiz', + kwargs={"content_type": '2', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'summary': 'My_Lesson_question', + 'description': 'My lesson question description', + 'language': 'other', 'type': 'integer', 'topic': 'test', + 'points': '1', 'form-TOTAL_FORMS': 1, + 'form-MAX_NUM_FORMS': '', + 'form-INITIAL_FORMS': 0, 'integertestcase_set-TOTAL_FORMS': 0, + 'integertestcase_set-INITIAL_FORMS': 0, + 'integertestcase_set-MIN_NUM_FORMS': 0, + 'integertestcase_set-MAX_NUM_FORMS': 0, + 'integertestcase_set-0-correct': "1"} + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + + self.assertEqual( + json_response.get("message"), "Saved question successfully" + ) + que = Question.objects.filter(summary="My_Lesson_question") + self.assertTrue(que.exists()) + + # Get edit question form + single_que = que.first() + toc = TableOfContents.objects.get( + course_id=self.user1_course1.id, lesson_id=self.lesson1.id, + object_id=single_que.id + ) + response = self.client.get( + reverse('yaksh:edit_marker_quiz', + kwargs={"content_type": '2', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id, + "question_id": single_que.id, + "toc_id": toc.id}) + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + self.assertEqual(json_response.get("content_type"), 2) + + # delete question Toc + response = self.client.post( + reverse('yaksh:delete_toc', + kwargs={"course_id": self.user1_course1.id, + "toc_id": toc.id}), + data={'redirect_url': reverse("yaksh:login")} + ) + self.assertEqual(response.status_code, 302) + + def test_get_and_submit_marker_quiz(self): + self.client.login( + username=self.user1.username, + password=self.user1_plaintext_pass + ) + + # Create a question for lesson exercise + response = self.client.post( + reverse('yaksh:add_marker_quiz', + kwargs={"content_type": '3', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'summary': 'My_Lesson_question', + 'description': 'My lesson question description', + 'language': 'other', 'type': 'integer', 'topic': 'test', + 'points': '1', 'form-TOTAL_FORMS': 1, + 'form-MAX_NUM_FORMS': '', + 'form-INITIAL_FORMS': 0, + 'integertestcase_set-TOTAL_FORMS': 1, + 'integertestcase_set-INITIAL_FORMS': 0, + 'integertestcase_set-MIN_NUM_FORMS': 0, + 'integertestcase_set-MAX_NUM_FORMS': 0, + 'integertestcase_set-0-type': 'integertestcase', + 'integertestcase_set-0-correct': "1"} + ) + + self.client.logout() + que = Question.objects.filter(summary="My_Lesson_question") + + single_que = que.first() + toc = TableOfContents.objects.get( + course_id=self.user1_course1.id, lesson_id=self.lesson1.id, + object_id=single_que.id + ) + + # Get lesson exercise as student + # Given + self.client.login( + username=self.student.username, + password=self.student_plaintext_pass + ) + + # When + response = self.client.get( + reverse('yaksh:get_marker_quiz', + kwargs={"course_id": self.user1_course1.id, + "toc_id": toc.id}) + ) + + # Then + self.assertEqual(response.status_code, 404) + + # Given + self.user1_course1.students.add(self.student) + self.client.login( + username=self.student.username, + password=self.student_plaintext_pass + ) + + # When + response = self.client.get( + reverse('yaksh:get_marker_quiz', + kwargs={"course_id": self.user1_course1.id, + "toc_id": toc.id}) + ) + json_response = json.loads(response.content) + + # Then + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + + # Submit empty answer for lesson quiz + response = self.client.post( + reverse('yaksh:submit_marker_quiz', + kwargs={"course_id": self.user1_course1.id, + "toc_id": toc.id}), + data={'answer': ''} + ) + json_response = json.loads(response.content) + + # Then + self.assertEqual(response.status_code, 200) + self.assertFalse(json_response.get("success")) + + # Submit valid answer for lesson quiz + # When + response = self.client.post( + reverse('yaksh:submit_marker_quiz', + kwargs={"course_id": self.user1_course1.id, + "toc_id": toc.id}), + data={'answer': '1'} + ) + json_response = json.loads(response.content) + + # Then + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + self.assertEqual( + json_response.get("message"), "You answered the question correctly" + ) + + + def test_lesson_statistics(self): + # Given + self.client.login( + username=self.user1.username, + password=self.user1_plaintext_pass + ) + + # Create a question for lesson exercise + # When + response = self.client.post( + reverse('yaksh:add_marker_quiz', + kwargs={"content_type": '3', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'summary': 'My_Lesson_question', + 'description': 'My lesson question description', + 'language': 'other', 'type': 'integer', 'topic': 'test', + 'points': '1', 'form-TOTAL_FORMS': 1, + 'form-MAX_NUM_FORMS': '', + 'form-INITIAL_FORMS': 0, + 'integertestcase_set-TOTAL_FORMS': 1, + 'integertestcase_set-INITIAL_FORMS': 0, + 'integertestcase_set-MIN_NUM_FORMS': 0, + 'integertestcase_set-MAX_NUM_FORMS': 0, + 'integertestcase_set-0-type': 'integertestcase', + 'integertestcase_set-0-correct': "1"} + ) + self.client.post( + reverse('yaksh:add_marker_quiz', + kwargs={"content_type": '3', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'summary': 'Mcc_Lesson_stats', + 'description': 'My lesson question description', + 'language': 'other', 'type': 'mcc', 'topic': 'test', + 'points': '1', 'form-TOTAL_FORMS': 2, + 'form-MAX_NUM_FORMS': '', + 'form-INITIAL_FORMS': 0, + 'mcqtestcase_set-TOTAL_FORMS': 2, + 'mcqtestcase_set-INITIAL_FORMS': 0, + 'mcqtestcase_set-MIN_NUM_FORMS': 0, + 'mcqtestcase_set-MAX_NUM_FORMS': 0, + 'mcqtestcase_set-0-type': 'mcqtestcase', + 'mcqtestcase_set-0-options': "1", + 'mcqtestcase_set-0-correct': True, + 'mcqtestcase_set-1-type': 'mcqtestcase', + 'mcqtestcase_set-1-options': "2", + 'mcqtestcase_set-1-correct': False + } + ) + que = Question.objects.filter(summary="My_Lesson_question") + + single_que = que.first() + toc = TableOfContents.objects.get( + course_id=self.user1_course1.id, lesson_id=self.lesson1.id, + object_id=single_que.id + ) + self.client.logout() + self.user1_course1.students.add(self.student) + self.client.login( + username=self.student.username, + password=self.student_plaintext_pass + ) + response = self.client.post( + reverse('yaksh:submit_marker_quiz', + kwargs={"course_id": self.user1_course1.id, + "toc_id": toc.id}), + data={'answer': '1'} + ) + self.client.logout() + + # Then + self.client.login( + username=self.user1.username, + password=self.user1_plaintext_pass + ) + response = self.client.get( + reverse('yaksh:lesson_statistics', + kwargs={"course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}) + ) + response_data = response.context + self.assertEqual(response.status_code, 200) + self.assertEqual( + next(iter(response_data.get("data").keys())).id, toc.id + ) + + # Then + response = self.client.get( + reverse('yaksh:lesson_statistics', + kwargs={"course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id, + "toc_id": toc.id}) + ) + response_data = response.context + student_info = response_data.get("objects").object_list[0] + self.assertEqual(response.status_code, 200) + self.assertEqual( + next(iter(response_data.get("data").keys())).id, toc.id + ) + self.assertEqual(student_info.get("student_id"), self.student.id) + + # Test for mcc lesson question statistics + # Given + que = Question.objects.filter(summary="Mcc_Lesson_stats") + + single_que = que.first() + toc = TableOfContents.objects.get( + course_id=self.user1_course1.id, lesson_id=self.lesson1.id, + object_id=single_que.id + ) + self.client.logout() + + self.client.login( + username=self.student.username, + password=self.student_plaintext_pass + ) + response = self.client.post( + reverse('yaksh:submit_marker_quiz', + kwargs={"course_id": self.user1_course1.id, + "toc_id": toc.id}), + data={'answer': [str(i.id) for i in single_que.get_test_cases()]} + ) + self.client.logout() + + # Then + self.client.login( + username=self.user1.username, + password=self.user1_plaintext_pass + ) + response = self.client.get( + reverse('yaksh:lesson_statistics', + kwargs={"course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id, + "toc_id": toc.id}) + ) + self.assertEqual(response.status_code, 200) + self.assertEqual(student_info.get("student_id"), self.student.id) + + def test_multiple_lesson_question_types(self): + self.client.login( + username=self.user1.username, + password=self.user1_plaintext_pass + ) + + # Create float based question + response = self.client.post( + reverse('yaksh:add_marker_quiz', + kwargs={"content_type": '3', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'summary': 'Float_Lesson', + 'description': 'My lesson question description', + 'language': 'other', 'type': 'float', 'topic': 'test', + 'points': '1', 'form-TOTAL_FORMS': 1, + 'form-MAX_NUM_FORMS': '', + 'form-INITIAL_FORMS': 0, + 'floattestcase_set-TOTAL_FORMS': 1, + 'floattestcase_set-INITIAL_FORMS': 0, + 'floattestcase_set-MIN_NUM_FORMS': 0, + 'floattestcase_set-MAX_NUM_FORMS': 0, + 'floattestcase_set-0-type': 'floattestcase', + 'floattestcase_set-0-correct': "1", + 'floattestcase_set-0-error_margin': "0.1" + } + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + self.assertEqual( + json_response.get("message"), "Saved question successfully" + ) + + + # Create a mcq question + response = self.client.post( + reverse('yaksh:add_marker_quiz', + kwargs={"content_type": '3', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'summary': 'Mcq_Lesson', + 'description': 'My lesson question description', + 'language': 'other', 'type': 'mcq', 'topic': 'test', + 'points': '1', 'form-TOTAL_FORMS': 2, + 'form-MAX_NUM_FORMS': '', + 'form-INITIAL_FORMS': 0, + 'mcqtestcase_set-TOTAL_FORMS': 2, + 'mcqtestcase_set-INITIAL_FORMS': 0, + 'mcqtestcase_set-MIN_NUM_FORMS': 0, + 'mcqtestcase_set-MAX_NUM_FORMS': 0, + 'mcqtestcase_set-0-type': 'mcqtestcase', + 'mcqtestcase_set-0-options': "1", + 'mcqtestcase_set-0-correct': True, + 'mcqtestcase_set-1-type': 'mcqtestcase', + 'mcqtestcase_set-1-options': "2", + 'mcqtestcase_set-1-correct': False + } + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + self.assertEqual( + json_response.get("message"), "Saved question successfully" + ) + + # Create a mcc question + response = self.client.post( + reverse('yaksh:add_marker_quiz', + kwargs={"content_type": '3', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'summary': 'Mcc_Lesson', + 'description': 'My lesson question description', + 'language': 'other', 'type': 'mcc', 'topic': 'test', + 'points': '1', 'form-TOTAL_FORMS': 2, + 'form-MAX_NUM_FORMS': '', + 'form-INITIAL_FORMS': 0, + 'mcqtestcase_set-TOTAL_FORMS': 2, + 'mcqtestcase_set-INITIAL_FORMS': 0, + 'mcqtestcase_set-MIN_NUM_FORMS': 0, + 'mcqtestcase_set-MAX_NUM_FORMS': 0, + 'mcqtestcase_set-0-type': 'mcqtestcase', + 'mcqtestcase_set-0-options': "1", + 'mcqtestcase_set-0-correct': True, + 'mcqtestcase_set-1-type': 'mcqtestcase', + 'mcqtestcase_set-1-options': "2", + 'mcqtestcase_set-1-correct': False + } + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + self.assertEqual( + json_response.get("message"), "Saved question successfully" + ) + + + # Create a string based question + response = self.client.post( + reverse('yaksh:add_marker_quiz', + kwargs={"content_type": '3', + "course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id}), + data={'timer': '00:00:00', 'summary': 'String_Lesson', + 'description': 'My lesson question description', + 'language': 'other', 'type': 'string', 'topic': 'test', + 'points': '1', 'form-TOTAL_FORMS': 1, + 'form-MAX_NUM_FORMS': '', + 'form-INITIAL_FORMS': 0, + 'stringtestcase_set-TOTAL_FORMS': 1, + 'stringtestcase_set-INITIAL_FORMS': 0, + 'stringtestcase_set-MIN_NUM_FORMS': 0, + 'stringtestcase_set-MAX_NUM_FORMS': 0, + 'stringtestcase_set-0-type': 'stringtestcase', + 'stringtestcase_set-0-correct': "test", + 'stringtestcase_set-0-string_check': "lower" + } + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + self.assertEqual( + json_response.get("message"), "Saved question successfully" + ) + + ques = Question.objects.filter( + summary__in=["Mcq_Lesson", "Mcc_Lesson", + "Float_Lesson", "String_Lesson"] + ).values_list("id", flat=True) + self.assertTrue(ques.exists()) + tocs = TableOfContents.objects.filter( + course_id=self.user1_course1.id, lesson_id=self.lesson1.id, + object_id__in=ques + ).values_list("id", flat=True) + self.assertTrue(tocs.exists()) + + # Student submits answers to all the questions + self.user1_course1.students.add(self.student) + self.client.login( + username=self.student.username, + password=self.student_plaintext_pass + ) + + # submit mcq question + response = self.client.post( + reverse('yaksh:submit_marker_quiz', + kwargs={"course_id": self.user1_course1.id, + "toc_id": tocs[0]}), + data={'answer': '1'} + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + self.assertEqual( + json_response.get("message"), "You answered the question correctly" + ) + + # submit mcc question + response = self.client.post( + reverse('yaksh:submit_marker_quiz', + kwargs={"course_id": self.user1_course1.id, + "toc_id": tocs[1]}), + data={'answer': ['1']} + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertFalse(json_response.get("success")) + self.assertIn( + "You have answered the question incorrectly", + json_response.get("message"), + ) + + # submit float question + response = self.client.post( + reverse('yaksh:submit_marker_quiz', + kwargs={"course_id": self.user1_course1.id, + "toc_id": tocs[2]}), + data={'answer': '1.0'} + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertFalse(json_response.get("success")) + self.assertIn( + "You have answered the question incorrectly", + json_response.get("message"), + ) + + + # submit string question + response = self.client.post( + reverse('yaksh:submit_marker_quiz', + kwargs={"course_id": self.user1_course1.id, + "toc_id": tocs[3]}), + data={'answer': 'test'} + ) + json_response = json.loads(response.content) + self.assertEqual(response.status_code, 200) + self.assertTrue(json_response.get("success")) + self.assertEqual( + json_response.get("message"), "You answered the question correctly" + ) + self.client.logout() + self.client.login( + username=self.user1.username, + password=self.user1_plaintext_pass + ) + + # Get statistics for mcc question + response = self.client.get( + reverse('yaksh:lesson_statistics', + kwargs={"course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id, + "toc_id": tocs[1]}) + ) + response_data = response.context + student_info = response_data.get("objects").object_list[0] + self.assertEqual(response.status_code, 200) + self.assertEqual(student_info.get("student_id"), self.student.id) + + # Get statistics for mcq question + response = self.client.get( + reverse('yaksh:lesson_statistics', + kwargs={"course_id": self.user1_course1.id, + "lesson_id": self.lesson1.id, + "toc_id": tocs[0]}) + ) + response_data = response.context + student_info = response_data.get("objects").object_list[0] + self.assertEqual(response.status_code, 200) + self.assertEqual(student_info.get("student_id"), self.student.id) + + def test_upload_download_lesson_contents(self): + self.client.login( + username=self.user1.username, + password=self.user1_plaintext_pass + ) + dummy_file = SimpleUploadedFile("test.txt", b"test") + # Invalid file type + response = self.client.post( + reverse('yaksh:edit_lesson', + kwargs={"lesson_id": self.lesson1.id, + "course_id": self.user1_course1.id, + "module_id": self.learning_module1.id}), + data={"toc": dummy_file, + "upload_toc": "upload_toc"} + ) + messages = [m.message for m in get_messages(response.wsgi_request)] + self.assertEqual(response.status_code, 200) + self.assertIn('Please upload yaml or yml type file', messages) + + # Valid yaml file for TOC + yaml_path = os.sep.join((FIXTURES_DIR_PATH, 'sample_lesson_toc.yaml')) + with open(yaml_path, 'rb') as fp: + yaml_file = SimpleUploadedFile("test.yml", fp.read()) + response = self.client.post( + reverse('yaksh:edit_lesson', + kwargs={"lesson_id": self.lesson1.id, + "course_id": self.user1_course1.id, + "module_id": self.learning_module1.id}), + data={"toc": yaml_file, + "upload_toc": "upload_toc"} + ) + contents = [ + 'Sample lesson quiz 1', 'Sample lesson quiz 2', + 'Sample lesson topic 1', 'Sample lesson topic 2' + ] + self.assertEqual(response.status_code, 200) + has_que = Question.objects.filter( + summary__in=contents[:2] + ).exists() + has_topics = Topic.objects.filter( + name__in=contents[2:] + ).exists() + self.assertTrue(has_que) + self.assertTrue(has_topics) + + # Invalid YAML file data + yaml_content = b""" + --- + name: 'Sample lesson topic 2' + description: 'Topic 2 description' + """ + yaml_file = SimpleUploadedFile("test.yml", yaml_content) + response = self.client.post( + reverse('yaksh:edit_lesson', + kwargs={"lesson_id": self.lesson1.id, + "course_id": self.user1_course1.id, + "module_id": self.learning_module1.id}), + data={"toc": yaml_file, + "upload_toc": "upload_toc"} + ) + messages = [m.message for m in get_messages(response.wsgi_request)] + self.assertEqual(response.status_code, 200) + self.assertIn("Error parsing yaml", messages[0]) + + # Invalid YAML with no content_type and invalid time format + yaml_path = os.sep.join((FIXTURES_DIR_PATH, 'invalid_yaml.yaml')) + with open(yaml_path, 'rb') as fp: + yaml_file = SimpleUploadedFile("test.yml", fp.read()) + response = self.client.post( + reverse('yaksh:edit_lesson', + kwargs={"lesson_id": self.lesson1.id, + "course_id": self.user1_course1.id, + "module_id": self.learning_module1.id}), + data={"toc": yaml_file, + "upload_toc": "upload_toc"} + ) + messages = [m.message for m in get_messages(response.wsgi_request)] + self.assertEqual(response.status_code, 200) + self.assertIn( + "content_type or time key is missing", messages[0] + ) + self.assertIn("Invalid time format", messages[1]) + + # Download yaml sample + response = self.client.get(reverse('yaksh:download_sample_toc')) + self.assertEqual(response.status_code, 200) + self.assertEqual(response.get('Content-Disposition'), + 'attachment; filename="sample_lesson_toc.yaml"') diff --git a/yaksh/urls.py b/yaksh/urls.py index 0639b25..e93d80a 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -60,9 +60,11 @@ urlpatterns = [ views.get_next_unit, name='next_unit'), url(r'^course_modules/(?P<course_id>\d+)/$', views.course_modules, name='course_modules'), - url(r'^forum/(?P<course_id>\d+)/$', + url(r'^forum/course_forum/(?P<course_id>\d+)/$', views.course_forum, name='course_forum'), + url(r'^forum/lessons_forum/(?P<course_id>\d+)/$', + views.lessons_forum, name='lessons_forum'), url(r'^forum/(?P<course_id>\d+)/post/(?P<uuid>[0-9a-f-]+)/$', views.post_comments, name='post_comments'), @@ -197,8 +199,6 @@ urlpatterns = [ views.design_module, name="design_module"), url(r'^manage/courses/designmodule/(?P<module_id>\d+)/' '(?P<course_id>\d+)/$', views.design_module, name="design_module"), - url(r'^manage/courses/lesson/preview/$', - views.preview_html_text, name="preview_html_text"), url(r'^manage/courses/add_module/(?P<course_id>\d+)/$', views.add_module, name="add_module"), url(r'^manage/courses/add_module/(?P<course_id>\d+)/(?P<module_id>\d+)/$', @@ -237,4 +237,38 @@ urlpatterns = [ views.mark_notification, name="mark_notification"), path('mark/notifications', views.mark_notification, name="mark_notification"), + url(r'^manage/micromanager/allow_special_attempt/(?P<user_id>\d+)/' + '(?P<course_id>\d+)/(?P<quiz_id>\d+)/$', + views.allow_special_attempt, name='allow_special_attempt'), + url(r'^micromanager/special_start/(?P<micromanager_id>\d+)/$', + views.special_start, name='special_start'), + url(r'^manage/micromanager/special_revoke/(?P<micromanager_id>\d+)/$', + views.revoke_special_attempt, name='revoke_special_attempt'), + url(r'^manage/extend_time/(?P<paper_id>\d+)/$', + views.extend_time, name='extend_time'), + path('manage/add/marker/<int:course_id>/<int:lesson_id>', views.add_marker, + name='add_marker'), + path('manage/add/lesson/topic/<int:content_type>/<int:course_id>/<int:lesson_id>', + views.add_topic, name='add_topic'), + path('manage/edit/lesson/topic/<int:content_type>/<int:course_id>/<int:lesson_id>/' + '<int:toc_id>/<int:topic_id>', views.add_topic, name='edit_topic'), + path('manage/add/lesson/quiz/<int:content_type>/<int:course_id>/<int:lesson_id>', + views.add_marker_quiz, name='add_marker_quiz'), + path('manage/edit/lesson/quiz/<int:content_type>/<int:course_id>/<int:lesson_id>/' + '<int:toc_id>/<int:question_id>', views.add_marker_quiz, + name='edit_marker_quiz'), + path('manage/remove/lesson/toc/<int:course_id>/<int:toc_id>', + views.delete_toc, name='delete_toc'), + path('get/marker/quiz/<int:course_id>/<int:toc_id>', views.get_marker_quiz, + name='get_marker_quiz'), + path('submit/marker/quiz/<int:course_id>/<int:toc_id>', + views.submit_marker_quiz, name='submit_marker_quiz'), + path('manage/lesson/stats/<int:course_id>/<int:lesson_id>', + views.lesson_statistics, name='lesson_statistics'), + path('manage/lesson/stats/<int:course_id>/<int:lesson_id>/<int:toc_id>', + views.lesson_statistics, name='lesson_statistics'), + path('manage/download/sample/toc', + views.download_sample_toc, name='download_sample_toc'), + path('manage/upload_marks/<int:course_id>/<int:questionpaper_id>/', + views.upload_marks, name='upload_marks'), ] diff --git a/yaksh/views.py b/yaksh/views.py index 1544508..643b2ae 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -3,13 +3,14 @@ import csv from django.http import HttpResponse, JsonResponse, HttpResponseRedirect from django.contrib.auth import login, logout, authenticate from django.shortcuts import render, get_object_or_404, redirect -from django.template import Context, Template +from django.template import Context, Template, loader from django.http import Http404 from django.db.models import Max, Q, F from django.db import models from django.views.decorators.csrf import csrf_exempt from django.contrib.auth.decorators import login_required from django.contrib.auth.models import Group +from django.contrib.contenttypes.models import ContentType from django.forms.models import inlineformset_factory from django.forms import fields from django.utils import timezone @@ -23,7 +24,8 @@ from django.urls import reverse import json from textwrap import dedent import zipfile -from markdown import Markdown +import markdown +import ruamel try: from StringIO import StringIO as string_io except ImportError: @@ -37,14 +39,16 @@ from yaksh.models import ( QuestionPaper, QuestionSet, Quiz, Question, StandardTestCase, StdIOBasedTestCase, StringTestCase, TestCase, User, get_model_class, FIXTURES_DIR_PATH, MOD_GROUP_NAME, Lesson, LessonFile, - LearningUnit, LearningModule, CourseStatus, question_types, Post, Comment + LearningUnit, LearningModule, CourseStatus, question_types, Post, Comment, + Topic, TableOfContents, LessonQuizAnswer, MicroManager ) +from stats.models import TrackLesson from yaksh.forms import ( UserRegisterForm, UserLoginForm, QuizForm, QuestionForm, QuestionFilterForm, CourseForm, ProfileForm, UploadFileForm, FileForm, QuestionPaperForm, LessonForm, LessonFileForm, LearningModuleForm, ExerciseForm, TestcaseForm, - SearchFilterForm, PostForm, CommentForm + SearchFilterForm, PostForm, CommentForm, TopicForm, VideoQuizForm ) from yaksh.settings import SERVER_POOL_PORT, SERVER_HOST_NAME from .settings import URL_ROOT @@ -101,7 +105,9 @@ CSV_FIELDS = ['name', 'username', 'roll_number', 'institute', 'department', def get_html_text(md_text): """Takes markdown text and converts it to html""" - return Markdown().convert(md_text) + return markdown.markdown( + md_text, extensions=['tables', 'fenced_code'] + ) def formfield_callback(field): @@ -484,6 +490,46 @@ def user_login(request): @login_required @email_verified +def special_start(request, micromanager_id=None): + user = request.user + micromanager = get_object_or_404(MicroManager, pk=micromanager_id, + student=user) + course = micromanager.course + quiz = micromanager.quiz + module = course.get_learning_module(quiz) + quest_paper = get_object_or_404(QuestionPaper, quiz=quiz) + + if not course.is_enrolled(user): + msg = 'You are not enrolled in {0} course'.format(course.name) + return quizlist_user(request, msg=msg) + + if not micromanager.can_student_attempt(): + msg = 'Your special attempts are exhausted for {0}'.format( + quiz.description) + return quizlist_user(request, msg=msg) + + last_attempt = AnswerPaper.objects.get_user_last_attempt( + quest_paper, user, course.id) + + if last_attempt: + if last_attempt.is_attempt_inprogress(): + return show_question( + request, last_attempt.current_question(), last_attempt, + course_id=course.id, module_id=module.id, + previous_question=last_attempt.current_question() + ) + + attempt_num = micromanager.get_attempt_number() + ip = request.META['REMOTE_ADDR'] + new_paper = quest_paper.make_answerpaper(user, ip, attempt_num, course.id, + special=True) + micromanager.increment_attempts_utilised() + return show_question(request, new_paper.current_question(), new_paper, + course_id=course.id, module_id=module.id) + + +@login_required +@email_verified def start(request, questionpaper_id=None, attempt_num=None, course_id=None, module_id=None): """Check the user cedentials and if any quiz is available, @@ -628,6 +674,7 @@ def show_question(request, question, paper, error_message=None, quiz = paper.question_paper.quiz quiz_type = 'Exam' can_skip = False + assignment_files = [] if previous_question: delay_time = paper.time_left_on_question(previous_question) else: @@ -644,7 +691,7 @@ def show_question(request, question, paper, error_message=None, request, msg, paper.attempt_number, paper.question_paper.id, course_id=course_id, module_id=module_id ) - if not quiz.active: + if not quiz.active and not paper.is_special: reason = 'The quiz has been deactivated!' return complete( request, reason, paper.attempt_number, paper.question_paper.id, @@ -669,6 +716,13 @@ def show_question(request, question, paper, error_message=None, test_cases = question.get_ordered_test_cases(paper) else: test_cases = question.get_test_cases() + if question.type == 'upload': + assignment_files = AssignmentUpload.objects.filter( + assignmentQuestion_id=question.id, + course_id=course_id, + user=request.user, + question_paper_id=paper.question_paper_id + ) files = FileUpload.objects.filter(question_id=question.id, hide=False) course = Course.objects.get(id=course_id) module = course.learning_module.get(id=module_id) @@ -688,6 +742,7 @@ def show_question(request, question, paper, error_message=None, 'delay_time': delay_time, 'quiz_type': quiz_type, 'all_modules': all_modules, + 'assignment_files': assignment_files, } answers = paper.get_previous_answers(question) if answers: @@ -822,7 +877,7 @@ def check(request, q_id, attempt_num=None, questionpaper_id=None, previous_question=current_question) else: user_answer = request.POST.get('answer') - if not user_answer: + if not str(user_answer): msg = "Please submit a valid answer." return show_question( request, current_question, paper, notification=msg, @@ -1447,6 +1502,13 @@ def design_questionpaper(request, course_id, quiz_id, questionpaper_id=None): question_paper.save() question_paper.fixed_questions.add(*questions) messages.success(request, "Questions added successfully") + return redirect( + 'yaksh:designquestionpaper', + course_id=course_id, + quiz_id=quiz_id, + questionpaper_id=questionpaper_id + ) + else: messages.warning(request, "Please select atleast one question") @@ -1465,6 +1527,12 @@ def design_questionpaper(request, course_id, quiz_id, questionpaper_id=None): question_paper.save() question_paper.fixed_questions.remove(*question_ids) messages.success(request, "Questions removed successfully") + return redirect( + 'yaksh:designquestionpaper', + course_id=course_id, + quiz_id=quiz_id, + questionpaper_id=questionpaper_id + ) else: messages.warning(request, "Please select atleast one question") @@ -1479,6 +1547,12 @@ def design_questionpaper(request, course_id, quiz_id, questionpaper_id=None): random_set.questions.add(*random_ques) question_paper.random_questions.add(random_set) messages.success(request, "Questions removed successfully") + return redirect( + 'yaksh:designquestionpaper', + course_id=course_id, + quiz_id=quiz_id, + questionpaper_id=questionpaper_id + ) else: messages.warning(request, "Please select atleast one question") @@ -1487,6 +1561,12 @@ def design_questionpaper(request, course_id, quiz_id, questionpaper_id=None): if random_set_ids: question_paper.random_questions.remove(*random_set_ids) messages.success(request, "Questions removed successfully") + return redirect( + 'yaksh:designquestionpaper', + course_id=course_id, + quiz_id=quiz_id, + questionpaper_id=questionpaper_id + ) else: messages.warning(request, "Please select question set") @@ -1503,8 +1583,8 @@ def design_questionpaper(request, course_id, quiz_id, questionpaper_id=None): if questions: questions = _remove_already_present(questionpaper_id, questions) - question_paper.update_total_marks() - question_paper.save() + question_paper.update_total_marks() + question_paper.save() random_sets = question_paper.random_questions.all() fixed_questions = question_paper.get_ordered_questions() context = { @@ -1733,7 +1813,6 @@ def user_data(request, user_id, questionpaper_id=None, course_id=None): raise Http404('You are not allowed to view this page!') user = User.objects.get(id=user_id) data = AnswerPaper.objects.get_user_data(user, questionpaper_id, course_id) - context = {'data': data, 'course_id': course_id} return my_render_to_response(request, 'yaksh/user_data.html', context) @@ -1743,7 +1822,10 @@ def _expand_questions(questions, field_list): field_list.remove('questions') for question in questions: field_list.insert( - i, '{0}-{1}'.format(question.summary, question.points)) + i, 'Q-{0}-{1}-{2}-marks'.format(question.id, question.summary, + question.points)) + field_list.insert( + i+1, 'Q-{0}-{1}-comments'.format(question.id, question.summary)) return field_list @@ -1803,8 +1885,18 @@ def download_quiz_csv(request, course_id, quiz_id): 'status': 'answerpaper.status'} questions_scores = {} for question in questions: - questions_scores['{0}-{1}'.format(question.summary, question.points)] \ - = 'answerpaper.get_per_question_score({0})'.format(question.id) + questions_scores['Q-{0}-{1}-{2}-marks'.format( + question.id, question.summary, question.points)] \ + = 'answerpaper.get_per_question_score({0})'.format(question.id) + answer = question.answer_set.last() + comment = None + if answer: + comment = answer.comment + else: + comment = '' + questions_scores['Q-{0}-{1}-comments'.format( + question.id, question.summary)] \ + = 'answerpaper.get_answer_comment({0})'.format(question.id) csv_fields_values.update(questions_scores) users = users.exclude(id=course.creator.id).exclude( @@ -1856,8 +1948,8 @@ def grade_user(request, quiz_id=None, user_id=None, attempt_number=None, course.is_teacher(current_user): raise Http404('This course does not belong to you') has_quiz_assignments = AssignmentUpload.objects.filter( - question_paper_id__in=questionpaper_id - ).exists() + course_id=course_id, question_paper_id__in=questionpaper_id + ).exists() context = { "users": user_details, "quiz_id": quiz_id, @@ -1876,9 +1968,9 @@ def grade_user(request, quiz_id=None, user_id=None, attempt_number=None, except IndexError: raise Http404('No attempts for paper') has_user_assignments = AssignmentUpload.objects.filter( - question_paper_id__in=questionpaper_id, - user_id=user_id - ).exists() + course_id=course_id, question_paper_id__in=questionpaper_id, + user_id=user_id + ).exists() user = User.objects.get(id=user_id) data = AnswerPaper.objects.get_user_data( user, questionpaper_id, course_id, attempt_number @@ -1900,7 +1992,7 @@ def grade_user(request, quiz_id=None, user_id=None, attempt_number=None, for paper in papers: for question, answers in paper.get_question_answers().items(): marks = float(request.POST.get('q%d_marks' % question.id, 0)) - answer = answers[-1]['answer'] + answer = answers[0]['answer'] answer.set_marks(marks) answer.save() paper.update_marks() @@ -2139,12 +2231,12 @@ def view_answerpaper(request, questionpaper_id, course_id): if quiz.view_answerpaper and user in course.students.all(): data = AnswerPaper.objects.get_user_data(user, questionpaper_id, course_id) - has_user_assignment = AssignmentUpload.objects.filter( + has_user_assignments = AssignmentUpload.objects.filter( user=user, course_id=course.id, question_paper_id=questionpaper_id ).exists() context = {'data': data, 'quiz': quiz, 'course_id': course.id, - "has_user_assignment": has_user_assignment} + "has_user_assignments": has_user_assignments} return my_render_to_response( request, 'yaksh/view_answerpaper.html', context ) @@ -2412,8 +2504,10 @@ def _read_user_csv(request, reader, course): messages.info(request, "{0} -- Missing Values".format(counter)) continue users = User.objects.filter(username=username) + if not users.exists(): + users = User.objects.filter(email=email) if users.exists(): - user = users[0] + user = users.last() if remove.strip().lower() == 'true': _remove_from_course(user, course) messages.info(request, "{0} -- {1} -- User rejected".format( @@ -2507,7 +2601,23 @@ def download_sample_csv(request): with open(csv_file_path, 'rb') as csv_file: response = HttpResponse(csv_file.read(), content_type='text/csv') response['Content-Disposition'] = ( - 'attachment; filename="sample_user_upload"' + 'attachment; filename="sample_user_upload.csv"' + ) + return response + + +@login_required +@email_verified +def download_sample_toc(request): + user = request.user + if not is_moderator(user): + raise Http404('You are not allowed to view this page!') + csv_file_path = os.path.join(FIXTURES_DIR_PATH, + "sample_lesson_toc.yaml") + with open(csv_file_path, 'rb') as csv_file: + response = HttpResponse(csv_file.read(), content_type='text/yaml') + response['Content-Disposition'] = ( + 'attachment; filename="sample_lesson_toc.yaml"' ) return response @@ -2579,6 +2689,8 @@ def edit_lesson(request, course_id=None, module_id=None, lesson_id=None): raise Http404('This Lesson does not belong to you') context = {} + lesson_form = LessonForm(instance=lesson) + lesson_files_form = LessonFileForm() if request.method == "POST": if "Save" in request.POST: lesson_form = LessonForm(request.POST, request.FILES, @@ -2618,10 +2730,6 @@ def edit_lesson(request, course_id=None, module_id=None, lesson_id=None): reverse("yaksh:edit_lesson", args=[course_id, module_id, lesson.id]) ) - else: - context['lesson_form'] = lesson_form - context['error'] = lesson_form["video_file"].errors - context['lesson_file_form'] = lesson_file_form if 'Delete' in request.POST: remove_files_id = request.POST.getlist('delete_files') @@ -2637,9 +2745,29 @@ def edit_lesson(request, course_id=None, module_id=None, lesson_id=None): request, "Please select atleast one file to delete" ) + if 'upload_toc' in request.POST: + toc_file = request.FILES.get('toc') + file_extension = os.path.splitext(toc_file.name)[1][1:] + if file_extension not in ['yaml', 'yml']: + messages.warning( + request, "Please upload yaml or yml type file" + ) + else: + try: + toc_data = ruamel.yaml.safe_load_all(toc_file.read()) + results = TableOfContents.objects.add_contents( + course_id, lesson_id, user, toc_data) + for status, msg in results: + if status == True: + messages.success(request, msg) + else: + messages.warning(request, msg) + except Exception as e: + messages.warning(request, f"Error parsing yaml: {e}") + + data = get_toc_contents(request, course_id, lesson_id) + context['toc'] = data lesson_files = LessonFile.objects.filter(lesson=lesson) - lesson_files_form = LessonFileForm() - lesson_form = LessonForm(instance=lesson) context['lesson_form'] = lesson_form context['lesson_file_form'] = lesson_files_form context['lesson_files'] = lesson_files @@ -2682,16 +2810,54 @@ def show_lesson(request, lesson_id, module_id, course_id): # update course status with current unit _update_unit_status(course_id, user, learn_unit) - + toc = TableOfContents.objects.filter( + course_id=course_id, lesson_id=lesson_id + ).order_by("time") + contents_by_time = json.dumps( + list(toc.values("id", "content", "time")) + ) all_modules = course.get_learning_modules() if learn_unit.has_prerequisite(): if not learn_unit.is_prerequisite_complete(user, learn_module, course): msg = "You have not completed previous Lesson/Quiz/Exercise" return view_module(request, learn_module.id, course_id, msg=msg) + track, created = TrackLesson.objects.get_or_create( + user_id=user.id, course_id=course_id, lesson_id=lesson_id + ) + + lesson_ct = ContentType.objects.get_for_model(learn_unit.lesson) + title = learn_unit.lesson.name + try: + post = Post.objects.get( + target_ct=lesson_ct, target_id=learn_unit.lesson.id, + active=True, title=title + ) + except Post.DoesNotExist: + post = Post.objects.create( + target_ct=lesson_ct, target_id=learn_unit.lesson.id, + active=True, title=title, creator=user, + description=f'Discussion on {title} lesson', + ) + if request.method == "POST": + form = CommentForm(request.POST, request.FILES) + if form.is_valid(): + new_comment = form.save(commit=False) + new_comment.creator = request.user + new_comment.post_field = post + new_comment.anonymous = request.POST.get('anonymous', '') == 'on' + new_comment.save() + return redirect(request.path_info) + else: + raise Http404(f'Post does not exist for lesson {title}') + else: + form = CommentForm() + comments = post.comment.filter(active=True) context = {'lesson': learn_unit.lesson, 'user': user, 'course': course, 'state': "lesson", "all_modules": all_modules, 'learning_units': learning_units, "current_unit": learn_unit, - 'learning_module': learn_module} + 'learning_module': learn_module, 'toc': toc, + 'contents_by_time': contents_by_time, 'track_id': track.id, + 'comments': comments, 'form': form, 'post': post} return my_render_to_response(request, 'yaksh/show_video.html', context) @@ -2841,19 +3007,6 @@ def add_module(request, course_id=None, module_id=None): @login_required @email_verified -def preview_html_text(request): - user = request.user - if not is_moderator(user): - raise Http404('You are not allowed to view this page!') - response_kwargs = {} - response_kwargs['content_type'] = 'application/json' - request_data = json.loads(request.body.decode("utf-8")) - html_text = get_html_text(request_data['description']) - return HttpResponse(json.dumps({"data": html_text}), **response_kwargs) - - -@login_required -@email_verified def get_next_unit(request, course_id, module_id, current_unit_id=None, first_unit=None): user = request.user @@ -3331,17 +3484,22 @@ def course_forum(request, course_id): base_template = 'manage.html' moderator = True course = get_object_or_404(Course, id=course_id) + course_ct = ContentType.objects.get_for_model(course) if (not course.is_creator(user) and not course.is_teacher(user) and not course.is_student(user)): raise Http404('You are not enrolled in {0} course'.format(course.name)) search_term = request.GET.get('search_post') if search_term: - posts = course.post.get_queryset().filter( - active=True, title__icontains=search_term) + posts = Post.objects.filter( + Q(title__icontains=search_term) | + Q(description__icontains=search_term), + target_ct=course_ct, target_id=course.id, active=True + ) else: - posts = course.post.get_queryset().filter( - active=True).order_by('-modified_at') - paginator = Paginator(posts, 1) + posts = Post.objects.filter( + target_ct=course_ct, target_id=course.id, active=True + ).order_by('-modified_at') + paginator = Paginator(posts, 10) page = request.GET.get('page') posts = paginator.get_page(page) if request.method == "POST": @@ -3349,8 +3507,10 @@ def course_forum(request, course_id): if form.is_valid(): new_post = form.save(commit=False) new_post.creator = user - new_post.course = course + new_post.target = course + new_post.anonymous = request.POST.get('anonymous', '') == 'on' new_post.save() + messages.success(request, "Added post successfully") return redirect('yaksh:post_comments', course_id=course.id, uuid=new_post.uid) else: @@ -3368,6 +3528,27 @@ def course_forum(request, course_id): @login_required @email_verified +def lessons_forum(request, course_id): + user = request.user + base_template = 'user.html' + moderator = False + if is_moderator(user): + base_template = 'manage.html' + moderator = True + course = get_object_or_404(Course, id=course_id) + course_ct = ContentType.objects.get_for_model(course) + lesson_posts = course.get_lesson_posts() + return render(request, 'yaksh/lessons_forum.html', { + 'user': user, + 'base_template': base_template, + 'moderator': moderator, + 'course': course, + 'posts': lesson_posts, + }) + + +@login_required +@email_verified def post_comments(request, course_id, uuid): user = request.user base_template = 'user.html' @@ -3386,14 +3567,17 @@ def post_comments(request, course_id, uuid): new_comment = form.save(commit=False) new_comment.creator = request.user new_comment.post_field = post + new_comment.anonymous = request.POST.get('anonymous', '') == 'on' new_comment.save() + messages.success(request, "Added comment successfully") return redirect(request.path_info) return render(request, 'yaksh/post_comments.html', { 'post': post, 'comments': comments, 'base_template': base_template, 'form': form, - 'user': user + 'user': user, + 'course': course }) @@ -3403,11 +3587,14 @@ def hide_post(request, course_id, uuid): user = request.user course = get_object_or_404(Course, id=course_id) if (not course.is_creator(user) and not course.is_teacher(user)): - raise Http404('You are not enrolled in {0} course'.format(course.name)) + raise Http404( + 'Only a course creator or a teacher can delete the post.' + ) post = get_object_or_404(Post, uid=uuid) post.comment.active = False post.active = False post.save() + messages.success(request, "Post deleted successfully") return redirect('yaksh:course_forum', course_id) @@ -3415,11 +3602,548 @@ def hide_post(request, course_id, uuid): @email_verified def hide_comment(request, course_id, uuid): user = request.user - course = get_object_or_404(Course, id=course_id) - if (not course.is_creator(user) and not course.is_teacher(user)): - raise Http404('You are not enrolled in {0} course'.format(course.name)) + if course_id: + course = get_object_or_404(Course, id=course_id) + if (not course.is_creator(user) and not course.is_teacher(user)): + raise Http404( + 'Only a course creator or a teacher can delete the comments' + ) comment = get_object_or_404(Comment, uid=uuid) post_uid = comment.post_field.uid comment.active = False comment.save() + messages.success(request, "Post comment deleted successfully") return redirect('yaksh:post_comments', course_id, post_uid) + + +@login_required +@email_verified +def add_marker(request, course_id, lesson_id): + user = request.user + if not is_moderator(user): + raise Http404('You are not allowed to view this page!') + course = get_object_or_404(Course, pk=course_id) + if not course.is_creator(user) and not course.is_teacher(user): + raise Http404('This course does not belong to you') + content_type = request.POST.get("content") + question_type = request.POST.get("type") + if content_type == '1': + form = TopicForm() + template_name = 'yaksh/add_topic.html' + status = 1 + formset = None + tc_class = None + else: + if not question_type: + question_type = "mcq" + form = VideoQuizForm(question_type=question_type) + formset, tc_class = get_tc_formset(question_type) + template_name = 'yaksh/add_video_quiz.html' + status = 2 + context = {'form': form, 'course_id': course.id, 'lesson_id': lesson_id, + 'formset': formset, 'tc_class': tc_class, + 'content_type': content_type} + data = loader.render_to_string( + template_name, context=context, request=request + ) + return JsonResponse( + {'success': True, 'data': data, 'content_type': content_type, + 'status': status} + ) + + +def get_tc_formset(question_type, post=None, question=None): + tc, tc_class = McqTestCase, 'mcqtestcase' + if question_type == 'mcq' or question_type == 'mcc': + tc, tc_class = McqTestCase, 'mcqtestcase' + elif question_type == 'integer': + tc, tc_class = IntegerTestCase, 'integertestcase' + elif question_type == 'float': + tc, tc_class = FloatTestCase, 'floattestcase' + elif question_type == 'string': + tc, tc_class = StringTestCase, 'stringtestcase' + TestcaseFormset = inlineformset_factory( + Question, tc, form=TestcaseForm, extra=1, fields="__all__", + ) + formset = TestcaseFormset( + post, initial=[{'type': tc_class}], instance=question + ) + return formset, tc_class + + +def get_toc_contents(request, course_id, lesson_id): + contents = TableOfContents.objects.filter( + course_id=course_id, lesson_id=lesson_id + ).order_by("time") + data = loader.render_to_string( + "yaksh/show_toc.html", context={ + 'contents': contents, 'lesson_id': lesson_id + }, + request=request + ) + return data + + +@login_required +@email_verified +def allow_special_attempt(request, user_id, course_id, quiz_id): + user = request.user + + if not is_moderator(user): + raise Http404('You are not allowed to view this page') + + course = get_object_or_404(Course, pk=course_id) + if not course.is_creator(user) and not course.is_teacher(user): + raise Http404('This course does not belong to you') + + quiz = get_object_or_404(Quiz, pk=quiz_id) + student = get_object_or_404(User, pk=user_id) + + if not course.is_enrolled(student): + raise Http404('The student is not enrolled for this course') + + micromanager, created = MicroManager.objects.get_or_create( + course=course, student=student, quiz=quiz + ) + micromanager.manager = user + micromanager.save() + + if (not micromanager.is_special_attempt_required() or + micromanager.is_last_attempt_inprogress()): + name = student.get_full_name() + msg = '{} can attempt normally. No special attempt required!'.format( + name) + elif micromanager.can_student_attempt(): + msg = '{} already has a special attempt!'.format( + student.get_full_name()) + else: + micromanager.allow_special_attempt() + msg = 'A special attempt is provided to {}!'.format( + student.get_full_name()) + + messages.info(request, msg) + return redirect('yaksh:monitor', quiz_id, course_id) + + +@login_required +@email_verified +def add_topic(request, content_type, course_id, lesson_id, toc_id=None, + topic_id=None): + user = request.user + if not is_moderator(user): + raise Http404('You are not allowed to view this page!') + course = get_object_or_404(Course, pk=course_id) + if not course.is_creator(user) and not course.is_teacher(user): + raise Http404('This course does not belong to you') + if topic_id: + topic = get_object_or_404(Topic, pk=topic_id) + else: + topic = None + if toc_id: + toc = get_object_or_404(TableOfContents, pk=toc_id) + else: + toc = None + context = {} + if request.method == "POST": + form = TopicForm(request.POST, instance=topic) + if form.is_valid(): + form.save() + time = request.POST.get("timer") + if not topic: + TableOfContents.objects.create( + content_object=form.instance, course_id=course_id, + lesson_id=lesson_id, content=content_type, + time=time + ) + context['toc'] = get_toc_contents(request, course_id, lesson_id) + if toc: + toc.time = time + toc.save() + status_code = 200 + context['success'] = True + context['message'] = 'Saved topic successfully' + else: + status_code = 400 + context['success'] = False + context['message'] = form.errors.as_json() + else: + form = TopicForm(instance=topic, time=toc.time) + template_context = {'form': form, 'course_id': course.id, + 'lesson_id': lesson_id, 'content_type': content_type, + 'topic_id': topic_id, 'toc_id': toc_id} + data = loader.render_to_string( + "yaksh/add_topic.html", context=template_context, request=request + ) + context['success'] = True + context['data'] = data + context['content_type'] = content_type + context['status'] = 1 + status_code = 200 + return JsonResponse(context, status=status_code) + + +@login_required +@email_verified +def add_marker_quiz(request, content_type, course_id, lesson_id, + toc_id=None, question_id=None): + user = request.user + if not is_moderator(user): + raise Http404('You are not allowed to view this page!') + course = get_object_or_404(Course, pk=course_id) + if not course.is_creator(user) and not course.is_teacher(user): + raise Http404('This course does not belong to you') + if question_id: + question = get_object_or_404(Question, pk=question_id) + else: + question = None + if toc_id: + toc = get_object_or_404(TableOfContents, pk=toc_id) + else: + toc = None + context = {} + if request.method == "POST": + qform = VideoQuizForm(request.POST, instance=question) + if qform.is_valid(): + if not question_id: + qform.save(commit=False) + qform.instance.user = user + qform.save() + formset, tc_class = get_tc_formset( + qform.instance.type, request.POST, qform.instance + ) + if formset.is_valid(): + formset.save() + time = request.POST.get("timer") + if not question: + TableOfContents.objects.create( + content_object=qform.instance, course_id=course_id, + lesson_id=lesson_id, content=content_type, + time=time + ) + context['toc'] = get_toc_contents(request, course_id, lesson_id) + if toc: + toc.time = time + toc.save() + status_code = 200 + context['success'] = True + context['message'] = 'Saved question successfully' + context['content_type'] = content_type + else: + status_code = 200 + context['success'] = False + context['message'] = "Error in saving."\ + " Please check the question test cases" + else: + status_code = 400 + context['success'] = False + context['message'] = qform.errors.as_json() + else: + form = VideoQuizForm(instance=question, time=toc.time) + formset, tc_class = get_tc_formset(question.type, question=question) + template_context = { + 'form': form, 'course_id': course.id, 'lesson_id': lesson_id, + 'formset': formset, 'tc_class': tc_class, 'toc_id': toc_id, + 'content_type': content_type, 'question_id': question_id + } + data = loader.render_to_string( + "yaksh/add_video_quiz.html", context=template_context, + request=request + ) + context['success'] = True + context['data'] = data + context['content_type'] = content_type + context['status'] = 2 + status_code = 200 + return JsonResponse(context, status=status_code) + + +@login_required +@email_verified +def revoke_special_attempt(request, micromanager_id): + user = request.user + + if not is_moderator(user): + raise Http404('You are not allowed to view this page') + + micromanager = get_object_or_404(MicroManager, pk=micromanager_id) + course = micromanager.course + if not course.is_creator(user) and not course.is_teacher(user): + raise Http404('This course does not belong to you') + micromanager.revoke_special_attempt() + msg = 'Revoked special attempt for {}'.format( + micromanager.student.get_full_name()) + messages.info(request, msg) + return redirect( + 'yaksh:monitor', micromanager.quiz.id, course.id) + + +@login_required +@email_verified +def delete_toc(request, course_id, toc_id): + user = request.user + if not is_moderator(user): + raise Http404('You are not allowed to view this page!') + course = get_object_or_404(Course, pk=course_id) + if not course.is_creator(user) and not course.is_teacher(user): + raise Http404('This course does not belong to you') + toc = get_object_or_404(TableOfContents, pk=toc_id) + redirect_url = request.POST.get("redirect_url") + if toc.content == 1: + get_object_or_404(Topic, pk=toc.object_id).delete() + else: + get_object_or_404(Question, id=toc.object_id).delete() + messages.success(request, "Content deleted successfully") + return redirect(redirect_url) + + +@login_required +@email_verified +def extend_time(request, paper_id): + user = request.user + + if not is_moderator(user): + raise Http404('You are not allowed to view this page') + + anspaper = get_object_or_404(AnswerPaper, pk=paper_id) + course = anspaper.course + if not course.is_creator(user) and not course.is_teacher(user): + raise Http404('This course does not belong to you') + + if request.method == "POST": + extra_time = float(request.POST.get('extra_time', 0)) + if extra_time is None: + msg = 'Please provide time' + else: + anspaper.set_extra_time(extra_time) + msg = 'Extra {0} minutes given to {1}'.format( + extra_time, anspaper.user.get_full_name()) + else: + msg = 'Bad Request' + messages.info(request, msg) + return redirect( + 'yaksh:monitor', anspaper.question_paper.quiz.id, course.id + ) + + +@login_required +@email_verified +def get_marker_quiz(request, course_id, toc_id): + user = request.user + course = get_object_or_404(Course, pk=course_id) + if not course.is_student(user): + raise Http404("You are not allowed to view this page") + toc = get_object_or_404(TableOfContents, pk=toc_id) + question = toc.content_object + template_context = { + "question": question, "course_id": course_id, "toc": toc, + "test_cases": question.get_test_cases() + } + data = loader.render_to_string( + "yaksh/show_lesson_quiz.html", context=template_context, + request=request + ) + context = {"data": data, "success": True} + return JsonResponse(context) + + +@login_required +@email_verified +def submit_marker_quiz(request, course_id, toc_id): + user = request.user + course = get_object_or_404(Course, pk=course_id) + if not course.is_student(user): + raise Http404("You are not allowed to view this page") + toc = get_object_or_404(TableOfContents, pk=toc_id) + current_question = toc.content_object + if current_question.type == 'mcq': + user_answer = request.POST.get('answer') + elif current_question.type == 'integer': + try: + user_answer = int(request.POST.get('answer')) + except ValueError: + user_answer = None + elif current_question.type == 'float': + try: + user_answer = float(request.POST.get('answer')) + except ValueError: + user_answer = None + elif current_question.type == 'string': + user_answer = str(request.POST.get('answer')) + elif current_question.type == 'mcc': + user_answer = request.POST.getlist('answer') + elif current_question.type == 'arrange': + user_answer_ids = request.POST.get('answer').split(',') + user_answer = [int(ids) for ids in user_answer_ids] + + def is_valid_answer(answer): + status = True + if ((current_question.type == "mcc" or + current_question.type == "arrange") and not answer): + status = False + elif answer is None or not str(answer): + status = False + return status + + if is_valid_answer(user_answer): + success = True + # check if graded quiz and already attempted + has_attempts = LessonQuizAnswer.objects.filter( + toc_id=toc_id, student_id=user.id).exists() + if ((toc.content == 2 and not has_attempts) or + toc.content == 3 or toc.content == 4): + answer = Answer.objects.create( + question_id=current_question.id, answer=user_answer, + correct=False, error=json.dumps([]) + ) + lesson_ans = LessonQuizAnswer.objects.create( + toc_id=toc_id, student=user, answer=answer + ) + msg = "Answer saved successfully" + # call check answer only for graded quiz and exercise + if toc.content == 3 or toc.content == 2: + result = lesson_ans.check_answer(user_answer) + # if exercise then show custom message + if toc.content == 3: + if result.get("success"): + msg = "You answered the question correctly" + else: + success = False + msg = "You have answered the question incorrectly. "\ + "Please refer the lesson again" + else: + msg = "You have already submitted the answer" + else: + success = False + msg = "Please submit a valid answer" + context = {"success": success, "message": msg} + return JsonResponse(context) + + +@login_required +@email_verified +def lesson_statistics(request, course_id, lesson_id, toc_id=None): + user = request.user + if not is_moderator(user): + raise Http404('You are not allowed to view this page!') + course = get_object_or_404(Course, pk=course_id) + if not course.is_creator(user) and not course.is_teacher(user): + raise Http404('This course does not belong to you') + context = {} + lesson = get_object_or_404(Lesson, id=lesson_id) + data = TableOfContents.objects.get_data(course_id, lesson_id) + context['data'] = data + context['lesson'] = lesson + context['course_id'] = course_id + if toc_id: + per_que_data = TableOfContents.objects.get_question_stats(toc_id) + question = per_que_data[0] + answers = per_que_data[1] + is_percent_reqd = ( + True if question.type == "mcq" or question.type == "mcc" + else False + ) + per_tc_ans, total_count = TableOfContents.objects.get_per_tc_ans( + toc_id, question.type, is_percent_reqd + ) + context['per_tc_ans'] = per_tc_ans + context['total_count'] = total_count + paginator = Paginator(answers, 50) + context['question'] = question + page = request.GET.get('page') + per_que_data = paginator.get_page(page) + context['is_que_data'] = True + context['objects'] = per_que_data + return render(request, 'yaksh/show_lesson_statistics.html', context) + + +@login_required +@email_verified +def upload_marks(request, course_id, questionpaper_id): + user = request.user + course = get_object_or_404(Course, pk=course_id) + question_paper = get_object_or_404(QuestionPaper, pk=questionpaper_id) + quiz = question_paper.quiz + + if not (course.is_teacher(user) or course.is_creator(user)): + raise Http404('You are not allowed to view this page!') + if request.method == 'POST': + if 'csv_file' not in request.FILES: + messages.warning(request, "Please upload a CSV file.") + return redirect('yaksh:monitor', quiz.id, course_id) + csv_file = request.FILES['csv_file'] + is_csv_file, dialect = is_csv(csv_file) + if not is_csv_file: + messages.warning(request, "The file uploaded is not a CSV file.") + return redirect('yaksh:monitor', quiz.id, course_id) + try: + reader = csv.DictReader( + csv_file.read().decode('utf-8').splitlines(), + dialect=dialect) + except TypeError: + messages.warning(request, "Bad CSV file") + return redirect('yaksh:monitor', quiz.id, course_id) + question_ids = _get_header_info(reader) + _read_marks_csv(request, reader, course, question_paper, question_ids) + return redirect('yaksh:monitor', quiz.id, course_id) + + +def _get_header_info(reader): + user_ids, question_ids = [], [] + fields = reader.fieldnames + for field in fields: + if field.startswith('Q') and field.count('-') > 0: + qid = int(field.split('-')[1]) + if qid not in question_ids: + question_ids.append(qid) + return question_ids + + +def _read_marks_csv(request, reader, course, question_paper, question_ids): + messages.info(request, 'Marks Uploaded!') + for row in reader: + username = row['username'] + user = User.objects.filter(username=username).first() + if user: + answerpapers = question_paper.answerpaper_set.filter(course=course, + user_id=user.id) + else: + messages.info(request, '{0} user not found!'.format(username)) + continue + answerpaper = answerpapers.last() + if not answerpaper: + messages.info(request, '{0} has no answerpaper!'.format(username)) + continue + answers = answerpaper.answers.all() + questions = answerpaper.questions.all().values_list('id', flat=True) + for qid in question_ids: + question = Question.objects.filter(id=qid).first() + if not question: + messages.info(request, + '{0} is an invalid question id!'.format(qid)) + continue + if qid in questions: + answer = answers.filter(question_id=qid).last() + if not answer: + answer = Answer(question_id=qid, marks=0, correct=False, + answer='Created During Marks Update!', + error=json.dumps([])) + answer.save() + answerpaper.answers.add(answer) + key1 = 'Q-{0}-{1}-{2}-marks'.format(qid, question.summary, + question.points) + key2 = 'Q-{0}-{1}-comments'.format(qid, question.summary, + question.points) + if key1 in reader.fieldnames: + try: + answer.set_marks(float(row[key1])) + except ValueError: + messages.info(request, + '{0} invalid marks!'.format(row[key1])) + if key2 in reader.fieldnames: + answer.set_comment(row[key2]) + answer.save() + answerpaper.update_marks(state='completed') + answerpaper.save() + messages.info(request, + 'Updated successfully for user: {0}, question: {1}'.format( + username, question.summary)) |