<NME> Version.php
<BEF> <?php

namespace Bolt;

/**
 * Bolt's current version.
 *
 * @author Carson Full <carsonfull@gmail.com>
 */
final class Version
{
    /**
     * Bolt's version constant.
     *
     * This should take the form of:
     *   x.y.z [[alpha|beta|RC|patch] n]
     *
     * e.g. versions for:
     *   Stable      — 3.0.0
     *   Development — 3.1.0 alpha 1
     */
    const VERSION = '3.6.0';

    /**
     * Whether this release is a stable one.
     *
     * @return bool
     */
    public static function isStable()
    {
        return (bool) preg_match('/^[0-9\.]+$/', static::VERSION);
    }

    /**
     * Compares a semantic version (x.y.z) against Bolt's version, given a
     * specified comparison operator.
     *
     * Note 1:
     * Be sure to include the `.z` number in the version given, as
     * omitting it can give inconsistent results.
     *
     * e.g. If the version of Bolt was '3.2.0' (or greater), then:
     *     `Version::compare('3.2', '>=');`
     * is NOT equal to, or greater than, Bolt's version.
     *
     * Note 2:
     * Pre-release versions, such as 3.2.0-beta1, are considered lower
     * than their final release counterparts (like 2.3.0). As you may notice,
     * the difference being that Bolt '3.2.0-beta1' is considered LOWER than
     * the `compare($version)` value of '3.2.0'.
     *
     * e.g. If the version of Bolt was '3.2.0 beta 1', then:
     *     `Version::compare('3.2.0', '>=');`
     * is equal to, or greater than, Bolt's version.
     *
     * @see http://semver.org/ For an explanation on semantic versioning.
     * @see http://php.net/manual/en/function.version-compare.php#refsect1-function.version-compare-notes Notes on version_compare
     *
     * @param string $version  The version to compare.
     * @param string $operator The comparison operator: <, <=, >, >=, ==, !=
     *
     * @return bool Whether the comparison succeeded.
     */
    public static function compare($version, $operator)
    {
        $currentVersion = str_replace(' ', '', strtolower(static::VERSION));
        $version = str_replace(' ', '', strtolower($version));

        return version_compare($version, $currentVersion, $operator);
    }

    /**
     * Returns a version formatted for composer.
     *
     * @return string
     */
    public static function forComposer()
    {
        if (strpos(static::VERSION, ' ') === false) {
            return static::VERSION;
        }

        $version = explode(' ', static::VERSION, 2);

        return $version[0];
    }

    /**
     * @deprecated since 3.0, to be removed in 4.0.
     *
     * @return string|null
     */
    public static function name()
    {
        if (strpos(static::VERSION, ' ') === false) {
            return null;
        }

        return explode(' ', static::VERSION)[1];
    }

    /**
     * Must not be instantiated.
     */
    private function __construct()
    {
    }
}

<MSG> Merge pull request #7706 from bolt/release/3.6.1

Preparing release 3.6.1
<DFF> @@ -19,7 +19,7 @@ final class Version
      *   Stable      — 3.0.0
      *   Development — 3.1.0 alpha 1
      */
