From bbfe37597a6f16b057a17b27057e10dc912f524f Mon Sep 17 00:00:00 2001 From: Ro Date: Sun, 14 Nov 2021 13:54:36 -0800 Subject: [PATCH 1/6] fixes for #63, #64, #65, updated composer dependencies --- brain/data/Book.inc.php | 5 +- brain/data/Render.inc.php | 8 +- brain/utility/DocTools.inc.php | 2 + composer.lock | 156 +++++++++++++++++---------------- 4 files changed, 90 insertions(+), 81 deletions(-) diff --git a/brain/data/Book.inc.php b/brain/data/Book.inc.php index 4b09668..03fc412 100644 --- a/brain/data/Book.inc.php +++ b/brain/data/Book.inc.php @@ -178,8 +178,9 @@ class Book ]; //TODO: When form submission is successful, make new form token - $form_token = md5(uniqid(microtime(), true)); - Session::set("form_token", $form_token); + //Session token doesn't reset on the front end, so turning this off for now + //$form_token = md5(uniqid(microtime(), true)); + //Session::set("form_token", $form_token); //once saved, update menu $body["path"] = $path; diff --git a/brain/data/Render.inc.php b/brain/data/Render.inc.php index 4bbf2c0..e6ee42d 100644 --- a/brain/data/Render.inc.php +++ b/brain/data/Render.inc.php @@ -119,11 +119,14 @@ class Render "img" => [ "allowed_attributes" => ["src", "alt", "title", "class"], "allowed_hosts" => null, + "allow_relative_links" => true, ], ], ]); - $preclean = $sanitizer->sanitize($rendered->getContent()); + $scrubbed = $sanitizer->sanitize($rendered->getContent()); + + //var_dump($scrubbed); //just clean renderd string for now, Sanitize doesn't like relative img urls //so another option is needed @@ -138,6 +141,7 @@ class Render "ul", "li", "i", + "em", "h1", "h2", "h3", @@ -161,7 +165,7 @@ class Render $pageOptions = [ "title" => $page["title"], "background" => $page["feature"], - "content" => $cleaned, + "content" => $scrubbed, "meta" => $meta, "recent" => $recent, "featured" => $featured, diff --git a/brain/utility/DocTools.inc.php b/brain/utility/DocTools.inc.php index 9650864..e28197f 100644 --- a/brain/utility/DocTools.inc.php +++ b/brain/utility/DocTools.inc.php @@ -93,7 +93,9 @@ class DocTools $object["uuid"] . "\n" . "title: " . + "'" . $object["title"] . + "'" . "\n" . "feature: " . $object["feature"] . diff --git a/composer.lock b/composer.lock index cfc7db4..9946867 100644 --- a/composer.lock +++ b/composer.lock @@ -453,16 +453,16 @@ }, { "name": "phpmailer/phpmailer", - "version": "v6.5.0", + "version": "v6.5.1", "source": { "type": "git", "url": "https://github.com/PHPMailer/PHPMailer.git", - "reference": "a5b5c43e50b7fba655f793ad27303cd74c57363c" + "reference": "dd803df5ad7492e1b40637f7ebd258fee5ca7355" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/a5b5c43e50b7fba655f793ad27303cd74c57363c", - "reference": "a5b5c43e50b7fba655f793ad27303cd74c57363c", + "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/dd803df5ad7492e1b40637f7ebd258fee5ca7355", + "reference": "dd803df5ad7492e1b40637f7ebd258fee5ca7355", "shasum": "" }, "require": { @@ -474,10 +474,12 @@ "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", "doctrine/annotations": "^1.2", + "php-parallel-lint/php-console-highlighter": "^0.5.0", + "php-parallel-lint/php-parallel-lint": "^1.3", "phpcompatibility/php-compatibility": "^9.3.5", "roave/security-advisories": "dev-latest", - "squizlabs/php_codesniffer": "^3.5.6", - "yoast/phpunit-polyfills": "^0.2.0" + "squizlabs/php_codesniffer": "^3.6.0", + "yoast/phpunit-polyfills": "^1.0.0" }, "suggest": { "ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses", @@ -517,7 +519,7 @@ "description": "PHPMailer is a full-featured email creation and transfer class for PHP", "support": { "issues": "https://github.com/PHPMailer/PHPMailer/issues", - "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.5.0" + "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.5.1" }, "funding": [ { @@ -525,24 +527,24 @@ "type": "github" } ], - "time": "2021-06-16T14:33:43+00:00" + "time": "2021-08-18T09:14:16+00:00" }, { "name": "psr/container", - "version": "2.0.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "2ae37329ee82f91efadc282cc2d527fd6065a5ef" + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/2ae37329ee82f91efadc282cc2d527fd6065a5ef", - "reference": "2ae37329ee82f91efadc282cc2d527fd6065a5ef", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", "shasum": "" }, "require": { - "php": ">=7.2.0" + "php": ">=7.4.0" }, "type": "library", "extra": { @@ -576,9 +578,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.1" + "source": "https://github.com/php-fig/container/tree/2.0.2" }, - "time": "2021-03-24T13:40:57+00:00" + "time": "2021-11-05T16:47:00+00:00" }, { "name": "psr/http-factory", @@ -1096,16 +1098,16 @@ }, { "name": "sebastian/exporter", - "version": "4.0.3", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65" + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", "shasum": "" }, "require": { @@ -1154,14 +1156,14 @@ } ], "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", + "homepage": "https://www.github.com/sebastianbergmann/exporter", "keywords": [ "export", "exporter" ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4" }, "funding": [ { @@ -1169,7 +1171,7 @@ "type": "github" } ], - "time": "2020-09-28T05:24:23+00:00" + "time": "2021-11-11T14:18:36+00:00" }, { "name": "sebastian/recursion-context", @@ -1236,25 +1238,25 @@ }, { "name": "slim/psr7", - "version": "1.4", + "version": "1.5", "source": { "type": "git", "url": "https://github.com/slimphp/Slim-Psr7.git", - "reference": "0dca983ca32a26f4a91fb11173b7b9eaee29e9d6" + "reference": "a47b43a8da7c0208b4c228af0cb29ea36080635a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slimphp/Slim-Psr7/zipball/0dca983ca32a26f4a91fb11173b7b9eaee29e9d6", - "reference": "0dca983ca32a26f4a91fb11173b7b9eaee29e9d6", + "url": "https://api.github.com/repos/slimphp/Slim-Psr7/zipball/a47b43a8da7c0208b4c228af0cb29ea36080635a", + "reference": "a47b43a8da7c0208b4c228af0cb29ea36080635a", "shasum": "" }, "require": { "fig/http-message-util": "^1.1.5", - "php": "^7.2 || ^8.0", + "php": "^7.3 || ^8.0", "psr/http-factory": "^1.0", "psr/http-message": "^1.0", - "ralouphie/getallheaders": "^3", - "symfony/polyfill-php80": "^1.22" + "ralouphie/getallheaders": "^3.0", + "symfony/polyfill-php80": "^1.23" }, "provide": { "psr/http-factory-implementation": "1.0", @@ -1265,10 +1267,11 @@ "ext-json": "*", "http-interop/http-factory-tests": "^0.9.0", "php-http/psr7-integration-tests": "dev-master", - "phpstan/phpstan": "^0.12", - "phpunit/phpunit": "^8.5 || ^9.5", - "squizlabs/php_codesniffer": "^3.6", - "weirdan/prophecy-shim": "^1.0 || ^2.0.2" + "phpspec/prophecy": "^1.14", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/phpstan": "^0.12.99", + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "^3.6" }, "type": "library", "autoload": { @@ -1311,50 +1314,49 @@ ], "support": { "issues": "https://github.com/slimphp/Slim-Psr7/issues", - "source": "https://github.com/slimphp/Slim-Psr7/tree/1.4" + "source": "https://github.com/slimphp/Slim-Psr7/tree/1.5" }, - "time": "2021-05-08T18:22:56+00:00" + "time": "2021-09-22T04:33:00+00:00" }, { "name": "slim/slim", - "version": "4.8.1", + "version": "4.9.0", "source": { "type": "git", "url": "https://github.com/slimphp/Slim.git", - "reference": "c8934c35d9d98b1a1df9f99ee69b77a59e0aa820" + "reference": "44d3c9c0bfcc47e52e42b097b6062689d21b904b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slimphp/Slim/zipball/c8934c35d9d98b1a1df9f99ee69b77a59e0aa820", - "reference": "c8934c35d9d98b1a1df9f99ee69b77a59e0aa820", + "url": "https://api.github.com/repos/slimphp/Slim/zipball/44d3c9c0bfcc47e52e42b097b6062689d21b904b", + "reference": "44d3c9c0bfcc47e52e42b097b6062689d21b904b", "shasum": "" }, "require": { "ext-json": "*", "nikic/fast-route": "^1.3", - "php": "^7.2 || ^8.0", + "php": "^7.3 || ^8.0", "psr/container": "^1.0 || ^2.0", "psr/http-factory": "^1.0", "psr/http-message": "^1.0", "psr/http-server-handler": "^1.0", "psr/http-server-middleware": "^1.0", - "psr/log": "^1.1" + "psr/log": "^1.1 || ^2.0 || ^3.0" }, "require-dev": { "adriansuter/php-autoload-override": "^1.2", "ext-simplexml": "*", - "guzzlehttp/psr7": "^1.8", - "http-interop/http-factory-guzzle": "^1.0", - "laminas/laminas-diactoros": "^2.4", + "guzzlehttp/psr7": "^2.0", + "laminas/laminas-diactoros": "^2.8", "nyholm/psr7": "^1.4", - "nyholm/psr7-server": "^1.0.1", - "phpspec/prophecy": "^1.13", - "phpstan/phpstan": "^0.12.85", - "phpunit/phpunit": "^8.5.13 || ^9.3.8", + "nyholm/psr7-server": "^1.0", + "phpspec/prophecy": "^1.14", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/phpstan": "^0.12.99", + "phpunit/phpunit": "^9.5", "slim/http": "^1.2", - "slim/psr7": "^1.3", - "squizlabs/php_codesniffer": "^3.6", - "weirdan/prophecy-shim": "^1.0 || ^2.0.2" + "slim/psr7": "^1.5", + "squizlabs/php_codesniffer": "^3.6" }, "suggest": { "ext-simplexml": "Needed to support XML format in BodyParsingMiddleware", @@ -1427,7 +1429,7 @@ "type": "tidelift" } ], - "time": "2021-06-29T19:41:06+00:00" + "time": "2021-10-05T03:00:00+00:00" }, { "name": "slim/twig-view", @@ -1969,16 +1971,16 @@ }, { "name": "symfony/property-access", - "version": "v5.3.4", + "version": "v5.3.8", "source": { "type": "git", "url": "https://github.com/symfony/property-access.git", - "reference": "098681253076af7070df7d9debe5f75733eea189" + "reference": "2fbab5f95ddb6b8e85f38a6a8a04a17c0acc4d66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-access/zipball/098681253076af7070df7d9debe5f75733eea189", - "reference": "098681253076af7070df7d9debe5f75733eea189", + "url": "https://api.github.com/repos/symfony/property-access/zipball/2fbab5f95ddb6b8e85f38a6a8a04a17c0acc4d66", + "reference": "2fbab5f95ddb6b8e85f38a6a8a04a17c0acc4d66", "shasum": "" }, "require": { @@ -2030,7 +2032,7 @@ "reflection" ], "support": { - "source": "https://github.com/symfony/property-access/tree/v5.3.4" + "source": "https://github.com/symfony/property-access/tree/v5.3.8" }, "funding": [ { @@ -2046,20 +2048,20 @@ "type": "tidelift" } ], - "time": "2021-07-21T12:40:44+00:00" + "time": "2021-09-10T11:55:24+00:00" }, { "name": "symfony/property-info", - "version": "v5.3.4", + "version": "v5.3.8", "source": { "type": "git", "url": "https://github.com/symfony/property-info.git", - "reference": "0f42009150679a7a256eb6ee106401af5d974ed2" + "reference": "39de5bed8c036f76ec0457ec52908e45d5497947" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-info/zipball/0f42009150679a7a256eb6ee106401af5d974ed2", - "reference": "0f42009150679a7a256eb6ee106401af5d974ed2", + "url": "https://api.github.com/repos/symfony/property-info/zipball/39de5bed8c036f76ec0457ec52908e45d5497947", + "reference": "39de5bed8c036f76ec0457ec52908e45d5497947", "shasum": "" }, "require": { @@ -2120,7 +2122,7 @@ "validator" ], "support": { - "source": "https://github.com/symfony/property-info/tree/v5.3.4" + "source": "https://github.com/symfony/property-info/tree/v5.3.8" }, "funding": [ { @@ -2136,20 +2138,20 @@ "type": "tidelift" } ], - "time": "2021-07-21T12:40:44+00:00" + "time": "2021-09-07T07:41:40+00:00" }, { "name": "symfony/string", - "version": "v5.3.3", + "version": "v5.3.10", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1" + "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1", - "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1", + "url": "https://api.github.com/repos/symfony/string/zipball/d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c", + "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c", "shasum": "" }, "require": { @@ -2203,7 +2205,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.3.3" + "source": "https://github.com/symfony/string/tree/v5.3.10" }, "funding": [ { @@ -2219,7 +2221,7 @@ "type": "tidelift" } ], - "time": "2021-06-27T11:44:38+00:00" + "time": "2021-10-27T18:21:46+00:00" }, { "name": "symfony/yaml", @@ -2346,16 +2348,16 @@ }, { "name": "twig/twig", - "version": "v3.3.2", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "21578f00e83d4a82ecfa3d50752b609f13de6790" + "reference": "a27fa056df8a6384316288ca8b0fa3a35fdeb569" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/21578f00e83d4a82ecfa3d50752b609f13de6790", - "reference": "21578f00e83d4a82ecfa3d50752b609f13de6790", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/a27fa056df8a6384316288ca8b0fa3a35fdeb569", + "reference": "a27fa056df8a6384316288ca8b0fa3a35fdeb569", "shasum": "" }, "require": { @@ -2365,7 +2367,7 @@ }, "require-dev": { "psr/container": "^1.0", - "symfony/phpunit-bridge": "^4.4.9|^5.0.9" + "symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0" }, "type": "library", "extra": { @@ -2406,7 +2408,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.3.2" + "source": "https://github.com/twigphp/Twig/tree/v3.3.3" }, "funding": [ { @@ -2418,7 +2420,7 @@ "type": "tidelift" } ], - "time": "2021-05-16T12:14:13+00:00" + "time": "2021-09-17T08:44:23+00:00" } ], "packages-dev": [], From a8355b2da4f41e73380dc3a06da844997a4bd31c Mon Sep 17 00:00:00 2001 From: Ro Date: Wed, 17 Nov 2021 16:59:53 -0800 Subject: [PATCH 2/6] created new Theme data class for theme stuff, added custom page view, added view select for page edit screen --- brain/App.inc.php | 1 + brain/controller/DashControl.inc.php | 5 ++- brain/data/Settings.inc.php | 14 ------- brain/data/Themes.inc.php | 41 +++++++++++++++++++ brain/views/dash/partials/options.twig | 11 +++++ .../themes/fipamo-default/page-custom.twig | 35 ++++++++++++++++ 6 files changed, 91 insertions(+), 16 deletions(-) create mode 100644 brain/data/Themes.inc.php create mode 100644 content/themes/fipamo-default/page-custom.twig diff --git a/brain/App.inc.php b/brain/App.inc.php index 5cef56c..3e18c59 100644 --- a/brain/App.inc.php +++ b/brain/App.inc.php @@ -12,6 +12,7 @@ include "../brain/data/Session.inc.php"; include "../brain/data/Member.inc.php"; include "../brain/data/Auth.inc.php"; include "../brain/data/Render.inc.php"; +include "../brain/data/Themes.inc.php"; include "../brain/utility/StringTools.inc.php"; include "../brain/utility/FileUploader.inc.php"; include "../brain/utility/DocTools.inc.php"; diff --git a/brain/controller/DashControl.inc.php b/brain/controller/DashControl.inc.php index 98d25af..7ded135 100644 --- a/brain/controller/DashControl.inc.php +++ b/brain/controller/DashControl.inc.php @@ -21,7 +21,7 @@ class DashControl if (Session::active()) { $config = new Settings(); $settings = $config->getSettings(); - $themes = $config->getThemes(); + $themes = (new Themes())->getThemes(); //$config->getThemes(); $template = "dash/settings.twig"; $member = Session::get("member"); $form_token = Session::get("form_token"); @@ -103,13 +103,14 @@ class DashControl $mode = $args["third"]; if ($mode == "edit") { $uuid = $args["fourth"]; - + $customPages = (new Themes())->getCustomViews(); $pageOptions = [ "title" => "Fipamo | Edit Page", "page" => (new Book("../content/pages"))->findPageById($uuid), "mode" => $mode, "token" => Session::get("form_token"), "status" => Session::active(), + "views" => $customPages, ]; } else { $pageOptions = [ diff --git a/brain/data/Settings.inc.php b/brain/data/Settings.inc.php index 3770fba..ff25452 100644 --- a/brain/data/Settings.inc.php +++ b/brain/data/Settings.inc.php @@ -6,7 +6,6 @@ class Settings { private $folks; private static $tags; - private $themes = []; private static $settings; public function __construct() @@ -18,14 +17,6 @@ class Settings file_get_contents("../config/settings.json"), true ); - - $_themes = glob("../content/themes/*", GLOB_ONLYDIR); - foreach ($_themes as $theme) { - array_push( - $this->themes, - json_decode(file_get_contents($theme . "/theme.json"), true) - ); - } } public static function sync($data) @@ -101,11 +92,6 @@ class Settings DocTools::writeSettings("../config/settings.json", $settings); } - public function getThemes() - { - return $this->themes; - } - public function getFolks($key = null) { if (isset($key)) { diff --git a/brain/data/Themes.inc.php b/brain/data/Themes.inc.php new file mode 100644 index 0000000..fbfe4a8 --- /dev/null +++ b/brain/data/Themes.inc.php @@ -0,0 +1,41 @@ +themes, + json_decode(file_get_contents($theme . "/theme.json"), true) + ); + } + } + + public function getThemes() + { + return $this->themes; + } + + public function getCustomViews() + { + $settings = (new Settings())->getSettings(); + $currentTheme = $settings["global"]["theme"]; + $folder = "../content/themes/" . $currentTheme; + $files = array_filter(glob("$folder/*twig"), "is_file"); + $views = []; + + foreach ($files as $file) { + $path = explode("/", $file); + $fileName = $path[4]; + if (str_contains($fileName, "page")) { + $page = explode(".", $fileName); + $views[] = $page[0]; + } + } + return $views; + } +} diff --git a/brain/views/dash/partials/options.twig b/brain/views/dash/partials/options.twig index 8df7bd1..e5eff67 100644 --- a/brain/views/dash/partials/options.twig +++ b/brain/views/dash/partials/options.twig @@ -32,4 +32,15 @@ + + \ No newline at end of file diff --git a/content/themes/fipamo-default/page-custom.twig b/content/themes/fipamo-default/page-custom.twig new file mode 100644 index 0000000..ab941ce --- /dev/null +++ b/content/themes/fipamo-default/page-custom.twig @@ -0,0 +1,35 @@ +{% extends "fipamo-default/frame.twig" %} + +{% block title %} + {{ title }} +{% endblock %} + + {% block mainContent %} +
+
+ {{title}} +
+
+
+
+

{{content | raw}}

+
+ + {{meta['who']}} dropped this {{ meta['when'] }}
+ tags: + {% for tag in meta['tags'] %} + {% if dynamicRender is defined %} + {% if dynamicRender %} + {{ tag.label }} + {% else %} + {{ tag.label }} + {% endif %} + {% else %} + {{ tag.label }} + {% endif %} + + {% endfor %} +
+
+
+ {% endblock %} \ No newline at end of file From 49e53a9638a3e490de1fa918fb1d2ea3d2def431 Mon Sep 17 00:00:00 2001 From: Ro Date: Thu, 18 Nov 2021 14:59:59 -0800 Subject: [PATCH 3/6] added styled page layout selector, page renders selected layout --- brain/data/Render.inc.php | 2 +- brain/views/dash/page-edit.twig | 2 +- brain/views/dash/partials/options.twig | 55 ++++++++++--------- .../themes/fipamo-default/page-custom.twig | 1 + public/assets/css/dash.css | 2 +- public/assets/scripts/dash.min.js | 8 +-- src/com/actions/PageActions.js | 1 + src/styles/main/_posts.sass | 15 +++++ 8 files changed, 53 insertions(+), 33 deletions(-) diff --git a/brain/data/Render.inc.php b/brain/data/Render.inc.php index e6ee42d..93b8096 100644 --- a/brain/data/Render.inc.php +++ b/brain/data/Render.inc.php @@ -173,7 +173,7 @@ class Render "menu" => $this->menu, ]; } else { - $template = $this->theme . "/page.twig"; + $template = $this->theme . "/" . $page["layout"] . ".twig"; $location = "../public/" . $page["path"] . "/" . $page["slug"] . ".html"; $dir = "../public/" . $page["path"]; diff --git a/brain/views/dash/page-edit.twig b/brain/views/dash/page-edit.twig index df9c483..56840a7 100644 --- a/brain/views/dash/page-edit.twig +++ b/brain/views/dash/page-edit.twig @@ -30,7 +30,7 @@ {% endblock %} {% block stylesheets %} - + {% endblock %} {% block mainContent %} diff --git a/brain/views/dash/partials/options.twig b/brain/views/dash/partials/options.twig index e5eff67..68c452f 100644 --- a/brain/views/dash/partials/options.twig +++ b/brain/views/dash/partials/options.twig @@ -17,30 +17,33 @@ {% endif %}
- - - - - + + + +
+ + +
+
\ No newline at end of file diff --git a/content/themes/fipamo-default/page-custom.twig b/content/themes/fipamo-default/page-custom.twig index ab941ce..4ce23a0 100644 --- a/content/themes/fipamo-default/page-custom.twig +++ b/content/themes/fipamo-default/page-custom.twig @@ -12,6 +12,7 @@
+ THIS IS A CUSTOM TEMPLATE

{{content | raw}}

diff --git a/public/assets/css/dash.css b/public/assets/css/dash.css index a567e92..ebca575 100644 --- a/public/assets/css/dash.css +++ b/public/assets/css/dash.css @@ -1 +1 @@ -.column{display:block;flex-basis:0;flex-grow:1;flex-shrink:1;padding:.75rem}.columns.is-mobile>.column.is-narrow{flex:none;width:unset}.columns.is-mobile>.column.is-full{flex:none;width:100%}.columns.is-mobile>.column.is-three-quarters{flex:none;width:75%}.columns.is-mobile>.column.is-two-thirds{flex:none;width:66.6666%}.columns.is-mobile>.column.is-half{flex:none;width:50%}.columns.is-mobile>.column.is-one-third{flex:none;width:33.3333%}.columns.is-mobile>.column.is-one-quarter{flex:none;width:25%}.columns.is-mobile>.column.is-one-fifth{flex:none;width:20%}.columns.is-mobile>.column.is-two-fifths{flex:none;width:40%}.columns.is-mobile>.column.is-three-fifths{flex:none;width:60%}.columns.is-mobile>.column.is-four-fifths{flex:none;width:80%}.columns.is-mobile>.column.is-offset-three-quarters{margin-left:75%}.columns.is-mobile>.column.is-offset-two-thirds{margin-left:66.6666%}.columns.is-mobile>.column.is-offset-half{margin-left:50%}.columns.is-mobile>.column.is-offset-one-third{margin-left:33.3333%}.columns.is-mobile>.column.is-offset-one-quarter{margin-left:25%}.columns.is-mobile>.column.is-offset-one-fifth{margin-left:20%}.columns.is-mobile>.column.is-offset-two-fifths{margin-left:40%}.columns.is-mobile>.column.is-offset-three-fifths{margin-left:60%}.columns.is-mobile>.column.is-offset-four-fifths{margin-left:80%}.columns.is-mobile>.column.is-0{flex:none;width:0%}.columns.is-mobile>.column.is-offset-0{margin-left:0%}.columns.is-mobile>.column.is-1{flex:none;width:8.33333337%}.columns.is-mobile>.column.is-offset-1{margin-left:8.33333337%}.columns.is-mobile>.column.is-2{flex:none;width:16.66666674%}.columns.is-mobile>.column.is-offset-2{margin-left:16.66666674%}.columns.is-mobile>.column.is-3{flex:none;width:25%}.columns.is-mobile>.column.is-offset-3{margin-left:25%}.columns.is-mobile>.column.is-4{flex:none;width:33.33333337%}.columns.is-mobile>.column.is-offset-4{margin-left:33.33333337%}.columns.is-mobile>.column.is-5{flex:none;width:41.66666674%}.columns.is-mobile>.column.is-offset-5{margin-left:41.66666674%}.columns.is-mobile>.column.is-6{flex:none;width:50%}.columns.is-mobile>.column.is-offset-6{margin-left:50%}.columns.is-mobile>.column.is-7{flex:none;width:58.33333337%}.columns.is-mobile>.column.is-offset-7{margin-left:58.33333337%}.columns.is-mobile>.column.is-8{flex:none;width:66.66666674%}.columns.is-mobile>.column.is-offset-8{margin-left:66.66666674%}.columns.is-mobile>.column.is-9{flex:none;width:75%}.columns.is-mobile>.column.is-offset-9{margin-left:75%}.columns.is-mobile>.column.is-10{flex:none;width:83.33333337%}.columns.is-mobile>.column.is-offset-10{margin-left:83.33333337%}.columns.is-mobile>.column.is-11{flex:none;width:91.66666674%}.columns.is-mobile>.column.is-offset-11{margin-left:91.66666674%}.columns.is-mobile>.column.is-12{flex:none;width:100%}.columns.is-mobile>.column.is-offset-12{margin-left:100%}@media screen and (max-width: 768px){.column.is-narrow-mobile{flex:none;width:unset}.column.is-full-mobile{flex:none;width:100%}.column.is-three-quarters-mobile{flex:none;width:75%}.column.is-two-thirds-mobile{flex:none;width:66.6666%}.column.is-half-mobile{flex:none;width:50%}.column.is-one-third-mobile{flex:none;width:33.3333%}.column.is-one-quarter-mobile{flex:none;width:25%}.column.is-one-fifth-mobile{flex:none;width:20%}.column.is-two-fifths-mobile{flex:none;width:40%}.column.is-three-fifths-mobile{flex:none;width:60%}.column.is-four-fifths-mobile{flex:none;width:80%}.column.is-offset-three-quarters-mobile{margin-left:75%}.column.is-offset-two-thirds-mobile{margin-left:66.6666%}.column.is-offset-half-mobile{margin-left:50%}.column.is-offset-one-third-mobile{margin-left:33.3333%}.column.is-offset-one-quarter-mobile{margin-left:25%}.column.is-offset-one-fifth-mobile{margin-left:20%}.column.is-offset-two-fifths-mobile{margin-left:40%}.column.is-offset-three-fifths-mobile{margin-left:60%}.column.is-offset-four-fifths-mobile{margin-left:80%}.column.is-0-mobile{flex:none;width:0%}.column.is-offset-0-mobile{margin-left:0%}.column.is-1-mobile{flex:none;width:8.33333337%}.column.is-offset-1-mobile{margin-left:8.33333337%}.column.is-2-mobile{flex:none;width:16.66666674%}.column.is-offset-2-mobile{margin-left:16.66666674%}.column.is-3-mobile{flex:none;width:25%}.column.is-offset-3-mobile{margin-left:25%}.column.is-4-mobile{flex:none;width:33.33333337%}.column.is-offset-4-mobile{margin-left:33.33333337%}.column.is-5-mobile{flex:none;width:41.66666674%}.column.is-offset-5-mobile{margin-left:41.66666674%}.column.is-6-mobile{flex:none;width:50%}.column.is-offset-6-mobile{margin-left:50%}.column.is-7-mobile{flex:none;width:58.33333337%}.column.is-offset-7-mobile{margin-left:58.33333337%}.column.is-8-mobile{flex:none;width:66.66666674%}.column.is-offset-8-mobile{margin-left:66.66666674%}.column.is-9-mobile{flex:none;width:75%}.column.is-offset-9-mobile{margin-left:75%}.column.is-10-mobile{flex:none;width:83.33333337%}.column.is-offset-10-mobile{margin-left:83.33333337%}.column.is-11-mobile{flex:none;width:91.66666674%}.column.is-offset-11-mobile{margin-left:91.66666674%}.column.is-12-mobile{flex:none;width:100%}.column.is-offset-12-mobile{margin-left:100%}}@media screen and (min-width: 769px),print{.column.is-narrow,.column.is-narrow-tablet{flex:none;width:unset}.column.is-full,.column.is-full-tablet{flex:none;width:100%}.column.is-three-quarters,.column.is-three-quarters-tablet{flex:none;width:75%}.column.is-two-thirds,.column.is-two-thirds-tablet{flex:none;width:66.6666%}.column.is-half,.column.is-half-tablet{flex:none;width:50%}.column.is-one-third,.column.is-one-third-tablet{flex:none;width:33.3333%}.column.is-one-quarter,.column.is-one-quarter-tablet{flex:none;width:25%}.column.is-one-fifth,.column.is-one-fifth-tablet{flex:none;width:20%}.column.is-two-fifths,.column.is-two-fifths-tablet{flex:none;width:40%}.column.is-three-fifths,.column.is-three-fifths-tablet{flex:none;width:60%}.column.is-four-fifths,.column.is-four-fifths-tablet{flex:none;width:80%}.column.is-offset-three-quarters,.column.is-offset-three-quarters-tablet{margin-left:75%}.column.is-offset-two-thirds,.column.is-offset-two-thirds-tablet{margin-left:66.6666%}.column.is-offset-half,.column.is-offset-half-tablet{margin-left:50%}.column.is-offset-one-third,.column.is-offset-one-third-tablet{margin-left:33.3333%}.column.is-offset-one-quarter,.column.is-offset-one-quarter-tablet{margin-left:25%}.column.is-offset-one-fifth,.column.is-offset-one-fifth-tablet{margin-left:20%}.column.is-offset-two-fifths,.column.is-offset-two-fifths-tablet{margin-left:40%}.column.is-offset-three-fifths,.column.is-offset-three-fifths-tablet{margin-left:60%}.column.is-offset-four-fifths,.column.is-offset-four-fifths-tablet{margin-left:80%}.column.is-0,.column.is-0-tablet{flex:none;width:0%}.column.is-offset-0,.column.is-offset-0-tablet{margin-left:0%}.column.is-1,.column.is-1-tablet{flex:none;width:8.33333337%}.column.is-offset-1,.column.is-offset-1-tablet{margin-left:8.33333337%}.column.is-2,.column.is-2-tablet{flex:none;width:16.66666674%}.column.is-offset-2,.column.is-offset-2-tablet{margin-left:16.66666674%}.column.is-3,.column.is-3-tablet{flex:none;width:25%}.column.is-offset-3,.column.is-offset-3-tablet{margin-left:25%}.column.is-4,.column.is-4-tablet{flex:none;width:33.33333337%}.column.is-offset-4,.column.is-offset-4-tablet{margin-left:33.33333337%}.column.is-5,.column.is-5-tablet{flex:none;width:41.66666674%}.column.is-offset-5,.column.is-offset-5-tablet{margin-left:41.66666674%}.column.is-6,.column.is-6-tablet{flex:none;width:50%}.column.is-offset-6,.column.is-offset-6-tablet{margin-left:50%}.column.is-7,.column.is-7-tablet{flex:none;width:58.33333337%}.column.is-offset-7,.column.is-offset-7-tablet{margin-left:58.33333337%}.column.is-8,.column.is-8-tablet{flex:none;width:66.66666674%}.column.is-offset-8,.column.is-offset-8-tablet{margin-left:66.66666674%}.column.is-9,.column.is-9-tablet{flex:none;width:75%}.column.is-offset-9,.column.is-offset-9-tablet{margin-left:75%}.column.is-10,.column.is-10-tablet{flex:none;width:83.33333337%}.column.is-offset-10,.column.is-offset-10-tablet{margin-left:83.33333337%}.column.is-11,.column.is-11-tablet{flex:none;width:91.66666674%}.column.is-offset-11,.column.is-offset-11-tablet{margin-left:91.66666674%}.column.is-12,.column.is-12-tablet{flex:none;width:100%}.column.is-offset-12,.column.is-offset-12-tablet{margin-left:100%}}@media screen and (max-width: 1023px){.column.is-narrow-touch{flex:none;width:unset}.column.is-full-touch{flex:none;width:100%}.column.is-three-quarters-touch{flex:none;width:75%}.column.is-two-thirds-touch{flex:none;width:66.6666%}.column.is-half-touch{flex:none;width:50%}.column.is-one-third-touch{flex:none;width:33.3333%}.column.is-one-quarter-touch{flex:none;width:25%}.column.is-one-fifth-touch{flex:none;width:20%}.column.is-two-fifths-touch{flex:none;width:40%}.column.is-three-fifths-touch{flex:none;width:60%}.column.is-four-fifths-touch{flex:none;width:80%}.column.is-offset-three-quarters-touch{margin-left:75%}.column.is-offset-two-thirds-touch{margin-left:66.6666%}.column.is-offset-half-touch{margin-left:50%}.column.is-offset-one-third-touch{margin-left:33.3333%}.column.is-offset-one-quarter-touch{margin-left:25%}.column.is-offset-one-fifth-touch{margin-left:20%}.column.is-offset-two-fifths-touch{margin-left:40%}.column.is-offset-three-fifths-touch{margin-left:60%}.column.is-offset-four-fifths-touch{margin-left:80%}.column.is-0-touch{flex:none;width:0%}.column.is-offset-0-touch{margin-left:0%}.column.is-1-touch{flex:none;width:8.33333337%}.column.is-offset-1-touch{margin-left:8.33333337%}.column.is-2-touch{flex:none;width:16.66666674%}.column.is-offset-2-touch{margin-left:16.66666674%}.column.is-3-touch{flex:none;width:25%}.column.is-offset-3-touch{margin-left:25%}.column.is-4-touch{flex:none;width:33.33333337%}.column.is-offset-4-touch{margin-left:33.33333337%}.column.is-5-touch{flex:none;width:41.66666674%}.column.is-offset-5-touch{margin-left:41.66666674%}.column.is-6-touch{flex:none;width:50%}.column.is-offset-6-touch{margin-left:50%}.column.is-7-touch{flex:none;width:58.33333337%}.column.is-offset-7-touch{margin-left:58.33333337%}.column.is-8-touch{flex:none;width:66.66666674%}.column.is-offset-8-touch{margin-left:66.66666674%}.column.is-9-touch{flex:none;width:75%}.column.is-offset-9-touch{margin-left:75%}.column.is-10-touch{flex:none;width:83.33333337%}.column.is-offset-10-touch{margin-left:83.33333337%}.column.is-11-touch{flex:none;width:91.66666674%}.column.is-offset-11-touch{margin-left:91.66666674%}.column.is-12-touch{flex:none;width:100%}.column.is-offset-12-touch{margin-left:100%}}@media screen and (min-width: 1024px){.column.is-narrow-desktop{flex:none;width:unset}.column.is-full-desktop{flex:none;width:100%}.column.is-three-quarters-desktop{flex:none;width:75%}.column.is-two-thirds-desktop{flex:none;width:66.6666%}.column.is-half-desktop{flex:none;width:50%}.column.is-one-third-desktop{flex:none;width:33.3333%}.column.is-one-quarter-desktop{flex:none;width:25%}.column.is-one-fifth-desktop{flex:none;width:20%}.column.is-two-fifths-desktop{flex:none;width:40%}.column.is-three-fifths-desktop{flex:none;width:60%}.column.is-four-fifths-desktop{flex:none;width:80%}.column.is-offset-three-quarters-desktop{margin-left:75%}.column.is-offset-two-thirds-desktop{margin-left:66.6666%}.column.is-offset-half-desktop{margin-left:50%}.column.is-offset-one-third-desktop{margin-left:33.3333%}.column.is-offset-one-quarter-desktop{margin-left:25%}.column.is-offset-one-fifth-desktop{margin-left:20%}.column.is-offset-two-fifths-desktop{margin-left:40%}.column.is-offset-three-fifths-desktop{margin-left:60%}.column.is-offset-four-fifths-desktop{margin-left:80%}.column.is-0-desktop{flex:none;width:0%}.column.is-offset-0-desktop{margin-left:0%}.column.is-1-desktop{flex:none;width:8.33333337%}.column.is-offset-1-desktop{margin-left:8.33333337%}.column.is-2-desktop{flex:none;width:16.66666674%}.column.is-offset-2-desktop{margin-left:16.66666674%}.column.is-3-desktop{flex:none;width:25%}.column.is-offset-3-desktop{margin-left:25%}.column.is-4-desktop{flex:none;width:33.33333337%}.column.is-offset-4-desktop{margin-left:33.33333337%}.column.is-5-desktop{flex:none;width:41.66666674%}.column.is-offset-5-desktop{margin-left:41.66666674%}.column.is-6-desktop{flex:none;width:50%}.column.is-offset-6-desktop{margin-left:50%}.column.is-7-desktop{flex:none;width:58.33333337%}.column.is-offset-7-desktop{margin-left:58.33333337%}.column.is-8-desktop{flex:none;width:66.66666674%}.column.is-offset-8-desktop{margin-left:66.66666674%}.column.is-9-desktop{flex:none;width:75%}.column.is-offset-9-desktop{margin-left:75%}.column.is-10-desktop{flex:none;width:83.33333337%}.column.is-offset-10-desktop{margin-left:83.33333337%}.column.is-11-desktop{flex:none;width:91.66666674%}.column.is-offset-11-desktop{margin-left:91.66666674%}.column.is-12-desktop{flex:none;width:100%}.column.is-offset-12-desktop{margin-left:100%}}@media screen and (min-width: 1216px){.column.is-narrow-widescreen{flex:none;width:unset}.column.is-full-widescreen{flex:none;width:100%}.column.is-three-quarters-widescreen{flex:none;width:75%}.column.is-two-thirds-widescreen{flex:none;width:66.6666%}.column.is-half-widescreen{flex:none;width:50%}.column.is-one-third-widescreen{flex:none;width:33.3333%}.column.is-one-quarter-widescreen{flex:none;width:25%}.column.is-one-fifth-widescreen{flex:none;width:20%}.column.is-two-fifths-widescreen{flex:none;width:40%}.column.is-three-fifths-widescreen{flex:none;width:60%}.column.is-four-fifths-widescreen{flex:none;width:80%}.column.is-offset-three-quarters-widescreen{margin-left:75%}.column.is-offset-two-thirds-widescreen{margin-left:66.6666%}.column.is-offset-half-widescreen{margin-left:50%}.column.is-offset-one-third-widescreen{margin-left:33.3333%}.column.is-offset-one-quarter-widescreen{margin-left:25%}.column.is-offset-one-fifth-widescreen{margin-left:20%}.column.is-offset-two-fifths-widescreen{margin-left:40%}.column.is-offset-three-fifths-widescreen{margin-left:60%}.column.is-offset-four-fifths-widescreen{margin-left:80%}.column.is-0-widescreen{flex:none;width:0%}.column.is-offset-0-widescreen{margin-left:0%}.column.is-1-widescreen{flex:none;width:8.33333337%}.column.is-offset-1-widescreen{margin-left:8.33333337%}.column.is-2-widescreen{flex:none;width:16.66666674%}.column.is-offset-2-widescreen{margin-left:16.66666674%}.column.is-3-widescreen{flex:none;width:25%}.column.is-offset-3-widescreen{margin-left:25%}.column.is-4-widescreen{flex:none;width:33.33333337%}.column.is-offset-4-widescreen{margin-left:33.33333337%}.column.is-5-widescreen{flex:none;width:41.66666674%}.column.is-offset-5-widescreen{margin-left:41.66666674%}.column.is-6-widescreen{flex:none;width:50%}.column.is-offset-6-widescreen{margin-left:50%}.column.is-7-widescreen{flex:none;width:58.33333337%}.column.is-offset-7-widescreen{margin-left:58.33333337%}.column.is-8-widescreen{flex:none;width:66.66666674%}.column.is-offset-8-widescreen{margin-left:66.66666674%}.column.is-9-widescreen{flex:none;width:75%}.column.is-offset-9-widescreen{margin-left:75%}.column.is-10-widescreen{flex:none;width:83.33333337%}.column.is-offset-10-widescreen{margin-left:83.33333337%}.column.is-11-widescreen{flex:none;width:91.66666674%}.column.is-offset-11-widescreen{margin-left:91.66666674%}.column.is-12-widescreen{flex:none;width:100%}.column.is-offset-12-widescreen{margin-left:100%}}@media screen and (min-width: 1408px){.column.is-narrow-fullhd{flex:none;width:unset}.column.is-full-fullhd{flex:none;width:100%}.column.is-three-quarters-fullhd{flex:none;width:75%}.column.is-two-thirds-fullhd{flex:none;width:66.6666%}.column.is-half-fullhd{flex:none;width:50%}.column.is-one-third-fullhd{flex:none;width:33.3333%}.column.is-one-quarter-fullhd{flex:none;width:25%}.column.is-one-fifth-fullhd{flex:none;width:20%}.column.is-two-fifths-fullhd{flex:none;width:40%}.column.is-three-fifths-fullhd{flex:none;width:60%}.column.is-four-fifths-fullhd{flex:none;width:80%}.column.is-offset-three-quarters-fullhd{margin-left:75%}.column.is-offset-two-thirds-fullhd{margin-left:66.6666%}.column.is-offset-half-fullhd{margin-left:50%}.column.is-offset-one-third-fullhd{margin-left:33.3333%}.column.is-offset-one-quarter-fullhd{margin-left:25%}.column.is-offset-one-fifth-fullhd{margin-left:20%}.column.is-offset-two-fifths-fullhd{margin-left:40%}.column.is-offset-three-fifths-fullhd{margin-left:60%}.column.is-offset-four-fifths-fullhd{margin-left:80%}.column.is-0-fullhd{flex:none;width:0%}.column.is-offset-0-fullhd{margin-left:0%}.column.is-1-fullhd{flex:none;width:8.33333337%}.column.is-offset-1-fullhd{margin-left:8.33333337%}.column.is-2-fullhd{flex:none;width:16.66666674%}.column.is-offset-2-fullhd{margin-left:16.66666674%}.column.is-3-fullhd{flex:none;width:25%}.column.is-offset-3-fullhd{margin-left:25%}.column.is-4-fullhd{flex:none;width:33.33333337%}.column.is-offset-4-fullhd{margin-left:33.33333337%}.column.is-5-fullhd{flex:none;width:41.66666674%}.column.is-offset-5-fullhd{margin-left:41.66666674%}.column.is-6-fullhd{flex:none;width:50%}.column.is-offset-6-fullhd{margin-left:50%}.column.is-7-fullhd{flex:none;width:58.33333337%}.column.is-offset-7-fullhd{margin-left:58.33333337%}.column.is-8-fullhd{flex:none;width:66.66666674%}.column.is-offset-8-fullhd{margin-left:66.66666674%}.column.is-9-fullhd{flex:none;width:75%}.column.is-offset-9-fullhd{margin-left:75%}.column.is-10-fullhd{flex:none;width:83.33333337%}.column.is-offset-10-fullhd{margin-left:83.33333337%}.column.is-11-fullhd{flex:none;width:91.66666674%}.column.is-offset-11-fullhd{margin-left:91.66666674%}.column.is-12-fullhd{flex:none;width:100%}.column.is-offset-12-fullhd{margin-left:100%}}.columns{margin-left:-0.75rem;margin-right:-0.75rem;margin-top:-0.75rem}.columns:last-child{margin-bottom:-0.75rem}.columns:not(:last-child){margin-bottom:calc(1.5rem - 0.75rem)}.columns.is-centered{justify-content:center}.columns.is-gapless{margin-left:0;margin-right:0;margin-top:0}.columns.is-gapless>.column{margin:0;padding:0 !important}.columns.is-gapless:not(:last-child){margin-bottom:1.5rem}.columns.is-gapless:last-child{margin-bottom:0}.columns.is-mobile{display:flex}.columns.is-multiline{flex-wrap:wrap}.columns.is-vcentered{align-items:center}@media screen and (min-width: 769px),print{.columns:not(.is-desktop){display:flex}}@media screen and (min-width: 1024px){.columns.is-desktop{display:flex}}.columns.is-variable{--columnGap: 0.75rem;margin-left:calc(-1*var(--columnGap));margin-right:calc(-1*var(--columnGap))}.columns.is-variable>.column{padding-left:var(--columnGap);padding-right:var(--columnGap)}.columns.is-variable.is-0{--columnGap: 0rem}@media screen and (max-width: 768px){.columns.is-variable.is-0-mobile{--columnGap: 0rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-0-tablet{--columnGap: 0rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-0-tablet-only{--columnGap: 0rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-0-touch{--columnGap: 0rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-0-desktop{--columnGap: 0rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-0-desktop-only{--columnGap: 0rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-0-widescreen{--columnGap: 0rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-0-widescreen-only{--columnGap: 0rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-0-fullhd{--columnGap: 0rem}}.columns.is-variable.is-1{--columnGap: 0.25rem}@media screen and (max-width: 768px){.columns.is-variable.is-1-mobile{--columnGap: 0.25rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-1-tablet{--columnGap: 0.25rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-1-tablet-only{--columnGap: 0.25rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-1-touch{--columnGap: 0.25rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-1-desktop{--columnGap: 0.25rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-1-desktop-only{--columnGap: 0.25rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-1-widescreen{--columnGap: 0.25rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-1-widescreen-only{--columnGap: 0.25rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-1-fullhd{--columnGap: 0.25rem}}.columns.is-variable.is-2{--columnGap: 0.5rem}@media screen and (max-width: 768px){.columns.is-variable.is-2-mobile{--columnGap: 0.5rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-2-tablet{--columnGap: 0.5rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-2-tablet-only{--columnGap: 0.5rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-2-touch{--columnGap: 0.5rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-2-desktop{--columnGap: 0.5rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-2-desktop-only{--columnGap: 0.5rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-2-widescreen{--columnGap: 0.5rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-2-widescreen-only{--columnGap: 0.5rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-2-fullhd{--columnGap: 0.5rem}}.columns.is-variable.is-3{--columnGap: 0.75rem}@media screen and (max-width: 768px){.columns.is-variable.is-3-mobile{--columnGap: 0.75rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-3-tablet{--columnGap: 0.75rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-3-tablet-only{--columnGap: 0.75rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-3-touch{--columnGap: 0.75rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-3-desktop{--columnGap: 0.75rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-3-desktop-only{--columnGap: 0.75rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-3-widescreen{--columnGap: 0.75rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-3-widescreen-only{--columnGap: 0.75rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-3-fullhd{--columnGap: 0.75rem}}.columns.is-variable.is-4{--columnGap: 1rem}@media screen and (max-width: 768px){.columns.is-variable.is-4-mobile{--columnGap: 1rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-4-tablet{--columnGap: 1rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-4-tablet-only{--columnGap: 1rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-4-touch{--columnGap: 1rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-4-desktop{--columnGap: 1rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-4-desktop-only{--columnGap: 1rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-4-widescreen{--columnGap: 1rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-4-widescreen-only{--columnGap: 1rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-4-fullhd{--columnGap: 1rem}}.columns.is-variable.is-5{--columnGap: 1.25rem}@media screen and (max-width: 768px){.columns.is-variable.is-5-mobile{--columnGap: 1.25rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-5-tablet{--columnGap: 1.25rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-5-tablet-only{--columnGap: 1.25rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-5-touch{--columnGap: 1.25rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-5-desktop{--columnGap: 1.25rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-5-desktop-only{--columnGap: 1.25rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-5-widescreen{--columnGap: 1.25rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-5-widescreen-only{--columnGap: 1.25rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-5-fullhd{--columnGap: 1.25rem}}.columns.is-variable.is-6{--columnGap: 1.5rem}@media screen and (max-width: 768px){.columns.is-variable.is-6-mobile{--columnGap: 1.5rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-6-tablet{--columnGap: 1.5rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-6-tablet-only{--columnGap: 1.5rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-6-touch{--columnGap: 1.5rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-6-desktop{--columnGap: 1.5rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-6-desktop-only{--columnGap: 1.5rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-6-widescreen{--columnGap: 1.5rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-6-widescreen-only{--columnGap: 1.5rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-6-fullhd{--columnGap: 1.5rem}}.columns.is-variable.is-7{--columnGap: 1.75rem}@media screen and (max-width: 768px){.columns.is-variable.is-7-mobile{--columnGap: 1.75rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-7-tablet{--columnGap: 1.75rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-7-tablet-only{--columnGap: 1.75rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-7-touch{--columnGap: 1.75rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-7-desktop{--columnGap: 1.75rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-7-desktop-only{--columnGap: 1.75rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-7-widescreen{--columnGap: 1.75rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-7-widescreen-only{--columnGap: 1.75rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-7-fullhd{--columnGap: 1.75rem}}.columns.is-variable.is-8{--columnGap: 2rem}@media screen and (max-width: 768px){.columns.is-variable.is-8-mobile{--columnGap: 2rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-8-tablet{--columnGap: 2rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-8-tablet-only{--columnGap: 2rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-8-touch{--columnGap: 2rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-8-desktop{--columnGap: 2rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-8-desktop-only{--columnGap: 2rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-8-widescreen{--columnGap: 2rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-8-widescreen-only{--columnGap: 2rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-8-fullhd{--columnGap: 2rem}}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0;line-height:1em}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:60%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.55em;background:#1d3040;color:#1d3040;border-radius:2px;padding:0 2px 0 2px;margin:0 2px 0 0}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}h1,h2,h3{color:#efebe3}h1{font-size:2em;font-weight:400}h2{font-size:1.75em;font-weight:400}h3{font-size:1.5em;font-weight:300}html,body{background:#1d3040 linear-gradient(0deg, #1d3040 0%, #2d4a63 100%) no-repeat;font:400 1em Helvetica,Arial,sans-serif;height:100%}a{font:300 1em Helvetica,Arial,sans-serif;color:#b2cce5;text-decoration:underline}svg.icons{width:25px;fill:#b2cce5}#notifications{perspective:1000px;position:fixed;z-index:2000;height:55px;width:100%;display:block;align-items:center;justify-content:center;padding:0;margin-top:-55px}#notifications #notifyMessage{margin:0 auto;transition:all .6s cubic-bezier(0.83, 0.05, 0.28, 1);height:50px;width:500px;display:flex;align-items:center;justify-content:center;opacity:1;transform-style:preserve-3d;transform:rotateX(-120deg);transform-origin:50% 0}#notifications #notifyMessage #notify-good,#notifications #notifyMessage #notify-lame,#notifications #notifyMessage #notify-working{display:block}#notifications #notifyMessage #notify-working-box{-webkit-animation:spin 2s linear infinite;-moz-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-moz-keyframes spin{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes spin{100%{-webkit-transform:rotate(360deg)}}@keyframes spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#notifications #notifyMessage .notify-icon{background:#32302f;padding:8px 5px 5px 5px;border-radius:5px 0 0 5px;height:30px;width:30px;text-align:center;border:2px solid #efebe3}#notifications #notifyMessage p{color:#efebe3;background:#000;width:400px;height:28px;padding:15px 0 0 5px;border-radius:0 5px 5px 0;border:2px solid #efebe3;text-align:center}#notifications #notifyMessage .icons{fill:#efebe3}.notify-close{transform-style:preserve-3d;transform:rotateX(-120deg)}.notify-open{transform-style:preserve-3d;transform:rotateX(0deg)}.blog-container{width:100%}.main-container{margin:0 auto;z-index:10;position:relative;height:100%}.main-container section header{width:100%;max-width:900px;margin:10px auto;background:#efebe3;height:50px;border-radius:5px}.main-container section header #wrapper{padding:5px}.main-container section header #wrapper #left,.main-container section header #wrapper #right{width:49.7%;display:inline-block;vertical-align:top;min-height:60px}.main-container section header #wrapper #left #the-logo,.main-container section header #wrapper #right #the-logo{width:29px}.main-container section header #wrapper #right{text-align:right;color:#efebe3}.main-container section header #wrapper #right #dash-menu{text-align:right}.main-container section header #wrapper #right #dash-menu a button{border-radius:50px}.main-container section header #wrapper #right #dash-menu a button svg{-moz-transition:all .1s linear;-webkit-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;width:40px;height:20px;fill:#efebe3}.main-container section header #wrapper #right #dash-menu a:hover button{background:#1d3040}.main-container section header #wrapper #right #dash-menu a:hover svg{fill:#b2cce5}::-moz-selection{background-color:#fc6399;color:#efebe3}::selection{background-color:#fc6399;color:#efebe3}::-o-selection{background-color:#fc6399;color:#efebe3}::-ms-selection{background-color:#fc6399;color:#efebe3}::-webkit-selection{background-color:#fc6399;color:#efebe3}@media only screen and (max-width: 901px){.main-container{padding:10px}}@media only screen and (max-width: 800px){.main-container section header #wrapper #left,.main-container section header #wrapper #right{display:inline-block}}@media only screen and (max-width: 480px){.main-container section header #wrapper #left{width:30%}.main-container section header #wrapper #right{width:70%}}#dash-index-content{width:100%;height:100%;margin:0 auto}#dash-index-content #dash-index{width:100%;height:100%;z-index:10;position:relative}#dash-index-content #dash-index #dash-index-wrapper{width:100%;height:100%;margin:0 auto}#dash-index-content #dash-index #dash-index-wrapper .dash-init,#dash-index-content #dash-index #dash-index-wrapper .dash-restore{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#1d3040}#dash-index-content #dash-index #dash-index-wrapper .dash-init form,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form{background:#efebe3;padding:15px;width:300px;border-radius:5px;text-align:center}#dash-index-content #dash-index #dash-index-wrapper .dash-init form #the-logo,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form #the-logo{width:40px;margin:20px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form input,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form input{width:290px;margin:0 0 10px 0;height:30px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form button,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form button{width:300px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form div,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form div{background:#1d3040;color:#efebe3;border-radius:3px;padding:5px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form div label,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form div label{display:block;padding:5px;color:#f5ab35}#dash-index-content #dash-index #dash-index-wrapper .dash-restore{display:none;visibility:hidden}#dash-index-content #dash-index #dash-index-wrapper #dash-login{width:100%;height:100%;margin:0 auto;display:flex;align-items:center;justify-content:center}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset{width:300px;padding:.75em;background:#efebe3;border-radius:5px;color:#efebe3;text-align:center}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form #the-logo,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset #the-logo{width:40px;margin:20px}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form input,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset input{width:290px;margin:0 0 10px 0;height:30px}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form button,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset button{width:300px}#dash-index-content #dash-index #dash-index-wrapper #dash-menu{padding:10px;width:90%;max-width:900px;margin:50px auto}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a{display:inline-block;vertical-align:top;background:#000;width:30%;padding:5px;border-radius:3px;color:#efebe3;margin:0 10px 10px 0}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a:hover{background:#000}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a svg{display:inline-block;vertical-align:top;fill:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a label{display:inline-block;margin-top:5px;width:85%;text-align:center;cursor:pointer}#dash-index-content #dash-index #dash-index-wrapper #dash-recent{width:100%;max-width:900px;height:100%;padding:5px 0 0 0;margin:0 auto}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list{position:relative}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header{height:50px;margin-top:5px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-left{vertical-align:top;display:inline-block;width:50%;color:#efebe3;font-size:3em}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right{width:50%;text-align:right;vertical-align:top;display:inline-block;right:10px;color:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right a button{border-radius:3px;margin-left:10px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right a button svg{-moz-transition:all .1s linear;-webkit-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;width:40px;height:20px;fill:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link{font-size:1.5em;font-weight:300;display:inline-block;border-radius:3px;vertical-align:top;text-decoration:none;position:relative}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link label{font-size:1.4em;font-weight:700;color:#efebe3;padding:5px;vertical-align:top;display:inline-block;word-wrap:break-word;width:100%;text-align:center;position:relative;top:35%;text-shadow:2px 2px 0 #32302f}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options{width:100%;position:absolute;bottom:0;border-radius:0 0 3px 3px;background:linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%)}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left{display:inline-block;vertical-align:top;width:50%;position:relative;background:none}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button{border-radius:3px;background:#1d3040;margin:0 0 10px 10px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button svg{width:40px;height:20px;fill:#b2cce5}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left .item-options{border-radius:3px;margin:5px;display:inline-block}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=false]{background:#1d3040}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=false] svg{fill:#b2cce5}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=true]{background:#f5ab35}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=true] svg{fill:#1d3040}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-right{display:inline-block;width:50%;text-align:right}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-right span{font-weight:bold;display:block;background:#efebe3;color:#1d3040;border-radius:3px;font-size:.6em;text-align:center;position:relative;padding:5px;float:right;margin:0 10px 0 0;bottom:-15px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(3){width:100%;margin-bottom:20px;height:500px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.6%;height:350px;margin:0 10px 20px 0}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(5),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(7){width:48.6%;height:350px;margin:0 0 20px 10px}@media only screen and (max-width: 768px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.9%}}@media only screen and (max-width: 640px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.5%}}@media only screen and (max-width: 480px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header h3{width:40%}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-menu{width:60%}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(3),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(5),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(7){width:100%;margin:15px 0 0 0;height:400px}}#settings-actions{position:fixed;width:40%;margin-top:-85px;left:50%;margin-left:-20%}#settings-actions #buttons{width:185px;margin:28px auto;text-align:center;background:#efebe3;padding:2px;border-radius:3px}#settings-actions #buttons button{color:#efebe3;border-radius:3px;width:40px;margin:0 10px 0 10px}#settings-actions #buttons button svg{width:25px;height:20px;fill:#efebe3}#settings-actions #buttons button[data-render=false]{background:#b2cce5}#settings-actions #buttons button[data-render=false] svg{fill:#1d3040}#settings-actions #buttons button[data-render=true]{background:#fc6399}#settings-actions #buttons button[data-render=true] svg{fill:#efebe3}#settings-index{width:94%;max-width:900px;margin:0 auto;overflow:hidden}#settings-index #settings-index-wrapper{padding:0}#settings-index #settings-index-wrapper button{margin-top:5px;width:100%;height:33px}#settings-index #settings-index-wrapper #member-settings,#settings-index #settings-index-wrapper #feature-settings,#settings-index #settings-index-wrapper #option-settings,#settings-index #settings-index-wrapper #token-settings,#settings-index #settings-index-wrapper #backup-settings{background:#efebe3;padding:0px;border-radius:5px 0 5px 0;width:100%;margin:20px auto}#settings-index #settings-index-wrapper #member-settings label,#settings-index #settings-index-wrapper #feature-settings label,#settings-index #settings-index-wrapper #option-settings label,#settings-index #settings-index-wrapper #token-settings label,#settings-index #settings-index-wrapper #backup-settings label{font-family:Helvetica,Arial,sans-serif;color:#1d3040;font-weight:bold}#settings-index #settings-index-wrapper #member-settings span,#settings-index #settings-index-wrapper #feature-settings span,#settings-index #settings-index-wrapper #option-settings span,#settings-index #settings-index-wrapper #token-settings span,#settings-index #settings-index-wrapper #backup-settings span{color:#b2cce5}#settings-index #settings-index-wrapper #member-settings input,#settings-index #settings-index-wrapper #feature-settings input,#settings-index #settings-index-wrapper #option-settings input,#settings-index #settings-index-wrapper #token-settings input,#settings-index #settings-index-wrapper #backup-settings input{width:95%;margin:0 5px 10px 0;height:30px;padding:10px}#settings-index #settings-index-wrapper #member-settings input#backup-upload,#settings-index #settings-index-wrapper #feature-settings input#backup-upload,#settings-index #settings-index-wrapper #option-settings input#backup-upload,#settings-index #settings-index-wrapper #token-settings input#backup-upload,#settings-index #settings-index-wrapper #backup-settings input#backup-upload{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings .backup-meta,#settings-index #settings-index-wrapper #feature-settings .backup-meta,#settings-index #settings-index-wrapper #option-settings .backup-meta,#settings-index #settings-index-wrapper #token-settings .backup-meta,#settings-index #settings-index-wrapper #backup-settings .backup-meta{background:#1d3040;color:#efebe3;padding:8px;border-radius:3px;margin:5px 0 0 0;text-align:center}#settings-index #settings-index-wrapper #member-settings #member-images,#settings-index #settings-index-wrapper #feature-settings #member-images,#settings-index #settings-index-wrapper #option-settings #member-images,#settings-index #settings-index-wrapper #token-settings #member-images,#settings-index #settings-index-wrapper #backup-settings #member-images{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop{display:inline-block;margin:0 0 10px 0}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop img{width:100%;border-radius:5px;overflow:hidden;cursor:pointer;display:block;margin-bottom:2px}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop input{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop #privacy-toggle{width:50%}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop #render-toggle{width:50%}#settings-index #settings-index-wrapper #member-settings #member-images #site-background,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background,#settings-index #settings-index-wrapper #option-settings #member-images #site-background,#settings-index #settings-index-wrapper #token-settings #member-images #site-background,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background{margin:0 0 10px 0}#settings-index #settings-index-wrapper #member-settings #member-images #site-background img,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background img,#settings-index #settings-index-wrapper #option-settings #member-images #site-background img,#settings-index #settings-index-wrapper #token-settings #member-images #site-background img,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background img{width:92.1%;height:292px;border-radius:3px;overflow:hidden;cursor:pointer}#settings-index #settings-index-wrapper #member-settings #member-images #site-background input,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background input,#settings-index #settings-index-wrapper #option-settings #member-images #site-background input,#settings-index #settings-index-wrapper #token-settings #member-images #site-background input,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background input{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings #member-meta,#settings-index #settings-index-wrapper #feature-settings #member-meta,#settings-index #settings-index-wrapper #option-settings #member-meta,#settings-index #settings-index-wrapper #token-settings #member-meta,#settings-index #settings-index-wrapper #backup-settings #member-meta{padding:10px 15px 0 15px;position:relative;top:-30px}#settings-index #settings-index-wrapper #member-settings #features,#settings-index #settings-index-wrapper #feature-settings #features,#settings-index #settings-index-wrapper #option-settings #features,#settings-index #settings-index-wrapper #token-settings #features,#settings-index #settings-index-wrapper #backup-settings #features{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper textarea{background:#1d3040;width:70%;height:89.5px;color:#f5ab35;padding:10px;display:inline-block;margin-bottom:10px}#settings-index #settings-index-wrapper span#key{color:#efebe3;background:#1d3040;font-size:.9em;border-radius:3px;padding:5px;display:block;width:95%;overflow:hidden}#settings-index #settings-index-wrapper #feature-settings #feature-api,#settings-index #settings-index-wrapper #feature-settings #dynamic-api{background:#1d3040;border-radius:3px;padding:5px;width:95%}#settings-index #settings-index-wrapper #feature-settings #feature-api span,#settings-index #settings-index-wrapper #feature-settings #dynamic-api span{color:#efebe3 !important;margin:6px 0 0 5px;position:relative;vertical-align:middle;display:inline-block;font-weight:bold}#settings-index #settings-index-wrapper #feature-settings #feature-api button,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button{color:#efebe3;border-radius:3px;width:40px;margin:0;height:25px}#settings-index #settings-index-wrapper #feature-settings #feature-api button svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button svg{width:25px;height:20px;fill:#efebe3;position:relative;display:block;margin:-12px auto}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=false],#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=false]{background:#b2cce5}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=false] svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=false] svg{fill:#1d3040}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=true],#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=true]{background:#fc6399}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=true] svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=true] svg{fill:#efebe3}#settings-index #settings-index-wrapper #token-settings #keys-tokens{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper #token-settings #keys-tokens #member-api-key,#settings-index #settings-index-wrapper #token-settings #keys-tokens #form-token{background:#1d3040;border-radius:3px;padding:5px;color:#efebe3}#settings-index #settings-index-wrapper #option-settings #theme-settings a{width:95%;margin:0 5px 5px 0;height:15px;padding:10px;display:inline-block}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=false]{background:#efebe3;color:#1d3040;border-radius:3px;font-weight:bold;border-top:1px #fc6399 solid;border-bottom:1px #fc6399 solid}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=true]{background:#fc6399;color:#1d3040;border-radius:3px;font-weight:bold;border-top:1px #1d3040 solid;border-bottom:1px #1d3040 solid}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=true] svg{fill:#1d3040;display:inline-block;float:right}#settings-index #settings-index-wrapper #option-settings #mail-settings{min-height:240px}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option{float:right;font-family:"Lucida Console",Monaco,monospace;font-size:.9em;border-radius:3px;text-decoration:none;margin:0 0 0 5px}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option[data-enabled=true]{color:#fc6399}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option[data-enabled=false]{color:#1d3040}#settings-index #settings-index-wrapper #option-settings #mail-settings input{margin:0 5px 5px 0;vertical-align:top}#settings-index #settings-index-wrapper #option-settings #mail-settings div[data-enabled=false]{display:none;visibility:hidden}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api{background:#1d3040;border-radius:3px;padding:10px}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api span{color:#efebe3 !important;margin:-13px 0 0 5px;position:relative;vertical-align:middle;display:inline-block;font-weight:bold}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button{color:#efebe3;border-radius:3px;width:40px;margin:0}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button svg{width:25px;height:20px;fill:#efebe3}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=false]{background:#b2cce5}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=false] svg{fill:#1d3040}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=true]{background:#fc6399}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=true] svg{fill:#efebe3}@media only screen and (max-width: 480px){#settings-actions{margin-left:-42%}#settings-actions #buttons{width:150px;background:none}#settings-actions #buttons button{margin:0 5px 0 5px}}#error-index{width:100%;max-width:900px;margin:0 auto;padding:10px;height:100%;z-index:10;position:relative}#error-index label#title{font-size:100px;color:#fc6399;font-weight:500}#error-index label#message{font-size:50px;color:#f5ab35;font-weight:500}#error-index label#error{font-size:25px;color:#f64747;font-weight:500}#nav-index{width:100%;max-width:900px;margin:0 auto}#nav-index #nav-index-wrapper #nav-pages .nav-item{display:block;width:98%;background:#efebe3;border-radius:3px;color:#fc6399;height:30px;padding:10px;margin:0 0 10px 0;font-size:1.5em;cursor:move}#nav-index #nav-index-wrapper #nav-pages .nav-item #item-arrows{fill:#1d3040;width:40px;height:30px}#nav-index #nav-index-wrapper #nav-pages label{display:inline-block;vertical-align:middle;padding:0;margin:-15px 0 0 10px;cursor:move}#nav-index #nav-index-wrapper #nav-pages #nav-btns{float:right;top:-5px;position:relative}#nav-index #nav-index-wrapper #nav-pages #nav-btns button{color:#efebe3;border-radius:3px;width:40px;margin:0 10px 0 10px}#nav-index #nav-index-wrapper #nav-pages #nav-btns button svg{fill:#efebe3;width:25px;height:20px}@media only screen and (max-width: 375px){#nav-index #nav-index-wrapper #nav-pages .nav-item{width:94.5%;font-size:1em}#nav-index #nav-index-wrapper #nav-pages .nav-item label{width:40%;vertical-align:top;margin-top:0px;line-height:1em}}@media only screen and (max-width: 320px){#nav-index #nav-index-wrapper #nav-pages .nav-item{width:94.5%;font-size:1em}#nav-index #nav-index-wrapper #nav-pages .nav-item label{width:37%;vertical-align:top;margin-top:0px;line-height:1em}}form{display:inline-block}form a{color:#1d3040}form p{background:#f5ab35;color:#1d3040;padding:5px;display:block;border-radius:5px;text-align:left}input[type=email],input[type=password],input[type=text]{border:0;border-radius:5px;padding:5px;margin:10px 5px 0 0;font:18px Helvetica,Arial,sans-serif;display:inline-block;background:#1d3040;color:#f5ab35}textarea{border:0;border-radius:3px;color:#efebe3;font:15px Helvetica,Arial,sans-serif;background:#1d3040}button,input[type=submit]{background:#fc6399;color:#1d3040;font:20px Helvetica,Arial,sans-serif;border-radius:5px;position:relative;cursor:pointer;border:0;padding:10px 0 5px 0;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear}select{font:14px Helvetica,Arial,sans-serif;border:1px solid #b2cce5;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:#1d3040}::-webkit-input-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}:-moz-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}::-moz-placeholder{font:15px Helvetica,Arial,sans-serif;color:#efebe3}:-ms-input-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}#post-index{width:100%;max-width:900px;margin:0 auto}#post-index #post-index-wrapper{overflow:hidden}#post-index #post-index-wrapper #post-index-header{margin:10px 0 0 0}#post-index #post-index-wrapper #post-index-header #post-index-header-left{text-transform:capitalize;display:inline-block;width:50%;color:#efebe3;font-size:3em}#post-index #post-index-wrapper #post-index-header #post-index-header-right{text-align:right;display:inline-block;width:50%}#post-index #post-index-wrapper #post-index-header #post-index-header-right a button{color:#efebe3;border-radius:3px;margin-left:10px;width:55px}#post-index #post-index-wrapper #post-index-header #post-index-header-right a button svg{width:20px;height:17px;fill:#efebe3}#post-index #post-index-wrapper #post-index-header #post-index-header-right .current-filter{color:#fc6399;text-decoration-color:#b2cce5}#post-index #post-index-wrapper #posts-list{margin:20px 0 0 0}#post-index #post-index-wrapper #posts-list a.page-link{background:#efebe3;display:inline-block;vertical-align:top;width:100%;text-decoration:none;margin:0 0 20px 0;border-radius:3px;overflow:hidden;color:#000}#post-index #post-index-wrapper #posts-list a.page-link label{font-size:2em;font-weight:500;padding:10px;display:inline-block;vertical-align:top;width:100%}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg{width:100%;height:350px;background-color:#fc6399;position:relative}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg label{font-size:2em;font-weight:700;color:#efebe3;padding:5px;vertical-align:top;display:inline-block;word-wrap:break-word;width:100%;text-align:center;position:relative;top:35%;text-shadow:2px 2px 0 #32302f}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta{width:100%;background:linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);border-radius:3px;margin:auto;bottom:0;position:absolute;padding:0 0 20px 0}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options{width:100%;bottom:0;position:absolute}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left{display:inline-block;vertical-align:top;width:50%;position:relative;background:none}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button{border-radius:3px;background:#1d3040;margin:0 0 10px 10px}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button svg{width:40px;height:20px;fill:#b2cce5}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left .item-options{border-radius:3px;margin:5px;display:inline-block}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=false]{background:#1d3040}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=false] svg{fill:#b2cce5}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=true]{background:#f5ab35}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=true] svg{fill:#1d3040}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-right{display:inline-block;width:50%;text-align:right}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-right span{font-weight:bold;display:block;background:#efebe3;color:#1d3040;border-radius:3px;font-size:.6em;text-align:center;position:relative;padding:5px;float:right;margin:0 10px 0 0;bottom:-15px}#post-index #post-index-wrapper #posts-list a.page-link p{padding:5px 10px 5px 10px;font-size:1.2em;font-weight:400}#post-index #post-index-wrapper .paginate{width:260px;display:block;margin:0 auto}#post-index #post-index-wrapper .paginate a{display:inline-block;vertical-align:top}#post-index #post-index-wrapper .paginate span.count{text-align:center;padding:5px;margin-top:-2px;display:inline-block;width:190px;font-size:1.5em;color:#f5ab35}#post-edit-index{width:100%;overflow:hidden}#post-edit-index #post-edit-index-wrapper{width:100%}#post-edit-index #post-edit-index-wrapper #post-header{background:#fc6399}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper{max-width:900px;margin:0 auto;padding:.75rem}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper label{color:#efebe3;font-size:.8em;font-family:Helvetica,Arial,sans-serif;font-weight:600}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper span{color:#1d3040;font-size:1.5em}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-title #post_title{background:#efebe3;font-family:Helvetica,Arial,sans-serif;width:97.6%;height:80px;font-size:2em;color:#1d3040;padding:5px;margin:0 0 5px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-title #calendar-icon{background:#05090b;border-radius:3px 0 0 3px;display:inline-block;padding:5.2px;color:#b2cce5}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post_tags{background:#efebe3;font-family:Helvetica,Arial,sans-serif;width:97.6%;height:80px;color:#1d3040;padding:5px;margin:0 0 5px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options{display:inline-block;vertical-align:top;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button:nth-child(1){border-radius:3px 0 0 3px}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button:nth-child(3){border-radius:0 3px 3px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button{width:33.3%;height:45px;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;margin:0;border-radius:0;display:inline-block;vertical-align:top;text-align:center}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=false]{background:#1d3040}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=false] svg{fill:#b2cce5}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=true]{background:#f5ab35}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=true] svg{fill:#1d3040}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #featured-image-upload,#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-image-upload{display:none}#post-edit-index #post-edit-index-wrapper #post-feature{width:100%}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop{display:flex;align-items:center;justify-content:center;width:100%;min-height:200px;background:#000;color:#1d3040;vertical-align:middle;font-family:"Lucida Console",Monaco,monospace}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop label{cursor:pointer}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop img{width:100%;margin:0;padding:0}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn{position:absolute;margin:20px}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn #new-feature-upload{padding-top:4px;background:#efebe3}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn #new-feature-upload svg{fill:#fc6399}#post-edit-index #post-edit-index-wrapper #edit-post{width:100%;max-width:880px;margin:0 auto}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper{max-width:900px;border-radius:5px;margin:40px 0 40px 0;overflow:hidden}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper pre{margin:0}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper pre code{font-family:"Lucida Console",Monaco,monospace;padding:5px;border-radius:5px;line-height:1.6em;font-size:1.25em;color:#fde3a7;word-wrap:normal;white-space:pre-wrap;line-break:normal;-webkit-line-break:normal;-o-line-break:normal;-moz-line-break:normal;display:inline-block;width:100%;max-width:900px;min-height:200px}@media only screen and (max-width: 800px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:37.6%}}@media only screen and (max-width: 768px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:43.1%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control{max-width:100%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:9.91%}}@media only screen and (max-width: 640px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:42%}}@media only screen and (max-width: 480px){#post-index #post-index-wrapper #post-index-header #post-index-header-left{font-size:1.35em;width:30%}#post-index #post-index-wrapper #post-index-header #post-index-header-right{width:70%;vertical-align:top}#post-index #post-index-wrapper #post-index-menu a{font-size:.95em}#post-index #post-index-wrapper #post-index-menu a label{display:none;visibility:hidden}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-options{margin:5px 0 0 0;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:89.2%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:9.91%}}@media only screen and (max-width: 320px){#post-index #post-index-wrapper #post-index-menu a{font-size:.95em}#post-index #post-index-wrapper #post-index-menu a label{display:none;visibility:hidden}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post_title{width:96.4%}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-options{margin:5px 0 0 0;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:83.1%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #post_tags{width:96.4%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control .content-editor-btn-icon svg.icons{width:20px}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control .post-sumbit-btn svg.icons{width:20px}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:10%}}.dp-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.75);z-index:2000}.dp{position:relative;background:#1d3040;box-shadow:2px 2px 16px rgba(0,0,0,.25);line-height:1.4;border-radius:4px;max-height:400px;z-index:5000;padding-top:6px;overflow:hidden;-webkit-tap-highlight-color:transparent}.dp:before{content:" ";height:6px;position:absolute;top:0;left:0;right:0;background:#fc6399}.dp-permanent .dp{padding-top:0;border:1px solid #eee;box-shadow:none}.dp-permanent .dp:before{display:none}.dp-cal{min-height:300px}.dp-below{position:absolute;font-size:.8em;width:400px;max-width:90vw}.dp-permanent{position:relative;font-size:.8em;width:400px;max-width:100vw}.dp-permanent .dp{z-index:0}.dp-modal .dp{position:absolute;top:50%;left:50%;max-width:600px;width:calc(100% - 4em);transform:translate(-50%, -50%);animation:slide-up .3s forwards}.dp-months{padding:24px}.dp-years{box-sizing:border-box;max-height:400px;padding:8px 0;overflow:auto !important}.dp-cal-month,.dp-cal-year,.dp-day,.dp-month,.dp-year{box-sizing:border-box;text-align:center;text-decoration:none;position:relative;color:#efebe3;border-radius:2px;border:0;background:transparent}.dp-cal-header{position:relative;text-align:center;padding-bottom:16px;background:#0d161d}.dp-next,.dp-prev{position:absolute;width:30px;height:30px;overflow:hidden;top:14px;color:#000;border-radius:2px;border:0;background:transparent}.dp-next:focus,.dp-prev:focus,.dp-next:hover,.dp-prev:hover{outline:none;color:inherit}.dp-prev{left:24px}.dp-next{right:24px}.dp-prev:before,.dp-next:before{content:"";border:2px solid;width:10px;height:10px;display:inline-block;transform:rotate(-45deg);transition:border-color .2s;margin:9px 0 40px 4px}.dp-prev:before{border-right:0;border-bottom:0}.dp-next:before{border-left:0;border-top:0;margin-left:0;margin-right:4px}.dp-cal-month,.dp-cal-year{display:inline-block;font-size:1.4em;padding:16px 8px 8px;outline:none}.dp-cal-footer{text-align:center;background:#0d161d}.dp-day-today:after{content:"";height:0;width:0;border:7px solid #fc6399;border-bottom-color:transparent;border-left-color:transparent;position:absolute;top:0;right:0}.dp-close,.dp-clear,.dp-today{box-sizing:border-box;display:inline-block;width:33%;padding:8px;text-decoration:none;color:#000;border:0;background:transparent}.dp-permanent .dp-close,.dp-permanent .dp-clear{display:none}.dp-close:active,.dp-clear:active,.dp-today:active,.dp-next:active,.dp-prev:active,.dp-cal-month:active,.dp-cal-year:active{background:#fc6399;color:#efebe3}@media screen and (min-device-width: 1200px){.dp-close:hover,.dp-close:focus,.dp-clear:hover,.dp-clear:focus,.dp-today:hover,.dp-today:focus,.dp-next:hover,.dp-next:focus,.dp-prev:hover,.dp-prev:focus,.dp-cal-month:focus,.dp-cal-month:hover,.dp-cal-year:hover,.dp-cal-year:focus{background:#fc6399;color:#efebe3}}.dp-col-header,.dp-day{width:14.28571429%;display:inline-block;padding:8px;text-align:center}.dp-col-header{color:#aaa;text-transform:uppercase;font-weight:300;font-size:.8em;padding:8px 0}.dp-month{width:33%;display:inline-block;padding:8px}.dp-year{display:block;padding:8px 40px;width:100%}.dp-edge-day{color:#aaa}.dp-day:hover,.dp-month:hover,.dp-year:hover,.dp-current:focus,.dp-current,.dp-day:focus,.dp-month:focus,.dp-year:focus{outline:none;background:#000;color:#efebe3}.dp-selected:hover,.dp-selected:focus,.dp-selected{background:#fc6399;color:#000}.dp-day-disabled{background:transparent;color:#ddd}.dp-day-disabled:focus,.dp-day-disabled:hover{background:#ddd}.dp-focuser{position:absolute;z-index:0;top:50%;left:50%}@media(max-width: 480px),(max-height: 480px){.dp-modal .dp{font-size:.9em;width:auto;width:100%}.dp-day-of-week,.dp-day{padding:8px}}@keyframes slide-up{0%{transform:translate(-50%, 100%)}100%{transform:translate(-50%, -50%)}}#edit-control{top:1px;border-radius:3px;width:100%;max-width:880px;margin-top:30px;z-index:2000}#edit-control button:nth-child(1){border-radius:3px 0 0 3px}#edit-control button:nth-child(10){border-radius:0 3px 3px 0}#edit-control button{background:#b2cce5;width:10%;height:39px;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;margin:0;border-radius:0;display:inline-block;vertical-align:top;text-align:center}#edit-control button:hover{background:#6699cb}#edit-control #option-update{padding:5px 5px 1px 5px;display:inline-block;vertical-align:top;text-align:center}#edit-control .icon-hide{display:none;visibility:hidden}#edit-control .submit-start{background:#efebe3}#edit-control .submit-start svg{fill:#32cd32}#edit-control .submit-cool{background:#32cd32}#edit-control .submit-cool svg{fill:#efebe3}#edit-control .submit-delete{background:#f64747 !important}#edit-control .submit-delete svg{fill:#efebe3 !important}#edit-control #option-date{height:30px;padding-top:6px}#edit-control #option-date svg{margin:-13px 5px 0 0;display:inline-block;vertical-align:top;fill:#efebe3}#edit-control .content-editor-btn-icon{padding:5px 5px 1px 5px;color:#1d3040}#edit-control .content-editor-btn-icon svg{fill:#1d3040}#edit-control .content-editor-btn-text{padding:5px;color:#1d3040}#edit-control #option-bold{font-weight:bold;text-decoration:none}#edit-control #option-italic{font-weight:bold;text-decoration:none;font-style:italic}#edit-control #option-strikethrough{font-weight:bold;text-decoration:line-through;font-style:italic}.hljs{display:block;overflow-x:auto;padding:.5em;background:#13202b}.hljs,.hljs-subst{color:#ebdbb2}.hljs-deletion,.hljs-formula,.hljs-keyword .hljs-selector-tag{color:#fde3a7;font-style:italic}.hljs-link{color:#fc6399}.hljs-built_in,.hljs-emphasis,.hljs-name,.hljs-quote,.hljs-strong,.hljs-title,.hljs-variable{color:#ffa07a}.hljs-attr,.hljs-params,.hljs-template-tag,.hljs-type{color:#89c4f4}.hljs-builtin-name,.hljs-doctag,.hljs-literal,.hljs-number{color:#8f3f71}.hljs-code,.hljs-meta,.hljs-regexp,.hljs-selector-id,.hljs-template-variable{color:#f5ab35}.hljs-addition,.hljs-meta-string,.hljs-section,.hljs-selector-attr,.hljs-selector-class,.hljs-string,.hljs-symbol{color:#f6dd74}.hljs-attribute,.hljs-bullet,.hljs-class,.hljs-function,.hljs-function .hljs-keyword,.hljs-meta-keyword,.hljs-selector-pseudo,.hljs-tag{color:#90b1cc}.hljs-comment{color:#928374}.hljs-link_label,.hljs-literal,.hljs-number{color:#d3869b}.hljs-comment,.hljs-emphasis{font-style:italic}.hljs-section,.hljs-strong,.hljs-tag{font-weight:normal}/*# sourceMappingURL=dash.css.map */ +.column{display:block;flex-basis:0;flex-grow:1;flex-shrink:1;padding:.75rem}.columns.is-mobile>.column.is-narrow{flex:none;width:unset}.columns.is-mobile>.column.is-full{flex:none;width:100%}.columns.is-mobile>.column.is-three-quarters{flex:none;width:75%}.columns.is-mobile>.column.is-two-thirds{flex:none;width:66.6666%}.columns.is-mobile>.column.is-half{flex:none;width:50%}.columns.is-mobile>.column.is-one-third{flex:none;width:33.3333%}.columns.is-mobile>.column.is-one-quarter{flex:none;width:25%}.columns.is-mobile>.column.is-one-fifth{flex:none;width:20%}.columns.is-mobile>.column.is-two-fifths{flex:none;width:40%}.columns.is-mobile>.column.is-three-fifths{flex:none;width:60%}.columns.is-mobile>.column.is-four-fifths{flex:none;width:80%}.columns.is-mobile>.column.is-offset-three-quarters{margin-left:75%}.columns.is-mobile>.column.is-offset-two-thirds{margin-left:66.6666%}.columns.is-mobile>.column.is-offset-half{margin-left:50%}.columns.is-mobile>.column.is-offset-one-third{margin-left:33.3333%}.columns.is-mobile>.column.is-offset-one-quarter{margin-left:25%}.columns.is-mobile>.column.is-offset-one-fifth{margin-left:20%}.columns.is-mobile>.column.is-offset-two-fifths{margin-left:40%}.columns.is-mobile>.column.is-offset-three-fifths{margin-left:60%}.columns.is-mobile>.column.is-offset-four-fifths{margin-left:80%}.columns.is-mobile>.column.is-0{flex:none;width:0%}.columns.is-mobile>.column.is-offset-0{margin-left:0%}.columns.is-mobile>.column.is-1{flex:none;width:8.33333337%}.columns.is-mobile>.column.is-offset-1{margin-left:8.33333337%}.columns.is-mobile>.column.is-2{flex:none;width:16.66666674%}.columns.is-mobile>.column.is-offset-2{margin-left:16.66666674%}.columns.is-mobile>.column.is-3{flex:none;width:25%}.columns.is-mobile>.column.is-offset-3{margin-left:25%}.columns.is-mobile>.column.is-4{flex:none;width:33.33333337%}.columns.is-mobile>.column.is-offset-4{margin-left:33.33333337%}.columns.is-mobile>.column.is-5{flex:none;width:41.66666674%}.columns.is-mobile>.column.is-offset-5{margin-left:41.66666674%}.columns.is-mobile>.column.is-6{flex:none;width:50%}.columns.is-mobile>.column.is-offset-6{margin-left:50%}.columns.is-mobile>.column.is-7{flex:none;width:58.33333337%}.columns.is-mobile>.column.is-offset-7{margin-left:58.33333337%}.columns.is-mobile>.column.is-8{flex:none;width:66.66666674%}.columns.is-mobile>.column.is-offset-8{margin-left:66.66666674%}.columns.is-mobile>.column.is-9{flex:none;width:75%}.columns.is-mobile>.column.is-offset-9{margin-left:75%}.columns.is-mobile>.column.is-10{flex:none;width:83.33333337%}.columns.is-mobile>.column.is-offset-10{margin-left:83.33333337%}.columns.is-mobile>.column.is-11{flex:none;width:91.66666674%}.columns.is-mobile>.column.is-offset-11{margin-left:91.66666674%}.columns.is-mobile>.column.is-12{flex:none;width:100%}.columns.is-mobile>.column.is-offset-12{margin-left:100%}@media screen and (max-width: 768px){.column.is-narrow-mobile{flex:none;width:unset}.column.is-full-mobile{flex:none;width:100%}.column.is-three-quarters-mobile{flex:none;width:75%}.column.is-two-thirds-mobile{flex:none;width:66.6666%}.column.is-half-mobile{flex:none;width:50%}.column.is-one-third-mobile{flex:none;width:33.3333%}.column.is-one-quarter-mobile{flex:none;width:25%}.column.is-one-fifth-mobile{flex:none;width:20%}.column.is-two-fifths-mobile{flex:none;width:40%}.column.is-three-fifths-mobile{flex:none;width:60%}.column.is-four-fifths-mobile{flex:none;width:80%}.column.is-offset-three-quarters-mobile{margin-left:75%}.column.is-offset-two-thirds-mobile{margin-left:66.6666%}.column.is-offset-half-mobile{margin-left:50%}.column.is-offset-one-third-mobile{margin-left:33.3333%}.column.is-offset-one-quarter-mobile{margin-left:25%}.column.is-offset-one-fifth-mobile{margin-left:20%}.column.is-offset-two-fifths-mobile{margin-left:40%}.column.is-offset-three-fifths-mobile{margin-left:60%}.column.is-offset-four-fifths-mobile{margin-left:80%}.column.is-0-mobile{flex:none;width:0%}.column.is-offset-0-mobile{margin-left:0%}.column.is-1-mobile{flex:none;width:8.33333337%}.column.is-offset-1-mobile{margin-left:8.33333337%}.column.is-2-mobile{flex:none;width:16.66666674%}.column.is-offset-2-mobile{margin-left:16.66666674%}.column.is-3-mobile{flex:none;width:25%}.column.is-offset-3-mobile{margin-left:25%}.column.is-4-mobile{flex:none;width:33.33333337%}.column.is-offset-4-mobile{margin-left:33.33333337%}.column.is-5-mobile{flex:none;width:41.66666674%}.column.is-offset-5-mobile{margin-left:41.66666674%}.column.is-6-mobile{flex:none;width:50%}.column.is-offset-6-mobile{margin-left:50%}.column.is-7-mobile{flex:none;width:58.33333337%}.column.is-offset-7-mobile{margin-left:58.33333337%}.column.is-8-mobile{flex:none;width:66.66666674%}.column.is-offset-8-mobile{margin-left:66.66666674%}.column.is-9-mobile{flex:none;width:75%}.column.is-offset-9-mobile{margin-left:75%}.column.is-10-mobile{flex:none;width:83.33333337%}.column.is-offset-10-mobile{margin-left:83.33333337%}.column.is-11-mobile{flex:none;width:91.66666674%}.column.is-offset-11-mobile{margin-left:91.66666674%}.column.is-12-mobile{flex:none;width:100%}.column.is-offset-12-mobile{margin-left:100%}}@media screen and (min-width: 769px),print{.column.is-narrow,.column.is-narrow-tablet{flex:none;width:unset}.column.is-full,.column.is-full-tablet{flex:none;width:100%}.column.is-three-quarters,.column.is-three-quarters-tablet{flex:none;width:75%}.column.is-two-thirds,.column.is-two-thirds-tablet{flex:none;width:66.6666%}.column.is-half,.column.is-half-tablet{flex:none;width:50%}.column.is-one-third,.column.is-one-third-tablet{flex:none;width:33.3333%}.column.is-one-quarter,.column.is-one-quarter-tablet{flex:none;width:25%}.column.is-one-fifth,.column.is-one-fifth-tablet{flex:none;width:20%}.column.is-two-fifths,.column.is-two-fifths-tablet{flex:none;width:40%}.column.is-three-fifths,.column.is-three-fifths-tablet{flex:none;width:60%}.column.is-four-fifths,.column.is-four-fifths-tablet{flex:none;width:80%}.column.is-offset-three-quarters,.column.is-offset-three-quarters-tablet{margin-left:75%}.column.is-offset-two-thirds,.column.is-offset-two-thirds-tablet{margin-left:66.6666%}.column.is-offset-half,.column.is-offset-half-tablet{margin-left:50%}.column.is-offset-one-third,.column.is-offset-one-third-tablet{margin-left:33.3333%}.column.is-offset-one-quarter,.column.is-offset-one-quarter-tablet{margin-left:25%}.column.is-offset-one-fifth,.column.is-offset-one-fifth-tablet{margin-left:20%}.column.is-offset-two-fifths,.column.is-offset-two-fifths-tablet{margin-left:40%}.column.is-offset-three-fifths,.column.is-offset-three-fifths-tablet{margin-left:60%}.column.is-offset-four-fifths,.column.is-offset-four-fifths-tablet{margin-left:80%}.column.is-0,.column.is-0-tablet{flex:none;width:0%}.column.is-offset-0,.column.is-offset-0-tablet{margin-left:0%}.column.is-1,.column.is-1-tablet{flex:none;width:8.33333337%}.column.is-offset-1,.column.is-offset-1-tablet{margin-left:8.33333337%}.column.is-2,.column.is-2-tablet{flex:none;width:16.66666674%}.column.is-offset-2,.column.is-offset-2-tablet{margin-left:16.66666674%}.column.is-3,.column.is-3-tablet{flex:none;width:25%}.column.is-offset-3,.column.is-offset-3-tablet{margin-left:25%}.column.is-4,.column.is-4-tablet{flex:none;width:33.33333337%}.column.is-offset-4,.column.is-offset-4-tablet{margin-left:33.33333337%}.column.is-5,.column.is-5-tablet{flex:none;width:41.66666674%}.column.is-offset-5,.column.is-offset-5-tablet{margin-left:41.66666674%}.column.is-6,.column.is-6-tablet{flex:none;width:50%}.column.is-offset-6,.column.is-offset-6-tablet{margin-left:50%}.column.is-7,.column.is-7-tablet{flex:none;width:58.33333337%}.column.is-offset-7,.column.is-offset-7-tablet{margin-left:58.33333337%}.column.is-8,.column.is-8-tablet{flex:none;width:66.66666674%}.column.is-offset-8,.column.is-offset-8-tablet{margin-left:66.66666674%}.column.is-9,.column.is-9-tablet{flex:none;width:75%}.column.is-offset-9,.column.is-offset-9-tablet{margin-left:75%}.column.is-10,.column.is-10-tablet{flex:none;width:83.33333337%}.column.is-offset-10,.column.is-offset-10-tablet{margin-left:83.33333337%}.column.is-11,.column.is-11-tablet{flex:none;width:91.66666674%}.column.is-offset-11,.column.is-offset-11-tablet{margin-left:91.66666674%}.column.is-12,.column.is-12-tablet{flex:none;width:100%}.column.is-offset-12,.column.is-offset-12-tablet{margin-left:100%}}@media screen and (max-width: 1023px){.column.is-narrow-touch{flex:none;width:unset}.column.is-full-touch{flex:none;width:100%}.column.is-three-quarters-touch{flex:none;width:75%}.column.is-two-thirds-touch{flex:none;width:66.6666%}.column.is-half-touch{flex:none;width:50%}.column.is-one-third-touch{flex:none;width:33.3333%}.column.is-one-quarter-touch{flex:none;width:25%}.column.is-one-fifth-touch{flex:none;width:20%}.column.is-two-fifths-touch{flex:none;width:40%}.column.is-three-fifths-touch{flex:none;width:60%}.column.is-four-fifths-touch{flex:none;width:80%}.column.is-offset-three-quarters-touch{margin-left:75%}.column.is-offset-two-thirds-touch{margin-left:66.6666%}.column.is-offset-half-touch{margin-left:50%}.column.is-offset-one-third-touch{margin-left:33.3333%}.column.is-offset-one-quarter-touch{margin-left:25%}.column.is-offset-one-fifth-touch{margin-left:20%}.column.is-offset-two-fifths-touch{margin-left:40%}.column.is-offset-three-fifths-touch{margin-left:60%}.column.is-offset-four-fifths-touch{margin-left:80%}.column.is-0-touch{flex:none;width:0%}.column.is-offset-0-touch{margin-left:0%}.column.is-1-touch{flex:none;width:8.33333337%}.column.is-offset-1-touch{margin-left:8.33333337%}.column.is-2-touch{flex:none;width:16.66666674%}.column.is-offset-2-touch{margin-left:16.66666674%}.column.is-3-touch{flex:none;width:25%}.column.is-offset-3-touch{margin-left:25%}.column.is-4-touch{flex:none;width:33.33333337%}.column.is-offset-4-touch{margin-left:33.33333337%}.column.is-5-touch{flex:none;width:41.66666674%}.column.is-offset-5-touch{margin-left:41.66666674%}.column.is-6-touch{flex:none;width:50%}.column.is-offset-6-touch{margin-left:50%}.column.is-7-touch{flex:none;width:58.33333337%}.column.is-offset-7-touch{margin-left:58.33333337%}.column.is-8-touch{flex:none;width:66.66666674%}.column.is-offset-8-touch{margin-left:66.66666674%}.column.is-9-touch{flex:none;width:75%}.column.is-offset-9-touch{margin-left:75%}.column.is-10-touch{flex:none;width:83.33333337%}.column.is-offset-10-touch{margin-left:83.33333337%}.column.is-11-touch{flex:none;width:91.66666674%}.column.is-offset-11-touch{margin-left:91.66666674%}.column.is-12-touch{flex:none;width:100%}.column.is-offset-12-touch{margin-left:100%}}@media screen and (min-width: 1024px){.column.is-narrow-desktop{flex:none;width:unset}.column.is-full-desktop{flex:none;width:100%}.column.is-three-quarters-desktop{flex:none;width:75%}.column.is-two-thirds-desktop{flex:none;width:66.6666%}.column.is-half-desktop{flex:none;width:50%}.column.is-one-third-desktop{flex:none;width:33.3333%}.column.is-one-quarter-desktop{flex:none;width:25%}.column.is-one-fifth-desktop{flex:none;width:20%}.column.is-two-fifths-desktop{flex:none;width:40%}.column.is-three-fifths-desktop{flex:none;width:60%}.column.is-four-fifths-desktop{flex:none;width:80%}.column.is-offset-three-quarters-desktop{margin-left:75%}.column.is-offset-two-thirds-desktop{margin-left:66.6666%}.column.is-offset-half-desktop{margin-left:50%}.column.is-offset-one-third-desktop{margin-left:33.3333%}.column.is-offset-one-quarter-desktop{margin-left:25%}.column.is-offset-one-fifth-desktop{margin-left:20%}.column.is-offset-two-fifths-desktop{margin-left:40%}.column.is-offset-three-fifths-desktop{margin-left:60%}.column.is-offset-four-fifths-desktop{margin-left:80%}.column.is-0-desktop{flex:none;width:0%}.column.is-offset-0-desktop{margin-left:0%}.column.is-1-desktop{flex:none;width:8.33333337%}.column.is-offset-1-desktop{margin-left:8.33333337%}.column.is-2-desktop{flex:none;width:16.66666674%}.column.is-offset-2-desktop{margin-left:16.66666674%}.column.is-3-desktop{flex:none;width:25%}.column.is-offset-3-desktop{margin-left:25%}.column.is-4-desktop{flex:none;width:33.33333337%}.column.is-offset-4-desktop{margin-left:33.33333337%}.column.is-5-desktop{flex:none;width:41.66666674%}.column.is-offset-5-desktop{margin-left:41.66666674%}.column.is-6-desktop{flex:none;width:50%}.column.is-offset-6-desktop{margin-left:50%}.column.is-7-desktop{flex:none;width:58.33333337%}.column.is-offset-7-desktop{margin-left:58.33333337%}.column.is-8-desktop{flex:none;width:66.66666674%}.column.is-offset-8-desktop{margin-left:66.66666674%}.column.is-9-desktop{flex:none;width:75%}.column.is-offset-9-desktop{margin-left:75%}.column.is-10-desktop{flex:none;width:83.33333337%}.column.is-offset-10-desktop{margin-left:83.33333337%}.column.is-11-desktop{flex:none;width:91.66666674%}.column.is-offset-11-desktop{margin-left:91.66666674%}.column.is-12-desktop{flex:none;width:100%}.column.is-offset-12-desktop{margin-left:100%}}@media screen and (min-width: 1216px){.column.is-narrow-widescreen{flex:none;width:unset}.column.is-full-widescreen{flex:none;width:100%}.column.is-three-quarters-widescreen{flex:none;width:75%}.column.is-two-thirds-widescreen{flex:none;width:66.6666%}.column.is-half-widescreen{flex:none;width:50%}.column.is-one-third-widescreen{flex:none;width:33.3333%}.column.is-one-quarter-widescreen{flex:none;width:25%}.column.is-one-fifth-widescreen{flex:none;width:20%}.column.is-two-fifths-widescreen{flex:none;width:40%}.column.is-three-fifths-widescreen{flex:none;width:60%}.column.is-four-fifths-widescreen{flex:none;width:80%}.column.is-offset-three-quarters-widescreen{margin-left:75%}.column.is-offset-two-thirds-widescreen{margin-left:66.6666%}.column.is-offset-half-widescreen{margin-left:50%}.column.is-offset-one-third-widescreen{margin-left:33.3333%}.column.is-offset-one-quarter-widescreen{margin-left:25%}.column.is-offset-one-fifth-widescreen{margin-left:20%}.column.is-offset-two-fifths-widescreen{margin-left:40%}.column.is-offset-three-fifths-widescreen{margin-left:60%}.column.is-offset-four-fifths-widescreen{margin-left:80%}.column.is-0-widescreen{flex:none;width:0%}.column.is-offset-0-widescreen{margin-left:0%}.column.is-1-widescreen{flex:none;width:8.33333337%}.column.is-offset-1-widescreen{margin-left:8.33333337%}.column.is-2-widescreen{flex:none;width:16.66666674%}.column.is-offset-2-widescreen{margin-left:16.66666674%}.column.is-3-widescreen{flex:none;width:25%}.column.is-offset-3-widescreen{margin-left:25%}.column.is-4-widescreen{flex:none;width:33.33333337%}.column.is-offset-4-widescreen{margin-left:33.33333337%}.column.is-5-widescreen{flex:none;width:41.66666674%}.column.is-offset-5-widescreen{margin-left:41.66666674%}.column.is-6-widescreen{flex:none;width:50%}.column.is-offset-6-widescreen{margin-left:50%}.column.is-7-widescreen{flex:none;width:58.33333337%}.column.is-offset-7-widescreen{margin-left:58.33333337%}.column.is-8-widescreen{flex:none;width:66.66666674%}.column.is-offset-8-widescreen{margin-left:66.66666674%}.column.is-9-widescreen{flex:none;width:75%}.column.is-offset-9-widescreen{margin-left:75%}.column.is-10-widescreen{flex:none;width:83.33333337%}.column.is-offset-10-widescreen{margin-left:83.33333337%}.column.is-11-widescreen{flex:none;width:91.66666674%}.column.is-offset-11-widescreen{margin-left:91.66666674%}.column.is-12-widescreen{flex:none;width:100%}.column.is-offset-12-widescreen{margin-left:100%}}@media screen and (min-width: 1408px){.column.is-narrow-fullhd{flex:none;width:unset}.column.is-full-fullhd{flex:none;width:100%}.column.is-three-quarters-fullhd{flex:none;width:75%}.column.is-two-thirds-fullhd{flex:none;width:66.6666%}.column.is-half-fullhd{flex:none;width:50%}.column.is-one-third-fullhd{flex:none;width:33.3333%}.column.is-one-quarter-fullhd{flex:none;width:25%}.column.is-one-fifth-fullhd{flex:none;width:20%}.column.is-two-fifths-fullhd{flex:none;width:40%}.column.is-three-fifths-fullhd{flex:none;width:60%}.column.is-four-fifths-fullhd{flex:none;width:80%}.column.is-offset-three-quarters-fullhd{margin-left:75%}.column.is-offset-two-thirds-fullhd{margin-left:66.6666%}.column.is-offset-half-fullhd{margin-left:50%}.column.is-offset-one-third-fullhd{margin-left:33.3333%}.column.is-offset-one-quarter-fullhd{margin-left:25%}.column.is-offset-one-fifth-fullhd{margin-left:20%}.column.is-offset-two-fifths-fullhd{margin-left:40%}.column.is-offset-three-fifths-fullhd{margin-left:60%}.column.is-offset-four-fifths-fullhd{margin-left:80%}.column.is-0-fullhd{flex:none;width:0%}.column.is-offset-0-fullhd{margin-left:0%}.column.is-1-fullhd{flex:none;width:8.33333337%}.column.is-offset-1-fullhd{margin-left:8.33333337%}.column.is-2-fullhd{flex:none;width:16.66666674%}.column.is-offset-2-fullhd{margin-left:16.66666674%}.column.is-3-fullhd{flex:none;width:25%}.column.is-offset-3-fullhd{margin-left:25%}.column.is-4-fullhd{flex:none;width:33.33333337%}.column.is-offset-4-fullhd{margin-left:33.33333337%}.column.is-5-fullhd{flex:none;width:41.66666674%}.column.is-offset-5-fullhd{margin-left:41.66666674%}.column.is-6-fullhd{flex:none;width:50%}.column.is-offset-6-fullhd{margin-left:50%}.column.is-7-fullhd{flex:none;width:58.33333337%}.column.is-offset-7-fullhd{margin-left:58.33333337%}.column.is-8-fullhd{flex:none;width:66.66666674%}.column.is-offset-8-fullhd{margin-left:66.66666674%}.column.is-9-fullhd{flex:none;width:75%}.column.is-offset-9-fullhd{margin-left:75%}.column.is-10-fullhd{flex:none;width:83.33333337%}.column.is-offset-10-fullhd{margin-left:83.33333337%}.column.is-11-fullhd{flex:none;width:91.66666674%}.column.is-offset-11-fullhd{margin-left:91.66666674%}.column.is-12-fullhd{flex:none;width:100%}.column.is-offset-12-fullhd{margin-left:100%}}.columns{margin-left:-0.75rem;margin-right:-0.75rem;margin-top:-0.75rem}.columns:last-child{margin-bottom:-0.75rem}.columns:not(:last-child){margin-bottom:calc(1.5rem - 0.75rem)}.columns.is-centered{justify-content:center}.columns.is-gapless{margin-left:0;margin-right:0;margin-top:0}.columns.is-gapless>.column{margin:0;padding:0 !important}.columns.is-gapless:not(:last-child){margin-bottom:1.5rem}.columns.is-gapless:last-child{margin-bottom:0}.columns.is-mobile{display:flex}.columns.is-multiline{flex-wrap:wrap}.columns.is-vcentered{align-items:center}@media screen and (min-width: 769px),print{.columns:not(.is-desktop){display:flex}}@media screen and (min-width: 1024px){.columns.is-desktop{display:flex}}.columns.is-variable{--columnGap: 0.75rem;margin-left:calc(-1*var(--columnGap));margin-right:calc(-1*var(--columnGap))}.columns.is-variable>.column{padding-left:var(--columnGap);padding-right:var(--columnGap)}.columns.is-variable.is-0{--columnGap: 0rem}@media screen and (max-width: 768px){.columns.is-variable.is-0-mobile{--columnGap: 0rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-0-tablet{--columnGap: 0rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-0-tablet-only{--columnGap: 0rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-0-touch{--columnGap: 0rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-0-desktop{--columnGap: 0rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-0-desktop-only{--columnGap: 0rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-0-widescreen{--columnGap: 0rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-0-widescreen-only{--columnGap: 0rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-0-fullhd{--columnGap: 0rem}}.columns.is-variable.is-1{--columnGap: 0.25rem}@media screen and (max-width: 768px){.columns.is-variable.is-1-mobile{--columnGap: 0.25rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-1-tablet{--columnGap: 0.25rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-1-tablet-only{--columnGap: 0.25rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-1-touch{--columnGap: 0.25rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-1-desktop{--columnGap: 0.25rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-1-desktop-only{--columnGap: 0.25rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-1-widescreen{--columnGap: 0.25rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-1-widescreen-only{--columnGap: 0.25rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-1-fullhd{--columnGap: 0.25rem}}.columns.is-variable.is-2{--columnGap: 0.5rem}@media screen and (max-width: 768px){.columns.is-variable.is-2-mobile{--columnGap: 0.5rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-2-tablet{--columnGap: 0.5rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-2-tablet-only{--columnGap: 0.5rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-2-touch{--columnGap: 0.5rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-2-desktop{--columnGap: 0.5rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-2-desktop-only{--columnGap: 0.5rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-2-widescreen{--columnGap: 0.5rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-2-widescreen-only{--columnGap: 0.5rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-2-fullhd{--columnGap: 0.5rem}}.columns.is-variable.is-3{--columnGap: 0.75rem}@media screen and (max-width: 768px){.columns.is-variable.is-3-mobile{--columnGap: 0.75rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-3-tablet{--columnGap: 0.75rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-3-tablet-only{--columnGap: 0.75rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-3-touch{--columnGap: 0.75rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-3-desktop{--columnGap: 0.75rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-3-desktop-only{--columnGap: 0.75rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-3-widescreen{--columnGap: 0.75rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-3-widescreen-only{--columnGap: 0.75rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-3-fullhd{--columnGap: 0.75rem}}.columns.is-variable.is-4{--columnGap: 1rem}@media screen and (max-width: 768px){.columns.is-variable.is-4-mobile{--columnGap: 1rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-4-tablet{--columnGap: 1rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-4-tablet-only{--columnGap: 1rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-4-touch{--columnGap: 1rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-4-desktop{--columnGap: 1rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-4-desktop-only{--columnGap: 1rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-4-widescreen{--columnGap: 1rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-4-widescreen-only{--columnGap: 1rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-4-fullhd{--columnGap: 1rem}}.columns.is-variable.is-5{--columnGap: 1.25rem}@media screen and (max-width: 768px){.columns.is-variable.is-5-mobile{--columnGap: 1.25rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-5-tablet{--columnGap: 1.25rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-5-tablet-only{--columnGap: 1.25rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-5-touch{--columnGap: 1.25rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-5-desktop{--columnGap: 1.25rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-5-desktop-only{--columnGap: 1.25rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-5-widescreen{--columnGap: 1.25rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-5-widescreen-only{--columnGap: 1.25rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-5-fullhd{--columnGap: 1.25rem}}.columns.is-variable.is-6{--columnGap: 1.5rem}@media screen and (max-width: 768px){.columns.is-variable.is-6-mobile{--columnGap: 1.5rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-6-tablet{--columnGap: 1.5rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-6-tablet-only{--columnGap: 1.5rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-6-touch{--columnGap: 1.5rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-6-desktop{--columnGap: 1.5rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-6-desktop-only{--columnGap: 1.5rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-6-widescreen{--columnGap: 1.5rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-6-widescreen-only{--columnGap: 1.5rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-6-fullhd{--columnGap: 1.5rem}}.columns.is-variable.is-7{--columnGap: 1.75rem}@media screen and (max-width: 768px){.columns.is-variable.is-7-mobile{--columnGap: 1.75rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-7-tablet{--columnGap: 1.75rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-7-tablet-only{--columnGap: 1.75rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-7-touch{--columnGap: 1.75rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-7-desktop{--columnGap: 1.75rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-7-desktop-only{--columnGap: 1.75rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-7-widescreen{--columnGap: 1.75rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-7-widescreen-only{--columnGap: 1.75rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-7-fullhd{--columnGap: 1.75rem}}.columns.is-variable.is-8{--columnGap: 2rem}@media screen and (max-width: 768px){.columns.is-variable.is-8-mobile{--columnGap: 2rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-8-tablet{--columnGap: 2rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-8-tablet-only{--columnGap: 2rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-8-touch{--columnGap: 2rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-8-desktop{--columnGap: 2rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-8-desktop-only{--columnGap: 2rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-8-widescreen{--columnGap: 2rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-8-widescreen-only{--columnGap: 2rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-8-fullhd{--columnGap: 2rem}}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0;line-height:1em}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:60%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.55em;background:#1d3040;color:#1d3040;border-radius:2px;padding:0 2px 0 2px;margin:0 2px 0 0}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}h1,h2,h3{color:#efebe3}h1{font-size:2em;font-weight:400}h2{font-size:1.75em;font-weight:400}h3{font-size:1.5em;font-weight:300}html,body{background:#1d3040 linear-gradient(0deg, #1d3040 0%, #2d4a63 100%) no-repeat;font:400 1em Helvetica,Arial,sans-serif;height:100%}a{font:300 1em Helvetica,Arial,sans-serif;color:#b2cce5;text-decoration:underline}svg.icons{width:25px;fill:#b2cce5}#notifications{perspective:1000px;position:fixed;z-index:2000;height:55px;width:100%;display:block;align-items:center;justify-content:center;padding:0;margin-top:-55px}#notifications #notifyMessage{margin:0 auto;transition:all .6s cubic-bezier(0.83, 0.05, 0.28, 1);height:50px;width:500px;display:flex;align-items:center;justify-content:center;opacity:1;transform-style:preserve-3d;transform:rotateX(-120deg);transform-origin:50% 0}#notifications #notifyMessage #notify-good,#notifications #notifyMessage #notify-lame,#notifications #notifyMessage #notify-working{display:block}#notifications #notifyMessage #notify-working-box{-webkit-animation:spin 2s linear infinite;-moz-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-moz-keyframes spin{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes spin{100%{-webkit-transform:rotate(360deg)}}@keyframes spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#notifications #notifyMessage .notify-icon{background:#32302f;padding:8px 5px 5px 5px;border-radius:5px 0 0 5px;height:30px;width:30px;text-align:center;border:2px solid #efebe3}#notifications #notifyMessage p{color:#efebe3;background:#000;width:400px;height:28px;padding:15px 0 0 5px;border-radius:0 5px 5px 0;border:2px solid #efebe3;text-align:center}#notifications #notifyMessage .icons{fill:#efebe3}.notify-close{transform-style:preserve-3d;transform:rotateX(-120deg)}.notify-open{transform-style:preserve-3d;transform:rotateX(0deg)}.blog-container{width:100%}.main-container{margin:0 auto;z-index:10;position:relative;height:100%}.main-container section header{width:100%;max-width:900px;margin:10px auto;background:#efebe3;height:50px;border-radius:5px}.main-container section header #wrapper{padding:5px}.main-container section header #wrapper #left,.main-container section header #wrapper #right{width:49.7%;display:inline-block;vertical-align:top;min-height:60px}.main-container section header #wrapper #left #the-logo,.main-container section header #wrapper #right #the-logo{width:29px}.main-container section header #wrapper #right{text-align:right;color:#efebe3}.main-container section header #wrapper #right #dash-menu{text-align:right}.main-container section header #wrapper #right #dash-menu a button{border-radius:50px}.main-container section header #wrapper #right #dash-menu a button svg{-moz-transition:all .1s linear;-webkit-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;width:40px;height:20px;fill:#efebe3}.main-container section header #wrapper #right #dash-menu a:hover button{background:#1d3040}.main-container section header #wrapper #right #dash-menu a:hover svg{fill:#b2cce5}::-moz-selection{background-color:#fc6399;color:#efebe3}::selection{background-color:#fc6399;color:#efebe3}::-o-selection{background-color:#fc6399;color:#efebe3}::-ms-selection{background-color:#fc6399;color:#efebe3}::-webkit-selection{background-color:#fc6399;color:#efebe3}@media only screen and (max-width: 901px){.main-container{padding:10px}}@media only screen and (max-width: 800px){.main-container section header #wrapper #left,.main-container section header #wrapper #right{display:inline-block}}@media only screen and (max-width: 480px){.main-container section header #wrapper #left{width:30%}.main-container section header #wrapper #right{width:70%}}#dash-index-content{width:100%;height:100%;margin:0 auto}#dash-index-content #dash-index{width:100%;height:100%;z-index:10;position:relative}#dash-index-content #dash-index #dash-index-wrapper{width:100%;height:100%;margin:0 auto}#dash-index-content #dash-index #dash-index-wrapper .dash-init,#dash-index-content #dash-index #dash-index-wrapper .dash-restore{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#1d3040}#dash-index-content #dash-index #dash-index-wrapper .dash-init form,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form{background:#efebe3;padding:15px;width:300px;border-radius:5px;text-align:center}#dash-index-content #dash-index #dash-index-wrapper .dash-init form #the-logo,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form #the-logo{width:40px;margin:20px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form input,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form input{width:290px;margin:0 0 10px 0;height:30px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form button,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form button{width:300px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form div,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form div{background:#1d3040;color:#efebe3;border-radius:3px;padding:5px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form div label,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form div label{display:block;padding:5px;color:#f5ab35}#dash-index-content #dash-index #dash-index-wrapper .dash-restore{display:none;visibility:hidden}#dash-index-content #dash-index #dash-index-wrapper #dash-login{width:100%;height:100%;margin:0 auto;display:flex;align-items:center;justify-content:center}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset{width:300px;padding:.75em;background:#efebe3;border-radius:5px;color:#efebe3;text-align:center}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form #the-logo,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset #the-logo{width:40px;margin:20px}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form input,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset input{width:290px;margin:0 0 10px 0;height:30px}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form button,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset button{width:300px}#dash-index-content #dash-index #dash-index-wrapper #dash-menu{padding:10px;width:90%;max-width:900px;margin:50px auto}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a{display:inline-block;vertical-align:top;background:#000;width:30%;padding:5px;border-radius:3px;color:#efebe3;margin:0 10px 10px 0}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a:hover{background:#000}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a svg{display:inline-block;vertical-align:top;fill:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a label{display:inline-block;margin-top:5px;width:85%;text-align:center;cursor:pointer}#dash-index-content #dash-index #dash-index-wrapper #dash-recent{width:100%;max-width:900px;height:100%;padding:5px 0 0 0;margin:0 auto}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list{position:relative}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header{height:50px;margin-top:5px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-left{vertical-align:top;display:inline-block;width:50%;color:#efebe3;font-size:3em}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right{width:50%;text-align:right;vertical-align:top;display:inline-block;right:10px;color:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right a button{border-radius:3px;margin-left:10px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right a button svg{-moz-transition:all .1s linear;-webkit-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;width:40px;height:20px;fill:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link{font-size:1.5em;font-weight:300;display:inline-block;border-radius:3px;vertical-align:top;text-decoration:none;position:relative}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link label{font-size:1.4em;font-weight:700;color:#efebe3;padding:5px;vertical-align:top;display:inline-block;word-wrap:break-word;width:100%;text-align:center;position:relative;top:35%;text-shadow:2px 2px 0 #32302f}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options{width:100%;position:absolute;bottom:0;border-radius:0 0 3px 3px;background:linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%)}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left{display:inline-block;vertical-align:top;width:50%;position:relative;background:none}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button{border-radius:3px;background:#1d3040;margin:0 0 10px 10px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button svg{width:40px;height:20px;fill:#b2cce5}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left .item-options{border-radius:3px;margin:5px;display:inline-block}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=false]{background:#1d3040}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=false] svg{fill:#b2cce5}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=true]{background:#f5ab35}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=true] svg{fill:#1d3040}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-right{display:inline-block;width:50%;text-align:right}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-right span{font-weight:bold;display:block;background:#efebe3;color:#1d3040;border-radius:3px;font-size:.6em;text-align:center;position:relative;padding:5px;float:right;margin:0 10px 0 0;bottom:-15px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(3){width:100%;margin-bottom:20px;height:500px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.6%;height:350px;margin:0 10px 20px 0}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(5),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(7){width:48.6%;height:350px;margin:0 0 20px 10px}@media only screen and (max-width: 768px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.9%}}@media only screen and (max-width: 640px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.5%}}@media only screen and (max-width: 480px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header h3{width:40%}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-menu{width:60%}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(3),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(5),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(7){width:100%;margin:15px 0 0 0;height:400px}}#settings-actions{position:fixed;width:40%;margin-top:-85px;left:50%;margin-left:-20%}#settings-actions #buttons{width:185px;margin:28px auto;text-align:center;background:#efebe3;padding:2px;border-radius:3px}#settings-actions #buttons button{color:#efebe3;border-radius:3px;width:40px;margin:0 10px 0 10px}#settings-actions #buttons button svg{width:25px;height:20px;fill:#efebe3}#settings-actions #buttons button[data-render=false]{background:#b2cce5}#settings-actions #buttons button[data-render=false] svg{fill:#1d3040}#settings-actions #buttons button[data-render=true]{background:#fc6399}#settings-actions #buttons button[data-render=true] svg{fill:#efebe3}#settings-index{width:94%;max-width:900px;margin:0 auto;overflow:hidden}#settings-index #settings-index-wrapper{padding:0}#settings-index #settings-index-wrapper button{margin-top:5px;width:100%;height:33px}#settings-index #settings-index-wrapper #member-settings,#settings-index #settings-index-wrapper #feature-settings,#settings-index #settings-index-wrapper #option-settings,#settings-index #settings-index-wrapper #token-settings,#settings-index #settings-index-wrapper #backup-settings{background:#efebe3;padding:0px;border-radius:5px 0 5px 0;width:100%;margin:20px auto}#settings-index #settings-index-wrapper #member-settings label,#settings-index #settings-index-wrapper #feature-settings label,#settings-index #settings-index-wrapper #option-settings label,#settings-index #settings-index-wrapper #token-settings label,#settings-index #settings-index-wrapper #backup-settings label{font-family:Helvetica,Arial,sans-serif;color:#1d3040;font-weight:bold}#settings-index #settings-index-wrapper #member-settings span,#settings-index #settings-index-wrapper #feature-settings span,#settings-index #settings-index-wrapper #option-settings span,#settings-index #settings-index-wrapper #token-settings span,#settings-index #settings-index-wrapper #backup-settings span{color:#b2cce5}#settings-index #settings-index-wrapper #member-settings input,#settings-index #settings-index-wrapper #feature-settings input,#settings-index #settings-index-wrapper #option-settings input,#settings-index #settings-index-wrapper #token-settings input,#settings-index #settings-index-wrapper #backup-settings input{width:95%;margin:0 5px 10px 0;height:30px;padding:10px}#settings-index #settings-index-wrapper #member-settings input#backup-upload,#settings-index #settings-index-wrapper #feature-settings input#backup-upload,#settings-index #settings-index-wrapper #option-settings input#backup-upload,#settings-index #settings-index-wrapper #token-settings input#backup-upload,#settings-index #settings-index-wrapper #backup-settings input#backup-upload{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings .backup-meta,#settings-index #settings-index-wrapper #feature-settings .backup-meta,#settings-index #settings-index-wrapper #option-settings .backup-meta,#settings-index #settings-index-wrapper #token-settings .backup-meta,#settings-index #settings-index-wrapper #backup-settings .backup-meta{background:#1d3040;color:#efebe3;padding:8px;border-radius:3px;margin:5px 0 0 0;text-align:center}#settings-index #settings-index-wrapper #member-settings #member-images,#settings-index #settings-index-wrapper #feature-settings #member-images,#settings-index #settings-index-wrapper #option-settings #member-images,#settings-index #settings-index-wrapper #token-settings #member-images,#settings-index #settings-index-wrapper #backup-settings #member-images{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop{display:inline-block;margin:0 0 10px 0}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop img{width:100%;border-radius:5px;overflow:hidden;cursor:pointer;display:block;margin-bottom:2px}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop input{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop #privacy-toggle{width:50%}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop #render-toggle{width:50%}#settings-index #settings-index-wrapper #member-settings #member-images #site-background,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background,#settings-index #settings-index-wrapper #option-settings #member-images #site-background,#settings-index #settings-index-wrapper #token-settings #member-images #site-background,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background{margin:0 0 10px 0}#settings-index #settings-index-wrapper #member-settings #member-images #site-background img,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background img,#settings-index #settings-index-wrapper #option-settings #member-images #site-background img,#settings-index #settings-index-wrapper #token-settings #member-images #site-background img,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background img{width:92.1%;height:292px;border-radius:3px;overflow:hidden;cursor:pointer}#settings-index #settings-index-wrapper #member-settings #member-images #site-background input,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background input,#settings-index #settings-index-wrapper #option-settings #member-images #site-background input,#settings-index #settings-index-wrapper #token-settings #member-images #site-background input,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background input{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings #member-meta,#settings-index #settings-index-wrapper #feature-settings #member-meta,#settings-index #settings-index-wrapper #option-settings #member-meta,#settings-index #settings-index-wrapper #token-settings #member-meta,#settings-index #settings-index-wrapper #backup-settings #member-meta{padding:10px 15px 0 15px;position:relative;top:-30px}#settings-index #settings-index-wrapper #member-settings #features,#settings-index #settings-index-wrapper #feature-settings #features,#settings-index #settings-index-wrapper #option-settings #features,#settings-index #settings-index-wrapper #token-settings #features,#settings-index #settings-index-wrapper #backup-settings #features{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper textarea{background:#1d3040;width:70%;height:89.5px;color:#f5ab35;padding:10px;display:inline-block;margin-bottom:10px}#settings-index #settings-index-wrapper span#key{color:#efebe3;background:#1d3040;font-size:.9em;border-radius:3px;padding:5px;display:block;width:95%;overflow:hidden}#settings-index #settings-index-wrapper #feature-settings #feature-api,#settings-index #settings-index-wrapper #feature-settings #dynamic-api{background:#1d3040;border-radius:3px;padding:5px;width:95%}#settings-index #settings-index-wrapper #feature-settings #feature-api span,#settings-index #settings-index-wrapper #feature-settings #dynamic-api span{color:#efebe3 !important;margin:6px 0 0 5px;position:relative;vertical-align:middle;display:inline-block;font-weight:bold}#settings-index #settings-index-wrapper #feature-settings #feature-api button,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button{color:#efebe3;border-radius:3px;width:40px;margin:0;height:25px}#settings-index #settings-index-wrapper #feature-settings #feature-api button svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button svg{width:25px;height:20px;fill:#efebe3;position:relative;display:block;margin:-12px auto}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=false],#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=false]{background:#b2cce5}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=false] svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=false] svg{fill:#1d3040}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=true],#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=true]{background:#fc6399}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=true] svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=true] svg{fill:#efebe3}#settings-index #settings-index-wrapper #token-settings #keys-tokens{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper #token-settings #keys-tokens #member-api-key,#settings-index #settings-index-wrapper #token-settings #keys-tokens #form-token{background:#1d3040;border-radius:3px;padding:5px;color:#efebe3}#settings-index #settings-index-wrapper #option-settings #theme-settings a{width:95%;margin:0 5px 5px 0;height:15px;padding:10px;display:inline-block}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=false]{background:#efebe3;color:#1d3040;border-radius:3px;font-weight:bold;border-top:1px #fc6399 solid;border-bottom:1px #fc6399 solid}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=true]{background:#fc6399;color:#1d3040;border-radius:3px;font-weight:bold;border-top:1px #1d3040 solid;border-bottom:1px #1d3040 solid}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=true] svg{fill:#1d3040;display:inline-block;float:right}#settings-index #settings-index-wrapper #option-settings #mail-settings{min-height:240px}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option{float:right;font-family:"Lucida Console",Monaco,monospace;font-size:.9em;border-radius:3px;text-decoration:none;margin:0 0 0 5px}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option[data-enabled=true]{color:#fc6399}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option[data-enabled=false]{color:#1d3040}#settings-index #settings-index-wrapper #option-settings #mail-settings input{margin:0 5px 5px 0;vertical-align:top}#settings-index #settings-index-wrapper #option-settings #mail-settings div[data-enabled=false]{display:none;visibility:hidden}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api{background:#1d3040;border-radius:3px;padding:10px}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api span{color:#efebe3 !important;margin:-13px 0 0 5px;position:relative;vertical-align:middle;display:inline-block;font-weight:bold}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button{color:#efebe3;border-radius:3px;width:40px;margin:0}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button svg{width:25px;height:20px;fill:#efebe3}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=false]{background:#b2cce5}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=false] svg{fill:#1d3040}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=true]{background:#fc6399}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=true] svg{fill:#efebe3}@media only screen and (max-width: 480px){#settings-actions{margin-left:-42%}#settings-actions #buttons{width:150px;background:none}#settings-actions #buttons button{margin:0 5px 0 5px}}#error-index{width:100%;max-width:900px;margin:0 auto;padding:10px;height:100%;z-index:10;position:relative}#error-index label#title{font-size:100px;color:#fc6399;font-weight:500}#error-index label#message{font-size:50px;color:#f5ab35;font-weight:500}#error-index label#error{font-size:25px;color:#f64747;font-weight:500}#nav-index{width:100%;max-width:900px;margin:0 auto}#nav-index #nav-index-wrapper #nav-pages .nav-item{display:block;width:98%;background:#efebe3;border-radius:3px;color:#fc6399;height:30px;padding:10px;margin:0 0 10px 0;font-size:1.5em;cursor:move}#nav-index #nav-index-wrapper #nav-pages .nav-item #item-arrows{fill:#1d3040;width:40px;height:30px}#nav-index #nav-index-wrapper #nav-pages label{display:inline-block;vertical-align:middle;padding:0;margin:-15px 0 0 10px;cursor:move}#nav-index #nav-index-wrapper #nav-pages #nav-btns{float:right;top:-5px;position:relative}#nav-index #nav-index-wrapper #nav-pages #nav-btns button{color:#efebe3;border-radius:3px;width:40px;margin:0 10px 0 10px}#nav-index #nav-index-wrapper #nav-pages #nav-btns button svg{fill:#efebe3;width:25px;height:20px}@media only screen and (max-width: 375px){#nav-index #nav-index-wrapper #nav-pages .nav-item{width:94.5%;font-size:1em}#nav-index #nav-index-wrapper #nav-pages .nav-item label{width:40%;vertical-align:top;margin-top:0px;line-height:1em}}@media only screen and (max-width: 320px){#nav-index #nav-index-wrapper #nav-pages .nav-item{width:94.5%;font-size:1em}#nav-index #nav-index-wrapper #nav-pages .nav-item label{width:37%;vertical-align:top;margin-top:0px;line-height:1em}}form{display:inline-block}form a{color:#1d3040}form p{background:#f5ab35;color:#1d3040;padding:5px;display:block;border-radius:5px;text-align:left}input[type=email],input[type=password],input[type=text]{border:0;border-radius:5px;padding:5px;margin:10px 5px 0 0;font:18px Helvetica,Arial,sans-serif;display:inline-block;background:#1d3040;color:#f5ab35}textarea{border:0;border-radius:3px;color:#efebe3;font:15px Helvetica,Arial,sans-serif;background:#1d3040}button,input[type=submit]{background:#fc6399;color:#1d3040;font:20px Helvetica,Arial,sans-serif;border-radius:5px;position:relative;cursor:pointer;border:0;padding:10px 0 5px 0;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear}select{font:14px Helvetica,Arial,sans-serif;border:1px solid #b2cce5;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:#1d3040}::-webkit-input-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}:-moz-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}::-moz-placeholder{font:15px Helvetica,Arial,sans-serif;color:#efebe3}:-ms-input-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}#post-index{width:100%;max-width:900px;margin:0 auto}#post-index #post-index-wrapper{overflow:hidden}#post-index #post-index-wrapper #post-index-header{margin:10px 0 0 0}#post-index #post-index-wrapper #post-index-header #post-index-header-left{text-transform:capitalize;display:inline-block;width:50%;color:#efebe3;font-size:3em}#post-index #post-index-wrapper #post-index-header #post-index-header-right{text-align:right;display:inline-block;width:50%}#post-index #post-index-wrapper #post-index-header #post-index-header-right a button{color:#efebe3;border-radius:3px;margin-left:10px;width:55px}#post-index #post-index-wrapper #post-index-header #post-index-header-right a button svg{width:20px;height:17px;fill:#efebe3}#post-index #post-index-wrapper #post-index-header #post-index-header-right .current-filter{color:#fc6399;text-decoration-color:#b2cce5}#post-index #post-index-wrapper #posts-list{margin:20px 0 0 0}#post-index #post-index-wrapper #posts-list a.page-link{background:#efebe3;display:inline-block;vertical-align:top;width:100%;text-decoration:none;margin:0 0 20px 0;border-radius:3px;overflow:hidden;color:#000}#post-index #post-index-wrapper #posts-list a.page-link label{font-size:2em;font-weight:500;padding:10px;display:inline-block;vertical-align:top;width:100%}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg{width:100%;height:350px;background-color:#fc6399;position:relative}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg label{font-size:2em;font-weight:700;color:#efebe3;padding:5px;vertical-align:top;display:inline-block;word-wrap:break-word;width:100%;text-align:center;position:relative;top:35%;text-shadow:2px 2px 0 #32302f}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta{width:100%;background:linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);border-radius:3px;margin:auto;bottom:0;position:absolute;padding:0 0 20px 0}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options{width:100%;bottom:0;position:absolute}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left{display:inline-block;vertical-align:top;width:50%;position:relative;background:none}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button{border-radius:3px;background:#1d3040;margin:0 0 10px 10px}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button svg{width:40px;height:20px;fill:#b2cce5}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left .item-options{border-radius:3px;margin:5px;display:inline-block}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=false]{background:#1d3040}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=false] svg{fill:#b2cce5}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=true]{background:#f5ab35}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=true] svg{fill:#1d3040}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-right{display:inline-block;width:50%;text-align:right}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-right span{font-weight:bold;display:block;background:#efebe3;color:#1d3040;border-radius:3px;font-size:.6em;text-align:center;position:relative;padding:5px;float:right;margin:0 10px 0 0;bottom:-15px}#post-index #post-index-wrapper #posts-list a.page-link p{padding:5px 10px 5px 10px;font-size:1.2em;font-weight:400}#post-index #post-index-wrapper .paginate{width:260px;display:block;margin:0 auto}#post-index #post-index-wrapper .paginate a{display:inline-block;vertical-align:top}#post-index #post-index-wrapper .paginate span.count{text-align:center;padding:5px;margin-top:-2px;display:inline-block;width:190px;font-size:1.5em;color:#f5ab35}#post-edit-index{width:100%;overflow:hidden}#post-edit-index #post-edit-index-wrapper{width:100%}#post-edit-index #post-edit-index-wrapper #post-header{background:#fc6399}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper{max-width:900px;margin:0 auto;padding:.75rem}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper label{color:#efebe3;font-size:.8em;font-family:Helvetica,Arial,sans-serif;font-weight:600}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper span{color:#1d3040;font-size:1.5em}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-title #post_title{background:#efebe3;font-family:Helvetica,Arial,sans-serif;width:97.6%;height:80px;font-size:2em;color:#1d3040;padding:5px;margin:0 0 5px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-title #calendar-icon{background:#05090b;border-radius:3px 0 0 3px;display:inline-block;padding:5.2px;color:#b2cce5}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post_tags{background:#efebe3;font-family:Helvetica,Arial,sans-serif;width:97.6%;height:80px;color:#1d3040;padding:5px;margin:0 0 5px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options{display:inline-block;vertical-align:top;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button:nth-child(1){border-radius:3px 0 0 3px}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button:nth-child(3){border-radius:0 3px 3px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button{width:33.3%;height:45px;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;margin:0;border-radius:0;display:inline-block;vertical-align:top;text-align:center}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=false]{background:#1d3040}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=false] svg{fill:#b2cce5}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=true]{background:#f5ab35}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=true] svg{fill:#1d3040}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options #layouts{padding:7px 0 0 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options #layouts label{color:#1d3040;font-size:1em}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options #layouts select{background:#1d3040;color:#b2cce5;border-radius:3px;border-color:#1d3040;margin:5px 0 0 0;width:100%;padding:5px;font-size:1em}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #featured-image-upload,#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-image-upload{display:none}#post-edit-index #post-edit-index-wrapper #post-feature{width:100%}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop{display:flex;align-items:center;justify-content:center;width:100%;min-height:200px;background:#000;color:#1d3040;vertical-align:middle;font-family:"Lucida Console",Monaco,monospace}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop label{cursor:pointer}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop img{width:100%;margin:0;padding:0}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn{position:absolute;margin:20px}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn #new-feature-upload{padding-top:4px;background:#efebe3}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn #new-feature-upload svg{fill:#fc6399}#post-edit-index #post-edit-index-wrapper #edit-post{width:100%;max-width:880px;margin:0 auto}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper{max-width:900px;border-radius:5px;margin:40px 0 40px 0;overflow:hidden}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper pre{margin:0}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper pre code{font-family:"Lucida Console",Monaco,monospace;padding:5px;border-radius:5px;line-height:1.6em;font-size:1.25em;color:#fde3a7;word-wrap:normal;white-space:pre-wrap;line-break:normal;-webkit-line-break:normal;-o-line-break:normal;-moz-line-break:normal;display:inline-block;width:100%;max-width:900px;min-height:200px}@media only screen and (max-width: 800px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:37.6%}}@media only screen and (max-width: 768px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:43.1%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control{max-width:100%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:9.91%}}@media only screen and (max-width: 640px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:42%}}@media only screen and (max-width: 480px){#post-index #post-index-wrapper #post-index-header #post-index-header-left{font-size:1.35em;width:30%}#post-index #post-index-wrapper #post-index-header #post-index-header-right{width:70%;vertical-align:top}#post-index #post-index-wrapper #post-index-menu a{font-size:.95em}#post-index #post-index-wrapper #post-index-menu a label{display:none;visibility:hidden}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-options{margin:5px 0 0 0;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:89.2%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:9.91%}}@media only screen and (max-width: 320px){#post-index #post-index-wrapper #post-index-menu a{font-size:.95em}#post-index #post-index-wrapper #post-index-menu a label{display:none;visibility:hidden}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post_title{width:96.4%}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-options{margin:5px 0 0 0;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:83.1%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #post_tags{width:96.4%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control .content-editor-btn-icon svg.icons{width:20px}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control .post-sumbit-btn svg.icons{width:20px}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:10%}}.dp-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.75);z-index:2000}.dp{position:relative;background:#1d3040;box-shadow:2px 2px 16px rgba(0,0,0,.25);line-height:1.4;border-radius:4px;max-height:400px;z-index:5000;padding-top:6px;overflow:hidden;-webkit-tap-highlight-color:transparent}.dp:before{content:" ";height:6px;position:absolute;top:0;left:0;right:0;background:#fc6399}.dp-permanent .dp{padding-top:0;border:1px solid #eee;box-shadow:none}.dp-permanent .dp:before{display:none}.dp-cal{min-height:300px}.dp-below{position:absolute;font-size:.8em;width:400px;max-width:90vw}.dp-permanent{position:relative;font-size:.8em;width:400px;max-width:100vw}.dp-permanent .dp{z-index:0}.dp-modal .dp{position:absolute;top:50%;left:50%;max-width:600px;width:calc(100% - 4em);transform:translate(-50%, -50%);animation:slide-up .3s forwards}.dp-months{padding:24px}.dp-years{box-sizing:border-box;max-height:400px;padding:8px 0;overflow:auto !important}.dp-cal-month,.dp-cal-year,.dp-day,.dp-month,.dp-year{box-sizing:border-box;text-align:center;text-decoration:none;position:relative;color:#efebe3;border-radius:2px;border:0;background:transparent}.dp-cal-header{position:relative;text-align:center;padding-bottom:16px;background:#0d161d}.dp-next,.dp-prev{position:absolute;width:30px;height:30px;overflow:hidden;top:14px;color:#000;border-radius:2px;border:0;background:transparent}.dp-next:focus,.dp-prev:focus,.dp-next:hover,.dp-prev:hover{outline:none;color:inherit}.dp-prev{left:24px}.dp-next{right:24px}.dp-prev:before,.dp-next:before{content:"";border:2px solid;width:10px;height:10px;display:inline-block;transform:rotate(-45deg);transition:border-color .2s;margin:9px 0 40px 4px}.dp-prev:before{border-right:0;border-bottom:0}.dp-next:before{border-left:0;border-top:0;margin-left:0;margin-right:4px}.dp-cal-month,.dp-cal-year{display:inline-block;font-size:1.4em;padding:16px 8px 8px;outline:none}.dp-cal-footer{text-align:center;background:#0d161d}.dp-day-today:after{content:"";height:0;width:0;border:7px solid #fc6399;border-bottom-color:transparent;border-left-color:transparent;position:absolute;top:0;right:0}.dp-close,.dp-clear,.dp-today{box-sizing:border-box;display:inline-block;width:33%;padding:8px;text-decoration:none;color:#000;border:0;background:transparent}.dp-permanent .dp-close,.dp-permanent .dp-clear{display:none}.dp-close:active,.dp-clear:active,.dp-today:active,.dp-next:active,.dp-prev:active,.dp-cal-month:active,.dp-cal-year:active{background:#fc6399;color:#efebe3}@media screen and (min-device-width: 1200px){.dp-close:hover,.dp-close:focus,.dp-clear:hover,.dp-clear:focus,.dp-today:hover,.dp-today:focus,.dp-next:hover,.dp-next:focus,.dp-prev:hover,.dp-prev:focus,.dp-cal-month:focus,.dp-cal-month:hover,.dp-cal-year:hover,.dp-cal-year:focus{background:#fc6399;color:#efebe3}}.dp-col-header,.dp-day{width:14.28571429%;display:inline-block;padding:8px;text-align:center}.dp-col-header{color:#aaa;text-transform:uppercase;font-weight:300;font-size:.8em;padding:8px 0}.dp-month{width:33%;display:inline-block;padding:8px}.dp-year{display:block;padding:8px 40px;width:100%}.dp-edge-day{color:#aaa}.dp-day:hover,.dp-month:hover,.dp-year:hover,.dp-current:focus,.dp-current,.dp-day:focus,.dp-month:focus,.dp-year:focus{outline:none;background:#000;color:#efebe3}.dp-selected:hover,.dp-selected:focus,.dp-selected{background:#fc6399;color:#000}.dp-day-disabled{background:transparent;color:#ddd}.dp-day-disabled:focus,.dp-day-disabled:hover{background:#ddd}.dp-focuser{position:absolute;z-index:0;top:50%;left:50%}@media(max-width: 480px),(max-height: 480px){.dp-modal .dp{font-size:.9em;width:auto;width:100%}.dp-day-of-week,.dp-day{padding:8px}}@keyframes slide-up{0%{transform:translate(-50%, 100%)}100%{transform:translate(-50%, -50%)}}#edit-control{top:1px;border-radius:3px;width:100%;max-width:880px;margin-top:30px;z-index:2000}#edit-control button:nth-child(1){border-radius:3px 0 0 3px}#edit-control button:nth-child(10){border-radius:0 3px 3px 0}#edit-control button{background:#b2cce5;width:10%;height:39px;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;margin:0;border-radius:0;display:inline-block;vertical-align:top;text-align:center}#edit-control button:hover{background:#6699cb}#edit-control #option-update{padding:5px 5px 1px 5px;display:inline-block;vertical-align:top;text-align:center}#edit-control .icon-hide{display:none;visibility:hidden}#edit-control .submit-start{background:#efebe3}#edit-control .submit-start svg{fill:#32cd32}#edit-control .submit-cool{background:#32cd32}#edit-control .submit-cool svg{fill:#efebe3}#edit-control .submit-delete{background:#f64747 !important}#edit-control .submit-delete svg{fill:#efebe3 !important}#edit-control #option-date{height:30px;padding-top:6px}#edit-control #option-date svg{margin:-13px 5px 0 0;display:inline-block;vertical-align:top;fill:#efebe3}#edit-control .content-editor-btn-icon{padding:5px 5px 1px 5px;color:#1d3040}#edit-control .content-editor-btn-icon svg{fill:#1d3040}#edit-control .content-editor-btn-text{padding:5px;color:#1d3040}#edit-control #option-bold{font-weight:bold;text-decoration:none}#edit-control #option-italic{font-weight:bold;text-decoration:none;font-style:italic}#edit-control #option-strikethrough{font-weight:bold;text-decoration:line-through;font-style:italic}.hljs{display:block;overflow-x:auto;padding:.5em;background:#13202b}.hljs,.hljs-subst{color:#ebdbb2}.hljs-deletion,.hljs-formula,.hljs-keyword .hljs-selector-tag{color:#fde3a7;font-style:italic}.hljs-link{color:#fc6399}.hljs-built_in,.hljs-emphasis,.hljs-name,.hljs-quote,.hljs-strong,.hljs-title,.hljs-variable{color:#ffa07a}.hljs-attr,.hljs-params,.hljs-template-tag,.hljs-type{color:#89c4f4}.hljs-builtin-name,.hljs-doctag,.hljs-literal,.hljs-number{color:#8f3f71}.hljs-code,.hljs-meta,.hljs-regexp,.hljs-selector-id,.hljs-template-variable{color:#f5ab35}.hljs-addition,.hljs-meta-string,.hljs-section,.hljs-selector-attr,.hljs-selector-class,.hljs-string,.hljs-symbol{color:#f6dd74}.hljs-attribute,.hljs-bullet,.hljs-class,.hljs-function,.hljs-function .hljs-keyword,.hljs-meta-keyword,.hljs-selector-pseudo,.hljs-tag{color:#90b1cc}.hljs-comment{color:#928374}.hljs-link_label,.hljs-literal,.hljs-number{color:#d3869b}.hljs-comment,.hljs-emphasis{font-style:italic}.hljs-section,.hljs-strong,.hljs-tag{font-weight:normal}/*# sourceMappingURL=dash.css.map */ diff --git a/public/assets/scripts/dash.min.js b/public/assets/scripts/dash.min.js index 6aea23c..12c6c9c 100644 --- a/public/assets/scripts/dash.min.js +++ b/public/assets/scripts/dash.min.js @@ -1,11 +1,11 @@ -!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 n=0;n0&&void 0!==arguments[0]?arguments[0]:null;e(this,t),this.percentComplete=0,this.baseURL=null,this.status=!1,r&&(this.baseURL=r),this._request(this.baseURL?this.baseURL+c:c).then((function(e){e.type===I&&(n.token=e.token)}))}return n(t,[{key:"login",value:function(e){var t=this;return new Promise((function(n,r){t.baseURL?e.remote=!0:e.remote=!1,t.key?e.key=t.key:e.key=null,t._request(t.baseURL?t.baseURL+h:h,"getAuthStatus",s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"sync",value:function(e,t){var n=this;return new Promise((function(r,o){var i="";switch(e){case"syncSite":i="/api/v1/settings/sync";break;case"syncNav":i="/api/v1/settings/nav-sync"}n._request(n.baseURL?n.baseURL+i:i,p,s,l,t).then((function(e){r(e)})).catch((function(e){o(e)}))}))}},{key:"publish",value:function(e){var t=this;return new Promise((function(n,r){t._request(t.baseURL?t.baseURL+d:d,g,s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"pageActions",value:function(e,t){var n,r,o,i=this;switch(e){case m:n="/api/v1/page/create",r=m,o=u;break;case v:n="/api/v1/page/write",r=v,o=u;break;case y:n="/api/v1/page/delete",r=y,o=l}return this.baseURL?t.remote=!0:t.remote=!1,new Promise((function(e,a){i._request(i.baseURL?i.baseURL+n:n,r,s,o,t).then((function(t){e(t)})).catch((function(e){a(e)}))}))}},{key:"sendMail",value:function(e){var t=this;return new Promise((function(n,r){t._request(t.baseURL?t.baseURL+f:f,"sendMail",s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"getInfo",value:function(e){var t,n,r=this;return"site"==e?(t="/api/v1/settings/site",n=w):(t="/api/v1/settings/member",n=E),new Promise((function(e,o){r._request(r.baseURL?r.baseURL+t:t,n).then((function(t){e(t)})).catch((function(e){o(e)}))}))}},{key:"_request",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=this;return new Promise((function(a,c){var d=new XMLHttpRequest;if(d.upload.onprogress=i.handleLoadProgress,d.open(n,e,!0),d.onload=function(){if(200==d.status){var e=JSON.parse(d.response);a(e)}else{var t=JSON.parse(d.response);c(t)}},"PUT"==n||n==s)switch(t!==p&&t!==v&&t!==m&&t!==y&&t!==g&&t!==b||d.setRequestHeader("fipamo-access-token",i.token),r){case l:d.setRequestHeader("Content-type","application/"+r),d.send(JSON.stringify(o));break;case u:d.send(o)}else t!==w&&t!==E||d.setRequestHeader("fipamo-access-token",i.token),d.send()}))}},{key:"handleLoadProgress",value:function(e){this.percentComplete=Math.ceil(e.loaded/e.total*100)}}]),t}(),S="POST",T="json",D="x-www-form-urlencoded",P="/api/v1/status",x="apiUseAuthorized",B=function(){function t(){var n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e(this,t),this.percentComplete=0,this.token=null,this.baseURL=null,this.key=null,o&&(this.key=o),r&&(this.baseURL=r),this._request(this.baseURL?this.baseURL+P+"?key="+this.key:P+"?key="+this.key).then((function(e){e.type===x&&(n.token=e.token)}))}return n(t,[{key:"create",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/init","blogInit",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"restore",value:function(e){var t=this;return new Promise((function(n,r){var o;o=new FormData(e),t._request("/api/v1/restore","restoreBackup","POST","x-www-form-urlencoded",o).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"backup",value:function(){var e=this;return new Promise((function(t,n){var r;r={task:"create_backup"},e._request("/api/v1/backup","createBackup","POST","json",r).then((function(e){t(e)})).catch((function(e){n(e)}))}))}},{key:"secret",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/get-secret","retrieveSecret",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"newPass",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/reset-password","resetPassword",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"imageUpload",value:function(e,t){var n=this;return new Promise((function(r,o){var i="";switch(e){case"avatar-upload":i="/api/v1/settings/add-avatar";break;case"background-upload":i="/api/v1/settings/add-feature-background";break;default:i="/api/v1/page/add-entry-image"}var a=new FormData;n.baseURL?(a.append("key",n.key),a.append("remote",!0)):a.append("remote",!1);for(var s=0;s2&&void 0!==arguments[2]?arguments[2]:"GET",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:T,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=this;return new Promise((function(t,a){var s=new XMLHttpRequest;if(s.upload.onprogress=i.handleLoadProgress,s.open(n,e,!0),s.onload=function(){if(200==s.status){var e=JSON.parse(s.response);t(e)}else{var n=JSON.parse(s.response);a(n)}},"PUT"==n||n==S)switch(r){case T:s.setRequestHeader("Content-type","application/"+r),s.send(JSON.stringify(o));break;case D:s.send(o)}else s.send()}))}},{key:"handleLoadProgress",value:function(e){this.percentComplete=Math.ceil(e.loaded/e.total*100)}}]),t}(),_=function(){function t(){e(this,t)}return n(t,[{key:"imgLoad",value:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){200===r.status?t(r.response):n(new Error("Image didn't load successfully; error code:"+r.statusText))},r.onerror=function(){n(new Error("There was a network error."))},r.send()}))}},{key:"loadImage",value:function(e){var t=this;return new Promise((function(n,r){(new Image).crossOrigin="",t.imgLoad(e).then((function(e){var t=window.URL.createObjectURL(e);n(t)}),(function(e){r(e)}))}))}},{key:"formDataToJSON",value:function(e){var t={};return new FormData(e).forEach((function(e,n){t.hasOwnProperty(n)?(Array.isArray(t[n])||(t[n]=[t[n]]),t[n].push(e)):t[n]=e})),t}}]),t}(),A="requestLame",L="postUpdated";new function t(){e(this,t)};var C=function(){function t(){e(this,t)}return n(t,[{key:"cleanString",value:function(e){return e.replace(/(^\-+|[^a-zA-Z0-9\/_| -]+|\-+$)/g,"").toLowerCase().replace(/[\/_| -]+/g,"-")}},{key:"decodeHTML",value:function(e,t){var n=0,r=0,o=!1;void 0===t&&(t=2),e=e.toString().replace(/</g,"<").replace(/>/g,">");var i={ENT_NOQUOTES:0,ENT_HTML_QUOTE_SINGLE:1,ENT_HTML_QUOTE_DOUBLE:2,ENT_COMPAT:2,ENT_QUOTES:3,ENT_IGNORE:4};if(0===t&&(o=!0),"number"!=typeof t){for(t=[].concat(t),r=0;r]*>/g,"\n"),r.append("id",document.getElementById("post-edit-index").getAttribute("data-index")),r.append("uuid",document.getElementById("post-edit-index").getAttribute("data-uuid")),r.append("layout",document.getElementById("post-edit-index").getAttribute("data-layout")),r.append("current_title",document.getElementById("post-edit-index").getAttribute("data-slug")),r.append("content",i),r.append("title",document.getElementById("post_title").value),r.append("created",document.getElementById("post-date").getAttribute("data-raw")),r.append("slug",(new C).cleanString(document.getElementById("post_title").value)),r.append("tags",document.getElementById("post_tags").value),r.append("menu",document.getElementById("option-menu-pin").getAttribute("data-active")),r.append("featured",document.getElementById("option-feature").getAttribute("data-active")),r.append("published",document.getElementById("option-published").getAttribute("data-active")),r.append("form_token",document.getElementById("form_token").value),null!=e||null!=e)e.type.match("image.*")?r.append("feature_image",e,e.name):n("Not an image file");else if(document.getElementById("featured-image")){var a=document.getElementById("featured-image").src;null!=a||null!=a?r.append("feature_image",a):r.append("feature_image",null)}t(r)}))}}]),t}(),O="editorDelete",N="editorUploadImage",R="editorSave",U="editorUpdate";new function t(){e(this,t)};var H=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],F=function(e,t){var n=document.createElement("div");return function(t){var r=function(){var t={position:"absolute",left:-9999,top:0,zIndex:-2e3};return"TEXTAREA"===e.tagName&&H.push("width"),H.forEach((function(n){t[n]=getComputedStyle(e)[n]})),t}();Object.keys(r).forEach((function(e){n.style[e]=r[e]})),n.innerHTML=t,e.parentNode.insertBefore(n,e.nextSibling)}(t),{rect:function(){var e=n.ownerDocument.getElementById("caret-position-marker"),t={left:e.offsetLeft,top:e.offsetTop,height:e.offsetHeight};return n.parentNode.removeChild(n),t}}};function X(e){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(e)}var q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.customPos,n=e.iframe,r=e.noShadowCaret;return n?{iframe:n,window:n.contentWindow,document:n.contentDocument||n.contentWindow.document,noShadowCaret:r,customPos:t}:{window:window,document:document,noShadowCaret:r,customPos:t}},Y=function(e){return"object"===X(e)&&null!==e},j=function(e,t){var n=function(){return e.selectionStart},r=function(r){var o=function(e){return e.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"
")};(t.customPos||0===t.customPos)&&(r=t.customPos);var i=void 0===r?n():r,a=e.value.slice(0,i),s=e.value.slice(i),l=''.concat(o(a),"");l+='|',l+=''.concat(o(s),"");var u=F(e,l).rect();return u.pos=n(),u};return{getPos:n,setPos:function(t){return e.setSelectionRange(t,t),e},getOffset:function(n){var o=function(e,t){var n=t&&t.window||window,r=t&&t.document||document,o=e.getBoundingClientRect(),i=r.documentElement,a=n.pageXOffset||i.scrollLeft,s=n.pageYOffset||i.scrollTop;return{top:o.top+s,left:o.left+a}}(e),i=r(n);return{top:o.top+i.top+t.document.body.scrollTop,left:o.left+i.left+t.document.body.scrollLeft,height:i.height}},getPosition:r}},W=function(e,t){return function(e){return!!(e.contentEditable?"true"===e.contentEditable:"true"===e.getAttribute("contenteditable"))}(e)?function(e,t){var n=function(){var n=r(),o={height:0,left:0,right:0};if(!n)return o;var i=t.customPos||0===t.customPos;if(n.endOffset-1>0&&n.endContainer!==e||i){var a=n.cloneRange(),s=i?t.customPos:n.endOffset;a.setStart(n.endContainer,s-1<0?0:s-1),a.setEnd(n.endContainer,s);var l=a.getBoundingClientRect();o={height:l.height,left:l.left+l.width,top:l.top},a.detach()}if((!o||o&&0===o.height)&&!t.noShadowCaret){var u=n.cloneRange(),c=t.document.createTextNode("|");u.insertNode(c),u.selectNode(c);var d=u.getBoundingClientRect();o={height:d.height,left:d.left,top:d.top},c.parentNode.removeChild(c),u.detach()}if(o){var f=t.document.documentElement;o.top+=t.window.pageYOffset-(f.clientTop||0),o.left+=t.window.pageXOffset-(f.clientLeft||0)}return o},r=function(){if(t.window.getSelection){var e=t.window.getSelection();return e.rangeCount>0?e.getRangeAt(0):null}},o=function(){var t=r(),n=t.cloneRange();n.selectNodeContents(e),n.setEnd(t.endContainer,t.endOffset);var o=n.toString().length;return n.detach(),o};return{getPos:o,setPos:function(n){var r=t.window.getSelection();if(r){var o=0,i=!1;!function e(a,s){for(var l=0;l=a){i=!0;var c=t.document.createRange();c.setStart(u,a-o),r.removeAllRanges(),r.addRange(c);break}o+=u.length}else e(n,u)}}(n,e)}return e},getPosition:function(){var r=n(),i=o(),a=e.getBoundingClientRect(),s=a.top+t.document.body.scrollTop,l=a.left+t.document.body.scrollLeft;return r.left-=l,r.top-=s,r.pos=i,r},getOffset:n,getRange:r}}(e,t):j(e,t)},z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n;Y(t)&&(r=t,t=null);var o=q(r),i=W(e,o);return t||0===t?i.setPos(t):i.getPosition()},G=function(){function t(){e(this,t),this.listeners=new Map}return n(t,[{key:"addListener",value:function(e,t){this.listeners.has(e)||this.listeners.set(e,[]),this.listeners.get(e).push(t)}},{key:"removeListener",value:function(e,t){var n,r=this.listeners.get(e);return!!(r&&r.length&&(n=r.reduce((function(e,n,r){return"function"==typeof n&&n===t?e=r:e}),-1))>-1)&&(r.splice(n,1),this.listeners.set(e,r),!0)}},{key:"emitEvent",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r/g)>-1){var o=z(e.textEditor).pos;t.refresh(),z(e.textEditor,o)}}))}},{key:"refresh",value:function(){var e=this.textEditor.innerText;e=e.replace(new RegExp("\r?\n","g"),"
");var t=document.createElement("div");t.innerText=e,this.textEditor.innerHTML=t.innerText,this.textEditor.style.maxWidth="900px"}},{key:"notify",value:function(e,t){switch(e){case L:document.getElementById("submit-update").classList.add("icon-hide"),document.getElementById("submit-good").classList.remove("icon-hide"),document.getElementById("edit-update").classList.remove("submit-start"),document.getElementById("edit-update").classList.add("submit-cool"),setTimeout((function(){document.getElementById("submit-update").classList.remove("icon-hide"),document.getElementById("submit-good").classList.add("icon-hide"),document.getElementById("edit-update").classList.add("submit-start"),document.getElementById("edit-update").classList.remove("submit-cool")}),2e3);break;case"postAdded":break;case N:var n,r;z(this.textEditor,this.caretPos),(n=window.getSelection()).rangeCount&&((r=n.getRangeAt(0)).deleteContents(),r.insertNode(document.createTextNode("![image alt text]("+t+" 'image title')"))),this.refresh()}}},{key:"handleEditorOption",value:function(e){var t,n,r;if(e.preventDefault(),(t=window.getSelection()).rangeCount)switch(n=t.getRangeAt(0),r=t.getRangeAt(0).toString(),n.deleteContents(),e.target.id){case"edit-bold":n.insertNode(document.createTextNode("**"+r+"**"));break;case"edit-italic":n.insertNode(document.createTextNode("*"+r+"*"));break;case"edit-strikethrough":n.insertNode(document.createTextNode(""+r+""));break;case"edit-header1":n.insertNode(document.createTextNode("# "+r));break;case"edit-header2":n.insertNode(document.createTextNode("## "+r));break;case"edit-header3":n.insertNode(document.createTextNode("### "+r));break;case"edit-image":this.caretPos=z(this.textEditor).pos,this.emitEvent(N);break;case"submit-save":case"edit-save":this.emitEvent(R);break;case"submit-update":case"edit-update":this.emitEvent(U);break;case"edit-link":n.insertNode(document.createTextNode("["+r+"](PASTE URL HERE)"));break;case"edit-delete":this.emitEvent(O)}this.refresh()}}]),i}(G),V={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},J={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},Z=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],K={CSS:{},springs:{}};function ee(e,t,n){return Math.min(Math.max(e,t),n)}function te(e,t){return e.indexOf(t)>-1}function ne(e,t){return e.apply(null,t)}var re={arr:function(e){return Array.isArray(e)},obj:function(e){return te(Object.prototype.toString.call(e),"Object")},pth:function(e){return re.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||re.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},nil:function(e){return re.und(e)||null===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return re.hex(e)||re.rgb(e)||re.hsl(e)},key:function(e){return!V.hasOwnProperty(e)&&!J.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function oe(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function ie(e,t){var n=oe(e),r=ee(re.und(n[0])?1:n[0],.1,100),o=ee(re.und(n[1])?100:n[1],.1,100),i=ee(re.und(n[2])?10:n[2],.1,100),a=ee(re.und(n[3])?0:n[3],.1,100),s=Math.sqrt(o/r),l=i/(2*Math.sqrt(o*r)),u=l<1?s*Math.sqrt(1-l*l):0,c=l<1?(l*s-a)/u:-a+s;function d(e){var n=t?t*e/1e3:e;return n=l<1?Math.exp(-n*l*s)*(1*Math.cos(u*n)+c*Math.sin(u*n)):(1+c*n)*Math.exp(-n*s),0===e||1===e?e:1-n}return t?d:function(){var t=K.springs[e];if(t)return t;for(var n=1/6,r=0,o=0;;)if(1===d(r+=n)){if(++o>=16)break}else o=0;var i=r*n*1e3;return K.springs[e]=i,i}}function ae(e){return void 0===e&&(e=10),function(t){return Math.ceil(ee(t,1e-6,1)*e)*(1/e)}}var se,le,ue=function(){var e=.1;function t(e,t){return 1-3*t+3*e}function n(e,t){return 3*t-6*e}function r(e){return 3*e}function o(e,o,i){return((t(o,i)*e+n(o,i))*e+r(o))*e}function i(e,o,i){return 3*t(o,i)*e*e+2*n(o,i)*e+r(o)}return function(t,n,r,a){if(0<=t&&t<=1&&0<=r&&r<=1){var s=new Float32Array(11);if(t!==n||r!==a)for(var l=0;l<11;++l)s[l]=o(l*e,t,r);return function(e){return t===n&&r===a||0===e||1===e?e:o(u(e),n,a)}}function u(n){for(var a=0,l=1;10!==l&&s[l]<=n;++l)a+=e;--l;var u=a+(n-s[l])/(s[l+1]-s[l])*e,c=i(u,t,r);return c>=.001?function(e,t,n,r){for(var a=0;a<4;++a){var s=i(t,n,r);if(0===s)return t;t-=(o(t,n,r)-e)/s}return t}(n,u,t,r):0===c?u:function(e,t,n,r,i){var a,s,l=0;do{(a=o(s=t+(n-t)/2,r,i)-e)>0?n=s:t=s}while(Math.abs(a)>1e-7&&++l<10);return s}(n,a,a+e,t,r)}}}(),ce=(se={linear:function(){return function(e){return e}}},le={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var n=ee(e,1,10),r=ee(t,.1,2);return function(e){return 0===e||1===e?e:-n*Math.pow(2,10*(e-1))*Math.sin((e-1-r/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/r)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,t){le[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(le).forEach((function(e){var t=le[e];se["easeIn"+e]=t,se["easeOut"+e]=function(e,n){return function(r){return 1-t(e,n)(1-r)}},se["easeInOut"+e]=function(e,n){return function(r){return r<.5?t(e,n)(2*r)/2:1-t(e,n)(-2*r+2)/2}},se["easeOutIn"+e]=function(e,n){return function(r){return r<.5?(1-t(e,n)(1-2*r))/2:(t(e,n)(2*r-1)+1)/2}}})),se);function de(e,t){if(re.fnc(e))return e;var n=e.split("(")[0],r=ce[n],o=oe(e);switch(n){case"spring":return ie(e,t);case"cubicBezier":return ne(ue,o);case"steps":return ne(ae,o);default:return ne(r,o)}}function fe(e){try{return document.querySelectorAll(e)}catch(e){return}}function he(e,t){for(var n=e.length,r=arguments.length>=2?t:void 0,o=[],i=0;i1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(0==a)t=n=r=s;else{var c=s<.5?s*(1+a):s+a-s*a,d=2*s-c;t=u(d,c,i+1/3),n=u(d,c,i),r=u(d,c,i-1/3)}return"rgba("+255*t+","+255*n+","+255*r+","+l+")"}(e):void 0;var t,n}function Ee(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function Ie(e,t){return re.fnc(e)?e(t.target,t.id,t.total):e}function ke(e,t){return e.getAttribute(t)}function Se(e,t,n){if(me([n,"deg","rad","turn"],Ee(t)))return t;var r=K.CSS[t+n];if(!re.und(r))return r;var o=document.createElement(e.tagName),i=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;i.appendChild(o),o.style.position="absolute",o.style.width=100+n;var a=100/o.offsetWidth;i.removeChild(o);var s=a*parseFloat(t);return K.CSS[t+n]=s,s}function Te(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?Se(e,o,n):o}}function De(e,t){return re.dom(e)&&!re.inp(e)&&(!re.nil(ke(e,t))||re.svg(e)&&e[t])?"attribute":re.dom(e)&&me(Z,t)?"transform":re.dom(e)&&"transform"!==t&&Te(e,t)?"css":null!=e[t]?"object":void 0}function Pe(e){if(re.dom(e)){for(var t,n=e.style.transform||"",r=/(\w+)\(([^)]*)\)/g,o=new Map;t=r.exec(n);)o.set(t[1],t[2]);return o}}function xe(e,t,n,r){var o=te(t,"scale")?1:0+function(e){return te(e,"translate")||"perspective"===e?"px":te(e,"rotate")||te(e,"skew")?"deg":void 0}(t),i=Pe(e).get(t)||o;return n&&(n.transforms.list.set(t,i),n.transforms.last=t),r?Se(e,i,r):i}function Be(e,t,n,r){switch(De(e,t)){case"transform":return xe(e,t,r,n);case"css":return Te(e,t,n);case"attribute":return ke(e,t);default:return e[t]||0}}function _e(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=Ee(e)||0,o=parseFloat(t),i=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return o+i+r;case"-":return o-i+r;case"*":return o*i+r}}function Ae(e,t){if(re.col(e))return we(e);if(/\s/g.test(e))return e;var n=Ee(e),r=n?e.substr(0,e.length-n.length):e;return t?r+t:r}function Le(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Ce(e){for(var t,n=e.points,r=0,o=0;o0&&(r+=Le(t,i)),t=i}return r}function Me(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*ke(e,"r")}(e);case"rect":return function(e){return 2*ke(e,"width")+2*ke(e,"height")}(e);case"line":return function(e){return Le({x:ke(e,"x1"),y:ke(e,"y1")},{x:ke(e,"x2"),y:ke(e,"y2")})}(e);case"polyline":return Ce(e);case"polygon":return function(e){var t=e.points;return Ce(e)+Le(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function Oe(e,t){var n=t||{},r=n.el||function(e){for(var t=e.parentNode;re.svg(t)&&re.svg(t.parentNode);)t=t.parentNode;return t}(e),o=r.getBoundingClientRect(),i=ke(r,"viewBox"),a=o.width,s=o.height,l=n.viewBox||(i?i.split(" "):[0,0,a,s]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:a,h:s,vW:l[2],vH:l[3]}}function Ne(e,t,n){function r(n){void 0===n&&(n=0);var r=t+n>=1?t+n:0;return e.el.getPointAtLength(r)}var o=Oe(e.el,e.svg),i=r(),a=r(-1),s=r(1),l=n?1:o.w/o.vW,u=n?1:o.h/o.vH;switch(e.property){case"x":return(i.x-o.x)*l;case"y":return(i.y-o.y)*u;case"angle":return 180*Math.atan2(s.y-a.y,s.x-a.x)/Math.PI}}function Re(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=Ae(re.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:re.str(e)||t?r.split(n):[]}}function Ue(e){return he(e?pe(re.arr(e)?e.map(ge):ge(e)):[],(function(e,t,n){return n.indexOf(e)===t}))}function He(e){var t=Ue(e);return t.map((function(e,n){return{target:e,id:n,total:t.length,transforms:{list:Pe(e)}}}))}function Fe(e,t){var n=ve(t);if(/^spring/.test(n.easing)&&(n.duration=ie(n.easing)),re.arr(e)){var r=e.length;2===r&&!re.obj(e[0])?e={value:e}:re.fnc(t.duration)||(n.duration=t.duration/r)}var o=re.arr(e)?e:[e];return o.map((function(e,n){var r=re.obj(e)&&!re.pth(e)?e:{value:e};return re.und(r.delay)&&(r.delay=n?0:t.delay),re.und(r.endDelay)&&(r.endDelay=n===o.length-1?t.endDelay:0),r})).map((function(e){return be(e,n)}))}function Xe(e,t){var n=[],r=t.keyframes;for(var o in r&&(t=be(function(e){for(var t=he(pe(e.map((function(e){return Object.keys(e)}))),(function(e){return re.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),n={},r=function(r){var o=t[r];n[o]=e.map((function(e){var t={};for(var n in e)re.key(n)?n==o&&(t.value=e[n]):t[n]=e[n];return t}))},o=0;o0?requestAnimationFrame(t):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){$e.suspendWhenDocumentHidden&&(Je()?e=cancelAnimationFrame(e):(Qe.forEach((function(e){return e._onDocumentVisibility()})),Ve()))})),function(){e||Je()&&$e.suspendWhenDocumentHidden||!(Qe.length>0)||(e=requestAnimationFrame(t))}}();function Je(){return!!document&&document.hidden}function $e(e){void 0===e&&(e={});var t,n=0,r=0,o=0,i=0,a=null;function s(e){var t=window.Promise&&new Promise((function(e){return a=e}));return e.finished=t,t}var l=function(e){var t=ye(V,e),n=ye(J,e),r=Xe(n,e),o=He(e.targets),i=We(o,r),a=ze(i,n),s=Ge;return Ge++,be(t,{id:s,children:[],animatables:o,animations:i,duration:a.duration,delay:a.delay,endDelay:a.endDelay})}(e);function u(){var e=l.direction;"alternate"!==e&&(l.direction="normal"!==e?"normal":"reverse"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function c(e){return l.reversed?l.duration-e:e}function d(){n=0,r=c(l.currentTime)*(1/$e.speed)}function f(e,t){t&&t.seek(e-t.timelineOffset)}function h(e){for(var t=0,n=l.animations,r=n.length;t2||(y=Math.round(y*h)/h)),p.push(y)}var E=f.length;if(E){m=f[0];for(var I=0;I0&&(l.began=!0,p("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,p("loopBegin")),v<=g&&0!==l.currentTime&&h(0),(v>=m&&l.currentTime!==d||!d)&&h(d),v>g&&v=d&&(r=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(n=o,p("loopComplete"),l.loopBegan=!1,"alternate"===l.direction&&u()):(l.paused=!0,l.completed||(l.completed=!0,p("loopComplete"),p("complete"),!l.passThrough&&"Promise"in window&&(a(),s(l)))))}return s(l),l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed="reverse"===e,l.remaining=l.loop,t=l.children;for(var n=i=t.length;n--;)l.children[n].reset();(l.reversed&&!0!==l.loop||"alternate"===e&&1===l.loop)&&l.remaining++,h(l.reversed?l.duration:0)},l._onDocumentVisibility=d,l.set=function(e,t){return je(e,t),l},l.tick=function(e){o=e,n||(n=o),g((o+(r-n))*$e.speed)},l.seek=function(e){g(c(e))},l.pause=function(){l.paused=!0,d()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Qe.push(l),d(),Ve())},l.reverse=function(){u(),l.completed=!l.reversed,d()},l.restart=function(){l.reset(),l.play()},l.remove=function(e){Ke(Ue(e),l)},l.reset(),l.autoplay&&l.play(),l}function Ze(e,t){for(var n=t.length;n--;)me(e,t[n].animatable.target)&&t.splice(n,1)}function Ke(e,t){var n=t.animations,r=t.children;Ze(e,n);for(var o=r.length;o--;){var i=r[o],a=i.animations;Ze(e,a),a.length||i.children.length||r.splice(o,1)}n.length||r.length||t.pause()}$e.version="3.2.1",$e.speed=1,$e.suspendWhenDocumentHidden=!0,$e.running=Qe,$e.remove=function(e){for(var t=Ue(e),n=Qe.length;n--;){Ke(t,Qe[n])}},$e.get=Be,$e.set=je,$e.convertPx=Se,$e.path=function(e,t){var n=re.str(e)?fe(e)[0]:e,r=t||100;return function(e){return{property:e,el:n,svg:Oe(n),totalLength:Me(n)*(r/100)}}},$e.setDashoffset=function(e){var t=Me(e);return e.setAttribute("stroke-dasharray",t),t},$e.stagger=function(e,t){void 0===t&&(t={});var n=t.direction||"normal",r=t.easing?de(t.easing):null,o=t.grid,i=t.axis,a=t.from||0,s="first"===a,l="center"===a,u="last"===a,c=re.arr(e),d=c?parseFloat(e[0]):parseFloat(e),f=c?parseFloat(e[1]):0,h=Ee(c?e[1]:e)||0,p=t.start||0+(c?d:0),g=[],m=0;return function(e,t,v){if(s&&(a=0),l&&(a=(v-1)/2),u&&(a=v-1),!g.length){for(var y=0;y-1&&Qe.splice(o,1);for(var s=0;s'].join(""),document.getElementById("featured-image-drop").innerHTML="",document.getElementById("featured-image-drop").appendChild(n)}}(n),o.readAsDataURL(n)}}}},{key:"handleImageUpload",value:function(e,t){var n=this;st.alert("Uploading Image",null),(new B).imageUpload(e,t).then((function(e){"postImageAdded"==e.type&&n.editor.notify(N,e.url),st.alert("Image Added to Entry",!0)})).catch((function(){st.alert("Uh oh. Image not added",!1)}))}}]),t}();lt.uploadFiles=[];var ut=function(){function t(n){e(this,t),this.currentPage=null,this.choosePage(n),this.start()}return n(t,[{key:"start",value:function(){}},{key:"choosePage",value:function(e){switch(this.currentPage="",e){case"edit":case"add":this.currentPage=new lt}}}]),t}(),ct=function(){function t(){e(this,t)}return n(t,[{key:"getInfo",value:function(){var e,t,n=document.getElementById("settings-handle").value,r=document.getElementById("settings-email").value,o=document.getElementById("settings-url").value,i=document.getElementById("settings-title").value,a=document.getElementById("settings-desc").value,s=document.getElementById("render-toggle").getAttribute("data-render"),l=document.getElementById("background").src,u="",c=document.querySelectorAll(".theme-select"),d=document.getElementById("smtp-domain").value,f=document.getElementById("smtp-email").value,h=document.getElementById("smtp-pass").value,p=document.getElementById("mg-domain").value,g=document.getElementById("mg-key").value,m="",v=document.querySelectorAll(".mail-option"),y=document.getElementById("api-access-toggle").getAttribute("data-enabled"),b=document.getElementById("dynamic-render-toggle").getAttribute("data-enabled");for(e=0,t=c.length;e0&&void 0!==arguments[0]?arguments[0]:null;e(this,t),this.percentComplete=0,this.baseURL=null,this.status=!1,r&&(this.baseURL=r),this._request(this.baseURL?this.baseURL+c:c).then((function(e){e.type===I&&(n.token=e.token)}))}return n(t,[{key:"login",value:function(e){var t=this;return new Promise((function(n,r){t.baseURL?e.remote=!0:e.remote=!1,t.key?e.key=t.key:e.key=null,t._request(t.baseURL?t.baseURL+h:h,"getAuthStatus",s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"sync",value:function(e,t){var n=this;return new Promise((function(r,o){var a="";switch(e){case"syncSite":a="/api/v1/settings/sync";break;case"syncNav":a="/api/v1/settings/nav-sync"}n._request(n.baseURL?n.baseURL+a:a,p,s,l,t).then((function(e){r(e)})).catch((function(e){o(e)}))}))}},{key:"publish",value:function(e){var t=this;return new Promise((function(n,r){t._request(t.baseURL?t.baseURL+d:d,g,s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"pageActions",value:function(e,t){var n,r,o,a=this;switch(e){case m:n="/api/v1/page/create",r=m,o=u;break;case v:n="/api/v1/page/write",r=v,o=u;break;case y:n="/api/v1/page/delete",r=y,o=l}return this.baseURL?t.remote=!0:t.remote=!1,new Promise((function(e,i){a._request(a.baseURL?a.baseURL+n:n,r,s,o,t).then((function(t){e(t)})).catch((function(e){i(e)}))}))}},{key:"sendMail",value:function(e){var t=this;return new Promise((function(n,r){t._request(t.baseURL?t.baseURL+f:f,"sendMail",s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"getInfo",value:function(e){var t,n,r=this;return"site"==e?(t="/api/v1/settings/site",n=w):(t="/api/v1/settings/member",n=E),new Promise((function(e,o){r._request(r.baseURL?r.baseURL+t:t,n).then((function(t){e(t)})).catch((function(e){o(e)}))}))}},{key:"_request",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=this;return new Promise((function(i,c){var d=new XMLHttpRequest;if(d.upload.onprogress=a.handleLoadProgress,d.open(n,e,!0),d.onload=function(){if(200==d.status){var e=JSON.parse(d.response);i(e)}else{var t=JSON.parse(d.response);c(t)}},"PUT"==n||n==s)switch(t!==p&&t!==v&&t!==m&&t!==y&&t!==g&&t!==b||d.setRequestHeader("fipamo-access-token",a.token),r){case l:d.setRequestHeader("Content-type","application/"+r),d.send(JSON.stringify(o));break;case u:d.send(o)}else t!==w&&t!==E||d.setRequestHeader("fipamo-access-token",a.token),d.send()}))}},{key:"handleLoadProgress",value:function(e){this.percentComplete=Math.ceil(e.loaded/e.total*100)}}]),t}(),S="POST",T="json",D="x-www-form-urlencoded",P="/api/v1/status",x="apiUseAuthorized",B=function(){function t(){var n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e(this,t),this.percentComplete=0,this.token=null,this.baseURL=null,this.key=null,o&&(this.key=o),r&&(this.baseURL=r),this._request(this.baseURL?this.baseURL+P+"?key="+this.key:P+"?key="+this.key).then((function(e){e.type===x&&(n.token=e.token)}))}return n(t,[{key:"create",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/init","blogInit",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"restore",value:function(e){var t=this;return new Promise((function(n,r){var o;o=new FormData(e),t._request("/api/v1/restore","restoreBackup","POST","x-www-form-urlencoded",o).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"backup",value:function(){var e=this;return new Promise((function(t,n){var r;r={task:"create_backup"},e._request("/api/v1/backup","createBackup","POST","json",r).then((function(e){t(e)})).catch((function(e){n(e)}))}))}},{key:"secret",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/get-secret","retrieveSecret",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"newPass",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/reset-password","resetPassword",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"imageUpload",value:function(e,t){var n=this;return new Promise((function(r,o){var a="";switch(e){case"avatar-upload":a="/api/v1/settings/add-avatar";break;case"background-upload":a="/api/v1/settings/add-feature-background";break;default:a="/api/v1/page/add-entry-image"}var i=new FormData;n.baseURL?(i.append("key",n.key),i.append("remote",!0)):i.append("remote",!1);for(var s=0;s2&&void 0!==arguments[2]?arguments[2]:"GET",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:T,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=this;return new Promise((function(t,i){var s=new XMLHttpRequest;if(s.upload.onprogress=a.handleLoadProgress,s.open(n,e,!0),s.onload=function(){if(200==s.status){var e=JSON.parse(s.response);t(e)}else{var n=JSON.parse(s.response);i(n)}},"PUT"==n||n==S)switch(r){case T:s.setRequestHeader("Content-type","application/"+r),s.send(JSON.stringify(o));break;case D:s.send(o)}else s.send()}))}},{key:"handleLoadProgress",value:function(e){this.percentComplete=Math.ceil(e.loaded/e.total*100)}}]),t}(),_=function(){function t(){e(this,t)}return n(t,[{key:"imgLoad",value:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){200===r.status?t(r.response):n(new Error("Image didn't load successfully; error code:"+r.statusText))},r.onerror=function(){n(new Error("There was a network error."))},r.send()}))}},{key:"loadImage",value:function(e){var t=this;return new Promise((function(n,r){(new Image).crossOrigin="",t.imgLoad(e).then((function(e){var t=window.URL.createObjectURL(e);n(t)}),(function(e){r(e)}))}))}},{key:"formDataToJSON",value:function(e){var t={};return new FormData(e).forEach((function(e,n){t.hasOwnProperty(n)?(Array.isArray(t[n])||(t[n]=[t[n]]),t[n].push(e)):t[n]=e})),t}}]),t}(),A="requestLame",L="postUpdated";new function t(){e(this,t)};var C=function(){function t(){e(this,t)}return n(t,[{key:"cleanString",value:function(e){return e.replace(/(^\-+|[^a-zA-Z0-9\/_| -]+|\-+$)/g,"").toLowerCase().replace(/[\/_| -]+/g,"-")}},{key:"decodeHTML",value:function(e,t){var n=0,r=0,o=!1;void 0===t&&(t=2),e=e.toString().replace(/</g,"<").replace(/>/g,">");var a={ENT_NOQUOTES:0,ENT_HTML_QUOTE_SINGLE:1,ENT_HTML_QUOTE_DOUBLE:2,ENT_COMPAT:2,ENT_QUOTES:3,ENT_IGNORE:4};if(0===t&&(o=!0),"number"!=typeof t){for(t=[].concat(t),r=0;r]*>/g,"\n"),r.append("id",document.getElementById("post-edit-index").getAttribute("data-index")),r.append("uuid",document.getElementById("post-edit-index").getAttribute("data-uuid")),r.append("layout",document.getElementById("post-edit-index").getAttribute("data-layout")),r.append("current_title",document.getElementById("post-edit-index").getAttribute("data-slug")),r.append("content",a),r.append("title",document.getElementById("post_title").value),r.append("created",document.getElementById("post-date").getAttribute("data-raw")),r.append("slug",(new C).cleanString(document.getElementById("post_title").value)),r.append("tags",document.getElementById("post_tags").value),r.append("menu",document.getElementById("option-menu-pin").getAttribute("data-active")),r.append("featured",document.getElementById("option-feature").getAttribute("data-active")),r.append("published",document.getElementById("option-published").getAttribute("data-active")),r.append("layout",document.getElementById("page-templates").value),r.append("form_token",document.getElementById("form_token").value),null!=e||null!=e)e.type.match("image.*")?r.append("feature_image",e,e.name):n("Not an image file");else if(document.getElementById("featured-image")){var i=document.getElementById("featured-image").src;null!=i||null!=i?r.append("feature_image",i):r.append("feature_image",null)}t(r)}))}}]),t}(),O="editorDelete",N="editorUploadImage",R="editorSave",U="editorUpdate";new function t(){e(this,t)};var H=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],F=function(e,t){var n=document.createElement("div");return function(t){var r=function(){var t={position:"absolute",left:-9999,top:0,zIndex:-2e3};return"TEXTAREA"===e.tagName&&H.push("width"),H.forEach((function(n){t[n]=getComputedStyle(e)[n]})),t}();Object.keys(r).forEach((function(e){n.style[e]=r[e]})),n.innerHTML=t,e.parentNode.insertBefore(n,e.nextSibling)}(t),{rect:function(){var e=n.ownerDocument.getElementById("caret-position-marker"),t={left:e.offsetLeft,top:e.offsetTop,height:e.offsetHeight};return n.parentNode.removeChild(n),t}}};function X(e){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(e)}var q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.customPos,n=e.iframe,r=e.noShadowCaret;return n?{iframe:n,window:n.contentWindow,document:n.contentDocument||n.contentWindow.document,noShadowCaret:r,customPos:t}:{window:window,document:document,noShadowCaret:r,customPos:t}},Y=function(e){return"object"===X(e)&&null!==e},j=function(e,t){var n=function(){return e.selectionStart},r=function(r){var o=function(e){return e.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"
")};(t.customPos||0===t.customPos)&&(r=t.customPos);var a=void 0===r?n():r,i=e.value.slice(0,a),s=e.value.slice(a),l=''.concat(o(i),"");l+='|',l+=''.concat(o(s),"");var u=F(e,l).rect();return u.pos=n(),u};return{getPos:n,setPos:function(t){return e.setSelectionRange(t,t),e},getOffset:function(n){var o=function(e,t){var n=t&&t.window||window,r=t&&t.document||document,o=e.getBoundingClientRect(),a=r.documentElement,i=n.pageXOffset||a.scrollLeft,s=n.pageYOffset||a.scrollTop;return{top:o.top+s,left:o.left+i}}(e),a=r(n);return{top:o.top+a.top+t.document.body.scrollTop,left:o.left+a.left+t.document.body.scrollLeft,height:a.height}},getPosition:r}},W=function(e,t){return function(e){return!!(e.contentEditable?"true"===e.contentEditable:"true"===e.getAttribute("contenteditable"))}(e)?function(e,t){var n=function(){var n=r(),o={height:0,left:0,right:0};if(!n)return o;var a=t.customPos||0===t.customPos;if(n.endOffset-1>0&&n.endContainer!==e||a){var i=n.cloneRange(),s=a?t.customPos:n.endOffset;i.setStart(n.endContainer,s-1<0?0:s-1),i.setEnd(n.endContainer,s);var l=i.getBoundingClientRect();o={height:l.height,left:l.left+l.width,top:l.top},i.detach()}if((!o||o&&0===o.height)&&!t.noShadowCaret){var u=n.cloneRange(),c=t.document.createTextNode("|");u.insertNode(c),u.selectNode(c);var d=u.getBoundingClientRect();o={height:d.height,left:d.left,top:d.top},c.parentNode.removeChild(c),u.detach()}if(o){var f=t.document.documentElement;o.top+=t.window.pageYOffset-(f.clientTop||0),o.left+=t.window.pageXOffset-(f.clientLeft||0)}return o},r=function(){if(t.window.getSelection){var e=t.window.getSelection();return e.rangeCount>0?e.getRangeAt(0):null}},o=function(){var t=r(),n=t.cloneRange();n.selectNodeContents(e),n.setEnd(t.endContainer,t.endOffset);var o=n.toString().length;return n.detach(),o};return{getPos:o,setPos:function(n){var r=t.window.getSelection();if(r){var o=0,a=!1;!function e(i,s){for(var l=0;l=i){a=!0;var c=t.document.createRange();c.setStart(u,i-o),r.removeAllRanges(),r.addRange(c);break}o+=u.length}else e(n,u)}}(n,e)}return e},getPosition:function(){var r=n(),a=o(),i=e.getBoundingClientRect(),s=i.top+t.document.body.scrollTop,l=i.left+t.document.body.scrollLeft;return r.left-=l,r.top-=s,r.pos=a,r},getOffset:n,getRange:r}}(e,t):j(e,t)},z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n;Y(t)&&(r=t,t=null);var o=q(r),a=W(e,o);return t||0===t?a.setPos(t):a.getPosition()},G=function(){function t(){e(this,t),this.listeners=new Map}return n(t,[{key:"addListener",value:function(e,t){this.listeners.has(e)||this.listeners.set(e,[]),this.listeners.get(e).push(t)}},{key:"removeListener",value:function(e,t){var n,r=this.listeners.get(e);return!!(r&&r.length&&(n=r.reduce((function(e,n,r){return"function"==typeof n&&n===t?e=r:e}),-1))>-1)&&(r.splice(n,1),this.listeners.set(e,r),!0)}},{key:"emitEvent",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r/g)>-1){var o=z(e.textEditor).pos;t.refresh(),z(e.textEditor,o)}}))}},{key:"refresh",value:function(){var e=this.textEditor.innerText;e=e.replace(new RegExp("\r?\n","g"),"
");var t=document.createElement("div");t.innerText=e,this.textEditor.innerHTML=t.innerText,this.textEditor.style.maxWidth="900px"}},{key:"notify",value:function(e,t){switch(e){case L:document.getElementById("submit-update").classList.add("icon-hide"),document.getElementById("submit-good").classList.remove("icon-hide"),document.getElementById("edit-update").classList.remove("submit-start"),document.getElementById("edit-update").classList.add("submit-cool"),setTimeout((function(){document.getElementById("submit-update").classList.remove("icon-hide"),document.getElementById("submit-good").classList.add("icon-hide"),document.getElementById("edit-update").classList.add("submit-start"),document.getElementById("edit-update").classList.remove("submit-cool")}),2e3);break;case"postAdded":break;case N:var n,r;z(this.textEditor,this.caretPos),(n=window.getSelection()).rangeCount&&((r=n.getRangeAt(0)).deleteContents(),r.insertNode(document.createTextNode("![image alt text]("+t+" 'image title')"))),this.refresh()}}},{key:"handleEditorOption",value:function(e){var t,n,r;if(e.preventDefault(),(t=window.getSelection()).rangeCount)switch(n=t.getRangeAt(0),r=t.getRangeAt(0).toString(),n.deleteContents(),e.target.id){case"edit-bold":n.insertNode(document.createTextNode("**"+r+"**"));break;case"edit-italic":n.insertNode(document.createTextNode("*"+r+"*"));break;case"edit-strikethrough":n.insertNode(document.createTextNode(""+r+""));break;case"edit-header1":n.insertNode(document.createTextNode("# "+r));break;case"edit-header2":n.insertNode(document.createTextNode("## "+r));break;case"edit-header3":n.insertNode(document.createTextNode("### "+r));break;case"edit-image":this.caretPos=z(this.textEditor).pos,this.emitEvent(N);break;case"submit-save":case"edit-save":this.emitEvent(R);break;case"submit-update":case"edit-update":this.emitEvent(U);break;case"edit-link":n.insertNode(document.createTextNode("["+r+"](PASTE URL HERE)"));break;case"edit-delete":this.emitEvent(O)}this.refresh()}}]),a}(G),V={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},J={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},Z=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],K={CSS:{},springs:{}};function ee(e,t,n){return Math.min(Math.max(e,t),n)}function te(e,t){return e.indexOf(t)>-1}function ne(e,t){return e.apply(null,t)}var re={arr:function(e){return Array.isArray(e)},obj:function(e){return te(Object.prototype.toString.call(e),"Object")},pth:function(e){return re.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||re.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},nil:function(e){return re.und(e)||null===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return re.hex(e)||re.rgb(e)||re.hsl(e)},key:function(e){return!V.hasOwnProperty(e)&&!J.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function oe(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function ae(e,t){var n=oe(e),r=ee(re.und(n[0])?1:n[0],.1,100),o=ee(re.und(n[1])?100:n[1],.1,100),a=ee(re.und(n[2])?10:n[2],.1,100),i=ee(re.und(n[3])?0:n[3],.1,100),s=Math.sqrt(o/r),l=a/(2*Math.sqrt(o*r)),u=l<1?s*Math.sqrt(1-l*l):0,c=l<1?(l*s-i)/u:-i+s;function d(e){var n=t?t*e/1e3:e;return n=l<1?Math.exp(-n*l*s)*(1*Math.cos(u*n)+c*Math.sin(u*n)):(1+c*n)*Math.exp(-n*s),0===e||1===e?e:1-n}return t?d:function(){var t=K.springs[e];if(t)return t;for(var n=1/6,r=0,o=0;;)if(1===d(r+=n)){if(++o>=16)break}else o=0;var a=r*n*1e3;return K.springs[e]=a,a}}function ie(e){return void 0===e&&(e=10),function(t){return Math.ceil(ee(t,1e-6,1)*e)*(1/e)}}var se,le,ue=function(){var e=.1;function t(e,t){return 1-3*t+3*e}function n(e,t){return 3*t-6*e}function r(e){return 3*e}function o(e,o,a){return((t(o,a)*e+n(o,a))*e+r(o))*e}function a(e,o,a){return 3*t(o,a)*e*e+2*n(o,a)*e+r(o)}return function(t,n,r,i){if(0<=t&&t<=1&&0<=r&&r<=1){var s=new Float32Array(11);if(t!==n||r!==i)for(var l=0;l<11;++l)s[l]=o(l*e,t,r);return function(e){return t===n&&r===i||0===e||1===e?e:o(u(e),n,i)}}function u(n){for(var i=0,l=1;10!==l&&s[l]<=n;++l)i+=e;--l;var u=i+(n-s[l])/(s[l+1]-s[l])*e,c=a(u,t,r);return c>=.001?function(e,t,n,r){for(var i=0;i<4;++i){var s=a(t,n,r);if(0===s)return t;t-=(o(t,n,r)-e)/s}return t}(n,u,t,r):0===c?u:function(e,t,n,r,a){var i,s,l=0;do{(i=o(s=t+(n-t)/2,r,a)-e)>0?n=s:t=s}while(Math.abs(i)>1e-7&&++l<10);return s}(n,i,i+e,t,r)}}}(),ce=(se={linear:function(){return function(e){return e}}},le={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var n=ee(e,1,10),r=ee(t,.1,2);return function(e){return 0===e||1===e?e:-n*Math.pow(2,10*(e-1))*Math.sin((e-1-r/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/r)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,t){le[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(le).forEach((function(e){var t=le[e];se["easeIn"+e]=t,se["easeOut"+e]=function(e,n){return function(r){return 1-t(e,n)(1-r)}},se["easeInOut"+e]=function(e,n){return function(r){return r<.5?t(e,n)(2*r)/2:1-t(e,n)(-2*r+2)/2}},se["easeOutIn"+e]=function(e,n){return function(r){return r<.5?(1-t(e,n)(1-2*r))/2:(t(e,n)(2*r-1)+1)/2}}})),se);function de(e,t){if(re.fnc(e))return e;var n=e.split("(")[0],r=ce[n],o=oe(e);switch(n){case"spring":return ae(e,t);case"cubicBezier":return ne(ue,o);case"steps":return ne(ie,o);default:return ne(r,o)}}function fe(e){try{return document.querySelectorAll(e)}catch(e){return}}function he(e,t){for(var n=e.length,r=arguments.length>=2?t:void 0,o=[],a=0;a1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(0==i)t=n=r=s;else{var c=s<.5?s*(1+i):s+i-s*i,d=2*s-c;t=u(d,c,a+1/3),n=u(d,c,a),r=u(d,c,a-1/3)}return"rgba("+255*t+","+255*n+","+255*r+","+l+")"}(e):void 0;var t,n}function Ee(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function Ie(e,t){return re.fnc(e)?e(t.target,t.id,t.total):e}function ke(e,t){return e.getAttribute(t)}function Se(e,t,n){if(me([n,"deg","rad","turn"],Ee(t)))return t;var r=K.CSS[t+n];if(!re.und(r))return r;var o=document.createElement(e.tagName),a=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;a.appendChild(o),o.style.position="absolute",o.style.width=100+n;var i=100/o.offsetWidth;a.removeChild(o);var s=i*parseFloat(t);return K.CSS[t+n]=s,s}function Te(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?Se(e,o,n):o}}function De(e,t){return re.dom(e)&&!re.inp(e)&&(!re.nil(ke(e,t))||re.svg(e)&&e[t])?"attribute":re.dom(e)&&me(Z,t)?"transform":re.dom(e)&&"transform"!==t&&Te(e,t)?"css":null!=e[t]?"object":void 0}function Pe(e){if(re.dom(e)){for(var t,n=e.style.transform||"",r=/(\w+)\(([^)]*)\)/g,o=new Map;t=r.exec(n);)o.set(t[1],t[2]);return o}}function xe(e,t,n,r){var o=te(t,"scale")?1:0+function(e){return te(e,"translate")||"perspective"===e?"px":te(e,"rotate")||te(e,"skew")?"deg":void 0}(t),a=Pe(e).get(t)||o;return n&&(n.transforms.list.set(t,a),n.transforms.last=t),r?Se(e,a,r):a}function Be(e,t,n,r){switch(De(e,t)){case"transform":return xe(e,t,r,n);case"css":return Te(e,t,n);case"attribute":return ke(e,t);default:return e[t]||0}}function _e(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=Ee(e)||0,o=parseFloat(t),a=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return o+a+r;case"-":return o-a+r;case"*":return o*a+r}}function Ae(e,t){if(re.col(e))return we(e);if(/\s/g.test(e))return e;var n=Ee(e),r=n?e.substr(0,e.length-n.length):e;return t?r+t:r}function Le(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Ce(e){for(var t,n=e.points,r=0,o=0;o0&&(r+=Le(t,a)),t=a}return r}function Me(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*ke(e,"r")}(e);case"rect":return function(e){return 2*ke(e,"width")+2*ke(e,"height")}(e);case"line":return function(e){return Le({x:ke(e,"x1"),y:ke(e,"y1")},{x:ke(e,"x2"),y:ke(e,"y2")})}(e);case"polyline":return Ce(e);case"polygon":return function(e){var t=e.points;return Ce(e)+Le(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function Oe(e,t){var n=t||{},r=n.el||function(e){for(var t=e.parentNode;re.svg(t)&&re.svg(t.parentNode);)t=t.parentNode;return t}(e),o=r.getBoundingClientRect(),a=ke(r,"viewBox"),i=o.width,s=o.height,l=n.viewBox||(a?a.split(" "):[0,0,i,s]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:i,h:s,vW:l[2],vH:l[3]}}function Ne(e,t,n){function r(n){void 0===n&&(n=0);var r=t+n>=1?t+n:0;return e.el.getPointAtLength(r)}var o=Oe(e.el,e.svg),a=r(),i=r(-1),s=r(1),l=n?1:o.w/o.vW,u=n?1:o.h/o.vH;switch(e.property){case"x":return(a.x-o.x)*l;case"y":return(a.y-o.y)*u;case"angle":return 180*Math.atan2(s.y-i.y,s.x-i.x)/Math.PI}}function Re(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=Ae(re.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:re.str(e)||t?r.split(n):[]}}function Ue(e){return he(e?pe(re.arr(e)?e.map(ge):ge(e)):[],(function(e,t,n){return n.indexOf(e)===t}))}function He(e){var t=Ue(e);return t.map((function(e,n){return{target:e,id:n,total:t.length,transforms:{list:Pe(e)}}}))}function Fe(e,t){var n=ve(t);if(/^spring/.test(n.easing)&&(n.duration=ae(n.easing)),re.arr(e)){var r=e.length;2===r&&!re.obj(e[0])?e={value:e}:re.fnc(t.duration)||(n.duration=t.duration/r)}var o=re.arr(e)?e:[e];return o.map((function(e,n){var r=re.obj(e)&&!re.pth(e)?e:{value:e};return re.und(r.delay)&&(r.delay=n?0:t.delay),re.und(r.endDelay)&&(r.endDelay=n===o.length-1?t.endDelay:0),r})).map((function(e){return be(e,n)}))}function Xe(e,t){var n=[],r=t.keyframes;for(var o in r&&(t=be(function(e){for(var t=he(pe(e.map((function(e){return Object.keys(e)}))),(function(e){return re.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),n={},r=function(r){var o=t[r];n[o]=e.map((function(e){var t={};for(var n in e)re.key(n)?n==o&&(t.value=e[n]):t[n]=e[n];return t}))},o=0;o0?requestAnimationFrame(t):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){$e.suspendWhenDocumentHidden&&(Je()?e=cancelAnimationFrame(e):(Qe.forEach((function(e){return e._onDocumentVisibility()})),Ve()))})),function(){e||Je()&&$e.suspendWhenDocumentHidden||!(Qe.length>0)||(e=requestAnimationFrame(t))}}();function Je(){return!!document&&document.hidden}function $e(e){void 0===e&&(e={});var t,n=0,r=0,o=0,a=0,i=null;function s(e){var t=window.Promise&&new Promise((function(e){return i=e}));return e.finished=t,t}var l=function(e){var t=ye(V,e),n=ye(J,e),r=Xe(n,e),o=He(e.targets),a=We(o,r),i=ze(a,n),s=Ge;return Ge++,be(t,{id:s,children:[],animatables:o,animations:a,duration:i.duration,delay:i.delay,endDelay:i.endDelay})}(e);function u(){var e=l.direction;"alternate"!==e&&(l.direction="normal"!==e?"normal":"reverse"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function c(e){return l.reversed?l.duration-e:e}function d(){n=0,r=c(l.currentTime)*(1/$e.speed)}function f(e,t){t&&t.seek(e-t.timelineOffset)}function h(e){for(var t=0,n=l.animations,r=n.length;t2||(y=Math.round(y*h)/h)),p.push(y)}var E=f.length;if(E){m=f[0];for(var I=0;I0&&(l.began=!0,p("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,p("loopBegin")),v<=g&&0!==l.currentTime&&h(0),(v>=m&&l.currentTime!==d||!d)&&h(d),v>g&&v=d&&(r=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(n=o,p("loopComplete"),l.loopBegan=!1,"alternate"===l.direction&&u()):(l.paused=!0,l.completed||(l.completed=!0,p("loopComplete"),p("complete"),!l.passThrough&&"Promise"in window&&(i(),s(l)))))}return s(l),l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed="reverse"===e,l.remaining=l.loop,t=l.children;for(var n=a=t.length;n--;)l.children[n].reset();(l.reversed&&!0!==l.loop||"alternate"===e&&1===l.loop)&&l.remaining++,h(l.reversed?l.duration:0)},l._onDocumentVisibility=d,l.set=function(e,t){return je(e,t),l},l.tick=function(e){o=e,n||(n=o),g((o+(r-n))*$e.speed)},l.seek=function(e){g(c(e))},l.pause=function(){l.paused=!0,d()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Qe.push(l),d(),Ve())},l.reverse=function(){u(),l.completed=!l.reversed,d()},l.restart=function(){l.reset(),l.play()},l.remove=function(e){Ke(Ue(e),l)},l.reset(),l.autoplay&&l.play(),l}function Ze(e,t){for(var n=t.length;n--;)me(e,t[n].animatable.target)&&t.splice(n,1)}function Ke(e,t){var n=t.animations,r=t.children;Ze(e,n);for(var o=r.length;o--;){var a=r[o],i=a.animations;Ze(e,i),i.length||a.children.length||r.splice(o,1)}n.length||r.length||t.pause()}$e.version="3.2.1",$e.speed=1,$e.suspendWhenDocumentHidden=!0,$e.running=Qe,$e.remove=function(e){for(var t=Ue(e),n=Qe.length;n--;){Ke(t,Qe[n])}},$e.get=Be,$e.set=je,$e.convertPx=Se,$e.path=function(e,t){var n=re.str(e)?fe(e)[0]:e,r=t||100;return function(e){return{property:e,el:n,svg:Oe(n),totalLength:Me(n)*(r/100)}}},$e.setDashoffset=function(e){var t=Me(e);return e.setAttribute("stroke-dasharray",t),t},$e.stagger=function(e,t){void 0===t&&(t={});var n=t.direction||"normal",r=t.easing?de(t.easing):null,o=t.grid,a=t.axis,i=t.from||0,s="first"===i,l="center"===i,u="last"===i,c=re.arr(e),d=c?parseFloat(e[0]):parseFloat(e),f=c?parseFloat(e[1]):0,h=Ee(c?e[1]:e)||0,p=t.start||0+(c?d:0),g=[],m=0;return function(e,t,v){if(s&&(i=0),l&&(i=(v-1)/2),u&&(i=v-1),!g.length){for(var y=0;y-1&&Qe.splice(o,1);for(var s=0;s'].join(""),document.getElementById("featured-image-drop").innerHTML="",document.getElementById("featured-image-drop").appendChild(n)}}(n),o.readAsDataURL(n)}}}},{key:"handleImageUpload",value:function(e,t){var n=this;st.alert("Uploading Image",null),(new B).imageUpload(e,t).then((function(e){"postImageAdded"==e.type&&n.editor.notify(N,e.url),st.alert("Image Added to Entry",!0)})).catch((function(){st.alert("Uh oh. Image not added",!1)}))}}]),t}();lt.uploadFiles=[];var ut=function(){function t(n){e(this,t),this.currentPage=null,this.choosePage(n),this.start()}return n(t,[{key:"start",value:function(){}},{key:"choosePage",value:function(e){switch(this.currentPage="",e){case"edit":case"add":this.currentPage=new lt}}}]),t}(),ct=function(){function t(){e(this,t)}return n(t,[{key:"getInfo",value:function(){var e,t,n=document.getElementById("settings-handle").value,r=document.getElementById("settings-email").value,o=document.getElementById("settings-url").value,a=document.getElementById("settings-title").value,i=document.getElementById("settings-desc").value,s=document.getElementById("render-toggle").getAttribute("data-render"),l=document.getElementById("background").src,u="",c=document.querySelectorAll(".theme-select"),d=document.getElementById("smtp-domain").value,f=document.getElementById("smtp-email").value,h=document.getElementById("smtp-pass").value,p=document.getElementById("mg-domain").value,g=document.getElementById("mg-key").value,m="",v=document.querySelectorAll(".mail-option"),y=document.getElementById("api-access-toggle").getAttribute("data-enabled"),b=document.getElementById("dynamic-render-toggle").getAttribute("data-enabled");for(e=0,t=c.length;e * @author owenm * @license MIT */ -function mt(e){return mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mt(e)}function vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yt(){return yt=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Et(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var It=Et(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),kt=Et(/Edge/i),St=Et(/firefox/i),Tt=Et(/safari/i)&&!Et(/chrome/i)&&!Et(/android/i),Dt=Et(/iP(ad|od|hone)/i),Pt=Et(/chrome/i)&&Et(/android/i),xt={capture:!1,passive:!1};function Bt(e,t,n){e.addEventListener(t,n,!It&&xt)}function _t(e,t,n){e.removeEventListener(t,n,!It&&xt)}function At(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function Lt(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Ct(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&At(e,t):At(e,t))||r&&e===n)return e;if(e===n)break}while(e=Lt(e))}return null}var Mt,Ot=/\s+/g;function Nt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Ot," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Ot," ")}}function Rt(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function Ut(e,t){var n="";if("string"==typeof e)n=e;else do{var r=Rt(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function Ht(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o=i:o<=i))return r;if(r===Ft())break;r=Gt(r,!1)}return!1}function Yt(e,t,n){for(var r=0,o=0,i=e.children;o2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=wt(n,["evt"]);nn.pluginEvent.bind(Jn)(e,t,bt({dragEl:an,parentEl:sn,ghostEl:ln,rootEl:un,nextEl:cn,lastDownEl:dn,cloneEl:fn,cloneHidden:hn,dragStarted:Dn,putSortable:bn,activeSortable:Jn.active,originalEvent:r,oldIndex:pn,oldDraggableIndex:mn,newIndex:gn,newDraggableIndex:vn,hideGhostForTarget:zn,unhideGhostForTarget:Gn,cloneNowHidden:function(){hn=!0},cloneNowShown:function(){hn=!1},dispatchSortableEvent:function(e){on({sortable:t,name:e,originalEvent:r})}},o))};function on(e){!function(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,i=e.cloneEl,a=e.toEl,s=e.fromEl,l=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[Zt]){var g,m=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||It||kt?(g=document.createEvent("Event")).initEvent(r,!0,!0):g=new CustomEvent(r,{bubbles:!0,cancelable:!0}),g.to=a||n,g.from=s||n,g.item=o||n,g.clone=i,g.oldIndex=l,g.newIndex=u,g.oldDraggableIndex=c,g.newDraggableIndex=d,g.originalEvent=f,g.pullMode=h?h.lastPutMode:void 0;var y=bt({},p,nn.getEventProperties(r,t));for(var b in y)g[b]=y[b];n&&n.dispatchEvent(g),m[v]&&m[v].call(t,g)}}(bt({putSortable:bn,cloneEl:fn,targetEl:an,rootEl:un,oldIndex:pn,oldDraggableIndex:mn,newIndex:gn,newDraggableIndex:vn},e))}var an,sn,ln,un,cn,dn,fn,hn,pn,gn,mn,vn,yn,bn,wn,En,In,kn,Sn,Tn,Dn,Pn,xn,Bn,_n,An=!1,Ln=!1,Cn=[],Mn=!1,On=!1,Nn=[],Rn=!1,Un=[],Hn="undefined"!=typeof document,Fn=Dt,Xn=kt||It?"cssFloat":"float",qn=Hn&&!Pt&&!Dt&&"draggable"in document.createElement("div"),Yn=function(){if(Hn){if(It)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),jn=function(e,t){var n=Rt(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=Yt(e,0,t),i=Yt(e,1,t),a=o&&Rt(o),s=i&&Rt(i),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Xt(o).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Xt(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&"none"!==a.float){var c="left"===a.float?"left":"right";return!i||"both"!==s.clear&&s.clear!==c?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[Xn]||i&&"none"===n[Xn]&&l+u>r)?"vertical":"horizontal"},Wn=function(e){function t(e,n){return function(r,o,i,a){var s=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,o,i,a),n)(r,o,i,a);var l=(n?r:o).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==mt(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},zn=function(){!Yn&&ln&&Rt(ln,"display","none")},Gn=function(){!Yn&&ln&&Rt(ln,"display","")};Hn&&document.addEventListener("click",(function(e){if(Ln)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Ln=!1,!1}),!0);var Qn=function(e){if(an){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,i=e.clientY,Cn.some((function(e){if(!jt(e)){var t=Xt(e),n=e[Zt].options.emptyInsertThreshold,r=o>=t.left-n&&o<=t.right+n,s=i>=t.top-n&&i<=t.bottom+n;return n&&r&&s?a=e:void 0}})),a);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Zt]._onDragOver(n)}}var o,i,a},Vn=function(e){an&&an.parentNode[Zt]._isOutsideThisEl(e.target)};function Jn(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=yt({},t),e[Zt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return jn(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Jn.supportPointer&&"PointerEvent"in window&&!Tt,emptyInsertThreshold:5};for(var r in nn.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in Wn(t),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&qn,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Bt(e,"pointerdown",this._onTapStart):(Bt(e,"mousedown",this._onTapStart),Bt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Bt(e,"dragover",this),Bt(e,"dragenter",this)),Cn.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),yt(this,Kt())}function $n(e,t,n,r,o,i,a,s){var l,u,c=e[Zt],d=c.options.onMove;return!window.CustomEvent||It||kt?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=i||Xt(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(u=d.call(c,l,a)),u}function Zn(e){e.draggable=!1}function Kn(){Rn=!1}function er(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function tr(e){return setTimeout(e,0)}function nr(e){return clearTimeout(e)}Jn.prototype={constructor:Jn,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Pn=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,an):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,i=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=r.filter;if(function(e){Un.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&Un.push(r)}}(n),!an&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!Tt||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=Ct(s,r.draggable,n,!1))&&s.animated||dn===s)){if(pn=Wt(s),mn=Wt(s,r.draggable),"function"==typeof u){if(u.call(this,e,s,this))return on({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),rn("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(r){if(r=Ct(l,r.trim(),n,!1))return on({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),rn("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!Ct(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,o=this,i=o.el,a=o.options,s=i.ownerDocument;if(n&&!an&&n.parentNode===i){var l=Xt(n);if(un=i,sn=(an=n).parentNode,cn=an.nextSibling,dn=n,yn=a.group,Jn.dragged=an,wn={target:an,clientX:(t||e).clientX,clientY:(t||e).clientY},Sn=wn.clientX-l.left,Tn=wn.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,an.style["will-change"]="all",r=function(){rn("delayEnded",o,{evt:e}),Jn.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!St&&o.nativeDraggable&&(an.draggable=!0),o._triggerDragStart(e,t),on({sortable:o,name:"choose",originalEvent:e}),Nt(an,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){Ht(an,e.trim(),Zn)})),Bt(s,"dragover",Qn),Bt(s,"mousemove",Qn),Bt(s,"touchmove",Qn),Bt(s,"mouseup",o._onDrop),Bt(s,"touchend",o._onDrop),Bt(s,"touchcancel",o._onDrop),St&&this.nativeDraggable&&(this.options.touchStartThreshold=4,an.draggable=!0),rn("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(kt||It))r();else{if(Jn.eventCanceled)return void this._onDrop();Bt(s,"mouseup",o._disableDelayedDrag),Bt(s,"touchend",o._disableDelayedDrag),Bt(s,"touchcancel",o._disableDelayedDrag),Bt(s,"mousemove",o._delayedDragTouchMoveHandler),Bt(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&Bt(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){an&&Zn(an),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;_t(e,"mouseup",this._disableDelayedDrag),_t(e,"touchend",this._disableDelayedDrag),_t(e,"touchcancel",this._disableDelayedDrag),_t(e,"mousemove",this._delayedDragTouchMoveHandler),_t(e,"touchmove",this._delayedDragTouchMoveHandler),_t(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Bt(document,"pointermove",this._onTouchMove):Bt(document,t?"touchmove":"mousemove",this._onTouchMove):(Bt(an,"dragend",this),Bt(un,"dragstart",this._onDragStart));try{document.selection?tr((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(An=!1,un&&an){rn("dragStarted",this,{evt:t}),this.nativeDraggable&&Bt(document,"dragover",Vn);var n=this.options;!e&&Nt(an,n.dragClass,!1),Nt(an,n.ghostClass,!0),Jn.active=this,e&&this._appendGhost(),on({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(En){this._lastX=En.clientX,this._lastY=En.clientY,zn();for(var e=document.elementFromPoint(En.clientX,En.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(En.clientX,En.clientY))!==t;)t=e;if(an.parentNode[Zt]._isOutsideThisEl(e),t)do{if(t[Zt]){if(t[Zt]._onDragOver({clientX:En.clientX,clientY:En.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Gn()}},_onTouchMove:function(e){if(wn){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=ln&&Ut(ln,!0),a=ln&&i&&i.a,s=ln&&i&&i.d,l=Fn&&_n&&zt(_n),u=(o.clientX-wn.clientX+r.x)/(a||1)+(l?l[0]-Nn[0]:0)/(a||1),c=(o.clientY-wn.clientY+r.y)/(s||1)+(l?l[1]-Nn[1]:0)/(s||1);if(!Jn.active&&!An){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}(e,o,this)&&!g.animated){if(g===an)return _(!1);if(g&&i===e.target&&(a=g),a&&(n=Xt(a)),!1!==$n(un,i,an,t,a,n,e,!!a))return B(),i.appendChild(an),sn=i,A(),_(!0)}else if(a.parentNode===i){n=Xt(a);var m,v,y,b=an.parentNode!==i,w=!function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,i=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||o===s||r+i/2===a+l/2}(an.animated&&an.toRect||t,a.animated&&a.toRect||n,o),E=o?"top":"left",I=qt(a,"top","top")||qt(an,"top","top"),k=I?I.scrollTop:void 0;if(Pn!==a&&(v=n[E],Mn=!1,On=!w&&s.invertSwap||b),m=function(e,t,n,r,o,i,a,s){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!a)if(s&&Bnc+u*i/2:ld-Bn)return-xn}else if(l>c+u*(1-o)/2&&ld-u*i/2))return l>c+u/2?1:-1;return 0}(e,a,n,o,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,On,Pn===a),0!==m){var S=Wt(an);do{S-=m,y=sn.children[S]}while(y&&("none"===Rt(y,"display")||y===ln))}if(0===m||y===a)return _(!1);Pn=a,xn=m;var T=a.nextElementSibling,D=!1,P=$n(un,i,an,t,a,n,e,D=1===m);if(!1!==P)return 1!==P&&-1!==P||(D=1===P),Rn=!0,setTimeout(Kn,30),B(),D&&!T?i.appendChild(an):a.parentNode.insertBefore(an,D?T:a),I&&Jt(I,0,k-I.scrollTop),sn=an.parentNode,void 0===v||On||(Bn=Math.abs(v-Xt(a)[E])),A(),_(!0)}if(i.contains(an))return _(!1)}return!1}function x(s,l){rn(s,h,bt({evt:e,isOwner:c,axis:o?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:a,completed:_,onMove:function(n,r){return $n(un,i,an,t,n,Xt(n),e,r)},changed:A},l))}function B(){x("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function _(t){return x("dragOverCompleted",{insertion:t}),t&&(c?u._hideClone():u._showClone(h),h!==f&&(Nt(an,bn?bn.options.ghostClass:u.options.ghostClass,!1),Nt(an,s.ghostClass,!0)),bn!==h&&h!==Jn.active?bn=h:h===Jn.active&&bn&&(bn=null),f===h&&(h._ignoreWhileAnimating=a),h.animateAll((function(){x("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===an&&!an.animated||a===i&&!a.animated)&&(Pn=null),s.dragoverBubble||e.rootEl||a===document||(an.parentNode[Zt]._isOutsideThisEl(e.target),!t&&Qn(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function A(){gn=Wt(an),vn=Wt(an,s.draggable),on({sortable:h,name:"change",toEl:i,newIndex:gn,newDraggableIndex:vn,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){_t(document,"mousemove",this._onTouchMove),_t(document,"touchmove",this._onTouchMove),_t(document,"pointermove",this._onTouchMove),_t(document,"dragover",Qn),_t(document,"mousemove",Qn),_t(document,"touchmove",Qn)},_offUpEvents:function(){var e=this.el.ownerDocument;_t(e,"mouseup",this._onDrop),_t(e,"touchend",this._onDrop),_t(e,"pointerup",this._onDrop),_t(e,"touchcancel",this._onDrop),_t(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;gn=Wt(an),vn=Wt(an,n.draggable),rn("drop",this,{evt:e}),sn=an&&an.parentNode,gn=Wt(an),vn=Wt(an,n.draggable),Jn.eventCanceled||(An=!1,On=!1,Mn=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),nr(this.cloneId),nr(this._dragStartId),this.nativeDraggable&&(_t(document,"drop",this),_t(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Tt&&Rt(document.body,"user-select",""),Rt(an,"transform",""),e&&(Dn&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),ln&&ln.parentNode&&ln.parentNode.removeChild(ln),(un===sn||bn&&"clone"!==bn.lastPutMode)&&fn&&fn.parentNode&&fn.parentNode.removeChild(fn),an&&(this.nativeDraggable&&_t(an,"dragend",this),Zn(an),an.style["will-change"]="",Dn&&!An&&Nt(an,bn?bn.options.ghostClass:this.options.ghostClass,!1),Nt(an,this.options.chosenClass,!1),on({sortable:this,name:"unchoose",toEl:sn,newIndex:null,newDraggableIndex:null,originalEvent:e}),un!==sn?(gn>=0&&(on({rootEl:sn,name:"add",toEl:sn,fromEl:un,originalEvent:e}),on({sortable:this,name:"remove",toEl:sn,originalEvent:e}),on({rootEl:sn,name:"sort",toEl:sn,fromEl:un,originalEvent:e}),on({sortable:this,name:"sort",toEl:sn,originalEvent:e})),bn&&bn.save()):gn!==pn&&gn>=0&&(on({sortable:this,name:"update",toEl:sn,originalEvent:e}),on({sortable:this,name:"sort",toEl:sn,originalEvent:e})),Jn.active&&(null!=gn&&-1!==gn||(gn=pn,vn=mn),on({sortable:this,name:"end",toEl:sn,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){rn("nulling",this),un=an=sn=ln=cn=fn=dn=hn=wn=En=Dn=gn=vn=pn=mn=Pn=xn=bn=yn=Jn.dragged=Jn.ghost=Jn.clone=Jn.active=null,Un.forEach((function(e){e.checked=!0})),Un.length=In=kn=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":an&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,o=n.length,i=this.options;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Et(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var It=Et(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),kt=Et(/Edge/i),St=Et(/firefox/i),Tt=Et(/safari/i)&&!Et(/chrome/i)&&!Et(/android/i),Dt=Et(/iP(ad|od|hone)/i),Pt=Et(/chrome/i)&&Et(/android/i),xt={capture:!1,passive:!1};function Bt(e,t,n){e.addEventListener(t,n,!It&&xt)}function _t(e,t,n){e.removeEventListener(t,n,!It&&xt)}function At(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function Lt(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Ct(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&At(e,t):At(e,t))||r&&e===n)return e;if(e===n)break}while(e=Lt(e))}return null}var Mt,Ot=/\s+/g;function Nt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Ot," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Ot," ")}}function Rt(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function Ut(e,t){var n="";if("string"==typeof e)n=e;else do{var r=Rt(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function Ht(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,a=r.length;if(n)for(;o=a:o<=a))return r;if(r===Ft())break;r=Gt(r,!1)}return!1}function Yt(e,t,n){for(var r=0,o=0,a=e.children;o2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=wt(n,["evt"]);nn.pluginEvent.bind(Jn)(e,t,bt({dragEl:an,parentEl:sn,ghostEl:ln,rootEl:un,nextEl:cn,lastDownEl:dn,cloneEl:fn,cloneHidden:hn,dragStarted:Dn,putSortable:bn,activeSortable:Jn.active,originalEvent:r,oldIndex:pn,oldDraggableIndex:mn,newIndex:gn,newDraggableIndex:vn,hideGhostForTarget:zn,unhideGhostForTarget:Gn,cloneNowHidden:function(){hn=!0},cloneNowShown:function(){hn=!1},dispatchSortableEvent:function(e){on({sortable:t,name:e,originalEvent:r})}},o))};function on(e){!function(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,a=e.cloneEl,i=e.toEl,s=e.fromEl,l=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[Zt]){var g,m=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||It||kt?(g=document.createEvent("Event")).initEvent(r,!0,!0):g=new CustomEvent(r,{bubbles:!0,cancelable:!0}),g.to=i||n,g.from=s||n,g.item=o||n,g.clone=a,g.oldIndex=l,g.newIndex=u,g.oldDraggableIndex=c,g.newDraggableIndex=d,g.originalEvent=f,g.pullMode=h?h.lastPutMode:void 0;var y=bt({},p,nn.getEventProperties(r,t));for(var b in y)g[b]=y[b];n&&n.dispatchEvent(g),m[v]&&m[v].call(t,g)}}(bt({putSortable:bn,cloneEl:fn,targetEl:an,rootEl:un,oldIndex:pn,oldDraggableIndex:mn,newIndex:gn,newDraggableIndex:vn},e))}var an,sn,ln,un,cn,dn,fn,hn,pn,gn,mn,vn,yn,bn,wn,En,In,kn,Sn,Tn,Dn,Pn,xn,Bn,_n,An=!1,Ln=!1,Cn=[],Mn=!1,On=!1,Nn=[],Rn=!1,Un=[],Hn="undefined"!=typeof document,Fn=Dt,Xn=kt||It?"cssFloat":"float",qn=Hn&&!Pt&&!Dt&&"draggable"in document.createElement("div"),Yn=function(){if(Hn){if(It)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),jn=function(e,t){var n=Rt(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=Yt(e,0,t),a=Yt(e,1,t),i=o&&Rt(o),s=a&&Rt(a),l=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+Xt(o).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Xt(a).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&i.float&&"none"!==i.float){var c="left"===i.float?"left":"right";return!a||"both"!==s.clear&&s.clear!==c?"horizontal":"vertical"}return o&&("block"===i.display||"flex"===i.display||"table"===i.display||"grid"===i.display||l>=r&&"none"===n[Xn]||a&&"none"===n[Xn]&&l+u>r)?"vertical":"horizontal"},Wn=function(e){function t(e,n){return function(r,o,a,i){var s=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,o,a,i),n)(r,o,a,i);var l=(n?r:o).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==mt(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},zn=function(){!Yn&&ln&&Rt(ln,"display","none")},Gn=function(){!Yn&&ln&&Rt(ln,"display","")};Hn&&document.addEventListener("click",(function(e){if(Ln)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Ln=!1,!1}),!0);var Qn=function(e){if(an){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,a=e.clientY,Cn.some((function(e){if(!jt(e)){var t=Xt(e),n=e[Zt].options.emptyInsertThreshold,r=o>=t.left-n&&o<=t.right+n,s=a>=t.top-n&&a<=t.bottom+n;return n&&r&&s?i=e:void 0}})),i);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Zt]._onDragOver(n)}}var o,a,i},Vn=function(e){an&&an.parentNode[Zt]._isOutsideThisEl(e.target)};function Jn(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=yt({},t),e[Zt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return jn(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Jn.supportPointer&&"PointerEvent"in window&&!Tt,emptyInsertThreshold:5};for(var r in nn.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in Wn(t),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&qn,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Bt(e,"pointerdown",this._onTapStart):(Bt(e,"mousedown",this._onTapStart),Bt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Bt(e,"dragover",this),Bt(e,"dragenter",this)),Cn.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),yt(this,Kt())}function $n(e,t,n,r,o,a,i,s){var l,u,c=e[Zt],d=c.options.onMove;return!window.CustomEvent||It||kt?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=a||Xt(t),l.willInsertAfter=s,l.originalEvent=i,e.dispatchEvent(l),d&&(u=d.call(c,l,i)),u}function Zn(e){e.draggable=!1}function Kn(){Rn=!1}function er(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function tr(e){return setTimeout(e,0)}function nr(e){return clearTimeout(e)}Jn.prototype={constructor:Jn,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Pn=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,an):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,a=e.type,i=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(i||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=r.filter;if(function(e){Un.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&Un.push(r)}}(n),!an&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!Tt||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=Ct(s,r.draggable,n,!1))&&s.animated||dn===s)){if(pn=Wt(s),mn=Wt(s,r.draggable),"function"==typeof u){if(u.call(this,e,s,this))return on({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),rn("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(r){if(r=Ct(l,r.trim(),n,!1))return on({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),rn("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!Ct(l,r.handle,n,!1)||this._prepareDragStart(e,i,s)}}},_prepareDragStart:function(e,t,n){var r,o=this,a=o.el,i=o.options,s=a.ownerDocument;if(n&&!an&&n.parentNode===a){var l=Xt(n);if(un=a,sn=(an=n).parentNode,cn=an.nextSibling,dn=n,yn=i.group,Jn.dragged=an,wn={target:an,clientX:(t||e).clientX,clientY:(t||e).clientY},Sn=wn.clientX-l.left,Tn=wn.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,an.style["will-change"]="all",r=function(){rn("delayEnded",o,{evt:e}),Jn.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!St&&o.nativeDraggable&&(an.draggable=!0),o._triggerDragStart(e,t),on({sortable:o,name:"choose",originalEvent:e}),Nt(an,i.chosenClass,!0))},i.ignore.split(",").forEach((function(e){Ht(an,e.trim(),Zn)})),Bt(s,"dragover",Qn),Bt(s,"mousemove",Qn),Bt(s,"touchmove",Qn),Bt(s,"mouseup",o._onDrop),Bt(s,"touchend",o._onDrop),Bt(s,"touchcancel",o._onDrop),St&&this.nativeDraggable&&(this.options.touchStartThreshold=4,an.draggable=!0),rn("delayStart",this,{evt:e}),!i.delay||i.delayOnTouchOnly&&!t||this.nativeDraggable&&(kt||It))r();else{if(Jn.eventCanceled)return void this._onDrop();Bt(s,"mouseup",o._disableDelayedDrag),Bt(s,"touchend",o._disableDelayedDrag),Bt(s,"touchcancel",o._disableDelayedDrag),Bt(s,"mousemove",o._delayedDragTouchMoveHandler),Bt(s,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&Bt(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,i.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){an&&Zn(an),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;_t(e,"mouseup",this._disableDelayedDrag),_t(e,"touchend",this._disableDelayedDrag),_t(e,"touchcancel",this._disableDelayedDrag),_t(e,"mousemove",this._delayedDragTouchMoveHandler),_t(e,"touchmove",this._delayedDragTouchMoveHandler),_t(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Bt(document,"pointermove",this._onTouchMove):Bt(document,t?"touchmove":"mousemove",this._onTouchMove):(Bt(an,"dragend",this),Bt(un,"dragstart",this._onDragStart));try{document.selection?tr((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(An=!1,un&&an){rn("dragStarted",this,{evt:t}),this.nativeDraggable&&Bt(document,"dragover",Vn);var n=this.options;!e&&Nt(an,n.dragClass,!1),Nt(an,n.ghostClass,!0),Jn.active=this,e&&this._appendGhost(),on({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(En){this._lastX=En.clientX,this._lastY=En.clientY,zn();for(var e=document.elementFromPoint(En.clientX,En.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(En.clientX,En.clientY))!==t;)t=e;if(an.parentNode[Zt]._isOutsideThisEl(e),t)do{if(t[Zt]){if(t[Zt]._onDragOver({clientX:En.clientX,clientY:En.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Gn()}},_onTouchMove:function(e){if(wn){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,a=ln&&Ut(ln,!0),i=ln&&a&&a.a,s=ln&&a&&a.d,l=Fn&&_n&&zt(_n),u=(o.clientX-wn.clientX+r.x)/(i||1)+(l?l[0]-Nn[0]:0)/(i||1),c=(o.clientY-wn.clientY+r.y)/(s||1)+(l?l[1]-Nn[1]:0)/(s||1);if(!Jn.active&&!An){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}(e,o,this)&&!g.animated){if(g===an)return _(!1);if(g&&a===e.target&&(i=g),i&&(n=Xt(i)),!1!==$n(un,a,an,t,i,n,e,!!i))return B(),a.appendChild(an),sn=a,A(),_(!0)}else if(i.parentNode===a){n=Xt(i);var m,v,y,b=an.parentNode!==a,w=!function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,a=n?e.width:e.height,i=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===i||o===s||r+a/2===i+l/2}(an.animated&&an.toRect||t,i.animated&&i.toRect||n,o),E=o?"top":"left",I=qt(i,"top","top")||qt(an,"top","top"),k=I?I.scrollTop:void 0;if(Pn!==i&&(v=n[E],Mn=!1,On=!w&&s.invertSwap||b),m=function(e,t,n,r,o,a,i,s){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!i)if(s&&Bnc+u*a/2:ld-Bn)return-xn}else if(l>c+u*(1-o)/2&&ld-u*a/2))return l>c+u/2?1:-1;return 0}(e,i,n,o,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,On,Pn===i),0!==m){var S=Wt(an);do{S-=m,y=sn.children[S]}while(y&&("none"===Rt(y,"display")||y===ln))}if(0===m||y===i)return _(!1);Pn=i,xn=m;var T=i.nextElementSibling,D=!1,P=$n(un,a,an,t,i,n,e,D=1===m);if(!1!==P)return 1!==P&&-1!==P||(D=1===P),Rn=!0,setTimeout(Kn,30),B(),D&&!T?a.appendChild(an):i.parentNode.insertBefore(an,D?T:i),I&&Jt(I,0,k-I.scrollTop),sn=an.parentNode,void 0===v||On||(Bn=Math.abs(v-Xt(i)[E])),A(),_(!0)}if(a.contains(an))return _(!1)}return!1}function x(s,l){rn(s,h,bt({evt:e,isOwner:c,axis:o?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:i,completed:_,onMove:function(n,r){return $n(un,a,an,t,n,Xt(n),e,r)},changed:A},l))}function B(){x("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function _(t){return x("dragOverCompleted",{insertion:t}),t&&(c?u._hideClone():u._showClone(h),h!==f&&(Nt(an,bn?bn.options.ghostClass:u.options.ghostClass,!1),Nt(an,s.ghostClass,!0)),bn!==h&&h!==Jn.active?bn=h:h===Jn.active&&bn&&(bn=null),f===h&&(h._ignoreWhileAnimating=i),h.animateAll((function(){x("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(i===an&&!an.animated||i===a&&!i.animated)&&(Pn=null),s.dragoverBubble||e.rootEl||i===document||(an.parentNode[Zt]._isOutsideThisEl(e.target),!t&&Qn(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function A(){gn=Wt(an),vn=Wt(an,s.draggable),on({sortable:h,name:"change",toEl:a,newIndex:gn,newDraggableIndex:vn,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){_t(document,"mousemove",this._onTouchMove),_t(document,"touchmove",this._onTouchMove),_t(document,"pointermove",this._onTouchMove),_t(document,"dragover",Qn),_t(document,"mousemove",Qn),_t(document,"touchmove",Qn)},_offUpEvents:function(){var e=this.el.ownerDocument;_t(e,"mouseup",this._onDrop),_t(e,"touchend",this._onDrop),_t(e,"pointerup",this._onDrop),_t(e,"touchcancel",this._onDrop),_t(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;gn=Wt(an),vn=Wt(an,n.draggable),rn("drop",this,{evt:e}),sn=an&&an.parentNode,gn=Wt(an),vn=Wt(an,n.draggable),Jn.eventCanceled||(An=!1,On=!1,Mn=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),nr(this.cloneId),nr(this._dragStartId),this.nativeDraggable&&(_t(document,"drop",this),_t(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Tt&&Rt(document.body,"user-select",""),Rt(an,"transform",""),e&&(Dn&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),ln&&ln.parentNode&&ln.parentNode.removeChild(ln),(un===sn||bn&&"clone"!==bn.lastPutMode)&&fn&&fn.parentNode&&fn.parentNode.removeChild(fn),an&&(this.nativeDraggable&&_t(an,"dragend",this),Zn(an),an.style["will-change"]="",Dn&&!An&&Nt(an,bn?bn.options.ghostClass:this.options.ghostClass,!1),Nt(an,this.options.chosenClass,!1),on({sortable:this,name:"unchoose",toEl:sn,newIndex:null,newDraggableIndex:null,originalEvent:e}),un!==sn?(gn>=0&&(on({rootEl:sn,name:"add",toEl:sn,fromEl:un,originalEvent:e}),on({sortable:this,name:"remove",toEl:sn,originalEvent:e}),on({rootEl:sn,name:"sort",toEl:sn,fromEl:un,originalEvent:e}),on({sortable:this,name:"sort",toEl:sn,originalEvent:e})),bn&&bn.save()):gn!==pn&&gn>=0&&(on({sortable:this,name:"update",toEl:sn,originalEvent:e}),on({sortable:this,name:"sort",toEl:sn,originalEvent:e})),Jn.active&&(null!=gn&&-1!==gn||(gn=pn,vn=mn),on({sortable:this,name:"end",toEl:sn,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){rn("nulling",this),un=an=sn=ln=cn=fn=dn=hn=wn=En=Dn=gn=vn=pn=mn=Pn=xn=bn=yn=Jn.dragged=Jn.ghost=Jn.clone=Jn.active=null,Un.forEach((function(e){e.checked=!0})),Un.length=In=kn=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":an&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,o=n.length,a=this.options;r Date: Mon, 22 Nov 2021 14:24:26 -0800 Subject: [PATCH 4/6] adde page preview feature, updated page edit ui with preview option button --- brain/controller/DashControl.inc.php | 59 ++++++++++++++++++-------- brain/controller/IndexControl.inc.php | 1 + brain/utility/Sorting.inc.php | 1 + brain/views/dash/page-edit.twig | 2 +- brain/views/dash/partials/options.twig | 9 +++- public/assets/css/dash.css | 2 +- src/styles/main/_posts.sass | 9 +++- 7 files changed, 60 insertions(+), 23 deletions(-) diff --git a/brain/controller/DashControl.inc.php b/brain/controller/DashControl.inc.php index 7ded135..6a5d350 100644 --- a/brain/controller/DashControl.inc.php +++ b/brain/controller/DashControl.inc.php @@ -101,24 +101,47 @@ class DashControl if (Session::active()) { $template = "dash/page-edit.twig"; $mode = $args["third"]; - if ($mode == "edit") { - $uuid = $args["fourth"]; - $customPages = (new Themes())->getCustomViews(); - $pageOptions = [ - "title" => "Fipamo | Edit Page", - "page" => (new Book("../content/pages"))->findPageById($uuid), - "mode" => $mode, - "token" => Session::get("form_token"), - "status" => Session::active(), - "views" => $customPages, - ]; - } else { - $pageOptions = [ - "title" => "Fipamo | Create Page", - "token" => Session::get("form_token"), - "mode" => $mode, - "status" => Session::active(), - ]; + $uuid = $args["fourth"]; + switch ($mode) { + case "edit": + $customPages = (new Themes())->getCustomViews(); + $pageOptions = [ + "title" => "Fipamo | Edit Page", + "page" => (new Book("../content/pages"))->findPageById($uuid), + "mode" => $mode, + "token" => Session::get("form_token"), + "status" => Session::active(), + "views" => $customPages, + ]; + break; + case "preview": + $config = new Settings(); + $settings = $config->getSettings(); + $loader = new \Twig\Loader\FilesystemLoader( + "../content/themes" + ); + $display = new \Twig\Environment($loader, []); + + $book = new Book("../content/pages"); + $page = $book->findPageById($uuid); + $pageOptions = Sorting::page($page); + $preview = + $settings["global"]["theme"] . + "/" . + $page["layout"] . + ".twig"; + $html = $display->render($preview, $pageOptions); + $response->getBody()->write($html); + return $response; + break; + default: + $pageOptions = [ + "title" => "Fipamo | Create Page", + "token" => Session::get("form_token"), + "mode" => $mode, + "status" => Session::active(), + ]; + break; } } else { header("Location: /dashboard"); diff --git a/brain/controller/IndexControl.inc.php b/brain/controller/IndexControl.inc.php index 4a0ded3..5643d85 100644 --- a/brain/controller/IndexControl.inc.php +++ b/brain/controller/IndexControl.inc.php @@ -63,6 +63,7 @@ class IndexControl break; default: + //check layout to see what page should be rendered $template = $settings["global"]["theme"] . "/page.twig"; $book = new Book("../content/pages"); $page = $book->findPageBySlug($args["third"]); diff --git a/brain/utility/Sorting.inc.php b/brain/utility/Sorting.inc.php index 1e36121..ee9fe18 100644 --- a/brain/utility/Sorting.inc.php +++ b/brain/utility/Sorting.inc.php @@ -155,6 +155,7 @@ class Sorting "ul", "li", "i", + "em", "h1", "h2", "h3", diff --git a/brain/views/dash/page-edit.twig b/brain/views/dash/page-edit.twig index 56840a7..66c3474 100644 --- a/brain/views/dash/page-edit.twig +++ b/brain/views/dash/page-edit.twig @@ -30,7 +30,7 @@ {% endblock %} {% block stylesheets %} - + {% endblock %} {% block mainContent %} diff --git a/brain/views/dash/partials/options.twig b/brain/views/dash/partials/options.twig index 68c452f..c8a0dfd 100644 --- a/brain/views/dash/partials/options.twig +++ b/brain/views/dash/partials/options.twig @@ -29,9 +29,16 @@ + + +
+ {% for view in views %} + {% if view == page['layout'] %} + + {% else %} + + {% endif %} + + {% endfor %} + +
diff --git a/brain/views/dash/partials/options.twig b/brain/views/dash/partials/options.twig index c8a0dfd..94cfe4a 100644 --- a/brain/views/dash/partials/options.twig +++ b/brain/views/dash/partials/options.twig @@ -39,18 +39,4 @@ -
- - -
-
\ No newline at end of file diff --git a/public/assets/css/dash.css b/public/assets/css/dash.css index 72775f3..62446fc 100644 --- a/public/assets/css/dash.css +++ b/public/assets/css/dash.css @@ -1 +1 @@ -.column{display:block;flex-basis:0;flex-grow:1;flex-shrink:1;padding:.75rem}.columns.is-mobile>.column.is-narrow{flex:none;width:unset}.columns.is-mobile>.column.is-full{flex:none;width:100%}.columns.is-mobile>.column.is-three-quarters{flex:none;width:75%}.columns.is-mobile>.column.is-two-thirds{flex:none;width:66.6666%}.columns.is-mobile>.column.is-half{flex:none;width:50%}.columns.is-mobile>.column.is-one-third{flex:none;width:33.3333%}.columns.is-mobile>.column.is-one-quarter{flex:none;width:25%}.columns.is-mobile>.column.is-one-fifth{flex:none;width:20%}.columns.is-mobile>.column.is-two-fifths{flex:none;width:40%}.columns.is-mobile>.column.is-three-fifths{flex:none;width:60%}.columns.is-mobile>.column.is-four-fifths{flex:none;width:80%}.columns.is-mobile>.column.is-offset-three-quarters{margin-left:75%}.columns.is-mobile>.column.is-offset-two-thirds{margin-left:66.6666%}.columns.is-mobile>.column.is-offset-half{margin-left:50%}.columns.is-mobile>.column.is-offset-one-third{margin-left:33.3333%}.columns.is-mobile>.column.is-offset-one-quarter{margin-left:25%}.columns.is-mobile>.column.is-offset-one-fifth{margin-left:20%}.columns.is-mobile>.column.is-offset-two-fifths{margin-left:40%}.columns.is-mobile>.column.is-offset-three-fifths{margin-left:60%}.columns.is-mobile>.column.is-offset-four-fifths{margin-left:80%}.columns.is-mobile>.column.is-0{flex:none;width:0%}.columns.is-mobile>.column.is-offset-0{margin-left:0%}.columns.is-mobile>.column.is-1{flex:none;width:8.33333337%}.columns.is-mobile>.column.is-offset-1{margin-left:8.33333337%}.columns.is-mobile>.column.is-2{flex:none;width:16.66666674%}.columns.is-mobile>.column.is-offset-2{margin-left:16.66666674%}.columns.is-mobile>.column.is-3{flex:none;width:25%}.columns.is-mobile>.column.is-offset-3{margin-left:25%}.columns.is-mobile>.column.is-4{flex:none;width:33.33333337%}.columns.is-mobile>.column.is-offset-4{margin-left:33.33333337%}.columns.is-mobile>.column.is-5{flex:none;width:41.66666674%}.columns.is-mobile>.column.is-offset-5{margin-left:41.66666674%}.columns.is-mobile>.column.is-6{flex:none;width:50%}.columns.is-mobile>.column.is-offset-6{margin-left:50%}.columns.is-mobile>.column.is-7{flex:none;width:58.33333337%}.columns.is-mobile>.column.is-offset-7{margin-left:58.33333337%}.columns.is-mobile>.column.is-8{flex:none;width:66.66666674%}.columns.is-mobile>.column.is-offset-8{margin-left:66.66666674%}.columns.is-mobile>.column.is-9{flex:none;width:75%}.columns.is-mobile>.column.is-offset-9{margin-left:75%}.columns.is-mobile>.column.is-10{flex:none;width:83.33333337%}.columns.is-mobile>.column.is-offset-10{margin-left:83.33333337%}.columns.is-mobile>.column.is-11{flex:none;width:91.66666674%}.columns.is-mobile>.column.is-offset-11{margin-left:91.66666674%}.columns.is-mobile>.column.is-12{flex:none;width:100%}.columns.is-mobile>.column.is-offset-12{margin-left:100%}@media screen and (max-width: 768px){.column.is-narrow-mobile{flex:none;width:unset}.column.is-full-mobile{flex:none;width:100%}.column.is-three-quarters-mobile{flex:none;width:75%}.column.is-two-thirds-mobile{flex:none;width:66.6666%}.column.is-half-mobile{flex:none;width:50%}.column.is-one-third-mobile{flex:none;width:33.3333%}.column.is-one-quarter-mobile{flex:none;width:25%}.column.is-one-fifth-mobile{flex:none;width:20%}.column.is-two-fifths-mobile{flex:none;width:40%}.column.is-three-fifths-mobile{flex:none;width:60%}.column.is-four-fifths-mobile{flex:none;width:80%}.column.is-offset-three-quarters-mobile{margin-left:75%}.column.is-offset-two-thirds-mobile{margin-left:66.6666%}.column.is-offset-half-mobile{margin-left:50%}.column.is-offset-one-third-mobile{margin-left:33.3333%}.column.is-offset-one-quarter-mobile{margin-left:25%}.column.is-offset-one-fifth-mobile{margin-left:20%}.column.is-offset-two-fifths-mobile{margin-left:40%}.column.is-offset-three-fifths-mobile{margin-left:60%}.column.is-offset-four-fifths-mobile{margin-left:80%}.column.is-0-mobile{flex:none;width:0%}.column.is-offset-0-mobile{margin-left:0%}.column.is-1-mobile{flex:none;width:8.33333337%}.column.is-offset-1-mobile{margin-left:8.33333337%}.column.is-2-mobile{flex:none;width:16.66666674%}.column.is-offset-2-mobile{margin-left:16.66666674%}.column.is-3-mobile{flex:none;width:25%}.column.is-offset-3-mobile{margin-left:25%}.column.is-4-mobile{flex:none;width:33.33333337%}.column.is-offset-4-mobile{margin-left:33.33333337%}.column.is-5-mobile{flex:none;width:41.66666674%}.column.is-offset-5-mobile{margin-left:41.66666674%}.column.is-6-mobile{flex:none;width:50%}.column.is-offset-6-mobile{margin-left:50%}.column.is-7-mobile{flex:none;width:58.33333337%}.column.is-offset-7-mobile{margin-left:58.33333337%}.column.is-8-mobile{flex:none;width:66.66666674%}.column.is-offset-8-mobile{margin-left:66.66666674%}.column.is-9-mobile{flex:none;width:75%}.column.is-offset-9-mobile{margin-left:75%}.column.is-10-mobile{flex:none;width:83.33333337%}.column.is-offset-10-mobile{margin-left:83.33333337%}.column.is-11-mobile{flex:none;width:91.66666674%}.column.is-offset-11-mobile{margin-left:91.66666674%}.column.is-12-mobile{flex:none;width:100%}.column.is-offset-12-mobile{margin-left:100%}}@media screen and (min-width: 769px),print{.column.is-narrow,.column.is-narrow-tablet{flex:none;width:unset}.column.is-full,.column.is-full-tablet{flex:none;width:100%}.column.is-three-quarters,.column.is-three-quarters-tablet{flex:none;width:75%}.column.is-two-thirds,.column.is-two-thirds-tablet{flex:none;width:66.6666%}.column.is-half,.column.is-half-tablet{flex:none;width:50%}.column.is-one-third,.column.is-one-third-tablet{flex:none;width:33.3333%}.column.is-one-quarter,.column.is-one-quarter-tablet{flex:none;width:25%}.column.is-one-fifth,.column.is-one-fifth-tablet{flex:none;width:20%}.column.is-two-fifths,.column.is-two-fifths-tablet{flex:none;width:40%}.column.is-three-fifths,.column.is-three-fifths-tablet{flex:none;width:60%}.column.is-four-fifths,.column.is-four-fifths-tablet{flex:none;width:80%}.column.is-offset-three-quarters,.column.is-offset-three-quarters-tablet{margin-left:75%}.column.is-offset-two-thirds,.column.is-offset-two-thirds-tablet{margin-left:66.6666%}.column.is-offset-half,.column.is-offset-half-tablet{margin-left:50%}.column.is-offset-one-third,.column.is-offset-one-third-tablet{margin-left:33.3333%}.column.is-offset-one-quarter,.column.is-offset-one-quarter-tablet{margin-left:25%}.column.is-offset-one-fifth,.column.is-offset-one-fifth-tablet{margin-left:20%}.column.is-offset-two-fifths,.column.is-offset-two-fifths-tablet{margin-left:40%}.column.is-offset-three-fifths,.column.is-offset-three-fifths-tablet{margin-left:60%}.column.is-offset-four-fifths,.column.is-offset-four-fifths-tablet{margin-left:80%}.column.is-0,.column.is-0-tablet{flex:none;width:0%}.column.is-offset-0,.column.is-offset-0-tablet{margin-left:0%}.column.is-1,.column.is-1-tablet{flex:none;width:8.33333337%}.column.is-offset-1,.column.is-offset-1-tablet{margin-left:8.33333337%}.column.is-2,.column.is-2-tablet{flex:none;width:16.66666674%}.column.is-offset-2,.column.is-offset-2-tablet{margin-left:16.66666674%}.column.is-3,.column.is-3-tablet{flex:none;width:25%}.column.is-offset-3,.column.is-offset-3-tablet{margin-left:25%}.column.is-4,.column.is-4-tablet{flex:none;width:33.33333337%}.column.is-offset-4,.column.is-offset-4-tablet{margin-left:33.33333337%}.column.is-5,.column.is-5-tablet{flex:none;width:41.66666674%}.column.is-offset-5,.column.is-offset-5-tablet{margin-left:41.66666674%}.column.is-6,.column.is-6-tablet{flex:none;width:50%}.column.is-offset-6,.column.is-offset-6-tablet{margin-left:50%}.column.is-7,.column.is-7-tablet{flex:none;width:58.33333337%}.column.is-offset-7,.column.is-offset-7-tablet{margin-left:58.33333337%}.column.is-8,.column.is-8-tablet{flex:none;width:66.66666674%}.column.is-offset-8,.column.is-offset-8-tablet{margin-left:66.66666674%}.column.is-9,.column.is-9-tablet{flex:none;width:75%}.column.is-offset-9,.column.is-offset-9-tablet{margin-left:75%}.column.is-10,.column.is-10-tablet{flex:none;width:83.33333337%}.column.is-offset-10,.column.is-offset-10-tablet{margin-left:83.33333337%}.column.is-11,.column.is-11-tablet{flex:none;width:91.66666674%}.column.is-offset-11,.column.is-offset-11-tablet{margin-left:91.66666674%}.column.is-12,.column.is-12-tablet{flex:none;width:100%}.column.is-offset-12,.column.is-offset-12-tablet{margin-left:100%}}@media screen and (max-width: 1023px){.column.is-narrow-touch{flex:none;width:unset}.column.is-full-touch{flex:none;width:100%}.column.is-three-quarters-touch{flex:none;width:75%}.column.is-two-thirds-touch{flex:none;width:66.6666%}.column.is-half-touch{flex:none;width:50%}.column.is-one-third-touch{flex:none;width:33.3333%}.column.is-one-quarter-touch{flex:none;width:25%}.column.is-one-fifth-touch{flex:none;width:20%}.column.is-two-fifths-touch{flex:none;width:40%}.column.is-three-fifths-touch{flex:none;width:60%}.column.is-four-fifths-touch{flex:none;width:80%}.column.is-offset-three-quarters-touch{margin-left:75%}.column.is-offset-two-thirds-touch{margin-left:66.6666%}.column.is-offset-half-touch{margin-left:50%}.column.is-offset-one-third-touch{margin-left:33.3333%}.column.is-offset-one-quarter-touch{margin-left:25%}.column.is-offset-one-fifth-touch{margin-left:20%}.column.is-offset-two-fifths-touch{margin-left:40%}.column.is-offset-three-fifths-touch{margin-left:60%}.column.is-offset-four-fifths-touch{margin-left:80%}.column.is-0-touch{flex:none;width:0%}.column.is-offset-0-touch{margin-left:0%}.column.is-1-touch{flex:none;width:8.33333337%}.column.is-offset-1-touch{margin-left:8.33333337%}.column.is-2-touch{flex:none;width:16.66666674%}.column.is-offset-2-touch{margin-left:16.66666674%}.column.is-3-touch{flex:none;width:25%}.column.is-offset-3-touch{margin-left:25%}.column.is-4-touch{flex:none;width:33.33333337%}.column.is-offset-4-touch{margin-left:33.33333337%}.column.is-5-touch{flex:none;width:41.66666674%}.column.is-offset-5-touch{margin-left:41.66666674%}.column.is-6-touch{flex:none;width:50%}.column.is-offset-6-touch{margin-left:50%}.column.is-7-touch{flex:none;width:58.33333337%}.column.is-offset-7-touch{margin-left:58.33333337%}.column.is-8-touch{flex:none;width:66.66666674%}.column.is-offset-8-touch{margin-left:66.66666674%}.column.is-9-touch{flex:none;width:75%}.column.is-offset-9-touch{margin-left:75%}.column.is-10-touch{flex:none;width:83.33333337%}.column.is-offset-10-touch{margin-left:83.33333337%}.column.is-11-touch{flex:none;width:91.66666674%}.column.is-offset-11-touch{margin-left:91.66666674%}.column.is-12-touch{flex:none;width:100%}.column.is-offset-12-touch{margin-left:100%}}@media screen and (min-width: 1024px){.column.is-narrow-desktop{flex:none;width:unset}.column.is-full-desktop{flex:none;width:100%}.column.is-three-quarters-desktop{flex:none;width:75%}.column.is-two-thirds-desktop{flex:none;width:66.6666%}.column.is-half-desktop{flex:none;width:50%}.column.is-one-third-desktop{flex:none;width:33.3333%}.column.is-one-quarter-desktop{flex:none;width:25%}.column.is-one-fifth-desktop{flex:none;width:20%}.column.is-two-fifths-desktop{flex:none;width:40%}.column.is-three-fifths-desktop{flex:none;width:60%}.column.is-four-fifths-desktop{flex:none;width:80%}.column.is-offset-three-quarters-desktop{margin-left:75%}.column.is-offset-two-thirds-desktop{margin-left:66.6666%}.column.is-offset-half-desktop{margin-left:50%}.column.is-offset-one-third-desktop{margin-left:33.3333%}.column.is-offset-one-quarter-desktop{margin-left:25%}.column.is-offset-one-fifth-desktop{margin-left:20%}.column.is-offset-two-fifths-desktop{margin-left:40%}.column.is-offset-three-fifths-desktop{margin-left:60%}.column.is-offset-four-fifths-desktop{margin-left:80%}.column.is-0-desktop{flex:none;width:0%}.column.is-offset-0-desktop{margin-left:0%}.column.is-1-desktop{flex:none;width:8.33333337%}.column.is-offset-1-desktop{margin-left:8.33333337%}.column.is-2-desktop{flex:none;width:16.66666674%}.column.is-offset-2-desktop{margin-left:16.66666674%}.column.is-3-desktop{flex:none;width:25%}.column.is-offset-3-desktop{margin-left:25%}.column.is-4-desktop{flex:none;width:33.33333337%}.column.is-offset-4-desktop{margin-left:33.33333337%}.column.is-5-desktop{flex:none;width:41.66666674%}.column.is-offset-5-desktop{margin-left:41.66666674%}.column.is-6-desktop{flex:none;width:50%}.column.is-offset-6-desktop{margin-left:50%}.column.is-7-desktop{flex:none;width:58.33333337%}.column.is-offset-7-desktop{margin-left:58.33333337%}.column.is-8-desktop{flex:none;width:66.66666674%}.column.is-offset-8-desktop{margin-left:66.66666674%}.column.is-9-desktop{flex:none;width:75%}.column.is-offset-9-desktop{margin-left:75%}.column.is-10-desktop{flex:none;width:83.33333337%}.column.is-offset-10-desktop{margin-left:83.33333337%}.column.is-11-desktop{flex:none;width:91.66666674%}.column.is-offset-11-desktop{margin-left:91.66666674%}.column.is-12-desktop{flex:none;width:100%}.column.is-offset-12-desktop{margin-left:100%}}@media screen and (min-width: 1216px){.column.is-narrow-widescreen{flex:none;width:unset}.column.is-full-widescreen{flex:none;width:100%}.column.is-three-quarters-widescreen{flex:none;width:75%}.column.is-two-thirds-widescreen{flex:none;width:66.6666%}.column.is-half-widescreen{flex:none;width:50%}.column.is-one-third-widescreen{flex:none;width:33.3333%}.column.is-one-quarter-widescreen{flex:none;width:25%}.column.is-one-fifth-widescreen{flex:none;width:20%}.column.is-two-fifths-widescreen{flex:none;width:40%}.column.is-three-fifths-widescreen{flex:none;width:60%}.column.is-four-fifths-widescreen{flex:none;width:80%}.column.is-offset-three-quarters-widescreen{margin-left:75%}.column.is-offset-two-thirds-widescreen{margin-left:66.6666%}.column.is-offset-half-widescreen{margin-left:50%}.column.is-offset-one-third-widescreen{margin-left:33.3333%}.column.is-offset-one-quarter-widescreen{margin-left:25%}.column.is-offset-one-fifth-widescreen{margin-left:20%}.column.is-offset-two-fifths-widescreen{margin-left:40%}.column.is-offset-three-fifths-widescreen{margin-left:60%}.column.is-offset-four-fifths-widescreen{margin-left:80%}.column.is-0-widescreen{flex:none;width:0%}.column.is-offset-0-widescreen{margin-left:0%}.column.is-1-widescreen{flex:none;width:8.33333337%}.column.is-offset-1-widescreen{margin-left:8.33333337%}.column.is-2-widescreen{flex:none;width:16.66666674%}.column.is-offset-2-widescreen{margin-left:16.66666674%}.column.is-3-widescreen{flex:none;width:25%}.column.is-offset-3-widescreen{margin-left:25%}.column.is-4-widescreen{flex:none;width:33.33333337%}.column.is-offset-4-widescreen{margin-left:33.33333337%}.column.is-5-widescreen{flex:none;width:41.66666674%}.column.is-offset-5-widescreen{margin-left:41.66666674%}.column.is-6-widescreen{flex:none;width:50%}.column.is-offset-6-widescreen{margin-left:50%}.column.is-7-widescreen{flex:none;width:58.33333337%}.column.is-offset-7-widescreen{margin-left:58.33333337%}.column.is-8-widescreen{flex:none;width:66.66666674%}.column.is-offset-8-widescreen{margin-left:66.66666674%}.column.is-9-widescreen{flex:none;width:75%}.column.is-offset-9-widescreen{margin-left:75%}.column.is-10-widescreen{flex:none;width:83.33333337%}.column.is-offset-10-widescreen{margin-left:83.33333337%}.column.is-11-widescreen{flex:none;width:91.66666674%}.column.is-offset-11-widescreen{margin-left:91.66666674%}.column.is-12-widescreen{flex:none;width:100%}.column.is-offset-12-widescreen{margin-left:100%}}@media screen and (min-width: 1408px){.column.is-narrow-fullhd{flex:none;width:unset}.column.is-full-fullhd{flex:none;width:100%}.column.is-three-quarters-fullhd{flex:none;width:75%}.column.is-two-thirds-fullhd{flex:none;width:66.6666%}.column.is-half-fullhd{flex:none;width:50%}.column.is-one-third-fullhd{flex:none;width:33.3333%}.column.is-one-quarter-fullhd{flex:none;width:25%}.column.is-one-fifth-fullhd{flex:none;width:20%}.column.is-two-fifths-fullhd{flex:none;width:40%}.column.is-three-fifths-fullhd{flex:none;width:60%}.column.is-four-fifths-fullhd{flex:none;width:80%}.column.is-offset-three-quarters-fullhd{margin-left:75%}.column.is-offset-two-thirds-fullhd{margin-left:66.6666%}.column.is-offset-half-fullhd{margin-left:50%}.column.is-offset-one-third-fullhd{margin-left:33.3333%}.column.is-offset-one-quarter-fullhd{margin-left:25%}.column.is-offset-one-fifth-fullhd{margin-left:20%}.column.is-offset-two-fifths-fullhd{margin-left:40%}.column.is-offset-three-fifths-fullhd{margin-left:60%}.column.is-offset-four-fifths-fullhd{margin-left:80%}.column.is-0-fullhd{flex:none;width:0%}.column.is-offset-0-fullhd{margin-left:0%}.column.is-1-fullhd{flex:none;width:8.33333337%}.column.is-offset-1-fullhd{margin-left:8.33333337%}.column.is-2-fullhd{flex:none;width:16.66666674%}.column.is-offset-2-fullhd{margin-left:16.66666674%}.column.is-3-fullhd{flex:none;width:25%}.column.is-offset-3-fullhd{margin-left:25%}.column.is-4-fullhd{flex:none;width:33.33333337%}.column.is-offset-4-fullhd{margin-left:33.33333337%}.column.is-5-fullhd{flex:none;width:41.66666674%}.column.is-offset-5-fullhd{margin-left:41.66666674%}.column.is-6-fullhd{flex:none;width:50%}.column.is-offset-6-fullhd{margin-left:50%}.column.is-7-fullhd{flex:none;width:58.33333337%}.column.is-offset-7-fullhd{margin-left:58.33333337%}.column.is-8-fullhd{flex:none;width:66.66666674%}.column.is-offset-8-fullhd{margin-left:66.66666674%}.column.is-9-fullhd{flex:none;width:75%}.column.is-offset-9-fullhd{margin-left:75%}.column.is-10-fullhd{flex:none;width:83.33333337%}.column.is-offset-10-fullhd{margin-left:83.33333337%}.column.is-11-fullhd{flex:none;width:91.66666674%}.column.is-offset-11-fullhd{margin-left:91.66666674%}.column.is-12-fullhd{flex:none;width:100%}.column.is-offset-12-fullhd{margin-left:100%}}.columns{margin-left:-0.75rem;margin-right:-0.75rem;margin-top:-0.75rem}.columns:last-child{margin-bottom:-0.75rem}.columns:not(:last-child){margin-bottom:calc(1.5rem - 0.75rem)}.columns.is-centered{justify-content:center}.columns.is-gapless{margin-left:0;margin-right:0;margin-top:0}.columns.is-gapless>.column{margin:0;padding:0 !important}.columns.is-gapless:not(:last-child){margin-bottom:1.5rem}.columns.is-gapless:last-child{margin-bottom:0}.columns.is-mobile{display:flex}.columns.is-multiline{flex-wrap:wrap}.columns.is-vcentered{align-items:center}@media screen and (min-width: 769px),print{.columns:not(.is-desktop){display:flex}}@media screen and (min-width: 1024px){.columns.is-desktop{display:flex}}.columns.is-variable{--columnGap: 0.75rem;margin-left:calc(-1*var(--columnGap));margin-right:calc(-1*var(--columnGap))}.columns.is-variable>.column{padding-left:var(--columnGap);padding-right:var(--columnGap)}.columns.is-variable.is-0{--columnGap: 0rem}@media screen and (max-width: 768px){.columns.is-variable.is-0-mobile{--columnGap: 0rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-0-tablet{--columnGap: 0rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-0-tablet-only{--columnGap: 0rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-0-touch{--columnGap: 0rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-0-desktop{--columnGap: 0rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-0-desktop-only{--columnGap: 0rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-0-widescreen{--columnGap: 0rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-0-widescreen-only{--columnGap: 0rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-0-fullhd{--columnGap: 0rem}}.columns.is-variable.is-1{--columnGap: 0.25rem}@media screen and (max-width: 768px){.columns.is-variable.is-1-mobile{--columnGap: 0.25rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-1-tablet{--columnGap: 0.25rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-1-tablet-only{--columnGap: 0.25rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-1-touch{--columnGap: 0.25rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-1-desktop{--columnGap: 0.25rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-1-desktop-only{--columnGap: 0.25rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-1-widescreen{--columnGap: 0.25rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-1-widescreen-only{--columnGap: 0.25rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-1-fullhd{--columnGap: 0.25rem}}.columns.is-variable.is-2{--columnGap: 0.5rem}@media screen and (max-width: 768px){.columns.is-variable.is-2-mobile{--columnGap: 0.5rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-2-tablet{--columnGap: 0.5rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-2-tablet-only{--columnGap: 0.5rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-2-touch{--columnGap: 0.5rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-2-desktop{--columnGap: 0.5rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-2-desktop-only{--columnGap: 0.5rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-2-widescreen{--columnGap: 0.5rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-2-widescreen-only{--columnGap: 0.5rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-2-fullhd{--columnGap: 0.5rem}}.columns.is-variable.is-3{--columnGap: 0.75rem}@media screen and (max-width: 768px){.columns.is-variable.is-3-mobile{--columnGap: 0.75rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-3-tablet{--columnGap: 0.75rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-3-tablet-only{--columnGap: 0.75rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-3-touch{--columnGap: 0.75rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-3-desktop{--columnGap: 0.75rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-3-desktop-only{--columnGap: 0.75rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-3-widescreen{--columnGap: 0.75rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-3-widescreen-only{--columnGap: 0.75rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-3-fullhd{--columnGap: 0.75rem}}.columns.is-variable.is-4{--columnGap: 1rem}@media screen and (max-width: 768px){.columns.is-variable.is-4-mobile{--columnGap: 1rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-4-tablet{--columnGap: 1rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-4-tablet-only{--columnGap: 1rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-4-touch{--columnGap: 1rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-4-desktop{--columnGap: 1rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-4-desktop-only{--columnGap: 1rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-4-widescreen{--columnGap: 1rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-4-widescreen-only{--columnGap: 1rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-4-fullhd{--columnGap: 1rem}}.columns.is-variable.is-5{--columnGap: 1.25rem}@media screen and (max-width: 768px){.columns.is-variable.is-5-mobile{--columnGap: 1.25rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-5-tablet{--columnGap: 1.25rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-5-tablet-only{--columnGap: 1.25rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-5-touch{--columnGap: 1.25rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-5-desktop{--columnGap: 1.25rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-5-desktop-only{--columnGap: 1.25rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-5-widescreen{--columnGap: 1.25rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-5-widescreen-only{--columnGap: 1.25rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-5-fullhd{--columnGap: 1.25rem}}.columns.is-variable.is-6{--columnGap: 1.5rem}@media screen and (max-width: 768px){.columns.is-variable.is-6-mobile{--columnGap: 1.5rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-6-tablet{--columnGap: 1.5rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-6-tablet-only{--columnGap: 1.5rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-6-touch{--columnGap: 1.5rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-6-desktop{--columnGap: 1.5rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-6-desktop-only{--columnGap: 1.5rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-6-widescreen{--columnGap: 1.5rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-6-widescreen-only{--columnGap: 1.5rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-6-fullhd{--columnGap: 1.5rem}}.columns.is-variable.is-7{--columnGap: 1.75rem}@media screen and (max-width: 768px){.columns.is-variable.is-7-mobile{--columnGap: 1.75rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-7-tablet{--columnGap: 1.75rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-7-tablet-only{--columnGap: 1.75rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-7-touch{--columnGap: 1.75rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-7-desktop{--columnGap: 1.75rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-7-desktop-only{--columnGap: 1.75rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-7-widescreen{--columnGap: 1.75rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-7-widescreen-only{--columnGap: 1.75rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-7-fullhd{--columnGap: 1.75rem}}.columns.is-variable.is-8{--columnGap: 2rem}@media screen and (max-width: 768px){.columns.is-variable.is-8-mobile{--columnGap: 2rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-8-tablet{--columnGap: 2rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-8-tablet-only{--columnGap: 2rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-8-touch{--columnGap: 2rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-8-desktop{--columnGap: 2rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-8-desktop-only{--columnGap: 2rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-8-widescreen{--columnGap: 2rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-8-widescreen-only{--columnGap: 2rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-8-fullhd{--columnGap: 2rem}}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0;line-height:1em}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:60%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.55em;background:#1d3040;color:#1d3040;border-radius:2px;padding:0 2px 0 2px;margin:0 2px 0 0}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}h1,h2,h3{color:#efebe3}h1{font-size:2em;font-weight:400}h2{font-size:1.75em;font-weight:400}h3{font-size:1.5em;font-weight:300}html,body{background:#1d3040 linear-gradient(0deg, #1d3040 0%, #2d4a63 100%) no-repeat;font:400 1em Helvetica,Arial,sans-serif;height:100%}a{font:300 1em Helvetica,Arial,sans-serif;color:#b2cce5;text-decoration:underline}svg.icons{width:25px;fill:#b2cce5}#notifications{perspective:1000px;position:fixed;z-index:2000;height:55px;width:100%;display:block;align-items:center;justify-content:center;padding:0;margin-top:-55px}#notifications #notifyMessage{margin:0 auto;transition:all .6s cubic-bezier(0.83, 0.05, 0.28, 1);height:50px;width:500px;display:flex;align-items:center;justify-content:center;opacity:1;transform-style:preserve-3d;transform:rotateX(-120deg);transform-origin:50% 0}#notifications #notifyMessage #notify-good,#notifications #notifyMessage #notify-lame,#notifications #notifyMessage #notify-working{display:block}#notifications #notifyMessage #notify-working-box{-webkit-animation:spin 2s linear infinite;-moz-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-moz-keyframes spin{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes spin{100%{-webkit-transform:rotate(360deg)}}@keyframes spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#notifications #notifyMessage .notify-icon{background:#32302f;padding:8px 5px 5px 5px;border-radius:5px 0 0 5px;height:30px;width:30px;text-align:center;border:2px solid #efebe3}#notifications #notifyMessage p{color:#efebe3;background:#000;width:400px;height:28px;padding:15px 0 0 5px;border-radius:0 5px 5px 0;border:2px solid #efebe3;text-align:center}#notifications #notifyMessage .icons{fill:#efebe3}.notify-close{transform-style:preserve-3d;transform:rotateX(-120deg)}.notify-open{transform-style:preserve-3d;transform:rotateX(0deg)}.blog-container{width:100%}.main-container{margin:0 auto;z-index:10;position:relative;height:100%}.main-container section header{width:100%;max-width:900px;margin:10px auto;background:#efebe3;height:50px;border-radius:5px}.main-container section header #wrapper{padding:5px}.main-container section header #wrapper #left,.main-container section header #wrapper #right{width:49.7%;display:inline-block;vertical-align:top;min-height:60px}.main-container section header #wrapper #left #the-logo,.main-container section header #wrapper #right #the-logo{width:29px}.main-container section header #wrapper #right{text-align:right;color:#efebe3}.main-container section header #wrapper #right #dash-menu{text-align:right}.main-container section header #wrapper #right #dash-menu a button{border-radius:50px}.main-container section header #wrapper #right #dash-menu a button svg{-moz-transition:all .1s linear;-webkit-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;width:40px;height:20px;fill:#efebe3}.main-container section header #wrapper #right #dash-menu a:hover button{background:#1d3040}.main-container section header #wrapper #right #dash-menu a:hover svg{fill:#b2cce5}::-moz-selection{background-color:#fc6399;color:#efebe3}::selection{background-color:#fc6399;color:#efebe3}::-o-selection{background-color:#fc6399;color:#efebe3}::-ms-selection{background-color:#fc6399;color:#efebe3}::-webkit-selection{background-color:#fc6399;color:#efebe3}@media only screen and (max-width: 901px){.main-container{padding:10px}}@media only screen and (max-width: 800px){.main-container section header #wrapper #left,.main-container section header #wrapper #right{display:inline-block}}@media only screen and (max-width: 480px){.main-container section header #wrapper #left{width:30%}.main-container section header #wrapper #right{width:70%}}#dash-index-content{width:100%;height:100%;margin:0 auto}#dash-index-content #dash-index{width:100%;height:100%;z-index:10;position:relative}#dash-index-content #dash-index #dash-index-wrapper{width:100%;height:100%;margin:0 auto}#dash-index-content #dash-index #dash-index-wrapper .dash-init,#dash-index-content #dash-index #dash-index-wrapper .dash-restore{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#1d3040}#dash-index-content #dash-index #dash-index-wrapper .dash-init form,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form{background:#efebe3;padding:15px;width:300px;border-radius:5px;text-align:center}#dash-index-content #dash-index #dash-index-wrapper .dash-init form #the-logo,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form #the-logo{width:40px;margin:20px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form input,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form input{width:290px;margin:0 0 10px 0;height:30px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form button,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form button{width:300px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form div,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form div{background:#1d3040;color:#efebe3;border-radius:3px;padding:5px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form div label,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form div label{display:block;padding:5px;color:#f5ab35}#dash-index-content #dash-index #dash-index-wrapper .dash-restore{display:none;visibility:hidden}#dash-index-content #dash-index #dash-index-wrapper #dash-login{width:100%;height:100%;margin:0 auto;display:flex;align-items:center;justify-content:center}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset{width:300px;padding:.75em;background:#efebe3;border-radius:5px;color:#efebe3;text-align:center}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form #the-logo,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset #the-logo{width:40px;margin:20px}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form input,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset input{width:290px;margin:0 0 10px 0;height:30px}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form button,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset button{width:300px}#dash-index-content #dash-index #dash-index-wrapper #dash-menu{padding:10px;width:90%;max-width:900px;margin:50px auto}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a{display:inline-block;vertical-align:top;background:#000;width:30%;padding:5px;border-radius:3px;color:#efebe3;margin:0 10px 10px 0}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a:hover{background:#000}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a svg{display:inline-block;vertical-align:top;fill:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a label{display:inline-block;margin-top:5px;width:85%;text-align:center;cursor:pointer}#dash-index-content #dash-index #dash-index-wrapper #dash-recent{width:100%;max-width:900px;height:100%;padding:5px 0 0 0;margin:0 auto}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list{position:relative}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header{height:50px;margin-top:5px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-left{vertical-align:top;display:inline-block;width:50%;color:#efebe3;font-size:3em}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right{width:50%;text-align:right;vertical-align:top;display:inline-block;right:10px;color:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right a button{border-radius:3px;margin-left:10px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right a button svg{-moz-transition:all .1s linear;-webkit-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;width:40px;height:20px;fill:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link{font-size:1.5em;font-weight:300;display:inline-block;border-radius:3px;vertical-align:top;text-decoration:none;position:relative}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link label{font-size:1.4em;font-weight:700;color:#efebe3;padding:5px;vertical-align:top;display:inline-block;word-wrap:break-word;width:100%;text-align:center;position:relative;top:35%;text-shadow:2px 2px 0 #32302f}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options{width:100%;position:absolute;bottom:0;border-radius:0 0 3px 3px;background:linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%)}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left{display:inline-block;vertical-align:top;width:50%;position:relative;background:none}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button{border-radius:3px;background:#1d3040;margin:0 0 10px 10px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button svg{width:40px;height:20px;fill:#b2cce5}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left .item-options{border-radius:3px;margin:5px;display:inline-block}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=false]{background:#1d3040}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=false] svg{fill:#b2cce5}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=true]{background:#f5ab35}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=true] svg{fill:#1d3040}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-right{display:inline-block;width:50%;text-align:right}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-right span{font-weight:bold;display:block;background:#efebe3;color:#1d3040;border-radius:3px;font-size:.6em;text-align:center;position:relative;padding:5px;float:right;margin:0 10px 0 0;bottom:-15px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(3){width:100%;margin-bottom:20px;height:500px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.6%;height:350px;margin:0 10px 20px 0}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(5),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(7){width:48.6%;height:350px;margin:0 0 20px 10px}@media only screen and (max-width: 768px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.9%}}@media only screen and (max-width: 640px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.5%}}@media only screen and (max-width: 480px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header h3{width:40%}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-menu{width:60%}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(3),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(5),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(7){width:100%;margin:15px 0 0 0;height:400px}}#settings-actions{position:fixed;width:40%;margin-top:-85px;left:50%;margin-left:-20%}#settings-actions #buttons{width:185px;margin:28px auto;text-align:center;background:#efebe3;padding:2px;border-radius:3px}#settings-actions #buttons button{color:#efebe3;border-radius:3px;width:40px;margin:0 10px 0 10px}#settings-actions #buttons button svg{width:25px;height:20px;fill:#efebe3}#settings-actions #buttons button[data-render=false]{background:#b2cce5}#settings-actions #buttons button[data-render=false] svg{fill:#1d3040}#settings-actions #buttons button[data-render=true]{background:#fc6399}#settings-actions #buttons button[data-render=true] svg{fill:#efebe3}#settings-index{width:94%;max-width:900px;margin:0 auto;overflow:hidden}#settings-index #settings-index-wrapper{padding:0}#settings-index #settings-index-wrapper button{margin-top:5px;width:100%;height:33px}#settings-index #settings-index-wrapper #member-settings,#settings-index #settings-index-wrapper #feature-settings,#settings-index #settings-index-wrapper #option-settings,#settings-index #settings-index-wrapper #token-settings,#settings-index #settings-index-wrapper #backup-settings{background:#efebe3;padding:0px;border-radius:5px 0 5px 0;width:100%;margin:20px auto}#settings-index #settings-index-wrapper #member-settings label,#settings-index #settings-index-wrapper #feature-settings label,#settings-index #settings-index-wrapper #option-settings label,#settings-index #settings-index-wrapper #token-settings label,#settings-index #settings-index-wrapper #backup-settings label{font-family:Helvetica,Arial,sans-serif;color:#1d3040;font-weight:bold}#settings-index #settings-index-wrapper #member-settings span,#settings-index #settings-index-wrapper #feature-settings span,#settings-index #settings-index-wrapper #option-settings span,#settings-index #settings-index-wrapper #token-settings span,#settings-index #settings-index-wrapper #backup-settings span{color:#b2cce5}#settings-index #settings-index-wrapper #member-settings input,#settings-index #settings-index-wrapper #feature-settings input,#settings-index #settings-index-wrapper #option-settings input,#settings-index #settings-index-wrapper #token-settings input,#settings-index #settings-index-wrapper #backup-settings input{width:95%;margin:0 5px 10px 0;height:30px;padding:10px}#settings-index #settings-index-wrapper #member-settings input#backup-upload,#settings-index #settings-index-wrapper #feature-settings input#backup-upload,#settings-index #settings-index-wrapper #option-settings input#backup-upload,#settings-index #settings-index-wrapper #token-settings input#backup-upload,#settings-index #settings-index-wrapper #backup-settings input#backup-upload{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings .backup-meta,#settings-index #settings-index-wrapper #feature-settings .backup-meta,#settings-index #settings-index-wrapper #option-settings .backup-meta,#settings-index #settings-index-wrapper #token-settings .backup-meta,#settings-index #settings-index-wrapper #backup-settings .backup-meta{background:#1d3040;color:#efebe3;padding:8px;border-radius:3px;margin:5px 0 0 0;text-align:center}#settings-index #settings-index-wrapper #member-settings #member-images,#settings-index #settings-index-wrapper #feature-settings #member-images,#settings-index #settings-index-wrapper #option-settings #member-images,#settings-index #settings-index-wrapper #token-settings #member-images,#settings-index #settings-index-wrapper #backup-settings #member-images{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop{display:inline-block;margin:0 0 10px 0}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop img{width:100%;border-radius:5px;overflow:hidden;cursor:pointer;display:block;margin-bottom:2px}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop input{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop #privacy-toggle{width:50%}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop #render-toggle{width:50%}#settings-index #settings-index-wrapper #member-settings #member-images #site-background,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background,#settings-index #settings-index-wrapper #option-settings #member-images #site-background,#settings-index #settings-index-wrapper #token-settings #member-images #site-background,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background{margin:0 0 10px 0}#settings-index #settings-index-wrapper #member-settings #member-images #site-background img,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background img,#settings-index #settings-index-wrapper #option-settings #member-images #site-background img,#settings-index #settings-index-wrapper #token-settings #member-images #site-background img,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background img{width:92.1%;height:292px;border-radius:3px;overflow:hidden;cursor:pointer}#settings-index #settings-index-wrapper #member-settings #member-images #site-background input,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background input,#settings-index #settings-index-wrapper #option-settings #member-images #site-background input,#settings-index #settings-index-wrapper #token-settings #member-images #site-background input,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background input{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings #member-meta,#settings-index #settings-index-wrapper #feature-settings #member-meta,#settings-index #settings-index-wrapper #option-settings #member-meta,#settings-index #settings-index-wrapper #token-settings #member-meta,#settings-index #settings-index-wrapper #backup-settings #member-meta{padding:10px 15px 0 15px;position:relative;top:-30px}#settings-index #settings-index-wrapper #member-settings #features,#settings-index #settings-index-wrapper #feature-settings #features,#settings-index #settings-index-wrapper #option-settings #features,#settings-index #settings-index-wrapper #token-settings #features,#settings-index #settings-index-wrapper #backup-settings #features{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper textarea{background:#1d3040;width:70%;height:89.5px;color:#f5ab35;padding:10px;display:inline-block;margin-bottom:10px}#settings-index #settings-index-wrapper span#key{color:#efebe3;background:#1d3040;font-size:.9em;border-radius:3px;padding:5px;display:block;width:95%;overflow:hidden}#settings-index #settings-index-wrapper #feature-settings #feature-api,#settings-index #settings-index-wrapper #feature-settings #dynamic-api{background:#1d3040;border-radius:3px;padding:5px;width:95%}#settings-index #settings-index-wrapper #feature-settings #feature-api span,#settings-index #settings-index-wrapper #feature-settings #dynamic-api span{color:#efebe3 !important;margin:6px 0 0 5px;position:relative;vertical-align:middle;display:inline-block;font-weight:bold}#settings-index #settings-index-wrapper #feature-settings #feature-api button,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button{color:#efebe3;border-radius:3px;width:40px;margin:0;height:25px}#settings-index #settings-index-wrapper #feature-settings #feature-api button svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button svg{width:25px;height:20px;fill:#efebe3;position:relative;display:block;margin:-12px auto}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=false],#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=false]{background:#b2cce5}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=false] svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=false] svg{fill:#1d3040}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=true],#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=true]{background:#fc6399}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=true] svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=true] svg{fill:#efebe3}#settings-index #settings-index-wrapper #token-settings #keys-tokens{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper #token-settings #keys-tokens #member-api-key,#settings-index #settings-index-wrapper #token-settings #keys-tokens #form-token{background:#1d3040;border-radius:3px;padding:5px;color:#efebe3}#settings-index #settings-index-wrapper #option-settings #theme-settings a{width:95%;margin:0 5px 5px 0;height:15px;padding:10px;display:inline-block}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=false]{background:#efebe3;color:#1d3040;border-radius:3px;font-weight:bold;border-top:1px #fc6399 solid;border-bottom:1px #fc6399 solid}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=true]{background:#fc6399;color:#1d3040;border-radius:3px;font-weight:bold;border-top:1px #1d3040 solid;border-bottom:1px #1d3040 solid}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=true] svg{fill:#1d3040;display:inline-block;float:right}#settings-index #settings-index-wrapper #option-settings #mail-settings{min-height:240px}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option{float:right;font-family:"Lucida Console",Monaco,monospace;font-size:.9em;border-radius:3px;text-decoration:none;margin:0 0 0 5px}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option[data-enabled=true]{color:#fc6399}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option[data-enabled=false]{color:#1d3040}#settings-index #settings-index-wrapper #option-settings #mail-settings input{margin:0 5px 5px 0;vertical-align:top}#settings-index #settings-index-wrapper #option-settings #mail-settings div[data-enabled=false]{display:none;visibility:hidden}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api{background:#1d3040;border-radius:3px;padding:10px}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api span{color:#efebe3 !important;margin:-13px 0 0 5px;position:relative;vertical-align:middle;display:inline-block;font-weight:bold}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button{color:#efebe3;border-radius:3px;width:40px;margin:0}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button svg{width:25px;height:20px;fill:#efebe3}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=false]{background:#b2cce5}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=false] svg{fill:#1d3040}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=true]{background:#fc6399}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=true] svg{fill:#efebe3}@media only screen and (max-width: 480px){#settings-actions{margin-left:-42%}#settings-actions #buttons{width:150px;background:none}#settings-actions #buttons button{margin:0 5px 0 5px}}#error-index{width:100%;max-width:900px;margin:0 auto;padding:10px;height:100%;z-index:10;position:relative}#error-index label#title{font-size:100px;color:#fc6399;font-weight:500}#error-index label#message{font-size:50px;color:#f5ab35;font-weight:500}#error-index label#error{font-size:25px;color:#f64747;font-weight:500}#nav-index{width:100%;max-width:900px;margin:0 auto}#nav-index #nav-index-wrapper #nav-pages .nav-item{display:block;width:98%;background:#efebe3;border-radius:3px;color:#fc6399;height:30px;padding:10px;margin:0 0 10px 0;font-size:1.5em;cursor:move}#nav-index #nav-index-wrapper #nav-pages .nav-item #item-arrows{fill:#1d3040;width:40px;height:30px}#nav-index #nav-index-wrapper #nav-pages label{display:inline-block;vertical-align:middle;padding:0;margin:-15px 0 0 10px;cursor:move}#nav-index #nav-index-wrapper #nav-pages #nav-btns{float:right;top:-5px;position:relative}#nav-index #nav-index-wrapper #nav-pages #nav-btns button{color:#efebe3;border-radius:3px;width:40px;margin:0 10px 0 10px}#nav-index #nav-index-wrapper #nav-pages #nav-btns button svg{fill:#efebe3;width:25px;height:20px}@media only screen and (max-width: 375px){#nav-index #nav-index-wrapper #nav-pages .nav-item{width:94.5%;font-size:1em}#nav-index #nav-index-wrapper #nav-pages .nav-item label{width:40%;vertical-align:top;margin-top:0px;line-height:1em}}@media only screen and (max-width: 320px){#nav-index #nav-index-wrapper #nav-pages .nav-item{width:94.5%;font-size:1em}#nav-index #nav-index-wrapper #nav-pages .nav-item label{width:37%;vertical-align:top;margin-top:0px;line-height:1em}}form{display:inline-block}form a{color:#1d3040}form p{background:#f5ab35;color:#1d3040;padding:5px;display:block;border-radius:5px;text-align:left}input[type=email],input[type=password],input[type=text]{border:0;border-radius:5px;padding:5px;margin:10px 5px 0 0;font:18px Helvetica,Arial,sans-serif;display:inline-block;background:#1d3040;color:#f5ab35}textarea{border:0;border-radius:3px;color:#efebe3;font:15px Helvetica,Arial,sans-serif;background:#1d3040}button,input[type=submit]{background:#fc6399;color:#1d3040;font:20px Helvetica,Arial,sans-serif;border-radius:5px;position:relative;cursor:pointer;border:0;padding:10px 0 5px 0;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear}select{font:14px Helvetica,Arial,sans-serif;border:1px solid #b2cce5;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:#1d3040}::-webkit-input-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}:-moz-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}::-moz-placeholder{font:15px Helvetica,Arial,sans-serif;color:#efebe3}:-ms-input-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}#post-index{width:100%;max-width:900px;margin:0 auto}#post-index #post-index-wrapper{overflow:hidden}#post-index #post-index-wrapper #post-index-header{margin:10px 0 0 0}#post-index #post-index-wrapper #post-index-header #post-index-header-left{text-transform:capitalize;display:inline-block;width:50%;color:#efebe3;font-size:3em}#post-index #post-index-wrapper #post-index-header #post-index-header-right{text-align:right;display:inline-block;width:50%}#post-index #post-index-wrapper #post-index-header #post-index-header-right a button{color:#efebe3;border-radius:3px;margin-left:10px;width:55px}#post-index #post-index-wrapper #post-index-header #post-index-header-right a button svg{width:20px;height:17px;fill:#efebe3}#post-index #post-index-wrapper #post-index-header #post-index-header-right .current-filter{color:#fc6399;text-decoration-color:#b2cce5}#post-index #post-index-wrapper #posts-list{margin:20px 0 0 0}#post-index #post-index-wrapper #posts-list a.page-link{background:#efebe3;display:inline-block;vertical-align:top;width:100%;text-decoration:none;margin:0 0 20px 0;border-radius:3px;overflow:hidden;color:#000}#post-index #post-index-wrapper #posts-list a.page-link label{font-size:2em;font-weight:500;padding:10px;display:inline-block;vertical-align:top;width:100%}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg{width:100%;height:350px;background-color:#fc6399;position:relative}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg label{font-size:2em;font-weight:700;color:#efebe3;padding:5px;vertical-align:top;display:inline-block;word-wrap:break-word;width:100%;text-align:center;position:relative;top:35%;text-shadow:2px 2px 0 #32302f}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta{width:100%;background:linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);border-radius:3px;margin:auto;bottom:0;position:absolute;padding:0 0 20px 0}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options{width:100%;bottom:0;position:absolute}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left{display:inline-block;vertical-align:top;width:50%;position:relative;background:none}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button{border-radius:3px;background:#1d3040;margin:0 0 10px 10px}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button svg{width:40px;height:20px;fill:#b2cce5}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left .item-options{border-radius:3px;margin:5px;display:inline-block}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=false]{background:#1d3040}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=false] svg{fill:#b2cce5}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=true]{background:#f5ab35}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=true] svg{fill:#1d3040}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-right{display:inline-block;width:50%;text-align:right}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-right span{font-weight:bold;display:block;background:#efebe3;color:#1d3040;border-radius:3px;font-size:.6em;text-align:center;position:relative;padding:5px;float:right;margin:0 10px 0 0;bottom:-15px}#post-index #post-index-wrapper #posts-list a.page-link p{padding:5px 10px 5px 10px;font-size:1.2em;font-weight:400}#post-index #post-index-wrapper .paginate{width:260px;display:block;margin:0 auto}#post-index #post-index-wrapper .paginate a{display:inline-block;vertical-align:top}#post-index #post-index-wrapper .paginate span.count{text-align:center;padding:5px;margin-top:-2px;display:inline-block;width:190px;font-size:1.5em;color:#f5ab35}#post-edit-index{width:100%;overflow:hidden}#post-edit-index #post-edit-index-wrapper{width:100%}#post-edit-index #post-edit-index-wrapper #post-header{background:#fc6399}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper{max-width:900px;margin:0 auto;padding:.75rem}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper label{color:#efebe3;font-size:.8em;font-family:Helvetica,Arial,sans-serif;font-weight:600}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper span{color:#1d3040;font-size:1.5em}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-title #post_title{background:#efebe3;font-family:Helvetica,Arial,sans-serif;width:97.6%;height:80px;font-size:2em;color:#1d3040;padding:5px;margin:0 0 5px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-title #calendar-icon{background:#05090b;border-radius:3px 0 0 3px;display:inline-block;padding:5.2px;color:#b2cce5}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post_tags{background:#efebe3;font-family:Helvetica,Arial,sans-serif;width:97.6%;height:80px;color:#1d3040;padding:5px;margin:0 0 5px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options{display:inline-block;vertical-align:top;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button:nth-child(1){border-radius:3px 0 0 3px}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button:nth-child(4){border-radius:0 3px 3px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options a button{border-radius:0 3px 3px 0 !important}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button{width:25%;height:45px;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;margin:0;border-radius:0;display:inline-block;vertical-align:top;text-align:center}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=false]{background:#1d3040}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=false] svg{fill:#b2cce5}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=true]{background:#f5ab35}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=true] svg{fill:#1d3040}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options #layouts{padding:7px 0 0 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options #layouts label{color:#1d3040;font-size:1em}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options #layouts select{background:#1d3040;color:#b2cce5;border-radius:3px;border-color:#1d3040;margin:5px 0 0 0;width:100%;padding:5px;font-size:1em}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #featured-image-upload,#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-image-upload{display:none}#post-edit-index #post-edit-index-wrapper #post-feature{width:100%}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop{display:flex;align-items:center;justify-content:center;width:100%;min-height:200px;background:#000;color:#1d3040;vertical-align:middle;font-family:"Lucida Console",Monaco,monospace}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop label{cursor:pointer}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop img{width:100%;margin:0;padding:0}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn{position:absolute;margin:20px}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn #new-feature-upload{padding-top:4px;background:#efebe3}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn #new-feature-upload svg{fill:#fc6399}#post-edit-index #post-edit-index-wrapper #edit-post{width:100%;max-width:880px;margin:0 auto}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper{max-width:900px;border-radius:5px;margin:40px 0 40px 0;overflow:hidden}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper pre{margin:0}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper pre code{font-family:"Lucida Console",Monaco,monospace;padding:5px;border-radius:5px;line-height:1.6em;font-size:1.25em;color:#fde3a7;word-wrap:normal;white-space:pre-wrap;line-break:normal;-webkit-line-break:normal;-o-line-break:normal;-moz-line-break:normal;display:inline-block;width:100%;max-width:900px;min-height:200px}@media only screen and (max-width: 800px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:37.6%}}@media only screen and (max-width: 768px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:43.1%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control{max-width:100%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:9.91%}}@media only screen and (max-width: 640px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:42%}}@media only screen and (max-width: 480px){#post-index #post-index-wrapper #post-index-header #post-index-header-left{font-size:1.35em;width:30%}#post-index #post-index-wrapper #post-index-header #post-index-header-right{width:70%;vertical-align:top}#post-index #post-index-wrapper #post-index-menu a{font-size:.95em}#post-index #post-index-wrapper #post-index-menu a label{display:none;visibility:hidden}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-options{margin:5px 0 0 0;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:89.2%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:9.91%}}@media only screen and (max-width: 320px){#post-index #post-index-wrapper #post-index-menu a{font-size:.95em}#post-index #post-index-wrapper #post-index-menu a label{display:none;visibility:hidden}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post_title{width:96.4%}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-options{margin:5px 0 0 0;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:83.1%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #post_tags{width:96.4%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control .content-editor-btn-icon svg.icons{width:20px}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control .post-sumbit-btn svg.icons{width:20px}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:10%}}.dp-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.75);z-index:2000}.dp{position:relative;background:#1d3040;box-shadow:2px 2px 16px rgba(0,0,0,.25);line-height:1.4;border-radius:4px;max-height:400px;z-index:5000;padding-top:6px;overflow:hidden;-webkit-tap-highlight-color:transparent}.dp:before{content:" ";height:6px;position:absolute;top:0;left:0;right:0;background:#fc6399}.dp-permanent .dp{padding-top:0;border:1px solid #eee;box-shadow:none}.dp-permanent .dp:before{display:none}.dp-cal{min-height:300px}.dp-below{position:absolute;font-size:.8em;width:400px;max-width:90vw}.dp-permanent{position:relative;font-size:.8em;width:400px;max-width:100vw}.dp-permanent .dp{z-index:0}.dp-modal .dp{position:absolute;top:50%;left:50%;max-width:600px;width:calc(100% - 4em);transform:translate(-50%, -50%);animation:slide-up .3s forwards}.dp-months{padding:24px}.dp-years{box-sizing:border-box;max-height:400px;padding:8px 0;overflow:auto !important}.dp-cal-month,.dp-cal-year,.dp-day,.dp-month,.dp-year{box-sizing:border-box;text-align:center;text-decoration:none;position:relative;color:#efebe3;border-radius:2px;border:0;background:transparent}.dp-cal-header{position:relative;text-align:center;padding-bottom:16px;background:#0d161d}.dp-next,.dp-prev{position:absolute;width:30px;height:30px;overflow:hidden;top:14px;color:#000;border-radius:2px;border:0;background:transparent}.dp-next:focus,.dp-prev:focus,.dp-next:hover,.dp-prev:hover{outline:none;color:inherit}.dp-prev{left:24px}.dp-next{right:24px}.dp-prev:before,.dp-next:before{content:"";border:2px solid;width:10px;height:10px;display:inline-block;transform:rotate(-45deg);transition:border-color .2s;margin:9px 0 40px 4px}.dp-prev:before{border-right:0;border-bottom:0}.dp-next:before{border-left:0;border-top:0;margin-left:0;margin-right:4px}.dp-cal-month,.dp-cal-year{display:inline-block;font-size:1.4em;padding:16px 8px 8px;outline:none}.dp-cal-footer{text-align:center;background:#0d161d}.dp-day-today:after{content:"";height:0;width:0;border:7px solid #fc6399;border-bottom-color:transparent;border-left-color:transparent;position:absolute;top:0;right:0}.dp-close,.dp-clear,.dp-today{box-sizing:border-box;display:inline-block;width:33%;padding:8px;text-decoration:none;color:#000;border:0;background:transparent}.dp-permanent .dp-close,.dp-permanent .dp-clear{display:none}.dp-close:active,.dp-clear:active,.dp-today:active,.dp-next:active,.dp-prev:active,.dp-cal-month:active,.dp-cal-year:active{background:#fc6399;color:#efebe3}@media screen and (min-device-width: 1200px){.dp-close:hover,.dp-close:focus,.dp-clear:hover,.dp-clear:focus,.dp-today:hover,.dp-today:focus,.dp-next:hover,.dp-next:focus,.dp-prev:hover,.dp-prev:focus,.dp-cal-month:focus,.dp-cal-month:hover,.dp-cal-year:hover,.dp-cal-year:focus{background:#fc6399;color:#efebe3}}.dp-col-header,.dp-day{width:14.28571429%;display:inline-block;padding:8px;text-align:center}.dp-col-header{color:#aaa;text-transform:uppercase;font-weight:300;font-size:.8em;padding:8px 0}.dp-month{width:33%;display:inline-block;padding:8px}.dp-year{display:block;padding:8px 40px;width:100%}.dp-edge-day{color:#aaa}.dp-day:hover,.dp-month:hover,.dp-year:hover,.dp-current:focus,.dp-current,.dp-day:focus,.dp-month:focus,.dp-year:focus{outline:none;background:#000;color:#efebe3}.dp-selected:hover,.dp-selected:focus,.dp-selected{background:#fc6399;color:#000}.dp-day-disabled{background:transparent;color:#ddd}.dp-day-disabled:focus,.dp-day-disabled:hover{background:#ddd}.dp-focuser{position:absolute;z-index:0;top:50%;left:50%}@media(max-width: 480px),(max-height: 480px){.dp-modal .dp{font-size:.9em;width:auto;width:100%}.dp-day-of-week,.dp-day{padding:8px}}@keyframes slide-up{0%{transform:translate(-50%, 100%)}100%{transform:translate(-50%, -50%)}}#edit-control{top:1px;border-radius:3px;width:100%;max-width:880px;margin-top:30px;z-index:2000}#edit-control button:nth-child(1){border-radius:3px 0 0 3px}#edit-control button:nth-child(10){border-radius:0 3px 3px 0}#edit-control button{background:#b2cce5;width:10%;height:39px;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;margin:0;border-radius:0;display:inline-block;vertical-align:top;text-align:center}#edit-control button:hover{background:#6699cb}#edit-control #option-update{padding:5px 5px 1px 5px;display:inline-block;vertical-align:top;text-align:center}#edit-control .icon-hide{display:none;visibility:hidden}#edit-control .submit-start{background:#efebe3}#edit-control .submit-start svg{fill:#32cd32}#edit-control .submit-cool{background:#32cd32}#edit-control .submit-cool svg{fill:#efebe3}#edit-control .submit-delete{background:#f64747 !important}#edit-control .submit-delete svg{fill:#efebe3 !important}#edit-control #option-date{height:30px;padding-top:6px}#edit-control #option-date svg{margin:-13px 5px 0 0;display:inline-block;vertical-align:top;fill:#efebe3}#edit-control .content-editor-btn-icon{padding:5px 5px 1px 5px;color:#1d3040}#edit-control .content-editor-btn-icon svg{fill:#1d3040}#edit-control .content-editor-btn-text{padding:5px;color:#1d3040}#edit-control #option-bold{font-weight:bold;text-decoration:none}#edit-control #option-italic{font-weight:bold;text-decoration:none;font-style:italic}#edit-control #option-strikethrough{font-weight:bold;text-decoration:line-through;font-style:italic}.hljs{display:block;overflow-x:auto;padding:.5em;background:#13202b}.hljs,.hljs-subst{color:#ebdbb2}.hljs-deletion,.hljs-formula,.hljs-keyword .hljs-selector-tag{color:#fde3a7;font-style:italic}.hljs-link{color:#fc6399}.hljs-built_in,.hljs-emphasis,.hljs-name,.hljs-quote,.hljs-strong,.hljs-title,.hljs-variable{color:#ffa07a}.hljs-attr,.hljs-params,.hljs-template-tag,.hljs-type{color:#89c4f4}.hljs-builtin-name,.hljs-doctag,.hljs-literal,.hljs-number{color:#8f3f71}.hljs-code,.hljs-meta,.hljs-regexp,.hljs-selector-id,.hljs-template-variable{color:#f5ab35}.hljs-addition,.hljs-meta-string,.hljs-section,.hljs-selector-attr,.hljs-selector-class,.hljs-string,.hljs-symbol{color:#f6dd74}.hljs-attribute,.hljs-bullet,.hljs-class,.hljs-function,.hljs-function .hljs-keyword,.hljs-meta-keyword,.hljs-selector-pseudo,.hljs-tag{color:#90b1cc}.hljs-comment{color:#928374}.hljs-link_label,.hljs-literal,.hljs-number{color:#d3869b}.hljs-comment,.hljs-emphasis{font-style:italic}.hljs-section,.hljs-strong,.hljs-tag{font-weight:normal}/*# sourceMappingURL=dash.css.map */ +.column{display:block;flex-basis:0;flex-grow:1;flex-shrink:1;padding:.75rem}.columns.is-mobile>.column.is-narrow{flex:none;width:unset}.columns.is-mobile>.column.is-full{flex:none;width:100%}.columns.is-mobile>.column.is-three-quarters{flex:none;width:75%}.columns.is-mobile>.column.is-two-thirds{flex:none;width:66.6666%}.columns.is-mobile>.column.is-half{flex:none;width:50%}.columns.is-mobile>.column.is-one-third{flex:none;width:33.3333%}.columns.is-mobile>.column.is-one-quarter{flex:none;width:25%}.columns.is-mobile>.column.is-one-fifth{flex:none;width:20%}.columns.is-mobile>.column.is-two-fifths{flex:none;width:40%}.columns.is-mobile>.column.is-three-fifths{flex:none;width:60%}.columns.is-mobile>.column.is-four-fifths{flex:none;width:80%}.columns.is-mobile>.column.is-offset-three-quarters{margin-left:75%}.columns.is-mobile>.column.is-offset-two-thirds{margin-left:66.6666%}.columns.is-mobile>.column.is-offset-half{margin-left:50%}.columns.is-mobile>.column.is-offset-one-third{margin-left:33.3333%}.columns.is-mobile>.column.is-offset-one-quarter{margin-left:25%}.columns.is-mobile>.column.is-offset-one-fifth{margin-left:20%}.columns.is-mobile>.column.is-offset-two-fifths{margin-left:40%}.columns.is-mobile>.column.is-offset-three-fifths{margin-left:60%}.columns.is-mobile>.column.is-offset-four-fifths{margin-left:80%}.columns.is-mobile>.column.is-0{flex:none;width:0%}.columns.is-mobile>.column.is-offset-0{margin-left:0%}.columns.is-mobile>.column.is-1{flex:none;width:8.33333337%}.columns.is-mobile>.column.is-offset-1{margin-left:8.33333337%}.columns.is-mobile>.column.is-2{flex:none;width:16.66666674%}.columns.is-mobile>.column.is-offset-2{margin-left:16.66666674%}.columns.is-mobile>.column.is-3{flex:none;width:25%}.columns.is-mobile>.column.is-offset-3{margin-left:25%}.columns.is-mobile>.column.is-4{flex:none;width:33.33333337%}.columns.is-mobile>.column.is-offset-4{margin-left:33.33333337%}.columns.is-mobile>.column.is-5{flex:none;width:41.66666674%}.columns.is-mobile>.column.is-offset-5{margin-left:41.66666674%}.columns.is-mobile>.column.is-6{flex:none;width:50%}.columns.is-mobile>.column.is-offset-6{margin-left:50%}.columns.is-mobile>.column.is-7{flex:none;width:58.33333337%}.columns.is-mobile>.column.is-offset-7{margin-left:58.33333337%}.columns.is-mobile>.column.is-8{flex:none;width:66.66666674%}.columns.is-mobile>.column.is-offset-8{margin-left:66.66666674%}.columns.is-mobile>.column.is-9{flex:none;width:75%}.columns.is-mobile>.column.is-offset-9{margin-left:75%}.columns.is-mobile>.column.is-10{flex:none;width:83.33333337%}.columns.is-mobile>.column.is-offset-10{margin-left:83.33333337%}.columns.is-mobile>.column.is-11{flex:none;width:91.66666674%}.columns.is-mobile>.column.is-offset-11{margin-left:91.66666674%}.columns.is-mobile>.column.is-12{flex:none;width:100%}.columns.is-mobile>.column.is-offset-12{margin-left:100%}@media screen and (max-width: 768px){.column.is-narrow-mobile{flex:none;width:unset}.column.is-full-mobile{flex:none;width:100%}.column.is-three-quarters-mobile{flex:none;width:75%}.column.is-two-thirds-mobile{flex:none;width:66.6666%}.column.is-half-mobile{flex:none;width:50%}.column.is-one-third-mobile{flex:none;width:33.3333%}.column.is-one-quarter-mobile{flex:none;width:25%}.column.is-one-fifth-mobile{flex:none;width:20%}.column.is-two-fifths-mobile{flex:none;width:40%}.column.is-three-fifths-mobile{flex:none;width:60%}.column.is-four-fifths-mobile{flex:none;width:80%}.column.is-offset-three-quarters-mobile{margin-left:75%}.column.is-offset-two-thirds-mobile{margin-left:66.6666%}.column.is-offset-half-mobile{margin-left:50%}.column.is-offset-one-third-mobile{margin-left:33.3333%}.column.is-offset-one-quarter-mobile{margin-left:25%}.column.is-offset-one-fifth-mobile{margin-left:20%}.column.is-offset-two-fifths-mobile{margin-left:40%}.column.is-offset-three-fifths-mobile{margin-left:60%}.column.is-offset-four-fifths-mobile{margin-left:80%}.column.is-0-mobile{flex:none;width:0%}.column.is-offset-0-mobile{margin-left:0%}.column.is-1-mobile{flex:none;width:8.33333337%}.column.is-offset-1-mobile{margin-left:8.33333337%}.column.is-2-mobile{flex:none;width:16.66666674%}.column.is-offset-2-mobile{margin-left:16.66666674%}.column.is-3-mobile{flex:none;width:25%}.column.is-offset-3-mobile{margin-left:25%}.column.is-4-mobile{flex:none;width:33.33333337%}.column.is-offset-4-mobile{margin-left:33.33333337%}.column.is-5-mobile{flex:none;width:41.66666674%}.column.is-offset-5-mobile{margin-left:41.66666674%}.column.is-6-mobile{flex:none;width:50%}.column.is-offset-6-mobile{margin-left:50%}.column.is-7-mobile{flex:none;width:58.33333337%}.column.is-offset-7-mobile{margin-left:58.33333337%}.column.is-8-mobile{flex:none;width:66.66666674%}.column.is-offset-8-mobile{margin-left:66.66666674%}.column.is-9-mobile{flex:none;width:75%}.column.is-offset-9-mobile{margin-left:75%}.column.is-10-mobile{flex:none;width:83.33333337%}.column.is-offset-10-mobile{margin-left:83.33333337%}.column.is-11-mobile{flex:none;width:91.66666674%}.column.is-offset-11-mobile{margin-left:91.66666674%}.column.is-12-mobile{flex:none;width:100%}.column.is-offset-12-mobile{margin-left:100%}}@media screen and (min-width: 769px),print{.column.is-narrow,.column.is-narrow-tablet{flex:none;width:unset}.column.is-full,.column.is-full-tablet{flex:none;width:100%}.column.is-three-quarters,.column.is-three-quarters-tablet{flex:none;width:75%}.column.is-two-thirds,.column.is-two-thirds-tablet{flex:none;width:66.6666%}.column.is-half,.column.is-half-tablet{flex:none;width:50%}.column.is-one-third,.column.is-one-third-tablet{flex:none;width:33.3333%}.column.is-one-quarter,.column.is-one-quarter-tablet{flex:none;width:25%}.column.is-one-fifth,.column.is-one-fifth-tablet{flex:none;width:20%}.column.is-two-fifths,.column.is-two-fifths-tablet{flex:none;width:40%}.column.is-three-fifths,.column.is-three-fifths-tablet{flex:none;width:60%}.column.is-four-fifths,.column.is-four-fifths-tablet{flex:none;width:80%}.column.is-offset-three-quarters,.column.is-offset-three-quarters-tablet{margin-left:75%}.column.is-offset-two-thirds,.column.is-offset-two-thirds-tablet{margin-left:66.6666%}.column.is-offset-half,.column.is-offset-half-tablet{margin-left:50%}.column.is-offset-one-third,.column.is-offset-one-third-tablet{margin-left:33.3333%}.column.is-offset-one-quarter,.column.is-offset-one-quarter-tablet{margin-left:25%}.column.is-offset-one-fifth,.column.is-offset-one-fifth-tablet{margin-left:20%}.column.is-offset-two-fifths,.column.is-offset-two-fifths-tablet{margin-left:40%}.column.is-offset-three-fifths,.column.is-offset-three-fifths-tablet{margin-left:60%}.column.is-offset-four-fifths,.column.is-offset-four-fifths-tablet{margin-left:80%}.column.is-0,.column.is-0-tablet{flex:none;width:0%}.column.is-offset-0,.column.is-offset-0-tablet{margin-left:0%}.column.is-1,.column.is-1-tablet{flex:none;width:8.33333337%}.column.is-offset-1,.column.is-offset-1-tablet{margin-left:8.33333337%}.column.is-2,.column.is-2-tablet{flex:none;width:16.66666674%}.column.is-offset-2,.column.is-offset-2-tablet{margin-left:16.66666674%}.column.is-3,.column.is-3-tablet{flex:none;width:25%}.column.is-offset-3,.column.is-offset-3-tablet{margin-left:25%}.column.is-4,.column.is-4-tablet{flex:none;width:33.33333337%}.column.is-offset-4,.column.is-offset-4-tablet{margin-left:33.33333337%}.column.is-5,.column.is-5-tablet{flex:none;width:41.66666674%}.column.is-offset-5,.column.is-offset-5-tablet{margin-left:41.66666674%}.column.is-6,.column.is-6-tablet{flex:none;width:50%}.column.is-offset-6,.column.is-offset-6-tablet{margin-left:50%}.column.is-7,.column.is-7-tablet{flex:none;width:58.33333337%}.column.is-offset-7,.column.is-offset-7-tablet{margin-left:58.33333337%}.column.is-8,.column.is-8-tablet{flex:none;width:66.66666674%}.column.is-offset-8,.column.is-offset-8-tablet{margin-left:66.66666674%}.column.is-9,.column.is-9-tablet{flex:none;width:75%}.column.is-offset-9,.column.is-offset-9-tablet{margin-left:75%}.column.is-10,.column.is-10-tablet{flex:none;width:83.33333337%}.column.is-offset-10,.column.is-offset-10-tablet{margin-left:83.33333337%}.column.is-11,.column.is-11-tablet{flex:none;width:91.66666674%}.column.is-offset-11,.column.is-offset-11-tablet{margin-left:91.66666674%}.column.is-12,.column.is-12-tablet{flex:none;width:100%}.column.is-offset-12,.column.is-offset-12-tablet{margin-left:100%}}@media screen and (max-width: 1023px){.column.is-narrow-touch{flex:none;width:unset}.column.is-full-touch{flex:none;width:100%}.column.is-three-quarters-touch{flex:none;width:75%}.column.is-two-thirds-touch{flex:none;width:66.6666%}.column.is-half-touch{flex:none;width:50%}.column.is-one-third-touch{flex:none;width:33.3333%}.column.is-one-quarter-touch{flex:none;width:25%}.column.is-one-fifth-touch{flex:none;width:20%}.column.is-two-fifths-touch{flex:none;width:40%}.column.is-three-fifths-touch{flex:none;width:60%}.column.is-four-fifths-touch{flex:none;width:80%}.column.is-offset-three-quarters-touch{margin-left:75%}.column.is-offset-two-thirds-touch{margin-left:66.6666%}.column.is-offset-half-touch{margin-left:50%}.column.is-offset-one-third-touch{margin-left:33.3333%}.column.is-offset-one-quarter-touch{margin-left:25%}.column.is-offset-one-fifth-touch{margin-left:20%}.column.is-offset-two-fifths-touch{margin-left:40%}.column.is-offset-three-fifths-touch{margin-left:60%}.column.is-offset-four-fifths-touch{margin-left:80%}.column.is-0-touch{flex:none;width:0%}.column.is-offset-0-touch{margin-left:0%}.column.is-1-touch{flex:none;width:8.33333337%}.column.is-offset-1-touch{margin-left:8.33333337%}.column.is-2-touch{flex:none;width:16.66666674%}.column.is-offset-2-touch{margin-left:16.66666674%}.column.is-3-touch{flex:none;width:25%}.column.is-offset-3-touch{margin-left:25%}.column.is-4-touch{flex:none;width:33.33333337%}.column.is-offset-4-touch{margin-left:33.33333337%}.column.is-5-touch{flex:none;width:41.66666674%}.column.is-offset-5-touch{margin-left:41.66666674%}.column.is-6-touch{flex:none;width:50%}.column.is-offset-6-touch{margin-left:50%}.column.is-7-touch{flex:none;width:58.33333337%}.column.is-offset-7-touch{margin-left:58.33333337%}.column.is-8-touch{flex:none;width:66.66666674%}.column.is-offset-8-touch{margin-left:66.66666674%}.column.is-9-touch{flex:none;width:75%}.column.is-offset-9-touch{margin-left:75%}.column.is-10-touch{flex:none;width:83.33333337%}.column.is-offset-10-touch{margin-left:83.33333337%}.column.is-11-touch{flex:none;width:91.66666674%}.column.is-offset-11-touch{margin-left:91.66666674%}.column.is-12-touch{flex:none;width:100%}.column.is-offset-12-touch{margin-left:100%}}@media screen and (min-width: 1024px){.column.is-narrow-desktop{flex:none;width:unset}.column.is-full-desktop{flex:none;width:100%}.column.is-three-quarters-desktop{flex:none;width:75%}.column.is-two-thirds-desktop{flex:none;width:66.6666%}.column.is-half-desktop{flex:none;width:50%}.column.is-one-third-desktop{flex:none;width:33.3333%}.column.is-one-quarter-desktop{flex:none;width:25%}.column.is-one-fifth-desktop{flex:none;width:20%}.column.is-two-fifths-desktop{flex:none;width:40%}.column.is-three-fifths-desktop{flex:none;width:60%}.column.is-four-fifths-desktop{flex:none;width:80%}.column.is-offset-three-quarters-desktop{margin-left:75%}.column.is-offset-two-thirds-desktop{margin-left:66.6666%}.column.is-offset-half-desktop{margin-left:50%}.column.is-offset-one-third-desktop{margin-left:33.3333%}.column.is-offset-one-quarter-desktop{margin-left:25%}.column.is-offset-one-fifth-desktop{margin-left:20%}.column.is-offset-two-fifths-desktop{margin-left:40%}.column.is-offset-three-fifths-desktop{margin-left:60%}.column.is-offset-four-fifths-desktop{margin-left:80%}.column.is-0-desktop{flex:none;width:0%}.column.is-offset-0-desktop{margin-left:0%}.column.is-1-desktop{flex:none;width:8.33333337%}.column.is-offset-1-desktop{margin-left:8.33333337%}.column.is-2-desktop{flex:none;width:16.66666674%}.column.is-offset-2-desktop{margin-left:16.66666674%}.column.is-3-desktop{flex:none;width:25%}.column.is-offset-3-desktop{margin-left:25%}.column.is-4-desktop{flex:none;width:33.33333337%}.column.is-offset-4-desktop{margin-left:33.33333337%}.column.is-5-desktop{flex:none;width:41.66666674%}.column.is-offset-5-desktop{margin-left:41.66666674%}.column.is-6-desktop{flex:none;width:50%}.column.is-offset-6-desktop{margin-left:50%}.column.is-7-desktop{flex:none;width:58.33333337%}.column.is-offset-7-desktop{margin-left:58.33333337%}.column.is-8-desktop{flex:none;width:66.66666674%}.column.is-offset-8-desktop{margin-left:66.66666674%}.column.is-9-desktop{flex:none;width:75%}.column.is-offset-9-desktop{margin-left:75%}.column.is-10-desktop{flex:none;width:83.33333337%}.column.is-offset-10-desktop{margin-left:83.33333337%}.column.is-11-desktop{flex:none;width:91.66666674%}.column.is-offset-11-desktop{margin-left:91.66666674%}.column.is-12-desktop{flex:none;width:100%}.column.is-offset-12-desktop{margin-left:100%}}@media screen and (min-width: 1216px){.column.is-narrow-widescreen{flex:none;width:unset}.column.is-full-widescreen{flex:none;width:100%}.column.is-three-quarters-widescreen{flex:none;width:75%}.column.is-two-thirds-widescreen{flex:none;width:66.6666%}.column.is-half-widescreen{flex:none;width:50%}.column.is-one-third-widescreen{flex:none;width:33.3333%}.column.is-one-quarter-widescreen{flex:none;width:25%}.column.is-one-fifth-widescreen{flex:none;width:20%}.column.is-two-fifths-widescreen{flex:none;width:40%}.column.is-three-fifths-widescreen{flex:none;width:60%}.column.is-four-fifths-widescreen{flex:none;width:80%}.column.is-offset-three-quarters-widescreen{margin-left:75%}.column.is-offset-two-thirds-widescreen{margin-left:66.6666%}.column.is-offset-half-widescreen{margin-left:50%}.column.is-offset-one-third-widescreen{margin-left:33.3333%}.column.is-offset-one-quarter-widescreen{margin-left:25%}.column.is-offset-one-fifth-widescreen{margin-left:20%}.column.is-offset-two-fifths-widescreen{margin-left:40%}.column.is-offset-three-fifths-widescreen{margin-left:60%}.column.is-offset-four-fifths-widescreen{margin-left:80%}.column.is-0-widescreen{flex:none;width:0%}.column.is-offset-0-widescreen{margin-left:0%}.column.is-1-widescreen{flex:none;width:8.33333337%}.column.is-offset-1-widescreen{margin-left:8.33333337%}.column.is-2-widescreen{flex:none;width:16.66666674%}.column.is-offset-2-widescreen{margin-left:16.66666674%}.column.is-3-widescreen{flex:none;width:25%}.column.is-offset-3-widescreen{margin-left:25%}.column.is-4-widescreen{flex:none;width:33.33333337%}.column.is-offset-4-widescreen{margin-left:33.33333337%}.column.is-5-widescreen{flex:none;width:41.66666674%}.column.is-offset-5-widescreen{margin-left:41.66666674%}.column.is-6-widescreen{flex:none;width:50%}.column.is-offset-6-widescreen{margin-left:50%}.column.is-7-widescreen{flex:none;width:58.33333337%}.column.is-offset-7-widescreen{margin-left:58.33333337%}.column.is-8-widescreen{flex:none;width:66.66666674%}.column.is-offset-8-widescreen{margin-left:66.66666674%}.column.is-9-widescreen{flex:none;width:75%}.column.is-offset-9-widescreen{margin-left:75%}.column.is-10-widescreen{flex:none;width:83.33333337%}.column.is-offset-10-widescreen{margin-left:83.33333337%}.column.is-11-widescreen{flex:none;width:91.66666674%}.column.is-offset-11-widescreen{margin-left:91.66666674%}.column.is-12-widescreen{flex:none;width:100%}.column.is-offset-12-widescreen{margin-left:100%}}@media screen and (min-width: 1408px){.column.is-narrow-fullhd{flex:none;width:unset}.column.is-full-fullhd{flex:none;width:100%}.column.is-three-quarters-fullhd{flex:none;width:75%}.column.is-two-thirds-fullhd{flex:none;width:66.6666%}.column.is-half-fullhd{flex:none;width:50%}.column.is-one-third-fullhd{flex:none;width:33.3333%}.column.is-one-quarter-fullhd{flex:none;width:25%}.column.is-one-fifth-fullhd{flex:none;width:20%}.column.is-two-fifths-fullhd{flex:none;width:40%}.column.is-three-fifths-fullhd{flex:none;width:60%}.column.is-four-fifths-fullhd{flex:none;width:80%}.column.is-offset-three-quarters-fullhd{margin-left:75%}.column.is-offset-two-thirds-fullhd{margin-left:66.6666%}.column.is-offset-half-fullhd{margin-left:50%}.column.is-offset-one-third-fullhd{margin-left:33.3333%}.column.is-offset-one-quarter-fullhd{margin-left:25%}.column.is-offset-one-fifth-fullhd{margin-left:20%}.column.is-offset-two-fifths-fullhd{margin-left:40%}.column.is-offset-three-fifths-fullhd{margin-left:60%}.column.is-offset-four-fifths-fullhd{margin-left:80%}.column.is-0-fullhd{flex:none;width:0%}.column.is-offset-0-fullhd{margin-left:0%}.column.is-1-fullhd{flex:none;width:8.33333337%}.column.is-offset-1-fullhd{margin-left:8.33333337%}.column.is-2-fullhd{flex:none;width:16.66666674%}.column.is-offset-2-fullhd{margin-left:16.66666674%}.column.is-3-fullhd{flex:none;width:25%}.column.is-offset-3-fullhd{margin-left:25%}.column.is-4-fullhd{flex:none;width:33.33333337%}.column.is-offset-4-fullhd{margin-left:33.33333337%}.column.is-5-fullhd{flex:none;width:41.66666674%}.column.is-offset-5-fullhd{margin-left:41.66666674%}.column.is-6-fullhd{flex:none;width:50%}.column.is-offset-6-fullhd{margin-left:50%}.column.is-7-fullhd{flex:none;width:58.33333337%}.column.is-offset-7-fullhd{margin-left:58.33333337%}.column.is-8-fullhd{flex:none;width:66.66666674%}.column.is-offset-8-fullhd{margin-left:66.66666674%}.column.is-9-fullhd{flex:none;width:75%}.column.is-offset-9-fullhd{margin-left:75%}.column.is-10-fullhd{flex:none;width:83.33333337%}.column.is-offset-10-fullhd{margin-left:83.33333337%}.column.is-11-fullhd{flex:none;width:91.66666674%}.column.is-offset-11-fullhd{margin-left:91.66666674%}.column.is-12-fullhd{flex:none;width:100%}.column.is-offset-12-fullhd{margin-left:100%}}.columns{margin-left:-0.75rem;margin-right:-0.75rem;margin-top:-0.75rem}.columns:last-child{margin-bottom:-0.75rem}.columns:not(:last-child){margin-bottom:calc(1.5rem - 0.75rem)}.columns.is-centered{justify-content:center}.columns.is-gapless{margin-left:0;margin-right:0;margin-top:0}.columns.is-gapless>.column{margin:0;padding:0 !important}.columns.is-gapless:not(:last-child){margin-bottom:1.5rem}.columns.is-gapless:last-child{margin-bottom:0}.columns.is-mobile{display:flex}.columns.is-multiline{flex-wrap:wrap}.columns.is-vcentered{align-items:center}@media screen and (min-width: 769px),print{.columns:not(.is-desktop){display:flex}}@media screen and (min-width: 1024px){.columns.is-desktop{display:flex}}.columns.is-variable{--columnGap: 0.75rem;margin-left:calc(-1*var(--columnGap));margin-right:calc(-1*var(--columnGap))}.columns.is-variable>.column{padding-left:var(--columnGap);padding-right:var(--columnGap)}.columns.is-variable.is-0{--columnGap: 0rem}@media screen and (max-width: 768px){.columns.is-variable.is-0-mobile{--columnGap: 0rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-0-tablet{--columnGap: 0rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-0-tablet-only{--columnGap: 0rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-0-touch{--columnGap: 0rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-0-desktop{--columnGap: 0rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-0-desktop-only{--columnGap: 0rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-0-widescreen{--columnGap: 0rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-0-widescreen-only{--columnGap: 0rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-0-fullhd{--columnGap: 0rem}}.columns.is-variable.is-1{--columnGap: 0.25rem}@media screen and (max-width: 768px){.columns.is-variable.is-1-mobile{--columnGap: 0.25rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-1-tablet{--columnGap: 0.25rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-1-tablet-only{--columnGap: 0.25rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-1-touch{--columnGap: 0.25rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-1-desktop{--columnGap: 0.25rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-1-desktop-only{--columnGap: 0.25rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-1-widescreen{--columnGap: 0.25rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-1-widescreen-only{--columnGap: 0.25rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-1-fullhd{--columnGap: 0.25rem}}.columns.is-variable.is-2{--columnGap: 0.5rem}@media screen and (max-width: 768px){.columns.is-variable.is-2-mobile{--columnGap: 0.5rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-2-tablet{--columnGap: 0.5rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-2-tablet-only{--columnGap: 0.5rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-2-touch{--columnGap: 0.5rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-2-desktop{--columnGap: 0.5rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-2-desktop-only{--columnGap: 0.5rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-2-widescreen{--columnGap: 0.5rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-2-widescreen-only{--columnGap: 0.5rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-2-fullhd{--columnGap: 0.5rem}}.columns.is-variable.is-3{--columnGap: 0.75rem}@media screen and (max-width: 768px){.columns.is-variable.is-3-mobile{--columnGap: 0.75rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-3-tablet{--columnGap: 0.75rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-3-tablet-only{--columnGap: 0.75rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-3-touch{--columnGap: 0.75rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-3-desktop{--columnGap: 0.75rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-3-desktop-only{--columnGap: 0.75rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-3-widescreen{--columnGap: 0.75rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-3-widescreen-only{--columnGap: 0.75rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-3-fullhd{--columnGap: 0.75rem}}.columns.is-variable.is-4{--columnGap: 1rem}@media screen and (max-width: 768px){.columns.is-variable.is-4-mobile{--columnGap: 1rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-4-tablet{--columnGap: 1rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-4-tablet-only{--columnGap: 1rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-4-touch{--columnGap: 1rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-4-desktop{--columnGap: 1rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-4-desktop-only{--columnGap: 1rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-4-widescreen{--columnGap: 1rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-4-widescreen-only{--columnGap: 1rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-4-fullhd{--columnGap: 1rem}}.columns.is-variable.is-5{--columnGap: 1.25rem}@media screen and (max-width: 768px){.columns.is-variable.is-5-mobile{--columnGap: 1.25rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-5-tablet{--columnGap: 1.25rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-5-tablet-only{--columnGap: 1.25rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-5-touch{--columnGap: 1.25rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-5-desktop{--columnGap: 1.25rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-5-desktop-only{--columnGap: 1.25rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-5-widescreen{--columnGap: 1.25rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-5-widescreen-only{--columnGap: 1.25rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-5-fullhd{--columnGap: 1.25rem}}.columns.is-variable.is-6{--columnGap: 1.5rem}@media screen and (max-width: 768px){.columns.is-variable.is-6-mobile{--columnGap: 1.5rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-6-tablet{--columnGap: 1.5rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-6-tablet-only{--columnGap: 1.5rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-6-touch{--columnGap: 1.5rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-6-desktop{--columnGap: 1.5rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-6-desktop-only{--columnGap: 1.5rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-6-widescreen{--columnGap: 1.5rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-6-widescreen-only{--columnGap: 1.5rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-6-fullhd{--columnGap: 1.5rem}}.columns.is-variable.is-7{--columnGap: 1.75rem}@media screen and (max-width: 768px){.columns.is-variable.is-7-mobile{--columnGap: 1.75rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-7-tablet{--columnGap: 1.75rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-7-tablet-only{--columnGap: 1.75rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-7-touch{--columnGap: 1.75rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-7-desktop{--columnGap: 1.75rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-7-desktop-only{--columnGap: 1.75rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-7-widescreen{--columnGap: 1.75rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-7-widescreen-only{--columnGap: 1.75rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-7-fullhd{--columnGap: 1.75rem}}.columns.is-variable.is-8{--columnGap: 2rem}@media screen and (max-width: 768px){.columns.is-variable.is-8-mobile{--columnGap: 2rem}}@media screen and (min-width: 769px),print{.columns.is-variable.is-8-tablet{--columnGap: 2rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.columns.is-variable.is-8-tablet-only{--columnGap: 2rem}}@media screen and (max-width: 1023px){.columns.is-variable.is-8-touch{--columnGap: 2rem}}@media screen and (min-width: 1024px){.columns.is-variable.is-8-desktop{--columnGap: 2rem}}@media screen and (min-width: 1024px)and (max-width: 1215px){.columns.is-variable.is-8-desktop-only{--columnGap: 2rem}}@media screen and (min-width: 1216px){.columns.is-variable.is-8-widescreen{--columnGap: 2rem}}@media screen and (min-width: 1216px)and (max-width: 1407px){.columns.is-variable.is-8-widescreen-only{--columnGap: 2rem}}@media screen and (min-width: 1408px){.columns.is-variable.is-8-fullhd{--columnGap: 2rem}}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0;line-height:1em}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:60%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.55em;background:#1d3040;color:#1d3040;border-radius:2px;padding:0 2px 0 2px;margin:0 2px 0 0}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}h1,h2,h3{color:#efebe3}h1{font-size:2em;font-weight:400}h2{font-size:1.75em;font-weight:400}h3{font-size:1.5em;font-weight:300}html,body{background:#1d3040 linear-gradient(0deg, #1d3040 0%, #2d4a63 100%) no-repeat;font:400 1em Helvetica,Arial,sans-serif;height:100%}a{font:300 1em Helvetica,Arial,sans-serif;color:#b2cce5;text-decoration:underline}svg.icons{width:25px;fill:#b2cce5}#notifications{perspective:1000px;position:fixed;z-index:2000;height:55px;width:100%;display:block;align-items:center;justify-content:center;padding:0;margin-top:-55px}#notifications #notifyMessage{margin:0 auto;transition:all .6s cubic-bezier(0.83, 0.05, 0.28, 1);height:50px;width:500px;display:flex;align-items:center;justify-content:center;opacity:1;transform-style:preserve-3d;transform:rotateX(-120deg);transform-origin:50% 0}#notifications #notifyMessage #notify-good,#notifications #notifyMessage #notify-lame,#notifications #notifyMessage #notify-working{display:block}#notifications #notifyMessage #notify-working-box{-webkit-animation:spin 2s linear infinite;-moz-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-moz-keyframes spin{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes spin{100%{-webkit-transform:rotate(360deg)}}@keyframes spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#notifications #notifyMessage .notify-icon{background:#32302f;padding:8px 5px 5px 5px;border-radius:5px 0 0 5px;height:30px;width:30px;text-align:center;border:2px solid #efebe3}#notifications #notifyMessage p{color:#efebe3;background:#000;width:400px;height:28px;padding:15px 0 0 5px;border-radius:0 5px 5px 0;border:2px solid #efebe3;text-align:center}#notifications #notifyMessage .icons{fill:#efebe3}.notify-close{transform-style:preserve-3d;transform:rotateX(-120deg)}.notify-open{transform-style:preserve-3d;transform:rotateX(0deg)}.blog-container{width:100%}.main-container{margin:0 auto;z-index:10;position:relative;height:100%}.main-container section header{width:100%;max-width:900px;margin:10px auto;background:#efebe3;height:50px;border-radius:5px}.main-container section header #wrapper{padding:5px}.main-container section header #wrapper #left,.main-container section header #wrapper #right{width:49.7%;display:inline-block;vertical-align:top;min-height:60px}.main-container section header #wrapper #left #the-logo,.main-container section header #wrapper #right #the-logo{width:29px}.main-container section header #wrapper #right{text-align:right;color:#efebe3}.main-container section header #wrapper #right #dash-menu{text-align:right}.main-container section header #wrapper #right #dash-menu a button{border-radius:50px}.main-container section header #wrapper #right #dash-menu a button svg{-moz-transition:all .1s linear;-webkit-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;width:40px;height:20px;fill:#efebe3}.main-container section header #wrapper #right #dash-menu a:hover button{background:#1d3040}.main-container section header #wrapper #right #dash-menu a:hover svg{fill:#b2cce5}::-moz-selection{background-color:#fc6399;color:#efebe3}::selection{background-color:#fc6399;color:#efebe3}::-o-selection{background-color:#fc6399;color:#efebe3}::-ms-selection{background-color:#fc6399;color:#efebe3}::-webkit-selection{background-color:#fc6399;color:#efebe3}@media only screen and (max-width: 901px){.main-container{padding:10px}}@media only screen and (max-width: 800px){.main-container section header #wrapper #left,.main-container section header #wrapper #right{display:inline-block}}@media only screen and (max-width: 480px){.main-container section header #wrapper #left{width:30%}.main-container section header #wrapper #right{width:70%}}#dash-index-content{width:100%;height:100%;margin:0 auto}#dash-index-content #dash-index{width:100%;height:100%;z-index:10;position:relative}#dash-index-content #dash-index #dash-index-wrapper{width:100%;height:100%;margin:0 auto}#dash-index-content #dash-index #dash-index-wrapper .dash-init,#dash-index-content #dash-index #dash-index-wrapper .dash-restore{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#1d3040}#dash-index-content #dash-index #dash-index-wrapper .dash-init form,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form{background:#efebe3;padding:15px;width:300px;border-radius:5px;text-align:center}#dash-index-content #dash-index #dash-index-wrapper .dash-init form #the-logo,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form #the-logo{width:40px;margin:20px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form input,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form input{width:290px;margin:0 0 10px 0;height:30px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form button,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form button{width:300px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form div,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form div{background:#1d3040;color:#efebe3;border-radius:3px;padding:5px}#dash-index-content #dash-index #dash-index-wrapper .dash-init form div label,#dash-index-content #dash-index #dash-index-wrapper .dash-restore form div label{display:block;padding:5px;color:#f5ab35}#dash-index-content #dash-index #dash-index-wrapper .dash-restore{display:none;visibility:hidden}#dash-index-content #dash-index #dash-index-wrapper #dash-login{width:100%;height:100%;margin:0 auto;display:flex;align-items:center;justify-content:center}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset{width:300px;padding:.75em;background:#efebe3;border-radius:5px;color:#efebe3;text-align:center}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form #the-logo,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset #the-logo{width:40px;margin:20px}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form input,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset input{width:290px;margin:0 0 10px 0;height:30px}#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-form button,#dash-index-content #dash-index #dash-index-wrapper #dash-login #dash-reset button{width:300px}#dash-index-content #dash-index #dash-index-wrapper #dash-menu{padding:10px;width:90%;max-width:900px;margin:50px auto}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a{display:inline-block;vertical-align:top;background:#000;width:30%;padding:5px;border-radius:3px;color:#efebe3;margin:0 10px 10px 0}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a:hover{background:#000}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a svg{display:inline-block;vertical-align:top;fill:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-menu a label{display:inline-block;margin-top:5px;width:85%;text-align:center;cursor:pointer}#dash-index-content #dash-index #dash-index-wrapper #dash-recent{width:100%;max-width:900px;height:100%;padding:5px 0 0 0;margin:0 auto}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list{position:relative}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header{height:50px;margin-top:5px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-left{vertical-align:top;display:inline-block;width:50%;color:#efebe3;font-size:3em}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right{width:50%;text-align:right;vertical-align:top;display:inline-block;right:10px;color:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right a button{border-radius:3px;margin-left:10px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-header-right a button svg{-moz-transition:all .1s linear;-webkit-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;width:40px;height:20px;fill:#efebe3}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link{font-size:1.5em;font-weight:300;display:inline-block;border-radius:3px;vertical-align:top;text-decoration:none;position:relative}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link label{font-size:1.4em;font-weight:700;color:#efebe3;padding:5px;vertical-align:top;display:inline-block;word-wrap:break-word;width:100%;text-align:center;position:relative;top:35%;text-shadow:2px 2px 0 #32302f}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options{width:100%;position:absolute;bottom:0;border-radius:0 0 3px 3px;background:linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%)}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left{display:inline-block;vertical-align:top;width:50%;position:relative;background:none}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button{border-radius:3px;background:#1d3040;margin:0 0 10px 10px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button svg{width:40px;height:20px;fill:#b2cce5}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left .item-options{border-radius:3px;margin:5px;display:inline-block}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=false]{background:#1d3040}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=false] svg{fill:#b2cce5}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=true]{background:#f5ab35}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-left button[data-active=true] svg{fill:#1d3040}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-right{display:inline-block;width:50%;text-align:right}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a.post-link div#options #option-right span{font-weight:bold;display:block;background:#efebe3;color:#1d3040;border-radius:3px;font-size:.6em;text-align:center;position:relative;padding:5px;float:right;margin:0 10px 0 0;bottom:-15px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(3){width:100%;margin-bottom:20px;height:500px}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.6%;height:350px;margin:0 10px 20px 0}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(5),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(7){width:48.6%;height:350px;margin:0 0 20px 10px}@media only screen and (max-width: 768px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.9%}}@media only screen and (max-width: 640px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6){width:48.5%}}@media only screen and (max-width: 480px){#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header h3{width:40%}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list .recent-header .index-menu{width:60%}#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(3),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(4),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(5),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(6),#dash-index-content #dash-index #dash-index-wrapper #dash-recent #recent-list a:nth-child(7){width:100%;margin:15px 0 0 0;height:400px}}#settings-actions{position:fixed;width:40%;margin-top:-85px;left:50%;margin-left:-20%}#settings-actions #buttons{width:185px;margin:28px auto;text-align:center;background:#efebe3;padding:2px;border-radius:3px}#settings-actions #buttons button{color:#efebe3;border-radius:3px;width:40px;margin:0 10px 0 10px}#settings-actions #buttons button svg{width:25px;height:20px;fill:#efebe3}#settings-actions #buttons button[data-render=false]{background:#b2cce5}#settings-actions #buttons button[data-render=false] svg{fill:#1d3040}#settings-actions #buttons button[data-render=true]{background:#fc6399}#settings-actions #buttons button[data-render=true] svg{fill:#efebe3}#settings-index{width:94%;max-width:900px;margin:0 auto;overflow:hidden}#settings-index #settings-index-wrapper{padding:0}#settings-index #settings-index-wrapper button{margin-top:5px;width:100%;height:33px}#settings-index #settings-index-wrapper #member-settings,#settings-index #settings-index-wrapper #feature-settings,#settings-index #settings-index-wrapper #option-settings,#settings-index #settings-index-wrapper #token-settings,#settings-index #settings-index-wrapper #backup-settings{background:#efebe3;padding:0px;border-radius:5px 0 5px 0;width:100%;margin:20px auto}#settings-index #settings-index-wrapper #member-settings label,#settings-index #settings-index-wrapper #feature-settings label,#settings-index #settings-index-wrapper #option-settings label,#settings-index #settings-index-wrapper #token-settings label,#settings-index #settings-index-wrapper #backup-settings label{font-family:Helvetica,Arial,sans-serif;color:#1d3040;font-weight:bold}#settings-index #settings-index-wrapper #member-settings span,#settings-index #settings-index-wrapper #feature-settings span,#settings-index #settings-index-wrapper #option-settings span,#settings-index #settings-index-wrapper #token-settings span,#settings-index #settings-index-wrapper #backup-settings span{color:#b2cce5}#settings-index #settings-index-wrapper #member-settings input,#settings-index #settings-index-wrapper #feature-settings input,#settings-index #settings-index-wrapper #option-settings input,#settings-index #settings-index-wrapper #token-settings input,#settings-index #settings-index-wrapper #backup-settings input{width:95%;margin:0 5px 10px 0;height:30px;padding:10px}#settings-index #settings-index-wrapper #member-settings input#backup-upload,#settings-index #settings-index-wrapper #feature-settings input#backup-upload,#settings-index #settings-index-wrapper #option-settings input#backup-upload,#settings-index #settings-index-wrapper #token-settings input#backup-upload,#settings-index #settings-index-wrapper #backup-settings input#backup-upload{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings .backup-meta,#settings-index #settings-index-wrapper #feature-settings .backup-meta,#settings-index #settings-index-wrapper #option-settings .backup-meta,#settings-index #settings-index-wrapper #token-settings .backup-meta,#settings-index #settings-index-wrapper #backup-settings .backup-meta{background:#1d3040;color:#efebe3;padding:8px;border-radius:3px;margin:5px 0 0 0;text-align:center}#settings-index #settings-index-wrapper #member-settings #member-images,#settings-index #settings-index-wrapper #feature-settings #member-images,#settings-index #settings-index-wrapper #option-settings #member-images,#settings-index #settings-index-wrapper #token-settings #member-images,#settings-index #settings-index-wrapper #backup-settings #member-images{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop{display:inline-block;margin:0 0 10px 0}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop img,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop img{width:100%;border-radius:5px;overflow:hidden;cursor:pointer;display:block;margin-bottom:2px}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop input,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop input{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop #privacy-toggle,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop #privacy-toggle{width:50%}#settings-index #settings-index-wrapper #member-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #feature-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #option-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #token-settings #member-images #member-avatar-drop #render-toggle,#settings-index #settings-index-wrapper #backup-settings #member-images #member-avatar-drop #render-toggle{width:50%}#settings-index #settings-index-wrapper #member-settings #member-images #site-background,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background,#settings-index #settings-index-wrapper #option-settings #member-images #site-background,#settings-index #settings-index-wrapper #token-settings #member-images #site-background,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background{margin:0 0 10px 0}#settings-index #settings-index-wrapper #member-settings #member-images #site-background img,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background img,#settings-index #settings-index-wrapper #option-settings #member-images #site-background img,#settings-index #settings-index-wrapper #token-settings #member-images #site-background img,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background img{width:92.1%;height:292px;border-radius:3px;overflow:hidden;cursor:pointer}#settings-index #settings-index-wrapper #member-settings #member-images #site-background input,#settings-index #settings-index-wrapper #feature-settings #member-images #site-background input,#settings-index #settings-index-wrapper #option-settings #member-images #site-background input,#settings-index #settings-index-wrapper #token-settings #member-images #site-background input,#settings-index #settings-index-wrapper #backup-settings #member-images #site-background input{visibility:hidden;display:none}#settings-index #settings-index-wrapper #member-settings #member-meta,#settings-index #settings-index-wrapper #feature-settings #member-meta,#settings-index #settings-index-wrapper #option-settings #member-meta,#settings-index #settings-index-wrapper #token-settings #member-meta,#settings-index #settings-index-wrapper #backup-settings #member-meta{padding:10px 15px 0 15px;position:relative;top:-30px}#settings-index #settings-index-wrapper #member-settings #features,#settings-index #settings-index-wrapper #feature-settings #features,#settings-index #settings-index-wrapper #option-settings #features,#settings-index #settings-index-wrapper #token-settings #features,#settings-index #settings-index-wrapper #backup-settings #features{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper textarea{background:#1d3040;width:70%;height:89.5px;color:#f5ab35;padding:10px;display:inline-block;margin-bottom:10px}#settings-index #settings-index-wrapper span#key{color:#efebe3;background:#1d3040;font-size:.9em;border-radius:3px;padding:5px;display:block;width:95%;overflow:hidden}#settings-index #settings-index-wrapper #feature-settings #feature-api,#settings-index #settings-index-wrapper #feature-settings #dynamic-api{background:#1d3040;border-radius:3px;padding:5px;width:95%}#settings-index #settings-index-wrapper #feature-settings #feature-api span,#settings-index #settings-index-wrapper #feature-settings #dynamic-api span{color:#efebe3 !important;margin:6px 0 0 5px;position:relative;vertical-align:middle;display:inline-block;font-weight:bold}#settings-index #settings-index-wrapper #feature-settings #feature-api button,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button{color:#efebe3;border-radius:3px;width:40px;margin:0;height:25px}#settings-index #settings-index-wrapper #feature-settings #feature-api button svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button svg{width:25px;height:20px;fill:#efebe3;position:relative;display:block;margin:-12px auto}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=false],#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=false]{background:#b2cce5}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=false] svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=false] svg{fill:#1d3040}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=true],#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=true]{background:#fc6399}#settings-index #settings-index-wrapper #feature-settings #feature-api button[data-enabled=true] svg,#settings-index #settings-index-wrapper #feature-settings #dynamic-api button[data-enabled=true] svg{fill:#efebe3}#settings-index #settings-index-wrapper #token-settings #keys-tokens{padding:10px 15px 0 15px}#settings-index #settings-index-wrapper #token-settings #keys-tokens #member-api-key,#settings-index #settings-index-wrapper #token-settings #keys-tokens #form-token{background:#1d3040;border-radius:3px;padding:5px;color:#efebe3}#settings-index #settings-index-wrapper #option-settings #theme-settings a{width:95%;margin:0 5px 5px 0;height:15px;padding:10px;display:inline-block}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=false]{background:#efebe3;color:#1d3040;border-radius:3px;font-weight:bold;border-top:1px #fc6399 solid;border-bottom:1px #fc6399 solid}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=true]{background:#fc6399;color:#1d3040;border-radius:3px;font-weight:bold;border-top:1px #1d3040 solid;border-bottom:1px #1d3040 solid}#settings-index #settings-index-wrapper #option-settings #theme-settings a[data-enabled=true] svg{fill:#1d3040;display:inline-block;float:right}#settings-index #settings-index-wrapper #option-settings #mail-settings{min-height:240px}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option{float:right;font-family:"Lucida Console",Monaco,monospace;font-size:.9em;border-radius:3px;text-decoration:none;margin:0 0 0 5px}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option[data-enabled=true]{color:#fc6399}#settings-index #settings-index-wrapper #option-settings #mail-settings a.mail-option[data-enabled=false]{color:#1d3040}#settings-index #settings-index-wrapper #option-settings #mail-settings input{margin:0 5px 5px 0;vertical-align:top}#settings-index #settings-index-wrapper #option-settings #mail-settings div[data-enabled=false]{display:none;visibility:hidden}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api{background:#1d3040;border-radius:3px;padding:10px}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api span{color:#efebe3 !important;margin:-13px 0 0 5px;position:relative;vertical-align:middle;display:inline-block;font-weight:bold}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button{color:#efebe3;border-radius:3px;width:40px;margin:0}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button svg{width:25px;height:20px;fill:#efebe3}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=false]{background:#b2cce5}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=false] svg{fill:#1d3040}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=true]{background:#fc6399}#settings-index #settings-index-wrapper #option-settings #mail-settings #settings-api button[data-enabled=true] svg{fill:#efebe3}@media only screen and (max-width: 480px){#settings-actions{margin-left:-42%}#settings-actions #buttons{width:150px;background:none}#settings-actions #buttons button{margin:0 5px 0 5px}}#error-index{width:100%;max-width:900px;margin:0 auto;padding:10px;height:100%;z-index:10;position:relative}#error-index label#title{font-size:100px;color:#fc6399;font-weight:500}#error-index label#message{font-size:50px;color:#f5ab35;font-weight:500}#error-index label#error{font-size:25px;color:#f64747;font-weight:500}#nav-index{width:100%;max-width:900px;margin:0 auto}#nav-index #nav-index-wrapper #nav-pages .nav-item{display:block;width:98%;background:#efebe3;border-radius:3px;color:#fc6399;height:30px;padding:10px;margin:0 0 10px 0;font-size:1.5em;cursor:move}#nav-index #nav-index-wrapper #nav-pages .nav-item #item-arrows{fill:#1d3040;width:40px;height:30px}#nav-index #nav-index-wrapper #nav-pages label{display:inline-block;vertical-align:middle;padding:0;margin:-15px 0 0 10px;cursor:move}#nav-index #nav-index-wrapper #nav-pages #nav-btns{float:right;top:-5px;position:relative}#nav-index #nav-index-wrapper #nav-pages #nav-btns button{color:#efebe3;border-radius:3px;width:40px;margin:0 10px 0 10px}#nav-index #nav-index-wrapper #nav-pages #nav-btns button svg{fill:#efebe3;width:25px;height:20px}@media only screen and (max-width: 375px){#nav-index #nav-index-wrapper #nav-pages .nav-item{width:94.5%;font-size:1em}#nav-index #nav-index-wrapper #nav-pages .nav-item label{width:40%;vertical-align:top;margin-top:0px;line-height:1em}}@media only screen and (max-width: 320px){#nav-index #nav-index-wrapper #nav-pages .nav-item{width:94.5%;font-size:1em}#nav-index #nav-index-wrapper #nav-pages .nav-item label{width:37%;vertical-align:top;margin-top:0px;line-height:1em}}form{display:inline-block}form a{color:#1d3040}form p{background:#f5ab35;color:#1d3040;padding:5px;display:block;border-radius:5px;text-align:left}input[type=email],input[type=password],input[type=text]{border:0;border-radius:5px;padding:5px;margin:10px 5px 0 0;font:18px Helvetica,Arial,sans-serif;display:inline-block;background:#1d3040;color:#f5ab35}textarea{border:0;border-radius:3px;color:#efebe3;font:15px Helvetica,Arial,sans-serif;background:#1d3040}button,input[type=submit]{background:#fc6399;color:#1d3040;font:20px Helvetica,Arial,sans-serif;border-radius:5px;position:relative;cursor:pointer;border:0;padding:10px 0 5px 0;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear}select{font:14px Helvetica,Arial,sans-serif;border:1px solid #b2cce5;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:#1d3040}::-webkit-input-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}:-moz-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}::-moz-placeholder{font:15px Helvetica,Arial,sans-serif;color:#efebe3}:-ms-input-placeholder{font:25px Helvetica,Arial,sans-serif;color:#efebe3}#post-index{width:100%;max-width:900px;margin:0 auto}#post-index #post-index-wrapper{overflow:hidden}#post-index #post-index-wrapper #post-index-header{margin:10px 0 0 0}#post-index #post-index-wrapper #post-index-header #post-index-header-left{text-transform:capitalize;display:inline-block;width:50%;color:#efebe3;font-size:3em}#post-index #post-index-wrapper #post-index-header #post-index-header-right{text-align:right;display:inline-block;width:50%}#post-index #post-index-wrapper #post-index-header #post-index-header-right a button{color:#efebe3;border-radius:3px;margin-left:10px;width:55px}#post-index #post-index-wrapper #post-index-header #post-index-header-right a button svg{width:20px;height:17px;fill:#efebe3}#post-index #post-index-wrapper #post-index-header #post-index-header-right .current-filter{color:#fc6399;text-decoration-color:#b2cce5}#post-index #post-index-wrapper #posts-list{margin:20px 0 0 0}#post-index #post-index-wrapper #posts-list a.page-link{background:#efebe3;display:inline-block;vertical-align:top;width:100%;text-decoration:none;margin:0 0 20px 0;border-radius:3px;overflow:hidden;color:#000}#post-index #post-index-wrapper #posts-list a.page-link label{font-size:2em;font-weight:500;padding:10px;display:inline-block;vertical-align:top;width:100%}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg{width:100%;height:350px;background-color:#fc6399;position:relative}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg label{font-size:2em;font-weight:700;color:#efebe3;padding:5px;vertical-align:top;display:inline-block;word-wrap:break-word;width:100%;text-align:center;position:relative;top:35%;text-shadow:2px 2px 0 #32302f}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta{width:100%;background:linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);border-radius:3px;margin:auto;bottom:0;position:absolute;padding:0 0 20px 0}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options{width:100%;bottom:0;position:absolute}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left{display:inline-block;vertical-align:top;width:50%;position:relative;background:none}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button{border-radius:3px;background:#1d3040;margin:0 0 10px 10px}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button svg{width:40px;height:20px;fill:#b2cce5}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left .item-options{border-radius:3px;margin:5px;display:inline-block}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=false]{background:#1d3040}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=false] svg{fill:#b2cce5}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=true]{background:#f5ab35}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-left button[data-active=true] svg{fill:#1d3040}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-right{display:inline-block;width:50%;text-align:right}#post-index #post-index-wrapper #posts-list a.page-link div.page-bg #meta #options #option-right span{font-weight:bold;display:block;background:#efebe3;color:#1d3040;border-radius:3px;font-size:.6em;text-align:center;position:relative;padding:5px;float:right;margin:0 10px 0 0;bottom:-15px}#post-index #post-index-wrapper #posts-list a.page-link p{padding:5px 10px 5px 10px;font-size:1.2em;font-weight:400}#post-index #post-index-wrapper .paginate{width:260px;display:block;margin:0 auto}#post-index #post-index-wrapper .paginate a{display:inline-block;vertical-align:top}#post-index #post-index-wrapper .paginate span.count{text-align:center;padding:5px;margin-top:-2px;display:inline-block;width:190px;font-size:1.5em;color:#f5ab35}#post-edit-index{width:100%;overflow:hidden}#post-edit-index #post-edit-index-wrapper{width:100%}#post-edit-index #post-edit-index-wrapper #post-header{background:#fc6399}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper{max-width:900px;margin:0 auto;padding:.75rem}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper label{color:#efebe3;font-size:.8em;font-family:Helvetica,Arial,sans-serif;font-weight:600}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper span{color:#1d3040;font-size:1.5em}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-title #post_title{background:#efebe3;font-family:Helvetica,Arial,sans-serif;width:97.6%;height:80px;font-size:2em;color:#1d3040;padding:5px;margin:0 0 5px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-title #calendar-icon{background:#05090b;border-radius:3px 0 0 3px;display:inline-block;padding:5.2px;color:#b2cce5}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-title #layouts{padding:7px 0 0 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-title #layouts select{background:#1d3040;color:#b2cce5;border-radius:3px;border-color:#1d3040;margin:5px 0 0 0;width:100%;padding:5px;font-size:1em}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post_tags{background:#efebe3;font-family:Helvetica,Arial,sans-serif;width:97.6%;height:80px;color:#1d3040;padding:5px;margin:0 0 5px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options{display:inline-block;vertical-align:top;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button:nth-child(1){border-radius:3px 0 0 3px}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button:nth-child(4){border-radius:0 3px 3px 0}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options a button{border-radius:0 3px 3px 0 !important}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button{width:25%;height:45px;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;margin:0;border-radius:0;display:inline-block;vertical-align:top;text-align:center}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=false]{background:#1d3040}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=false] svg{fill:#b2cce5}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=true]{background:#f5ab35}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button[data-active=true] svg{fill:#1d3040}#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #featured-image-upload,#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-image-upload{display:none}#post-edit-index #post-edit-index-wrapper #post-feature{width:100%}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop{display:flex;align-items:center;justify-content:center;width:100%;min-height:200px;background:#000;color:#1d3040;vertical-align:middle;font-family:"Lucida Console",Monaco,monospace}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop label{cursor:pointer}#post-edit-index #post-edit-index-wrapper #post-feature #featured-image-drop img{width:100%;margin:0;padding:0}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn{position:absolute;margin:20px}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn #new-feature-upload{padding-top:4px;background:#efebe3}#post-edit-index #post-edit-index-wrapper #post-feature #featured-new-image-btn #new-feature-upload svg{fill:#fc6399}#post-edit-index #post-edit-index-wrapper #edit-post{width:100%;max-width:880px;margin:0 auto}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper{max-width:900px;border-radius:5px;margin:40px 0 40px 0;overflow:hidden}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper pre{margin:0}#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper pre code{font-family:"Lucida Console",Monaco,monospace;padding:5px;border-radius:5px;line-height:1.6em;font-size:1.25em;color:#fde3a7;word-wrap:normal;white-space:pre-wrap;line-break:normal;-webkit-line-break:normal;-o-line-break:normal;-moz-line-break:normal;display:inline-block;width:100%;max-width:900px;min-height:200px}@media only screen and (max-width: 800px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:37.6%}}@media only screen and (max-width: 768px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:43.1%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control{max-width:100%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:9.91%}}@media only screen and (max-width: 640px){#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:42%}}@media only screen and (max-width: 480px){#post-index #post-index-wrapper #post-index-header #post-index-header-left{font-size:1.35em;width:30%}#post-index #post-index-wrapper #post-index-header #post-index-header-right{width:70%;vertical-align:top}#post-index #post-index-wrapper #post-index-menu a{font-size:.95em}#post-index #post-index-wrapper #post-index-menu a label{display:none;visibility:hidden}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-options{margin:5px 0 0 0;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:89.2%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:9.91%}}@media only screen and (max-width: 320px){#post-index #post-index-wrapper #post-index-menu a{font-size:.95em}#post-index #post-index-wrapper #post-index-menu a label{display:none;visibility:hidden}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post_title{width:96.4%}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-options{margin:5px 0 0 0;width:100%;padding:0}#post-edit-index #post-edit-index-wrapper #post-header #post-title #post-date{width:83.1%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #post_tags{width:96.4%}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control .content-editor-btn-icon svg.icons{width:20px}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control .post-sumbit-btn svg.icons{width:20px}#post-edit-index #post-edit-index-wrapper #post-header #post-meta #edit-control button{width:10%}}.dp-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.75);z-index:2000}.dp{position:relative;background:#1d3040;box-shadow:2px 2px 16px rgba(0,0,0,.25);line-height:1.4;border-radius:4px;max-height:400px;z-index:5000;padding-top:6px;overflow:hidden;-webkit-tap-highlight-color:transparent}.dp:before{content:" ";height:6px;position:absolute;top:0;left:0;right:0;background:#fc6399}.dp-permanent .dp{padding-top:0;border:1px solid #eee;box-shadow:none}.dp-permanent .dp:before{display:none}.dp-cal{min-height:300px}.dp-below{position:absolute;font-size:.8em;width:400px;max-width:90vw}.dp-permanent{position:relative;font-size:.8em;width:400px;max-width:100vw}.dp-permanent .dp{z-index:0}.dp-modal .dp{position:absolute;top:50%;left:50%;max-width:600px;width:calc(100% - 4em);transform:translate(-50%, -50%);animation:slide-up .3s forwards}.dp-months{padding:24px}.dp-years{box-sizing:border-box;max-height:400px;padding:8px 0;overflow:auto !important}.dp-cal-month,.dp-cal-year,.dp-day,.dp-month,.dp-year{box-sizing:border-box;text-align:center;text-decoration:none;position:relative;color:#efebe3;border-radius:2px;border:0;background:transparent}.dp-cal-header{position:relative;text-align:center;padding-bottom:16px;background:#0d161d}.dp-next,.dp-prev{position:absolute;width:30px;height:30px;overflow:hidden;top:14px;color:#000;border-radius:2px;border:0;background:transparent}.dp-next:focus,.dp-prev:focus,.dp-next:hover,.dp-prev:hover{outline:none;color:inherit}.dp-prev{left:24px}.dp-next{right:24px}.dp-prev:before,.dp-next:before{content:"";border:2px solid;width:10px;height:10px;display:inline-block;transform:rotate(-45deg);transition:border-color .2s;margin:9px 0 40px 4px}.dp-prev:before{border-right:0;border-bottom:0}.dp-next:before{border-left:0;border-top:0;margin-left:0;margin-right:4px}.dp-cal-month,.dp-cal-year{display:inline-block;font-size:1.4em;padding:16px 8px 8px;outline:none}.dp-cal-footer{text-align:center;background:#0d161d}.dp-day-today:after{content:"";height:0;width:0;border:7px solid #fc6399;border-bottom-color:transparent;border-left-color:transparent;position:absolute;top:0;right:0}.dp-close,.dp-clear,.dp-today{box-sizing:border-box;display:inline-block;width:33%;padding:8px;text-decoration:none;color:#000;border:0;background:transparent}.dp-permanent .dp-close,.dp-permanent .dp-clear{display:none}.dp-close:active,.dp-clear:active,.dp-today:active,.dp-next:active,.dp-prev:active,.dp-cal-month:active,.dp-cal-year:active{background:#fc6399;color:#efebe3}@media screen and (min-device-width: 1200px){.dp-close:hover,.dp-close:focus,.dp-clear:hover,.dp-clear:focus,.dp-today:hover,.dp-today:focus,.dp-next:hover,.dp-next:focus,.dp-prev:hover,.dp-prev:focus,.dp-cal-month:focus,.dp-cal-month:hover,.dp-cal-year:hover,.dp-cal-year:focus{background:#fc6399;color:#efebe3}}.dp-col-header,.dp-day{width:14.28571429%;display:inline-block;padding:8px;text-align:center}.dp-col-header{color:#aaa;text-transform:uppercase;font-weight:300;font-size:.8em;padding:8px 0}.dp-month{width:33%;display:inline-block;padding:8px}.dp-year{display:block;padding:8px 40px;width:100%}.dp-edge-day{color:#aaa}.dp-day:hover,.dp-month:hover,.dp-year:hover,.dp-current:focus,.dp-current,.dp-day:focus,.dp-month:focus,.dp-year:focus{outline:none;background:#000;color:#efebe3}.dp-selected:hover,.dp-selected:focus,.dp-selected{background:#fc6399;color:#000}.dp-day-disabled{background:transparent;color:#ddd}.dp-day-disabled:focus,.dp-day-disabled:hover{background:#ddd}.dp-focuser{position:absolute;z-index:0;top:50%;left:50%}@media(max-width: 480px),(max-height: 480px){.dp-modal .dp{font-size:.9em;width:auto;width:100%}.dp-day-of-week,.dp-day{padding:8px}}@keyframes slide-up{0%{transform:translate(-50%, 100%)}100%{transform:translate(-50%, -50%)}}#edit-control{top:1px;border-radius:3px;width:100%;max-width:880px;margin-top:30px;z-index:2000}#edit-control button:nth-child(1){border-radius:3px 0 0 3px}#edit-control button:nth-child(10){border-radius:0 3px 3px 0}#edit-control button{background:#b2cce5;width:10%;height:39px;-moz-transition:all .3s linear;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;margin:0;border-radius:0;display:inline-block;vertical-align:top;text-align:center}#edit-control button:hover{background:#6699cb}#edit-control #option-update{padding:5px 5px 1px 5px;display:inline-block;vertical-align:top;text-align:center}#edit-control .icon-hide{display:none;visibility:hidden}#edit-control .submit-start{background:#efebe3}#edit-control .submit-start svg{fill:#32cd32}#edit-control .submit-cool{background:#32cd32}#edit-control .submit-cool svg{fill:#efebe3}#edit-control .submit-delete{background:#f64747 !important}#edit-control .submit-delete svg{fill:#efebe3 !important}#edit-control #option-date{height:30px;padding-top:6px}#edit-control #option-date svg{margin:-13px 5px 0 0;display:inline-block;vertical-align:top;fill:#efebe3}#edit-control .content-editor-btn-icon{padding:5px 5px 1px 5px;color:#1d3040}#edit-control .content-editor-btn-icon svg{fill:#1d3040}#edit-control .content-editor-btn-text{padding:5px;color:#1d3040}#edit-control #option-bold{font-weight:bold;text-decoration:none}#edit-control #option-italic{font-weight:bold;text-decoration:none;font-style:italic}#edit-control #option-strikethrough{font-weight:bold;text-decoration:line-through;font-style:italic}.hljs{display:block;overflow-x:auto;padding:.5em;background:#13202b}.hljs,.hljs-subst{color:#ebdbb2}.hljs-deletion,.hljs-formula,.hljs-keyword .hljs-selector-tag{color:#fde3a7;font-style:italic}.hljs-link{color:#fc6399}.hljs-built_in,.hljs-emphasis,.hljs-name,.hljs-quote,.hljs-strong,.hljs-title,.hljs-variable{color:#ffa07a}.hljs-attr,.hljs-params,.hljs-template-tag,.hljs-type{color:#89c4f4}.hljs-builtin-name,.hljs-doctag,.hljs-literal,.hljs-number{color:#8f3f71}.hljs-code,.hljs-meta,.hljs-regexp,.hljs-selector-id,.hljs-template-variable{color:#f5ab35}.hljs-addition,.hljs-meta-string,.hljs-section,.hljs-selector-attr,.hljs-selector-class,.hljs-string,.hljs-symbol{color:#f6dd74}.hljs-attribute,.hljs-bullet,.hljs-class,.hljs-function,.hljs-function .hljs-keyword,.hljs-meta-keyword,.hljs-selector-pseudo,.hljs-tag{color:#90b1cc}.hljs-comment{color:#928374}.hljs-link_label,.hljs-literal,.hljs-number{color:#d3869b}.hljs-comment,.hljs-emphasis{font-style:italic}.hljs-section,.hljs-strong,.hljs-tag{font-weight:normal}/*# sourceMappingURL=dash.css.map */ diff --git a/src/styles/main/_posts.sass b/src/styles/main/_posts.sass index 7dbd773..2357ba9 100644 --- a/src/styles/main/_posts.sass +++ b/src/styles/main/_posts.sass @@ -194,6 +194,17 @@ display: inline-block padding: 5.2px color: $secondary + #layouts + padding: 7px 0 0 0 + select + background: $primary + color: $secondary + border-radius: 3px + border-color: $primary + margin: 5px 0 0 0 + width: 100% + padding: 5px + font-size: 1em #post-meta #post_tags @@ -241,21 +252,6 @@ background: $tertiary svg fill: $primary - - #layouts - padding: 7px 0 0 0 - label - color: $primary - font-size: 1em - select - background: $primary - color: $secondary - border-radius: 3px - border-color: $primary - margin: 5px 0 0 0 - width: 100% - padding: 5px - font-size: 1em #featured-image-upload, #post-image-upload display: none From 7e38b4edb846d658d8a173b678de16c437112151 Mon Sep 17 00:00:00 2001 From: Ro Date: Mon, 22 Nov 2021 16:52:26 -0800 Subject: [PATCH 6/6] quick patch for #66 --- brain/views/dash/settings.twig | 4 ++-- public/assets/scripts/dash.min.js | 8 ++++---- src/com/controllers/SettingsIndex.js | 10 +++++++--- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/brain/views/dash/settings.twig b/brain/views/dash/settings.twig index c256bc1..487bf30 100644 --- a/brain/views/dash/settings.twig +++ b/brain/views/dash/settings.twig @@ -22,8 +22,8 @@
diff --git a/public/assets/scripts/dash.min.js b/public/assets/scripts/dash.min.js index 12c6c9c..ffaf1c3 100644 --- a/public/assets/scripts/dash.min.js +++ b/public/assets/scripts/dash.min.js @@ -1,11 +1,11 @@ -!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 n=0;n0&&void 0!==arguments[0]?arguments[0]:null;e(this,t),this.percentComplete=0,this.baseURL=null,this.status=!1,r&&(this.baseURL=r),this._request(this.baseURL?this.baseURL+c:c).then((function(e){e.type===I&&(n.token=e.token)}))}return n(t,[{key:"login",value:function(e){var t=this;return new Promise((function(n,r){t.baseURL?e.remote=!0:e.remote=!1,t.key?e.key=t.key:e.key=null,t._request(t.baseURL?t.baseURL+h:h,"getAuthStatus",s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"sync",value:function(e,t){var n=this;return new Promise((function(r,o){var a="";switch(e){case"syncSite":a="/api/v1/settings/sync";break;case"syncNav":a="/api/v1/settings/nav-sync"}n._request(n.baseURL?n.baseURL+a:a,p,s,l,t).then((function(e){r(e)})).catch((function(e){o(e)}))}))}},{key:"publish",value:function(e){var t=this;return new Promise((function(n,r){t._request(t.baseURL?t.baseURL+d:d,g,s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"pageActions",value:function(e,t){var n,r,o,a=this;switch(e){case m:n="/api/v1/page/create",r=m,o=u;break;case v:n="/api/v1/page/write",r=v,o=u;break;case y:n="/api/v1/page/delete",r=y,o=l}return this.baseURL?t.remote=!0:t.remote=!1,new Promise((function(e,i){a._request(a.baseURL?a.baseURL+n:n,r,s,o,t).then((function(t){e(t)})).catch((function(e){i(e)}))}))}},{key:"sendMail",value:function(e){var t=this;return new Promise((function(n,r){t._request(t.baseURL?t.baseURL+f:f,"sendMail",s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"getInfo",value:function(e){var t,n,r=this;return"site"==e?(t="/api/v1/settings/site",n=w):(t="/api/v1/settings/member",n=E),new Promise((function(e,o){r._request(r.baseURL?r.baseURL+t:t,n).then((function(t){e(t)})).catch((function(e){o(e)}))}))}},{key:"_request",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=this;return new Promise((function(i,c){var d=new XMLHttpRequest;if(d.upload.onprogress=a.handleLoadProgress,d.open(n,e,!0),d.onload=function(){if(200==d.status){var e=JSON.parse(d.response);i(e)}else{var t=JSON.parse(d.response);c(t)}},"PUT"==n||n==s)switch(t!==p&&t!==v&&t!==m&&t!==y&&t!==g&&t!==b||d.setRequestHeader("fipamo-access-token",a.token),r){case l:d.setRequestHeader("Content-type","application/"+r),d.send(JSON.stringify(o));break;case u:d.send(o)}else t!==w&&t!==E||d.setRequestHeader("fipamo-access-token",a.token),d.send()}))}},{key:"handleLoadProgress",value:function(e){this.percentComplete=Math.ceil(e.loaded/e.total*100)}}]),t}(),S="POST",T="json",D="x-www-form-urlencoded",P="/api/v1/status",x="apiUseAuthorized",B=function(){function t(){var n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e(this,t),this.percentComplete=0,this.token=null,this.baseURL=null,this.key=null,o&&(this.key=o),r&&(this.baseURL=r),this._request(this.baseURL?this.baseURL+P+"?key="+this.key:P+"?key="+this.key).then((function(e){e.type===x&&(n.token=e.token)}))}return n(t,[{key:"create",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/init","blogInit",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"restore",value:function(e){var t=this;return new Promise((function(n,r){var o;o=new FormData(e),t._request("/api/v1/restore","restoreBackup","POST","x-www-form-urlencoded",o).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"backup",value:function(){var e=this;return new Promise((function(t,n){var r;r={task:"create_backup"},e._request("/api/v1/backup","createBackup","POST","json",r).then((function(e){t(e)})).catch((function(e){n(e)}))}))}},{key:"secret",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/get-secret","retrieveSecret",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"newPass",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/reset-password","resetPassword",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"imageUpload",value:function(e,t){var n=this;return new Promise((function(r,o){var a="";switch(e){case"avatar-upload":a="/api/v1/settings/add-avatar";break;case"background-upload":a="/api/v1/settings/add-feature-background";break;default:a="/api/v1/page/add-entry-image"}var i=new FormData;n.baseURL?(i.append("key",n.key),i.append("remote",!0)):i.append("remote",!1);for(var s=0;s2&&void 0!==arguments[2]?arguments[2]:"GET",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:T,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=this;return new Promise((function(t,i){var s=new XMLHttpRequest;if(s.upload.onprogress=a.handleLoadProgress,s.open(n,e,!0),s.onload=function(){if(200==s.status){var e=JSON.parse(s.response);t(e)}else{var n=JSON.parse(s.response);i(n)}},"PUT"==n||n==S)switch(r){case T:s.setRequestHeader("Content-type","application/"+r),s.send(JSON.stringify(o));break;case D:s.send(o)}else s.send()}))}},{key:"handleLoadProgress",value:function(e){this.percentComplete=Math.ceil(e.loaded/e.total*100)}}]),t}(),_=function(){function t(){e(this,t)}return n(t,[{key:"imgLoad",value:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){200===r.status?t(r.response):n(new Error("Image didn't load successfully; error code:"+r.statusText))},r.onerror=function(){n(new Error("There was a network error."))},r.send()}))}},{key:"loadImage",value:function(e){var t=this;return new Promise((function(n,r){(new Image).crossOrigin="",t.imgLoad(e).then((function(e){var t=window.URL.createObjectURL(e);n(t)}),(function(e){r(e)}))}))}},{key:"formDataToJSON",value:function(e){var t={};return new FormData(e).forEach((function(e,n){t.hasOwnProperty(n)?(Array.isArray(t[n])||(t[n]=[t[n]]),t[n].push(e)):t[n]=e})),t}}]),t}(),A="requestLame",L="postUpdated";new function t(){e(this,t)};var C=function(){function t(){e(this,t)}return n(t,[{key:"cleanString",value:function(e){return e.replace(/(^\-+|[^a-zA-Z0-9\/_| -]+|\-+$)/g,"").toLowerCase().replace(/[\/_| -]+/g,"-")}},{key:"decodeHTML",value:function(e,t){var n=0,r=0,o=!1;void 0===t&&(t=2),e=e.toString().replace(/</g,"<").replace(/>/g,">");var a={ENT_NOQUOTES:0,ENT_HTML_QUOTE_SINGLE:1,ENT_HTML_QUOTE_DOUBLE:2,ENT_COMPAT:2,ENT_QUOTES:3,ENT_IGNORE:4};if(0===t&&(o=!0),"number"!=typeof t){for(t=[].concat(t),r=0;r]*>/g,"\n"),r.append("id",document.getElementById("post-edit-index").getAttribute("data-index")),r.append("uuid",document.getElementById("post-edit-index").getAttribute("data-uuid")),r.append("layout",document.getElementById("post-edit-index").getAttribute("data-layout")),r.append("current_title",document.getElementById("post-edit-index").getAttribute("data-slug")),r.append("content",a),r.append("title",document.getElementById("post_title").value),r.append("created",document.getElementById("post-date").getAttribute("data-raw")),r.append("slug",(new C).cleanString(document.getElementById("post_title").value)),r.append("tags",document.getElementById("post_tags").value),r.append("menu",document.getElementById("option-menu-pin").getAttribute("data-active")),r.append("featured",document.getElementById("option-feature").getAttribute("data-active")),r.append("published",document.getElementById("option-published").getAttribute("data-active")),r.append("layout",document.getElementById("page-templates").value),r.append("form_token",document.getElementById("form_token").value),null!=e||null!=e)e.type.match("image.*")?r.append("feature_image",e,e.name):n("Not an image file");else if(document.getElementById("featured-image")){var i=document.getElementById("featured-image").src;null!=i||null!=i?r.append("feature_image",i):r.append("feature_image",null)}t(r)}))}}]),t}(),O="editorDelete",N="editorUploadImage",R="editorSave",U="editorUpdate";new function t(){e(this,t)};var H=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],F=function(e,t){var n=document.createElement("div");return function(t){var r=function(){var t={position:"absolute",left:-9999,top:0,zIndex:-2e3};return"TEXTAREA"===e.tagName&&H.push("width"),H.forEach((function(n){t[n]=getComputedStyle(e)[n]})),t}();Object.keys(r).forEach((function(e){n.style[e]=r[e]})),n.innerHTML=t,e.parentNode.insertBefore(n,e.nextSibling)}(t),{rect:function(){var e=n.ownerDocument.getElementById("caret-position-marker"),t={left:e.offsetLeft,top:e.offsetTop,height:e.offsetHeight};return n.parentNode.removeChild(n),t}}};function X(e){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(e)}var q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.customPos,n=e.iframe,r=e.noShadowCaret;return n?{iframe:n,window:n.contentWindow,document:n.contentDocument||n.contentWindow.document,noShadowCaret:r,customPos:t}:{window:window,document:document,noShadowCaret:r,customPos:t}},Y=function(e){return"object"===X(e)&&null!==e},j=function(e,t){var n=function(){return e.selectionStart},r=function(r){var o=function(e){return e.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"
")};(t.customPos||0===t.customPos)&&(r=t.customPos);var a=void 0===r?n():r,i=e.value.slice(0,a),s=e.value.slice(a),l=''.concat(o(i),"");l+='|',l+=''.concat(o(s),"");var u=F(e,l).rect();return u.pos=n(),u};return{getPos:n,setPos:function(t){return e.setSelectionRange(t,t),e},getOffset:function(n){var o=function(e,t){var n=t&&t.window||window,r=t&&t.document||document,o=e.getBoundingClientRect(),a=r.documentElement,i=n.pageXOffset||a.scrollLeft,s=n.pageYOffset||a.scrollTop;return{top:o.top+s,left:o.left+i}}(e),a=r(n);return{top:o.top+a.top+t.document.body.scrollTop,left:o.left+a.left+t.document.body.scrollLeft,height:a.height}},getPosition:r}},W=function(e,t){return function(e){return!!(e.contentEditable?"true"===e.contentEditable:"true"===e.getAttribute("contenteditable"))}(e)?function(e,t){var n=function(){var n=r(),o={height:0,left:0,right:0};if(!n)return o;var a=t.customPos||0===t.customPos;if(n.endOffset-1>0&&n.endContainer!==e||a){var i=n.cloneRange(),s=a?t.customPos:n.endOffset;i.setStart(n.endContainer,s-1<0?0:s-1),i.setEnd(n.endContainer,s);var l=i.getBoundingClientRect();o={height:l.height,left:l.left+l.width,top:l.top},i.detach()}if((!o||o&&0===o.height)&&!t.noShadowCaret){var u=n.cloneRange(),c=t.document.createTextNode("|");u.insertNode(c),u.selectNode(c);var d=u.getBoundingClientRect();o={height:d.height,left:d.left,top:d.top},c.parentNode.removeChild(c),u.detach()}if(o){var f=t.document.documentElement;o.top+=t.window.pageYOffset-(f.clientTop||0),o.left+=t.window.pageXOffset-(f.clientLeft||0)}return o},r=function(){if(t.window.getSelection){var e=t.window.getSelection();return e.rangeCount>0?e.getRangeAt(0):null}},o=function(){var t=r(),n=t.cloneRange();n.selectNodeContents(e),n.setEnd(t.endContainer,t.endOffset);var o=n.toString().length;return n.detach(),o};return{getPos:o,setPos:function(n){var r=t.window.getSelection();if(r){var o=0,a=!1;!function e(i,s){for(var l=0;l=i){a=!0;var c=t.document.createRange();c.setStart(u,i-o),r.removeAllRanges(),r.addRange(c);break}o+=u.length}else e(n,u)}}(n,e)}return e},getPosition:function(){var r=n(),a=o(),i=e.getBoundingClientRect(),s=i.top+t.document.body.scrollTop,l=i.left+t.document.body.scrollLeft;return r.left-=l,r.top-=s,r.pos=a,r},getOffset:n,getRange:r}}(e,t):j(e,t)},z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n;Y(t)&&(r=t,t=null);var o=q(r),a=W(e,o);return t||0===t?a.setPos(t):a.getPosition()},G=function(){function t(){e(this,t),this.listeners=new Map}return n(t,[{key:"addListener",value:function(e,t){this.listeners.has(e)||this.listeners.set(e,[]),this.listeners.get(e).push(t)}},{key:"removeListener",value:function(e,t){var n,r=this.listeners.get(e);return!!(r&&r.length&&(n=r.reduce((function(e,n,r){return"function"==typeof n&&n===t?e=r:e}),-1))>-1)&&(r.splice(n,1),this.listeners.set(e,r),!0)}},{key:"emitEvent",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r/g)>-1){var o=z(e.textEditor).pos;t.refresh(),z(e.textEditor,o)}}))}},{key:"refresh",value:function(){var e=this.textEditor.innerText;e=e.replace(new RegExp("\r?\n","g"),"
");var t=document.createElement("div");t.innerText=e,this.textEditor.innerHTML=t.innerText,this.textEditor.style.maxWidth="900px"}},{key:"notify",value:function(e,t){switch(e){case L:document.getElementById("submit-update").classList.add("icon-hide"),document.getElementById("submit-good").classList.remove("icon-hide"),document.getElementById("edit-update").classList.remove("submit-start"),document.getElementById("edit-update").classList.add("submit-cool"),setTimeout((function(){document.getElementById("submit-update").classList.remove("icon-hide"),document.getElementById("submit-good").classList.add("icon-hide"),document.getElementById("edit-update").classList.add("submit-start"),document.getElementById("edit-update").classList.remove("submit-cool")}),2e3);break;case"postAdded":break;case N:var n,r;z(this.textEditor,this.caretPos),(n=window.getSelection()).rangeCount&&((r=n.getRangeAt(0)).deleteContents(),r.insertNode(document.createTextNode("![image alt text]("+t+" 'image title')"))),this.refresh()}}},{key:"handleEditorOption",value:function(e){var t,n,r;if(e.preventDefault(),(t=window.getSelection()).rangeCount)switch(n=t.getRangeAt(0),r=t.getRangeAt(0).toString(),n.deleteContents(),e.target.id){case"edit-bold":n.insertNode(document.createTextNode("**"+r+"**"));break;case"edit-italic":n.insertNode(document.createTextNode("*"+r+"*"));break;case"edit-strikethrough":n.insertNode(document.createTextNode(""+r+""));break;case"edit-header1":n.insertNode(document.createTextNode("# "+r));break;case"edit-header2":n.insertNode(document.createTextNode("## "+r));break;case"edit-header3":n.insertNode(document.createTextNode("### "+r));break;case"edit-image":this.caretPos=z(this.textEditor).pos,this.emitEvent(N);break;case"submit-save":case"edit-save":this.emitEvent(R);break;case"submit-update":case"edit-update":this.emitEvent(U);break;case"edit-link":n.insertNode(document.createTextNode("["+r+"](PASTE URL HERE)"));break;case"edit-delete":this.emitEvent(O)}this.refresh()}}]),a}(G),V={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},J={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},Z=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],K={CSS:{},springs:{}};function ee(e,t,n){return Math.min(Math.max(e,t),n)}function te(e,t){return e.indexOf(t)>-1}function ne(e,t){return e.apply(null,t)}var re={arr:function(e){return Array.isArray(e)},obj:function(e){return te(Object.prototype.toString.call(e),"Object")},pth:function(e){return re.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||re.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},nil:function(e){return re.und(e)||null===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return re.hex(e)||re.rgb(e)||re.hsl(e)},key:function(e){return!V.hasOwnProperty(e)&&!J.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function oe(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function ae(e,t){var n=oe(e),r=ee(re.und(n[0])?1:n[0],.1,100),o=ee(re.und(n[1])?100:n[1],.1,100),a=ee(re.und(n[2])?10:n[2],.1,100),i=ee(re.und(n[3])?0:n[3],.1,100),s=Math.sqrt(o/r),l=a/(2*Math.sqrt(o*r)),u=l<1?s*Math.sqrt(1-l*l):0,c=l<1?(l*s-i)/u:-i+s;function d(e){var n=t?t*e/1e3:e;return n=l<1?Math.exp(-n*l*s)*(1*Math.cos(u*n)+c*Math.sin(u*n)):(1+c*n)*Math.exp(-n*s),0===e||1===e?e:1-n}return t?d:function(){var t=K.springs[e];if(t)return t;for(var n=1/6,r=0,o=0;;)if(1===d(r+=n)){if(++o>=16)break}else o=0;var a=r*n*1e3;return K.springs[e]=a,a}}function ie(e){return void 0===e&&(e=10),function(t){return Math.ceil(ee(t,1e-6,1)*e)*(1/e)}}var se,le,ue=function(){var e=.1;function t(e,t){return 1-3*t+3*e}function n(e,t){return 3*t-6*e}function r(e){return 3*e}function o(e,o,a){return((t(o,a)*e+n(o,a))*e+r(o))*e}function a(e,o,a){return 3*t(o,a)*e*e+2*n(o,a)*e+r(o)}return function(t,n,r,i){if(0<=t&&t<=1&&0<=r&&r<=1){var s=new Float32Array(11);if(t!==n||r!==i)for(var l=0;l<11;++l)s[l]=o(l*e,t,r);return function(e){return t===n&&r===i||0===e||1===e?e:o(u(e),n,i)}}function u(n){for(var i=0,l=1;10!==l&&s[l]<=n;++l)i+=e;--l;var u=i+(n-s[l])/(s[l+1]-s[l])*e,c=a(u,t,r);return c>=.001?function(e,t,n,r){for(var i=0;i<4;++i){var s=a(t,n,r);if(0===s)return t;t-=(o(t,n,r)-e)/s}return t}(n,u,t,r):0===c?u:function(e,t,n,r,a){var i,s,l=0;do{(i=o(s=t+(n-t)/2,r,a)-e)>0?n=s:t=s}while(Math.abs(i)>1e-7&&++l<10);return s}(n,i,i+e,t,r)}}}(),ce=(se={linear:function(){return function(e){return e}}},le={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var n=ee(e,1,10),r=ee(t,.1,2);return function(e){return 0===e||1===e?e:-n*Math.pow(2,10*(e-1))*Math.sin((e-1-r/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/r)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,t){le[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(le).forEach((function(e){var t=le[e];se["easeIn"+e]=t,se["easeOut"+e]=function(e,n){return function(r){return 1-t(e,n)(1-r)}},se["easeInOut"+e]=function(e,n){return function(r){return r<.5?t(e,n)(2*r)/2:1-t(e,n)(-2*r+2)/2}},se["easeOutIn"+e]=function(e,n){return function(r){return r<.5?(1-t(e,n)(1-2*r))/2:(t(e,n)(2*r-1)+1)/2}}})),se);function de(e,t){if(re.fnc(e))return e;var n=e.split("(")[0],r=ce[n],o=oe(e);switch(n){case"spring":return ae(e,t);case"cubicBezier":return ne(ue,o);case"steps":return ne(ie,o);default:return ne(r,o)}}function fe(e){try{return document.querySelectorAll(e)}catch(e){return}}function he(e,t){for(var n=e.length,r=arguments.length>=2?t:void 0,o=[],a=0;a1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(0==i)t=n=r=s;else{var c=s<.5?s*(1+i):s+i-s*i,d=2*s-c;t=u(d,c,a+1/3),n=u(d,c,a),r=u(d,c,a-1/3)}return"rgba("+255*t+","+255*n+","+255*r+","+l+")"}(e):void 0;var t,n}function Ee(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function Ie(e,t){return re.fnc(e)?e(t.target,t.id,t.total):e}function ke(e,t){return e.getAttribute(t)}function Se(e,t,n){if(me([n,"deg","rad","turn"],Ee(t)))return t;var r=K.CSS[t+n];if(!re.und(r))return r;var o=document.createElement(e.tagName),a=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;a.appendChild(o),o.style.position="absolute",o.style.width=100+n;var i=100/o.offsetWidth;a.removeChild(o);var s=i*parseFloat(t);return K.CSS[t+n]=s,s}function Te(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?Se(e,o,n):o}}function De(e,t){return re.dom(e)&&!re.inp(e)&&(!re.nil(ke(e,t))||re.svg(e)&&e[t])?"attribute":re.dom(e)&&me(Z,t)?"transform":re.dom(e)&&"transform"!==t&&Te(e,t)?"css":null!=e[t]?"object":void 0}function Pe(e){if(re.dom(e)){for(var t,n=e.style.transform||"",r=/(\w+)\(([^)]*)\)/g,o=new Map;t=r.exec(n);)o.set(t[1],t[2]);return o}}function xe(e,t,n,r){var o=te(t,"scale")?1:0+function(e){return te(e,"translate")||"perspective"===e?"px":te(e,"rotate")||te(e,"skew")?"deg":void 0}(t),a=Pe(e).get(t)||o;return n&&(n.transforms.list.set(t,a),n.transforms.last=t),r?Se(e,a,r):a}function Be(e,t,n,r){switch(De(e,t)){case"transform":return xe(e,t,r,n);case"css":return Te(e,t,n);case"attribute":return ke(e,t);default:return e[t]||0}}function _e(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=Ee(e)||0,o=parseFloat(t),a=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return o+a+r;case"-":return o-a+r;case"*":return o*a+r}}function Ae(e,t){if(re.col(e))return we(e);if(/\s/g.test(e))return e;var n=Ee(e),r=n?e.substr(0,e.length-n.length):e;return t?r+t:r}function Le(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Ce(e){for(var t,n=e.points,r=0,o=0;o0&&(r+=Le(t,a)),t=a}return r}function Me(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*ke(e,"r")}(e);case"rect":return function(e){return 2*ke(e,"width")+2*ke(e,"height")}(e);case"line":return function(e){return Le({x:ke(e,"x1"),y:ke(e,"y1")},{x:ke(e,"x2"),y:ke(e,"y2")})}(e);case"polyline":return Ce(e);case"polygon":return function(e){var t=e.points;return Ce(e)+Le(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function Oe(e,t){var n=t||{},r=n.el||function(e){for(var t=e.parentNode;re.svg(t)&&re.svg(t.parentNode);)t=t.parentNode;return t}(e),o=r.getBoundingClientRect(),a=ke(r,"viewBox"),i=o.width,s=o.height,l=n.viewBox||(a?a.split(" "):[0,0,i,s]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:i,h:s,vW:l[2],vH:l[3]}}function Ne(e,t,n){function r(n){void 0===n&&(n=0);var r=t+n>=1?t+n:0;return e.el.getPointAtLength(r)}var o=Oe(e.el,e.svg),a=r(),i=r(-1),s=r(1),l=n?1:o.w/o.vW,u=n?1:o.h/o.vH;switch(e.property){case"x":return(a.x-o.x)*l;case"y":return(a.y-o.y)*u;case"angle":return 180*Math.atan2(s.y-i.y,s.x-i.x)/Math.PI}}function Re(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=Ae(re.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:re.str(e)||t?r.split(n):[]}}function Ue(e){return he(e?pe(re.arr(e)?e.map(ge):ge(e)):[],(function(e,t,n){return n.indexOf(e)===t}))}function He(e){var t=Ue(e);return t.map((function(e,n){return{target:e,id:n,total:t.length,transforms:{list:Pe(e)}}}))}function Fe(e,t){var n=ve(t);if(/^spring/.test(n.easing)&&(n.duration=ae(n.easing)),re.arr(e)){var r=e.length;2===r&&!re.obj(e[0])?e={value:e}:re.fnc(t.duration)||(n.duration=t.duration/r)}var o=re.arr(e)?e:[e];return o.map((function(e,n){var r=re.obj(e)&&!re.pth(e)?e:{value:e};return re.und(r.delay)&&(r.delay=n?0:t.delay),re.und(r.endDelay)&&(r.endDelay=n===o.length-1?t.endDelay:0),r})).map((function(e){return be(e,n)}))}function Xe(e,t){var n=[],r=t.keyframes;for(var o in r&&(t=be(function(e){for(var t=he(pe(e.map((function(e){return Object.keys(e)}))),(function(e){return re.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),n={},r=function(r){var o=t[r];n[o]=e.map((function(e){var t={};for(var n in e)re.key(n)?n==o&&(t.value=e[n]):t[n]=e[n];return t}))},o=0;o0?requestAnimationFrame(t):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){$e.suspendWhenDocumentHidden&&(Je()?e=cancelAnimationFrame(e):(Qe.forEach((function(e){return e._onDocumentVisibility()})),Ve()))})),function(){e||Je()&&$e.suspendWhenDocumentHidden||!(Qe.length>0)||(e=requestAnimationFrame(t))}}();function Je(){return!!document&&document.hidden}function $e(e){void 0===e&&(e={});var t,n=0,r=0,o=0,a=0,i=null;function s(e){var t=window.Promise&&new Promise((function(e){return i=e}));return e.finished=t,t}var l=function(e){var t=ye(V,e),n=ye(J,e),r=Xe(n,e),o=He(e.targets),a=We(o,r),i=ze(a,n),s=Ge;return Ge++,be(t,{id:s,children:[],animatables:o,animations:a,duration:i.duration,delay:i.delay,endDelay:i.endDelay})}(e);function u(){var e=l.direction;"alternate"!==e&&(l.direction="normal"!==e?"normal":"reverse"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function c(e){return l.reversed?l.duration-e:e}function d(){n=0,r=c(l.currentTime)*(1/$e.speed)}function f(e,t){t&&t.seek(e-t.timelineOffset)}function h(e){for(var t=0,n=l.animations,r=n.length;t2||(y=Math.round(y*h)/h)),p.push(y)}var E=f.length;if(E){m=f[0];for(var I=0;I0&&(l.began=!0,p("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,p("loopBegin")),v<=g&&0!==l.currentTime&&h(0),(v>=m&&l.currentTime!==d||!d)&&h(d),v>g&&v=d&&(r=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(n=o,p("loopComplete"),l.loopBegan=!1,"alternate"===l.direction&&u()):(l.paused=!0,l.completed||(l.completed=!0,p("loopComplete"),p("complete"),!l.passThrough&&"Promise"in window&&(i(),s(l)))))}return s(l),l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed="reverse"===e,l.remaining=l.loop,t=l.children;for(var n=a=t.length;n--;)l.children[n].reset();(l.reversed&&!0!==l.loop||"alternate"===e&&1===l.loop)&&l.remaining++,h(l.reversed?l.duration:0)},l._onDocumentVisibility=d,l.set=function(e,t){return je(e,t),l},l.tick=function(e){o=e,n||(n=o),g((o+(r-n))*$e.speed)},l.seek=function(e){g(c(e))},l.pause=function(){l.paused=!0,d()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Qe.push(l),d(),Ve())},l.reverse=function(){u(),l.completed=!l.reversed,d()},l.restart=function(){l.reset(),l.play()},l.remove=function(e){Ke(Ue(e),l)},l.reset(),l.autoplay&&l.play(),l}function Ze(e,t){for(var n=t.length;n--;)me(e,t[n].animatable.target)&&t.splice(n,1)}function Ke(e,t){var n=t.animations,r=t.children;Ze(e,n);for(var o=r.length;o--;){var a=r[o],i=a.animations;Ze(e,i),i.length||a.children.length||r.splice(o,1)}n.length||r.length||t.pause()}$e.version="3.2.1",$e.speed=1,$e.suspendWhenDocumentHidden=!0,$e.running=Qe,$e.remove=function(e){for(var t=Ue(e),n=Qe.length;n--;){Ke(t,Qe[n])}},$e.get=Be,$e.set=je,$e.convertPx=Se,$e.path=function(e,t){var n=re.str(e)?fe(e)[0]:e,r=t||100;return function(e){return{property:e,el:n,svg:Oe(n),totalLength:Me(n)*(r/100)}}},$e.setDashoffset=function(e){var t=Me(e);return e.setAttribute("stroke-dasharray",t),t},$e.stagger=function(e,t){void 0===t&&(t={});var n=t.direction||"normal",r=t.easing?de(t.easing):null,o=t.grid,a=t.axis,i=t.from||0,s="first"===i,l="center"===i,u="last"===i,c=re.arr(e),d=c?parseFloat(e[0]):parseFloat(e),f=c?parseFloat(e[1]):0,h=Ee(c?e[1]:e)||0,p=t.start||0+(c?d:0),g=[],m=0;return function(e,t,v){if(s&&(i=0),l&&(i=(v-1)/2),u&&(i=v-1),!g.length){for(var y=0;y-1&&Qe.splice(o,1);for(var s=0;s'].join(""),document.getElementById("featured-image-drop").innerHTML="",document.getElementById("featured-image-drop").appendChild(n)}}(n),o.readAsDataURL(n)}}}},{key:"handleImageUpload",value:function(e,t){var n=this;st.alert("Uploading Image",null),(new B).imageUpload(e,t).then((function(e){"postImageAdded"==e.type&&n.editor.notify(N,e.url),st.alert("Image Added to Entry",!0)})).catch((function(){st.alert("Uh oh. Image not added",!1)}))}}]),t}();lt.uploadFiles=[];var ut=function(){function t(n){e(this,t),this.currentPage=null,this.choosePage(n),this.start()}return n(t,[{key:"start",value:function(){}},{key:"choosePage",value:function(e){switch(this.currentPage="",e){case"edit":case"add":this.currentPage=new lt}}}]),t}(),ct=function(){function t(){e(this,t)}return n(t,[{key:"getInfo",value:function(){var e,t,n=document.getElementById("settings-handle").value,r=document.getElementById("settings-email").value,o=document.getElementById("settings-url").value,a=document.getElementById("settings-title").value,i=document.getElementById("settings-desc").value,s=document.getElementById("render-toggle").getAttribute("data-render"),l=document.getElementById("background").src,u="",c=document.querySelectorAll(".theme-select"),d=document.getElementById("smtp-domain").value,f=document.getElementById("smtp-email").value,h=document.getElementById("smtp-pass").value,p=document.getElementById("mg-domain").value,g=document.getElementById("mg-key").value,m="",v=document.querySelectorAll(".mail-option"),y=document.getElementById("api-access-toggle").getAttribute("data-enabled"),b=document.getElementById("dynamic-render-toggle").getAttribute("data-enabled");for(e=0,t=c.length;e0&&void 0!==arguments[0]?arguments[0]:null;e(this,t),this.percentComplete=0,this.baseURL=null,this.status=!1,r&&(this.baseURL=r),this._request(this.baseURL?this.baseURL+c:c).then((function(e){e.type===I&&(n.token=e.token)}))}return n(t,[{key:"login",value:function(e){var t=this;return new Promise((function(n,r){t.baseURL?e.remote=!0:e.remote=!1,t.key?e.key=t.key:e.key=null,t._request(t.baseURL?t.baseURL+h:h,"getAuthStatus",s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"sync",value:function(e,t){var n=this;return new Promise((function(r,o){var i="";switch(e){case"syncSite":i="/api/v1/settings/sync";break;case"syncNav":i="/api/v1/settings/nav-sync"}n._request(n.baseURL?n.baseURL+i:i,p,s,l,t).then((function(e){r(e)})).catch((function(e){o(e)}))}))}},{key:"publish",value:function(e){var t=this;return new Promise((function(n,r){t._request(t.baseURL?t.baseURL+d:d,g,s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"pageActions",value:function(e,t){var n,r,o,i=this;switch(e){case m:n="/api/v1/page/create",r=m,o=u;break;case v:n="/api/v1/page/write",r=v,o=u;break;case y:n="/api/v1/page/delete",r=y,o=l}return this.baseURL?t.remote=!0:t.remote=!1,new Promise((function(e,a){i._request(i.baseURL?i.baseURL+n:n,r,s,o,t).then((function(t){e(t)})).catch((function(e){a(e)}))}))}},{key:"sendMail",value:function(e){var t=this;return new Promise((function(n,r){t._request(t.baseURL?t.baseURL+f:f,"sendMail",s,l,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"getInfo",value:function(e){var t,n,r=this;return"site"==e?(t="/api/v1/settings/site",n=w):(t="/api/v1/settings/member",n=E),new Promise((function(e,o){r._request(r.baseURL?r.baseURL+t:t,n).then((function(t){e(t)})).catch((function(e){o(e)}))}))}},{key:"_request",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=this;return new Promise((function(a,c){var d=new XMLHttpRequest;if(d.upload.onprogress=i.handleLoadProgress,d.open(n,e,!0),d.onload=function(){if(200==d.status){var e=JSON.parse(d.response);a(e)}else{var t=JSON.parse(d.response);c(t)}},"PUT"==n||n==s)switch(t!==p&&t!==v&&t!==m&&t!==y&&t!==g&&t!==b||d.setRequestHeader("fipamo-access-token",i.token),r){case l:d.setRequestHeader("Content-type","application/"+r),d.send(JSON.stringify(o));break;case u:d.send(o)}else t!==w&&t!==E||d.setRequestHeader("fipamo-access-token",i.token),d.send()}))}},{key:"handleLoadProgress",value:function(e){this.percentComplete=Math.ceil(e.loaded/e.total*100)}}]),t}(),S="POST",T="json",D="x-www-form-urlencoded",P="/api/v1/status",B="apiUseAuthorized",x=function(){function t(){var n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e(this,t),this.percentComplete=0,this.token=null,this.baseURL=null,this.key=null,o&&(this.key=o),r&&(this.baseURL=r),this._request(this.baseURL?this.baseURL+P+"?key="+this.key:P+"?key="+this.key).then((function(e){e.type===B&&(n.token=e.token)}))}return n(t,[{key:"create",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/init","blogInit",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"restore",value:function(e){var t=this;return new Promise((function(n,r){var o;o=new FormData(e),t._request("/api/v1/restore","restoreBackup","POST","x-www-form-urlencoded",o).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"backup",value:function(){var e=this;return new Promise((function(t,n){var r;r={task:"create_backup"},e._request("/api/v1/backup","createBackup","POST","json",r).then((function(e){t(e)})).catch((function(e){n(e)}))}))}},{key:"secret",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/get-secret","retrieveSecret",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"newPass",value:function(e){var t=this;return new Promise((function(n,r){t._request("/api/v1/reset-password","resetPassword",S,T,e).then((function(e){n(e)})).catch((function(e){r(e)}))}))}},{key:"imageUpload",value:function(e,t){var n=this;return new Promise((function(r,o){var i="";switch(e){case"avatar-upload":i="/api/v1/settings/add-avatar";break;case"background-upload":i="/api/v1/settings/add-feature-background";break;default:i="/api/v1/page/add-entry-image"}var a=new FormData;n.baseURL?(a.append("key",n.key),a.append("remote",!0)):a.append("remote",!1);for(var s=0;s2&&void 0!==arguments[2]?arguments[2]:"GET",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:T,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=this;return new Promise((function(t,a){var s=new XMLHttpRequest;if(s.upload.onprogress=i.handleLoadProgress,s.open(n,e,!0),s.onload=function(){if(200==s.status){var e=JSON.parse(s.response);t(e)}else{var n=JSON.parse(s.response);a(n)}},"PUT"==n||n==S)switch(r){case T:s.setRequestHeader("Content-type","application/"+r),s.send(JSON.stringify(o));break;case D:s.send(o)}else s.send()}))}},{key:"handleLoadProgress",value:function(e){this.percentComplete=Math.ceil(e.loaded/e.total*100)}}]),t}(),_=function(){function t(){e(this,t)}return n(t,[{key:"imgLoad",value:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){200===r.status?t(r.response):n(new Error("Image didn't load successfully; error code:"+r.statusText))},r.onerror=function(){n(new Error("There was a network error."))},r.send()}))}},{key:"loadImage",value:function(e){var t=this;return new Promise((function(n,r){(new Image).crossOrigin="",t.imgLoad(e).then((function(e){var t=window.URL.createObjectURL(e);n(t)}),(function(e){r(e)}))}))}},{key:"formDataToJSON",value:function(e){var t={};return new FormData(e).forEach((function(e,n){t.hasOwnProperty(n)?(Array.isArray(t[n])||(t[n]=[t[n]]),t[n].push(e)):t[n]=e})),t}}]),t}(),A="requestLame",L="postUpdated";new function t(){e(this,t)};var C=function(){function t(){e(this,t)}return n(t,[{key:"cleanString",value:function(e){return e.replace(/(^\-+|[^a-zA-Z0-9\/_| -]+|\-+$)/g,"").toLowerCase().replace(/[\/_| -]+/g,"-")}},{key:"decodeHTML",value:function(e,t){var n=0,r=0,o=!1;void 0===t&&(t=2),e=e.toString().replace(/</g,"<").replace(/>/g,">");var i={ENT_NOQUOTES:0,ENT_HTML_QUOTE_SINGLE:1,ENT_HTML_QUOTE_DOUBLE:2,ENT_COMPAT:2,ENT_QUOTES:3,ENT_IGNORE:4};if(0===t&&(o=!0),"number"!=typeof t){for(t=[].concat(t),r=0;r]*>/g,"\n"),r.append("id",document.getElementById("post-edit-index").getAttribute("data-index")),r.append("uuid",document.getElementById("post-edit-index").getAttribute("data-uuid")),r.append("layout",document.getElementById("post-edit-index").getAttribute("data-layout")),r.append("current_title",document.getElementById("post-edit-index").getAttribute("data-slug")),r.append("content",i),r.append("title",document.getElementById("post_title").value),r.append("created",document.getElementById("post-date").getAttribute("data-raw")),r.append("slug",(new C).cleanString(document.getElementById("post_title").value)),r.append("tags",document.getElementById("post_tags").value),r.append("menu",document.getElementById("option-menu-pin").getAttribute("data-active")),r.append("featured",document.getElementById("option-feature").getAttribute("data-active")),r.append("published",document.getElementById("option-published").getAttribute("data-active")),r.append("layout",document.getElementById("page-templates").value),r.append("form_token",document.getElementById("form_token").value),null!=e||null!=e)e.type.match("image.*")?r.append("feature_image",e,e.name):n("Not an image file");else if(document.getElementById("featured-image")){var a=document.getElementById("featured-image").src;null!=a||null!=a?r.append("feature_image",a):r.append("feature_image",null)}t(r)}))}}]),t}(),O="editorDelete",N="editorUploadImage",R="editorSave",U="editorUpdate";new function t(){e(this,t)};var H=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],F=function(e,t){var n=document.createElement("div");return function(t){var r=function(){var t={position:"absolute",left:-9999,top:0,zIndex:-2e3};return"TEXTAREA"===e.tagName&&H.push("width"),H.forEach((function(n){t[n]=getComputedStyle(e)[n]})),t}();Object.keys(r).forEach((function(e){n.style[e]=r[e]})),n.innerHTML=t,e.parentNode.insertBefore(n,e.nextSibling)}(t),{rect:function(){var e=n.ownerDocument.getElementById("caret-position-marker"),t={left:e.offsetLeft,top:e.offsetTop,height:e.offsetHeight};return n.parentNode.removeChild(n),t}}};function X(e){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(e)}var q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.customPos,n=e.iframe,r=e.noShadowCaret;return n?{iframe:n,window:n.contentWindow,document:n.contentDocument||n.contentWindow.document,noShadowCaret:r,customPos:t}:{window:window,document:document,noShadowCaret:r,customPos:t}},Y=function(e){return"object"===X(e)&&null!==e},j=function(e,t){var n=function(){return e.selectionStart},r=function(r){var o=function(e){return e.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"
")};(t.customPos||0===t.customPos)&&(r=t.customPos);var i=void 0===r?n():r,a=e.value.slice(0,i),s=e.value.slice(i),l=''.concat(o(a),"");l+='|',l+=''.concat(o(s),"");var u=F(e,l).rect();return u.pos=n(),u};return{getPos:n,setPos:function(t){return e.setSelectionRange(t,t),e},getOffset:function(n){var o=function(e,t){var n=t&&t.window||window,r=t&&t.document||document,o=e.getBoundingClientRect(),i=r.documentElement,a=n.pageXOffset||i.scrollLeft,s=n.pageYOffset||i.scrollTop;return{top:o.top+s,left:o.left+a}}(e),i=r(n);return{top:o.top+i.top+t.document.body.scrollTop,left:o.left+i.left+t.document.body.scrollLeft,height:i.height}},getPosition:r}},W=function(e,t){return function(e){return!!(e.contentEditable?"true"===e.contentEditable:"true"===e.getAttribute("contenteditable"))}(e)?function(e,t){var n=function(){var n=r(),o={height:0,left:0,right:0};if(!n)return o;var i=t.customPos||0===t.customPos;if(n.endOffset-1>0&&n.endContainer!==e||i){var a=n.cloneRange(),s=i?t.customPos:n.endOffset;a.setStart(n.endContainer,s-1<0?0:s-1),a.setEnd(n.endContainer,s);var l=a.getBoundingClientRect();o={height:l.height,left:l.left+l.width,top:l.top},a.detach()}if((!o||o&&0===o.height)&&!t.noShadowCaret){var u=n.cloneRange(),c=t.document.createTextNode("|");u.insertNode(c),u.selectNode(c);var d=u.getBoundingClientRect();o={height:d.height,left:d.left,top:d.top},c.parentNode.removeChild(c),u.detach()}if(o){var f=t.document.documentElement;o.top+=t.window.pageYOffset-(f.clientTop||0),o.left+=t.window.pageXOffset-(f.clientLeft||0)}return o},r=function(){if(t.window.getSelection){var e=t.window.getSelection();return e.rangeCount>0?e.getRangeAt(0):null}},o=function(){var t=r(),n=t.cloneRange();n.selectNodeContents(e),n.setEnd(t.endContainer,t.endOffset);var o=n.toString().length;return n.detach(),o};return{getPos:o,setPos:function(n){var r=t.window.getSelection();if(r){var o=0,i=!1;!function e(a,s){for(var l=0;l=a){i=!0;var c=t.document.createRange();c.setStart(u,a-o),r.removeAllRanges(),r.addRange(c);break}o+=u.length}else e(n,u)}}(n,e)}return e},getPosition:function(){var r=n(),i=o(),a=e.getBoundingClientRect(),s=a.top+t.document.body.scrollTop,l=a.left+t.document.body.scrollLeft;return r.left-=l,r.top-=s,r.pos=i,r},getOffset:n,getRange:r}}(e,t):j(e,t)},z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n;Y(t)&&(r=t,t=null);var o=q(r),i=W(e,o);return t||0===t?i.setPos(t):i.getPosition()},G=function(){function t(){e(this,t),this.listeners=new Map}return n(t,[{key:"addListener",value:function(e,t){this.listeners.has(e)||this.listeners.set(e,[]),this.listeners.get(e).push(t)}},{key:"removeListener",value:function(e,t){var n,r=this.listeners.get(e);return!!(r&&r.length&&(n=r.reduce((function(e,n,r){return"function"==typeof n&&n===t?e=r:e}),-1))>-1)&&(r.splice(n,1),this.listeners.set(e,r),!0)}},{key:"emitEvent",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r/g)>-1){var o=z(e.textEditor).pos;t.refresh(),z(e.textEditor,o)}}))}},{key:"refresh",value:function(){var e=this.textEditor.innerText;e=e.replace(new RegExp("\r?\n","g"),"
");var t=document.createElement("div");t.innerText=e,this.textEditor.innerHTML=t.innerText,this.textEditor.style.maxWidth="900px"}},{key:"notify",value:function(e,t){switch(e){case L:document.getElementById("submit-update").classList.add("icon-hide"),document.getElementById("submit-good").classList.remove("icon-hide"),document.getElementById("edit-update").classList.remove("submit-start"),document.getElementById("edit-update").classList.add("submit-cool"),setTimeout((function(){document.getElementById("submit-update").classList.remove("icon-hide"),document.getElementById("submit-good").classList.add("icon-hide"),document.getElementById("edit-update").classList.add("submit-start"),document.getElementById("edit-update").classList.remove("submit-cool")}),2e3);break;case"postAdded":break;case N:var n,r;z(this.textEditor,this.caretPos),(n=window.getSelection()).rangeCount&&((r=n.getRangeAt(0)).deleteContents(),r.insertNode(document.createTextNode("![image alt text]("+t+" 'image title')"))),this.refresh()}}},{key:"handleEditorOption",value:function(e){var t,n,r;if(e.preventDefault(),(t=window.getSelection()).rangeCount)switch(n=t.getRangeAt(0),r=t.getRangeAt(0).toString(),n.deleteContents(),e.target.id){case"edit-bold":n.insertNode(document.createTextNode("**"+r+"**"));break;case"edit-italic":n.insertNode(document.createTextNode("*"+r+"*"));break;case"edit-strikethrough":n.insertNode(document.createTextNode(""+r+""));break;case"edit-header1":n.insertNode(document.createTextNode("# "+r));break;case"edit-header2":n.insertNode(document.createTextNode("## "+r));break;case"edit-header3":n.insertNode(document.createTextNode("### "+r));break;case"edit-image":this.caretPos=z(this.textEditor).pos,this.emitEvent(N);break;case"submit-save":case"edit-save":this.emitEvent(R);break;case"submit-update":case"edit-update":this.emitEvent(U);break;case"edit-link":n.insertNode(document.createTextNode("["+r+"](PASTE URL HERE)"));break;case"edit-delete":this.emitEvent(O)}this.refresh()}}]),i}(G),V={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},J={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},Z=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],K={CSS:{},springs:{}};function ee(e,t,n){return Math.min(Math.max(e,t),n)}function te(e,t){return e.indexOf(t)>-1}function ne(e,t){return e.apply(null,t)}var re={arr:function(e){return Array.isArray(e)},obj:function(e){return te(Object.prototype.toString.call(e),"Object")},pth:function(e){return re.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||re.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},nil:function(e){return re.und(e)||null===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return re.hex(e)||re.rgb(e)||re.hsl(e)},key:function(e){return!V.hasOwnProperty(e)&&!J.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function oe(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function ie(e,t){var n=oe(e),r=ee(re.und(n[0])?1:n[0],.1,100),o=ee(re.und(n[1])?100:n[1],.1,100),i=ee(re.und(n[2])?10:n[2],.1,100),a=ee(re.und(n[3])?0:n[3],.1,100),s=Math.sqrt(o/r),l=i/(2*Math.sqrt(o*r)),u=l<1?s*Math.sqrt(1-l*l):0,c=l<1?(l*s-a)/u:-a+s;function d(e){var n=t?t*e/1e3:e;return n=l<1?Math.exp(-n*l*s)*(1*Math.cos(u*n)+c*Math.sin(u*n)):(1+c*n)*Math.exp(-n*s),0===e||1===e?e:1-n}return t?d:function(){var t=K.springs[e];if(t)return t;for(var n=1/6,r=0,o=0;;)if(1===d(r+=n)){if(++o>=16)break}else o=0;var i=r*n*1e3;return K.springs[e]=i,i}}function ae(e){return void 0===e&&(e=10),function(t){return Math.ceil(ee(t,1e-6,1)*e)*(1/e)}}var se,le,ue=function(){var e=.1;function t(e,t){return 1-3*t+3*e}function n(e,t){return 3*t-6*e}function r(e){return 3*e}function o(e,o,i){return((t(o,i)*e+n(o,i))*e+r(o))*e}function i(e,o,i){return 3*t(o,i)*e*e+2*n(o,i)*e+r(o)}return function(t,n,r,a){if(0<=t&&t<=1&&0<=r&&r<=1){var s=new Float32Array(11);if(t!==n||r!==a)for(var l=0;l<11;++l)s[l]=o(l*e,t,r);return function(e){return t===n&&r===a||0===e||1===e?e:o(u(e),n,a)}}function u(n){for(var a=0,l=1;10!==l&&s[l]<=n;++l)a+=e;--l;var u=a+(n-s[l])/(s[l+1]-s[l])*e,c=i(u,t,r);return c>=.001?function(e,t,n,r){for(var a=0;a<4;++a){var s=i(t,n,r);if(0===s)return t;t-=(o(t,n,r)-e)/s}return t}(n,u,t,r):0===c?u:function(e,t,n,r,i){var a,s,l=0;do{(a=o(s=t+(n-t)/2,r,i)-e)>0?n=s:t=s}while(Math.abs(a)>1e-7&&++l<10);return s}(n,a,a+e,t,r)}}}(),ce=(se={linear:function(){return function(e){return e}}},le={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var n=ee(e,1,10),r=ee(t,.1,2);return function(e){return 0===e||1===e?e:-n*Math.pow(2,10*(e-1))*Math.sin((e-1-r/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/r)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,t){le[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(le).forEach((function(e){var t=le[e];se["easeIn"+e]=t,se["easeOut"+e]=function(e,n){return function(r){return 1-t(e,n)(1-r)}},se["easeInOut"+e]=function(e,n){return function(r){return r<.5?t(e,n)(2*r)/2:1-t(e,n)(-2*r+2)/2}},se["easeOutIn"+e]=function(e,n){return function(r){return r<.5?(1-t(e,n)(1-2*r))/2:(t(e,n)(2*r-1)+1)/2}}})),se);function de(e,t){if(re.fnc(e))return e;var n=e.split("(")[0],r=ce[n],o=oe(e);switch(n){case"spring":return ie(e,t);case"cubicBezier":return ne(ue,o);case"steps":return ne(ae,o);default:return ne(r,o)}}function fe(e){try{return document.querySelectorAll(e)}catch(e){return}}function he(e,t){for(var n=e.length,r=arguments.length>=2?t:void 0,o=[],i=0;i1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(0==a)t=n=r=s;else{var c=s<.5?s*(1+a):s+a-s*a,d=2*s-c;t=u(d,c,i+1/3),n=u(d,c,i),r=u(d,c,i-1/3)}return"rgba("+255*t+","+255*n+","+255*r+","+l+")"}(e):void 0;var t,n}function Ee(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function Ie(e,t){return re.fnc(e)?e(t.target,t.id,t.total):e}function ke(e,t){return e.getAttribute(t)}function Se(e,t,n){if(me([n,"deg","rad","turn"],Ee(t)))return t;var r=K.CSS[t+n];if(!re.und(r))return r;var o=document.createElement(e.tagName),i=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;i.appendChild(o),o.style.position="absolute",o.style.width=100+n;var a=100/o.offsetWidth;i.removeChild(o);var s=a*parseFloat(t);return K.CSS[t+n]=s,s}function Te(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?Se(e,o,n):o}}function De(e,t){return re.dom(e)&&!re.inp(e)&&(!re.nil(ke(e,t))||re.svg(e)&&e[t])?"attribute":re.dom(e)&&me(Z,t)?"transform":re.dom(e)&&"transform"!==t&&Te(e,t)?"css":null!=e[t]?"object":void 0}function Pe(e){if(re.dom(e)){for(var t,n=e.style.transform||"",r=/(\w+)\(([^)]*)\)/g,o=new Map;t=r.exec(n);)o.set(t[1],t[2]);return o}}function Be(e,t,n,r){var o=te(t,"scale")?1:0+function(e){return te(e,"translate")||"perspective"===e?"px":te(e,"rotate")||te(e,"skew")?"deg":void 0}(t),i=Pe(e).get(t)||o;return n&&(n.transforms.list.set(t,i),n.transforms.last=t),r?Se(e,i,r):i}function xe(e,t,n,r){switch(De(e,t)){case"transform":return Be(e,t,r,n);case"css":return Te(e,t,n);case"attribute":return ke(e,t);default:return e[t]||0}}function _e(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=Ee(e)||0,o=parseFloat(t),i=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return o+i+r;case"-":return o-i+r;case"*":return o*i+r}}function Ae(e,t){if(re.col(e))return we(e);if(/\s/g.test(e))return e;var n=Ee(e),r=n?e.substr(0,e.length-n.length):e;return t?r+t:r}function Le(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Ce(e){for(var t,n=e.points,r=0,o=0;o0&&(r+=Le(t,i)),t=i}return r}function Me(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*ke(e,"r")}(e);case"rect":return function(e){return 2*ke(e,"width")+2*ke(e,"height")}(e);case"line":return function(e){return Le({x:ke(e,"x1"),y:ke(e,"y1")},{x:ke(e,"x2"),y:ke(e,"y2")})}(e);case"polyline":return Ce(e);case"polygon":return function(e){var t=e.points;return Ce(e)+Le(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function Oe(e,t){var n=t||{},r=n.el||function(e){for(var t=e.parentNode;re.svg(t)&&re.svg(t.parentNode);)t=t.parentNode;return t}(e),o=r.getBoundingClientRect(),i=ke(r,"viewBox"),a=o.width,s=o.height,l=n.viewBox||(i?i.split(" "):[0,0,a,s]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:a,h:s,vW:l[2],vH:l[3]}}function Ne(e,t,n){function r(n){void 0===n&&(n=0);var r=t+n>=1?t+n:0;return e.el.getPointAtLength(r)}var o=Oe(e.el,e.svg),i=r(),a=r(-1),s=r(1),l=n?1:o.w/o.vW,u=n?1:o.h/o.vH;switch(e.property){case"x":return(i.x-o.x)*l;case"y":return(i.y-o.y)*u;case"angle":return 180*Math.atan2(s.y-a.y,s.x-a.x)/Math.PI}}function Re(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=Ae(re.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:re.str(e)||t?r.split(n):[]}}function Ue(e){return he(e?pe(re.arr(e)?e.map(ge):ge(e)):[],(function(e,t,n){return n.indexOf(e)===t}))}function He(e){var t=Ue(e);return t.map((function(e,n){return{target:e,id:n,total:t.length,transforms:{list:Pe(e)}}}))}function Fe(e,t){var n=ve(t);if(/^spring/.test(n.easing)&&(n.duration=ie(n.easing)),re.arr(e)){var r=e.length;2===r&&!re.obj(e[0])?e={value:e}:re.fnc(t.duration)||(n.duration=t.duration/r)}var o=re.arr(e)?e:[e];return o.map((function(e,n){var r=re.obj(e)&&!re.pth(e)?e:{value:e};return re.und(r.delay)&&(r.delay=n?0:t.delay),re.und(r.endDelay)&&(r.endDelay=n===o.length-1?t.endDelay:0),r})).map((function(e){return be(e,n)}))}function Xe(e,t){var n=[],r=t.keyframes;for(var o in r&&(t=be(function(e){for(var t=he(pe(e.map((function(e){return Object.keys(e)}))),(function(e){return re.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),n={},r=function(r){var o=t[r];n[o]=e.map((function(e){var t={};for(var n in e)re.key(n)?n==o&&(t.value=e[n]):t[n]=e[n];return t}))},o=0;o0?requestAnimationFrame(t):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){$e.suspendWhenDocumentHidden&&(Je()?e=cancelAnimationFrame(e):(Qe.forEach((function(e){return e._onDocumentVisibility()})),Ve()))})),function(){e||Je()&&$e.suspendWhenDocumentHidden||!(Qe.length>0)||(e=requestAnimationFrame(t))}}();function Je(){return!!document&&document.hidden}function $e(e){void 0===e&&(e={});var t,n=0,r=0,o=0,i=0,a=null;function s(e){var t=window.Promise&&new Promise((function(e){return a=e}));return e.finished=t,t}var l=function(e){var t=ye(V,e),n=ye(J,e),r=Xe(n,e),o=He(e.targets),i=We(o,r),a=ze(i,n),s=Ge;return Ge++,be(t,{id:s,children:[],animatables:o,animations:i,duration:a.duration,delay:a.delay,endDelay:a.endDelay})}(e);function u(){var e=l.direction;"alternate"!==e&&(l.direction="normal"!==e?"normal":"reverse"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function c(e){return l.reversed?l.duration-e:e}function d(){n=0,r=c(l.currentTime)*(1/$e.speed)}function f(e,t){t&&t.seek(e-t.timelineOffset)}function h(e){for(var t=0,n=l.animations,r=n.length;t2||(y=Math.round(y*h)/h)),p.push(y)}var E=f.length;if(E){m=f[0];for(var I=0;I0&&(l.began=!0,p("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,p("loopBegin")),v<=g&&0!==l.currentTime&&h(0),(v>=m&&l.currentTime!==d||!d)&&h(d),v>g&&v=d&&(r=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(n=o,p("loopComplete"),l.loopBegan=!1,"alternate"===l.direction&&u()):(l.paused=!0,l.completed||(l.completed=!0,p("loopComplete"),p("complete"),!l.passThrough&&"Promise"in window&&(a(),s(l)))))}return s(l),l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed="reverse"===e,l.remaining=l.loop,t=l.children;for(var n=i=t.length;n--;)l.children[n].reset();(l.reversed&&!0!==l.loop||"alternate"===e&&1===l.loop)&&l.remaining++,h(l.reversed?l.duration:0)},l._onDocumentVisibility=d,l.set=function(e,t){return je(e,t),l},l.tick=function(e){o=e,n||(n=o),g((o+(r-n))*$e.speed)},l.seek=function(e){g(c(e))},l.pause=function(){l.paused=!0,d()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Qe.push(l),d(),Ve())},l.reverse=function(){u(),l.completed=!l.reversed,d()},l.restart=function(){l.reset(),l.play()},l.remove=function(e){Ke(Ue(e),l)},l.reset(),l.autoplay&&l.play(),l}function Ze(e,t){for(var n=t.length;n--;)me(e,t[n].animatable.target)&&t.splice(n,1)}function Ke(e,t){var n=t.animations,r=t.children;Ze(e,n);for(var o=r.length;o--;){var i=r[o],a=i.animations;Ze(e,a),a.length||i.children.length||r.splice(o,1)}n.length||r.length||t.pause()}$e.version="3.2.1",$e.speed=1,$e.suspendWhenDocumentHidden=!0,$e.running=Qe,$e.remove=function(e){for(var t=Ue(e),n=Qe.length;n--;){Ke(t,Qe[n])}},$e.get=xe,$e.set=je,$e.convertPx=Se,$e.path=function(e,t){var n=re.str(e)?fe(e)[0]:e,r=t||100;return function(e){return{property:e,el:n,svg:Oe(n),totalLength:Me(n)*(r/100)}}},$e.setDashoffset=function(e){var t=Me(e);return e.setAttribute("stroke-dasharray",t),t},$e.stagger=function(e,t){void 0===t&&(t={});var n=t.direction||"normal",r=t.easing?de(t.easing):null,o=t.grid,i=t.axis,a=t.from||0,s="first"===a,l="center"===a,u="last"===a,c=re.arr(e),d=c?parseFloat(e[0]):parseFloat(e),f=c?parseFloat(e[1]):0,h=Ee(c?e[1]:e)||0,p=t.start||0+(c?d:0),g=[],m=0;return function(e,t,v){if(s&&(a=0),l&&(a=(v-1)/2),u&&(a=v-1),!g.length){for(var y=0;y-1&&Qe.splice(o,1);for(var s=0;s'].join(""),document.getElementById("featured-image-drop").innerHTML="",document.getElementById("featured-image-drop").appendChild(n)}}(n),o.readAsDataURL(n)}}}},{key:"handleImageUpload",value:function(e,t){var n=this;st.alert("Uploading Image",null),(new x).imageUpload(e,t).then((function(e){"postImageAdded"==e.type&&n.editor.notify(N,e.url),st.alert("Image Added to Entry",!0)})).catch((function(){st.alert("Uh oh. Image not added",!1)}))}}]),t}();lt.uploadFiles=[];var ut=function(){function t(n){e(this,t),this.currentPage=null,this.choosePage(n),this.start()}return n(t,[{key:"start",value:function(){}},{key:"choosePage",value:function(e){switch(this.currentPage="",e){case"edit":case"add":this.currentPage=new lt}}}]),t}(),ct=function(){function t(){e(this,t)}return n(t,[{key:"getInfo",value:function(){var e,t,n=document.getElementById("settings-handle").value,r=document.getElementById("settings-email").value,o=document.getElementById("settings-url").value,i=document.getElementById("settings-title").value,a=document.getElementById("settings-desc").value,s=document.getElementById("render-toggle").getAttribute("data-render"),l=document.getElementById("background").src,u="",c=document.querySelectorAll(".theme-select"),d=document.getElementById("smtp-domain").value,f=document.getElementById("smtp-email").value,h=document.getElementById("smtp-pass").value,p=document.getElementById("mg-domain").value,g=document.getElementById("mg-key").value,m="",v=document.querySelectorAll(".mail-option"),y=document.getElementById("api-access-toggle").getAttribute("data-enabled"),b=document.getElementById("dynamic-render-toggle").getAttribute("data-enabled");for(e=0,t=c.length;e * @author owenm * @license MIT */ -function mt(e){return mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mt(e)}function vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yt(){return yt=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Et(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var It=Et(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),kt=Et(/Edge/i),St=Et(/firefox/i),Tt=Et(/safari/i)&&!Et(/chrome/i)&&!Et(/android/i),Dt=Et(/iP(ad|od|hone)/i),Pt=Et(/chrome/i)&&Et(/android/i),xt={capture:!1,passive:!1};function Bt(e,t,n){e.addEventListener(t,n,!It&&xt)}function _t(e,t,n){e.removeEventListener(t,n,!It&&xt)}function At(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function Lt(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Ct(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&At(e,t):At(e,t))||r&&e===n)return e;if(e===n)break}while(e=Lt(e))}return null}var Mt,Ot=/\s+/g;function Nt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Ot," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Ot," ")}}function Rt(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function Ut(e,t){var n="";if("string"==typeof e)n=e;else do{var r=Rt(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function Ht(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,a=r.length;if(n)for(;o=a:o<=a))return r;if(r===Ft())break;r=Gt(r,!1)}return!1}function Yt(e,t,n){for(var r=0,o=0,a=e.children;o2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=wt(n,["evt"]);nn.pluginEvent.bind(Jn)(e,t,bt({dragEl:an,parentEl:sn,ghostEl:ln,rootEl:un,nextEl:cn,lastDownEl:dn,cloneEl:fn,cloneHidden:hn,dragStarted:Dn,putSortable:bn,activeSortable:Jn.active,originalEvent:r,oldIndex:pn,oldDraggableIndex:mn,newIndex:gn,newDraggableIndex:vn,hideGhostForTarget:zn,unhideGhostForTarget:Gn,cloneNowHidden:function(){hn=!0},cloneNowShown:function(){hn=!1},dispatchSortableEvent:function(e){on({sortable:t,name:e,originalEvent:r})}},o))};function on(e){!function(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,a=e.cloneEl,i=e.toEl,s=e.fromEl,l=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[Zt]){var g,m=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||It||kt?(g=document.createEvent("Event")).initEvent(r,!0,!0):g=new CustomEvent(r,{bubbles:!0,cancelable:!0}),g.to=i||n,g.from=s||n,g.item=o||n,g.clone=a,g.oldIndex=l,g.newIndex=u,g.oldDraggableIndex=c,g.newDraggableIndex=d,g.originalEvent=f,g.pullMode=h?h.lastPutMode:void 0;var y=bt({},p,nn.getEventProperties(r,t));for(var b in y)g[b]=y[b];n&&n.dispatchEvent(g),m[v]&&m[v].call(t,g)}}(bt({putSortable:bn,cloneEl:fn,targetEl:an,rootEl:un,oldIndex:pn,oldDraggableIndex:mn,newIndex:gn,newDraggableIndex:vn},e))}var an,sn,ln,un,cn,dn,fn,hn,pn,gn,mn,vn,yn,bn,wn,En,In,kn,Sn,Tn,Dn,Pn,xn,Bn,_n,An=!1,Ln=!1,Cn=[],Mn=!1,On=!1,Nn=[],Rn=!1,Un=[],Hn="undefined"!=typeof document,Fn=Dt,Xn=kt||It?"cssFloat":"float",qn=Hn&&!Pt&&!Dt&&"draggable"in document.createElement("div"),Yn=function(){if(Hn){if(It)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),jn=function(e,t){var n=Rt(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=Yt(e,0,t),a=Yt(e,1,t),i=o&&Rt(o),s=a&&Rt(a),l=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+Xt(o).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Xt(a).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&i.float&&"none"!==i.float){var c="left"===i.float?"left":"right";return!a||"both"!==s.clear&&s.clear!==c?"horizontal":"vertical"}return o&&("block"===i.display||"flex"===i.display||"table"===i.display||"grid"===i.display||l>=r&&"none"===n[Xn]||a&&"none"===n[Xn]&&l+u>r)?"vertical":"horizontal"},Wn=function(e){function t(e,n){return function(r,o,a,i){var s=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,o,a,i),n)(r,o,a,i);var l=(n?r:o).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==mt(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},zn=function(){!Yn&&ln&&Rt(ln,"display","none")},Gn=function(){!Yn&&ln&&Rt(ln,"display","")};Hn&&document.addEventListener("click",(function(e){if(Ln)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Ln=!1,!1}),!0);var Qn=function(e){if(an){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,a=e.clientY,Cn.some((function(e){if(!jt(e)){var t=Xt(e),n=e[Zt].options.emptyInsertThreshold,r=o>=t.left-n&&o<=t.right+n,s=a>=t.top-n&&a<=t.bottom+n;return n&&r&&s?i=e:void 0}})),i);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Zt]._onDragOver(n)}}var o,a,i},Vn=function(e){an&&an.parentNode[Zt]._isOutsideThisEl(e.target)};function Jn(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=yt({},t),e[Zt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return jn(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Jn.supportPointer&&"PointerEvent"in window&&!Tt,emptyInsertThreshold:5};for(var r in nn.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in Wn(t),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&qn,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Bt(e,"pointerdown",this._onTapStart):(Bt(e,"mousedown",this._onTapStart),Bt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Bt(e,"dragover",this),Bt(e,"dragenter",this)),Cn.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),yt(this,Kt())}function $n(e,t,n,r,o,a,i,s){var l,u,c=e[Zt],d=c.options.onMove;return!window.CustomEvent||It||kt?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=a||Xt(t),l.willInsertAfter=s,l.originalEvent=i,e.dispatchEvent(l),d&&(u=d.call(c,l,i)),u}function Zn(e){e.draggable=!1}function Kn(){Rn=!1}function er(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function tr(e){return setTimeout(e,0)}function nr(e){return clearTimeout(e)}Jn.prototype={constructor:Jn,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Pn=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,an):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,a=e.type,i=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(i||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=r.filter;if(function(e){Un.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&Un.push(r)}}(n),!an&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!Tt||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=Ct(s,r.draggable,n,!1))&&s.animated||dn===s)){if(pn=Wt(s),mn=Wt(s,r.draggable),"function"==typeof u){if(u.call(this,e,s,this))return on({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),rn("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(r){if(r=Ct(l,r.trim(),n,!1))return on({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),rn("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!Ct(l,r.handle,n,!1)||this._prepareDragStart(e,i,s)}}},_prepareDragStart:function(e,t,n){var r,o=this,a=o.el,i=o.options,s=a.ownerDocument;if(n&&!an&&n.parentNode===a){var l=Xt(n);if(un=a,sn=(an=n).parentNode,cn=an.nextSibling,dn=n,yn=i.group,Jn.dragged=an,wn={target:an,clientX:(t||e).clientX,clientY:(t||e).clientY},Sn=wn.clientX-l.left,Tn=wn.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,an.style["will-change"]="all",r=function(){rn("delayEnded",o,{evt:e}),Jn.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!St&&o.nativeDraggable&&(an.draggable=!0),o._triggerDragStart(e,t),on({sortable:o,name:"choose",originalEvent:e}),Nt(an,i.chosenClass,!0))},i.ignore.split(",").forEach((function(e){Ht(an,e.trim(),Zn)})),Bt(s,"dragover",Qn),Bt(s,"mousemove",Qn),Bt(s,"touchmove",Qn),Bt(s,"mouseup",o._onDrop),Bt(s,"touchend",o._onDrop),Bt(s,"touchcancel",o._onDrop),St&&this.nativeDraggable&&(this.options.touchStartThreshold=4,an.draggable=!0),rn("delayStart",this,{evt:e}),!i.delay||i.delayOnTouchOnly&&!t||this.nativeDraggable&&(kt||It))r();else{if(Jn.eventCanceled)return void this._onDrop();Bt(s,"mouseup",o._disableDelayedDrag),Bt(s,"touchend",o._disableDelayedDrag),Bt(s,"touchcancel",o._disableDelayedDrag),Bt(s,"mousemove",o._delayedDragTouchMoveHandler),Bt(s,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&Bt(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,i.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){an&&Zn(an),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;_t(e,"mouseup",this._disableDelayedDrag),_t(e,"touchend",this._disableDelayedDrag),_t(e,"touchcancel",this._disableDelayedDrag),_t(e,"mousemove",this._delayedDragTouchMoveHandler),_t(e,"touchmove",this._delayedDragTouchMoveHandler),_t(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Bt(document,"pointermove",this._onTouchMove):Bt(document,t?"touchmove":"mousemove",this._onTouchMove):(Bt(an,"dragend",this),Bt(un,"dragstart",this._onDragStart));try{document.selection?tr((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(An=!1,un&&an){rn("dragStarted",this,{evt:t}),this.nativeDraggable&&Bt(document,"dragover",Vn);var n=this.options;!e&&Nt(an,n.dragClass,!1),Nt(an,n.ghostClass,!0),Jn.active=this,e&&this._appendGhost(),on({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(En){this._lastX=En.clientX,this._lastY=En.clientY,zn();for(var e=document.elementFromPoint(En.clientX,En.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(En.clientX,En.clientY))!==t;)t=e;if(an.parentNode[Zt]._isOutsideThisEl(e),t)do{if(t[Zt]){if(t[Zt]._onDragOver({clientX:En.clientX,clientY:En.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Gn()}},_onTouchMove:function(e){if(wn){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,a=ln&&Ut(ln,!0),i=ln&&a&&a.a,s=ln&&a&&a.d,l=Fn&&_n&&zt(_n),u=(o.clientX-wn.clientX+r.x)/(i||1)+(l?l[0]-Nn[0]:0)/(i||1),c=(o.clientY-wn.clientY+r.y)/(s||1)+(l?l[1]-Nn[1]:0)/(s||1);if(!Jn.active&&!An){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}(e,o,this)&&!g.animated){if(g===an)return _(!1);if(g&&a===e.target&&(i=g),i&&(n=Xt(i)),!1!==$n(un,a,an,t,i,n,e,!!i))return B(),a.appendChild(an),sn=a,A(),_(!0)}else if(i.parentNode===a){n=Xt(i);var m,v,y,b=an.parentNode!==a,w=!function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,a=n?e.width:e.height,i=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===i||o===s||r+a/2===i+l/2}(an.animated&&an.toRect||t,i.animated&&i.toRect||n,o),E=o?"top":"left",I=qt(i,"top","top")||qt(an,"top","top"),k=I?I.scrollTop:void 0;if(Pn!==i&&(v=n[E],Mn=!1,On=!w&&s.invertSwap||b),m=function(e,t,n,r,o,a,i,s){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!i)if(s&&Bnc+u*a/2:ld-Bn)return-xn}else if(l>c+u*(1-o)/2&&ld-u*a/2))return l>c+u/2?1:-1;return 0}(e,i,n,o,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,On,Pn===i),0!==m){var S=Wt(an);do{S-=m,y=sn.children[S]}while(y&&("none"===Rt(y,"display")||y===ln))}if(0===m||y===i)return _(!1);Pn=i,xn=m;var T=i.nextElementSibling,D=!1,P=$n(un,a,an,t,i,n,e,D=1===m);if(!1!==P)return 1!==P&&-1!==P||(D=1===P),Rn=!0,setTimeout(Kn,30),B(),D&&!T?a.appendChild(an):i.parentNode.insertBefore(an,D?T:i),I&&Jt(I,0,k-I.scrollTop),sn=an.parentNode,void 0===v||On||(Bn=Math.abs(v-Xt(i)[E])),A(),_(!0)}if(a.contains(an))return _(!1)}return!1}function x(s,l){rn(s,h,bt({evt:e,isOwner:c,axis:o?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:i,completed:_,onMove:function(n,r){return $n(un,a,an,t,n,Xt(n),e,r)},changed:A},l))}function B(){x("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function _(t){return x("dragOverCompleted",{insertion:t}),t&&(c?u._hideClone():u._showClone(h),h!==f&&(Nt(an,bn?bn.options.ghostClass:u.options.ghostClass,!1),Nt(an,s.ghostClass,!0)),bn!==h&&h!==Jn.active?bn=h:h===Jn.active&&bn&&(bn=null),f===h&&(h._ignoreWhileAnimating=i),h.animateAll((function(){x("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(i===an&&!an.animated||i===a&&!i.animated)&&(Pn=null),s.dragoverBubble||e.rootEl||i===document||(an.parentNode[Zt]._isOutsideThisEl(e.target),!t&&Qn(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function A(){gn=Wt(an),vn=Wt(an,s.draggable),on({sortable:h,name:"change",toEl:a,newIndex:gn,newDraggableIndex:vn,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){_t(document,"mousemove",this._onTouchMove),_t(document,"touchmove",this._onTouchMove),_t(document,"pointermove",this._onTouchMove),_t(document,"dragover",Qn),_t(document,"mousemove",Qn),_t(document,"touchmove",Qn)},_offUpEvents:function(){var e=this.el.ownerDocument;_t(e,"mouseup",this._onDrop),_t(e,"touchend",this._onDrop),_t(e,"pointerup",this._onDrop),_t(e,"touchcancel",this._onDrop),_t(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;gn=Wt(an),vn=Wt(an,n.draggable),rn("drop",this,{evt:e}),sn=an&&an.parentNode,gn=Wt(an),vn=Wt(an,n.draggable),Jn.eventCanceled||(An=!1,On=!1,Mn=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),nr(this.cloneId),nr(this._dragStartId),this.nativeDraggable&&(_t(document,"drop",this),_t(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Tt&&Rt(document.body,"user-select",""),Rt(an,"transform",""),e&&(Dn&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),ln&&ln.parentNode&&ln.parentNode.removeChild(ln),(un===sn||bn&&"clone"!==bn.lastPutMode)&&fn&&fn.parentNode&&fn.parentNode.removeChild(fn),an&&(this.nativeDraggable&&_t(an,"dragend",this),Zn(an),an.style["will-change"]="",Dn&&!An&&Nt(an,bn?bn.options.ghostClass:this.options.ghostClass,!1),Nt(an,this.options.chosenClass,!1),on({sortable:this,name:"unchoose",toEl:sn,newIndex:null,newDraggableIndex:null,originalEvent:e}),un!==sn?(gn>=0&&(on({rootEl:sn,name:"add",toEl:sn,fromEl:un,originalEvent:e}),on({sortable:this,name:"remove",toEl:sn,originalEvent:e}),on({rootEl:sn,name:"sort",toEl:sn,fromEl:un,originalEvent:e}),on({sortable:this,name:"sort",toEl:sn,originalEvent:e})),bn&&bn.save()):gn!==pn&&gn>=0&&(on({sortable:this,name:"update",toEl:sn,originalEvent:e}),on({sortable:this,name:"sort",toEl:sn,originalEvent:e})),Jn.active&&(null!=gn&&-1!==gn||(gn=pn,vn=mn),on({sortable:this,name:"end",toEl:sn,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){rn("nulling",this),un=an=sn=ln=cn=fn=dn=hn=wn=En=Dn=gn=vn=pn=mn=Pn=xn=bn=yn=Jn.dragged=Jn.ghost=Jn.clone=Jn.active=null,Un.forEach((function(e){e.checked=!0})),Un.length=In=kn=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":an&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,o=n.length,a=this.options;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Et(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var It=Et(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),kt=Et(/Edge/i),St=Et(/firefox/i),Tt=Et(/safari/i)&&!Et(/chrome/i)&&!Et(/android/i),Dt=Et(/iP(ad|od|hone)/i),Pt=Et(/chrome/i)&&Et(/android/i),Bt={capture:!1,passive:!1};function xt(e,t,n){e.addEventListener(t,n,!It&&Bt)}function _t(e,t,n){e.removeEventListener(t,n,!It&&Bt)}function At(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function Lt(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Ct(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&At(e,t):At(e,t))||r&&e===n)return e;if(e===n)break}while(e=Lt(e))}return null}var Mt,Ot=/\s+/g;function Nt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Ot," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Ot," ")}}function Rt(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function Ut(e,t){var n="";if("string"==typeof e)n=e;else do{var r=Rt(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function Ht(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o=i:o<=i))return r;if(r===Ft())break;r=Gt(r,!1)}return!1}function Yt(e,t,n){for(var r=0,o=0,i=e.children;o2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=wt(n,["evt"]);nn.pluginEvent.bind(Jn)(e,t,bt({dragEl:an,parentEl:sn,ghostEl:ln,rootEl:un,nextEl:cn,lastDownEl:dn,cloneEl:fn,cloneHidden:hn,dragStarted:Dn,putSortable:bn,activeSortable:Jn.active,originalEvent:r,oldIndex:pn,oldDraggableIndex:mn,newIndex:gn,newDraggableIndex:vn,hideGhostForTarget:zn,unhideGhostForTarget:Gn,cloneNowHidden:function(){hn=!0},cloneNowShown:function(){hn=!1},dispatchSortableEvent:function(e){on({sortable:t,name:e,originalEvent:r})}},o))};function on(e){!function(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,i=e.cloneEl,a=e.toEl,s=e.fromEl,l=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[Zt]){var g,m=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||It||kt?(g=document.createEvent("Event")).initEvent(r,!0,!0):g=new CustomEvent(r,{bubbles:!0,cancelable:!0}),g.to=a||n,g.from=s||n,g.item=o||n,g.clone=i,g.oldIndex=l,g.newIndex=u,g.oldDraggableIndex=c,g.newDraggableIndex=d,g.originalEvent=f,g.pullMode=h?h.lastPutMode:void 0;var y=bt({},p,nn.getEventProperties(r,t));for(var b in y)g[b]=y[b];n&&n.dispatchEvent(g),m[v]&&m[v].call(t,g)}}(bt({putSortable:bn,cloneEl:fn,targetEl:an,rootEl:un,oldIndex:pn,oldDraggableIndex:mn,newIndex:gn,newDraggableIndex:vn},e))}var an,sn,ln,un,cn,dn,fn,hn,pn,gn,mn,vn,yn,bn,wn,En,In,kn,Sn,Tn,Dn,Pn,Bn,xn,_n,An=!1,Ln=!1,Cn=[],Mn=!1,On=!1,Nn=[],Rn=!1,Un=[],Hn="undefined"!=typeof document,Fn=Dt,Xn=kt||It?"cssFloat":"float",qn=Hn&&!Pt&&!Dt&&"draggable"in document.createElement("div"),Yn=function(){if(Hn){if(It)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),jn=function(e,t){var n=Rt(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=Yt(e,0,t),i=Yt(e,1,t),a=o&&Rt(o),s=i&&Rt(i),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Xt(o).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Xt(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&"none"!==a.float){var c="left"===a.float?"left":"right";return!i||"both"!==s.clear&&s.clear!==c?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[Xn]||i&&"none"===n[Xn]&&l+u>r)?"vertical":"horizontal"},Wn=function(e){function t(e,n){return function(r,o,i,a){var s=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,o,i,a),n)(r,o,i,a);var l=(n?r:o).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==mt(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},zn=function(){!Yn&&ln&&Rt(ln,"display","none")},Gn=function(){!Yn&&ln&&Rt(ln,"display","")};Hn&&document.addEventListener("click",(function(e){if(Ln)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Ln=!1,!1}),!0);var Qn=function(e){if(an){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,i=e.clientY,Cn.some((function(e){if(!jt(e)){var t=Xt(e),n=e[Zt].options.emptyInsertThreshold,r=o>=t.left-n&&o<=t.right+n,s=i>=t.top-n&&i<=t.bottom+n;return n&&r&&s?a=e:void 0}})),a);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Zt]._onDragOver(n)}}var o,i,a},Vn=function(e){an&&an.parentNode[Zt]._isOutsideThisEl(e.target)};function Jn(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=yt({},t),e[Zt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return jn(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Jn.supportPointer&&"PointerEvent"in window&&!Tt,emptyInsertThreshold:5};for(var r in nn.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in Wn(t),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&qn,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?xt(e,"pointerdown",this._onTapStart):(xt(e,"mousedown",this._onTapStart),xt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(xt(e,"dragover",this),xt(e,"dragenter",this)),Cn.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),yt(this,Kt())}function $n(e,t,n,r,o,i,a,s){var l,u,c=e[Zt],d=c.options.onMove;return!window.CustomEvent||It||kt?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=i||Xt(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(u=d.call(c,l,a)),u}function Zn(e){e.draggable=!1}function Kn(){Rn=!1}function er(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function tr(e){return setTimeout(e,0)}function nr(e){return clearTimeout(e)}Jn.prototype={constructor:Jn,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Pn=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,an):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,i=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=r.filter;if(function(e){Un.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&Un.push(r)}}(n),!an&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!Tt||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=Ct(s,r.draggable,n,!1))&&s.animated||dn===s)){if(pn=Wt(s),mn=Wt(s,r.draggable),"function"==typeof u){if(u.call(this,e,s,this))return on({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),rn("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(r){if(r=Ct(l,r.trim(),n,!1))return on({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),rn("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!Ct(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,o=this,i=o.el,a=o.options,s=i.ownerDocument;if(n&&!an&&n.parentNode===i){var l=Xt(n);if(un=i,sn=(an=n).parentNode,cn=an.nextSibling,dn=n,yn=a.group,Jn.dragged=an,wn={target:an,clientX:(t||e).clientX,clientY:(t||e).clientY},Sn=wn.clientX-l.left,Tn=wn.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,an.style["will-change"]="all",r=function(){rn("delayEnded",o,{evt:e}),Jn.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!St&&o.nativeDraggable&&(an.draggable=!0),o._triggerDragStart(e,t),on({sortable:o,name:"choose",originalEvent:e}),Nt(an,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){Ht(an,e.trim(),Zn)})),xt(s,"dragover",Qn),xt(s,"mousemove",Qn),xt(s,"touchmove",Qn),xt(s,"mouseup",o._onDrop),xt(s,"touchend",o._onDrop),xt(s,"touchcancel",o._onDrop),St&&this.nativeDraggable&&(this.options.touchStartThreshold=4,an.draggable=!0),rn("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(kt||It))r();else{if(Jn.eventCanceled)return void this._onDrop();xt(s,"mouseup",o._disableDelayedDrag),xt(s,"touchend",o._disableDelayedDrag),xt(s,"touchcancel",o._disableDelayedDrag),xt(s,"mousemove",o._delayedDragTouchMoveHandler),xt(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&xt(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){an&&Zn(an),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;_t(e,"mouseup",this._disableDelayedDrag),_t(e,"touchend",this._disableDelayedDrag),_t(e,"touchcancel",this._disableDelayedDrag),_t(e,"mousemove",this._delayedDragTouchMoveHandler),_t(e,"touchmove",this._delayedDragTouchMoveHandler),_t(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?xt(document,"pointermove",this._onTouchMove):xt(document,t?"touchmove":"mousemove",this._onTouchMove):(xt(an,"dragend",this),xt(un,"dragstart",this._onDragStart));try{document.selection?tr((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(An=!1,un&&an){rn("dragStarted",this,{evt:t}),this.nativeDraggable&&xt(document,"dragover",Vn);var n=this.options;!e&&Nt(an,n.dragClass,!1),Nt(an,n.ghostClass,!0),Jn.active=this,e&&this._appendGhost(),on({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(En){this._lastX=En.clientX,this._lastY=En.clientY,zn();for(var e=document.elementFromPoint(En.clientX,En.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(En.clientX,En.clientY))!==t;)t=e;if(an.parentNode[Zt]._isOutsideThisEl(e),t)do{if(t[Zt]){if(t[Zt]._onDragOver({clientX:En.clientX,clientY:En.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Gn()}},_onTouchMove:function(e){if(wn){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=ln&&Ut(ln,!0),a=ln&&i&&i.a,s=ln&&i&&i.d,l=Fn&&_n&&zt(_n),u=(o.clientX-wn.clientX+r.x)/(a||1)+(l?l[0]-Nn[0]:0)/(a||1),c=(o.clientY-wn.clientY+r.y)/(s||1)+(l?l[1]-Nn[1]:0)/(s||1);if(!Jn.active&&!An){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}(e,o,this)&&!g.animated){if(g===an)return _(!1);if(g&&i===e.target&&(a=g),a&&(n=Xt(a)),!1!==$n(un,i,an,t,a,n,e,!!a))return x(),i.appendChild(an),sn=i,A(),_(!0)}else if(a.parentNode===i){n=Xt(a);var m,v,y,b=an.parentNode!==i,w=!function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,i=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||o===s||r+i/2===a+l/2}(an.animated&&an.toRect||t,a.animated&&a.toRect||n,o),E=o?"top":"left",I=qt(a,"top","top")||qt(an,"top","top"),k=I?I.scrollTop:void 0;if(Pn!==a&&(v=n[E],Mn=!1,On=!w&&s.invertSwap||b),m=function(e,t,n,r,o,i,a,s){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!a)if(s&&xnc+u*i/2:ld-xn)return-Bn}else if(l>c+u*(1-o)/2&&ld-u*i/2))return l>c+u/2?1:-1;return 0}(e,a,n,o,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,On,Pn===a),0!==m){var S=Wt(an);do{S-=m,y=sn.children[S]}while(y&&("none"===Rt(y,"display")||y===ln))}if(0===m||y===a)return _(!1);Pn=a,Bn=m;var T=a.nextElementSibling,D=!1,P=$n(un,i,an,t,a,n,e,D=1===m);if(!1!==P)return 1!==P&&-1!==P||(D=1===P),Rn=!0,setTimeout(Kn,30),x(),D&&!T?i.appendChild(an):a.parentNode.insertBefore(an,D?T:a),I&&Jt(I,0,k-I.scrollTop),sn=an.parentNode,void 0===v||On||(xn=Math.abs(v-Xt(a)[E])),A(),_(!0)}if(i.contains(an))return _(!1)}return!1}function B(s,l){rn(s,h,bt({evt:e,isOwner:c,axis:o?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:a,completed:_,onMove:function(n,r){return $n(un,i,an,t,n,Xt(n),e,r)},changed:A},l))}function x(){B("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function _(t){return B("dragOverCompleted",{insertion:t}),t&&(c?u._hideClone():u._showClone(h),h!==f&&(Nt(an,bn?bn.options.ghostClass:u.options.ghostClass,!1),Nt(an,s.ghostClass,!0)),bn!==h&&h!==Jn.active?bn=h:h===Jn.active&&bn&&(bn=null),f===h&&(h._ignoreWhileAnimating=a),h.animateAll((function(){B("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===an&&!an.animated||a===i&&!a.animated)&&(Pn=null),s.dragoverBubble||e.rootEl||a===document||(an.parentNode[Zt]._isOutsideThisEl(e.target),!t&&Qn(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function A(){gn=Wt(an),vn=Wt(an,s.draggable),on({sortable:h,name:"change",toEl:i,newIndex:gn,newDraggableIndex:vn,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){_t(document,"mousemove",this._onTouchMove),_t(document,"touchmove",this._onTouchMove),_t(document,"pointermove",this._onTouchMove),_t(document,"dragover",Qn),_t(document,"mousemove",Qn),_t(document,"touchmove",Qn)},_offUpEvents:function(){var e=this.el.ownerDocument;_t(e,"mouseup",this._onDrop),_t(e,"touchend",this._onDrop),_t(e,"pointerup",this._onDrop),_t(e,"touchcancel",this._onDrop),_t(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;gn=Wt(an),vn=Wt(an,n.draggable),rn("drop",this,{evt:e}),sn=an&&an.parentNode,gn=Wt(an),vn=Wt(an,n.draggable),Jn.eventCanceled||(An=!1,On=!1,Mn=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),nr(this.cloneId),nr(this._dragStartId),this.nativeDraggable&&(_t(document,"drop",this),_t(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Tt&&Rt(document.body,"user-select",""),Rt(an,"transform",""),e&&(Dn&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),ln&&ln.parentNode&&ln.parentNode.removeChild(ln),(un===sn||bn&&"clone"!==bn.lastPutMode)&&fn&&fn.parentNode&&fn.parentNode.removeChild(fn),an&&(this.nativeDraggable&&_t(an,"dragend",this),Zn(an),an.style["will-change"]="",Dn&&!An&&Nt(an,bn?bn.options.ghostClass:this.options.ghostClass,!1),Nt(an,this.options.chosenClass,!1),on({sortable:this,name:"unchoose",toEl:sn,newIndex:null,newDraggableIndex:null,originalEvent:e}),un!==sn?(gn>=0&&(on({rootEl:sn,name:"add",toEl:sn,fromEl:un,originalEvent:e}),on({sortable:this,name:"remove",toEl:sn,originalEvent:e}),on({rootEl:sn,name:"sort",toEl:sn,fromEl:un,originalEvent:e}),on({sortable:this,name:"sort",toEl:sn,originalEvent:e})),bn&&bn.save()):gn!==pn&&gn>=0&&(on({sortable:this,name:"update",toEl:sn,originalEvent:e}),on({sortable:this,name:"sort",toEl:sn,originalEvent:e})),Jn.active&&(null!=gn&&-1!==gn||(gn=pn,vn=mn),on({sortable:this,name:"end",toEl:sn,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){rn("nulling",this),un=an=sn=ln=cn=fn=dn=hn=wn=En=Dn=gn=vn=pn=mn=Pn=Bn=bn=yn=Jn.dragged=Jn.ghost=Jn.clone=Jn.active=null,Un.forEach((function(e){e.checked=!0})),Un.length=In=kn=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":an&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,o=n.length,i=this.options;r this.toggleRender(e)); + document + .getElementById("render-toggle-icon") + .addEventListener("click", (e) => this.toggleRender(e)); //handle theme toggle let themeBtns = document.querySelectorAll(".theme-select"); for (var i = 0, length = themeBtns.length; i < length; i++) { @@ -140,11 +143,12 @@ export default class SettingsIndex { toggleRender(e) { e.stopPropagation(); e.preventDefault(); - if (e.target.getAttribute("data-render") == "false") { - e.target.setAttribute("data-render", "true"); + let button = document.getElementById("render-toggle"); + if (button.getAttribute("data-render") == "false") { + button.setAttribute("data-render", "true"); //e.target.innerHTML = 'RENDER PAGES ON SAVE'; } else { - e.target.setAttribute("data-render", "false"); + button.setAttribute("data-render", "false"); //e.target.innerHTML = "DON'T RENDER PAGES ON SAVE"; } }