-    const VERSION = '3.6.0';
+    const VERSION = '3.6.1';
 
     /**
      * Whether this release is a stable one.

{'commit': 'diff --git a/app/src/package.json b/app/src/package.json\nindex c6ec3c397..50cb41b78 100644\n--- a/app/src/package.json\n+++ b/app/src/package.json\n@@ -12,7 +12,7 @@\n         "npm": ">=3.0.0"\n     },\n     "dependencies": {\n-        "blueimp-file-upload": "9.22.0",\n+        "blueimp-file-upload": "9.25.1",\n         "bootbox": "~4.4.0",\n         "bootstrap-sass": "~3.3.7",\n         "dropzone": "^5.5.1",\n@@ -26,7 +26,7 @@\n         "select2": "4.0.0"\n     },\n     "devDependencies": {\n-        "autoprefixer": "~9.1.5",\n+        "autoprefixer": "~9.3.1",\n         "css-mqpacker": "~7.0.0",\n         "csswring": "~7.0.0",\n         "deep-extend": "~0.6.0",\n@@ -48,7 +48,7 @@\n         "load-grunt-config": "~0.19.2",\n         "load-grunt-tasks": "~4.0.0",\n         "napa": "~3.0.0",\n-        "node-sass": "~4.9.3",\n+        "node-sass": "~4.9.4",\n         "postcss-single-charset": "~2.0.0",\n         "request": "~2.88.0"\n     },\ndiff --git a/app/src/yarn.lock b/app/src/yarn.lock\nindex baea9a380..eea7f6955 100644\n--- a/app/src/yarn.lock\n+++ b/app/src/yarn.lock\n@@ -45,7 +45,7 @@ ajv@^4.7.0:\n     co "^4.6.0"\n     json-stable-stringify "^1.0.1"\n \n-ajv@^5.1.0, ajv@^5.3.0:\n+ajv@^5.3.0:\n   version "5.5.2"\n   resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965"\n   integrity sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=\n@@ -216,24 +216,24 @@ autolinker@~0.15.0:\n   resolved "https://registry.yarnpkg.com/autolinker/-/autolinker-0.15.3.tgz#342417d8f2f3461b14cf09088d5edf8791dc9832"\n   integrity sha1-NCQX2PLzRhsUzwkIjV7fh5HcmDI=\n \n-autoprefixer@~9.1.5:\n-  version "9.1.5"\n-  resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.1.5.tgz#8675fd8d1c0d43069f3b19a2c316f3524e4f6671"\n-  integrity sha512-kk4Zb6RUc58ld7gdosERHMF3DzIYJc2fp5sX46qEsGXQQy5bXsu8qyLjoxuY1NuQ/cJuCYnx99BfjwnRggrYIw==\n+autoprefixer@~9.3.1:\n+  version "9.3.1"\n+  resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.3.1.tgz#71b622174de2b783d5fd99f9ad617b7a3c78443e"\n+  integrity sha512-DY9gOh8z3tnCbJ13JIWaeQsoYncTGdsrgCceBaQSIL4nvdrLxgbRSBPevg2XbX7u4QCSfLheSJEEIUUSlkbx6Q==\n   dependencies:\n-    browserslist "^4.1.0"\n-    caniuse-lite "^1.0.30000884"\n+    browserslist "^4.3.3"\n+    caniuse-lite "^1.0.30000898"\n     normalize-range "^0.1.2"\n     num2fraction "^1.2.2"\n-    postcss "^7.0.2"\n-    postcss-value-parser "^3.2.3"\n+    postcss "^7.0.5"\n+    postcss-value-parser "^3.3.1"\n \n aws-sign2@~0.7.0:\n   version "0.7.0"\n   resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"\n   integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=\n \n-aws4@^1.6.0, aws4@^1.8.0:\n+aws4@^1.8.0:\n   version "1.8.0"\n   resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"\n   integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==\n@@ -319,10 +319,10 @@ blueimp-canvas-to-blob@3.5.0:\n   resolved "https://registry.yarnpkg.com/blueimp-canvas-to-blob/-/blueimp-canvas-to-blob-3.5.0.tgz#5679ac32f6a2835821f0c3ad661719ff85a9236b"\n   integrity sha1-VnmsMvaig1gh8MOtZhcZ/4WpI2s=\n \n-blueimp-file-upload@9.22.0:\n-  version "9.22.0"\n-  resolved "https://registry.yarnpkg.com/blueimp-file-upload/-/blueimp-file-upload-9.22.0.tgz#056c386931778a7542a75d61e17a7fa44660b9fb"\n-  integrity sha512-zq7FarMdf21UaAIJZxSNUiHb899Dg3koMTpgC81y5k1MDJp9kNb9qOQuc7SQlNbLQ7zy/NRQgncz08u5AZkutA==\n+blueimp-file-upload@9.25.1:\n+  version "9.25.1"\n+  resolved "https://registry.yarnpkg.com/blueimp-file-upload/-/blueimp-file-upload-9.25.1.tgz#761626fa91b128a34c02c04b1a0c2c38e2250389"\n+  integrity sha512-xUqNBE5jxrsWpXLC+KRLK8t5m6/1/pFevY5SUjUJy+mGbP+U4yVTZx+ccHvEpYyK2c4/zk4sA8ZTugePfhSSKQ==\n   optionalDependencies:\n     blueimp-canvas-to-blob "3.5.0"\n     blueimp-load-image "2.12.2"\n@@ -338,23 +338,7 @@ blueimp-tmpl@3.6.0:\n   resolved "https://registry.yarnpkg.com/blueimp-tmpl/-/blueimp-tmpl-3.6.0.tgz#a4910975d042e2bc03ba77f0e62d04f1548a524c"\n   integrity sha1-pJEJddBC4rwDunfw5i0E8VSKUkw=\n \n-body-parser@1.18.2:\n-  version "1.18.2"\n-  resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454"\n-  integrity sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=\n-  dependencies:\n-    bytes "3.0.0"\n-    content-type "~1.0.4"\n-    debug "2.6.9"\n-    depd "~1.1.1"\n-    http-errors "~1.6.2"\n-    iconv-lite "0.4.19"\n-    on-finished "~2.3.0"\n-    qs "6.5.1"\n-    raw-body "2.3.2"\n-    type-is "~1.6.15"\n-\n-body-parser@^1.18.3:\n+body-parser@1.18.3, body-parser@^1.18.3:\n   version "1.18.3"\n   resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.3.tgz#5b292198ffdd553b3a0f20ded0592b956955c8b4"\n   integrity sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=\n@@ -437,14 +421,14 @@ braces@^2.3.1:\n     split-string "^3.0.2"\n     to-regex "^3.0.1"\n \n-browserslist@^4.1.0:\n-  version "4.2.0"\n-  resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.2.0.tgz#3e5e5edf7fa9758ded0885cf88c1e4be753a591c"\n-  integrity sha512-Berls1CHL7qfQz8Lct6QxYA5d2Tvt4doDWHcjvAISybpd+EKZVppNtXgXhaN6SdrPKo7YLTSZuYBs5cYrSWN8w==\n+browserslist@^4.3.3:\n+  version "4.3.4"\n+  resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.3.4.tgz#4477b737db6a1b07077275b24791e680d4300425"\n+  integrity sha512-u5iz+ijIMUlmV8blX82VGFrB9ecnUg5qEt55CMZ/YJEhha+d8qpBfOFuutJ6F/VKRXjZoD33b6uvarpPxcl3RA==\n   dependencies:\n-    caniuse-lite "^1.0.30000889"\n-    electron-to-chromium "^1.3.73"\n-    node-releases "^1.0.0-alpha.12"\n+    caniuse-lite "^1.0.30000899"\n+    electron-to-chromium "^1.3.82"\n+    node-releases "^1.0.1"\n \n buffer-alloc-unsafe@^1.1.0:\n   version "1.1.0"\n@@ -543,10 +527,10 @@ camelcase@^3.0.0:\n   resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a"\n   integrity sha1-MvxLn82vhF/N9+c7uXysImHwqwo=\n \n-caniuse-lite@^1.0.30000884, caniuse-lite@^1.0.30000889:\n-  version "1.0.30000890"\n-  resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000890.tgz#86a18ffcc65d79ec6a437e985761b8bf1c4efeaf"\n-  integrity sha512-4NI3s4Y6ROm+SgZN5sLUG4k7nVWQnedis3c/RWkynV5G6cHSY7+a8fwFyn2yoBDE3E6VswhTNNwR3PvzGqlTkg==\n+caniuse-lite@^1.0.30000898, caniuse-lite@^1.0.30000899:\n+  version "1.0.30000903"\n+  resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000903.tgz#86d46227759279b3db345ddbe778335dbba9e858"\n+  integrity sha512-T1XVJEpGCoaq7MDw7/6hCdYUukmSaS+1l/OQJkLtw7Cr2+/+d67tNGKEbyiqf7Ck8x6EhNFUxjYFXXka0N/w5g==\n \n caseless@~0.12.0:\n   version "0.12.0"\n@@ -693,14 +677,7 @@ colors@~1.1.2:\n   resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"\n   integrity sha1-FopHAXVran9RoSzgyXv6KMCE7WM=\n \n-combined-stream@1.0.6:\n-  version "1.0.6"\n-  resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818"\n-  integrity sha1-cj599ugBrFYTETp+RFqbactjKBg=\n-  dependencies:\n-    delayed-stream "~1.0.0"\n-\n-combined-stream@~1.0.5, combined-stream@~1.0.6:\n+combined-stream@^1.0.6, combined-stream@~1.0.6:\n   version "1.0.7"\n   resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.7.tgz#2d1d24317afb8abe95d6d2c0b07b57813539d828"\n   integrity sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==\n@@ -848,9 +825,9 @@ css-select@~1.2.0:\n     nth-check "~1.0.1"\n \n css-what@2.1:\n-  version "2.1.0"\n-  resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.0.tgz#9467d032c38cfaefb9f2d79501253062f87fa1bd"\n-  integrity sha1-lGfQMsOM+u+58teVASUwYvh/ob0=\n+  version "2.1.2"\n+  resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.2.tgz#c0876d9d0480927d7d4920dcd72af3595649554d"\n+  integrity sha512-wan8dMWQ0GUeF7DGEPVjhHemVW/vy6xUYmFzRY8RYqgA0JtXC9rJmbScBjqSu6dg9q0lwPQy6ZAmJVr3PPTvqQ==\n \n csswring@~7.0.0:\n   version "7.0.0"\n@@ -898,9 +875,9 @@ debug@2.6.9, debug@^2.1.1, debug@^2.2.0, debug@^2.3.3:\n     ms "2.0.0"\n \n debug@^3.1.0:\n-  version "3.2.5"\n-  resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.5.tgz#c2418fbfd7a29f4d4f70ff4cea604d4b64c46407"\n-  integrity sha512-D61LaDQPQkxJ5AUM2mbSJRbPkNs/TmdmOeLAi1hgDkpDfIfetSrjmWhccwtuResSwMbACjx/xXQofvM9CE/aeg==\n+  version "3.2.6"\n+  resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"\n+  integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==\n   dependencies:\n     ms "^2.1.1"\n \n@@ -1036,12 +1013,7 @@ delegates@^1.0.0:\n   resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"\n   integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=\n \n-depd@1.1.1:\n-  version "1.1.1"\n-  resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359"\n-  integrity sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=\n-\n-depd@~1.1.1, depd@~1.1.2:\n+depd@~1.1.2:\n   version "1.1.2"\n   resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"\n   integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=\n@@ -1084,7 +1056,12 @@ dom-serializer@0, dom-serializer@~0.1.0:\n     domelementtype "~1.1.1"\n     entities "~1.1.1"\n \n-domelementtype@1, domelementtype@^1.3.0:\n+domelementtype@1:\n+  version "1.2.1"\n+  resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.2.1.tgz#578558ef23befac043a1abb0db07635509393479"\n+  integrity sha512-SQVCLFS2E7G5CRCMdn6K9bIhRj1bS6QBWZfF0TUPh4V/BbqrQ619IdSS3/izn0FZ+9l+uODzaZjb08fjOfablA==\n+\n+domelementtype@^1.3.0:\n   version "1.3.0"\n   resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2"\n   integrity sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=\n@@ -1183,10 +1160,10 @@ ee-first@1.1.1:\n   resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"\n   integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=\n \n-electron-to-chromium@^1.3.73:\n-  version "1.3.75"\n-  resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.75.tgz#dd04551739e7371862b0ac7f4ddaa9f3f95b7e68"\n-  integrity sha512-nLo03Qpw++8R6BxDZL/B1c8SQvUe/htdgc5LWYHe5YotV2jVvRUMP5AlOmxOsyeOzgMiXrNln2mC05Ixz6vuUQ==\n+electron-to-chromium@^1.3.82:\n+  version "1.3.83"\n+  resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.83.tgz#74584eb0972bb6777811c5d68d988c722f5e6666"\n+  integrity sha512-DqJoDarxq50dcHsOOlMLNoy+qQitlMNbYb6wwbE0oUw2veHdRkpNrhmngiUYKMErdJ8SJ48rpJsZTQgy5SoEAA==\n \n encodeurl@~1.0.2:\n   version "1.0.2"\n@@ -1201,9 +1178,9 @@ end-of-stream@^1.0.0:\n     once "^1.4.0"\n \n entities@^1.1.1, entities@~1.1.1:\n-  version "1.1.1"\n-  resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0"\n-  integrity sha1-blwtClYhtdra7O+AuQ7ftc13cvA=\n+  version "1.1.2"\n+  resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56"\n+  integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==\n \n errlop@^1.0.2:\n   version "1.0.3"\n@@ -1431,13 +1408,13 @@ expand-brackets@^2.1.4:\n     to-regex "^3.0.1"\n \n express@^4.16.3:\n-  version "4.16.3"\n-  resolved "https://registry.yarnpkg.com/express/-/express-4.16.3.tgz#6af8a502350db3246ecc4becf6b5a34d22f7ed53"\n-  integrity sha1-avilAjUNsyRuzEvs9rWjTSL37VM=\n+  version "4.16.4"\n+  resolved "https://registry.yarnpkg.com/express/-/express-4.16.4.tgz#fddef61926109e24c515ea97fd2f1bdbf62df12e"\n+  integrity sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==\n   dependencies:\n     accepts "~1.3.5"\n     array-flatten "1.1.1"\n-    body-parser "1.18.2"\n+    body-parser "1.18.3"\n     content-disposition "0.5.2"\n     content-type "~1.0.4"\n     cookie "0.3.1"\n@@ -1454,10 +1431,10 @@ express@^4.16.3:\n     on-finished "~2.3.0"\n     parseurl "~1.3.2"\n     path-to-regexp "0.1.7"\n-    proxy-addr "~2.0.3"\n-    qs "6.5.1"\n+    proxy-addr "~2.0.4"\n+    qs "6.5.2"\n     range-parser "~1.2.0"\n-    safe-buffer "5.1.1"\n+    safe-buffer "5.1.2"\n     send "0.16.2"\n     serve-static "1.13.2"\n     setprototypeof "1.1.0"\n@@ -1496,7 +1473,7 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2:\n     assign-symbols "^1.0.0"\n     is-extendable "^1.0.1"\n \n-extend@^3.0.1, extend@~3.0.1, extend@~3.0.2:\n+extend@^3.0.1, extend@~3.0.2:\n   version "3.0.2"\n   resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"\n   integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==\n@@ -1693,13 +1670,13 @@ forever-agent@~0.6.1:\n   resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"\n   integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=\n \n-form-data@~2.3.1, form-data@~2.3.2:\n-  version "2.3.2"\n-  resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.2.tgz#4970498be604c20c005d4f5c23aecd21d6b49099"\n-  integrity sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=\n+form-data@~2.3.2:\n+  version "2.3.3"\n+  resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6"\n+  integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==\n   dependencies:\n     asynckit "^0.4.0"\n-    combined-stream "1.0.6"\n+    combined-stream "^1.0.6"\n     mime-types "^2.1.12"\n \n forwarded@~0.1.2:\n@@ -2107,14 +2084,6 @@ har-schema@^2.0.0:\n   resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"\n   integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=\n \n-har-validator@~5.0.3:\n-  version "5.0.3"\n-  resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd"\n-  integrity sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=\n-  dependencies:\n-    ajv "^5.1.0"\n-    har-schema "^2.0.0"\n-\n har-validator@~5.1.0:\n   version "5.1.0"\n   resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.0.tgz#44657f5688a22cfd4b72486e81b3a3fb11742c29"\n@@ -2194,26 +2163,16 @@ hosted-git-info@^2.1.4:\n   integrity sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==\n \n htmlparser2@^3.9.1:\n-  version "3.9.2"\n-  resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.9.2.tgz#1bdf87acca0f3f9e53fa4fcceb0f4b4cbb00b338"\n-  integrity sha1-G9+HrMoPP55T+k/M6w9LTLsAszg=\n+  version "3.10.0"\n+  resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.10.0.tgz#5f5e422dcf6119c0d983ed36260ce9ded0bee464"\n+  integrity sha512-J1nEUGv+MkXS0weHNWVKJJ+UrLfePxRWpN3C9bEi9fLxL2+ggW94DQvgYVXsaT30PGwYRIZKNZXuyMhp3Di4bQ==\n   dependencies:\n     domelementtype "^1.3.0"\n     domhandler "^2.3.0"\n     domutils "^1.5.1"\n     entities "^1.1.1"\n     inherits "^2.0.1"\n-    readable-stream "^2.0.2"\n-\n-http-errors@1.6.2:\n-  version "1.6.2"\n-  resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736"\n-  integrity sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=\n-  dependencies:\n-    depd "1.1.1"\n-    inherits "2.0.3"\n-    setprototypeof "1.0.3"\n-    statuses ">= 1.3.1 < 2"\n+    readable-stream "^3.0.6"\n \n http-errors@1.6.3, http-errors@~1.6.2, http-errors@~1.6.3:\n   version "1.6.3"\n@@ -2226,9 +2185,9 @@ http-errors@1.6.3, http-errors@~1.6.2, http-errors@~1.6.3:\n     statuses ">= 1.4.0 < 2"\n \n http-parser-js@>=0.4.0:\n-  version "0.4.13"\n-  resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.13.tgz#3bd6d6fde6e3172c9334c3b33b6c193d80fe1137"\n-  integrity sha1-O9bW/ebjFyyTNMOzO2wZPYD+ETc=\n+  version "0.5.0"\n+  resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.0.tgz#d65edbede84349d0dc30320815a15d39cc3cbbd8"\n+  integrity sha512-cZdEF7r4gfRIq7ezX9J0T+kQmJNOub71dWbgAXVHDct80TKP4MCETtZQ31xyv38UwgzkWPYF/Xc0ge55dW9Z9w==\n \n http-signature@~1.2.0:\n   version "1.2.0"\n@@ -2239,11 +2198,6 @@ http-signature@~1.2.0:\n     jsprim "^1.2.2"\n     sshpk "^1.7.0"\n \n-iconv-lite@0.4.19:\n-  version "0.4.19"\n-  resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"\n-  integrity sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==\n-\n iconv-lite@0.4.23:\n   version "0.4.23"\n   resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63"\n@@ -3018,17 +2972,17 @@ micromatch@^3.1.10:\n     snapdragon "^0.8.1"\n     to-regex "^3.0.2"\n \n-mime-db@^1.28.0, mime-db@~1.36.0:\n-  version "1.36.0"\n-  resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.36.0.tgz#5020478db3c7fe93aad7bbcc4dcf869c43363397"\n-  integrity sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw==\n+mime-db@^1.28.0, mime-db@~1.37.0:\n+  version "1.37.0"\n+  resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.37.0.tgz#0b6a0ce6fdbe9576e25f1f2d2fde8830dc0ad0d8"\n+  integrity sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==\n \n-mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.18, mime-types@~2.1.19:\n-  version "2.1.20"\n-  resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.20.tgz#930cb719d571e903738520f8470911548ca2cc19"\n-  integrity sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==\n+mime-types@^2.1.12, mime-types@~2.1.18, mime-types@~2.1.19:\n+  version "2.1.21"\n+  resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.21.tgz#28995aa1ecb770742fe6ae7e58f9181c744b3f96"\n+  integrity sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==\n   dependencies:\n-    mime-db "~1.36.0"\n+    mime-db "~1.37.0"\n \n mime@1.4.1:\n   version "1.4.1"\n@@ -3203,17 +3157,17 @@ node-gyp@^3.8.0:\n     tar "^2.0.0"\n     which "1"\n \n-node-releases@^1.0.0-alpha.12:\n-  version "1.0.0-alpha.12"\n-  resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.0.0-alpha.12.tgz#32e461b879ea76ac674e511d9832cf29da345268"\n-  integrity sha512-VPB4rTPqpVyWKBHbSa4YPFme3+8WHsOSpvbp0Mfj0bWsC8TEjt4HQrLl1hsBDELlp1nB4lflSgSuGTYiuyaP7Q==\n+node-releases@^1.0.1:\n+  version "1.0.2"\n+  resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.0.2.tgz#27c296d9fca3b659c64f7d43ea47a31ad2a90e4b"\n+  integrity sha512-zP8Asfg13lG9KDAW85rylSxXBYvaSdtjMIYKHUk8c1fM8drmFwRqbSYKYD+UlNVPUvrceSvgLUKHMOWR5jPWQg==\n   dependencies:\n     semver "^5.3.0"\n \n-node-sass@~4.9.3:\n-  version "4.9.3"\n-  resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.9.3.tgz#f407cf3d66f78308bb1e346b24fa428703196224"\n-  integrity sha512-XzXyGjO+84wxyH7fV6IwBOTrEBe2f0a6SBze9QWWYR/cL74AcQUks2AsqcCZenl/Fp/JVbuEaLpgrLtocwBUww==\n+node-sass@~4.9.4:\n+  version "4.9.4"\n+  resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.9.4.tgz#349bd7f1c89422ffe7e1e4b60f2055a69fbc5512"\n+  integrity sha512-MXyurANsUoE4/6KmfMkwGcBzAnJQ5xJBGW7Ei6ea8KnUKuzHr/SguVBIi3uaUAHtZCPUYkvlJ3Ef5T5VAwVpaA==\n   dependencies:\n     async-foreach "^0.1.3"\n     chalk "^1.1.1"\n@@ -3230,7 +3184,7 @@ node-sass@~4.9.3:\n     nan "^2.10.0"\n     node-gyp "^3.8.0"\n     npmlog "^4.0.0"\n-    request "2.87.0"\n+    request "^2.88.0"\n     sass-graph "^2.2.4"\n     stdout-stream "^1.4.0"\n     "true-case-path" "^1.0.2"\n@@ -3281,9 +3235,9 @@ npm-conf@^1.1.0:\n     set-blocking "~2.0.0"\n \n nth-check@~1.0.1:\n-  version "1.0.1"\n-  resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.1.tgz#9929acdf628fc2c41098deab82ac580cf149aae4"\n-  integrity sha1-mSms32KPwsQQmN6rgqxYDPFJquQ=\n+  version "1.0.2"\n+  resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.2.tgz#b2bd295c37e3dd58a3bf0700376663ba4d9cf05c"\n+  integrity sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==\n   dependencies:\n     boolbase "~1.0.0"\n \n@@ -3297,11 +3251,6 @@ number-is-nan@^1.0.0:\n   resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"\n   integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=\n \n-oauth-sign@~0.8.2:\n-  version "0.8.2"\n-  resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"\n-  integrity sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=\n-\n oauth-sign@~0.9.0:\n   version "0.9.0"\n   resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"\n@@ -3570,10 +3519,10 @@ postcss-single-charset@~2.0.0:\n   dependencies:\n     postcss "^6.0.0"\n \n-postcss-value-parser@^3.2.3:\n-  version "3.3.0"\n-  resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz#87f38f9f18f774a4ab4c8a232f5c5ce8872a9d15"\n-  integrity sha1-h/OPnxj3dKSrTIojL1xc6IcqnRU=\n+postcss-value-parser@^3.3.1:\n+  version "3.3.1"\n+  resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281"\n+  integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==\n \n postcss@^6.0.0, postcss@^6.0.11:\n   version "6.0.23"\n@@ -3584,7 +3533,7 @@ postcss@^6.0.0, postcss@^6.0.11:\n     source-map "^0.6.1"\n     supports-color "^5.4.0"\n \n-postcss@^7.0.0, postcss@^7.0.2:\n+postcss@^7.0.0, postcss@^7.0.5:\n   version "7.0.5"\n   resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.5.tgz#70e6443e36a6d520b0fd4e7593fcca3635ee9f55"\n   integrity sha512-HBNpviAUFCKvEh7NZhw1e8MBPivRszIiUnhrJ+sBFVSYSqubrzwX3KG51mYgcRHX8j/cAgZJedONZcm5jTBdgQ==\n@@ -3625,7 +3574,7 @@ proto-list@~1.2.1:\n   resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849"\n   integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=\n \n-proxy-addr@~2.0.3:\n+proxy-addr@~2.0.4:\n   version "2.0.4"\n   resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.4.tgz#ecfc733bf22ff8c6f407fa275327b9ab67e48b93"\n   integrity sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==\n@@ -3648,12 +3597,7 @@ punycode@^1.4.1:\n   resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"\n   integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=\n \n-qs@6.5.1:\n-  version "6.5.1"\n-  resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8"\n-  integrity sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==\n-\n-qs@6.5.2, qs@^6.4.0, qs@~6.5.1, qs@~6.5.2:\n+qs@6.5.2, qs@^6.4.0, qs@~6.5.2:\n   version "6.5.2"\n   resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"\n   integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==\n@@ -3663,16 +3607,6 @@ range-parser@~1.2.0:\n   resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"\n   integrity sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=\n \n-raw-body@2.3.2:\n-  version "2.3.2"\n-  resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89"\n-  integrity sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=\n-  dependencies:\n-    bytes "3.0.0"\n-    http-errors "1.6.2"\n-    iconv-lite "0.4.19"\n-    unpipe "1.0.0"\n-\n raw-body@2.3.3:\n   version "2.3.3"\n   resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.3.tgz#1b324ece6b5706e153855bc1148c65bb7f6ea0c3"\n@@ -3708,7 +3642,7 @@ read-pkg@^1.0.0:\n     normalize-package-data "^2.3.2"\n     path-type "^1.0.0"\n \n-readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.5:\n+readable-stream@^2.0.1, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.5:\n   version "2.3.6"\n   resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"\n   integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==\n@@ -3721,6 +3655,15 @@ readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable\n     string_decoder "~1.1.1"\n     util-deprecate "~1.0.1"\n \n+readable-stream@^3.0.6:\n+  version "3.0.6"\n+  resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.0.6.tgz#351302e4c68b5abd6a2ed55376a7f9a25be3057a"\n+  integrity sha512-9E1oLoOWfhSXHGv6QlwXJim7uNzd9EVlWK+21tCU9Ju/kR0/p2AZYPz4qSchgO8PlLIH4FpZYfzwS+rEksZjIg==\n+  dependencies:\n+    inherits "^2.0.3"\n+    string_decoder "^1.1.1"\n+    util-deprecate "^1.0.1"\n+\n readline2@^1.0.1:\n   version "1.0.1"\n   resolved "https://registry.yarnpkg.com/readline2/-/readline2-1.0.1.tgz#41059608ffc154757b715d9989d199ffbf372e35"\n@@ -3778,33 +3721,7 @@ repeating@^2.0.0:\n   dependencies:\n     is-finite "^1.0.0"\n \n-request@2.87.0:\n-  version "2.87.0"\n-  resolved "https://registry.yarnpkg.com/request/-/request-2.87.0.tgz#32f00235cd08d482b4d0d68db93a829c0ed5756e"\n-  integrity sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==\n-  dependencies:\n-    aws-sign2 "~0.7.0"\n-    aws4 "^1.6.0"\n-    caseless "~0.12.0"\n-    combined-stream "~1.0.5"\n-    extend "~3.0.1"\n-    forever-agent "~0.6.1"\n-    form-data "~2.3.1"\n-    har-validator "~5.0.3"\n-    http-signature "~1.2.0"\n-    is-typedarray "~1.0.0"\n-    isstream "~0.1.2"\n-    json-stringify-safe "~5.0.1"\n-    mime-types "~2.1.17"\n-    oauth-sign "~0.8.2"\n-    performance-now "^2.1.0"\n-    qs "~6.5.1"\n-    safe-buffer "^5.1.1"\n-    tough-cookie "~2.3.3"\n-    tunnel-agent "^0.6.0"\n-    uuid "^3.1.0"\n-\n-request@^2.87.0, request@~2.88.0:\n+request@^2.87.0, request@^2.88.0, request@~2.88.0:\n   version "2.88.0"\n   resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"\n   integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==\n@@ -3933,11 +3850,6 @@ rx-lite@^3.1.2:\n   resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102"\n   integrity sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI=\n \n-safe-buffer@5.1.1:\n-  version "5.1.1"\n-  resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"\n-  integrity sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==\n-\n safe-buffer@5.1.2, safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1:\n   version "5.1.2"\n   resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"\n@@ -3999,9 +3911,9 @@ select2@4.0.0:\n   integrity sha1-gbRhRWx3FI5+Qi62O9ccoLJU/Oc=\n \n "semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.5.0, semver@^5.5.1:\n-  version "5.5.1"\n-  resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.1.tgz#7dfdd8814bdb7cabc7be0fb1d734cfb66c940477"\n-  integrity sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==\n+  version "5.6.0"\n+  resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"\n+  integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==\n \n semver@~5.3.0:\n   version "5.3.0"\n@@ -4062,11 +3974,6 @@ set-value@^2.0.0:\n     is-plain-object "^2.0.3"\n     split-string "^3.0.1"\n \n-setprototypeof@1.0.3:\n-  version "1.0.3"\n-  resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04"\n-  integrity sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=\n-\n setprototypeof@1.1.0:\n   version "1.1.0"\n   resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656"\n@@ -4209,9 +4116,9 @@ spdx-expression-parse@^3.0.0:\n     spdx-license-ids "^3.0.0"\n \n spdx-license-ids@^3.0.0:\n-  version "3.0.1"\n-  resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.1.tgz#e2a303236cac54b04031fa7a5a79c7e701df852f"\n-  integrity sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w==\n+  version "3.0.2"\n+  resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.2.tgz#a59efc09784c2a5bada13cfeaf5c75dd214044d2"\n+  integrity sha512-qky9CVt0lVIECkEsYbNILVnPvycuEBkXoMFLRWsREkomQLevYhtRKC+R91a5TOAQ3bCMjikRwhyaRqj1VYatYg==\n \n split-string@^3.0.1, split-string@^3.0.2:\n   version "3.1.0"\n@@ -4231,19 +4138,18 @@ sprintf-js@~1.0.2:\n   integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=\n \n sshpk@^1.7.0:\n-  version "1.14.2"\n-  resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.14.2.tgz#c6fc61648a3d9c4e764fd3fcdf4ea105e492ba98"\n-  integrity sha1-xvxhZIo9nE52T9P8306hBeSSupg=\n+  version "1.15.2"\n+  resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.15.2.tgz#c946d6bd9b1a39d0e8635763f5242d6ed6dcb629"\n+  integrity sha512-Ra/OXQtuh0/enyl4ETZAfTaeksa6BXks5ZcjpSUNrjBr0DvrJKX+1fsKDPpT9TBXgHAFsa4510aNVgI8g/+SzA==\n   dependencies:\n     asn1 "~0.2.3"\n     assert-plus "^1.0.0"\n-    dashdash "^1.12.0"\n-    getpass "^0.1.1"\n-    safer-buffer "^2.0.2"\n-  optionalDependencies:\n     bcrypt-pbkdf "^1.0.0"\n+    dashdash "^1.12.0"\n     ecc-jsbn "~0.1.1"\n+    getpass "^0.1.1"\n     jsbn "~0.1.0"\n+    safer-buffer "^2.0.2"\n     tweetnacl "~0.14.0"\n \n static-extend@^0.1.1:\n@@ -4254,7 +4160,7 @@ static-extend@^0.1.1:\n     define-property "^0.2.5"\n     object-copy "^0.1.0"\n \n-"statuses@>= 1.3.1 < 2", "statuses@>= 1.4.0 < 2":\n+"statuses@>= 1.4.0 < 2":\n   version "1.5.0"\n   resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"\n   integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=\n@@ -4298,7 +4204,7 @@ string_decoder@0.10:\n   resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"\n   integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=\n \n-string_decoder@~1.1.1:\n+string_decoder@^1.1.1, string_decoder@~1.1.1:\n   version "1.1.1"\n   resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"\n   integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==\n@@ -4479,13 +4385,6 @@ to-regex@^3.0.1, to-regex@^3.0.2:\n     regex-not "^1.0.2"\n     safe-regex "^1.1.0"\n \n-tough-cookie@~2.3.3:\n-  version "2.3.4"\n-  resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655"\n-  integrity sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==\n-  dependencies:\n-    punycode "^1.4.1"\n-\n tough-cookie@~2.4.3:\n   version "2.4.3"\n   resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781"\n@@ -4532,7 +4431,7 @@ type-check@~0.3.2:\n   dependencies:\n     prelude-ls "~1.1.2"\n \n-type-is@~1.6.15, type-is@~1.6.16:\n+type-is@~1.6.16:\n   version "1.6.16"\n   resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194"\n   integrity sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==\n@@ -4566,9 +4465,9 @@ uid-number@^0.0.6:\n   integrity sha1-DqEOgDXo61uOREnwbaHHMGY7qoE=\n \n unbzip2-stream@^1.0.9:\n-  version "1.3.0"\n-  resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.3.0.tgz#745ad5745bc4d8f1ac2eb6fc707cfa51d52ab215"\n-  integrity sha512-kE2WkurNnPUMcryNioS68DDbhoPB8Qxsd8btHSj+sd5Pjh2GsjmeHLzMSqV9HHziAo8FzVxVCJl9ZYhk7yY1pA==\n+  version "1.3.1"\n+  resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.3.1.tgz#7854da51622a7e63624221196357803b552966a1"\n+  integrity sha512-fIZnvdjblYs7Cru/xC6tCPVhz7JkYcVQQkePwMLyQELzYTds2Xn8QefPVnvdVhhZqubxNA1cASXEH5wcK0Bucw==\n   dependencies:\n     buffer "^3.0.1"\n     through "^2.3.6"\n@@ -4665,7 +4564,7 @@ user-home@^2.0.0:\n   dependencies:\n     os-homedir "^1.0.0"\n \n-util-deprecate@^1.0.2, util-deprecate@~1.0.1:\n+util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1:\n   version "1.0.2"\n   resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"\n   integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=\n@@ -4675,7 +4574,7 @@ utils-merge@1.0.1:\n   resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"\n   integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=\n \n-uuid@^3.1.0, uuid@^3.3.2:\n+uuid@^3.3.2:\n   version "3.3.2"\n   resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"\n   integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==\ndiff --git a/app/view/js/lib.js b/app/view/js/lib.js\nindex 799cafd76..371db539c 100644\n--- a/app/view/js/lib.js\n+++ b/app/view/js/lib.js\n@@ -4,6 +4,10 @@\n \n !function(e){"object"==typeof exports?module.exports=e:"function"==typeof define&&define.amd?define(["jquery"],e):e(window.jQuery||window.$)}(function(f){var g=24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,n=function(a,r,n){var e="",t=!1,u=0,s=function(e){var t=u+1<a.length&&a.charAt(u+1)==e;return t&&u++,t},o=function(e,t,a){var r=""+t;if(s(e))for(;r.length<a;)r="0"+r;return r},c=function(e,t,a,r){return s(e)?r[t]:a[t]},i=function(e){var t=n.utc;switch(e){case"y":return t?r.getUTCFullYear():r.getFullYear();case"m":return(t?r.getUTCMonth():r.getMonth())+1;case"M":return t?r.getUTCMonth():r.getMonth();case"d":return t?r.getUTCDate():r.getDate();case"D":return t?r.getUTCDay():r.getDay();case"g":return(t?r.getUTCHours():r.getHours())%12||12;case"h":return t?r.getUTCHours():r.getHours();case"i":return t?r.getUTCMinutes():r.getMinutes();case"s":return t?r.getUTCSeconds():r.getSeconds();case"u":return t?r.getUTCMilliseconds():r.getMilliseconds();default:return""}};for(u=0;u<a.length;u++)if(t)"\'"!=a.charAt(u)||s("\'")?e+=a.charAt(u):t=!1;else switch(a.charAt(u)){case"a":e+=i("h")<12?n.ampmNames[0]:n.ampmNames[1];break;case"d":e+=o("d",i("d"),2);break;case"S":var m=i(u&&a.charAt(u-1));e+=m&&(n.getSuffix||f.noop)(m)||"";break;case"D":e+=c("D",i("D"),n.dayNamesShort,n.dayNames);break;case"o":var h=new Date(r.getFullYear(),r.getMonth(),r.getDate()).getTime(),d=new Date(r.getFullYear(),0,0).getTime();e+=o("o",Math.round((h-d)/864e5),3);break;case"g":e+=o("g",i("g"),2);break;case"h":e+=o("h",i("h"),2);break;case"u":e+=o("u",i("u"),3);break;case"i":e+=o("i",i("i"),2);break;case"m":e+=o("m",i("m"),2);break;case"M":e+=c("M",i("M"),n.monthNamesShort,n.monthNames);break;case"s":e+=o("s",i("s"),2);break;case"y":e+=s("y")?i("y"):(""+i("y")).substr(2);break;case"@":e+=r.getTime();break;case"!":e+=1e4*r.getTime()+g;break;case"\'":s("\'")?e+="\'":t=!0;break;default:e+=a.charAt(u)}return e};f.fn.formatDateTime=function(a,r){return r=f.extend({},f.formatDateTime.defaults,r),this.each(function(){var e=f(this).attr(r.attribute),t=a||f(this).attr(r.formatAttribute);void 0!==e&&!1!==e||(e=f(this).text()),""===e?f(this).text(""):f(this).text(n(t,new Date(e),r))}),this},f.formatDateTime=function(e,t,a){return a=f.extend({},f.formatDateTime.defaults,a),t?n(e,t,a):""},f.formatDateTime.defaults={monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ampmNames:["AM","PM"],getSuffix:function(e){if(3<e&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},attribute:"data-datetime",formatAttribute:"data-dateformat",utc:!1}});\n \n+!function(c){"use strict";var f=function(t,r){return t-r},l=function(t){4===t.length&&(t=t.replace(/(\\w)(\\w)(\\w)/gi,"$1$1$2$2$3$3"));var r=/(\\w{2})(\\w{2})(\\w{2})/.exec(t);return[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)]},p=function(t,e,u){var r,n=jQuery.map(l(t.start),function(t,r){var n=Math.round(t+e[r]*u);return 255<n?n=255:n<0&&(n=0),n});return r=n,"#"+jQuery.map(r,function(t){var r=t.toString(16);return r=1===r.length?"0"+r:r}).join("")};c.fn.tagcloud=function(t){var r,n,e,u,a=c.extend({},c.fn.tagcloud.defaults,t),s=this.map(function(){return c(this).attr("rel")}),i=(s=jQuery.makeArray(s).sort(f))[0],o=s.pop()-i;return 0===o&&(o=1),a.size&&(r=(a.size.end-a.size.start)/o),a.color&&(e=a.color,u=o,n=jQuery.map(l(e.end),function(t,r){return(t-l(e.start)[r])/u})),this.each(function(){var t=c(this).attr("rel")-i;a.size&&c(this).css({"font-size":a.size.start+t*r+a.size.unit}),a.color&&c(this).css({color:p(a.color,n,t)})})},c.fn.tagcloud.defaults={size:{start:14,end:18,unit:"pt"}}}(jQuery);\n+\n+!function(a){a.fn.extend({complexify:function(b,c){function h(a,b){for(var c=a.length-1;c>=0;c--)if(b[0]<=a.charCodeAt(c)&&a.charCodeAt(c)<=b[1])return b[1]-b[0]+1;return 0}function i(c){if("strict"===b.banMode){for(var d=0;d<b.bannedPasswords.length;d++)if(-1!==c.toLowerCase().indexOf(b.bannedPasswords[d].toLowerCase()))return!0;return!1}return a.inArray(c,b.bannedPasswords)>-1?!0:!1}function j(){var g=a(this).val(),j=0,k=!1;if(i(g))j=1;else for(var l=f.length-1;l>=0;l--)j+=h(g,f[l]);j=Math.log(Math.pow(j,g.length))*(1/b.strengthScaleFactor),k=j>d&&g.length>=b.minimumChars,j=100*(j/e),j=j>100?100:j,c.call(this,k,j)}var d=49,e=120,f=[[32,32],[48,57],[65,90],[97,122],[33,47],[58,64],[91,96],[123,126],[128,255],[256,383],[384,591],[592,687],[688,767],[768,879],[880,1023],[1024,1279],[1328,1423],[1424,1535],[1536,1791],[1792,1871],[1920,1983],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3456,3583],[3584,3711],[3712,3839],[3840,4095],[4096,4255],[4256,4351],[4352,4607],[4608,4991],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[7680,7935],[7936,8191],[8192,8303],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703],[8704,8959],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[10240,10495],[11904,12031],[12032,12255],[12272,12287],[12288,12351],[12352,12447],[12448,12543],[12544,12591],[12592,12687],[12688,12703],[12704,12735],[12800,13055],[13056,13311],[13312,19893],[19968,40959],[40960,42127],[42128,42191],[44032,55203],[55296,56191],[56192,56319],[56320,57343],[57344,63743],[63744,64255],[64256,64335],[64336,65023],[65056,65071],[65072,65103],[65104,65135],[65136,65278],[65279,65279],[65280,65519],[65520,65533]],g={minimumChars:8,strengthScaleFactor:1,bannedPasswords:window.COMPLEXIFY_BANLIST||[],banMode:"strict"};return a.isFunction(b)&&!c&&(c=b,b={}),b=a.extend(g,b),this.each(function(){a(this).val()&&j.apply(this)}),this.each(function(){a(this).bind("keyup focus input propertychange mouseup",j)})}})}(jQuery);\n+\n !function(t,o){"use strict";"function"==typeof define&&define.amd?define(["jquery"],o):"object"==typeof exports?module.exports=o(require("jquery")):t.bootbox=o(t.jQuery)}(this,function o(s,u){"use strict";var p={dialog:"<div class=\'bootbox modal\' tabindex=\'-1\' role=\'dialog\'><div class=\'modal-dialog\'><div class=\'modal-content\'><div class=\'modal-body\'><div class=\'bootbox-body\'></div></div></div></div></div>",header:"<div class=\'modal-header\'><h4 class=\'modal-title\'></h4></div>",footer:"<div class=\'modal-footer\'></div>",closeButton:"<button type=\'button\' class=\'bootbox-close-button close\' data-dismiss=\'modal\' aria-hidden=\'true\'>&times;</button>",form:"<form class=\'bootbox-form\'></form>",inputs:{text:"<input class=\'bootbox-input bootbox-input-text form-control\' autocomplete=off type=text />",textarea:"<textarea class=\'bootbox-input bootbox-input-textarea form-control\'></textarea>",email:"<input class=\'bootbox-input bootbox-input-email form-control\' autocomplete=\'off\' type=\'email\' />",select:"<select class=\'bootbox-input bootbox-input-select form-control\'></select>",checkbox:"<div class=\'checkbox\'><label><input class=\'bootbox-input bootbox-input-checkbox\' type=\'checkbox\' /></label></div>",date:"<input class=\'bootbox-input bootbox-input-date form-control\' autocomplete=off type=\'date\' />",time:"<input class=\'bootbox-input bootbox-input-time form-control\' autocomplete=off type=\'time\' />",number:"<input class=\'bootbox-input bootbox-input-number form-control\' autocomplete=off type=\'number\' />",password:"<input class=\'bootbox-input bootbox-input-password form-control\' autocomplete=\'off\' type=\'password\' />"}},c={locale:"en",backdrop:"static",animate:!0,className:null,closeButton:!0,show:!0,container:"body"},b={};function d(t,o,e){t.stopPropagation(),t.preventDefault(),s.isFunction(e)&&!1===e.call(o,t)||o.modal("hide")}function f(t,e){var a=0;s.each(t,function(t,o){e(t,o,a++)})}function m(t,o,e){return s.extend(!0,{},t,function(t,o){var e=t.length,a={};if(e<1||2<e)throw new Error("Invalid argument length");return 2===e||"string"==typeof t[0]?(a[o[0]]=t[0],a[o[1]]=t[1]):a=t[0],a}(o,e))}function e(t,o,e,a){return O(m({className:"bootbox-"+t,buttons:C.apply(null,o)},a,e),o)}function C(){for(var t,o,e={},a=0,n=arguments.length;a<n;a++){var r=arguments[a],l=r.toLowerCase(),i=r.toUpperCase();e[l]={label:(t=i,void 0,o=h[c.locale],o?o[t]:h.en[t])}}return e}function O(t,o){var e={};return f(o,function(t,o){e[o]=!0}),f(t.buttons,function(t){if(e[t]===u)throw new Error("button key "+t+" is not allowed (options are "+o.join("\\n")+")")}),t}b.alert=function(){var t;if((t=e("alert",["ok"],["message","callback"],arguments)).callback&&!s.isFunction(t.callback))throw new Error("alert requires callback property to be a function when provided");return t.buttons.ok.callback=t.onEscape=function(){return!s.isFunction(t.callback)||t.callback.call(this)},b.dialog(t)},b.confirm=function(){var t;if((t=e("confirm",["cancel","confirm"],["message","callback"],arguments)).buttons.cancel.callback=t.onEscape=function(){return t.callback.call(this,!1)},t.buttons.confirm.callback=function(){return t.callback.call(this,!0)},!s.isFunction(t.callback))throw new Error("confirm requires a callback");return b.dialog(t)},b.prompt=function(){var o,t,e,a,n,r,l;if(a=s(p.form),t={className:"bootbox-prompt",buttons:C("cancel","confirm"),value:"",inputType:"text"},r=(o=O(m(t,arguments,["title","callback"]),["cancel","confirm"])).show===u||o.show,o.message=a,o.buttons.cancel.callback=o.onEscape=function(){return o.callback.call(this,null)},o.buttons.confirm.callback=function(){var e;switch(o.inputType){case"text":case"textarea":case"email":case"select":case"date":case"time":case"number":case"password":e=n.val();break;case"checkbox":var t=n.find("input:checked");e=[],f(t,function(t,o){e.push(s(o).val())})}return o.callback.call(this,e)},o.show=!1,!o.title)throw new Error("prompt requires a title");if(!s.isFunction(o.callback))throw new Error("prompt requires a callback");if(!p.inputs[o.inputType])throw new Error("invalid prompt type");switch(n=s(p.inputs[o.inputType]),o.inputType){case"text":case"textarea":case"email":case"date":case"time":case"number":case"password":n.val(o.value);break;case"select":var i={};if(l=o.inputOptions||[],!s.isArray(l))throw new Error("Please pass an array of input options");if(!l.length)throw new Error("prompt with select requires options");f(l,function(t,o){var e=n;if(o.value===u||o.text===u)throw new Error("given options in wrong format");o.group&&(i[o.group]||(i[o.group]=s("<optgroup/>").attr("label",o.group)),e=i[o.group]),e.append("<option value=\'"+o.value+"\'>"+o.text+"</option>")}),f(i,function(t,o){n.append(o)}),n.val(o.value);break;case"checkbox":var c=s.isArray(o.value)?o.value:[o.value];if(!(l=o.inputOptions||[]).length)throw new Error("prompt with checkbox requires options");if(!l[0].value||!l[0].text)throw new Error("given options in wrong format");n=s("<div/>"),f(l,function(t,e){var a=s(p.inputs[o.inputType]);a.find("input").attr("value",e.value),a.find("label").append(e.text),f(c,function(t,o){o===e.value&&a.find("input").prop("checked",!0)}),n.append(a)})}return o.placeholder&&n.attr("placeholder",o.placeholder),o.pattern&&n.attr("pattern",o.pattern),o.maxlength&&n.attr("maxlength",o.maxlength),a.append(n),a.on("submit",function(t){t.preventDefault(),t.stopPropagation(),e.find(".btn-primary").click()}),(e=b.dialog(o)).off("shown.bs.modal"),e.on("shown.bs.modal",function(){n.focus()}),!0===r&&e.modal("show"),e},b.dialog=function(t){t=function(t){var a,n;if("object"!=typeof t)throw new Error("Please supply an object of options");if(!t.message)throw new Error("Please specify a message");return(t=s.extend({},c,t)).buttons||(t.buttons={}),a=t.buttons,n=function(t){var o,e=0;for(o in t)e++;return e}(a),f(a,function(t,o,e){if(s.isFunction(o)&&(o=a[t]={callback:o}),"object"!==s.type(o))throw new Error("button with key "+t+" must be an object");o.label||(o.label=t),o.className||(o.className=n<=2&&e===n-1?"btn-primary":"btn-default")}),t}(t);var e=s(p.dialog),o=e.find(".modal-dialog"),a=e.find(".modal-body"),n=t.buttons,r="",l={onEscape:t.onEscape};if(s.fn.modal===u)throw new Error("$.fn.modal is not defined; please double check you have included the Bootstrap JavaScript library. See http://getbootstrap.com/javascript/ for more details.");if(f(n,function(t,o){r+="<button data-bb-handler=\'"+t+"\' type=\'button\' class=\'btn "+o.className+"\'>"+o.label+"</button>",l[t]=o.callback}),a.find(".bootbox-body").html(t.message),!0===t.animate&&e.addClass("fade"),t.className&&e.addClass(t.className),"large"===t.size?o.addClass("modal-lg"):"small"===t.size&&o.addClass("modal-sm"),t.title&&a.before(p.header),t.closeButton){var i=s(p.closeButton);t.title?e.find(".modal-header").prepend(i):i.css("margin-top","-10px").prependTo(a)}return t.title&&e.find(".modal-title").html(t.title),r.length&&(a.after(p.footer),e.find(".modal-footer").html(r)),e.on("hidden.bs.modal",function(t){t.target===this&&e.remove()}),e.on("shown.bs.modal",function(){e.find(".btn-primary:first").focus()}),"static"!==t.backdrop&&e.on("click.dismiss.bs.modal",function(t){e.children(".modal-backdrop").length&&(t.currentTarget=e.children(".modal-backdrop").get(0)),t.target===t.currentTarget&&e.trigger("escape.close.bb")}),e.on("escape.close.bb",function(t){l.onEscape&&d(t,e,l.onEscape)}),e.on("click",".modal-footer button",function(t){var o=s(this).data("bb-handler");d(t,e,l[o])}),e.on("click",".bootbox-close-button",function(t){d(t,e,l.onEscape)}),e.on("keyup",function(t){27===t.which&&e.trigger("escape.close.bb")}),s(t.container).append(e),e.modal({backdrop:!!t.backdrop&&"static",keyboard:!1,show:!1}),t.show&&e.modal("show"),e},b.setDefaults=function(){var t={};2===arguments.length?t[arguments[0]]=arguments[1]:t=arguments[0],s.extend(c,t)},b.hideAll=function(){return s(".bootbox").modal("hide"),b};var h={bg_BG:{OK:"Ок",CANCEL:"Отказ",CONFIRM:"Потвърждавам"},br:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Sim"},cs:{OK:"OK",CANCEL:"Zrušit",CONFIRM:"Potvrdit"},da:{OK:"OK",CANCEL:"Annuller",CONFIRM:"Accepter"},de:{OK:"OK",CANCEL:"Abbrechen",CONFIRM:"Akzeptieren"},el:{OK:"Εντάξει",CANCEL:"Ακύρωση",CONFIRM:"Επιβεβαίωση"},en:{OK:"OK",CANCEL:"Cancel",CONFIRM:"OK"},es:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Aceptar"},et:{OK:"OK",CANCEL:"Katkesta",CONFIRM:"OK"},fa:{OK:"قبول",CANCEL:"لغو",CONFIRM:"تایید"},fi:{OK:"OK",CANCEL:"Peruuta",CONFIRM:"OK"},fr:{OK:"OK",CANCEL:"Annuler",CONFIRM:"D\'accord"},he:{OK:"אישור",CANCEL:"ביטול",CONFIRM:"אישור"},hu:{OK:"OK",CANCEL:"Mégsem",CONFIRM:"Megerősít"},hr:{OK:"OK",CANCEL:"Odustani",CONFIRM:"Potvrdi"},id:{OK:"OK",CANCEL:"Batal",CONFIRM:"OK"},it:{OK:"OK",CANCEL:"Annulla",CONFIRM:"Conferma"},ja:{OK:"OK",CANCEL:"キャンセル",CONFIRM:"確認"},lt:{OK:"Gerai",CANCEL:"Atšaukti",CONFIRM:"Patvirtinti"},lv:{OK:"Labi",CANCEL:"Atcelt",CONFIRM:"Apstiprināt"},nl:{OK:"OK",CANCEL:"Annuleren",CONFIRM:"Accepteren"},no:{OK:"OK",CANCEL:"Avbryt",CONFIRM:"OK"},pl:{OK:"OK",CANCEL:"Anuluj",CONFIRM:"Potwierdź"},pt:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Confirmar"},ru:{OK:"OK",CANCEL:"Отмена",CONFIRM:"Применить"},sq:{OK:"OK",CANCEL:"Anulo",CONFIRM:"Prano"},sv:{OK:"OK",CANCEL:"Avbryt",CONFIRM:"OK"},th:{OK:"ตกลง",CANCEL:"ยกเลิก",CONFIRM:"ยืนยัน"},tr:{OK:"Tamam",CANCEL:"İptal",CONFIRM:"Onayla"},zh_CN:{OK:"OK",CANCEL:"取消",CONFIRM:"确认"},zh_TW:{OK:"OK",CANCEL:"取消",CONFIRM:"確認"}};return b.addLocale=function(t,e){return s.each(["OK","CANCEL","CONFIRM"],function(t,o){if(!e[o])throw new Error("Please supply a translation for \'"+o+"\'")}),h[t]={OK:e.OK,CANCEL:e.CANCEL,CONFIRM:e.CONFIRM},b},b.removeLocale=function(t){return delete h[t],b},b.setLocale=function(t){return b.setDefaults("locale",t)},b.init=function(t){return o(t||s)},b});\n \n !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(d){var u,i,p,o,f,t,l="Close",c="BeforeClose",m="MarkupParse",g="Open",a="Change",n="mfp",h="."+n,v="mfp-ready",r="mfp-removing",s="mfp-prevent-close",e=function(){},y=!!window.jQuery,C=d(window),w=function(e,t){u.ev.on(n+e+h,t)},b=function(e,t,n,i){var o=document.createElement("div");return o.className="mfp-"+e,n&&(o.innerHTML=n),i?t&&t.appendChild(o):(o=d(o),t&&o.appendTo(t)),o},I=function(e,t){u.ev.triggerHandler(n+e,t),u.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),u.st.callbacks[e]&&u.st.callbacks[e].apply(u,d.isArray(t)?t:[t]))},x=function(e){return e===t&&u.currTemplate.closeBtn||(u.currTemplate.closeBtn=d(u.st.closeMarkup.replace("%title%",u.st.tClose)),t=e),u.currTemplate.closeBtn},k=function(){d.magnificPopup.instance||((u=new e).init(),d.magnificPopup.instance=u)};e.prototype={constructor:e,init:function(){var e=navigator.appVersion;u.isLowIE=u.isIE8=document.all&&!document.addEventListener,u.isAndroid=/android/gi.test(e),u.isIOS=/iphone|ipad|ipod/gi.test(e),u.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),u.probablyMobile=u.isAndroid||u.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),p=d(document),u.popupsCache={}},open:function(e){var t;if(!1===e.isObj){u.items=e.items.toArray(),u.index=0;var n,i=e.items;for(t=0;t<i.length;t++)if((n=i[t]).parsed&&(n=n.el[0]),n===e.el[0]){u.index=t;break}}else u.items=d.isArray(e.items)?e.items:[e.items],u.index=e.index||0;if(!u.isOpen){u.types=[],f="",e.mainEl&&e.mainEl.length?u.ev=e.mainEl.eq(0):u.ev=p,e.key?(u.popupsCache[e.key]||(u.popupsCache[e.key]={}),u.currTemplate=u.popupsCache[e.key]):u.currTemplate={},u.st=d.extend(!0,{},d.magnificPopup.defaults,e),u.fixedContentPos="auto"===u.st.fixedContentPos?!u.probablyMobile:u.st.fixedContentPos,u.st.modal&&(u.st.closeOnContentClick=!1,u.st.closeOnBgClick=!1,u.st.showCloseBtn=!1,u.st.enableEscapeKey=!1),u.bgOverlay||(u.bgOverlay=b("bg").on("click"+h,function(){u.close()}),u.wrap=b("wrap").attr("tabindex",-1).on("click"+h,function(e){u._checkIfClose(e.target)&&u.close()}),u.container=b("container",u.wrap)),u.contentContainer=b("content"),u.st.preloader&&(u.preloader=b("preloader",u.container,u.st.tLoading));var o=d.magnificPopup.modules;for(t=0;t<o.length;t++){var r=o[t];r=r.charAt(0).toUpperCase()+r.slice(1),u["init"+r].call(u)}I("BeforeOpen"),u.st.showCloseBtn&&(u.st.closeBtnInside?(w(m,function(e,t,n,i){n.close_replaceWith=x(i.type)}),f+=" mfp-close-btn-in"):u.wrap.append(x())),u.st.alignTop&&(f+=" mfp-align-top"),u.fixedContentPos?u.wrap.css({overflow:u.st.overflowY,overflowX:"hidden",overflowY:u.st.overflowY}):u.wrap.css({top:C.scrollTop(),position:"absolute"}),(!1===u.st.fixedBgPos||"auto"===u.st.fixedBgPos&&!u.fixedContentPos)&&u.bgOverlay.css({height:p.height(),position:"absolute"}),u.st.enableEscapeKey&&p.on("keyup"+h,function(e){27===e.keyCode&&u.close()}),C.on("resize"+h,function(){u.updateSize()}),u.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&u.wrap.addClass(f);var a=u.wH=C.height(),s={};if(u.fixedContentPos&&u._hasScrollBar(a)){var l=u._getScrollbarSize();l&&(s.marginRight=l)}u.fixedContentPos&&(u.isIE7?d("body, html").css("overflow","hidden"):s.overflow="hidden");var c=u.st.mainClass;return u.isIE7&&(c+=" mfp-ie7"),c&&u._addClassToMFP(c),u.updateItemHTML(),I("BuildControls"),d("html").css(s),u.bgOverlay.add(u.wrap).prependTo(u.st.prependTo||d(document.body)),u._lastFocusedEl=document.activeElement,setTimeout(function(){u.content?(u._addClassToMFP(v),u._setFocus()):u.bgOverlay.addClass(v),p.on("focusin"+h,u._onFocusIn)},16),u.isOpen=!0,u.updateSize(a),I(g),e}u.updateItemHTML()},close:function(){u.isOpen&&(I(c),u.isOpen=!1,u.st.removalDelay&&!u.isLowIE&&u.supportsTransition?(u._addClassToMFP(r),setTimeout(function(){u._close()},u.st.removalDelay)):u._close())},_close:function(){I(l);var e=r+" "+v+" ";if(u.bgOverlay.detach(),u.wrap.detach(),u.container.empty(),u.st.mainClass&&(e+=u.st.mainClass+" "),u._removeClassFromMFP(e),u.fixedContentPos){var t={marginRight:""};u.isIE7?d("body, html").css("overflow",""):t.overflow="",d("html").css(t)}p.off("keyup.mfp focusin"+h),u.ev.off(h),u.wrap.attr("class","mfp-wrap").removeAttr("style"),u.bgOverlay.attr("class","mfp-bg"),u.container.attr("class","mfp-container"),!u.st.showCloseBtn||u.st.closeBtnInside&&!0!==u.currTemplate[u.currItem.type]||u.currTemplate.closeBtn&&u.currTemplate.closeBtn.detach(),u.st.autoFocusLast&&u._lastFocusedEl&&d(u._lastFocusedEl).focus(),u.currItem=null,u.content=null,u.currTemplate=null,u.prevHeight=0,I("AfterClose")},updateSize:function(e){if(u.isIOS){var t=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*t;u.wrap.css("height",n),u.wH=n}else u.wH=e||C.height();u.fixedContentPos||u.wrap.css("height",u.wH),I("Resize")},updateItemHTML:function(){var e=u.items[u.index];u.contentContainer.detach(),u.content&&u.content.detach(),e.parsed||(e=u.parseEl(u.index));var t=e.type;if(I("BeforeChange",[u.currItem?u.currItem.type:"",t]),u.currItem=e,!u.currTemplate[t]){var n=!!u.st[t]&&u.st[t].markup;I("FirstMarkupParse",n),u.currTemplate[t]=!n||d(n)}o&&o!==e.type&&u.container.removeClass("mfp-"+o+"-holder");var i=u["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,u.currTemplate[t]);u.appendContent(i,t),e.preloaded=!0,I(a,e),o=e.type,u.container.prepend(u.contentContainer),I("AfterChange")},appendContent:function(e,t){(u.content=e)?u.st.showCloseBtn&&u.st.closeBtnInside&&!0===u.currTemplate[t]?u.content.find(".mfp-close").length||u.content.append(x()):u.content=e:u.content="",I("BeforeAppend"),u.container.addClass("mfp-"+t+"-holder"),u.contentContainer.append(u.content)},parseEl:function(e){var t,n=u.items[e];if((n=n.tagName?{el:d(n)}:(t=n.type,{data:n,src:n.src})).el){for(var i=u.types,o=0;o<i.length;o++)if(n.el.hasClass("mfp-"+i[o])){t=i[o];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=t||u.st.type||"inline",n.index=e,n.parsed=!0,u.items[e]=n,I("ElementParse",n),u.items[e]},addGroup:function(t,n){var e=function(e){e.mfpEl=this,u._openClick(e,t,n)};n||(n={});var i="click.magnificPopup";n.mainEl=t,n.items?(n.isObj=!0,t.off(i).on(i,e)):(n.isObj=!1,n.delegate?t.off(i).on(i,n.delegate,e):(n.items=t).off(i).on(i,e))},_openClick:function(e,t,n){if((void 0!==n.midClick?n.midClick:d.magnificPopup.defaults.midClick)||!(2===e.which||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){var i=void 0!==n.disableOn?n.disableOn:d.magnificPopup.defaults.disableOn;if(i)if(d.isFunction(i)){if(!i.call(u))return!0}else if(C.width()<i)return!0;e.type&&(e.preventDefault(),u.isOpen&&e.stopPropagation()),n.el=d(e.mfpEl),n.delegate&&(n.items=t.find(n.delegate)),u.open(n)}},updateStatus:function(e,t){if(u.preloader){i!==e&&u.container.removeClass("mfp-s-"+i),t||"loading"!==e||(t=u.st.tLoading);var n={status:e,text:t};I("UpdateStatus",n),e=n.status,t=n.text,u.preloader.html(t),u.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),u.container.addClass("mfp-s-"+e),i=e}},_checkIfClose:function(e){if(!d(e).hasClass(s)){var t=u.st.closeOnContentClick,n=u.st.closeOnBgClick;if(t&&n)return!0;if(!u.content||d(e).hasClass("mfp-close")||u.preloader&&e===u.preloader[0])return!0;if(e===u.content[0]||d.contains(u.content[0],e)){if(t)return!0}else if(n&&d.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){u.bgOverlay.addClass(e),u.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),u.wrap.removeClass(e)},_hasScrollBar:function(e){return(u.isIE7?p.height():document.body.scrollHeight)>(e||C.height())},_setFocus:function(){(u.st.focus?u.content.find(u.st.focus).eq(0):u.wrap).focus()},_onFocusIn:function(e){if(e.target!==u.wrap[0]&&!d.contains(u.wrap[0],e.target))return u._setFocus(),!1},_parseMarkup:function(o,e,t){var r;t.data&&(e=d.extend(t.data,e)),I(m,[o,e,t]),d.each(e,function(e,t){if(void 0===t||!1===t)return!0;if(1<(r=e.split("_")).length){var n=o.find(h+"-"+r[0]);if(0<n.length){var i=r[1];"replaceWith"===i?n[0]!==t[0]&&n.replaceWith(t):"img"===i?n.is("img")?n.attr("src",t):n.replaceWith(d("<img>").attr("src",t).attr("class",n.attr("class"))):n.attr(r[1],t)}}else o.find(h+"-"+e).html(t)})},_getScrollbarSize:function(){if(void 0===u.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),u.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return u.scrollbarSize}},d.magnificPopup={instance:null,proto:e.prototype,modules:[],open:function(e,t){return k(),(e=e?d.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return d.magnificPopup.instance&&d.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(d.magnificPopup.defaults[e]=t.options),d.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:\'<button title="%title%" type="button" class="mfp-close">&#215;</button>\',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},d.fn.magnificPopup=function(e){k();var t=d(this);if("string"==typeof e)if("open"===e){var n,i=y?t.data("magnificPopup"):t[0].magnificPopup,o=parseInt(arguments[1],10)||0;n=i.items?i.items[o]:(n=t,i.delegate&&(n=n.find(i.delegate)),n.eq(o)),u._openClick({mfpEl:n},t,i)}else u.isOpen&&u[e].apply(u,Array.prototype.slice.call(arguments,1));else e=d.extend(!0,{},e),y?t.data("magnificPopup",e):t[0].magnificPopup=e,u.addGroup(t,e);return t};var T,_,P,S="inline",E=function(){P&&(_.after(P.addClass(T)).detach(),P=null)};d.magnificPopup.registerModule(S,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){u.types.push(S),w(l+"."+S,function(){E()})},getInline:function(e,t){if(E(),e.src){var n=u.st.inline,i=d(e.src);if(i.length){var o=i[0].parentNode;o&&o.tagName&&(_||(T=n.hiddenClass,_=b(T),T="mfp-"+T),P=i.after(_).detach().removeClass(T)),u.updateStatus("ready")}else u.updateStatus("error",n.tNotFound),i=d("<div>");return e.inlineElement=i}return u.updateStatus("ready"),u._parseMarkup(t,{},e),t}}});var z,O="ajax",M=function(){z&&d(document.body).removeClass(z)},B=function(){M(),u.req&&u.req.abort()};d.magnificPopup.registerModule(O,{options:{settings:null,cursor:"mfp-ajax-cur",tError:\'<a href="%url%">The content</a> could not be loaded.\'},proto:{initAjax:function(){u.types.push(O),z=u.st.ajax.cursor,w(l+"."+O,B),w("BeforeChange."+O,B)},getAjax:function(o){z&&d(document.body).addClass(z),u.updateStatus("loading");var e=d.extend({url:o.src,success:function(e,t,n){var i={data:e,xhr:n};I("ParseAjax",i),u.appendContent(d(i.data),O),o.finished=!0,M(),u._setFocus(),setTimeout(function(){u.wrap.addClass(v)},16),u.updateStatus("ready"),I("AjaxContentAdded")},error:function(){M(),o.finished=o.loadError=!0,u.updateStatus("error",u.st.ajax.tError.replace("%url%",o.src))}},u.st.ajax.settings);return u.req=d.ajax(e),""}}});var L;d.magnificPopup.registerModule("image",{options:{markup:\'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>\',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:\'<a href="%url%">The image</a> could not be loaded.\'},proto:{initImage:function(){var e=u.st.image,t=".image";u.types.push("image"),w(g+t,function(){"image"===u.currItem.type&&e.cursor&&d(document.body).addClass(e.cursor)}),w(l+t,function(){e.cursor&&d(document.body).removeClass(e.cursor),C.off("resize"+h)}),w("Resize"+t,u.resizeImage),u.isLowIE&&w("AfterChange",u.resizeImage)},resizeImage:function(){var e=u.currItem;if(e&&e.img&&u.st.image.verticalFit){var t=0;u.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",u.wH-t)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,L&&clearInterval(L),e.isCheckingImgSize=!1,I("ImageHasSize",e),e.imgHidden&&(u.content&&u.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(t){var n=0,i=t.img[0],o=function(e){L&&clearInterval(L),L=setInterval(function(){0<i.naturalWidth?u._onImageHasSize(t):(200<n&&clearInterval(L),3===++n?o(10):40===n?o(50):100===n&&o(500))},e)};o(1)},getImage:function(e,t){var n=0,i=function(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===u.currItem&&(u._onImageHasSize(e),u.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,I("ImageLoadComplete")):++n<200?setTimeout(i,100):o())},o=function(){e&&(e.img.off(".mfploader"),e===u.currItem&&(u._onImageHasSize(e),u.updateStatus("error",r.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)},r=u.st.image,a=t.find(".mfp-img");if(a.length){var s=document.createElement("img");s.className="mfp-img",e.el&&e.el.find("img").length&&(s.alt=e.el.find("img").attr("alt")),e.img=d(s).on("load.mfploader",i).on("error.mfploader",o),s.src=e.src,a.is("img")&&(e.img=e.img.clone()),0<(s=e.img[0]).naturalWidth?e.hasSize=!0:s.width||(e.hasSize=!1)}return u._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=u.st.image.titleSrc;if(t){if(d.isFunction(t))return t.call(u,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),u.resizeImage(),e.hasSize?(L&&clearInterval(L),e.loadError?(t.addClass("mfp-loading"),u.updateStatus("error",r.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),u.updateStatus("ready"))):(u.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),u.findImageSize(e))),t}}});var H;d.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,r=u.st.zoom,t=".zoom";if(r.enabled&&u.supportsTransition){var n,i,o=r.duration,a=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+r.duration/1e3+"s "+r.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return i["-webkit-"+o]=i["-moz-"+o]=i["-o-"+o]=i[o]=n,t.css(i),t},s=function(){u.content.css("visibility","visible")};w("BuildControls"+t,function(){if(u._allowZoom()){if(clearTimeout(n),u.content.css("visibility","hidden"),!(e=u._getItemToZoom()))return void s();(i=a(e)).css(u._getOffset()),u.wrap.append(i),n=setTimeout(function(){i.css(u._getOffset(!0)),n=setTimeout(function(){s(),setTimeout(function(){i.remove(),e=i=null,I("ZoomAnimationEnded")},16)},o)},16)}}),w(c+t,function(){if(u._allowZoom()){if(clearTimeout(n),u.st.removalDelay=o,!e){if(!(e=u._getItemToZoom()))return;i=a(e)}i.css(u._getOffset(!0)),u.wrap.append(i),u.content.css("visibility","hidden"),setTimeout(function(){i.css(u._getOffset())},16)}}),w(l+t,function(){u._allowZoom()&&(s(),i&&i.remove(),e=null)})}},_allowZoom:function(){return"image"===u.currItem.type},_getItemToZoom:function(){return!!u.currItem.hasSize&&u.currItem.img},_getOffset:function(e){var t,n=(t=e?u.currItem.img:u.st.zoom.opener(u.currItem.el||u.currItem)).offset(),i=parseInt(t.css("padding-top"),10),o=parseInt(t.css("padding-bottom"),10);n.top-=d(window).scrollTop()-i;var r={width:t.width(),height:(y?t.innerHeight():t[0].offsetHeight)-o-i};return void 0===H&&(H=void 0!==document.createElement("p").style.MozTransform),H?r["-moz-transform"]=r.transform="translate("+n.left+"px,"+n.top+"px)":(r.left=n.left,r.top=n.top),r}}});var A="iframe",F=function(e){if(u.currTemplate[A]){var t=u.currTemplate[A].find("iframe");t.length&&(e||(t[0].src="//about:blank"),u.isIE8&&t.css("display",e?"block":"none"))}};d.magnificPopup.registerModule(A,{options:{markup:\'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>\',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){u.types.push(A),w("BeforeChange",function(e,t,n){t!==n&&(t===A?F():n===A&&F(!0))}),w(l+"."+A,function(){F()})},getIframe:function(e,t){var n=e.src,i=u.st.iframe;d.each(i.patterns,function(){if(-1<n.indexOf(this.index))return this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1});var o={};return i.srcAction&&(o[i.srcAction]=n),u._parseMarkup(t,o,e),u.updateStatus("ready"),t}}});var j=function(e){var t=u.items.length;return t-1<e?e-t:e<0?t+e:e},N=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};d.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:\'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>\',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=u.st.gallery,e=".mfp-gallery";if(u.direction=!0,!r||!r.enabled)return!1;f+=" mfp-gallery",w(g+e,function(){r.navigateByImgClick&&u.wrap.on("click"+e,".mfp-img",function(){if(1<u.items.length)return u.next(),!1}),p.on("keydown"+e,function(e){37===e.keyCode?u.prev():39===e.keyCode&&u.next()})}),w("UpdateStatus"+e,function(e,t){t.text&&(t.text=N(t.text,u.currItem.index,u.items.length))}),w(m+e,function(e,t,n,i){var o=u.items.length;n.counter=1<o?N(r.tCounter,i.index,o):""}),w("BuildControls"+e,function(){if(1<u.items.length&&r.arrows&&!u.arrowLeft){var e=r.arrowMarkup,t=u.arrowLeft=d(e.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(s),n=u.arrowRight=d(e.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(s);t.click(function(){u.prev()}),n.click(function(){u.next()}),u.container.append(t.add(n))}}),w(a+e,function(){u._preloadTimeout&&clearTimeout(u._preloadTimeout),u._preloadTimeout=setTimeout(function(){u.preloadNearbyImages(),u._preloadTimeout=null},16)}),w(l+e,function(){p.off(e),u.wrap.off("click"+e),u.arrowRight=u.arrowLeft=null})},next:function(){u.direction=!0,u.index=j(u.index+1),u.updateItemHTML()},prev:function(){u.direction=!1,u.index=j(u.index-1),u.updateItemHTML()},goTo:function(e){u.direction=e>=u.index,u.index=e,u.updateItemHTML()},preloadNearbyImages:function(){var e,t=u.st.gallery.preload,n=Math.min(t[0],u.items.length),i=Math.min(t[1],u.items.length);for(e=1;e<=(u.direction?i:n);e++)u._preloadItem(u.index+e);for(e=1;e<=(u.direction?n:i);e++)u._preloadItem(u.index-e)},_preloadItem:function(e){if(e=j(e),!u.items[e].preloaded){var t=u.items[e];t.parsed||(t=u.parseEl(e)),I("LazyLoad",t),"image"===t.type&&(t.img=d(\'<img class="mfp-img" />\').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,I("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0}}}});var W="retina";d.magnificPopup.registerModule(W,{options:{replaceSrc:function(e){return e.src.replace(/\\.\\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(1<window.devicePixelRatio){var n=u.st.retina,i=n.ratio;1<(i=isNaN(i)?i():i)&&(w("ImageHasSize."+W,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),w("ElementParse."+W,function(e,t){t.src=n.replaceSrc(t,i)}))}}}}),k()});\n@@ -24,7 +28,7 @@ this.items=t.grep(this.items,function(t){for(var i=0;e.length>i;i++)if(e[i]===t.\n \n !function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery)}(function(m){"use strict";var n=0,t=m,r="parseJSON";"JSON"in window&&"parse"in JSON&&(t=JSON,r="parse"),m.ajaxTransport("iframe",function(a){if(a.async){var o,i,t,p=a.initialIframeSrc||"javascript:false;";return{send:function(e,r){(o=m(\'<form style="display:none;"></form>\')).attr("accept-charset",a.formAcceptCharset),t=/\\?/.test(a.url)?"&":"?","DELETE"===a.type?(a.url=a.url+t+"_method=DELETE",a.type="POST"):"PUT"===a.type?(a.url=a.url+t+"_method=PUT",a.type="POST"):"PATCH"===a.type&&(a.url=a.url+t+"_method=PATCH",a.type="POST"),i=m(\'<iframe src="\'+p+\'" name="iframe-transport-\'+(n+=1)+\'"></iframe>\').bind("load",function(){var n,t=m.isArray(a.paramName)?a.paramName:[a.paramName];i.unbind("load").bind("load",function(){var t;try{if(!(t=i.contents()).length||!t[0].firstChild)throw new Error}catch(e){t=void 0}r(200,"success",{iframe:t}),m(\'<iframe src="\'+p+\'"></iframe>\').appendTo(o),window.setTimeout(function(){o.remove()},0)}),o.prop("target",i.prop("name")).prop("action",a.url).prop("method",a.type),a.formData&&m.each(a.formData,function(e,t){m(\'<input type="hidden"/>\').prop("name",t.name).val(t.value).appendTo(o)}),a.fileInput&&a.fileInput.length&&"POST"===a.type&&(n=a.fileInput.clone(),a.fileInput.after(function(e){return n[e]}),a.paramName&&a.fileInput.each(function(e){m(this).prop("name",t[e]||a.paramName)}),o.append(a.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data"),a.fileInput.removeAttr("form")),o.submit(),n&&n.length&&a.fileInput.each(function(e,t){var r=m(n[e]);m(t).prop("name",r.prop("name")).attr("form",r.attr("form")),r.replaceWith(t)})}),o.append(i).appendTo(document.body)},abort:function(){i&&i.unbind("load").prop("src",p),o&&o.remove()}}}}),m.ajaxSetup({converters:{"iframe text":function(e){return e&&m(e[0].body).text()},"iframe json":function(e){return e&&t[r](m(e[0].body).text())},"iframe html":function(e){return e&&m(e[0].body).html()},"iframe xml":function(e){var t=e&&e[0];return t&&m.isXMLDoc(t)?t:m.parseXML(t.XMLDocument&&t.XMLDocument.xml||m(t.body).html())},"iframe script":function(e){return e&&m.globalEval(m(e[0].body).text())}}})});\n \n-!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery-ui/ui/widget"],e):"object"==typeof exports?e(require("jquery"),require("./vendor/jquery.ui.widget")):e(window.jQuery)}(function(m){"use strict";function e(i){var r="dragover"===i;return function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var t=e.dataTransfer;t&&-1!==m.inArray("Files",t.types)&&!1!==this._trigger(i,m.Event(i,{delegatedEvent:e}))&&(e.preventDefault(),r&&(t.dropEffect="copy"))}}m.support.fileInput=!(new RegExp("(Android (1\\\\.[0156]|2\\\\.[01]))|(Windows Phone (OS 7|8\\\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\\\.0|2\\\\.[05]|3\\\\.0))").test(window.navigator.userAgent)||m(\'<input type="file"/>\').prop("disabled")),m.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),m.support.xhrFormDataFileUpload=!!window.FormData,m.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),m.widget("blueimp.fileupload",{options:{dropZone:m(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(i,e){return i=this.messages[i]||i.toString(),e&&m.each(e,function(e,t){i=i.replace("{"+e+"}",t)}),i},formData:function(e){return e.serializeArray()},add:function(e,t){if(e.isDefaultPrevented())return!1;(t.autoUpload||!1!==t.autoUpload&&m(this).fileupload("option","autoUpload"))&&t.process().done(function(){t.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:m.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(e,t,i){var r=e-this.timestamp;return(!this.bitrate||!i||i<r)&&(this.bitrate=(t-this.loaded)*(1e3/r)*8,this.loaded=t,this.timestamp=e),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&m.support.xhrFileUpload||m.support.xhrFormDataFileUpload)},_getFormData:function(e){var i;return"function"===m.type(e.formData)?e.formData(e.form):m.isArray(e.formData)?e.formData:"object"===m.type(e.formData)?(i=[],m.each(e.formData,function(e,t){i.push({name:e,value:t})}),i):[]},_getTotal:function(e){var i=0;return m.each(e,function(e,t){i+=t.size||1}),i},_initProgressObject:function(e){var t={loaded:0,total:0,bitrate:0};e._progress?m.extend(e._progress,t):e._progress=t},_initResponseObject:function(e){var t;if(e._response)for(t in e._response)e._response.hasOwnProperty(t)&&delete e._response[t];else e._response={}},_onProgress:function(e,t){if(e.lengthComputable){var i,r=Date.now?Date.now():(new Date).getTime();if(t._time&&t.progressInterval&&r-t._time<t.progressInterval&&e.loaded!==e.total)return;t._time=r,i=Math.floor(e.loaded/e.total*(t.chunkSize||t._progress.total))+(t.uploadedBytes||0),this._progress.loaded+=i-t._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(r,this._progress.loaded,t.bitrateInterval),t._progress.loaded=t.loaded=i,t._progress.bitrate=t.bitrate=t._bitrateTimer.getBitrate(r,i,t.bitrateInterval),this._trigger("progress",m.Event("progress",{delegatedEvent:e}),t),this._trigger("progressall",m.Event("progressall",{delegatedEvent:e}),this._progress)}},_initProgressListener:function(i){var r=this,e=i.xhr?i.xhr():m.ajaxSettings.xhr();e.upload&&(m(e.upload).bind("progress",function(e){var t=e.originalEvent;e.lengthComputable=t.lengthComputable,e.loaded=t.loaded,e.total=t.total,r._onProgress(e,i)}),i.xhr=function(){return e})},_isInstanceOf:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"},_initXHRData:function(i){var r,n=this,e=i.files[0],t=i.multipart||!m.support.xhrFileUpload,o="array"===m.type(i.paramName)?i.paramName[0]:i.paramName;i.headers=m.extend({},i.headers),i.contentRange&&(i.headers["Content-Range"]=i.contentRange),t&&!i.blob&&this._isInstanceOf("File",e)||(i.headers["Content-Disposition"]=\'attachment; filename="\'+encodeURI(e.uploadName||e.name)+\'"\'),t?m.support.xhrFormDataFileUpload&&(i.postMessage?(r=this._getFormData(i),i.blob?r.push({name:o,value:i.blob}):m.each(i.files,function(e,t){r.push({name:"array"===m.type(i.paramName)&&i.paramName[e]||o,value:t})})):(n._isInstanceOf("FormData",i.formData)?r=i.formData:(r=new FormData,m.each(this._getFormData(i),function(e,t){r.append(t.name,t.value)})),i.blob?r.append(o,i.blob,e.uploadName||e.name):m.each(i.files,function(e,t){(n._isInstanceOf("File",t)||n._isInstanceOf("Blob",t))&&r.append("array"===m.type(i.paramName)&&i.paramName[e]||o,t,t.uploadName||t.name)})),i.data=r):(i.contentType=e.type||"application/octet-stream",i.data=i.blob||e),i.blob=null},_initIframeSettings:function(e){var t=m("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&t&&t!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(e){this._isXHRUpload(e)?(this._chunkedUpload(e,!0)||(e.data||this._initXHRData(e),this._initProgressListener(e)),e.postMessage&&(e.dataType="postmessage "+(e.dataType||""))):this._initIframeSettings(e)},_getParamName:function(e){var t=m(e.fileInput),r=e.paramName;return r?m.isArray(r)||(r=[r]):(r=[],t.each(function(){for(var e=m(this),t=e.prop("name")||"files[]",i=(e.prop("files")||[1]).length;i;)r.push(t),i-=1}),r.length||(r=[t.prop("name")||"files[]"])),r},_initFormSettings:function(e){e.form&&e.form.length||(e.form=m(e.fileInput.prop("form")),e.form.length||(e.form=m(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===m.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var t=m.extend({},this.options,e);return this._initFormSettings(t),this._initDataSettings(t),t},_getDeferredState:function(e){return e.state?e.state():e.isResolved()?"resolved":e.isRejected()?"rejected":"pending"},_enhancePromise:function(e){return e.success=e.done,e.error=e.fail,e.complete=e.always,e},_getXHRPromise:function(e,t,i){var r=m.Deferred(),n=r.promise();return t=t||this.options.context||n,!0===e?r.resolveWith(t,i):!1===e&&r.rejectWith(t,i),n.abort=r.promise,this._enhancePromise(n)},_addConvenienceMethods:function(e,i){var r=this,n=function(e){return m.Deferred().resolveWith(r,e).promise()};i.process=function(e,t){return(e||t)&&(i._processQueue=this._processQueue=(this._processQueue||n([this])).then(function(){return i.errorThrown?m.Deferred().rejectWith(r,[i]).promise():n(arguments)}).then(e,t)),this._processQueue||n([this])},i.submit=function(){return"pending"!==this.state()&&(i.jqXHR=this.jqXHR=!1!==r._trigger("submit",m.Event("submit",{delegatedEvent:e}),this)&&r._onSend(e,this)),this.jqXHR||r._getXHRPromise()},i.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},i.state=function(){return this.jqXHR?r._getDeferredState(this.jqXHR):this._processQueue?r._getDeferredState(this._processQueue):void 0},i.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===r._getDeferredState(this._processQueue)},i.progress=function(){return this._progress},i.response=function(){return this._response}},_getUploadedBytes:function(e){var t=e.getResponseHeader("Range"),i=t&&t.split("-"),r=i&&1<i.length&&parseInt(i[1],10);return r&&r+1},_chunkedUpload:function(o,e){o.uploadedBytes=o.uploadedBytes||0;var t,s,a=this,i=o.files[0],l=i.size,p=o.uploadedBytes,u=o.maxChunkSize||l,d=this._blobSlice,h=m.Deferred(),r=h.promise();return!(!(this._isXHRUpload(o)&&d&&(p||("function"===m.type(u)?u(o):u)<l))||o.data)&&(!!e||(l<=p?(i.error=o.i18n("uploadedBytes"),this._getXHRPromise(!1,o.context,[null,"error",i.error])):(s=function(){var r=m.extend({},o),n=r._progress.loaded;r.blob=d.call(i,p,p+("function"===m.type(u)?u(r):u),i.type),r.chunkSize=r.blob.size,r.contentRange="bytes "+p+"-"+(p+r.chunkSize-1)+"/"+l,a._initXHRData(r),a._initProgressListener(r),t=(!1!==a._trigger("chunksend",null,r)&&m.ajax(r)||a._getXHRPromise(!1,r.context)).done(function(e,t,i){p=a._getUploadedBytes(i)||p+r.chunkSize,n+r.chunkSize-r._progress.loaded&&a._onProgress(m.Event("progress",{lengthComputable:!0,loaded:p-r.uploadedBytes,total:p-r.uploadedBytes}),r),o.uploadedBytes=r.uploadedBytes=p,r.result=e,r.textStatus=t,r.jqXHR=i,a._trigger("chunkdone",null,r),a._trigger("chunkalways",null,r),p<l?s():h.resolveWith(r.context,[e,t,i])}).fail(function(e,t,i){r.jqXHR=e,r.textStatus=t,r.errorThrown=i,a._trigger("chunkfail",null,r),a._trigger("chunkalways",null,r),h.rejectWith(r.context,[e,t,i])})},this._enhancePromise(r),r.abort=function(){return t.abort()},s(),r)))},_beforeSend:function(e,t){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer,this._progress.loaded=this._progress.total=0,this._progress.bitrate=0),this._initResponseObject(t),this._initProgressObject(t),t._progress.loaded=t.loaded=t.uploadedBytes||0,t._progress.total=t.total=this._getTotal(t.files)||1,t._progress.bitrate=t.bitrate=0,this._active+=1,this._progress.loaded+=t.loaded,this._progress.total+=t.total},_onDone:function(e,t,i,r){var n=r._progress.total,o=r._response;r._progress.loaded<n&&this._onProgress(m.Event("progress",{lengthComputable:!0,loaded:n,total:n}),r),o.result=r.result=e,o.textStatus=r.textStatus=t,o.jqXHR=r.jqXHR=i,this._trigger("done",null,r)},_onFail:function(e,t,i,r){var n=r._response;r.recalculateProgress&&(this._progress.loaded-=r._progress.loaded,this._progress.total-=r._progress.total),n.jqXHR=r.jqXHR=e,n.textStatus=r.textStatus=t,n.errorThrown=r.errorThrown=i,this._trigger("fail",null,r)},_onAlways:function(e,t,i,r){this._trigger("always",null,r)},_onSend:function(e,t){t.submit||this._addConvenienceMethods(e,t);var i,r,n,o,s=this,a=s._getAJAXSettings(t),l=function(){return s._sending+=1,a._bitrateTimer=new s._BitrateTimer,i=i||((r||!1===s._trigger("send",m.Event("send",{delegatedEvent:e}),a))&&s._getXHRPromise(!1,a.context,r)||s._chunkedUpload(a)||m.ajax(a)).done(function(e,t,i){s._onDone(e,t,i,a)}).fail(function(e,t,i){s._onFail(e,t,i,a)}).always(function(e,t,i){if(s._onAlways(e,t,i,a),s._sending-=1,s._active-=1,a.limitConcurrentUploads&&a.limitConcurrentUploads>s._sending)for(var r=s._slots.shift();r;){if("pending"===s._getDeferredState(r)){r.resolve();break}r=s._slots.shift()}0===s._active&&s._trigger("stop")})};return this._beforeSend(e,a),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?((o=1<this.options.limitConcurrentUploads?(n=m.Deferred(),this._slots.push(n),n.then(l)):(this._sequence=this._sequence.then(l,l),this._sequence)).abort=function(){return r=[void 0,"abort","abort"],i?i.abort():(n&&n.rejectWith(a.context,r),l())},this._enhancePromise(o)):l()},_onAdd:function(r,n){var o,e,s,t,a=this,l=!0,i=m.extend({},this.options,n),p=n.files,u=p.length,d=i.limitMultiFileUploads,h=i.limitMultiFileUploadSize,c=i.limitMultiFileUploadSizeOverhead,f=0,g=this._getParamName(i),_=0;if(!u)return!1;if(h&&void 0===p[0].size&&(h=void 0),(i.singleFileUploads||d||h)&&this._isXHRUpload(i))if(i.singleFileUploads||h||!d)if(!i.singleFileUploads&&h)for(s=[],o=[],t=0;t<u;t+=1)f+=p[t].size+c,(t+1===u||f+p[t+1].size+c>h||d&&d<=t+1-_)&&(s.push(p.slice(_,t+1)),(e=g.slice(_,t+1)).length||(e=g),o.push(e),_=t+1,f=0);else o=g;else for(s=[],o=[],t=0;t<u;t+=d)s.push(p.slice(t,t+d)),(e=g.slice(t,t+d)).length||(e=g),o.push(e);else s=[p],o=[g];return n.originalFiles=p,m.each(s||p,function(e,t){var i=m.extend({},n);return i.files=s?t:[t],i.paramName=o[e],a._initResponseObject(i),a._initProgressObject(i),a._addConvenienceMethods(r,i),l=a._trigger("add",m.Event("add",{delegatedEvent:r}),i)}),l},_replaceFileInput:function(e){var i=e.fileInput,r=i.clone(!0),t=i.is(document.activeElement);e.fileInputClone=r,m("<form></form>").append(r)[0].reset(),i.after(r).detach(),t&&r.focus(),m.cleanData(i.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(e,t){return t===i[0]?r[0]:t}),i[0]===this.element[0]&&(this.element=r)},_handleFileTreeEntry:function(i,r){var e,n=this,o=m.Deferred(),s=[],a=function(e){e&&!e.entry&&(e.entry=i),o.resolve([e])},l=function(){e.readEntries(function(e){var t;e.length?(s=s.concat(e),l()):(t=s,n._handleFileTreeEntries(t,r+i.name+"/").done(function(e){o.resolve(e)}).fail(a))},a)};return r=r||"",i.isFile?i._file?(i._file.relativePath=r,o.resolve(i._file)):i.file(function(e){e.relativePath=r,o.resolve(e)},a):i.isDirectory?(e=i.createReader(),l()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(e,t){var i=this;return m.when.apply(m,m.map(e,function(e){return i._handleFileTreeEntry(e,t)})).then(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){var t=(e=e||{}).items;return t&&t.length&&(t[0].webkitGetAsEntry||t[0].getAsEntry)?this._handleFileTreeEntries(m.map(t,function(e){var t;return e.webkitGetAsEntry?((t=e.webkitGetAsEntry())&&(t._file=e.getAsFile()),t):e.getAsEntry()})):m.Deferred().resolve(m.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){var t,i,r=(e=m(e)).prop("webkitEntries")||e.prop("entries");if(r&&r.length)return this._handleFileTreeEntries(r);if((t=m.makeArray(e.prop("files"))).length)void 0===t[0].name&&t[0].fileName&&m.each(t,function(e,t){t.name=t.fileName,t.size=t.fileSize});else{if(!(i=e.prop("value")))return m.Deferred().resolve([]).promise();t=[{name:i.replace(/^.*\\\\/,"")}]}return m.Deferred().resolve(t).promise()},_getFileInputFiles:function(e){return e instanceof m&&1!==e.length?m.when.apply(m,m.map(e,this._getSingleFileInputFiles)).then(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(t){var i=this,r={fileInput:m(t.target),form:m(t.target.form)};this._getFileInputFiles(r.fileInput).always(function(e){r.files=e,i.options.replaceFileInput&&i._replaceFileInput(r),!1!==i._trigger("change",m.Event("change",{delegatedEvent:t}),r)&&i._onAdd(t,r)})},_onPaste:function(e){var t=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,r={files:[]};t&&t.length&&(m.each(t,function(e,t){var i=t.getAsFile&&t.getAsFile();i&&r.files.push(i)}),!1!==this._trigger("paste",m.Event("paste",{delegatedEvent:e}),r)&&this._onAdd(e,r))},_onDrop:function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var i=this,e=t.dataTransfer,r={};e&&e.files&&e.files.length&&(t.preventDefault(),this._getDroppedFiles(e).always(function(e){r.files=e,!1!==i._trigger("drop",m.Event("drop",{delegatedEvent:t}),r)&&i._onAdd(t,r)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),m.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_destroy:function(){this._destroyEventHandlers()},_setOption:function(e,t){var i=-1!==m.inArray(e,this._specialOptions);i&&this._destroyEventHandlers(),this._super(e,t),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is(\'input[type="file"]\')?this.element:this.element.find(\'input[type="file"]\'):e.fileInput instanceof m||(e.fileInput=m(e.fileInput)),e.dropZone instanceof m||(e.dropZone=m(e.dropZone)),e.pasteZone instanceof m||(e.pasteZone=m(e.pasteZone))},_getRegExp:function(e){var t=e.split("/"),i=t.pop();return t.shift(),new RegExp(t.join("/"),i)},_isRegExpOption:function(e,t){return"url"!==e&&"string"===m.type(t)&&/^\\/.*\\/[igm]{0,3}$/.test(t)},_initDataAttributes:function(){var n=this,o=this.options,s=this.element.data();m.each(this.element[0].attributes,function(e,t){var i,r=t.name.toLowerCase();/^data-/.test(r)&&(r=r.slice(5).replace(/-[a-z]/g,function(e){return e.charAt(1).toUpperCase()}),i=s[r],n._isRegExpOption(r,i)&&(i=n._getRegExp(i)),o[r]=i)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(t){var i=this;t&&!this.options.disabled&&(t.fileInput&&!t.files?this._getFileInputFiles(t.fileInput).always(function(e){t.files=e,i._onAdd(null,t)}):(t.files=m.makeArray(t.files),this._onAdd(null,t)))},send:function(t){if(t&&!this.options.disabled){if(t.fileInput&&!t.files){var i,r,n=this,o=m.Deferred(),e=o.promise();return e.abort=function(){return r=!0,i?i.abort():(o.reject(null,"abort","abort"),e)},this._getFileInputFiles(t.fileInput).always(function(e){r||(e.length?(t.files=e,(i=n._onSend(null,t)).then(function(e,t,i){o.resolve(e,t,i)},function(e,t,i){o.reject(e,t,i)})):o.reject())}),this._enhancePromise(e)}if(t.files=m.makeArray(t.files),t.files.length)return this._onSend(null,t)}return this._getXHRPromise(!1,t&&t.context)}})});\n+!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery-ui/ui/widget"],e):"object"==typeof exports?e(require("jquery"),require("./vendor/jquery.ui.widget")):e(window.jQuery)}(function(m){"use strict";function e(i){var r="dragover"===i;return function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var t=e.dataTransfer;t&&-1!==m.inArray("Files",t.types)&&!1!==this._trigger(i,m.Event(i,{delegatedEvent:e}))&&(e.preventDefault(),r&&(t.dropEffect="copy"))}}m.support.fileInput=!(new RegExp("(Android (1\\\\.[0156]|2\\\\.[01]))|(Windows Phone (OS 7|8\\\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\\\.0|2\\\\.[05]|3\\\\.0))").test(window.navigator.userAgent)||m(\'<input type="file"/>\').prop("disabled")),m.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),m.support.xhrFormDataFileUpload=!!window.FormData,m.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),m.widget("blueimp.fileupload",{options:{dropZone:m(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(i,e){return i=this.messages[i]||i.toString(),e&&m.each(e,function(e,t){i=i.replace("{"+e+"}",t)}),i},formData:function(e){return e.serializeArray()},add:function(e,t){if(e.isDefaultPrevented())return!1;(t.autoUpload||!1!==t.autoUpload&&m(this).fileupload("option","autoUpload"))&&t.process().done(function(){t.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:m.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(e,t,i){var r=e-this.timestamp;return(!this.bitrate||!i||i<r)&&(this.bitrate=(t-this.loaded)*(1e3/r)*8,this.loaded=t,this.timestamp=e),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&m.support.xhrFileUpload||m.support.xhrFormDataFileUpload)},_getFormData:function(e){var i;return"function"===m.type(e.formData)?e.formData(e.form):m.isArray(e.formData)?e.formData:"object"===m.type(e.formData)?(i=[],m.each(e.formData,function(e,t){i.push({name:e,value:t})}),i):[]},_getTotal:function(e){var i=0;return m.each(e,function(e,t){i+=t.size||1}),i},_initProgressObject:function(e){var t={loaded:0,total:0,bitrate:0};e._progress?m.extend(e._progress,t):e._progress=t},_initResponseObject:function(e){var t;if(e._response)for(t in e._response)e._response.hasOwnProperty(t)&&delete e._response[t];else e._response={}},_onProgress:function(e,t){if(e.lengthComputable){var i,r=Date.now?Date.now():(new Date).getTime();if(t._time&&t.progressInterval&&r-t._time<t.progressInterval&&e.loaded!==e.total)return;t._time=r,i=Math.floor(e.loaded/e.total*(t.chunkSize||t._progress.total))+(t.uploadedBytes||0),this._progress.loaded+=i-t._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(r,this._progress.loaded,t.bitrateInterval),t._progress.loaded=t.loaded=i,t._progress.bitrate=t.bitrate=t._bitrateTimer.getBitrate(r,i,t.bitrateInterval),this._trigger("progress",m.Event("progress",{delegatedEvent:e}),t),this._trigger("progressall",m.Event("progressall",{delegatedEvent:e}),this._progress)}},_initProgressListener:function(i){var r=this,e=i.xhr?i.xhr():m.ajaxSettings.xhr();e.upload&&(m(e.upload).bind("progress",function(e){var t=e.originalEvent;e.lengthComputable=t.lengthComputable,e.loaded=t.loaded,e.total=t.total,r._onProgress(e,i)}),i.xhr=function(){return e})},_deinitProgressListener:function(e){var t=e.xhr?e.xhr():m.ajaxSettings.xhr();t.upload&&m(t.upload).unbind("progress")},_isInstanceOf:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"},_initXHRData:function(i){var r,n=this,e=i.files[0],t=i.multipart||!m.support.xhrFileUpload,o="array"===m.type(i.paramName)?i.paramName[0]:i.paramName;i.headers=m.extend({},i.headers),i.contentRange&&(i.headers["Content-Range"]=i.contentRange),t&&!i.blob&&this._isInstanceOf("File",e)||(i.headers["Content-Disposition"]=\'attachment; filename="\'+encodeURI(e.uploadName||e.name)+\'"\'),t?m.support.xhrFormDataFileUpload&&(i.postMessage?(r=this._getFormData(i),i.blob?r.push({name:o,value:i.blob}):m.each(i.files,function(e,t){r.push({name:"array"===m.type(i.paramName)&&i.paramName[e]||o,value:t})})):(n._isInstanceOf("FormData",i.formData)?r=i.formData:(r=new FormData,m.each(this._getFormData(i),function(e,t){r.append(t.name,t.value)})),i.blob?r.append(o,i.blob,e.uploadName||e.name):m.each(i.files,function(e,t){(n._isInstanceOf("File",t)||n._isInstanceOf("Blob",t))&&r.append("array"===m.type(i.paramName)&&i.paramName[e]||o,t,t.uploadName||t.name)})),i.data=r):(i.contentType=e.type||"application/octet-stream",i.data=i.blob||e),i.blob=null},_initIframeSettings:function(e){var t=m("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&t&&t!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(e){this._isXHRUpload(e)?(this._chunkedUpload(e,!0)||(e.data||this._initXHRData(e),this._initProgressListener(e)),e.postMessage&&(e.dataType="postmessage "+(e.dataType||""))):this._initIframeSettings(e)},_getParamName:function(e){var t=m(e.fileInput),r=e.paramName;return r?m.isArray(r)||(r=[r]):(r=[],t.each(function(){for(var e=m(this),t=e.prop("name")||"files[]",i=(e.prop("files")||[1]).length;i;)r.push(t),i-=1}),r.length||(r=[t.prop("name")||"files[]"])),r},_initFormSettings:function(e){e.form&&e.form.length||(e.form=m(e.fileInput.prop("form")),e.form.length||(e.form=m(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===m.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var t=m.extend({},this.options,e);return this._initFormSettings(t),this._initDataSettings(t),t},_getDeferredState:function(e){return e.state?e.state():e.isResolved()?"resolved":e.isRejected()?"rejected":"pending"},_enhancePromise:function(e){return e.success=e.done,e.error=e.fail,e.complete=e.always,e},_getXHRPromise:function(e,t,i){var r=m.Deferred(),n=r.promise();return t=t||this.options.context||n,!0===e?r.resolveWith(t,i):!1===e&&r.rejectWith(t,i),n.abort=r.promise,this._enhancePromise(n)},_addConvenienceMethods:function(e,i){var r=this,n=function(e){return m.Deferred().resolveWith(r,e).promise()};i.process=function(e,t){return(e||t)&&(i._processQueue=this._processQueue=(this._processQueue||n([this])).then(function(){return i.errorThrown?m.Deferred().rejectWith(r,[i]).promise():n(arguments)}).then(e,t)),this._processQueue||n([this])},i.submit=function(){return"pending"!==this.state()&&(i.jqXHR=this.jqXHR=!1!==r._trigger("submit",m.Event("submit",{delegatedEvent:e}),this)&&r._onSend(e,this)),this.jqXHR||r._getXHRPromise()},i.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},i.state=function(){return this.jqXHR?r._getDeferredState(this.jqXHR):this._processQueue?r._getDeferredState(this._processQueue):void 0},i.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===r._getDeferredState(this._processQueue)},i.progress=function(){return this._progress},i.response=function(){return this._response}},_getUploadedBytes:function(e){var t=e.getResponseHeader("Range"),i=t&&t.split("-"),r=i&&1<i.length&&parseInt(i[1],10);return r&&r+1},_chunkedUpload:function(o,e){o.uploadedBytes=o.uploadedBytes||0;var t,s,a=this,i=o.files[0],l=i.size,p=o.uploadedBytes,u=o.maxChunkSize||l,d=this._blobSlice,h=m.Deferred(),r=h.promise();return!(!(this._isXHRUpload(o)&&d&&(p||("function"===m.type(u)?u(o):u)<l))||o.data)&&(!!e||(l<=p?(i.error=o.i18n("uploadedBytes"),this._getXHRPromise(!1,o.context,[null,"error",i.error])):(s=function(){var r=m.extend({},o),n=r._progress.loaded;r.blob=d.call(i,p,p+("function"===m.type(u)?u(r):u),i.type),r.chunkSize=r.blob.size,r.contentRange="bytes "+p+"-"+(p+r.chunkSize-1)+"/"+l,a._trigger("chunkbeforesend",null,r),a._initXHRData(r),a._initProgressListener(r),t=(!1!==a._trigger("chunksend",null,r)&&m.ajax(r)||a._getXHRPromise(!1,r.context)).done(function(e,t,i){p=a._getUploadedBytes(i)||p+r.chunkSize,n+r.chunkSize-r._progress.loaded&&a._onProgress(m.Event("progress",{lengthComputable:!0,loaded:p-r.uploadedBytes,total:p-r.uploadedBytes}),r),o.uploadedBytes=r.uploadedBytes=p,r.result=e,r.textStatus=t,r.jqXHR=i,a._trigger("chunkdone",null,r),a._trigger("chunkalways",null,r),p<l?s():h.resolveWith(r.context,[e,t,i])}).fail(function(e,t,i){r.jqXHR=e,r.textStatus=t,r.errorThrown=i,a._trigger("chunkfail",null,r),a._trigger("chunkalways",null,r),h.rejectWith(r.context,[e,t,i])}).always(function(){a._deinitProgressListener(r)})},this._enhancePromise(r),r.abort=function(){return t.abort()},s(),r)))},_beforeSend:function(e,t){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer,this._progress.loaded=this._progress.total=0,this._progress.bitrate=0),this._initResponseObject(t),this._initProgressObject(t),t._progress.loaded=t.loaded=t.uploadedBytes||0,t._progress.total=t.total=this._getTotal(t.files)||1,t._progress.bitrate=t.bitrate=0,this._active+=1,this._progress.loaded+=t.loaded,this._progress.total+=t.total},_onDone:function(e,t,i,r){var n=r._progress.total,o=r._response;r._progress.loaded<n&&this._onProgress(m.Event("progress",{lengthComputable:!0,loaded:n,total:n}),r),o.result=r.result=e,o.textStatus=r.textStatus=t,o.jqXHR=r.jqXHR=i,this._trigger("done",null,r)},_onFail:function(e,t,i,r){var n=r._response;r.recalculateProgress&&(this._progress.loaded-=r._progress.loaded,this._progress.total-=r._progress.total),n.jqXHR=r.jqXHR=e,n.textStatus=r.textStatus=t,n.errorThrown=r.errorThrown=i,this._trigger("fail",null,r)},_onAlways:function(e,t,i,r){this._trigger("always",null,r)},_onSend:function(e,t){t.submit||this._addConvenienceMethods(e,t);var i,r,n,o,s=this,a=s._getAJAXSettings(t),l=function(){return s._sending+=1,a._bitrateTimer=new s._BitrateTimer,i=i||((r||!1===s._trigger("send",m.Event("send",{delegatedEvent:e}),a))&&s._getXHRPromise(!1,a.context,r)||s._chunkedUpload(a)||m.ajax(a)).done(function(e,t,i){s._onDone(e,t,i,a)}).fail(function(e,t,i){s._onFail(e,t,i,a)}).always(function(e,t,i){if(s._deinitProgressListener(a),s._onAlways(e,t,i,a),s._sending-=1,s._active-=1,a.limitConcurrentUploads&&a.limitConcurrentUploads>s._sending)for(var r=s._slots.shift();r;){if("pending"===s._getDeferredState(r)){r.resolve();break}r=s._slots.shift()}0===s._active&&s._trigger("stop")})};return this._beforeSend(e,a),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?((o=1<this.options.limitConcurrentUploads?(n=m.Deferred(),this._slots.push(n),n.then(l)):(this._sequence=this._sequence.then(l,l),this._sequence)).abort=function(){return r=[void 0,"abort","abort"],i?i.abort():(n&&n.rejectWith(a.context,r),l())},this._enhancePromise(o)):l()},_onAdd:function(r,n){var o,e,s,t,a=this,l=!0,i=m.extend({},this.options,n),p=n.files,u=p.length,d=i.limitMultiFileUploads,h=i.limitMultiFileUploadSize,c=i.limitMultiFileUploadSizeOverhead,f=0,g=this._getParamName(i),_=0;if(!u)return!1;if(h&&void 0===p[0].size&&(h=void 0),(i.singleFileUploads||d||h)&&this._isXHRUpload(i))if(i.singleFileUploads||h||!d)if(!i.singleFileUploads&&h)for(s=[],o=[],t=0;t<u;t+=1)f+=p[t].size+c,(t+1===u||f+p[t+1].size+c>h||d&&d<=t+1-_)&&(s.push(p.slice(_,t+1)),(e=g.slice(_,t+1)).length||(e=g),o.push(e),_=t+1,f=0);else o=g;else for(s=[],o=[],t=0;t<u;t+=d)s.push(p.slice(t,t+d)),(e=g.slice(t,t+d)).length||(e=g),o.push(e);else s=[p],o=[g];return n.originalFiles=p,m.each(s||p,function(e,t){var i=m.extend({},n);return i.files=s?t:[t],i.paramName=o[e],a._initResponseObject(i),a._initProgressObject(i),a._addConvenienceMethods(r,i),l=a._trigger("add",m.Event("add",{delegatedEvent:r}),i)}),l},_replaceFileInput:function(e){var i=e.fileInput,r=i.clone(!0),t=i.is(document.activeElement);e.fileInputClone=r,m("<form></form>").append(r)[0].reset(),i.after(r).detach(),t&&r.focus(),m.cleanData(i.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(e,t){return t===i[0]?r[0]:t}),i[0]===this.element[0]&&(this.element=r)},_handleFileTreeEntry:function(i,r){var e,n=this,o=m.Deferred(),s=[],a=function(e){e&&!e.entry&&(e.entry=i),o.resolve([e])},l=function(){e.readEntries(function(e){var t;e.length?(s=s.concat(e),l()):(t=s,n._handleFileTreeEntries(t,r+i.name+"/").done(function(e){o.resolve(e)}).fail(a))},a)};return r=r||"",i.isFile?i._file?(i._file.relativePath=r,o.resolve(i._file)):i.file(function(e){e.relativePath=r,o.resolve(e)},a):i.isDirectory?(e=i.createReader(),l()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(e,t){var i=this;return m.when.apply(m,m.map(e,function(e){return i._handleFileTreeEntry(e,t)})).then(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){var t=(e=e||{}).items;return t&&t.length&&(t[0].webkitGetAsEntry||t[0].getAsEntry)?this._handleFileTreeEntries(m.map(t,function(e){var t;return e.webkitGetAsEntry?((t=e.webkitGetAsEntry())&&(t._file=e.getAsFile()),t):e.getAsEntry()})):m.Deferred().resolve(m.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){var t,i,r=(e=m(e)).prop("webkitEntries")||e.prop("entries");if(r&&r.length)return this._handleFileTreeEntries(r);if((t=m.makeArray(e.prop("files"))).length)void 0===t[0].name&&t[0].fileName&&m.each(t,function(e,t){t.name=t.fileName,t.size=t.fileSize});else{if(!(i=e.prop("value")))return m.Deferred().resolve([]).promise();t=[{name:i.replace(/^.*\\\\/,"")}]}return m.Deferred().resolve(t).promise()},_getFileInputFiles:function(e){return e instanceof m&&1!==e.length?m.when.apply(m,m.map(e,this._getSingleFileInputFiles)).then(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(t){var i=this,r={fileInput:m(t.target),form:m(t.target.form)};this._getFileInputFiles(r.fileInput).always(function(e){r.files=e,i.options.replaceFileInput&&i._replaceFileInput(r),!1!==i._trigger("change",m.Event("change",{delegatedEvent:t}),r)&&i._onAdd(t,r)})},_onPaste:function(e){var t=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,r={files:[]};t&&t.length&&(m.each(t,function(e,t){var i=t.getAsFile&&t.getAsFile();i&&r.files.push(i)}),!1!==this._trigger("paste",m.Event("paste",{delegatedEvent:e}),r)&&this._onAdd(e,r))},_onDrop:function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var i=this,e=t.dataTransfer,r={};e&&e.files&&e.files.length&&(t.preventDefault(),this._getDroppedFiles(e).always(function(e){r.files=e,!1!==i._trigger("drop",m.Event("drop",{delegatedEvent:t}),r)&&i._onAdd(t,r)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),m.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_destroy:function(){this._destroyEventHandlers()},_setOption:function(e,t){var i=-1!==m.inArray(e,this._specialOptions);i&&this._destroyEventHandlers(),this._super(e,t),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is(\'input[type="file"]\')?this.element:this.element.find(\'input[type="file"]\'):e.fileInput instanceof m||(e.fileInput=m(e.fileInput)),e.dropZone instanceof m||(e.dropZone=m(e.dropZone)),e.pasteZone instanceof m||(e.pasteZone=m(e.pasteZone))},_getRegExp:function(e){var t=e.split("/"),i=t.pop();return t.shift(),new RegExp(t.join("/"),i)},_isRegExpOption:function(e,t){return"url"!==e&&"string"===m.type(t)&&/^\\/.*\\/[igm]{0,3}$/.test(t)},_initDataAttributes:function(){var n=this,o=this.options,s=this.element.data();m.each(this.element[0].attributes,function(e,t){var i,r=t.name.toLowerCase();/^data-/.test(r)&&(r=r.slice(5).replace(/-[a-z]/g,function(e){return e.charAt(1).toUpperCase()}),i=s[r],n._isRegExpOption(r,i)&&(i=n._getRegExp(i)),o[r]=i)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(t){var i=this;t&&!this.options.disabled&&(t.fileInput&&!t.files?this._getFileInputFiles(t.fileInput).always(function(e){t.files=e,i._onAdd(null,t)}):(t.files=m.makeArray(t.files),this._onAdd(null,t)))},send:function(t){if(t&&!this.options.disabled){if(t.fileInput&&!t.files){var i,r,n=this,o=m.Deferred(),e=o.promise();return e.abort=function(){return r=!0,i?i.abort():(o.reject(null,"abort","abort"),e)},this._getFileInputFiles(t.fileInput).always(function(e){r||(e.length?(t.files=e,(i=n._onSend(null,t)).then(function(e,t,i){o.resolve(e,t,i)},function(e,t,i){o.reject(e,t,i)})):o.reject())}),this._enhancePromise(e)}if(t.files=m.makeArray(t.files),t.files.length)return this._onSend(null,t)}return this._getXHRPromise(!1,t&&t.context)}})});\n \n !function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./jquery.fileupload"],e):"object"==typeof exports?e(require("jquery"),require("./jquery.fileupload")):e(window.jQuery)}(function(n){"use strict";var i=n.blueimp.fileupload.prototype.options.add;n.widget("blueimp.fileupload",n.blueimp.fileupload,{options:{processQueue:[],add:function(e,r){var s=n(this);r.process(function(){return s.fileupload("process",r)}),i.call(this,e,r)}},processActions:{},_processFile:function(e,i){var o=this,t=n.Deferred().resolveWith(o,[e]).promise();return this._trigger("process",null,e),n.each(e.processQueue,function(e,r){var s=function(e){return i.errorThrown?n.Deferred().rejectWith(o,[i]).promise():o.processActions[r.action].call(o,e,r)};t=t.then(s,r.always&&s)}),t.done(function(){o._trigger("processdone",null,e),o._trigger("processalways",null,e)}).fail(function(){o._trigger("processfail",null,e),o._trigger("processalways",null,e)}),t},_transformProcessQueue:function(o){var r=[];n.each(o.processQueue,function(){var s={},e=this.action,i=!0===this.prefix?e:this.prefix;n.each(this,function(e,r){"string"===n.type(r)&&"@"===r.charAt(0)?s[e]=o[r.slice(1)||(i?i+e.charAt(0).toUpperCase()+e.slice(1):e)]:s[e]=r}),r.push(s)}),o.processQueue=r},processing:function(){return this._processing},process:function(i){var o=this,t=n.extend({},this.options,i);return t.processQueue&&t.processQueue.length&&(this._transformProcessQueue(t),0===this._processing&&this._trigger("processstart"),n.each(i.files,function(e){var r=e?n.extend({},t):t,s=function(){return i.errorThrown?n.Deferred().rejectWith(o,[i]).promise():o._processFile(r,i)};r.index=e,o._processing+=1,o._processingQueue=o._processingQueue.then(s,s).always(function(){o._processing-=1,0===o._processing&&o._trigger("processstop")})})),this._processingQueue},_create:function(){this._super(),this._processing=0,this._processingQueue=n.Deferred().resolveWith(this).promise()}})});\n \ndiff --git a/changelog.md b/changelog.md\nindex 694646cc1..276f317e5 100644\n--- a/changelog.md\n+++ b/changelog.md\n@@ -1,6 +1,18 @@\n Changelog for Bolt 3.x\n ======================\n \n+Bolt 3.6.1\n+----------\n+\n+Released: 2018-11-02. Notable changes:\n+\n+ - Fixed: Temporary fix for repeater fields in changelog. #7683\n+ - Fixed: Stop stack being queried in `_macro.twig` when stack is disabled. #7698\n+ - Fixed: Fix for Select values inside repeaters inside templatefields. #7636\n+ - Fixed: Add missing part of select field values in repeaters. #7701\n+ - Fixed: Fix for field type blocks with translation extension. #7705\n+ - Updated: Javascript dependencies, including `blueimp-file-upload`. \n+\n Bolt 3.6.0\n ----------\n \ndiff --git a/src/Version.php b/src/Version.php\nindex 16097fcf9..e872ae03b 100644\n--- a/src/Version.php\n+++ b/src/Version.php\n@@ -19,7 +19,7 @@ final class Version\n      *   Stable      — 3.0.0\n      *   Development — 3.1.0 alpha 1\n      */\n-    const VERSION = \'3.6.0\';\n+    const VERSION = \'3.6.1\';\n \n     /**\n      * Whether this release is a stable one.\n', 'commit_subject': 'Merge pull request #7706 from bolt/release/3.6.1', 'repo_name': 'bolt/bolt', 'committer': {'name': 'GitHub', 'email': '1505422b2465e9a84f6fdfaa161078890c593f06@github.com', 'time_sec': '1541099218', 'tz_offset': '60', 'date': {'seconds': '1541099218'}}, 'commit_tree': 'cb2e03f971dca2890278e4e583c3676c96aaa0f4', 'commit_message': 'Merge pull request #7706 from bolt/release/3.6.1\n\nPreparing release 3.6.1', 'language_name': 'HTML', 'license': 'mit', 'hunks': "@@ -19,7 +19,7 @@ final class Version\n      *   Stable      — 3.0.0\n      *   Development — 3.1.0 alpha 1\n      */\n-    const VERSION = '3.6.0';\n+    const VERSION = '3.6.1';\n \n     /**\n      * Whether this release is a stable one.\n", 'addition_count': 1, 'deletion_count': 1, 'src_file': 'a/src/Version.php', 'tgt_file': 'b/src/Version.php', 'file_extension': '.php', 'before_file': "<?php\n\nnamespace Bolt;\n\n/**\n * Bolt's current version.\n *\n * @author Carson Full <carsonfull@gmail.com>\n */\nfinal class Version\n{\n    /**\n     * Bolt's version constant.\n     *\n     * This should take the form of:\n     *   x.y.z [[alpha|beta|RC|patch] n]\n     *\n     * e.g. versions for:\n     *   Stable      — 3.0.0\n     *   Development — 3.1.0 alpha 1\n     */\n    const VERSION = '3.6.0';\n\n    /**\n     * Whether this release is a stable one.\n     *\n     * @return bool\n     */\n    public static function isStable()\n    {\n        return (bool) preg_match('/^[0-9\\.]+$/', static::VERSION);\n    }\n\n    /**\n     * Compares a semantic version (x.y.z) against Bolt's version, given a\n     * specified comparison operator.\n     *\n     * Note 1:\n     * Be sure to include the `.z` number in the version given, as\n     * omitting it can give inconsistent results.\n     *\n     * e.g. If the version of Bolt was '3.2.0' (or greater), then:\n     *     `Version::compare('3.2', '>=');`\n     * is NOT equal to, or greater than, Bolt's version.\n     *\n     * Note 2:\n     * Pre-release versions, such as 3.2.0-beta1, are considered lower\n     * than their final release counterparts (like 2.3.0). As you may notice,\n     * the difference being that Bolt '3.2.0-beta1' is considered LOWER than\n     * the `compare($version)` value of '3.2.0'.\n     *\n     * e.g. If the version of Bolt was '3.2.0 beta 1', then:\n     *     `Version::compare('3.2.0', '>=');`\n     * is equal to, or greater than, Bolt's version.\n     *\n     * @see http://semver.org/ For an explanation on semantic versioning.\n     * @see http://php.net/manual/en/function.version-compare.php#refsect1-function.version-compare-notes Notes on version_compare\n     *\n     * @param string $version  The version to compare.\n     * @param string $operator The comparison operator: <, <=, >, >=, ==, !=\n     *\n     * @return bool Whether the comparison succeeded.\n     */\n    public static function compare($version, $operator)\n    {\n        $currentVersion = str_replace(' ', '', strtolower(static::VERSION));\n        $version = str_replace(' ', '', strtolower($version));\n\n        return version_compare($version, $currentVersion, $operator);\n    }\n\n    /**\n     * Returns a version formatted for composer.\n     *\n     * @return string\n     */\n    public static function forComposer()\n    {\n        if (strpos(static::VERSION, ' ') === false) {\n            return static::VERSION;\n        }\n\n        $version = explode(' ', static::VERSION, 2);\n\n        return $version[0];\n    }\n\n    /**\n     * @deprecated since 3.0, to be removed in 4.0.\n     *\n     * @return string|null\n     */\n    public static function name()\n    {\n        if (strpos(static::VERSION, ' ') === false) {\n            return null;\n        }\n\n        return explode(' ', static::VERSION)[1];\n    }\n\n    /**\n     * Must not be instantiated.\n     */\n    private function __construct()\n    {\n    }\n}\n", 'message': 'Merge pull request #7706 from bolt/release/3.6.1\n\nPreparing release 3.6.1', 'author_name': 'GitHub', 'lang': 'php'}